]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
* acinclude.m4 (GLIBCXX_ENABLE_FILESYSTEM_TS): Disable for solaris.
[thirdparty/gcc.git] / libstdc++-v3 / configure
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.
4 #
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.
8 #
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 ## -------------------- ##
14
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 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
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"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
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=';'
78 }
79 fi
80
81
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"
88
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
94 do
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
100
101 ;;
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
107 fi
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
111 fi
112
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='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
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 *) :
147 ;;
148 esac
149 fi
150 "
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; }
156
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 :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
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
173
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
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
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
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
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
206 fi
207 fi
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
217
218
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+"$@"}
228 fi
229
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."
241 fi
242 exit 1
243 fi
244 fi
245 fi
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
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
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 ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
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/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
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"
326
327
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 ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
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 ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
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 ()
371 {
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
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
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
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
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
398 fi
399
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/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
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
425
426
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 '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
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; }
449
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
456 }
457
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;;
467 *)
468 ECHO_N='-n';;
469 esac
470
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
477 fi
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'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
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
503 fi
504
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=
512 fi
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
524 '
525 fi
526 as_executable_p=$as_test_x
527
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'"
530
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'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
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`
543
544 #
545 # Initializations.
546 #
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=
555
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=''
563
564 ac_unique_file="src/shared/hashtable-aux.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"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
637 DOT
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 CLOCALE_INTERNAL_H
704 CLOCALE_CC
705 CTIME_CC
706 CTIME_H
707 CNUMERIC_CC
708 CMONEY_CC
709 CMESSAGES_CC
710 CCTYPE_CC
711 CCOLLATE_CC
712 CCODECVT_CC
713 CMESSAGES_H
714 CLOCALE_H
715 USE_NLS
716 glibcxx_localedir
717 glibcxx_POFILES
718 glibcxx_MOFILES
719 check_msgfmt
720 BASIC_FILE_CC
721 BASIC_FILE_H
722 CSTDIO_H
723 SECTION_FLAGS
724 WERROR
725 thread_header
726 glibcxx_PCHFLAGS
727 GLIBCXX_BUILD_PCH_FALSE
728 GLIBCXX_BUILD_PCH_TRUE
729 GLIBCXX_HOSTED_FALSE
730 GLIBCXX_HOSTED_TRUE
731 glibcxx_compiler_shared_flag
732 glibcxx_compiler_pic_flag
733 glibcxx_lt_pic_flag
734 enable_static
735 enable_shared
736 lt_host_flags
737 CXXCPP
738 OTOOL64
739 OTOOL
740 LIPO
741 NMEDIT
742 DSYMUTIL
743 OBJDUMP
744 NM
745 ac_ct_DUMPBIN
746 DUMPBIN
747 LD
748 FGREP
749 SED
750 LIBTOOL
751 EGREP
752 GREP
753 CPP
754 MAINT
755 MAINTAINER_MODE_FALSE
756 MAINTAINER_MODE_TRUE
757 RANLIB
758 AR
759 AS
760 LN_S
761 toplevel_srcdir
762 toplevel_builddir
763 glibcxx_srcdir
764 glibcxx_builddir
765 ac_ct_CXX
766 CXXFLAGS
767 CXX
768 OBJEXT
769 EXEEXT
770 ac_ct_CC
771 CPPFLAGS
772 LDFLAGS
773 CFLAGS
774 CC
775 am__untar
776 am__tar
777 AMTAR
778 am__leading_dot
779 SET_MAKE
780 AWK
781 mkdir_p
782 MKDIR_P
783 INSTALL_STRIP_PROGRAM
784 STRIP
785 install_sh
786 MAKEINFO
787 AUTOHEADER
788 AUTOMAKE
789 AUTOCONF
790 ACLOCAL
791 VERSION
792 PACKAGE
793 CYGPATH_W
794 am__isrc
795 INSTALL_DATA
796 INSTALL_SCRIPT
797 INSTALL_PROGRAM
798 target_os
799 target_vendor
800 target_cpu
801 target
802 host_os
803 host_vendor
804 host_cpu
805 host
806 build_os
807 build_vendor
808 build_cpu
809 build
810 multi_basedir
811 target_alias
812 host_alias
813 build_alias
814 LIBS
815 ECHO_T
816 ECHO_N
817 ECHO_C
818 DEFS
819 mandir
820 localedir
821 libdir
822 psdir
823 pdfdir
824 dvidir
825 htmldir
826 infodir
827 docdir
828 oldincludedir
829 includedir
830 localstatedir
831 sharedstatedir
832 sysconfdir
833 datadir
834 datarootdir
835 libexecdir
836 sbindir
837 bindir
838 program_transform_name
839 prefix
840 exec_prefix
841 PACKAGE_URL
842 PACKAGE_BUGREPORT
843 PACKAGE_STRING
844 PACKAGE_VERSION
845 PACKAGE_TARNAME
846 PACKAGE_NAME
847 PATH_SEPARATOR
848 SHELL'
849 ac_subst_files=''
850 ac_user_opts='
851 enable_option_checking
852 enable_multilib
853 with_target_subdir
854 with_cross_host
855 with_newlib
856 enable_maintainer_mode
857 enable_shared
858 enable_static
859 with_pic
860 enable_fast_install
861 with_gnu_ld
862 enable_libtool_lock
863 enable_hosted_libstdcxx
864 enable_libstdcxx_verbose
865 enable_sjlj_exceptions
866 enable_libstdcxx_pch
867 enable_cstdio
868 enable_clocale
869 enable_nls
870 enable_libstdcxx_allocator
871 enable_cheaders
872 enable_long_long
873 enable_wchar_t
874 enable_c99
875 enable_concept_checks
876 enable_libstdcxx_debug_flags
877 enable_libstdcxx_debug
878 enable_cxx_flags
879 enable_fully_dynamic_string
880 enable_extern_template
881 with_python_dir
882 enable_werror
883 enable_vtable_verify
884 enable_libstdcxx_time
885 enable_tls
886 enable_rpath
887 with_libiconv_prefix
888 with_system_libunwind
889 enable_linux_futex
890 enable_symvers
891 enable_libstdcxx_visibility
892 enable_libstdcxx_dual_abi
893 with_default_libstdcxx_abi
894 enable_libstdcxx_threads
895 enable_libstdcxx_filesystem_ts
896 with_gxx_include_dir
897 enable_version_specific_runtime_libs
898 '
899 ac_precious_vars='build_alias
900 host_alias
901 target_alias
902 CC
903 CFLAGS
904 LDFLAGS
905 LIBS
906 CPPFLAGS
907 CXX
908 CXXFLAGS
909 CCC
910 CPP
911 CXXCPP
912 CXXFILT'
913
914
915 # Initialize some variables set by options.
916 ac_init_help=
917 ac_init_version=false
918 ac_unrecognized_opts=
919 ac_unrecognized_sep=
920 # The variables have the same names as the options, with
921 # dashes changed to underlines.
922 cache_file=/dev/null
923 exec_prefix=NONE
924 no_create=
925 no_recursion=
926 prefix=NONE
927 program_prefix=NONE
928 program_suffix=NONE
929 program_transform_name=s,x,x,
930 silent=
931 site=
932 srcdir=
933 verbose=
934 x_includes=NONE
935 x_libraries=NONE
936
937 # Installation directory options.
938 # These are left unexpanded so users can "make install exec_prefix=/foo"
939 # and all the variables that are supposed to be based on exec_prefix
940 # by default will actually change.
941 # Use braces instead of parens because sh, perl, etc. also accept them.
942 # (The list follows the same order as the GNU Coding Standards.)
943 bindir='${exec_prefix}/bin'
944 sbindir='${exec_prefix}/sbin'
945 libexecdir='${exec_prefix}/libexec'
946 datarootdir='${prefix}/share'
947 datadir='${datarootdir}'
948 sysconfdir='${prefix}/etc'
949 sharedstatedir='${prefix}/com'
950 localstatedir='${prefix}/var'
951 includedir='${prefix}/include'
952 oldincludedir='/usr/include'
953 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
954 infodir='${datarootdir}/info'
955 htmldir='${docdir}'
956 dvidir='${docdir}'
957 pdfdir='${docdir}'
958 psdir='${docdir}'
959 libdir='${exec_prefix}/lib'
960 localedir='${datarootdir}/locale'
961 mandir='${datarootdir}/man'
962
963 ac_prev=
964 ac_dashdash=
965 for ac_option
966 do
967 # If the previous option needs an argument, assign it.
968 if test -n "$ac_prev"; then
969 eval $ac_prev=\$ac_option
970 ac_prev=
971 continue
972 fi
973
974 case $ac_option in
975 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
976 *) ac_optarg=yes ;;
977 esac
978
979 # Accept the important Cygnus configure options, so we can diagnose typos.
980
981 case $ac_dashdash$ac_option in
982 --)
983 ac_dashdash=yes ;;
984
985 -bindir | --bindir | --bindi | --bind | --bin | --bi)
986 ac_prev=bindir ;;
987 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
988 bindir=$ac_optarg ;;
989
990 -build | --build | --buil | --bui | --bu)
991 ac_prev=build_alias ;;
992 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
993 build_alias=$ac_optarg ;;
994
995 -cache-file | --cache-file | --cache-fil | --cache-fi \
996 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
997 ac_prev=cache_file ;;
998 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
999 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1000 cache_file=$ac_optarg ;;
1001
1002 --config-cache | -C)
1003 cache_file=config.cache ;;
1004
1005 -datadir | --datadir | --datadi | --datad)
1006 ac_prev=datadir ;;
1007 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1008 datadir=$ac_optarg ;;
1009
1010 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1011 | --dataroo | --dataro | --datar)
1012 ac_prev=datarootdir ;;
1013 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1014 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1015 datarootdir=$ac_optarg ;;
1016
1017 -disable-* | --disable-*)
1018 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1019 # Reject names that are not valid shell variable names.
1020 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1021 as_fn_error "invalid feature name: $ac_useropt"
1022 ac_useropt_orig=$ac_useropt
1023 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1024 case $ac_user_opts in
1025 *"
1026 "enable_$ac_useropt"
1027 "*) ;;
1028 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1029 ac_unrecognized_sep=', ';;
1030 esac
1031 eval enable_$ac_useropt=no ;;
1032
1033 -docdir | --docdir | --docdi | --doc | --do)
1034 ac_prev=docdir ;;
1035 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1036 docdir=$ac_optarg ;;
1037
1038 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1039 ac_prev=dvidir ;;
1040 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1041 dvidir=$ac_optarg ;;
1042
1043 -enable-* | --enable-*)
1044 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1045 # Reject names that are not valid shell variable names.
1046 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047 as_fn_error "invalid feature name: $ac_useropt"
1048 ac_useropt_orig=$ac_useropt
1049 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1050 case $ac_user_opts in
1051 *"
1052 "enable_$ac_useropt"
1053 "*) ;;
1054 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1055 ac_unrecognized_sep=', ';;
1056 esac
1057 eval enable_$ac_useropt=\$ac_optarg ;;
1058
1059 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1060 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1061 | --exec | --exe | --ex)
1062 ac_prev=exec_prefix ;;
1063 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1064 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1065 | --exec=* | --exe=* | --ex=*)
1066 exec_prefix=$ac_optarg ;;
1067
1068 -gas | --gas | --ga | --g)
1069 # Obsolete; use --with-gas.
1070 with_gas=yes ;;
1071
1072 -help | --help | --hel | --he | -h)
1073 ac_init_help=long ;;
1074 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1075 ac_init_help=recursive ;;
1076 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1077 ac_init_help=short ;;
1078
1079 -host | --host | --hos | --ho)
1080 ac_prev=host_alias ;;
1081 -host=* | --host=* | --hos=* | --ho=*)
1082 host_alias=$ac_optarg ;;
1083
1084 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1085 ac_prev=htmldir ;;
1086 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1087 | --ht=*)
1088 htmldir=$ac_optarg ;;
1089
1090 -includedir | --includedir | --includedi | --included | --include \
1091 | --includ | --inclu | --incl | --inc)
1092 ac_prev=includedir ;;
1093 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1094 | --includ=* | --inclu=* | --incl=* | --inc=*)
1095 includedir=$ac_optarg ;;
1096
1097 -infodir | --infodir | --infodi | --infod | --info | --inf)
1098 ac_prev=infodir ;;
1099 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1100 infodir=$ac_optarg ;;
1101
1102 -libdir | --libdir | --libdi | --libd)
1103 ac_prev=libdir ;;
1104 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1105 libdir=$ac_optarg ;;
1106
1107 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1108 | --libexe | --libex | --libe)
1109 ac_prev=libexecdir ;;
1110 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1111 | --libexe=* | --libex=* | --libe=*)
1112 libexecdir=$ac_optarg ;;
1113
1114 -localedir | --localedir | --localedi | --localed | --locale)
1115 ac_prev=localedir ;;
1116 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1117 localedir=$ac_optarg ;;
1118
1119 -localstatedir | --localstatedir | --localstatedi | --localstated \
1120 | --localstate | --localstat | --localsta | --localst | --locals)
1121 ac_prev=localstatedir ;;
1122 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1123 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1124 localstatedir=$ac_optarg ;;
1125
1126 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1127 ac_prev=mandir ;;
1128 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1129 mandir=$ac_optarg ;;
1130
1131 -nfp | --nfp | --nf)
1132 # Obsolete; use --without-fp.
1133 with_fp=no ;;
1134
1135 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1136 | --no-cr | --no-c | -n)
1137 no_create=yes ;;
1138
1139 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1140 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1141 no_recursion=yes ;;
1142
1143 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1144 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1145 | --oldin | --oldi | --old | --ol | --o)
1146 ac_prev=oldincludedir ;;
1147 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1148 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1149 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1150 oldincludedir=$ac_optarg ;;
1151
1152 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1153 ac_prev=prefix ;;
1154 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1155 prefix=$ac_optarg ;;
1156
1157 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1158 | --program-pre | --program-pr | --program-p)
1159 ac_prev=program_prefix ;;
1160 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1161 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1162 program_prefix=$ac_optarg ;;
1163
1164 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1165 | --program-suf | --program-su | --program-s)
1166 ac_prev=program_suffix ;;
1167 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1168 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1169 program_suffix=$ac_optarg ;;
1170
1171 -program-transform-name | --program-transform-name \
1172 | --program-transform-nam | --program-transform-na \
1173 | --program-transform-n | --program-transform- \
1174 | --program-transform | --program-transfor \
1175 | --program-transfo | --program-transf \
1176 | --program-trans | --program-tran \
1177 | --progr-tra | --program-tr | --program-t)
1178 ac_prev=program_transform_name ;;
1179 -program-transform-name=* | --program-transform-name=* \
1180 | --program-transform-nam=* | --program-transform-na=* \
1181 | --program-transform-n=* | --program-transform-=* \
1182 | --program-transform=* | --program-transfor=* \
1183 | --program-transfo=* | --program-transf=* \
1184 | --program-trans=* | --program-tran=* \
1185 | --progr-tra=* | --program-tr=* | --program-t=*)
1186 program_transform_name=$ac_optarg ;;
1187
1188 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1189 ac_prev=pdfdir ;;
1190 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1191 pdfdir=$ac_optarg ;;
1192
1193 -psdir | --psdir | --psdi | --psd | --ps)
1194 ac_prev=psdir ;;
1195 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1196 psdir=$ac_optarg ;;
1197
1198 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1199 | -silent | --silent | --silen | --sile | --sil)
1200 silent=yes ;;
1201
1202 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1203 ac_prev=sbindir ;;
1204 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1205 | --sbi=* | --sb=*)
1206 sbindir=$ac_optarg ;;
1207
1208 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1209 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1210 | --sharedst | --shareds | --shared | --share | --shar \
1211 | --sha | --sh)
1212 ac_prev=sharedstatedir ;;
1213 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1214 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1215 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1216 | --sha=* | --sh=*)
1217 sharedstatedir=$ac_optarg ;;
1218
1219 -site | --site | --sit)
1220 ac_prev=site ;;
1221 -site=* | --site=* | --sit=*)
1222 site=$ac_optarg ;;
1223
1224 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1225 ac_prev=srcdir ;;
1226 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1227 srcdir=$ac_optarg ;;
1228
1229 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1230 | --syscon | --sysco | --sysc | --sys | --sy)
1231 ac_prev=sysconfdir ;;
1232 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1233 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1234 sysconfdir=$ac_optarg ;;
1235
1236 -target | --target | --targe | --targ | --tar | --ta | --t)
1237 ac_prev=target_alias ;;
1238 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1239 target_alias=$ac_optarg ;;
1240
1241 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1242 verbose=yes ;;
1243
1244 -version | --version | --versio | --versi | --vers | -V)
1245 ac_init_version=: ;;
1246
1247 -with-* | --with-*)
1248 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1249 # Reject names that are not valid shell variable names.
1250 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1251 as_fn_error "invalid package name: $ac_useropt"
1252 ac_useropt_orig=$ac_useropt
1253 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1254 case $ac_user_opts in
1255 *"
1256 "with_$ac_useropt"
1257 "*) ;;
1258 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1259 ac_unrecognized_sep=', ';;
1260 esac
1261 eval with_$ac_useropt=\$ac_optarg ;;
1262
1263 -without-* | --without-*)
1264 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1265 # Reject names that are not valid shell variable names.
1266 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1267 as_fn_error "invalid package name: $ac_useropt"
1268 ac_useropt_orig=$ac_useropt
1269 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1270 case $ac_user_opts in
1271 *"
1272 "with_$ac_useropt"
1273 "*) ;;
1274 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1275 ac_unrecognized_sep=', ';;
1276 esac
1277 eval with_$ac_useropt=no ;;
1278
1279 --x)
1280 # Obsolete; use --with-x.
1281 with_x=yes ;;
1282
1283 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1284 | --x-incl | --x-inc | --x-in | --x-i)
1285 ac_prev=x_includes ;;
1286 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1287 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1288 x_includes=$ac_optarg ;;
1289
1290 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1291 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1292 ac_prev=x_libraries ;;
1293 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1294 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1295 x_libraries=$ac_optarg ;;
1296
1297 -*) as_fn_error "unrecognized option: \`$ac_option'
1298 Try \`$0 --help' for more information."
1299 ;;
1300
1301 *=*)
1302 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1303 # Reject names that are not valid shell variable names.
1304 case $ac_envvar in #(
1305 '' | [0-9]* | *[!_$as_cr_alnum]* )
1306 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1307 esac
1308 eval $ac_envvar=\$ac_optarg
1309 export $ac_envvar ;;
1310
1311 *)
1312 # FIXME: should be removed in autoconf 3.0.
1313 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1314 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1315 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1316 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1317 ;;
1318
1319 esac
1320 done
1321
1322 if test -n "$ac_prev"; then
1323 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1324 as_fn_error "missing argument to $ac_option"
1325 fi
1326
1327 if test -n "$ac_unrecognized_opts"; then
1328 case $enable_option_checking in
1329 no) ;;
1330 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1331 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1332 esac
1333 fi
1334
1335 # Check all directory arguments for consistency.
1336 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1337 datadir sysconfdir sharedstatedir localstatedir includedir \
1338 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1339 libdir localedir mandir
1340 do
1341 eval ac_val=\$$ac_var
1342 # Remove trailing slashes.
1343 case $ac_val in
1344 */ )
1345 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1346 eval $ac_var=\$ac_val;;
1347 esac
1348 # Be sure to have absolute directory names.
1349 case $ac_val in
1350 [\\/$]* | ?:[\\/]* ) continue;;
1351 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1352 esac
1353 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1354 done
1355
1356 # There might be people who depend on the old broken behavior: `$host'
1357 # used to hold the argument of --host etc.
1358 # FIXME: To remove some day.
1359 build=$build_alias
1360 host=$host_alias
1361 target=$target_alias
1362
1363 # FIXME: To remove some day.
1364 if test "x$host_alias" != x; then
1365 if test "x$build_alias" = x; then
1366 cross_compiling=maybe
1367 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1368 If a cross compiler is detected then cross compile mode will be used." >&2
1369 elif test "x$build_alias" != "x$host_alias"; then
1370 cross_compiling=yes
1371 fi
1372 fi
1373
1374 ac_tool_prefix=
1375 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1376
1377 test "$silent" = yes && exec 6>/dev/null
1378
1379
1380 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1381 ac_ls_di=`ls -di .` &&
1382 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1383 as_fn_error "working directory cannot be determined"
1384 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1385 as_fn_error "pwd does not report name of working directory"
1386
1387
1388 # Find the source files, if location was not specified.
1389 if test -z "$srcdir"; then
1390 ac_srcdir_defaulted=yes
1391 # Try the directory containing this script, then the parent directory.
1392 ac_confdir=`$as_dirname -- "$as_myself" ||
1393 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1394 X"$as_myself" : 'X\(//\)[^/]' \| \
1395 X"$as_myself" : 'X\(//\)$' \| \
1396 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1397 $as_echo X"$as_myself" |
1398 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1399 s//\1/
1400 q
1401 }
1402 /^X\(\/\/\)[^/].*/{
1403 s//\1/
1404 q
1405 }
1406 /^X\(\/\/\)$/{
1407 s//\1/
1408 q
1409 }
1410 /^X\(\/\).*/{
1411 s//\1/
1412 q
1413 }
1414 s/.*/./; q'`
1415 srcdir=$ac_confdir
1416 if test ! -r "$srcdir/$ac_unique_file"; then
1417 srcdir=..
1418 fi
1419 else
1420 ac_srcdir_defaulted=no
1421 fi
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1423 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1424 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1425 fi
1426 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1427 ac_abs_confdir=`(
1428 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1429 pwd)`
1430 # When building in place, set srcdir=.
1431 if test "$ac_abs_confdir" = "$ac_pwd"; then
1432 srcdir=.
1433 fi
1434 # Remove unnecessary trailing slashes from srcdir.
1435 # Double slashes in file names in object file debugging info
1436 # mess up M-x gdb in Emacs.
1437 case $srcdir in
1438 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1439 esac
1440 for ac_var in $ac_precious_vars; do
1441 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1442 eval ac_env_${ac_var}_value=\$${ac_var}
1443 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1444 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1445 done
1446
1447 #
1448 # Report the --help message.
1449 #
1450 if test "$ac_init_help" = "long"; then
1451 # Omit some internal or obsolete options to make the list less imposing.
1452 # This message is too long to be a string in the A/UX 3.1 sh.
1453 cat <<_ACEOF
1454 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1455
1456 Usage: $0 [OPTION]... [VAR=VALUE]...
1457
1458 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1459 VAR=VALUE. See below for descriptions of some of the useful variables.
1460
1461 Defaults for the options are specified in brackets.
1462
1463 Configuration:
1464 -h, --help display this help and exit
1465 --help=short display options specific to this package
1466 --help=recursive display the short help of all the included packages
1467 -V, --version display version information and exit
1468 -q, --quiet, --silent do not print \`checking...' messages
1469 --cache-file=FILE cache test results in FILE [disabled]
1470 -C, --config-cache alias for \`--cache-file=config.cache'
1471 -n, --no-create do not create output files
1472 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1473
1474 Installation directories:
1475 --prefix=PREFIX install architecture-independent files in PREFIX
1476 [$ac_default_prefix]
1477 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1478 [PREFIX]
1479
1480 By default, \`make install' will install all the files in
1481 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1482 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1483 for instance \`--prefix=\$HOME'.
1484
1485 For better control, use the options below.
1486
1487 Fine tuning of the installation directories:
1488 --bindir=DIR user executables [EPREFIX/bin]
1489 --sbindir=DIR system admin executables [EPREFIX/sbin]
1490 --libexecdir=DIR program executables [EPREFIX/libexec]
1491 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1492 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1493 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1494 --libdir=DIR object code libraries [EPREFIX/lib]
1495 --includedir=DIR C header files [PREFIX/include]
1496 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1497 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1498 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1499 --infodir=DIR info documentation [DATAROOTDIR/info]
1500 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1501 --mandir=DIR man documentation [DATAROOTDIR/man]
1502 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1503 --htmldir=DIR html documentation [DOCDIR]
1504 --dvidir=DIR dvi documentation [DOCDIR]
1505 --pdfdir=DIR pdf documentation [DOCDIR]
1506 --psdir=DIR ps documentation [DOCDIR]
1507 _ACEOF
1508
1509 cat <<\_ACEOF
1510
1511 Program names:
1512 --program-prefix=PREFIX prepend PREFIX to installed program names
1513 --program-suffix=SUFFIX append SUFFIX to installed program names
1514 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1515
1516 System types:
1517 --build=BUILD configure for building on BUILD [guessed]
1518 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1519 --target=TARGET configure for building compilers for TARGET [HOST]
1520 _ACEOF
1521 fi
1522
1523 if test -n "$ac_init_help"; then
1524 case $ac_init_help in
1525 short | recursive ) echo "Configuration of package-unused version-unused:";;
1526 esac
1527 cat <<\_ACEOF
1528
1529 Optional Features:
1530 --disable-option-checking ignore unrecognized --enable/--with options
1531 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1532 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1533 --enable-multilib build many library versions (default)
1534 --enable-maintainer-mode enable make rules and dependencies not useful
1535 (and sometimes confusing) to the casual installer
1536 --enable-shared[=PKGS] build shared libraries [default=yes]
1537 --enable-static[=PKGS] build static libraries [default=yes]
1538 --enable-fast-install[=PKGS]
1539 optimize for fast installation [default=yes]
1540 --disable-libtool-lock avoid locking (might break parallel builds)
1541 --disable-hosted-libstdcxx
1542 only build freestanding C++ runtime support
1543 --disable-libstdcxx-verbose
1544 disable termination messages to standard error
1545 --enable-sjlj-exceptions
1546 force use of builtin_setjmp for exceptions
1547 [default=auto]
1548 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1549 [default=$is_hosted]
1550 --enable-cstdio[=PACKAGE]
1551 use target-specific I/O package [default=stdio]
1552 --enable-clocale[=MODEL]
1553 use MODEL for target locale package [default=auto]
1554 --enable-nls use Native Language Support (default)
1555 --enable-libstdcxx-allocator[=KIND]
1556 use KIND for target std::allocator base
1557 [default=auto]
1558 --enable-cheaders[=KIND]
1559 construct "C" headers for g++ [default=$c_model]
1560 --enable-long-long enable template specializations for 'long long'
1561 [default=yes]
1562 --enable-wchar_t enable template specializations for 'wchar_t'
1563 [default=yes]
1564 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1565 --enable-concept-checks use Boost-derived template checks [default=no]
1566 --enable-libstdcxx-debug-flags=FLAGS
1567 pass compiler FLAGS when building debug library
1568 [default="-gdwarf-4 -g3 -O0"]
1569 --enable-libstdcxx-debug
1570 build extra debug library [default=no]
1571 --enable-cxx-flags=FLAGS
1572 pass compiler FLAGS when building library [default=]
1573 --enable-fully-dynamic-string
1574 do not put empty strings in per-process static
1575 memory [default=no]
1576 --enable-extern-template
1577 enable extern template [default=yes]
1578 --enable-werror turns on -Werror [default=yes]
1579 --enable-vtable-verify enable vtable verify [default=no]
1580 --enable-libstdcxx-time[=KIND]
1581 use KIND for check type [default=auto]
1582 --enable-tls Use thread-local storage [default=yes]
1583 --disable-rpath do not hardcode runtime library paths
1584 --enable-linux-futex use the Linux futex system call [default=default]
1585 --enable-symvers[=STYLE]
1586 enables symbol versioning of the shared library
1587 [default=yes]
1588 --enable-libstdcxx-visibility
1589 enables visibility safe usage [default=yes]
1590 --enable-libstdcxx-dual-abi
1591 support two versions of std::string [default=yes]
1592 --enable-libstdcxx-threads
1593 enable C++11 threads support [default=auto]
1594 --enable-libstdcxx-filesystem-ts
1595 turns on ISO/IEC TS 18822 support [default=auto]
1596 --enable-version-specific-runtime-libs
1597 Specify that runtime libraries should be installed
1598 in a compiler-specific directory
1599
1600 Optional Packages:
1601 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1602 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1603 --with-target-subdir=SUBDIR
1604 configuring in a subdirectory
1605 --with-cross-host=HOST configuring with a cross compiler
1606 --with-newlib assume newlib as a system C library
1607 --with-pic try to use only PIC/non-PIC objects [default=use
1608 both]
1609 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1610 --with-python-dir the location to install Python modules. This path is
1611 relative starting from the prefix.
1612 --with-gnu-ld assume the C compiler uses GNU ld default=no
1613 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1614 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1615 --with-system-libunwind use installed libunwind
1616 --with-default-libstdcxx-abi
1617 set the std::string ABI to use by default
1618 --with-gxx-include-dir=DIR
1619 installation directory for include files
1620
1621 Some influential environment variables:
1622 CC C compiler command
1623 CFLAGS C compiler flags
1624 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1625 nonstandard directory <lib dir>
1626 LIBS libraries to pass to the linker, e.g. -l<library>
1627 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1628 you have headers in a nonstandard directory <include dir>
1629 CXX C++ compiler command
1630 CXXFLAGS C++ compiler flags
1631 CPP C preprocessor
1632 CXXCPP C++ preprocessor
1633 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1634 `c++filt', `gc++filt' on PATH.
1635
1636 Use these variables to override the choices made by `configure' or to help
1637 it to find libraries and programs with nonstandard names/locations.
1638
1639 Report bugs to the package provider.
1640 _ACEOF
1641 ac_status=$?
1642 fi
1643
1644 if test "$ac_init_help" = "recursive"; then
1645 # If there are subdirs, report their specific --help.
1646 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1647 test -d "$ac_dir" ||
1648 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1649 continue
1650 ac_builddir=.
1651
1652 case "$ac_dir" in
1653 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654 *)
1655 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1656 # A ".." for each directory in $ac_dir_suffix.
1657 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1658 case $ac_top_builddir_sub in
1659 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1660 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1661 esac ;;
1662 esac
1663 ac_abs_top_builddir=$ac_pwd
1664 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1665 # for backward compatibility:
1666 ac_top_builddir=$ac_top_build_prefix
1667
1668 case $srcdir in
1669 .) # We are building in place.
1670 ac_srcdir=.
1671 ac_top_srcdir=$ac_top_builddir_sub
1672 ac_abs_top_srcdir=$ac_pwd ;;
1673 [\\/]* | ?:[\\/]* ) # Absolute name.
1674 ac_srcdir=$srcdir$ac_dir_suffix;
1675 ac_top_srcdir=$srcdir
1676 ac_abs_top_srcdir=$srcdir ;;
1677 *) # Relative name.
1678 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1679 ac_top_srcdir=$ac_top_build_prefix$srcdir
1680 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1681 esac
1682 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1683
1684 cd "$ac_dir" || { ac_status=$?; continue; }
1685 # Check for guested configure.
1686 if test -f "$ac_srcdir/configure.gnu"; then
1687 echo &&
1688 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1689 elif test -f "$ac_srcdir/configure"; then
1690 echo &&
1691 $SHELL "$ac_srcdir/configure" --help=recursive
1692 else
1693 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1694 fi || ac_status=$?
1695 cd "$ac_pwd" || { ac_status=$?; break; }
1696 done
1697 fi
1698
1699 test -n "$ac_init_help" && exit $ac_status
1700 if $ac_init_version; then
1701 cat <<\_ACEOF
1702 package-unused configure version-unused
1703 generated by GNU Autoconf 2.64
1704
1705 Copyright (C) 2009 Free Software Foundation, Inc.
1706 This configure script is free software; the Free Software Foundation
1707 gives unlimited permission to copy, distribute and modify it.
1708 _ACEOF
1709 exit
1710 fi
1711
1712 ## ------------------------ ##
1713 ## Autoconf initialization. ##
1714 ## ------------------------ ##
1715
1716 # ac_fn_c_try_compile LINENO
1717 # --------------------------
1718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1719 ac_fn_c_try_compile ()
1720 {
1721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1722 rm -f conftest.$ac_objext
1723 if { { ac_try="$ac_compile"
1724 case "(($ac_try" in
1725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1726 *) ac_try_echo=$ac_try;;
1727 esac
1728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1729 $as_echo "$ac_try_echo"; } >&5
1730 (eval "$ac_compile") 2>conftest.err
1731 ac_status=$?
1732 if test -s conftest.err; then
1733 grep -v '^ *+' conftest.err >conftest.er1
1734 cat conftest.er1 >&5
1735 mv -f conftest.er1 conftest.err
1736 fi
1737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1738 test $ac_status = 0; } && {
1739 test -z "$ac_c_werror_flag" ||
1740 test ! -s conftest.err
1741 } && test -s conftest.$ac_objext; then :
1742 ac_retval=0
1743 else
1744 $as_echo "$as_me: failed program was:" >&5
1745 sed 's/^/| /' conftest.$ac_ext >&5
1746
1747 ac_retval=1
1748 fi
1749 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1750 return $ac_retval
1751
1752 } # ac_fn_c_try_compile
1753
1754 # ac_fn_cxx_try_compile LINENO
1755 # ----------------------------
1756 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1757 ac_fn_cxx_try_compile ()
1758 {
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 rm -f conftest.$ac_objext
1761 if { { ac_try="$ac_compile"
1762 case "(($ac_try" in
1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1765 esac
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_compile") 2>conftest.err
1769 ac_status=$?
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1774 fi
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } && {
1777 test -z "$ac_cxx_werror_flag" ||
1778 test ! -s conftest.err
1779 } && test -s conftest.$ac_objext; then :
1780 ac_retval=0
1781 else
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1784
1785 ac_retval=1
1786 fi
1787 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1788 return $ac_retval
1789
1790 } # ac_fn_cxx_try_compile
1791
1792 # ac_fn_c_try_cpp LINENO
1793 # ----------------------
1794 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1795 ac_fn_c_try_cpp ()
1796 {
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 if { { ac_try="$ac_cpp conftest.$ac_ext"
1799 case "(($ac_try" in
1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1802 esac
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1806 ac_status=$?
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1811 fi
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } >/dev/null && {
1814 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1816 }; then :
1817 ac_retval=0
1818 else
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1821
1822 ac_retval=1
1823 fi
1824 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1825 return $ac_retval
1826
1827 } # ac_fn_c_try_cpp
1828
1829 # ac_fn_c_try_link LINENO
1830 # -----------------------
1831 # Try to link conftest.$ac_ext, and return whether this succeeded.
1832 ac_fn_c_try_link ()
1833 {
1834 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1835 rm -f conftest.$ac_objext conftest$ac_exeext
1836 if { { ac_try="$ac_link"
1837 case "(($ac_try" in
1838 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1839 *) ac_try_echo=$ac_try;;
1840 esac
1841 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1842 $as_echo "$ac_try_echo"; } >&5
1843 (eval "$ac_link") 2>conftest.err
1844 ac_status=$?
1845 if test -s conftest.err; then
1846 grep -v '^ *+' conftest.err >conftest.er1
1847 cat conftest.er1 >&5
1848 mv -f conftest.er1 conftest.err
1849 fi
1850 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1851 test $ac_status = 0; } && {
1852 test -z "$ac_c_werror_flag" ||
1853 test ! -s conftest.err
1854 } && test -s conftest$ac_exeext && {
1855 test "$cross_compiling" = yes ||
1856 $as_test_x conftest$ac_exeext
1857 }; then :
1858 ac_retval=0
1859 else
1860 $as_echo "$as_me: failed program was:" >&5
1861 sed 's/^/| /' conftest.$ac_ext >&5
1862
1863 ac_retval=1
1864 fi
1865 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1866 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1867 # interfere with the next link command; also delete a directory that is
1868 # left behind by Apple's compiler. We do this before executing the actions.
1869 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871 return $ac_retval
1872
1873 } # ac_fn_c_try_link
1874
1875 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1876 # -------------------------------------------------------
1877 # Tests whether HEADER exists and can be compiled using the include files in
1878 # INCLUDES, setting the cache variable VAR accordingly.
1879 ac_fn_c_check_header_compile ()
1880 {
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1883 $as_echo_n "checking for $2... " >&6; }
1884 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1885 $as_echo_n "(cached) " >&6
1886 else
1887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1888 /* end confdefs.h. */
1889 $4
1890 #include <$2>
1891 _ACEOF
1892 if ac_fn_c_try_compile "$LINENO"; then :
1893 eval "$3=yes"
1894 else
1895 eval "$3=no"
1896 fi
1897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 fi
1899 eval ac_res=\$$3
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1901 $as_echo "$ac_res" >&6; }
1902 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903
1904 } # ac_fn_c_check_header_compile
1905
1906 # ac_fn_c_try_run LINENO
1907 # ----------------------
1908 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1909 # that executables *can* be run.
1910 ac_fn_c_try_run ()
1911 {
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 if { { ac_try="$ac_link"
1914 case "(($ac_try" in
1915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1916 *) ac_try_echo=$ac_try;;
1917 esac
1918 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1919 $as_echo "$ac_try_echo"; } >&5
1920 (eval "$ac_link") 2>&5
1921 ac_status=$?
1922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1923 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1924 { { case "(($ac_try" in
1925 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1926 *) ac_try_echo=$ac_try;;
1927 esac
1928 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1929 $as_echo "$ac_try_echo"; } >&5
1930 (eval "$ac_try") 2>&5
1931 ac_status=$?
1932 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1933 test $ac_status = 0; }; }; then :
1934 ac_retval=0
1935 else
1936 $as_echo "$as_me: program exited with status $ac_status" >&5
1937 $as_echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.$ac_ext >&5
1939
1940 ac_retval=$ac_status
1941 fi
1942 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1943 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1944 return $ac_retval
1945
1946 } # ac_fn_c_try_run
1947
1948 # ac_fn_c_check_func LINENO FUNC VAR
1949 # ----------------------------------
1950 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1951 ac_fn_c_check_func ()
1952 {
1953 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1955 $as_echo_n "checking for $2... " >&6; }
1956 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1957 $as_echo_n "(cached) " >&6
1958 else
1959 if test x$gcc_no_link = xyes; then
1960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1961 fi
1962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1963 /* end confdefs.h. */
1964 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1966 #define $2 innocuous_$2
1967
1968 /* System header to define __stub macros and hopefully few prototypes,
1969 which can conflict with char $2 (); below.
1970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1971 <limits.h> exists even on freestanding compilers. */
1972
1973 #ifdef __STDC__
1974 # include <limits.h>
1975 #else
1976 # include <assert.h>
1977 #endif
1978
1979 #undef $2
1980
1981 /* Override any GCC internal prototype to avoid an error.
1982 Use char because int might match the return type of a GCC
1983 builtin and then its argument prototype would still apply. */
1984 #ifdef __cplusplus
1985 extern "C"
1986 #endif
1987 char $2 ();
1988 /* The GNU C library defines this for functions which it implements
1989 to always fail with ENOSYS. Some functions are actually named
1990 something starting with __ and the normal name is an alias. */
1991 #if defined __stub_$2 || defined __stub___$2
1992 choke me
1993 #endif
1994
1995 int
1996 main ()
1997 {
1998 return $2 ();
1999 ;
2000 return 0;
2001 }
2002 _ACEOF
2003 if ac_fn_c_try_link "$LINENO"; then :
2004 eval "$3=yes"
2005 else
2006 eval "$3=no"
2007 fi
2008 rm -f core conftest.err conftest.$ac_objext \
2009 conftest$ac_exeext conftest.$ac_ext
2010 fi
2011 eval ac_res=\$$3
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2013 $as_echo "$ac_res" >&6; }
2014 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2015
2016 } # ac_fn_c_check_func
2017
2018 # ac_fn_cxx_try_cpp LINENO
2019 # ------------------------
2020 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2021 ac_fn_cxx_try_cpp ()
2022 {
2023 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2024 if { { ac_try="$ac_cpp conftest.$ac_ext"
2025 case "(($ac_try" in
2026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2027 *) ac_try_echo=$ac_try;;
2028 esac
2029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2030 $as_echo "$ac_try_echo"; } >&5
2031 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2032 ac_status=$?
2033 if test -s conftest.err; then
2034 grep -v '^ *+' conftest.err >conftest.er1
2035 cat conftest.er1 >&5
2036 mv -f conftest.er1 conftest.err
2037 fi
2038 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2039 test $ac_status = 0; } >/dev/null && {
2040 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2041 test ! -s conftest.err
2042 }; then :
2043 ac_retval=0
2044 else
2045 $as_echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.$ac_ext >&5
2047
2048 ac_retval=1
2049 fi
2050 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2051 return $ac_retval
2052
2053 } # ac_fn_cxx_try_cpp
2054
2055 # ac_fn_cxx_try_link LINENO
2056 # -------------------------
2057 # Try to link conftest.$ac_ext, and return whether this succeeded.
2058 ac_fn_cxx_try_link ()
2059 {
2060 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2061 rm -f conftest.$ac_objext conftest$ac_exeext
2062 if { { ac_try="$ac_link"
2063 case "(($ac_try" in
2064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2065 *) ac_try_echo=$ac_try;;
2066 esac
2067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2068 $as_echo "$ac_try_echo"; } >&5
2069 (eval "$ac_link") 2>conftest.err
2070 ac_status=$?
2071 if test -s conftest.err; then
2072 grep -v '^ *+' conftest.err >conftest.er1
2073 cat conftest.er1 >&5
2074 mv -f conftest.er1 conftest.err
2075 fi
2076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2077 test $ac_status = 0; } && {
2078 test -z "$ac_cxx_werror_flag" ||
2079 test ! -s conftest.err
2080 } && test -s conftest$ac_exeext && {
2081 test "$cross_compiling" = yes ||
2082 $as_test_x conftest$ac_exeext
2083 }; then :
2084 ac_retval=0
2085 else
2086 $as_echo "$as_me: failed program was:" >&5
2087 sed 's/^/| /' conftest.$ac_ext >&5
2088
2089 ac_retval=1
2090 fi
2091 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2092 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2093 # interfere with the next link command; also delete a directory that is
2094 # left behind by Apple's compiler. We do this before executing the actions.
2095 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2096 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2097 return $ac_retval
2098
2099 } # ac_fn_cxx_try_link
2100
2101 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2102 # -------------------------------------------------------
2103 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2104 # the include files in INCLUDES and setting the cache variable VAR
2105 # accordingly.
2106 ac_fn_c_check_header_mongrel ()
2107 {
2108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2109 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2111 $as_echo_n "checking for $2... " >&6; }
2112 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2113 $as_echo_n "(cached) " >&6
2114 fi
2115 eval ac_res=\$$3
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2117 $as_echo "$ac_res" >&6; }
2118 else
2119 # Is the header compilable?
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2121 $as_echo_n "checking $2 usability... " >&6; }
2122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2123 /* end confdefs.h. */
2124 $4
2125 #include <$2>
2126 _ACEOF
2127 if ac_fn_c_try_compile "$LINENO"; then :
2128 ac_header_compiler=yes
2129 else
2130 ac_header_compiler=no
2131 fi
2132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2134 $as_echo "$ac_header_compiler" >&6; }
2135
2136 # Is the header present?
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2138 $as_echo_n "checking $2 presence... " >&6; }
2139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2140 /* end confdefs.h. */
2141 #include <$2>
2142 _ACEOF
2143 if ac_fn_c_try_cpp "$LINENO"; then :
2144 ac_header_preproc=yes
2145 else
2146 ac_header_preproc=no
2147 fi
2148 rm -f conftest.err conftest.$ac_ext
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2150 $as_echo "$ac_header_preproc" >&6; }
2151
2152 # So? What about this header?
2153 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2154 yes:no: )
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2156 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2158 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2159 ;;
2160 no:yes:* )
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2162 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2164 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2166 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2168 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2170 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2171 ;;
2172 esac
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2174 $as_echo_n "checking for $2... " >&6; }
2175 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2176 $as_echo_n "(cached) " >&6
2177 else
2178 eval "$3=\$ac_header_compiler"
2179 fi
2180 eval ac_res=\$$3
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2182 $as_echo "$ac_res" >&6; }
2183 fi
2184 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2185
2186 } # ac_fn_c_check_header_mongrel
2187
2188 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2189 # ---------------------------------------------------------
2190 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2191 # the include files in INCLUDES and setting the cache variable VAR
2192 # accordingly.
2193 ac_fn_cxx_check_header_mongrel ()
2194 {
2195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2196 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2198 $as_echo_n "checking for $2... " >&6; }
2199 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2200 $as_echo_n "(cached) " >&6
2201 fi
2202 eval ac_res=\$$3
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2204 $as_echo "$ac_res" >&6; }
2205 else
2206 # Is the header compilable?
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2208 $as_echo_n "checking $2 usability... " >&6; }
2209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2210 /* end confdefs.h. */
2211 $4
2212 #include <$2>
2213 _ACEOF
2214 if ac_fn_cxx_try_compile "$LINENO"; then :
2215 ac_header_compiler=yes
2216 else
2217 ac_header_compiler=no
2218 fi
2219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2221 $as_echo "$ac_header_compiler" >&6; }
2222
2223 # Is the header present?
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2225 $as_echo_n "checking $2 presence... " >&6; }
2226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2227 /* end confdefs.h. */
2228 #include <$2>
2229 _ACEOF
2230 if ac_fn_cxx_try_cpp "$LINENO"; then :
2231 ac_header_preproc=yes
2232 else
2233 ac_header_preproc=no
2234 fi
2235 rm -f conftest.err conftest.$ac_ext
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2237 $as_echo "$ac_header_preproc" >&6; }
2238
2239 # So? What about this header?
2240 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2241 yes:no: )
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2243 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2245 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2246 ;;
2247 no:yes:* )
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2249 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2251 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2253 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2255 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2257 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2258 ;;
2259 esac
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2261 $as_echo_n "checking for $2... " >&6; }
2262 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2263 $as_echo_n "(cached) " >&6
2264 else
2265 eval "$3=\$ac_header_compiler"
2266 fi
2267 eval ac_res=\$$3
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2269 $as_echo "$ac_res" >&6; }
2270 fi
2271 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2272
2273 } # ac_fn_cxx_check_header_mongrel
2274
2275 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2276 # --------------------------------------------
2277 # Tries to find the compile-time value of EXPR in a program that includes
2278 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2279 # computed
2280 ac_fn_c_compute_int ()
2281 {
2282 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2283 if test "$cross_compiling" = yes; then
2284 # Depending upon the size, compute the lo and hi bounds.
2285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2286 /* end confdefs.h. */
2287 $4
2288 int
2289 main ()
2290 {
2291 static int test_array [1 - 2 * !(($2) >= 0)];
2292 test_array [0] = 0
2293
2294 ;
2295 return 0;
2296 }
2297 _ACEOF
2298 if ac_fn_c_try_compile "$LINENO"; then :
2299 ac_lo=0 ac_mid=0
2300 while :; do
2301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2302 /* end confdefs.h. */
2303 $4
2304 int
2305 main ()
2306 {
2307 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2308 test_array [0] = 0
2309
2310 ;
2311 return 0;
2312 }
2313 _ACEOF
2314 if ac_fn_c_try_compile "$LINENO"; then :
2315 ac_hi=$ac_mid; break
2316 else
2317 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2318 if test $ac_lo -le $ac_mid; then
2319 ac_lo= ac_hi=
2320 break
2321 fi
2322 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2323 fi
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2325 done
2326 else
2327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2328 /* end confdefs.h. */
2329 $4
2330 int
2331 main ()
2332 {
2333 static int test_array [1 - 2 * !(($2) < 0)];
2334 test_array [0] = 0
2335
2336 ;
2337 return 0;
2338 }
2339 _ACEOF
2340 if ac_fn_c_try_compile "$LINENO"; then :
2341 ac_hi=-1 ac_mid=-1
2342 while :; do
2343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2344 /* end confdefs.h. */
2345 $4
2346 int
2347 main ()
2348 {
2349 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2350 test_array [0] = 0
2351
2352 ;
2353 return 0;
2354 }
2355 _ACEOF
2356 if ac_fn_c_try_compile "$LINENO"; then :
2357 ac_lo=$ac_mid; break
2358 else
2359 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2360 if test $ac_mid -le $ac_hi; then
2361 ac_lo= ac_hi=
2362 break
2363 fi
2364 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2365 fi
2366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2367 done
2368 else
2369 ac_lo= ac_hi=
2370 fi
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 fi
2373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2374 # Binary search between lo and hi bounds.
2375 while test "x$ac_lo" != "x$ac_hi"; do
2376 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2379 $4
2380 int
2381 main ()
2382 {
2383 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2384 test_array [0] = 0
2385
2386 ;
2387 return 0;
2388 }
2389 _ACEOF
2390 if ac_fn_c_try_compile "$LINENO"; then :
2391 ac_hi=$ac_mid
2392 else
2393 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2394 fi
2395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 done
2397 case $ac_lo in #((
2398 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2399 '') ac_retval=1 ;;
2400 esac
2401 else
2402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2403 /* end confdefs.h. */
2404 $4
2405 static long int longval () { return $2; }
2406 static unsigned long int ulongval () { return $2; }
2407 #include <stdio.h>
2408 #include <stdlib.h>
2409 int
2410 main ()
2411 {
2412
2413 FILE *f = fopen ("conftest.val", "w");
2414 if (! f)
2415 return 1;
2416 if (($2) < 0)
2417 {
2418 long int i = longval ();
2419 if (i != ($2))
2420 return 1;
2421 fprintf (f, "%ld", i);
2422 }
2423 else
2424 {
2425 unsigned long int i = ulongval ();
2426 if (i != ($2))
2427 return 1;
2428 fprintf (f, "%lu", i);
2429 }
2430 /* Do not output a trailing newline, as this causes \r\n confusion
2431 on some platforms. */
2432 return ferror (f) || fclose (f) != 0;
2433
2434 ;
2435 return 0;
2436 }
2437 _ACEOF
2438 if ac_fn_c_try_run "$LINENO"; then :
2439 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2440 else
2441 ac_retval=1
2442 fi
2443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2444 conftest.$ac_objext conftest.beam conftest.$ac_ext
2445 rm -f conftest.val
2446
2447 fi
2448 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2449 return $ac_retval
2450
2451 } # ac_fn_c_compute_int
2452
2453 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2454 # -------------------------------------------
2455 # Tests whether TYPE exists after having included INCLUDES, setting cache
2456 # variable VAR accordingly.
2457 ac_fn_c_check_type ()
2458 {
2459 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2461 $as_echo_n "checking for $2... " >&6; }
2462 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2463 $as_echo_n "(cached) " >&6
2464 else
2465 eval "$3=no"
2466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2467 /* end confdefs.h. */
2468 $4
2469 int
2470 main ()
2471 {
2472 if (sizeof ($2))
2473 return 0;
2474 ;
2475 return 0;
2476 }
2477 _ACEOF
2478 if ac_fn_c_try_compile "$LINENO"; then :
2479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2480 /* end confdefs.h. */
2481 $4
2482 int
2483 main ()
2484 {
2485 if (sizeof (($2)))
2486 return 0;
2487 ;
2488 return 0;
2489 }
2490 _ACEOF
2491 if ac_fn_c_try_compile "$LINENO"; then :
2492
2493 else
2494 eval "$3=yes"
2495 fi
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497 fi
2498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2499 fi
2500 eval ac_res=\$$3
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2502 $as_echo "$ac_res" >&6; }
2503 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2504
2505 } # ac_fn_c_check_type
2506
2507 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2508 # ---------------------------------------------
2509 # Tests whether TYPE exists after having included INCLUDES, setting cache
2510 # variable VAR accordingly.
2511 ac_fn_cxx_check_type ()
2512 {
2513 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2515 $as_echo_n "checking for $2... " >&6; }
2516 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2517 $as_echo_n "(cached) " >&6
2518 else
2519 eval "$3=no"
2520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2521 /* end confdefs.h. */
2522 $4
2523 int
2524 main ()
2525 {
2526 if (sizeof ($2))
2527 return 0;
2528 ;
2529 return 0;
2530 }
2531 _ACEOF
2532 if ac_fn_cxx_try_compile "$LINENO"; then :
2533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2534 /* end confdefs.h. */
2535 $4
2536 int
2537 main ()
2538 {
2539 if (sizeof (($2)))
2540 return 0;
2541 ;
2542 return 0;
2543 }
2544 _ACEOF
2545 if ac_fn_cxx_try_compile "$LINENO"; then :
2546
2547 else
2548 eval "$3=yes"
2549 fi
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2551 fi
2552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2553 fi
2554 eval ac_res=\$$3
2555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2556 $as_echo "$ac_res" >&6; }
2557 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2558
2559 } # ac_fn_cxx_check_type
2560
2561 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2562 # ----------------------------------------------------
2563 # Tries to find if the field MEMBER exists in type AGGR, after including
2564 # INCLUDES, setting cache variable VAR accordingly.
2565 ac_fn_c_check_member ()
2566 {
2567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2569 $as_echo_n "checking for $2.$3... " >&6; }
2570 if { as_var=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2571 $as_echo_n "(cached) " >&6
2572 else
2573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2574 /* end confdefs.h. */
2575 $5
2576 int
2577 main ()
2578 {
2579 static $2 ac_aggr;
2580 if (ac_aggr.$3)
2581 return 0;
2582 ;
2583 return 0;
2584 }
2585 _ACEOF
2586 if ac_fn_c_try_compile "$LINENO"; then :
2587 eval "$4=yes"
2588 else
2589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2591 $5
2592 int
2593 main ()
2594 {
2595 static $2 ac_aggr;
2596 if (sizeof ac_aggr.$3)
2597 return 0;
2598 ;
2599 return 0;
2600 }
2601 _ACEOF
2602 if ac_fn_c_try_compile "$LINENO"; then :
2603 eval "$4=yes"
2604 else
2605 eval "$4=no"
2606 fi
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 fi
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2610 fi
2611 eval ac_res=\$$4
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2613 $as_echo "$ac_res" >&6; }
2614 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2615
2616 } # ac_fn_c_check_member
2617 cat >config.log <<_ACEOF
2618 This file contains any messages produced by compilers while
2619 running configure, to aid debugging if configure makes a mistake.
2620
2621 It was created by package-unused $as_me version-unused, which was
2622 generated by GNU Autoconf 2.64. Invocation command line was
2623
2624 $ $0 $@
2625
2626 _ACEOF
2627 exec 5>>config.log
2628 {
2629 cat <<_ASUNAME
2630 ## --------- ##
2631 ## Platform. ##
2632 ## --------- ##
2633
2634 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2635 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2636 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2637 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2638 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2639
2640 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2641 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2642
2643 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2644 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2645 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2646 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2647 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2648 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2649 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2650
2651 _ASUNAME
2652
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 for as_dir in $PATH
2655 do
2656 IFS=$as_save_IFS
2657 test -z "$as_dir" && as_dir=.
2658 $as_echo "PATH: $as_dir"
2659 done
2660 IFS=$as_save_IFS
2661
2662 } >&5
2663
2664 cat >&5 <<_ACEOF
2665
2666
2667 ## ----------- ##
2668 ## Core tests. ##
2669 ## ----------- ##
2670
2671 _ACEOF
2672
2673
2674 # Keep a trace of the command line.
2675 # Strip out --no-create and --no-recursion so they do not pile up.
2676 # Strip out --silent because we don't want to record it for future runs.
2677 # Also quote any args containing shell meta-characters.
2678 # Make two passes to allow for proper duplicate-argument suppression.
2679 ac_configure_args=
2680 ac_configure_args0=
2681 ac_configure_args1=
2682 ac_must_keep_next=false
2683 for ac_pass in 1 2
2684 do
2685 for ac_arg
2686 do
2687 case $ac_arg in
2688 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2689 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2690 | -silent | --silent | --silen | --sile | --sil)
2691 continue ;;
2692 *\'*)
2693 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2694 esac
2695 case $ac_pass in
2696 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2697 2)
2698 as_fn_append ac_configure_args1 " '$ac_arg'"
2699 if test $ac_must_keep_next = true; then
2700 ac_must_keep_next=false # Got value, back to normal.
2701 else
2702 case $ac_arg in
2703 *=* | --config-cache | -C | -disable-* | --disable-* \
2704 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2705 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2706 | -with-* | --with-* | -without-* | --without-* | --x)
2707 case "$ac_configure_args0 " in
2708 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2709 esac
2710 ;;
2711 -* ) ac_must_keep_next=true ;;
2712 esac
2713 fi
2714 as_fn_append ac_configure_args " '$ac_arg'"
2715 ;;
2716 esac
2717 done
2718 done
2719 { ac_configure_args0=; unset ac_configure_args0;}
2720 { ac_configure_args1=; unset ac_configure_args1;}
2721
2722 # When interrupted or exit'd, cleanup temporary files, and complete
2723 # config.log. We remove comments because anyway the quotes in there
2724 # would cause problems or look ugly.
2725 # WARNING: Use '\'' to represent an apostrophe within the trap.
2726 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2727 trap 'exit_status=$?
2728 # Save into config.log some information that might help in debugging.
2729 {
2730 echo
2731
2732 cat <<\_ASBOX
2733 ## ---------------- ##
2734 ## Cache variables. ##
2735 ## ---------------- ##
2736 _ASBOX
2737 echo
2738 # The following way of writing the cache mishandles newlines in values,
2739 (
2740 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2741 eval ac_val=\$$ac_var
2742 case $ac_val in #(
2743 *${as_nl}*)
2744 case $ac_var in #(
2745 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2746 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2747 esac
2748 case $ac_var in #(
2749 _ | IFS | as_nl) ;; #(
2750 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2751 *) { eval $ac_var=; unset $ac_var;} ;;
2752 esac ;;
2753 esac
2754 done
2755 (set) 2>&1 |
2756 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2757 *${as_nl}ac_space=\ *)
2758 sed -n \
2759 "s/'\''/'\''\\\\'\'''\''/g;
2760 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2761 ;; #(
2762 *)
2763 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2764 ;;
2765 esac |
2766 sort
2767 )
2768 echo
2769
2770 cat <<\_ASBOX
2771 ## ----------------- ##
2772 ## Output variables. ##
2773 ## ----------------- ##
2774 _ASBOX
2775 echo
2776 for ac_var in $ac_subst_vars
2777 do
2778 eval ac_val=\$$ac_var
2779 case $ac_val in
2780 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2781 esac
2782 $as_echo "$ac_var='\''$ac_val'\''"
2783 done | sort
2784 echo
2785
2786 if test -n "$ac_subst_files"; then
2787 cat <<\_ASBOX
2788 ## ------------------- ##
2789 ## File substitutions. ##
2790 ## ------------------- ##
2791 _ASBOX
2792 echo
2793 for ac_var in $ac_subst_files
2794 do
2795 eval ac_val=\$$ac_var
2796 case $ac_val in
2797 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2798 esac
2799 $as_echo "$ac_var='\''$ac_val'\''"
2800 done | sort
2801 echo
2802 fi
2803
2804 if test -s confdefs.h; then
2805 cat <<\_ASBOX
2806 ## ----------- ##
2807 ## confdefs.h. ##
2808 ## ----------- ##
2809 _ASBOX
2810 echo
2811 cat confdefs.h
2812 echo
2813 fi
2814 test "$ac_signal" != 0 &&
2815 $as_echo "$as_me: caught signal $ac_signal"
2816 $as_echo "$as_me: exit $exit_status"
2817 } >&5
2818 rm -f core *.core core.conftest.* &&
2819 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2820 exit $exit_status
2821 ' 0
2822 for ac_signal in 1 2 13 15; do
2823 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2824 done
2825 ac_signal=0
2826
2827 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2828 rm -f -r conftest* confdefs.h
2829
2830 $as_echo "/* confdefs.h */" > confdefs.h
2831
2832 # Predefined preprocessor variables.
2833
2834 cat >>confdefs.h <<_ACEOF
2835 #define PACKAGE_NAME "$PACKAGE_NAME"
2836 _ACEOF
2837
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2840 _ACEOF
2841
2842 cat >>confdefs.h <<_ACEOF
2843 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2844 _ACEOF
2845
2846 cat >>confdefs.h <<_ACEOF
2847 #define PACKAGE_STRING "$PACKAGE_STRING"
2848 _ACEOF
2849
2850 cat >>confdefs.h <<_ACEOF
2851 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2852 _ACEOF
2853
2854 cat >>confdefs.h <<_ACEOF
2855 #define PACKAGE_URL "$PACKAGE_URL"
2856 _ACEOF
2857
2858
2859 # Let the site file select an alternate cache file if it wants to.
2860 # Prefer an explicitly selected file to automatically selected ones.
2861 ac_site_file1=NONE
2862 ac_site_file2=NONE
2863 if test -n "$CONFIG_SITE"; then
2864 ac_site_file1=$CONFIG_SITE
2865 elif test "x$prefix" != xNONE; then
2866 ac_site_file1=$prefix/share/config.site
2867 ac_site_file2=$prefix/etc/config.site
2868 else
2869 ac_site_file1=$ac_default_prefix/share/config.site
2870 ac_site_file2=$ac_default_prefix/etc/config.site
2871 fi
2872 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2873 do
2874 test "x$ac_site_file" = xNONE && continue
2875 if test -r "$ac_site_file"; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2877 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2878 sed 's/^/| /' "$ac_site_file" >&5
2879 . "$ac_site_file"
2880 fi
2881 done
2882
2883 if test -r "$cache_file"; then
2884 # Some versions of bash will fail to source /dev/null (special
2885 # files actually), so we avoid doing that.
2886 if test -f "$cache_file"; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2888 $as_echo "$as_me: loading cache $cache_file" >&6;}
2889 case $cache_file in
2890 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2891 *) . "./$cache_file";;
2892 esac
2893 fi
2894 else
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2896 $as_echo "$as_me: creating cache $cache_file" >&6;}
2897 >$cache_file
2898 fi
2899
2900 # Check that the precious variables saved in the cache have kept the same
2901 # value.
2902 ac_cache_corrupted=false
2903 for ac_var in $ac_precious_vars; do
2904 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2905 eval ac_new_set=\$ac_env_${ac_var}_set
2906 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2907 eval ac_new_val=\$ac_env_${ac_var}_value
2908 case $ac_old_set,$ac_new_set in
2909 set,)
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2911 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2912 ac_cache_corrupted=: ;;
2913 ,set)
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2915 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2916 ac_cache_corrupted=: ;;
2917 ,);;
2918 *)
2919 if test "x$ac_old_val" != "x$ac_new_val"; then
2920 # differences in whitespace do not lead to failure.
2921 ac_old_val_w=`echo x $ac_old_val`
2922 ac_new_val_w=`echo x $ac_new_val`
2923 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2925 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2926 ac_cache_corrupted=:
2927 else
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2929 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2930 eval $ac_var=\$ac_old_val
2931 fi
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2933 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2935 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2936 fi;;
2937 esac
2938 # Pass precious variables to config.status.
2939 if test "$ac_new_set" = set; then
2940 case $ac_new_val in
2941 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2942 *) ac_arg=$ac_var=$ac_new_val ;;
2943 esac
2944 case " $ac_configure_args " in
2945 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2946 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2947 esac
2948 fi
2949 done
2950 if $ac_cache_corrupted; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2954 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2955 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2956 fi
2957 ## -------------------- ##
2958 ## Main body of script. ##
2959 ## -------------------- ##
2960
2961 ac_ext=c
2962 ac_cpp='$CPP $CPPFLAGS'
2963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2966
2967
2968
2969
2970
2971
2972 ac_config_headers="$ac_config_headers config.h"
2973
2974
2975 # This works around the fact that libtool configuration may change LD
2976 # for this particular configuration, but some shells, instead of
2977 # keeping the changes in LD private, export them just because LD is
2978 # exported. Only used at the end of this file.
2979 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2980
2981 # Find the rest of the source tree framework.
2982 # Default to --enable-multilib
2983 # Check whether --enable-multilib was given.
2984 if test "${enable_multilib+set}" = set; then :
2985 enableval=$enable_multilib; case "$enableval" in
2986 yes) multilib=yes ;;
2987 no) multilib=no ;;
2988 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2989 esac
2990 else
2991 multilib=yes
2992 fi
2993
2994
2995 # We may get other options which we leave undocumented:
2996 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2997 # See config-ml.in if you want the gory details.
2998
2999 if test "$srcdir" = "."; then
3000 if test "$with_target_subdir" != "."; then
3001 multi_basedir="$srcdir/$with_multisrctop../.."
3002 else
3003 multi_basedir="$srcdir/$with_multisrctop.."
3004 fi
3005 else
3006 multi_basedir="$srcdir/.."
3007 fi
3008
3009
3010 # Even if the default multilib is not a cross compilation,
3011 # it may be that some of the other multilibs are.
3012 if test $cross_compiling = no && test $multilib = yes \
3013 && test "x${with_multisubdir}" != x ; then
3014 cross_compiling=maybe
3015 fi
3016
3017 ac_config_commands="$ac_config_commands default-1"
3018
3019
3020 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3021 #
3022 # You will slowly go insane if you do not grok the following fact: when
3023 # building v3 as part of the compiler, the top-level /target/ becomes the
3024 # library's /host/. configure then causes --target to default to --host,
3025 # exactly like any other package using autoconf. Therefore, 'target' and
3026 # 'host' will always be the same. This makes sense both for native and
3027 # cross compilers, just think about it for a little while. :-)
3028 #
3029 # Also, if v3 is being configured as part of a cross compiler, the top-level
3030 # configure script will pass the "real" host as $with_cross_host.
3031 #
3032 # Do not delete or change the following two lines. For why, see
3033 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3034 ac_aux_dir=
3035 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3036 for ac_t in install-sh install.sh shtool; do
3037 if test -f "$ac_dir/$ac_t"; then
3038 ac_aux_dir=$ac_dir
3039 ac_install_sh="$ac_aux_dir/$ac_t -c"
3040 break 2
3041 fi
3042 done
3043 done
3044 if test -z "$ac_aux_dir"; then
3045 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3046 fi
3047
3048 # These three variables are undocumented and unsupported,
3049 # and are intended to be withdrawn in a future Autoconf release.
3050 # They can cause serious problems if a builder's source tree is in a directory
3051 # whose full name contains unusual characters.
3052 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3053 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3054 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3055
3056
3057 # Make sure we can run config.sub.
3058 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3059 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3060
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3062 $as_echo_n "checking build system type... " >&6; }
3063 if test "${ac_cv_build+set}" = set; then :
3064 $as_echo_n "(cached) " >&6
3065 else
3066 ac_build_alias=$build_alias
3067 test "x$ac_build_alias" = x &&
3068 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3069 test "x$ac_build_alias" = x &&
3070 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3071 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3072 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3073
3074 fi
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3076 $as_echo "$ac_cv_build" >&6; }
3077 case $ac_cv_build in
3078 *-*-*) ;;
3079 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3080 esac
3081 build=$ac_cv_build
3082 ac_save_IFS=$IFS; IFS='-'
3083 set x $ac_cv_build
3084 shift
3085 build_cpu=$1
3086 build_vendor=$2
3087 shift; shift
3088 # Remember, the first character of IFS is used to create $*,
3089 # except with old shells:
3090 build_os=$*
3091 IFS=$ac_save_IFS
3092 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3093
3094
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3096 $as_echo_n "checking host system type... " >&6; }
3097 if test "${ac_cv_host+set}" = set; then :
3098 $as_echo_n "(cached) " >&6
3099 else
3100 if test "x$host_alias" = x; then
3101 ac_cv_host=$ac_cv_build
3102 else
3103 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3104 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3105 fi
3106
3107 fi
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3109 $as_echo "$ac_cv_host" >&6; }
3110 case $ac_cv_host in
3111 *-*-*) ;;
3112 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3113 esac
3114 host=$ac_cv_host
3115 ac_save_IFS=$IFS; IFS='-'
3116 set x $ac_cv_host
3117 shift
3118 host_cpu=$1
3119 host_vendor=$2
3120 shift; shift
3121 # Remember, the first character of IFS is used to create $*,
3122 # except with old shells:
3123 host_os=$*
3124 IFS=$ac_save_IFS
3125 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3126
3127
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3129 $as_echo_n "checking target system type... " >&6; }
3130 if test "${ac_cv_target+set}" = set; then :
3131 $as_echo_n "(cached) " >&6
3132 else
3133 if test "x$target_alias" = x; then
3134 ac_cv_target=$ac_cv_host
3135 else
3136 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3137 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3138 fi
3139
3140 fi
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3142 $as_echo "$ac_cv_target" >&6; }
3143 case $ac_cv_target in
3144 *-*-*) ;;
3145 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3146 esac
3147 target=$ac_cv_target
3148 ac_save_IFS=$IFS; IFS='-'
3149 set x $ac_cv_target
3150 shift
3151 target_cpu=$1
3152 target_vendor=$2
3153 shift; shift
3154 # Remember, the first character of IFS is used to create $*,
3155 # except with old shells:
3156 target_os=$*
3157 IFS=$ac_save_IFS
3158 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3159
3160
3161 # The aliases save the names the user supplied, while $host etc.
3162 # will get canonicalized.
3163 test -n "$target_alias" &&
3164 test "$program_prefix$program_suffix$program_transform_name" = \
3165 NONENONEs,x,x, &&
3166 program_prefix=${target_alias}-
3167
3168 target_alias=${target_alias-$host_alias}
3169
3170 # Handy for debugging:
3171 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3172
3173 if test "$build" != "$host"; then
3174 # We are being configured with some form of cross compiler.
3175 GLIBCXX_IS_NATIVE=false
3176 case "$host","$target" in
3177 # Darwin crosses can use the host system's libraries and headers,
3178 # because of the fat library support. Of course, it must be the
3179 # same version of Darwin on both sides. Allow the user to
3180 # just say --target=foo-darwin without a version number to mean
3181 # "the version on this system".
3182 *-*-darwin*,*-*-darwin*)
3183 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3184 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3185 if test $hostos = $targetos -o $targetos = darwin ; then
3186 GLIBCXX_IS_NATIVE=true
3187 fi
3188 ;;
3189
3190 *)
3191
3192 ;;
3193 esac
3194 else
3195 GLIBCXX_IS_NATIVE=true
3196 fi
3197
3198 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3199 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3200 # 1.x: minimum required version
3201 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3202 # of other PACKAGE_* variables will, however, and there's nothing
3203 # we can do about that; they come from AC_INIT).
3204 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3205 # file in the top srcdir, etc, etc), so stop complaining.
3206 # no-dependencies: turns off auto dependency generation (just for now)
3207 # no-dist: we don't want 'dist' and related rules.
3208 # -Wall: turns on all automake warnings...
3209 # -Wno-portability: ...except this one, since GNU make is now required.
3210 am__api_version='1.11'
3211
3212 # Find a good install program. We prefer a C program (faster),
3213 # so one script is as good as another. But avoid the broken or
3214 # incompatible versions:
3215 # SysV /etc/install, /usr/sbin/install
3216 # SunOS /usr/etc/install
3217 # IRIX /sbin/install
3218 # AIX /bin/install
3219 # AmigaOS /C/install, which installs bootblocks on floppy discs
3220 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3221 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3222 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3223 # OS/2's system install, which has a completely different semantic
3224 # ./install, which can be erroneously created by make from ./install.sh.
3225 # Reject install programs that cannot install multiple files.
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3227 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3228 if test -z "$INSTALL"; then
3229 if test "${ac_cv_path_install+set}" = set; then :
3230 $as_echo_n "(cached) " >&6
3231 else
3232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3233 for as_dir in $PATH
3234 do
3235 IFS=$as_save_IFS
3236 test -z "$as_dir" && as_dir=.
3237 # Account for people who put trailing slashes in PATH elements.
3238 case $as_dir/ in #((
3239 ./ | .// | /[cC]/* | \
3240 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3241 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3242 /usr/ucb/* ) ;;
3243 *)
3244 # OSF1 and SCO ODT 3.0 have their own names for install.
3245 # Don't use installbsd from OSF since it installs stuff as root
3246 # by default.
3247 for ac_prog in ginstall scoinst install; do
3248 for ac_exec_ext in '' $ac_executable_extensions; do
3249 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3250 if test $ac_prog = install &&
3251 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3252 # AIX install. It has an incompatible calling convention.
3253 :
3254 elif test $ac_prog = install &&
3255 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3256 # program-specific install script used by HP pwplus--don't use.
3257 :
3258 else
3259 rm -rf conftest.one conftest.two conftest.dir
3260 echo one > conftest.one
3261 echo two > conftest.two
3262 mkdir conftest.dir
3263 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3264 test -s conftest.one && test -s conftest.two &&
3265 test -s conftest.dir/conftest.one &&
3266 test -s conftest.dir/conftest.two
3267 then
3268 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3269 break 3
3270 fi
3271 fi
3272 fi
3273 done
3274 done
3275 ;;
3276 esac
3277
3278 done
3279 IFS=$as_save_IFS
3280
3281 rm -rf conftest.one conftest.two conftest.dir
3282
3283 fi
3284 if test "${ac_cv_path_install+set}" = set; then
3285 INSTALL=$ac_cv_path_install
3286 else
3287 # As a last resort, use the slow shell script. Don't cache a
3288 # value for INSTALL within a source directory, because that will
3289 # break other packages using the cache if that directory is
3290 # removed, or if the value is a relative name.
3291 INSTALL=$ac_install_sh
3292 fi
3293 fi
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3295 $as_echo "$INSTALL" >&6; }
3296
3297 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3298 # It thinks the first close brace ends the variable substitution.
3299 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3300
3301 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3302
3303 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3304
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3306 $as_echo_n "checking whether build environment is sane... " >&6; }
3307 # Just in case
3308 sleep 1
3309 echo timestamp > conftest.file
3310 # Reject unsafe characters in $srcdir or the absolute working directory
3311 # name. Accept space and tab only in the latter.
3312 am_lf='
3313 '
3314 case `pwd` in
3315 *[\\\"\#\$\&\'\`$am_lf]*)
3316 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3317 esac
3318 case $srcdir in
3319 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3320 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3321 esac
3322
3323 # Do `set' in a subshell so we don't clobber the current shell's
3324 # arguments. Must try -L first in case configure is actually a
3325 # symlink; some systems play weird games with the mod time of symlinks
3326 # (eg FreeBSD returns the mod time of the symlink's containing
3327 # directory).
3328 if (
3329 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3330 if test "$*" = "X"; then
3331 # -L didn't work.
3332 set X `ls -t "$srcdir/configure" conftest.file`
3333 fi
3334 rm -f conftest.file
3335 if test "$*" != "X $srcdir/configure conftest.file" \
3336 && test "$*" != "X conftest.file $srcdir/configure"; then
3337
3338 # If neither matched, then we have a broken ls. This can happen
3339 # if, for instance, CONFIG_SHELL is bash and it inherits a
3340 # broken ls alias from the environment. This has actually
3341 # happened. Such a system could not be considered "sane".
3342 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3343 alias in your environment" "$LINENO" 5
3344 fi
3345
3346 test "$2" = conftest.file
3347 )
3348 then
3349 # Ok.
3350 :
3351 else
3352 as_fn_error "newly created file is older than distributed files!
3353 Check your system clock" "$LINENO" 5
3354 fi
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3356 $as_echo "yes" >&6; }
3357 test "$program_prefix" != NONE &&
3358 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3359 # Use a double $ so make ignores it.
3360 test "$program_suffix" != NONE &&
3361 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3362 # Double any \ or $.
3363 # By default was `s,x,x', remove it if useless.
3364 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3365 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3366
3367 # expand $ac_aux_dir to an absolute path
3368 am_aux_dir=`cd $ac_aux_dir && pwd`
3369
3370 if test x"${MISSING+set}" != xset; then
3371 case $am_aux_dir in
3372 *\ * | *\ *)
3373 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3374 *)
3375 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3376 esac
3377 fi
3378 # Use eval to expand $SHELL
3379 if eval "$MISSING --run true"; then
3380 am_missing_run="$MISSING --run "
3381 else
3382 am_missing_run=
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3384 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3385 fi
3386
3387 if test x"${install_sh}" != xset; then
3388 case $am_aux_dir in
3389 *\ * | *\ *)
3390 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3391 *)
3392 install_sh="\${SHELL} $am_aux_dir/install-sh"
3393 esac
3394 fi
3395
3396 # Installed binaries are usually stripped using `strip' when the user
3397 # run `make install-strip'. However `strip' might not be the right
3398 # tool to use in cross-compilation environments, therefore Automake
3399 # will honor the `STRIP' environment variable to overrule this program.
3400 if test "$cross_compiling" != no; then
3401 if test -n "$ac_tool_prefix"; then
3402 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3403 set dummy ${ac_tool_prefix}strip; ac_word=$2
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3405 $as_echo_n "checking for $ac_word... " >&6; }
3406 if test "${ac_cv_prog_STRIP+set}" = set; then :
3407 $as_echo_n "(cached) " >&6
3408 else
3409 if test -n "$STRIP"; then
3410 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3411 else
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH
3414 do
3415 IFS=$as_save_IFS
3416 test -z "$as_dir" && as_dir=.
3417 for ac_exec_ext in '' $ac_executable_extensions; do
3418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3419 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 break 2
3422 fi
3423 done
3424 done
3425 IFS=$as_save_IFS
3426
3427 fi
3428 fi
3429 STRIP=$ac_cv_prog_STRIP
3430 if test -n "$STRIP"; then
3431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3432 $as_echo "$STRIP" >&6; }
3433 else
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3435 $as_echo "no" >&6; }
3436 fi
3437
3438
3439 fi
3440 if test -z "$ac_cv_prog_STRIP"; then
3441 ac_ct_STRIP=$STRIP
3442 # Extract the first word of "strip", so it can be a program name with args.
3443 set dummy strip; ac_word=$2
3444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3445 $as_echo_n "checking for $ac_word... " >&6; }
3446 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3447 $as_echo_n "(cached) " >&6
3448 else
3449 if test -n "$ac_ct_STRIP"; then
3450 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3451 else
3452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3453 for as_dir in $PATH
3454 do
3455 IFS=$as_save_IFS
3456 test -z "$as_dir" && as_dir=.
3457 for ac_exec_ext in '' $ac_executable_extensions; do
3458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3459 ac_cv_prog_ac_ct_STRIP="strip"
3460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3461 break 2
3462 fi
3463 done
3464 done
3465 IFS=$as_save_IFS
3466
3467 fi
3468 fi
3469 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3470 if test -n "$ac_ct_STRIP"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3472 $as_echo "$ac_ct_STRIP" >&6; }
3473 else
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3475 $as_echo "no" >&6; }
3476 fi
3477
3478 if test "x$ac_ct_STRIP" = x; then
3479 STRIP=":"
3480 else
3481 case $cross_compiling:$ac_tool_warned in
3482 yes:)
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3485 ac_tool_warned=yes ;;
3486 esac
3487 STRIP=$ac_ct_STRIP
3488 fi
3489 else
3490 STRIP="$ac_cv_prog_STRIP"
3491 fi
3492
3493 fi
3494 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3495
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3497 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3498 if test -z "$MKDIR_P"; then
3499 if test "${ac_cv_path_mkdir+set}" = set; then :
3500 $as_echo_n "(cached) " >&6
3501 else
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3503 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3504 do
3505 IFS=$as_save_IFS
3506 test -z "$as_dir" && as_dir=.
3507 for ac_prog in mkdir gmkdir; do
3508 for ac_exec_ext in '' $ac_executable_extensions; do
3509 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3510 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3511 'mkdir (GNU coreutils) '* | \
3512 'mkdir (coreutils) '* | \
3513 'mkdir (fileutils) '4.1*)
3514 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3515 break 3;;
3516 esac
3517 done
3518 done
3519 done
3520 IFS=$as_save_IFS
3521
3522 fi
3523
3524 if test "${ac_cv_path_mkdir+set}" = set; then
3525 MKDIR_P="$ac_cv_path_mkdir -p"
3526 else
3527 # As a last resort, use the slow shell script. Don't cache a
3528 # value for MKDIR_P within a source directory, because that will
3529 # break other packages using the cache if that directory is
3530 # removed, or if the value is a relative name.
3531 test -d ./--version && rmdir ./--version
3532 MKDIR_P="$ac_install_sh -d"
3533 fi
3534 fi
3535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3536 $as_echo "$MKDIR_P" >&6; }
3537
3538 mkdir_p="$MKDIR_P"
3539 case $mkdir_p in
3540 [\\/$]* | ?:[\\/]*) ;;
3541 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3542 esac
3543
3544 for ac_prog in gawk mawk nawk awk
3545 do
3546 # Extract the first word of "$ac_prog", so it can be a program name with args.
3547 set dummy $ac_prog; ac_word=$2
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3549 $as_echo_n "checking for $ac_word... " >&6; }
3550 if test "${ac_cv_prog_AWK+set}" = set; then :
3551 $as_echo_n "(cached) " >&6
3552 else
3553 if test -n "$AWK"; then
3554 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3555 else
3556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3557 for as_dir in $PATH
3558 do
3559 IFS=$as_save_IFS
3560 test -z "$as_dir" && as_dir=.
3561 for ac_exec_ext in '' $ac_executable_extensions; do
3562 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3563 ac_cv_prog_AWK="$ac_prog"
3564 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3565 break 2
3566 fi
3567 done
3568 done
3569 IFS=$as_save_IFS
3570
3571 fi
3572 fi
3573 AWK=$ac_cv_prog_AWK
3574 if test -n "$AWK"; then
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3576 $as_echo "$AWK" >&6; }
3577 else
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 $as_echo "no" >&6; }
3580 fi
3581
3582
3583 test -n "$AWK" && break
3584 done
3585
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3587 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3588 set x ${MAKE-make}
3589 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3590 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3591 $as_echo_n "(cached) " >&6
3592 else
3593 cat >conftest.make <<\_ACEOF
3594 SHELL = /bin/sh
3595 all:
3596 @echo '@@@%%%=$(MAKE)=@@@%%%'
3597 _ACEOF
3598 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3599 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3600 *@@@%%%=?*=@@@%%%*)
3601 eval ac_cv_prog_make_${ac_make}_set=yes;;
3602 *)
3603 eval ac_cv_prog_make_${ac_make}_set=no;;
3604 esac
3605 rm -f conftest.make
3606 fi
3607 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3609 $as_echo "yes" >&6; }
3610 SET_MAKE=
3611 else
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3613 $as_echo "no" >&6; }
3614 SET_MAKE="MAKE=${MAKE-make}"
3615 fi
3616
3617 rm -rf .tst 2>/dev/null
3618 mkdir .tst 2>/dev/null
3619 if test -d .tst; then
3620 am__leading_dot=.
3621 else
3622 am__leading_dot=_
3623 fi
3624 rmdir .tst 2>/dev/null
3625
3626 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3627 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3628 # is not polluted with repeated "-I."
3629 am__isrc=' -I$(srcdir)'
3630 # test to see if srcdir already configured
3631 if test -f $srcdir/config.status; then
3632 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3633 fi
3634 fi
3635
3636 # test whether we have cygpath
3637 if test -z "$CYGPATH_W"; then
3638 if (cygpath --version) >/dev/null 2>/dev/null; then
3639 CYGPATH_W='cygpath -w'
3640 else
3641 CYGPATH_W=echo
3642 fi
3643 fi
3644
3645
3646 # Define the identity of the package.
3647 PACKAGE='libstdc++'
3648 VERSION='version-unused'
3649
3650
3651 # Some tools Automake needs.
3652
3653 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3654
3655
3656 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3657
3658
3659 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3660
3661
3662 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3663
3664
3665 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3666
3667 # We need awk for the "check" target. The system "awk" is bad on
3668 # some platforms.
3669 # Always define AMTAR for backward compatibility.
3670
3671 AMTAR=${AMTAR-"${am_missing_run}tar"}
3672
3673 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3674
3675
3676
3677
3678
3679
3680
3681
3682 # -fno-builtin must be present here so that a non-conflicting form of
3683 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3684
3685 save_CXXFLAGS="$CXXFLAGS"
3686 CXXFLAGS="$CXXFLAGS -fno-builtin"
3687 ac_ext=c
3688 ac_cpp='$CPP $CPPFLAGS'
3689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3692 if test -n "$ac_tool_prefix"; then
3693 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3694 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3696 $as_echo_n "checking for $ac_word... " >&6; }
3697 if test "${ac_cv_prog_CC+set}" = set; then :
3698 $as_echo_n "(cached) " >&6
3699 else
3700 if test -n "$CC"; then
3701 ac_cv_prog_CC="$CC" # Let the user override the test.
3702 else
3703 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3704 for as_dir in $PATH
3705 do
3706 IFS=$as_save_IFS
3707 test -z "$as_dir" && as_dir=.
3708 for ac_exec_ext in '' $ac_executable_extensions; do
3709 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3710 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3711 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3712 break 2
3713 fi
3714 done
3715 done
3716 IFS=$as_save_IFS
3717
3718 fi
3719 fi
3720 CC=$ac_cv_prog_CC
3721 if test -n "$CC"; then
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3723 $as_echo "$CC" >&6; }
3724 else
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3726 $as_echo "no" >&6; }
3727 fi
3728
3729
3730 fi
3731 if test -z "$ac_cv_prog_CC"; then
3732 ac_ct_CC=$CC
3733 # Extract the first word of "gcc", so it can be a program name with args.
3734 set dummy gcc; 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_ac_ct_CC+set}" = set; then :
3738 $as_echo_n "(cached) " >&6
3739 else
3740 if test -n "$ac_ct_CC"; then
3741 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3742 else
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 for as_dir in $PATH
3745 do
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_ac_ct_CC="gcc"
3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 break 2
3753 fi
3754 done
3755 done
3756 IFS=$as_save_IFS
3757
3758 fi
3759 fi
3760 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3761 if test -n "$ac_ct_CC"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3763 $as_echo "$ac_ct_CC" >&6; }
3764 else
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3767 fi
3768
3769 if test "x$ac_ct_CC" = x; then
3770 CC=""
3771 else
3772 case $cross_compiling:$ac_tool_warned in
3773 yes:)
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3775 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3776 ac_tool_warned=yes ;;
3777 esac
3778 CC=$ac_ct_CC
3779 fi
3780 else
3781 CC="$ac_cv_prog_CC"
3782 fi
3783
3784 if test -z "$CC"; then
3785 if test -n "$ac_tool_prefix"; then
3786 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3787 set dummy ${ac_tool_prefix}cc; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if test "${ac_cv_prog_CC+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 if test -n "$CC"; then
3794 ac_cv_prog_CC="$CC" # Let the user override the test.
3795 else
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH
3798 do
3799 IFS=$as_save_IFS
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803 ac_cv_prog_CC="${ac_tool_prefix}cc"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 break 2
3806 fi
3807 done
3808 done
3809 IFS=$as_save_IFS
3810
3811 fi
3812 fi
3813 CC=$ac_cv_prog_CC
3814 if test -n "$CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3816 $as_echo "$CC" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3820 fi
3821
3822
3823 fi
3824 fi
3825 if test -z "$CC"; then
3826 # Extract the first word of "cc", so it can be a program name with args.
3827 set dummy cc; ac_word=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if test "${ac_cv_prog_CC+set}" = set; then :
3831 $as_echo_n "(cached) " >&6
3832 else
3833 if test -n "$CC"; then
3834 ac_cv_prog_CC="$CC" # Let the user override the test.
3835 else
3836 ac_prog_rejected=no
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3839 do
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3844 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3845 ac_prog_rejected=yes
3846 continue
3847 fi
3848 ac_cv_prog_CC="cc"
3849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 break 2
3851 fi
3852 done
3853 done
3854 IFS=$as_save_IFS
3855
3856 if test $ac_prog_rejected = yes; then
3857 # We found a bogon in the path, so make sure we never use it.
3858 set dummy $ac_cv_prog_CC
3859 shift
3860 if test $# != 0; then
3861 # We chose a different compiler from the bogus one.
3862 # However, it has the same basename, so the bogon will be chosen
3863 # first if we set CC to just the basename; use the full file name.
3864 shift
3865 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3866 fi
3867 fi
3868 fi
3869 fi
3870 CC=$ac_cv_prog_CC
3871 if test -n "$CC"; then
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3873 $as_echo "$CC" >&6; }
3874 else
3875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3876 $as_echo "no" >&6; }
3877 fi
3878
3879
3880 fi
3881 if test -z "$CC"; then
3882 if test -n "$ac_tool_prefix"; then
3883 for ac_prog in cl.exe
3884 do
3885 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3886 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888 $as_echo_n "checking for $ac_word... " >&6; }
3889 if test "${ac_cv_prog_CC+set}" = set; then :
3890 $as_echo_n "(cached) " >&6
3891 else
3892 if test -n "$CC"; then
3893 ac_cv_prog_CC="$CC" # Let the user override the test.
3894 else
3895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3896 for as_dir in $PATH
3897 do
3898 IFS=$as_save_IFS
3899 test -z "$as_dir" && as_dir=.
3900 for ac_exec_ext in '' $ac_executable_extensions; do
3901 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3902 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3904 break 2
3905 fi
3906 done
3907 done
3908 IFS=$as_save_IFS
3909
3910 fi
3911 fi
3912 CC=$ac_cv_prog_CC
3913 if test -n "$CC"; then
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3915 $as_echo "$CC" >&6; }
3916 else
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3918 $as_echo "no" >&6; }
3919 fi
3920
3921
3922 test -n "$CC" && break
3923 done
3924 fi
3925 if test -z "$CC"; then
3926 ac_ct_CC=$CC
3927 for ac_prog in cl.exe
3928 do
3929 # Extract the first word of "$ac_prog", so it can be a program name with args.
3930 set dummy $ac_prog; ac_word=$2
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3932 $as_echo_n "checking for $ac_word... " >&6; }
3933 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3934 $as_echo_n "(cached) " >&6
3935 else
3936 if test -n "$ac_ct_CC"; then
3937 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3938 else
3939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3940 for as_dir in $PATH
3941 do
3942 IFS=$as_save_IFS
3943 test -z "$as_dir" && as_dir=.
3944 for ac_exec_ext in '' $ac_executable_extensions; do
3945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3946 ac_cv_prog_ac_ct_CC="$ac_prog"
3947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 break 2
3949 fi
3950 done
3951 done
3952 IFS=$as_save_IFS
3953
3954 fi
3955 fi
3956 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3957 if test -n "$ac_ct_CC"; then
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3959 $as_echo "$ac_ct_CC" >&6; }
3960 else
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3962 $as_echo "no" >&6; }
3963 fi
3964
3965
3966 test -n "$ac_ct_CC" && break
3967 done
3968
3969 if test "x$ac_ct_CC" = x; then
3970 CC=""
3971 else
3972 case $cross_compiling:$ac_tool_warned in
3973 yes:)
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3976 ac_tool_warned=yes ;;
3977 esac
3978 CC=$ac_ct_CC
3979 fi
3980 fi
3981
3982 fi
3983
3984
3985 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 as_fn_error "no acceptable C compiler found in \$PATH
3988 See \`config.log' for more details." "$LINENO" 5; }
3989
3990 # Provide some information about the compiler.
3991 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3992 set X $ac_compile
3993 ac_compiler=$2
3994 for ac_option in --version -v -V -qversion; do
3995 { { ac_try="$ac_compiler $ac_option >&5"
3996 case "(($ac_try" in
3997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998 *) ac_try_echo=$ac_try;;
3999 esac
4000 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4001 $as_echo "$ac_try_echo"; } >&5
4002 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4003 ac_status=$?
4004 if test -s conftest.err; then
4005 sed '10a\
4006 ... rest of stderr output deleted ...
4007 10q' conftest.err >conftest.er1
4008 cat conftest.er1 >&5
4009 rm -f conftest.er1 conftest.err
4010 fi
4011 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4012 test $ac_status = 0; }
4013 done
4014
4015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4016 /* end confdefs.h. */
4017
4018 int
4019 main ()
4020 {
4021
4022 ;
4023 return 0;
4024 }
4025 _ACEOF
4026 # FIXME: Cleanup?
4027 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4028 (eval $ac_link) 2>&5
4029 ac_status=$?
4030 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4031 test $ac_status = 0; }; then :
4032 gcc_no_link=no
4033 else
4034 gcc_no_link=yes
4035 fi
4036 if test x$gcc_no_link = xyes; then
4037 # Setting cross_compile will disable run tests; it will
4038 # also disable AC_CHECK_FILE but that's generally
4039 # correct if we can't link.
4040 cross_compiling=yes
4041 EXEEXT=
4042 else
4043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4044 /* end confdefs.h. */
4045
4046 int
4047 main ()
4048 {
4049
4050 ;
4051 return 0;
4052 }
4053 _ACEOF
4054 ac_clean_files_save=$ac_clean_files
4055 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
4056 # Try to create an executable without -o first, disregard a.out.
4057 # It will help us diagnose broken compilers, and finding out an intuition
4058 # of exeext.
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4060 $as_echo_n "checking for C compiler default output file name... " >&6; }
4061 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4062
4063 # The possible output files:
4064 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4065
4066 ac_rmfiles=
4067 for ac_file in $ac_files
4068 do
4069 case $ac_file in
4070 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4071 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4072 esac
4073 done
4074 rm -f $ac_rmfiles
4075
4076 if { { ac_try="$ac_link_default"
4077 case "(($ac_try" in
4078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4079 *) ac_try_echo=$ac_try;;
4080 esac
4081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4082 $as_echo "$ac_try_echo"; } >&5
4083 (eval "$ac_link_default") 2>&5
4084 ac_status=$?
4085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4086 test $ac_status = 0; }; then :
4087 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4088 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4089 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4090 # so that the user can short-circuit this test for compilers unknown to
4091 # Autoconf.
4092 for ac_file in $ac_files ''
4093 do
4094 test -f "$ac_file" || continue
4095 case $ac_file in
4096 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4097 ;;
4098 [ab].out )
4099 # We found the default executable, but exeext='' is most
4100 # certainly right.
4101 break;;
4102 *.* )
4103 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4104 then :; else
4105 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4106 fi
4107 # We set ac_cv_exeext here because the later test for it is not
4108 # safe: cross compilers may not add the suffix if given an `-o'
4109 # argument, so we may need to know it at that point already.
4110 # Even if this section looks crufty: it has the advantage of
4111 # actually working.
4112 break;;
4113 * )
4114 break;;
4115 esac
4116 done
4117 test "$ac_cv_exeext" = no && ac_cv_exeext=
4118
4119 else
4120 ac_file=''
4121 fi
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4123 $as_echo "$ac_file" >&6; }
4124 if test -z "$ac_file"; then :
4125 $as_echo "$as_me: failed program was:" >&5
4126 sed 's/^/| /' conftest.$ac_ext >&5
4127
4128 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4129 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4130 { as_fn_set_status 77
4131 as_fn_error "C compiler cannot create executables
4132 See \`config.log' for more details." "$LINENO" 5; }; }
4133 fi
4134 ac_exeext=$ac_cv_exeext
4135
4136 # Check that the compiler produces executables we can run. If not, either
4137 # the compiler is broken, or we cross compile.
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4139 $as_echo_n "checking whether the C compiler works... " >&6; }
4140 # If not cross compiling, check that we can run a simple program.
4141 if test "$cross_compiling" != yes; then
4142 if { ac_try='./$ac_file'
4143 { { case "(($ac_try" in
4144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4145 *) ac_try_echo=$ac_try;;
4146 esac
4147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4148 $as_echo "$ac_try_echo"; } >&5
4149 (eval "$ac_try") 2>&5
4150 ac_status=$?
4151 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4152 test $ac_status = 0; }; }; then
4153 cross_compiling=no
4154 else
4155 if test "$cross_compiling" = maybe; then
4156 cross_compiling=yes
4157 else
4158 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4159 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4160 as_fn_error "cannot run C compiled programs.
4161 If you meant to cross compile, use \`--host'.
4162 See \`config.log' for more details." "$LINENO" 5; }
4163 fi
4164 fi
4165 fi
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4167 $as_echo "yes" >&6; }
4168
4169 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4170 ac_clean_files=$ac_clean_files_save
4171 # Check that the compiler produces executables we can run. If not, either
4172 # the compiler is broken, or we cross compile.
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4174 $as_echo_n "checking whether we are cross compiling... " >&6; }
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4176 $as_echo "$cross_compiling" >&6; }
4177
4178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4179 $as_echo_n "checking for suffix of executables... " >&6; }
4180 if { { ac_try="$ac_link"
4181 case "(($ac_try" in
4182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4183 *) ac_try_echo=$ac_try;;
4184 esac
4185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4186 $as_echo "$ac_try_echo"; } >&5
4187 (eval "$ac_link") 2>&5
4188 ac_status=$?
4189 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4190 test $ac_status = 0; }; then :
4191 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4192 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4193 # work properly (i.e., refer to `conftest.exe'), while it won't with
4194 # `rm'.
4195 for ac_file in conftest.exe conftest conftest.*; do
4196 test -f "$ac_file" || continue
4197 case $ac_file in
4198 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4199 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4200 break;;
4201 * ) break;;
4202 esac
4203 done
4204 else
4205 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4206 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4207 as_fn_error "cannot compute suffix of executables: cannot compile and link
4208 See \`config.log' for more details." "$LINENO" 5; }
4209 fi
4210 rm -f conftest$ac_cv_exeext
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4212 $as_echo "$ac_cv_exeext" >&6; }
4213
4214 rm -f conftest.$ac_ext
4215 EXEEXT=$ac_cv_exeext
4216 ac_exeext=$EXEEXT
4217 fi
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4219 $as_echo_n "checking for suffix of object files... " >&6; }
4220 if test "${ac_cv_objext+set}" = set; then :
4221 $as_echo_n "(cached) " >&6
4222 else
4223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4224 /* end confdefs.h. */
4225
4226 int
4227 main ()
4228 {
4229
4230 ;
4231 return 0;
4232 }
4233 _ACEOF
4234 rm -f conftest.o conftest.obj
4235 if { { ac_try="$ac_compile"
4236 case "(($ac_try" in
4237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4238 *) ac_try_echo=$ac_try;;
4239 esac
4240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4241 $as_echo "$ac_try_echo"; } >&5
4242 (eval "$ac_compile") 2>&5
4243 ac_status=$?
4244 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4245 test $ac_status = 0; }; then :
4246 for ac_file in conftest.o conftest.obj conftest.*; do
4247 test -f "$ac_file" || continue;
4248 case $ac_file in
4249 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4250 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4251 break;;
4252 esac
4253 done
4254 else
4255 $as_echo "$as_me: failed program was:" >&5
4256 sed 's/^/| /' conftest.$ac_ext >&5
4257
4258 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4259 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4260 as_fn_error "cannot compute suffix of object files: cannot compile
4261 See \`config.log' for more details." "$LINENO" 5; }
4262 fi
4263 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4264 fi
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4266 $as_echo "$ac_cv_objext" >&6; }
4267 OBJEXT=$ac_cv_objext
4268 ac_objext=$OBJEXT
4269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4270 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4271 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4272 $as_echo_n "(cached) " >&6
4273 else
4274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4276
4277 int
4278 main ()
4279 {
4280 #ifndef __GNUC__
4281 choke me
4282 #endif
4283
4284 ;
4285 return 0;
4286 }
4287 _ACEOF
4288 if ac_fn_c_try_compile "$LINENO"; then :
4289 ac_compiler_gnu=yes
4290 else
4291 ac_compiler_gnu=no
4292 fi
4293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4294 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4295
4296 fi
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4298 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4299 if test $ac_compiler_gnu = yes; then
4300 GCC=yes
4301 else
4302 GCC=
4303 fi
4304 ac_test_CFLAGS=${CFLAGS+set}
4305 ac_save_CFLAGS=$CFLAGS
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4307 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4308 if test "${ac_cv_prog_cc_g+set}" = set; then :
4309 $as_echo_n "(cached) " >&6
4310 else
4311 ac_save_c_werror_flag=$ac_c_werror_flag
4312 ac_c_werror_flag=yes
4313 ac_cv_prog_cc_g=no
4314 CFLAGS="-g"
4315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4316 /* end confdefs.h. */
4317
4318 int
4319 main ()
4320 {
4321
4322 ;
4323 return 0;
4324 }
4325 _ACEOF
4326 if ac_fn_c_try_compile "$LINENO"; then :
4327 ac_cv_prog_cc_g=yes
4328 else
4329 CFLAGS=""
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4332
4333 int
4334 main ()
4335 {
4336
4337 ;
4338 return 0;
4339 }
4340 _ACEOF
4341 if ac_fn_c_try_compile "$LINENO"; then :
4342
4343 else
4344 ac_c_werror_flag=$ac_save_c_werror_flag
4345 CFLAGS="-g"
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4348
4349 int
4350 main ()
4351 {
4352
4353 ;
4354 return 0;
4355 }
4356 _ACEOF
4357 if ac_fn_c_try_compile "$LINENO"; then :
4358 ac_cv_prog_cc_g=yes
4359 fi
4360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4361 fi
4362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4363 fi
4364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4365 ac_c_werror_flag=$ac_save_c_werror_flag
4366 fi
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4368 $as_echo "$ac_cv_prog_cc_g" >&6; }
4369 if test "$ac_test_CFLAGS" = set; then
4370 CFLAGS=$ac_save_CFLAGS
4371 elif test $ac_cv_prog_cc_g = yes; then
4372 if test "$GCC" = yes; then
4373 CFLAGS="-g -O2"
4374 else
4375 CFLAGS="-g"
4376 fi
4377 else
4378 if test "$GCC" = yes; then
4379 CFLAGS="-O2"
4380 else
4381 CFLAGS=
4382 fi
4383 fi
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4385 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4386 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4387 $as_echo_n "(cached) " >&6
4388 else
4389 ac_cv_prog_cc_c89=no
4390 ac_save_CC=$CC
4391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4392 /* end confdefs.h. */
4393 #include <stdarg.h>
4394 #include <stdio.h>
4395 #include <sys/types.h>
4396 #include <sys/stat.h>
4397 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4398 struct buf { int x; };
4399 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4400 static char *e (p, i)
4401 char **p;
4402 int i;
4403 {
4404 return p[i];
4405 }
4406 static char *f (char * (*g) (char **, int), char **p, ...)
4407 {
4408 char *s;
4409 va_list v;
4410 va_start (v,p);
4411 s = g (p, va_arg (v,int));
4412 va_end (v);
4413 return s;
4414 }
4415
4416 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4417 function prototypes and stuff, but not '\xHH' hex character constants.
4418 These don't provoke an error unfortunately, instead are silently treated
4419 as 'x'. The following induces an error, until -std is added to get
4420 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4421 array size at least. It's necessary to write '\x00'==0 to get something
4422 that's true only with -std. */
4423 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4424
4425 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4426 inside strings and character constants. */
4427 #define FOO(x) 'x'
4428 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4429
4430 int test (int i, double x);
4431 struct s1 {int (*f) (int a);};
4432 struct s2 {int (*f) (double a);};
4433 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4434 int argc;
4435 char **argv;
4436 int
4437 main ()
4438 {
4439 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4440 ;
4441 return 0;
4442 }
4443 _ACEOF
4444 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4445 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4446 do
4447 CC="$ac_save_CC $ac_arg"
4448 if ac_fn_c_try_compile "$LINENO"; then :
4449 ac_cv_prog_cc_c89=$ac_arg
4450 fi
4451 rm -f core conftest.err conftest.$ac_objext
4452 test "x$ac_cv_prog_cc_c89" != "xno" && break
4453 done
4454 rm -f conftest.$ac_ext
4455 CC=$ac_save_CC
4456
4457 fi
4458 # AC_CACHE_VAL
4459 case "x$ac_cv_prog_cc_c89" in
4460 x)
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4462 $as_echo "none needed" >&6; } ;;
4463 xno)
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4465 $as_echo "unsupported" >&6; } ;;
4466 *)
4467 CC="$CC $ac_cv_prog_cc_c89"
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4469 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4470 esac
4471 if test "x$ac_cv_prog_cc_c89" != xno; then :
4472
4473 fi
4474
4475 ac_ext=c
4476 ac_cpp='$CPP $CPPFLAGS'
4477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4480
4481 ac_ext=cpp
4482 ac_cpp='$CXXCPP $CPPFLAGS'
4483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4486 if test -z "$CXX"; then
4487 if test -n "$CCC"; then
4488 CXX=$CCC
4489 else
4490 if test -n "$ac_tool_prefix"; then
4491 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4492 do
4493 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4494 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if test "${ac_cv_prog_CXX+set}" = set; then :
4498 $as_echo_n "(cached) " >&6
4499 else
4500 if test -n "$CXX"; then
4501 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4502 else
4503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4504 for as_dir in $PATH
4505 do
4506 IFS=$as_save_IFS
4507 test -z "$as_dir" && as_dir=.
4508 for ac_exec_ext in '' $ac_executable_extensions; do
4509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 break 2
4513 fi
4514 done
4515 done
4516 IFS=$as_save_IFS
4517
4518 fi
4519 fi
4520 CXX=$ac_cv_prog_CXX
4521 if test -n "$CXX"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4523 $as_echo "$CXX" >&6; }
4524 else
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4527 fi
4528
4529
4530 test -n "$CXX" && break
4531 done
4532 fi
4533 if test -z "$CXX"; then
4534 ac_ct_CXX=$CXX
4535 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4536 do
4537 # Extract the first word of "$ac_prog", so it can be a program name with args.
4538 set dummy $ac_prog; ac_word=$2
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540 $as_echo_n "checking for $ac_word... " >&6; }
4541 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4542 $as_echo_n "(cached) " >&6
4543 else
4544 if test -n "$ac_ct_CXX"; then
4545 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4546 else
4547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4548 for as_dir in $PATH
4549 do
4550 IFS=$as_save_IFS
4551 test -z "$as_dir" && as_dir=.
4552 for ac_exec_ext in '' $ac_executable_extensions; do
4553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4554 ac_cv_prog_ac_ct_CXX="$ac_prog"
4555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4556 break 2
4557 fi
4558 done
4559 done
4560 IFS=$as_save_IFS
4561
4562 fi
4563 fi
4564 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4565 if test -n "$ac_ct_CXX"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4567 $as_echo "$ac_ct_CXX" >&6; }
4568 else
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4571 fi
4572
4573
4574 test -n "$ac_ct_CXX" && break
4575 done
4576
4577 if test "x$ac_ct_CXX" = x; then
4578 CXX="g++"
4579 else
4580 case $cross_compiling:$ac_tool_warned in
4581 yes:)
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4583 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4584 ac_tool_warned=yes ;;
4585 esac
4586 CXX=$ac_ct_CXX
4587 fi
4588 fi
4589
4590 fi
4591 fi
4592 # Provide some information about the compiler.
4593 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4594 set X $ac_compile
4595 ac_compiler=$2
4596 for ac_option in --version -v -V -qversion; do
4597 { { ac_try="$ac_compiler $ac_option >&5"
4598 case "(($ac_try" in
4599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4600 *) ac_try_echo=$ac_try;;
4601 esac
4602 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4603 $as_echo "$ac_try_echo"; } >&5
4604 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4605 ac_status=$?
4606 if test -s conftest.err; then
4607 sed '10a\
4608 ... rest of stderr output deleted ...
4609 10q' conftest.err >conftest.er1
4610 cat conftest.er1 >&5
4611 rm -f conftest.er1 conftest.err
4612 fi
4613 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4614 test $ac_status = 0; }
4615 done
4616
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4618 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4619 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4623 /* end confdefs.h. */
4624
4625 int
4626 main ()
4627 {
4628 #ifndef __GNUC__
4629 choke me
4630 #endif
4631
4632 ;
4633 return 0;
4634 }
4635 _ACEOF
4636 if ac_fn_cxx_try_compile "$LINENO"; then :
4637 ac_compiler_gnu=yes
4638 else
4639 ac_compiler_gnu=no
4640 fi
4641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4642 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4643
4644 fi
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4646 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4647 if test $ac_compiler_gnu = yes; then
4648 GXX=yes
4649 else
4650 GXX=
4651 fi
4652 ac_test_CXXFLAGS=${CXXFLAGS+set}
4653 ac_save_CXXFLAGS=$CXXFLAGS
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4655 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4656 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4657 $as_echo_n "(cached) " >&6
4658 else
4659 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4660 ac_cxx_werror_flag=yes
4661 ac_cv_prog_cxx_g=no
4662 CXXFLAGS="-g"
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4665
4666 int
4667 main ()
4668 {
4669
4670 ;
4671 return 0;
4672 }
4673 _ACEOF
4674 if ac_fn_cxx_try_compile "$LINENO"; then :
4675 ac_cv_prog_cxx_g=yes
4676 else
4677 CXXFLAGS=""
4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4680
4681 int
4682 main ()
4683 {
4684
4685 ;
4686 return 0;
4687 }
4688 _ACEOF
4689 if ac_fn_cxx_try_compile "$LINENO"; then :
4690
4691 else
4692 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4693 CXXFLAGS="-g"
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4696
4697 int
4698 main ()
4699 {
4700
4701 ;
4702 return 0;
4703 }
4704 _ACEOF
4705 if ac_fn_cxx_try_compile "$LINENO"; then :
4706 ac_cv_prog_cxx_g=yes
4707 fi
4708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4709 fi
4710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4711 fi
4712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4713 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4714 fi
4715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4716 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4717 if test "$ac_test_CXXFLAGS" = set; then
4718 CXXFLAGS=$ac_save_CXXFLAGS
4719 elif test $ac_cv_prog_cxx_g = yes; then
4720 if test "$GXX" = yes; then
4721 CXXFLAGS="-g -O2"
4722 else
4723 CXXFLAGS="-g"
4724 fi
4725 else
4726 if test "$GXX" = yes; then
4727 CXXFLAGS="-O2"
4728 else
4729 CXXFLAGS=
4730 fi
4731 fi
4732 ac_ext=c
4733 ac_cpp='$CPP $CPPFLAGS'
4734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4737
4738 CXXFLAGS="$save_CXXFLAGS"
4739
4740 # Runs configure.host, and assorted other critical bits. Sets
4741 # up critical shell variables.
4742
4743 ac_ext=c
4744 ac_cpp='$CPP $CPPFLAGS'
4745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4749 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4750 # On Suns, sometimes $CPP names a directory.
4751 if test -n "$CPP" && test -d "$CPP"; then
4752 CPP=
4753 fi
4754 if test -z "$CPP"; then
4755 if test "${ac_cv_prog_CPP+set}" = set; then :
4756 $as_echo_n "(cached) " >&6
4757 else
4758 # Double quotes because CPP needs to be expanded
4759 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4760 do
4761 ac_preproc_ok=false
4762 for ac_c_preproc_warn_flag in '' yes
4763 do
4764 # Use a header file that comes with gcc, so configuring glibc
4765 # with a fresh cross-compiler works.
4766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767 # <limits.h> exists even on freestanding compilers.
4768 # On the NeXT, cc -E runs the code through the compiler's parser,
4769 # not just through cpp. "Syntax error" is here to catch this case.
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4772 #ifdef __STDC__
4773 # include <limits.h>
4774 #else
4775 # include <assert.h>
4776 #endif
4777 Syntax error
4778 _ACEOF
4779 if ac_fn_c_try_cpp "$LINENO"; then :
4780
4781 else
4782 # Broken: fails on valid input.
4783 continue
4784 fi
4785 rm -f conftest.err conftest.$ac_ext
4786
4787 # OK, works on sane cases. Now check whether nonexistent headers
4788 # can be detected and how.
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 #include <ac_nonexistent.h>
4792 _ACEOF
4793 if ac_fn_c_try_cpp "$LINENO"; then :
4794 # Broken: success on invalid input.
4795 continue
4796 else
4797 # Passes both tests.
4798 ac_preproc_ok=:
4799 break
4800 fi
4801 rm -f conftest.err conftest.$ac_ext
4802
4803 done
4804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4805 rm -f conftest.err conftest.$ac_ext
4806 if $ac_preproc_ok; then :
4807 break
4808 fi
4809
4810 done
4811 ac_cv_prog_CPP=$CPP
4812
4813 fi
4814 CPP=$ac_cv_prog_CPP
4815 else
4816 ac_cv_prog_CPP=$CPP
4817 fi
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4819 $as_echo "$CPP" >&6; }
4820 ac_preproc_ok=false
4821 for ac_c_preproc_warn_flag in '' yes
4822 do
4823 # Use a header file that comes with gcc, so configuring glibc
4824 # with a fresh cross-compiler works.
4825 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4826 # <limits.h> exists even on freestanding compilers.
4827 # On the NeXT, cc -E runs the code through the compiler's parser,
4828 # not just through cpp. "Syntax error" is here to catch this case.
4829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4830 /* end confdefs.h. */
4831 #ifdef __STDC__
4832 # include <limits.h>
4833 #else
4834 # include <assert.h>
4835 #endif
4836 Syntax error
4837 _ACEOF
4838 if ac_fn_c_try_cpp "$LINENO"; then :
4839
4840 else
4841 # Broken: fails on valid input.
4842 continue
4843 fi
4844 rm -f conftest.err conftest.$ac_ext
4845
4846 # OK, works on sane cases. Now check whether nonexistent headers
4847 # can be detected and how.
4848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4849 /* end confdefs.h. */
4850 #include <ac_nonexistent.h>
4851 _ACEOF
4852 if ac_fn_c_try_cpp "$LINENO"; then :
4853 # Broken: success on invalid input.
4854 continue
4855 else
4856 # Passes both tests.
4857 ac_preproc_ok=:
4858 break
4859 fi
4860 rm -f conftest.err conftest.$ac_ext
4861
4862 done
4863 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4864 rm -f conftest.err conftest.$ac_ext
4865 if $ac_preproc_ok; then :
4866
4867 else
4868 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4869 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4870 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4871 See \`config.log' for more details." "$LINENO" 5; }
4872 fi
4873
4874 ac_ext=c
4875 ac_cpp='$CPP $CPPFLAGS'
4876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4879
4880
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4882 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4883 if test "${ac_cv_path_GREP+set}" = set; then :
4884 $as_echo_n "(cached) " >&6
4885 else
4886 if test -z "$GREP"; then
4887 ac_path_GREP_found=false
4888 # Loop through the user's path and test for each of PROGNAME-LIST
4889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4891 do
4892 IFS=$as_save_IFS
4893 test -z "$as_dir" && as_dir=.
4894 for ac_prog in grep ggrep; do
4895 for ac_exec_ext in '' $ac_executable_extensions; do
4896 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4897 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4898 # Check for GNU ac_path_GREP and select it if it is found.
4899 # Check for GNU $ac_path_GREP
4900 case `"$ac_path_GREP" --version 2>&1` in
4901 *GNU*)
4902 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4903 *)
4904 ac_count=0
4905 $as_echo_n 0123456789 >"conftest.in"
4906 while :
4907 do
4908 cat "conftest.in" "conftest.in" >"conftest.tmp"
4909 mv "conftest.tmp" "conftest.in"
4910 cp "conftest.in" "conftest.nl"
4911 $as_echo 'GREP' >> "conftest.nl"
4912 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4913 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4914 as_fn_arith $ac_count + 1 && ac_count=$as_val
4915 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4916 # Best one so far, save it but keep looking for a better one
4917 ac_cv_path_GREP="$ac_path_GREP"
4918 ac_path_GREP_max=$ac_count
4919 fi
4920 # 10*(2^10) chars as input seems more than enough
4921 test $ac_count -gt 10 && break
4922 done
4923 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4924 esac
4925
4926 $ac_path_GREP_found && break 3
4927 done
4928 done
4929 done
4930 IFS=$as_save_IFS
4931 if test -z "$ac_cv_path_GREP"; then
4932 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4933 fi
4934 else
4935 ac_cv_path_GREP=$GREP
4936 fi
4937
4938 fi
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4940 $as_echo "$ac_cv_path_GREP" >&6; }
4941 GREP="$ac_cv_path_GREP"
4942
4943
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4945 $as_echo_n "checking for egrep... " >&6; }
4946 if test "${ac_cv_path_EGREP+set}" = set; then :
4947 $as_echo_n "(cached) " >&6
4948 else
4949 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4950 then ac_cv_path_EGREP="$GREP -E"
4951 else
4952 if test -z "$EGREP"; then
4953 ac_path_EGREP_found=false
4954 # Loop through the user's path and test for each of PROGNAME-LIST
4955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4957 do
4958 IFS=$as_save_IFS
4959 test -z "$as_dir" && as_dir=.
4960 for ac_prog in egrep; do
4961 for ac_exec_ext in '' $ac_executable_extensions; do
4962 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4963 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4964 # Check for GNU ac_path_EGREP and select it if it is found.
4965 # Check for GNU $ac_path_EGREP
4966 case `"$ac_path_EGREP" --version 2>&1` in
4967 *GNU*)
4968 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4969 *)
4970 ac_count=0
4971 $as_echo_n 0123456789 >"conftest.in"
4972 while :
4973 do
4974 cat "conftest.in" "conftest.in" >"conftest.tmp"
4975 mv "conftest.tmp" "conftest.in"
4976 cp "conftest.in" "conftest.nl"
4977 $as_echo 'EGREP' >> "conftest.nl"
4978 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4979 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4980 as_fn_arith $ac_count + 1 && ac_count=$as_val
4981 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4982 # Best one so far, save it but keep looking for a better one
4983 ac_cv_path_EGREP="$ac_path_EGREP"
4984 ac_path_EGREP_max=$ac_count
4985 fi
4986 # 10*(2^10) chars as input seems more than enough
4987 test $ac_count -gt 10 && break
4988 done
4989 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4990 esac
4991
4992 $ac_path_EGREP_found && break 3
4993 done
4994 done
4995 done
4996 IFS=$as_save_IFS
4997 if test -z "$ac_cv_path_EGREP"; then
4998 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4999 fi
5000 else
5001 ac_cv_path_EGREP=$EGREP
5002 fi
5003
5004 fi
5005 fi
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5007 $as_echo "$ac_cv_path_EGREP" >&6; }
5008 EGREP="$ac_cv_path_EGREP"
5009
5010
5011
5012 # Keep these sync'd with the list in Makefile.am. The first provides an
5013 # expandable list at autoconf time; the second provides an expandable list
5014 # (i.e., shell variable) at configure time.
5015
5016 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
5017
5018 # These need to be absolute paths, yet at the same time need to
5019 # canonicalize only relative paths, because then amd will not unmount
5020 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5021 glibcxx_builddir=`${PWDCMD-pwd}`
5022 case $srcdir in
5023 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5024 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5025 esac
5026 toplevel_builddir=${glibcxx_builddir}/..
5027 toplevel_srcdir=${glibcxx_srcdir}/..
5028
5029
5030
5031
5032
5033 # We use these options to decide which functions to include. They are
5034 # set from the top level.
5035
5036 # Check whether --with-target-subdir was given.
5037 if test "${with_target_subdir+set}" = set; then :
5038 withval=$with_target_subdir;
5039 fi
5040
5041
5042
5043 # Check whether --with-cross-host was given.
5044 if test "${with_cross_host+set}" = set; then :
5045 withval=$with_cross_host;
5046 fi
5047
5048
5049
5050 # Check whether --with-newlib was given.
5051 if test "${with_newlib+set}" = set; then :
5052 withval=$with_newlib;
5053 fi
5054
5055
5056 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5057 # available). Uncomment the next line to force a particular method.
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5059 $as_echo_n "checking whether ln -s works... " >&6; }
5060 LN_S=$as_ln_s
5061 if test "$LN_S" = "ln -s"; then
5062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5063 $as_echo "yes" >&6; }
5064 else
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5066 $as_echo "no, using $LN_S" >&6; }
5067 fi
5068
5069 #LN_S='cp -p'
5070
5071 if test -n "$ac_tool_prefix"; then
5072 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5073 set dummy ${ac_tool_prefix}as; ac_word=$2
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5075 $as_echo_n "checking for $ac_word... " >&6; }
5076 if test "${ac_cv_prog_AS+set}" = set; then :
5077 $as_echo_n "(cached) " >&6
5078 else
5079 if test -n "$AS"; then
5080 ac_cv_prog_AS="$AS" # Let the user override the test.
5081 else
5082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5083 for as_dir in $PATH
5084 do
5085 IFS=$as_save_IFS
5086 test -z "$as_dir" && as_dir=.
5087 for ac_exec_ext in '' $ac_executable_extensions; do
5088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5089 ac_cv_prog_AS="${ac_tool_prefix}as"
5090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5091 break 2
5092 fi
5093 done
5094 done
5095 IFS=$as_save_IFS
5096
5097 fi
5098 fi
5099 AS=$ac_cv_prog_AS
5100 if test -n "$AS"; then
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5102 $as_echo "$AS" >&6; }
5103 else
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5105 $as_echo "no" >&6; }
5106 fi
5107
5108
5109 fi
5110 if test -z "$ac_cv_prog_AS"; then
5111 ac_ct_AS=$AS
5112 # Extract the first word of "as", so it can be a program name with args.
5113 set dummy as; ac_word=$2
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5115 $as_echo_n "checking for $ac_word... " >&6; }
5116 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5117 $as_echo_n "(cached) " >&6
5118 else
5119 if test -n "$ac_ct_AS"; then
5120 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5121 else
5122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5123 for as_dir in $PATH
5124 do
5125 IFS=$as_save_IFS
5126 test -z "$as_dir" && as_dir=.
5127 for ac_exec_ext in '' $ac_executable_extensions; do
5128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5129 ac_cv_prog_ac_ct_AS="as"
5130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 break 2
5132 fi
5133 done
5134 done
5135 IFS=$as_save_IFS
5136
5137 fi
5138 fi
5139 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5140 if test -n "$ac_ct_AS"; then
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5142 $as_echo "$ac_ct_AS" >&6; }
5143 else
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5145 $as_echo "no" >&6; }
5146 fi
5147
5148 if test "x$ac_ct_AS" = x; then
5149 AS=""
5150 else
5151 case $cross_compiling:$ac_tool_warned in
5152 yes:)
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5155 ac_tool_warned=yes ;;
5156 esac
5157 AS=$ac_ct_AS
5158 fi
5159 else
5160 AS="$ac_cv_prog_AS"
5161 fi
5162
5163 if test -n "$ac_tool_prefix"; then
5164 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5165 set dummy ${ac_tool_prefix}ar; ac_word=$2
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5167 $as_echo_n "checking for $ac_word... " >&6; }
5168 if test "${ac_cv_prog_AR+set}" = set; then :
5169 $as_echo_n "(cached) " >&6
5170 else
5171 if test -n "$AR"; then
5172 ac_cv_prog_AR="$AR" # Let the user override the test.
5173 else
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5175 for as_dir in $PATH
5176 do
5177 IFS=$as_save_IFS
5178 test -z "$as_dir" && as_dir=.
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5181 ac_cv_prog_AR="${ac_tool_prefix}ar"
5182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5183 break 2
5184 fi
5185 done
5186 done
5187 IFS=$as_save_IFS
5188
5189 fi
5190 fi
5191 AR=$ac_cv_prog_AR
5192 if test -n "$AR"; then
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5194 $as_echo "$AR" >&6; }
5195 else
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5197 $as_echo "no" >&6; }
5198 fi
5199
5200
5201 fi
5202 if test -z "$ac_cv_prog_AR"; then
5203 ac_ct_AR=$AR
5204 # Extract the first word of "ar", so it can be a program name with args.
5205 set dummy ar; ac_word=$2
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5207 $as_echo_n "checking for $ac_word... " >&6; }
5208 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5209 $as_echo_n "(cached) " >&6
5210 else
5211 if test -n "$ac_ct_AR"; then
5212 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5213 else
5214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5215 for as_dir in $PATH
5216 do
5217 IFS=$as_save_IFS
5218 test -z "$as_dir" && as_dir=.
5219 for ac_exec_ext in '' $ac_executable_extensions; do
5220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5221 ac_cv_prog_ac_ct_AR="ar"
5222 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5223 break 2
5224 fi
5225 done
5226 done
5227 IFS=$as_save_IFS
5228
5229 fi
5230 fi
5231 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5232 if test -n "$ac_ct_AR"; then
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5234 $as_echo "$ac_ct_AR" >&6; }
5235 else
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5237 $as_echo "no" >&6; }
5238 fi
5239
5240 if test "x$ac_ct_AR" = x; then
5241 AR=""
5242 else
5243 case $cross_compiling:$ac_tool_warned in
5244 yes:)
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5246 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5247 ac_tool_warned=yes ;;
5248 esac
5249 AR=$ac_ct_AR
5250 fi
5251 else
5252 AR="$ac_cv_prog_AR"
5253 fi
5254
5255 if test -n "$ac_tool_prefix"; then
5256 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5257 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5259 $as_echo_n "checking for $ac_word... " >&6; }
5260 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5261 $as_echo_n "(cached) " >&6
5262 else
5263 if test -n "$RANLIB"; then
5264 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5265 else
5266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5267 for as_dir in $PATH
5268 do
5269 IFS=$as_save_IFS
5270 test -z "$as_dir" && as_dir=.
5271 for ac_exec_ext in '' $ac_executable_extensions; do
5272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5273 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5275 break 2
5276 fi
5277 done
5278 done
5279 IFS=$as_save_IFS
5280
5281 fi
5282 fi
5283 RANLIB=$ac_cv_prog_RANLIB
5284 if test -n "$RANLIB"; then
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5286 $as_echo "$RANLIB" >&6; }
5287 else
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5289 $as_echo "no" >&6; }
5290 fi
5291
5292
5293 fi
5294 if test -z "$ac_cv_prog_RANLIB"; then
5295 ac_ct_RANLIB=$RANLIB
5296 # Extract the first word of "ranlib", so it can be a program name with args.
5297 set dummy ranlib; ac_word=$2
5298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5299 $as_echo_n "checking for $ac_word... " >&6; }
5300 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5301 $as_echo_n "(cached) " >&6
5302 else
5303 if test -n "$ac_ct_RANLIB"; then
5304 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5305 else
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5307 for as_dir in $PATH
5308 do
5309 IFS=$as_save_IFS
5310 test -z "$as_dir" && as_dir=.
5311 for ac_exec_ext in '' $ac_executable_extensions; do
5312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5313 ac_cv_prog_ac_ct_RANLIB="ranlib"
5314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5315 break 2
5316 fi
5317 done
5318 done
5319 IFS=$as_save_IFS
5320
5321 fi
5322 fi
5323 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5324 if test -n "$ac_ct_RANLIB"; then
5325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5326 $as_echo "$ac_ct_RANLIB" >&6; }
5327 else
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5329 $as_echo "no" >&6; }
5330 fi
5331
5332 if test "x$ac_ct_RANLIB" = x; then
5333 RANLIB="ranlib-not-found-in-path-error"
5334 else
5335 case $cross_compiling:$ac_tool_warned in
5336 yes:)
5337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5339 ac_tool_warned=yes ;;
5340 esac
5341 RANLIB=$ac_ct_RANLIB
5342 fi
5343 else
5344 RANLIB="$ac_cv_prog_RANLIB"
5345 fi
5346
5347
5348
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5350 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5351 # Check whether --enable-maintainer-mode was given.
5352 if test "${enable_maintainer_mode+set}" = set; then :
5353 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5354 else
5355 USE_MAINTAINER_MODE=no
5356 fi
5357
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5359 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5360 if test $USE_MAINTAINER_MODE = yes; then
5361 MAINTAINER_MODE_TRUE=
5362 MAINTAINER_MODE_FALSE='#'
5363 else
5364 MAINTAINER_MODE_TRUE='#'
5365 MAINTAINER_MODE_FALSE=
5366 fi
5367
5368 MAINT=$MAINTAINER_MODE_TRUE
5369
5370
5371
5372 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5373 # which are themselves conditionally expanded.
5374 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5375 ## other macros from doing the same. This should be automated.) -pme
5376
5377 # Check for C library flavor since GNU/Linux platforms use different
5378 # configuration directories depending on the C library in use.
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5381
5382 #include <stdio.h>
5383 #if __UCLIBC__
5384 _using_uclibc
5385 #endif
5386
5387 _ACEOF
5388 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5389 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5390 uclibc=yes
5391 else
5392 uclibc=no
5393 fi
5394 rm -f conftest*
5395
5396
5397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5398 /* end confdefs.h. */
5399
5400 #include <stdio.h>
5401 #if __BIONIC__
5402 _using_bionic
5403 #endif
5404
5405 _ACEOF
5406 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5407 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5408 bionic=yes
5409 else
5410 bionic=no
5411 fi
5412 rm -f conftest*
5413
5414
5415 # Find platform-specific directories containing configuration info.
5416 # Also possibly modify flags used elsewhere, as needed by the platform.
5417
5418 . $glibcxx_srcdir/configure.host
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5420 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5422 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5423
5424
5425
5426 # Libtool setup.
5427 if test "x${with_newlib}" != "xyes"; then
5428 enable_dlopen=yes
5429
5430
5431
5432 fi
5433 case `pwd` in
5434 *\ * | *\ *)
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5436 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5437 esac
5438
5439
5440
5441 macro_version='2.2.7a'
5442 macro_revision='1.3134'
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456 ltmain="$ac_aux_dir/ltmain.sh"
5457
5458 # Backslashify metacharacters that are still active within
5459 # double-quoted strings.
5460 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5461
5462 # Same as above, but do not quote variable references.
5463 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5464
5465 # Sed substitution to delay expansion of an escaped shell variable in a
5466 # double_quote_subst'ed string.
5467 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5468
5469 # Sed substitution to delay expansion of an escaped single quote.
5470 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5471
5472 # Sed substitution to avoid accidental globbing in evaled expressions
5473 no_glob_subst='s/\*/\\\*/g'
5474
5475 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5476 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5477 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5478
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5480 $as_echo_n "checking how to print strings... " >&6; }
5481 # Test print first, because it will be a builtin if present.
5482 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5483 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5484 ECHO='print -r --'
5485 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5486 ECHO='printf %s\n'
5487 else
5488 # Use this function as a fallback that always works.
5489 func_fallback_echo ()
5490 {
5491 eval 'cat <<_LTECHO_EOF
5492 $1
5493 _LTECHO_EOF'
5494 }
5495 ECHO='func_fallback_echo'
5496 fi
5497
5498 # func_echo_all arg...
5499 # Invoke $ECHO with all args, space-separated.
5500 func_echo_all ()
5501 {
5502 $ECHO ""
5503 }
5504
5505 case "$ECHO" in
5506 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5507 $as_echo "printf" >&6; } ;;
5508 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5509 $as_echo "print -r" >&6; } ;;
5510 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5511 $as_echo "cat" >&6; } ;;
5512 esac
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5528 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5529 if test "${ac_cv_path_SED+set}" = set; then :
5530 $as_echo_n "(cached) " >&6
5531 else
5532 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5533 for ac_i in 1 2 3 4 5 6 7; do
5534 ac_script="$ac_script$as_nl$ac_script"
5535 done
5536 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5537 { ac_script=; unset ac_script;}
5538 if test -z "$SED"; then
5539 ac_path_SED_found=false
5540 # Loop through the user's path and test for each of PROGNAME-LIST
5541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5542 for as_dir in $PATH
5543 do
5544 IFS=$as_save_IFS
5545 test -z "$as_dir" && as_dir=.
5546 for ac_prog in sed gsed; do
5547 for ac_exec_ext in '' $ac_executable_extensions; do
5548 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5549 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5550 # Check for GNU ac_path_SED and select it if it is found.
5551 # Check for GNU $ac_path_SED
5552 case `"$ac_path_SED" --version 2>&1` in
5553 *GNU*)
5554 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5555 *)
5556 ac_count=0
5557 $as_echo_n 0123456789 >"conftest.in"
5558 while :
5559 do
5560 cat "conftest.in" "conftest.in" >"conftest.tmp"
5561 mv "conftest.tmp" "conftest.in"
5562 cp "conftest.in" "conftest.nl"
5563 $as_echo '' >> "conftest.nl"
5564 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5565 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5566 as_fn_arith $ac_count + 1 && ac_count=$as_val
5567 if test $ac_count -gt ${ac_path_SED_max-0}; then
5568 # Best one so far, save it but keep looking for a better one
5569 ac_cv_path_SED="$ac_path_SED"
5570 ac_path_SED_max=$ac_count
5571 fi
5572 # 10*(2^10) chars as input seems more than enough
5573 test $ac_count -gt 10 && break
5574 done
5575 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5576 esac
5577
5578 $ac_path_SED_found && break 3
5579 done
5580 done
5581 done
5582 IFS=$as_save_IFS
5583 if test -z "$ac_cv_path_SED"; then
5584 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5585 fi
5586 else
5587 ac_cv_path_SED=$SED
5588 fi
5589
5590 fi
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5592 $as_echo "$ac_cv_path_SED" >&6; }
5593 SED="$ac_cv_path_SED"
5594 rm -f conftest.sed
5595
5596 test -z "$SED" && SED=sed
5597 Xsed="$SED -e 1s/^X//"
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5610 $as_echo_n "checking for fgrep... " >&6; }
5611 if test "${ac_cv_path_FGREP+set}" = set; then :
5612 $as_echo_n "(cached) " >&6
5613 else
5614 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5615 then ac_cv_path_FGREP="$GREP -F"
5616 else
5617 if test -z "$FGREP"; then
5618 ac_path_FGREP_found=false
5619 # Loop through the user's path and test for each of PROGNAME-LIST
5620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5621 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5622 do
5623 IFS=$as_save_IFS
5624 test -z "$as_dir" && as_dir=.
5625 for ac_prog in fgrep; do
5626 for ac_exec_ext in '' $ac_executable_extensions; do
5627 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5628 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5629 # Check for GNU ac_path_FGREP and select it if it is found.
5630 # Check for GNU $ac_path_FGREP
5631 case `"$ac_path_FGREP" --version 2>&1` in
5632 *GNU*)
5633 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5634 *)
5635 ac_count=0
5636 $as_echo_n 0123456789 >"conftest.in"
5637 while :
5638 do
5639 cat "conftest.in" "conftest.in" >"conftest.tmp"
5640 mv "conftest.tmp" "conftest.in"
5641 cp "conftest.in" "conftest.nl"
5642 $as_echo 'FGREP' >> "conftest.nl"
5643 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5644 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5645 as_fn_arith $ac_count + 1 && ac_count=$as_val
5646 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5647 # Best one so far, save it but keep looking for a better one
5648 ac_cv_path_FGREP="$ac_path_FGREP"
5649 ac_path_FGREP_max=$ac_count
5650 fi
5651 # 10*(2^10) chars as input seems more than enough
5652 test $ac_count -gt 10 && break
5653 done
5654 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5655 esac
5656
5657 $ac_path_FGREP_found && break 3
5658 done
5659 done
5660 done
5661 IFS=$as_save_IFS
5662 if test -z "$ac_cv_path_FGREP"; then
5663 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5664 fi
5665 else
5666 ac_cv_path_FGREP=$FGREP
5667 fi
5668
5669 fi
5670 fi
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5672 $as_echo "$ac_cv_path_FGREP" >&6; }
5673 FGREP="$ac_cv_path_FGREP"
5674
5675
5676 test -z "$GREP" && GREP=grep
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696 # Check whether --with-gnu-ld was given.
5697 if test "${with_gnu_ld+set}" = set; then :
5698 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5699 else
5700 with_gnu_ld=no
5701 fi
5702
5703 ac_prog=ld
5704 if test "$GCC" = yes; then
5705 # Check if gcc -print-prog-name=ld gives a path.
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5707 $as_echo_n "checking for ld used by $CC... " >&6; }
5708 case $host in
5709 *-*-mingw*)
5710 # gcc leaves a trailing carriage return which upsets mingw
5711 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5712 *)
5713 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5714 esac
5715 case $ac_prog in
5716 # Accept absolute paths.
5717 [\\/]* | ?:[\\/]*)
5718 re_direlt='/[^/][^/]*/\.\./'
5719 # Canonicalize the pathname of ld
5720 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5721 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5722 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5723 done
5724 test -z "$LD" && LD="$ac_prog"
5725 ;;
5726 "")
5727 # If it fails, then pretend we aren't using GCC.
5728 ac_prog=ld
5729 ;;
5730 *)
5731 # If it is relative, then search for the first ld in PATH.
5732 with_gnu_ld=unknown
5733 ;;
5734 esac
5735 elif test "$with_gnu_ld" = yes; then
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5737 $as_echo_n "checking for GNU ld... " >&6; }
5738 else
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5740 $as_echo_n "checking for non-GNU ld... " >&6; }
5741 fi
5742 if test "${lt_cv_path_LD+set}" = set; then :
5743 $as_echo_n "(cached) " >&6
5744 else
5745 if test -z "$LD"; then
5746 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5747 for ac_dir in $PATH; do
5748 IFS="$lt_save_ifs"
5749 test -z "$ac_dir" && ac_dir=.
5750 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5751 lt_cv_path_LD="$ac_dir/$ac_prog"
5752 # Check to see if the program is GNU ld. I'd rather use --version,
5753 # but apparently some variants of GNU ld only accept -v.
5754 # Break only if it was the GNU/non-GNU ld that we prefer.
5755 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5756 *GNU* | *'with BFD'*)
5757 test "$with_gnu_ld" != no && break
5758 ;;
5759 *)
5760 test "$with_gnu_ld" != yes && break
5761 ;;
5762 esac
5763 fi
5764 done
5765 IFS="$lt_save_ifs"
5766 else
5767 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5768 fi
5769 fi
5770
5771 LD="$lt_cv_path_LD"
5772 if test -n "$LD"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5774 $as_echo "$LD" >&6; }
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5778 fi
5779 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5781 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5782 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5783 $as_echo_n "(cached) " >&6
5784 else
5785 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5786 case `$LD -v 2>&1 </dev/null` in
5787 *GNU* | *'with BFD'*)
5788 lt_cv_prog_gnu_ld=yes
5789 ;;
5790 *)
5791 lt_cv_prog_gnu_ld=no
5792 ;;
5793 esac
5794 fi
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5796 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5797 with_gnu_ld=$lt_cv_prog_gnu_ld
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5808 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5809 if test "${lt_cv_path_NM+set}" = set; then :
5810 $as_echo_n "(cached) " >&6
5811 else
5812 if test -n "$NM"; then
5813 # Let the user override the test.
5814 lt_cv_path_NM="$NM"
5815 else
5816 lt_nm_to_check="${ac_tool_prefix}nm"
5817 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5818 lt_nm_to_check="$lt_nm_to_check nm"
5819 fi
5820 for lt_tmp_nm in $lt_nm_to_check; do
5821 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5822 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5823 IFS="$lt_save_ifs"
5824 test -z "$ac_dir" && ac_dir=.
5825 tmp_nm="$ac_dir/$lt_tmp_nm"
5826 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5827 # Check to see if the nm accepts a BSD-compat flag.
5828 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5829 # nm: unknown option "B" ignored
5830 # Tru64's nm complains that /dev/null is an invalid object file
5831 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5832 */dev/null* | *'Invalid file or object type'*)
5833 lt_cv_path_NM="$tmp_nm -B"
5834 break
5835 ;;
5836 *)
5837 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5838 */dev/null*)
5839 lt_cv_path_NM="$tmp_nm -p"
5840 break
5841 ;;
5842 *)
5843 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5844 continue # so that we can try to find one that supports BSD flags
5845 ;;
5846 esac
5847 ;;
5848 esac
5849 fi
5850 done
5851 IFS="$lt_save_ifs"
5852 done
5853 : ${lt_cv_path_NM=no}
5854 fi
5855 fi
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5857 $as_echo "$lt_cv_path_NM" >&6; }
5858 if test "$lt_cv_path_NM" != "no"; then
5859 NM="$lt_cv_path_NM"
5860 else
5861 # Didn't find any BSD compatible name lister, look for dumpbin.
5862 if test -n "$DUMPBIN"; then :
5863 # Let the user override the test.
5864 else
5865 if test -n "$ac_tool_prefix"; then
5866 for ac_prog in dumpbin "link -dump"
5867 do
5868 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5869 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5871 $as_echo_n "checking for $ac_word... " >&6; }
5872 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5873 $as_echo_n "(cached) " >&6
5874 else
5875 if test -n "$DUMPBIN"; then
5876 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5877 else
5878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5879 for as_dir in $PATH
5880 do
5881 IFS=$as_save_IFS
5882 test -z "$as_dir" && as_dir=.
5883 for ac_exec_ext in '' $ac_executable_extensions; do
5884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5885 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5887 break 2
5888 fi
5889 done
5890 done
5891 IFS=$as_save_IFS
5892
5893 fi
5894 fi
5895 DUMPBIN=$ac_cv_prog_DUMPBIN
5896 if test -n "$DUMPBIN"; then
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5898 $as_echo "$DUMPBIN" >&6; }
5899 else
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5901 $as_echo "no" >&6; }
5902 fi
5903
5904
5905 test -n "$DUMPBIN" && break
5906 done
5907 fi
5908 if test -z "$DUMPBIN"; then
5909 ac_ct_DUMPBIN=$DUMPBIN
5910 for ac_prog in dumpbin "link -dump"
5911 do
5912 # Extract the first word of "$ac_prog", so it can be a program name with args.
5913 set dummy $ac_prog; ac_word=$2
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5915 $as_echo_n "checking for $ac_word... " >&6; }
5916 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5917 $as_echo_n "(cached) " >&6
5918 else
5919 if test -n "$ac_ct_DUMPBIN"; then
5920 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5921 else
5922 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5923 for as_dir in $PATH
5924 do
5925 IFS=$as_save_IFS
5926 test -z "$as_dir" && as_dir=.
5927 for ac_exec_ext in '' $ac_executable_extensions; do
5928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5929 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5931 break 2
5932 fi
5933 done
5934 done
5935 IFS=$as_save_IFS
5936
5937 fi
5938 fi
5939 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5940 if test -n "$ac_ct_DUMPBIN"; then
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5942 $as_echo "$ac_ct_DUMPBIN" >&6; }
5943 else
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5945 $as_echo "no" >&6; }
5946 fi
5947
5948
5949 test -n "$ac_ct_DUMPBIN" && break
5950 done
5951
5952 if test "x$ac_ct_DUMPBIN" = x; then
5953 DUMPBIN=":"
5954 else
5955 case $cross_compiling:$ac_tool_warned in
5956 yes:)
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5959 ac_tool_warned=yes ;;
5960 esac
5961 DUMPBIN=$ac_ct_DUMPBIN
5962 fi
5963 fi
5964
5965 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5966 *COFF*)
5967 DUMPBIN="$DUMPBIN -symbols"
5968 ;;
5969 *)
5970 DUMPBIN=:
5971 ;;
5972 esac
5973 fi
5974
5975 if test "$DUMPBIN" != ":"; then
5976 NM="$DUMPBIN"
5977 fi
5978 fi
5979 test -z "$NM" && NM=nm
5980
5981
5982
5983
5984
5985
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5987 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5988 if test "${lt_cv_nm_interface+set}" = set; then :
5989 $as_echo_n "(cached) " >&6
5990 else
5991 lt_cv_nm_interface="BSD nm"
5992 echo "int some_variable = 0;" > conftest.$ac_ext
5993 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5994 (eval "$ac_compile" 2>conftest.err)
5995 cat conftest.err >&5
5996 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5997 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5998 cat conftest.err >&5
5999 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6000 cat conftest.out >&5
6001 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6002 lt_cv_nm_interface="MS dumpbin"
6003 fi
6004 rm -f conftest*
6005 fi
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6007 $as_echo "$lt_cv_nm_interface" >&6; }
6008
6009 # find the maximum length of command line arguments
6010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6011 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6012 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
6013 $as_echo_n "(cached) " >&6
6014 else
6015 i=0
6016 teststring="ABCD"
6017
6018 case $build_os in
6019 msdosdjgpp*)
6020 # On DJGPP, this test can blow up pretty badly due to problems in libc
6021 # (any single argument exceeding 2000 bytes causes a buffer overrun
6022 # during glob expansion). Even if it were fixed, the result of this
6023 # check would be larger than it should be.
6024 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6025 ;;
6026
6027 gnu*)
6028 # Under GNU Hurd, this test is not required because there is
6029 # no limit to the length of command line arguments.
6030 # Libtool will interpret -1 as no limit whatsoever
6031 lt_cv_sys_max_cmd_len=-1;
6032 ;;
6033
6034 cygwin* | mingw* | cegcc*)
6035 # On Win9x/ME, this test blows up -- it succeeds, but takes
6036 # about 5 minutes as the teststring grows exponentially.
6037 # Worse, since 9x/ME are not pre-emptively multitasking,
6038 # you end up with a "frozen" computer, even though with patience
6039 # the test eventually succeeds (with a max line length of 256k).
6040 # Instead, let's just punt: use the minimum linelength reported by
6041 # all of the supported platforms: 8192 (on NT/2K/XP).
6042 lt_cv_sys_max_cmd_len=8192;
6043 ;;
6044
6045 mint*)
6046 # On MiNT this can take a long time and run out of memory.
6047 lt_cv_sys_max_cmd_len=8192;
6048 ;;
6049
6050 amigaos*)
6051 # On AmigaOS with pdksh, this test takes hours, literally.
6052 # So we just punt and use a minimum line length of 8192.
6053 lt_cv_sys_max_cmd_len=8192;
6054 ;;
6055
6056 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6057 # This has been around since 386BSD, at least. Likely further.
6058 if test -x /sbin/sysctl; then
6059 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6060 elif test -x /usr/sbin/sysctl; then
6061 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6062 else
6063 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6064 fi
6065 # And add a safety zone
6066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6067 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6068 ;;
6069
6070 interix*)
6071 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6072 lt_cv_sys_max_cmd_len=196608
6073 ;;
6074
6075 osf*)
6076 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6077 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6078 # nice to cause kernel panics so lets avoid the loop below.
6079 # First set a reasonable default.
6080 lt_cv_sys_max_cmd_len=16384
6081 #
6082 if test -x /sbin/sysconfig; then
6083 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6084 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6085 esac
6086 fi
6087 ;;
6088 sco3.2v5*)
6089 lt_cv_sys_max_cmd_len=102400
6090 ;;
6091 sysv5* | sco5v6* | sysv4.2uw2*)
6092 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6093 if test -n "$kargmax"; then
6094 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6095 else
6096 lt_cv_sys_max_cmd_len=32768
6097 fi
6098 ;;
6099 *)
6100 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6101 if test -n "$lt_cv_sys_max_cmd_len"; then
6102 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6103 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6104 else
6105 # Make teststring a little bigger before we do anything with it.
6106 # a 1K string should be a reasonable start.
6107 for i in 1 2 3 4 5 6 7 8 ; do
6108 teststring=$teststring$teststring
6109 done
6110 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6111 # If test is not a shell built-in, we'll probably end up computing a
6112 # maximum length that is only half of the actual maximum length, but
6113 # we can't tell.
6114 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6115 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6116 test $i != 17 # 1/2 MB should be enough
6117 do
6118 i=`expr $i + 1`
6119 teststring=$teststring$teststring
6120 done
6121 # Only check the string length outside the loop.
6122 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6123 teststring=
6124 # Add a significant safety factor because C++ compilers can tack on
6125 # massive amounts of additional arguments before passing them to the
6126 # linker. It appears as though 1/2 is a usable value.
6127 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6128 fi
6129 ;;
6130 esac
6131
6132 fi
6133
6134 if test -n $lt_cv_sys_max_cmd_len ; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6136 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6137 else
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6139 $as_echo "none" >&6; }
6140 fi
6141 max_cmd_len=$lt_cv_sys_max_cmd_len
6142
6143
6144
6145
6146
6147
6148 : ${CP="cp -f"}
6149 : ${MV="mv -f"}
6150 : ${RM="rm -f"}
6151
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6153 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6154 # Try some XSI features
6155 xsi_shell=no
6156 ( _lt_dummy="a/b/c"
6157 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6158 = c,a/b,, \
6159 && eval 'test $(( 1 + 1 )) -eq 2 \
6160 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6161 && xsi_shell=yes
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6163 $as_echo "$xsi_shell" >&6; }
6164
6165
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6167 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6168 lt_shell_append=no
6169 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6170 >/dev/null 2>&1 \
6171 && lt_shell_append=yes
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6173 $as_echo "$lt_shell_append" >&6; }
6174
6175
6176 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6177 lt_unset=unset
6178 else
6179 lt_unset=false
6180 fi
6181
6182
6183
6184
6185
6186 # test EBCDIC or ASCII
6187 case `echo X|tr X '\101'` in
6188 A) # ASCII based system
6189 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6190 lt_SP2NL='tr \040 \012'
6191 lt_NL2SP='tr \015\012 \040\040'
6192 ;;
6193 *) # EBCDIC based system
6194 lt_SP2NL='tr \100 \n'
6195 lt_NL2SP='tr \r\n \100\100'
6196 ;;
6197 esac
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6208 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6209 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6210 $as_echo_n "(cached) " >&6
6211 else
6212 lt_cv_ld_reload_flag='-r'
6213 fi
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6215 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6216 reload_flag=$lt_cv_ld_reload_flag
6217 case $reload_flag in
6218 "" | " "*) ;;
6219 *) reload_flag=" $reload_flag" ;;
6220 esac
6221 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6222 case $host_os in
6223 darwin*)
6224 if test "$GCC" = yes; then
6225 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6226 else
6227 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6228 fi
6229 ;;
6230 esac
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240 if test -n "$ac_tool_prefix"; then
6241 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6242 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6244 $as_echo_n "checking for $ac_word... " >&6; }
6245 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6246 $as_echo_n "(cached) " >&6
6247 else
6248 if test -n "$OBJDUMP"; then
6249 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6250 else
6251 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6252 for as_dir in $PATH
6253 do
6254 IFS=$as_save_IFS
6255 test -z "$as_dir" && as_dir=.
6256 for ac_exec_ext in '' $ac_executable_extensions; do
6257 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6258 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6259 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6260 break 2
6261 fi
6262 done
6263 done
6264 IFS=$as_save_IFS
6265
6266 fi
6267 fi
6268 OBJDUMP=$ac_cv_prog_OBJDUMP
6269 if test -n "$OBJDUMP"; then
6270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6271 $as_echo "$OBJDUMP" >&6; }
6272 else
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6274 $as_echo "no" >&6; }
6275 fi
6276
6277
6278 fi
6279 if test -z "$ac_cv_prog_OBJDUMP"; then
6280 ac_ct_OBJDUMP=$OBJDUMP
6281 # Extract the first word of "objdump", so it can be a program name with args.
6282 set dummy objdump; ac_word=$2
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6284 $as_echo_n "checking for $ac_word... " >&6; }
6285 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 if test -n "$ac_ct_OBJDUMP"; then
6289 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6290 else
6291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 for as_dir in $PATH
6293 do
6294 IFS=$as_save_IFS
6295 test -z "$as_dir" && as_dir=.
6296 for ac_exec_ext in '' $ac_executable_extensions; do
6297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6298 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 break 2
6301 fi
6302 done
6303 done
6304 IFS=$as_save_IFS
6305
6306 fi
6307 fi
6308 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6309 if test -n "$ac_ct_OBJDUMP"; then
6310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6311 $as_echo "$ac_ct_OBJDUMP" >&6; }
6312 else
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6314 $as_echo "no" >&6; }
6315 fi
6316
6317 if test "x$ac_ct_OBJDUMP" = x; then
6318 OBJDUMP="false"
6319 else
6320 case $cross_compiling:$ac_tool_warned in
6321 yes:)
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6323 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6324 ac_tool_warned=yes ;;
6325 esac
6326 OBJDUMP=$ac_ct_OBJDUMP
6327 fi
6328 else
6329 OBJDUMP="$ac_cv_prog_OBJDUMP"
6330 fi
6331
6332 test -z "$OBJDUMP" && OBJDUMP=objdump
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6343 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6344 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6345 $as_echo_n "(cached) " >&6
6346 else
6347 lt_cv_file_magic_cmd='$MAGIC_CMD'
6348 lt_cv_file_magic_test_file=
6349 lt_cv_deplibs_check_method='unknown'
6350 # Need to set the preceding variable on all platforms that support
6351 # interlibrary dependencies.
6352 # 'none' -- dependencies not supported.
6353 # `unknown' -- same as none, but documents that we really don't know.
6354 # 'pass_all' -- all dependencies passed with no checks.
6355 # 'test_compile' -- check by making test program.
6356 # 'file_magic [[regex]]' -- check by looking for files in library path
6357 # which responds to the $file_magic_cmd with a given extended regex.
6358 # If you have `file' or equivalent on your system and you're not sure
6359 # whether `pass_all' will *always* work, you probably want this one.
6360
6361 case $host_os in
6362 aix[4-9]*)
6363 lt_cv_deplibs_check_method=pass_all
6364 ;;
6365
6366 beos*)
6367 lt_cv_deplibs_check_method=pass_all
6368 ;;
6369
6370 bsdi[45]*)
6371 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6372 lt_cv_file_magic_cmd='/usr/bin/file -L'
6373 lt_cv_file_magic_test_file=/shlib/libc.so
6374 ;;
6375
6376 cygwin*)
6377 # func_win32_libid is a shell function defined in ltmain.sh
6378 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6379 lt_cv_file_magic_cmd='func_win32_libid'
6380 ;;
6381
6382 mingw* | pw32*)
6383 # Base MSYS/MinGW do not provide the 'file' command needed by
6384 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6385 # unless we find 'file', for example because we are cross-compiling.
6386 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6387 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6388 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6389 lt_cv_file_magic_cmd='func_win32_libid'
6390 else
6391 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6392 lt_cv_file_magic_cmd='$OBJDUMP -f'
6393 fi
6394 ;;
6395
6396 cegcc*)
6397 # use the weaker test based on 'objdump'. See mingw*.
6398 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6399 lt_cv_file_magic_cmd='$OBJDUMP -f'
6400 ;;
6401
6402 darwin* | rhapsody*)
6403 lt_cv_deplibs_check_method=pass_all
6404 ;;
6405
6406 freebsd* | dragonfly*)
6407 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6408 case $host_cpu in
6409 i*86 )
6410 # Not sure whether the presence of OpenBSD here was a mistake.
6411 # Let's accept both of them until this is cleared up.
6412 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6413 lt_cv_file_magic_cmd=/usr/bin/file
6414 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6415 ;;
6416 esac
6417 else
6418 lt_cv_deplibs_check_method=pass_all
6419 fi
6420 ;;
6421
6422 gnu*)
6423 lt_cv_deplibs_check_method=pass_all
6424 ;;
6425
6426 haiku*)
6427 lt_cv_deplibs_check_method=pass_all
6428 ;;
6429
6430 hpux10.20* | hpux11*)
6431 lt_cv_file_magic_cmd=/usr/bin/file
6432 case $host_cpu in
6433 ia64*)
6434 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6435 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6436 ;;
6437 hppa*64*)
6438 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]'
6439 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6440 ;;
6441 *)
6442 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6443 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6444 ;;
6445 esac
6446 ;;
6447
6448 interix[3-9]*)
6449 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6450 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6451 ;;
6452
6453 irix5* | irix6* | nonstopux*)
6454 case $LD in
6455 *-32|*"-32 ") libmagic=32-bit;;
6456 *-n32|*"-n32 ") libmagic=N32;;
6457 *-64|*"-64 ") libmagic=64-bit;;
6458 *) libmagic=never-match;;
6459 esac
6460 lt_cv_deplibs_check_method=pass_all
6461 ;;
6462
6463 # This must be Linux ELF.
6464 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6465 lt_cv_deplibs_check_method=pass_all
6466 ;;
6467
6468 netbsd*)
6469 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6470 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6471 else
6472 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6473 fi
6474 ;;
6475
6476 newos6*)
6477 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6478 lt_cv_file_magic_cmd=/usr/bin/file
6479 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6480 ;;
6481
6482 *nto* | *qnx*)
6483 lt_cv_deplibs_check_method=pass_all
6484 ;;
6485
6486 openbsd*)
6487 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6488 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6489 else
6490 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6491 fi
6492 ;;
6493
6494 osf3* | osf4* | osf5*)
6495 lt_cv_deplibs_check_method=pass_all
6496 ;;
6497
6498 rdos*)
6499 lt_cv_deplibs_check_method=pass_all
6500 ;;
6501
6502 solaris*)
6503 lt_cv_deplibs_check_method=pass_all
6504 ;;
6505
6506 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6507 lt_cv_deplibs_check_method=pass_all
6508 ;;
6509
6510 sysv4 | sysv4.3*)
6511 case $host_vendor in
6512 motorola)
6513 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]'
6514 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6515 ;;
6516 ncr)
6517 lt_cv_deplibs_check_method=pass_all
6518 ;;
6519 sequent)
6520 lt_cv_file_magic_cmd='/bin/file'
6521 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6522 ;;
6523 sni)
6524 lt_cv_file_magic_cmd='/bin/file'
6525 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6526 lt_cv_file_magic_test_file=/lib/libc.so
6527 ;;
6528 siemens)
6529 lt_cv_deplibs_check_method=pass_all
6530 ;;
6531 pc)
6532 lt_cv_deplibs_check_method=pass_all
6533 ;;
6534 esac
6535 ;;
6536
6537 tpf*)
6538 lt_cv_deplibs_check_method=pass_all
6539 ;;
6540 esac
6541
6542 fi
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6544 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6545 file_magic_cmd=$lt_cv_file_magic_cmd
6546 deplibs_check_method=$lt_cv_deplibs_check_method
6547 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560 if test -n "$ac_tool_prefix"; then
6561 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6562 set dummy ${ac_tool_prefix}ar; ac_word=$2
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6564 $as_echo_n "checking for $ac_word... " >&6; }
6565 if test "${ac_cv_prog_AR+set}" = set; then :
6566 $as_echo_n "(cached) " >&6
6567 else
6568 if test -n "$AR"; then
6569 ac_cv_prog_AR="$AR" # Let the user override the test.
6570 else
6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 for as_dir in $PATH
6573 do
6574 IFS=$as_save_IFS
6575 test -z "$as_dir" && as_dir=.
6576 for ac_exec_ext in '' $ac_executable_extensions; do
6577 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6578 ac_cv_prog_AR="${ac_tool_prefix}ar"
6579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6580 break 2
6581 fi
6582 done
6583 done
6584 IFS=$as_save_IFS
6585
6586 fi
6587 fi
6588 AR=$ac_cv_prog_AR
6589 if test -n "$AR"; then
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6591 $as_echo "$AR" >&6; }
6592 else
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6594 $as_echo "no" >&6; }
6595 fi
6596
6597
6598 fi
6599 if test -z "$ac_cv_prog_AR"; then
6600 ac_ct_AR=$AR
6601 # Extract the first word of "ar", so it can be a program name with args.
6602 set dummy ar; ac_word=$2
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 $as_echo_n "checking for $ac_word... " >&6; }
6605 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6606 $as_echo_n "(cached) " >&6
6607 else
6608 if test -n "$ac_ct_AR"; then
6609 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6610 else
6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612 for as_dir in $PATH
6613 do
6614 IFS=$as_save_IFS
6615 test -z "$as_dir" && as_dir=.
6616 for ac_exec_ext in '' $ac_executable_extensions; do
6617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6618 ac_cv_prog_ac_ct_AR="ar"
6619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6620 break 2
6621 fi
6622 done
6623 done
6624 IFS=$as_save_IFS
6625
6626 fi
6627 fi
6628 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6629 if test -n "$ac_ct_AR"; then
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6631 $as_echo "$ac_ct_AR" >&6; }
6632 else
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6634 $as_echo "no" >&6; }
6635 fi
6636
6637 if test "x$ac_ct_AR" = x; then
6638 AR="false"
6639 else
6640 case $cross_compiling:$ac_tool_warned in
6641 yes:)
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6643 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6644 ac_tool_warned=yes ;;
6645 esac
6646 AR=$ac_ct_AR
6647 fi
6648 else
6649 AR="$ac_cv_prog_AR"
6650 fi
6651
6652 test -z "$AR" && AR=ar
6653 test -z "$AR_FLAGS" && AR_FLAGS=cru
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665 if test -n "$ac_tool_prefix"; then
6666 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6667 set dummy ${ac_tool_prefix}strip; ac_word=$2
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6669 $as_echo_n "checking for $ac_word... " >&6; }
6670 if test "${ac_cv_prog_STRIP+set}" = set; then :
6671 $as_echo_n "(cached) " >&6
6672 else
6673 if test -n "$STRIP"; then
6674 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6675 else
6676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6677 for as_dir in $PATH
6678 do
6679 IFS=$as_save_IFS
6680 test -z "$as_dir" && as_dir=.
6681 for ac_exec_ext in '' $ac_executable_extensions; do
6682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6683 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6685 break 2
6686 fi
6687 done
6688 done
6689 IFS=$as_save_IFS
6690
6691 fi
6692 fi
6693 STRIP=$ac_cv_prog_STRIP
6694 if test -n "$STRIP"; then
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6696 $as_echo "$STRIP" >&6; }
6697 else
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6699 $as_echo "no" >&6; }
6700 fi
6701
6702
6703 fi
6704 if test -z "$ac_cv_prog_STRIP"; then
6705 ac_ct_STRIP=$STRIP
6706 # Extract the first word of "strip", so it can be a program name with args.
6707 set dummy strip; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 if test -n "$ac_ct_STRIP"; then
6714 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6715 else
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 for as_dir in $PATH
6718 do
6719 IFS=$as_save_IFS
6720 test -z "$as_dir" && as_dir=.
6721 for ac_exec_ext in '' $ac_executable_extensions; do
6722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723 ac_cv_prog_ac_ct_STRIP="strip"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 break 2
6726 fi
6727 done
6728 done
6729 IFS=$as_save_IFS
6730
6731 fi
6732 fi
6733 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6734 if test -n "$ac_ct_STRIP"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6736 $as_echo "$ac_ct_STRIP" >&6; }
6737 else
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6740 fi
6741
6742 if test "x$ac_ct_STRIP" = x; then
6743 STRIP=":"
6744 else
6745 case $cross_compiling:$ac_tool_warned in
6746 yes:)
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6749 ac_tool_warned=yes ;;
6750 esac
6751 STRIP=$ac_ct_STRIP
6752 fi
6753 else
6754 STRIP="$ac_cv_prog_STRIP"
6755 fi
6756
6757 test -z "$STRIP" && STRIP=:
6758
6759
6760
6761
6762
6763
6764 if test -n "$ac_tool_prefix"; then
6765 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6766 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6768 $as_echo_n "checking for $ac_word... " >&6; }
6769 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6770 $as_echo_n "(cached) " >&6
6771 else
6772 if test -n "$RANLIB"; then
6773 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6774 else
6775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6776 for as_dir in $PATH
6777 do
6778 IFS=$as_save_IFS
6779 test -z "$as_dir" && as_dir=.
6780 for ac_exec_ext in '' $ac_executable_extensions; do
6781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6782 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6784 break 2
6785 fi
6786 done
6787 done
6788 IFS=$as_save_IFS
6789
6790 fi
6791 fi
6792 RANLIB=$ac_cv_prog_RANLIB
6793 if test -n "$RANLIB"; then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6795 $as_echo "$RANLIB" >&6; }
6796 else
6797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6798 $as_echo "no" >&6; }
6799 fi
6800
6801
6802 fi
6803 if test -z "$ac_cv_prog_RANLIB"; then
6804 ac_ct_RANLIB=$RANLIB
6805 # Extract the first word of "ranlib", so it can be a program name with args.
6806 set dummy ranlib; ac_word=$2
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6808 $as_echo_n "checking for $ac_word... " >&6; }
6809 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6812 if test -n "$ac_ct_RANLIB"; then
6813 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6814 else
6815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6816 for as_dir in $PATH
6817 do
6818 IFS=$as_save_IFS
6819 test -z "$as_dir" && as_dir=.
6820 for ac_exec_ext in '' $ac_executable_extensions; do
6821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6822 ac_cv_prog_ac_ct_RANLIB="ranlib"
6823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6824 break 2
6825 fi
6826 done
6827 done
6828 IFS=$as_save_IFS
6829
6830 fi
6831 fi
6832 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6833 if test -n "$ac_ct_RANLIB"; then
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6835 $as_echo "$ac_ct_RANLIB" >&6; }
6836 else
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6838 $as_echo "no" >&6; }
6839 fi
6840
6841 if test "x$ac_ct_RANLIB" = x; then
6842 RANLIB=":"
6843 else
6844 case $cross_compiling:$ac_tool_warned in
6845 yes:)
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6848 ac_tool_warned=yes ;;
6849 esac
6850 RANLIB=$ac_ct_RANLIB
6851 fi
6852 else
6853 RANLIB="$ac_cv_prog_RANLIB"
6854 fi
6855
6856 test -z "$RANLIB" && RANLIB=:
6857
6858
6859
6860
6861
6862
6863 # Determine commands to create old-style static archives.
6864 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6865 old_postinstall_cmds='chmod 644 $oldlib'
6866 old_postuninstall_cmds=
6867
6868 if test -n "$RANLIB"; then
6869 case $host_os in
6870 openbsd*)
6871 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6872 ;;
6873 *)
6874 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6875 ;;
6876 esac
6877 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6878 fi
6879
6880 case $host_os in
6881 darwin*)
6882 lock_old_archive_extraction=yes ;;
6883 *)
6884 lock_old_archive_extraction=no ;;
6885 esac
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925 # If no C compiler was specified, use CC.
6926 LTCC=${LTCC-"$CC"}
6927
6928 # If no C compiler flags were specified, use CFLAGS.
6929 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6930
6931 # Allow CC to be a program name with arguments.
6932 compiler=$CC
6933
6934
6935 # Check for command to grab the raw symbol name followed by C symbol from nm.
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6937 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6938 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6939 $as_echo_n "(cached) " >&6
6940 else
6941
6942 # These are sane defaults that work on at least a few old systems.
6943 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6944
6945 # Character class describing NM global symbol codes.
6946 symcode='[BCDEGRST]'
6947
6948 # Regexp to match symbols that can be accessed directly from C.
6949 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6950
6951 # Define system-specific variables.
6952 case $host_os in
6953 aix*)
6954 symcode='[BCDT]'
6955 ;;
6956 cygwin* | mingw* | pw32* | cegcc*)
6957 symcode='[ABCDGISTW]'
6958 ;;
6959 hpux*)
6960 if test "$host_cpu" = ia64; then
6961 symcode='[ABCDEGRST]'
6962 fi
6963 ;;
6964 irix* | nonstopux*)
6965 symcode='[BCDEGRST]'
6966 ;;
6967 osf*)
6968 symcode='[BCDEGQRST]'
6969 ;;
6970 solaris*)
6971 symcode='[BDRT]'
6972 ;;
6973 sco3.2v5*)
6974 symcode='[DT]'
6975 ;;
6976 sysv4.2uw2*)
6977 symcode='[DT]'
6978 ;;
6979 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6980 symcode='[ABDT]'
6981 ;;
6982 sysv4)
6983 symcode='[DFNSTU]'
6984 ;;
6985 esac
6986
6987 # If we're using GNU nm, then use its standard symbol codes.
6988 case `$NM -V 2>&1` in
6989 *GNU* | *'with BFD'*)
6990 symcode='[ABCDGIRSTW]' ;;
6991 esac
6992
6993 # Transform an extracted symbol line into a proper C declaration.
6994 # Some systems (esp. on ia64) link data and code symbols differently,
6995 # so use this general approach.
6996 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6997
6998 # Transform an extracted symbol line into symbol name and symbol address
6999 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7000 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'"
7001
7002 # Handle CRLF in mingw tool chain
7003 opt_cr=
7004 case $build_os in
7005 mingw*)
7006 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7007 ;;
7008 esac
7009
7010 # Try without a prefix underscore, then with it.
7011 for ac_symprfx in "" "_"; do
7012
7013 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7014 symxfrm="\\1 $ac_symprfx\\2 \\2"
7015
7016 # Write the raw and C identifiers.
7017 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7018 # Fake it for dumpbin and say T for any non-static function
7019 # and D for any global variable.
7020 # Also find C++ and __fastcall symbols from MSVC++,
7021 # which start with @ or ?.
7022 lt_cv_sys_global_symbol_pipe="$AWK '"\
7023 " {last_section=section; section=\$ 3};"\
7024 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7025 " \$ 0!~/External *\|/{next};"\
7026 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7027 " {if(hide[section]) next};"\
7028 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7029 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7030 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7031 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7032 " ' prfx=^$ac_symprfx"
7033 else
7034 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7035 fi
7036
7037 # Check to see that the pipe works correctly.
7038 pipe_works=no
7039
7040 rm -f conftest*
7041 cat > conftest.$ac_ext <<_LT_EOF
7042 #ifdef __cplusplus
7043 extern "C" {
7044 #endif
7045 char nm_test_var;
7046 void nm_test_func(void);
7047 void nm_test_func(void){}
7048 #ifdef __cplusplus
7049 }
7050 #endif
7051 int main(){nm_test_var='a';nm_test_func();return(0);}
7052 _LT_EOF
7053
7054 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7055 (eval $ac_compile) 2>&5
7056 ac_status=$?
7057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7058 test $ac_status = 0; }; then
7059 # Now try to grab the symbols.
7060 nlist=conftest.nm
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7062 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; } && test -s "$nlist"; then
7066 # Try sorting and uniquifying the output.
7067 if sort "$nlist" | uniq > "$nlist"T; then
7068 mv -f "$nlist"T "$nlist"
7069 else
7070 rm -f "$nlist"T
7071 fi
7072
7073 # Make sure that we snagged all the symbols we need.
7074 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7075 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7076 cat <<_LT_EOF > conftest.$ac_ext
7077 #ifdef __cplusplus
7078 extern "C" {
7079 #endif
7080
7081 _LT_EOF
7082 # Now generate the symbol file.
7083 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7084
7085 cat <<_LT_EOF >> conftest.$ac_ext
7086
7087 /* The mapping between symbol names and symbols. */
7088 const struct {
7089 const char *name;
7090 void *address;
7091 }
7092 lt__PROGRAM__LTX_preloaded_symbols[] =
7093 {
7094 { "@PROGRAM@", (void *) 0 },
7095 _LT_EOF
7096 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7097 cat <<\_LT_EOF >> conftest.$ac_ext
7098 {0, (void *) 0}
7099 };
7100
7101 /* This works around a problem in FreeBSD linker */
7102 #ifdef FREEBSD_WORKAROUND
7103 static const void *lt_preloaded_setup() {
7104 return lt__PROGRAM__LTX_preloaded_symbols;
7105 }
7106 #endif
7107
7108 #ifdef __cplusplus
7109 }
7110 #endif
7111 _LT_EOF
7112 # Now try linking the two files.
7113 mv conftest.$ac_objext conftstm.$ac_objext
7114 lt_save_LIBS="$LIBS"
7115 lt_save_CFLAGS="$CFLAGS"
7116 LIBS="conftstm.$ac_objext"
7117 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7119 (eval $ac_link) 2>&5
7120 ac_status=$?
7121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7123 pipe_works=yes
7124 fi
7125 LIBS="$lt_save_LIBS"
7126 CFLAGS="$lt_save_CFLAGS"
7127 else
7128 echo "cannot find nm_test_func in $nlist" >&5
7129 fi
7130 else
7131 echo "cannot find nm_test_var in $nlist" >&5
7132 fi
7133 else
7134 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7135 fi
7136 else
7137 echo "$progname: failed program was:" >&5
7138 cat conftest.$ac_ext >&5
7139 fi
7140 rm -rf conftest* conftst*
7141
7142 # Do not use the global_symbol_pipe unless it works.
7143 if test "$pipe_works" = yes; then
7144 break
7145 else
7146 lt_cv_sys_global_symbol_pipe=
7147 fi
7148 done
7149
7150 fi
7151
7152 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7153 lt_cv_sys_global_symbol_to_cdecl=
7154 fi
7155 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7157 $as_echo "failed" >&6; }
7158 else
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7160 $as_echo "ok" >&6; }
7161 fi
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184 # Check whether --enable-libtool-lock was given.
7185 if test "${enable_libtool_lock+set}" = set; then :
7186 enableval=$enable_libtool_lock;
7187 fi
7188
7189 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7190
7191 # Some flags need to be propagated to the compiler or linker for good
7192 # libtool support.
7193 case $host in
7194 ia64-*-hpux*)
7195 # Find out which ABI we are using.
7196 echo 'int i;' > conftest.$ac_ext
7197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7198 (eval $ac_compile) 2>&5
7199 ac_status=$?
7200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7201 test $ac_status = 0; }; then
7202 case `/usr/bin/file conftest.$ac_objext` in
7203 *ELF-32*)
7204 HPUX_IA64_MODE="32"
7205 ;;
7206 *ELF-64*)
7207 HPUX_IA64_MODE="64"
7208 ;;
7209 esac
7210 fi
7211 rm -rf conftest*
7212 ;;
7213 *-*-irix6*)
7214 # Find out which ABI we are using.
7215 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7217 (eval $ac_compile) 2>&5
7218 ac_status=$?
7219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7220 test $ac_status = 0; }; then
7221 if test "$lt_cv_prog_gnu_ld" = yes; then
7222 case `/usr/bin/file conftest.$ac_objext` in
7223 *32-bit*)
7224 LD="${LD-ld} -melf32bsmip"
7225 ;;
7226 *N32*)
7227 LD="${LD-ld} -melf32bmipn32"
7228 ;;
7229 *64-bit*)
7230 LD="${LD-ld} -melf64bmip"
7231 ;;
7232 esac
7233 else
7234 case `/usr/bin/file conftest.$ac_objext` in
7235 *32-bit*)
7236 LD="${LD-ld} -32"
7237 ;;
7238 *N32*)
7239 LD="${LD-ld} -n32"
7240 ;;
7241 *64-bit*)
7242 LD="${LD-ld} -64"
7243 ;;
7244 esac
7245 fi
7246 fi
7247 rm -rf conftest*
7248 ;;
7249
7250 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7251 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7252 # Find out which ABI we are using.
7253 echo 'int i;' > conftest.$ac_ext
7254 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7255 (eval $ac_compile) 2>&5
7256 ac_status=$?
7257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7258 test $ac_status = 0; }; then
7259 case `/usr/bin/file conftest.o` in
7260 *32-bit*)
7261 case $host in
7262 x86_64-*kfreebsd*-gnu)
7263 LD="${LD-ld} -m elf_i386_fbsd"
7264 ;;
7265 x86_64-*linux*)
7266 case `/usr/bin/file conftest.o` in
7267 *x86-64*)
7268 LD="${LD-ld} -m elf32_x86_64"
7269 ;;
7270 *)
7271 LD="${LD-ld} -m elf_i386"
7272 ;;
7273 esac
7274 ;;
7275 powerpc64le-*linux*)
7276 LD="${LD-ld} -m elf32lppclinux"
7277 ;;
7278 powerpc64-*linux*)
7279 LD="${LD-ld} -m elf32ppclinux"
7280 ;;
7281 s390x-*linux*)
7282 LD="${LD-ld} -m elf_s390"
7283 ;;
7284 sparc64-*linux*)
7285 LD="${LD-ld} -m elf32_sparc"
7286 ;;
7287 esac
7288 ;;
7289 *64-bit*)
7290 case $host in
7291 x86_64-*kfreebsd*-gnu)
7292 LD="${LD-ld} -m elf_x86_64_fbsd"
7293 ;;
7294 x86_64-*linux*)
7295 LD="${LD-ld} -m elf_x86_64"
7296 ;;
7297 powerpcle-*linux*)
7298 LD="${LD-ld} -m elf64lppc"
7299 ;;
7300 powerpc-*linux*)
7301 LD="${LD-ld} -m elf64ppc"
7302 ;;
7303 s390*-*linux*|s390*-*tpf*)
7304 LD="${LD-ld} -m elf64_s390"
7305 ;;
7306 sparc*-*linux*)
7307 LD="${LD-ld} -m elf64_sparc"
7308 ;;
7309 esac
7310 ;;
7311 esac
7312 fi
7313 rm -rf conftest*
7314 ;;
7315
7316 *-*-sco3.2v5*)
7317 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7318 SAVE_CFLAGS="$CFLAGS"
7319 CFLAGS="$CFLAGS -belf"
7320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7321 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7322 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7323 $as_echo_n "(cached) " >&6
7324 else
7325 ac_ext=c
7326 ac_cpp='$CPP $CPPFLAGS'
7327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7330
7331 if test x$gcc_no_link = xyes; then
7332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7333 fi
7334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7335 /* end confdefs.h. */
7336
7337 int
7338 main ()
7339 {
7340
7341 ;
7342 return 0;
7343 }
7344 _ACEOF
7345 if ac_fn_c_try_link "$LINENO"; then :
7346 lt_cv_cc_needs_belf=yes
7347 else
7348 lt_cv_cc_needs_belf=no
7349 fi
7350 rm -f core conftest.err conftest.$ac_objext \
7351 conftest$ac_exeext conftest.$ac_ext
7352 ac_ext=c
7353 ac_cpp='$CPP $CPPFLAGS'
7354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7357
7358 fi
7359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7360 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7361 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7362 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7363 CFLAGS="$SAVE_CFLAGS"
7364 fi
7365 ;;
7366 sparc*-*solaris*)
7367 # Find out which ABI we are using.
7368 echo 'int i;' > conftest.$ac_ext
7369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7370 (eval $ac_compile) 2>&5
7371 ac_status=$?
7372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7373 test $ac_status = 0; }; then
7374 case `/usr/bin/file conftest.o` in
7375 *64-bit*)
7376 case $lt_cv_prog_gnu_ld in
7377 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7378 *)
7379 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7380 LD="${LD-ld} -64"
7381 fi
7382 ;;
7383 esac
7384 ;;
7385 esac
7386 fi
7387 rm -rf conftest*
7388 ;;
7389 esac
7390
7391 need_locks="$enable_libtool_lock"
7392
7393
7394 case $host_os in
7395 rhapsody* | darwin*)
7396 if test -n "$ac_tool_prefix"; then
7397 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7398 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7400 $as_echo_n "checking for $ac_word... " >&6; }
7401 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7402 $as_echo_n "(cached) " >&6
7403 else
7404 if test -n "$DSYMUTIL"; then
7405 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7406 else
7407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7408 for as_dir in $PATH
7409 do
7410 IFS=$as_save_IFS
7411 test -z "$as_dir" && as_dir=.
7412 for ac_exec_ext in '' $ac_executable_extensions; do
7413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7414 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7416 break 2
7417 fi
7418 done
7419 done
7420 IFS=$as_save_IFS
7421
7422 fi
7423 fi
7424 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7425 if test -n "$DSYMUTIL"; then
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7427 $as_echo "$DSYMUTIL" >&6; }
7428 else
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7430 $as_echo "no" >&6; }
7431 fi
7432
7433
7434 fi
7435 if test -z "$ac_cv_prog_DSYMUTIL"; then
7436 ac_ct_DSYMUTIL=$DSYMUTIL
7437 # Extract the first word of "dsymutil", so it can be a program name with args.
7438 set dummy dsymutil; ac_word=$2
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7440 $as_echo_n "checking for $ac_word... " >&6; }
7441 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7442 $as_echo_n "(cached) " >&6
7443 else
7444 if test -n "$ac_ct_DSYMUTIL"; then
7445 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7446 else
7447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7448 for as_dir in $PATH
7449 do
7450 IFS=$as_save_IFS
7451 test -z "$as_dir" && as_dir=.
7452 for ac_exec_ext in '' $ac_executable_extensions; do
7453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7454 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7456 break 2
7457 fi
7458 done
7459 done
7460 IFS=$as_save_IFS
7461
7462 fi
7463 fi
7464 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7465 if test -n "$ac_ct_DSYMUTIL"; then
7466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7467 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7468 else
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7470 $as_echo "no" >&6; }
7471 fi
7472
7473 if test "x$ac_ct_DSYMUTIL" = x; then
7474 DSYMUTIL=":"
7475 else
7476 case $cross_compiling:$ac_tool_warned in
7477 yes:)
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7480 ac_tool_warned=yes ;;
7481 esac
7482 DSYMUTIL=$ac_ct_DSYMUTIL
7483 fi
7484 else
7485 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7486 fi
7487
7488 if test -n "$ac_tool_prefix"; then
7489 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7490 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7492 $as_echo_n "checking for $ac_word... " >&6; }
7493 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7494 $as_echo_n "(cached) " >&6
7495 else
7496 if test -n "$NMEDIT"; then
7497 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7498 else
7499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7500 for as_dir in $PATH
7501 do
7502 IFS=$as_save_IFS
7503 test -z "$as_dir" && as_dir=.
7504 for ac_exec_ext in '' $ac_executable_extensions; do
7505 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7506 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7508 break 2
7509 fi
7510 done
7511 done
7512 IFS=$as_save_IFS
7513
7514 fi
7515 fi
7516 NMEDIT=$ac_cv_prog_NMEDIT
7517 if test -n "$NMEDIT"; then
7518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7519 $as_echo "$NMEDIT" >&6; }
7520 else
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7522 $as_echo "no" >&6; }
7523 fi
7524
7525
7526 fi
7527 if test -z "$ac_cv_prog_NMEDIT"; then
7528 ac_ct_NMEDIT=$NMEDIT
7529 # Extract the first word of "nmedit", so it can be a program name with args.
7530 set dummy nmedit; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7534 $as_echo_n "(cached) " >&6
7535 else
7536 if test -n "$ac_ct_NMEDIT"; then
7537 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7538 else
7539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7540 for as_dir in $PATH
7541 do
7542 IFS=$as_save_IFS
7543 test -z "$as_dir" && as_dir=.
7544 for ac_exec_ext in '' $ac_executable_extensions; do
7545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7546 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7548 break 2
7549 fi
7550 done
7551 done
7552 IFS=$as_save_IFS
7553
7554 fi
7555 fi
7556 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7557 if test -n "$ac_ct_NMEDIT"; then
7558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7559 $as_echo "$ac_ct_NMEDIT" >&6; }
7560 else
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7562 $as_echo "no" >&6; }
7563 fi
7564
7565 if test "x$ac_ct_NMEDIT" = x; then
7566 NMEDIT=":"
7567 else
7568 case $cross_compiling:$ac_tool_warned in
7569 yes:)
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7572 ac_tool_warned=yes ;;
7573 esac
7574 NMEDIT=$ac_ct_NMEDIT
7575 fi
7576 else
7577 NMEDIT="$ac_cv_prog_NMEDIT"
7578 fi
7579
7580 if test -n "$ac_tool_prefix"; then
7581 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7582 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7584 $as_echo_n "checking for $ac_word... " >&6; }
7585 if test "${ac_cv_prog_LIPO+set}" = set; then :
7586 $as_echo_n "(cached) " >&6
7587 else
7588 if test -n "$LIPO"; then
7589 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7590 else
7591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7592 for as_dir in $PATH
7593 do
7594 IFS=$as_save_IFS
7595 test -z "$as_dir" && as_dir=.
7596 for ac_exec_ext in '' $ac_executable_extensions; do
7597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7598 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7600 break 2
7601 fi
7602 done
7603 done
7604 IFS=$as_save_IFS
7605
7606 fi
7607 fi
7608 LIPO=$ac_cv_prog_LIPO
7609 if test -n "$LIPO"; then
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7611 $as_echo "$LIPO" >&6; }
7612 else
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7614 $as_echo "no" >&6; }
7615 fi
7616
7617
7618 fi
7619 if test -z "$ac_cv_prog_LIPO"; then
7620 ac_ct_LIPO=$LIPO
7621 # Extract the first word of "lipo", so it can be a program name with args.
7622 set dummy lipo; ac_word=$2
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7624 $as_echo_n "checking for $ac_word... " >&6; }
7625 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7626 $as_echo_n "(cached) " >&6
7627 else
7628 if test -n "$ac_ct_LIPO"; then
7629 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7630 else
7631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7632 for as_dir in $PATH
7633 do
7634 IFS=$as_save_IFS
7635 test -z "$as_dir" && as_dir=.
7636 for ac_exec_ext in '' $ac_executable_extensions; do
7637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7638 ac_cv_prog_ac_ct_LIPO="lipo"
7639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7640 break 2
7641 fi
7642 done
7643 done
7644 IFS=$as_save_IFS
7645
7646 fi
7647 fi
7648 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7649 if test -n "$ac_ct_LIPO"; then
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7651 $as_echo "$ac_ct_LIPO" >&6; }
7652 else
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7654 $as_echo "no" >&6; }
7655 fi
7656
7657 if test "x$ac_ct_LIPO" = x; then
7658 LIPO=":"
7659 else
7660 case $cross_compiling:$ac_tool_warned in
7661 yes:)
7662 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7663 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7664 ac_tool_warned=yes ;;
7665 esac
7666 LIPO=$ac_ct_LIPO
7667 fi
7668 else
7669 LIPO="$ac_cv_prog_LIPO"
7670 fi
7671
7672 if test -n "$ac_tool_prefix"; then
7673 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7674 set dummy ${ac_tool_prefix}otool; ac_word=$2
7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7676 $as_echo_n "checking for $ac_word... " >&6; }
7677 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7678 $as_echo_n "(cached) " >&6
7679 else
7680 if test -n "$OTOOL"; then
7681 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7682 else
7683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7684 for as_dir in $PATH
7685 do
7686 IFS=$as_save_IFS
7687 test -z "$as_dir" && as_dir=.
7688 for ac_exec_ext in '' $ac_executable_extensions; do
7689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7690 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7692 break 2
7693 fi
7694 done
7695 done
7696 IFS=$as_save_IFS
7697
7698 fi
7699 fi
7700 OTOOL=$ac_cv_prog_OTOOL
7701 if test -n "$OTOOL"; then
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7703 $as_echo "$OTOOL" >&6; }
7704 else
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7706 $as_echo "no" >&6; }
7707 fi
7708
7709
7710 fi
7711 if test -z "$ac_cv_prog_OTOOL"; then
7712 ac_ct_OTOOL=$OTOOL
7713 # Extract the first word of "otool", so it can be a program name with args.
7714 set dummy otool; ac_word=$2
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7716 $as_echo_n "checking for $ac_word... " >&6; }
7717 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7718 $as_echo_n "(cached) " >&6
7719 else
7720 if test -n "$ac_ct_OTOOL"; then
7721 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7722 else
7723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7724 for as_dir in $PATH
7725 do
7726 IFS=$as_save_IFS
7727 test -z "$as_dir" && as_dir=.
7728 for ac_exec_ext in '' $ac_executable_extensions; do
7729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7730 ac_cv_prog_ac_ct_OTOOL="otool"
7731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 break 2
7733 fi
7734 done
7735 done
7736 IFS=$as_save_IFS
7737
7738 fi
7739 fi
7740 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7741 if test -n "$ac_ct_OTOOL"; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7743 $as_echo "$ac_ct_OTOOL" >&6; }
7744 else
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7746 $as_echo "no" >&6; }
7747 fi
7748
7749 if test "x$ac_ct_OTOOL" = x; then
7750 OTOOL=":"
7751 else
7752 case $cross_compiling:$ac_tool_warned in
7753 yes:)
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7755 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7756 ac_tool_warned=yes ;;
7757 esac
7758 OTOOL=$ac_ct_OTOOL
7759 fi
7760 else
7761 OTOOL="$ac_cv_prog_OTOOL"
7762 fi
7763
7764 if test -n "$ac_tool_prefix"; then
7765 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7766 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7768 $as_echo_n "checking for $ac_word... " >&6; }
7769 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7770 $as_echo_n "(cached) " >&6
7771 else
7772 if test -n "$OTOOL64"; then
7773 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7774 else
7775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7776 for as_dir in $PATH
7777 do
7778 IFS=$as_save_IFS
7779 test -z "$as_dir" && as_dir=.
7780 for ac_exec_ext in '' $ac_executable_extensions; do
7781 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7782 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7784 break 2
7785 fi
7786 done
7787 done
7788 IFS=$as_save_IFS
7789
7790 fi
7791 fi
7792 OTOOL64=$ac_cv_prog_OTOOL64
7793 if test -n "$OTOOL64"; then
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7795 $as_echo "$OTOOL64" >&6; }
7796 else
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7798 $as_echo "no" >&6; }
7799 fi
7800
7801
7802 fi
7803 if test -z "$ac_cv_prog_OTOOL64"; then
7804 ac_ct_OTOOL64=$OTOOL64
7805 # Extract the first word of "otool64", so it can be a program name with args.
7806 set dummy otool64; ac_word=$2
7807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7808 $as_echo_n "checking for $ac_word... " >&6; }
7809 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7810 $as_echo_n "(cached) " >&6
7811 else
7812 if test -n "$ac_ct_OTOOL64"; then
7813 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7814 else
7815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7816 for as_dir in $PATH
7817 do
7818 IFS=$as_save_IFS
7819 test -z "$as_dir" && as_dir=.
7820 for ac_exec_ext in '' $ac_executable_extensions; do
7821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7822 ac_cv_prog_ac_ct_OTOOL64="otool64"
7823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7824 break 2
7825 fi
7826 done
7827 done
7828 IFS=$as_save_IFS
7829
7830 fi
7831 fi
7832 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7833 if test -n "$ac_ct_OTOOL64"; then
7834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7835 $as_echo "$ac_ct_OTOOL64" >&6; }
7836 else
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7838 $as_echo "no" >&6; }
7839 fi
7840
7841 if test "x$ac_ct_OTOOL64" = x; then
7842 OTOOL64=":"
7843 else
7844 case $cross_compiling:$ac_tool_warned in
7845 yes:)
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7847 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7848 ac_tool_warned=yes ;;
7849 esac
7850 OTOOL64=$ac_ct_OTOOL64
7851 fi
7852 else
7853 OTOOL64="$ac_cv_prog_OTOOL64"
7854 fi
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7883 $as_echo_n "checking for -single_module linker flag... " >&6; }
7884 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 lt_cv_apple_cc_single_mod=no
7888 if test -z "${LT_MULTI_MODULE}"; then
7889 # By default we will add the -single_module flag. You can override
7890 # by either setting the environment variable LT_MULTI_MODULE
7891 # non-empty at configure time, or by adding -multi_module to the
7892 # link flags.
7893 rm -rf libconftest.dylib*
7894 echo "int foo(void){return 1;}" > conftest.c
7895 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7896 -dynamiclib -Wl,-single_module conftest.c" >&5
7897 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7898 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7899 _lt_result=$?
7900 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7901 lt_cv_apple_cc_single_mod=yes
7902 else
7903 cat conftest.err >&5
7904 fi
7905 rm -rf libconftest.dylib*
7906 rm -f conftest.*
7907 fi
7908 fi
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7910 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7912 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7913 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7914 $as_echo_n "(cached) " >&6
7915 else
7916 lt_cv_ld_exported_symbols_list=no
7917 save_LDFLAGS=$LDFLAGS
7918 echo "_main" > conftest.sym
7919 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7920 if test x$gcc_no_link = xyes; then
7921 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7922 fi
7923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7924 /* end confdefs.h. */
7925
7926 int
7927 main ()
7928 {
7929
7930 ;
7931 return 0;
7932 }
7933 _ACEOF
7934 if ac_fn_c_try_link "$LINENO"; then :
7935 lt_cv_ld_exported_symbols_list=yes
7936 else
7937 lt_cv_ld_exported_symbols_list=no
7938 fi
7939 rm -f core conftest.err conftest.$ac_objext \
7940 conftest$ac_exeext conftest.$ac_ext
7941 LDFLAGS="$save_LDFLAGS"
7942
7943 fi
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7945 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7947 $as_echo_n "checking for -force_load linker flag... " >&6; }
7948 if test "${lt_cv_ld_force_load+set}" = set; then :
7949 $as_echo_n "(cached) " >&6
7950 else
7951 lt_cv_ld_force_load=no
7952 cat > conftest.c << _LT_EOF
7953 int forced_loaded() { return 2;}
7954 _LT_EOF
7955 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7956 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7957 echo "$AR cru libconftest.a conftest.o" >&5
7958 $AR cru libconftest.a conftest.o 2>&5
7959 cat > conftest.c << _LT_EOF
7960 int main() { return 0;}
7961 _LT_EOF
7962 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7963 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7964 _lt_result=$?
7965 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7966 lt_cv_ld_force_load=yes
7967 else
7968 cat conftest.err >&5
7969 fi
7970 rm -f conftest.err libconftest.a conftest conftest.c
7971 rm -rf conftest.dSYM
7972
7973 fi
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7975 $as_echo "$lt_cv_ld_force_load" >&6; }
7976 case $host_os in
7977 rhapsody* | darwin1.[012])
7978 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7979 darwin1.*)
7980 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7981 darwin*) # darwin 5.x on
7982 # if running on 10.5 or later, the deployment target defaults
7983 # to the OS version, if on x86, and 10.4, the deployment
7984 # target defaults to 10.4. Don't you love it?
7985 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7986 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7987 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7988 10.[012][,.]*)
7989 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7990 10.*)
7991 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7992 esac
7993 ;;
7994 esac
7995 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7996 _lt_dar_single_mod='$single_module'
7997 fi
7998 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7999 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8000 else
8001 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8002 fi
8003 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8004 _lt_dsymutil='~$DSYMUTIL $lib || :'
8005 else
8006 _lt_dsymutil=
8007 fi
8008 ;;
8009 esac
8010
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8012 $as_echo_n "checking for ANSI C header files... " >&6; }
8013 if test "${ac_cv_header_stdc+set}" = set; then :
8014 $as_echo_n "(cached) " >&6
8015 else
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 #include <stdlib.h>
8019 #include <stdarg.h>
8020 #include <string.h>
8021 #include <float.h>
8022
8023 int
8024 main ()
8025 {
8026
8027 ;
8028 return 0;
8029 }
8030 _ACEOF
8031 if ac_fn_c_try_compile "$LINENO"; then :
8032 ac_cv_header_stdc=yes
8033 else
8034 ac_cv_header_stdc=no
8035 fi
8036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8037
8038 if test $ac_cv_header_stdc = yes; then
8039 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8041 /* end confdefs.h. */
8042 #include <string.h>
8043
8044 _ACEOF
8045 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8046 $EGREP "memchr" >/dev/null 2>&1; then :
8047
8048 else
8049 ac_cv_header_stdc=no
8050 fi
8051 rm -f conftest*
8052
8053 fi
8054
8055 if test $ac_cv_header_stdc = yes; then
8056 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8058 /* end confdefs.h. */
8059 #include <stdlib.h>
8060
8061 _ACEOF
8062 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8063 $EGREP "free" >/dev/null 2>&1; then :
8064
8065 else
8066 ac_cv_header_stdc=no
8067 fi
8068 rm -f conftest*
8069
8070 fi
8071
8072 if test $ac_cv_header_stdc = yes; then
8073 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8074 if test "$cross_compiling" = yes; then :
8075 :
8076 else
8077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8078 /* end confdefs.h. */
8079 #include <ctype.h>
8080 #include <stdlib.h>
8081 #if ((' ' & 0x0FF) == 0x020)
8082 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8083 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8084 #else
8085 # define ISLOWER(c) \
8086 (('a' <= (c) && (c) <= 'i') \
8087 || ('j' <= (c) && (c) <= 'r') \
8088 || ('s' <= (c) && (c) <= 'z'))
8089 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8090 #endif
8091
8092 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8093 int
8094 main ()
8095 {
8096 int i;
8097 for (i = 0; i < 256; i++)
8098 if (XOR (islower (i), ISLOWER (i))
8099 || toupper (i) != TOUPPER (i))
8100 return 2;
8101 return 0;
8102 }
8103 _ACEOF
8104 if ac_fn_c_try_run "$LINENO"; then :
8105
8106 else
8107 ac_cv_header_stdc=no
8108 fi
8109 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8110 conftest.$ac_objext conftest.beam conftest.$ac_ext
8111 fi
8112
8113 fi
8114 fi
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8116 $as_echo "$ac_cv_header_stdc" >&6; }
8117 if test $ac_cv_header_stdc = yes; then
8118
8119 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8120
8121 fi
8122
8123 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8124 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8125 inttypes.h stdint.h unistd.h
8126 do :
8127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8128 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8129 "
8130 eval as_val=\$$as_ac_Header
8131 if test "x$as_val" = x""yes; then :
8132 cat >>confdefs.h <<_ACEOF
8133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8134 _ACEOF
8135
8136 fi
8137
8138 done
8139
8140
8141 for ac_header in dlfcn.h
8142 do :
8143 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8144 "
8145 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8146 cat >>confdefs.h <<_ACEOF
8147 #define HAVE_DLFCN_H 1
8148 _ACEOF
8149
8150 fi
8151
8152 done
8153
8154
8155
8156
8157
8158
8159 # Set options
8160
8161
8162
8163
8164 enable_win32_dll=no
8165
8166
8167 # Check whether --enable-shared was given.
8168 if test "${enable_shared+set}" = set; then :
8169 enableval=$enable_shared; p=${PACKAGE-default}
8170 case $enableval in
8171 yes) enable_shared=yes ;;
8172 no) enable_shared=no ;;
8173 *)
8174 enable_shared=no
8175 # Look at the argument we got. We use all the common list separators.
8176 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8177 for pkg in $enableval; do
8178 IFS="$lt_save_ifs"
8179 if test "X$pkg" = "X$p"; then
8180 enable_shared=yes
8181 fi
8182 done
8183 IFS="$lt_save_ifs"
8184 ;;
8185 esac
8186 else
8187 enable_shared=yes
8188 fi
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198 # Check whether --enable-static was given.
8199 if test "${enable_static+set}" = set; then :
8200 enableval=$enable_static; p=${PACKAGE-default}
8201 case $enableval in
8202 yes) enable_static=yes ;;
8203 no) enable_static=no ;;
8204 *)
8205 enable_static=no
8206 # Look at the argument we got. We use all the common list separators.
8207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8208 for pkg in $enableval; do
8209 IFS="$lt_save_ifs"
8210 if test "X$pkg" = "X$p"; then
8211 enable_static=yes
8212 fi
8213 done
8214 IFS="$lt_save_ifs"
8215 ;;
8216 esac
8217 else
8218 enable_static=yes
8219 fi
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230 # Check whether --with-pic was given.
8231 if test "${with_pic+set}" = set; then :
8232 withval=$with_pic; pic_mode="$withval"
8233 else
8234 pic_mode=default
8235 fi
8236
8237
8238 test -z "$pic_mode" && pic_mode=default
8239
8240
8241
8242
8243
8244
8245
8246 # Check whether --enable-fast-install was given.
8247 if test "${enable_fast_install+set}" = set; then :
8248 enableval=$enable_fast_install; p=${PACKAGE-default}
8249 case $enableval in
8250 yes) enable_fast_install=yes ;;
8251 no) enable_fast_install=no ;;
8252 *)
8253 enable_fast_install=no
8254 # Look at the argument we got. We use all the common list separators.
8255 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8256 for pkg in $enableval; do
8257 IFS="$lt_save_ifs"
8258 if test "X$pkg" = "X$p"; then
8259 enable_fast_install=yes
8260 fi
8261 done
8262 IFS="$lt_save_ifs"
8263 ;;
8264 esac
8265 else
8266 enable_fast_install=yes
8267 fi
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279 # This can be used to rebuild libtool when needed
8280 LIBTOOL_DEPS="$ltmain"
8281
8282 # Always use our own libtool.
8283 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310 test -z "$LN_S" && LN_S="ln -s"
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325 if test -n "${ZSH_VERSION+set}" ; then
8326 setopt NO_GLOB_SUBST
8327 fi
8328
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8330 $as_echo_n "checking for objdir... " >&6; }
8331 if test "${lt_cv_objdir+set}" = set; then :
8332 $as_echo_n "(cached) " >&6
8333 else
8334 rm -f .libs 2>/dev/null
8335 mkdir .libs 2>/dev/null
8336 if test -d .libs; then
8337 lt_cv_objdir=.libs
8338 else
8339 # MS-DOS does not allow filenames that begin with a dot.
8340 lt_cv_objdir=_libs
8341 fi
8342 rmdir .libs 2>/dev/null
8343 fi
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8345 $as_echo "$lt_cv_objdir" >&6; }
8346 objdir=$lt_cv_objdir
8347
8348
8349
8350
8351
8352 cat >>confdefs.h <<_ACEOF
8353 #define LT_OBJDIR "$lt_cv_objdir/"
8354 _ACEOF
8355
8356
8357
8358
8359 case $host_os in
8360 aix3*)
8361 # AIX sometimes has problems with the GCC collect2 program. For some
8362 # reason, if we set the COLLECT_NAMES environment variable, the problems
8363 # vanish in a puff of smoke.
8364 if test "X${COLLECT_NAMES+set}" != Xset; then
8365 COLLECT_NAMES=
8366 export COLLECT_NAMES
8367 fi
8368 ;;
8369 esac
8370
8371 # Global variables:
8372 ofile=libtool
8373 can_build_shared=yes
8374
8375 # All known linkers require a `.a' archive for static linking (except MSVC,
8376 # which needs '.lib').
8377 libext=a
8378
8379 with_gnu_ld="$lt_cv_prog_gnu_ld"
8380
8381 old_CC="$CC"
8382 old_CFLAGS="$CFLAGS"
8383
8384 # Set sane defaults for various variables
8385 test -z "$CC" && CC=cc
8386 test -z "$LTCC" && LTCC=$CC
8387 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8388 test -z "$LD" && LD=ld
8389 test -z "$ac_objext" && ac_objext=o
8390
8391 for cc_temp in $compiler""; do
8392 case $cc_temp in
8393 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8394 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8395 \-*) ;;
8396 *) break;;
8397 esac
8398 done
8399 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8400
8401
8402 # Only perform the check for file, if the check method requires it
8403 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8404 case $deplibs_check_method in
8405 file_magic*)
8406 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8408 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8409 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 case $MAGIC_CMD in
8413 [\\/*] | ?:[\\/]*)
8414 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8415 ;;
8416 *)
8417 lt_save_MAGIC_CMD="$MAGIC_CMD"
8418 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8419 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8420 for ac_dir in $ac_dummy; do
8421 IFS="$lt_save_ifs"
8422 test -z "$ac_dir" && ac_dir=.
8423 if test -f $ac_dir/${ac_tool_prefix}file; then
8424 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8425 if test -n "$file_magic_test_file"; then
8426 case $deplibs_check_method in
8427 "file_magic "*)
8428 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8429 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8430 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8431 $EGREP "$file_magic_regex" > /dev/null; then
8432 :
8433 else
8434 cat <<_LT_EOF 1>&2
8435
8436 *** Warning: the command libtool uses to detect shared libraries,
8437 *** $file_magic_cmd, produces output that libtool cannot recognize.
8438 *** The result is that libtool may fail to recognize shared libraries
8439 *** as such. This will affect the creation of libtool libraries that
8440 *** depend on shared libraries, but programs linked with such libtool
8441 *** libraries will work regardless of this problem. Nevertheless, you
8442 *** may want to report the problem to your system manager and/or to
8443 *** bug-libtool@gnu.org
8444
8445 _LT_EOF
8446 fi ;;
8447 esac
8448 fi
8449 break
8450 fi
8451 done
8452 IFS="$lt_save_ifs"
8453 MAGIC_CMD="$lt_save_MAGIC_CMD"
8454 ;;
8455 esac
8456 fi
8457
8458 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8459 if test -n "$MAGIC_CMD"; then
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8461 $as_echo "$MAGIC_CMD" >&6; }
8462 else
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8464 $as_echo "no" >&6; }
8465 fi
8466
8467
8468
8469
8470
8471 if test -z "$lt_cv_path_MAGIC_CMD"; then
8472 if test -n "$ac_tool_prefix"; then
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8474 $as_echo_n "checking for file... " >&6; }
8475 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 case $MAGIC_CMD in
8479 [\\/*] | ?:[\\/]*)
8480 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8481 ;;
8482 *)
8483 lt_save_MAGIC_CMD="$MAGIC_CMD"
8484 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8485 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8486 for ac_dir in $ac_dummy; do
8487 IFS="$lt_save_ifs"
8488 test -z "$ac_dir" && ac_dir=.
8489 if test -f $ac_dir/file; then
8490 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8491 if test -n "$file_magic_test_file"; then
8492 case $deplibs_check_method in
8493 "file_magic "*)
8494 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8495 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8496 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8497 $EGREP "$file_magic_regex" > /dev/null; then
8498 :
8499 else
8500 cat <<_LT_EOF 1>&2
8501
8502 *** Warning: the command libtool uses to detect shared libraries,
8503 *** $file_magic_cmd, produces output that libtool cannot recognize.
8504 *** The result is that libtool may fail to recognize shared libraries
8505 *** as such. This will affect the creation of libtool libraries that
8506 *** depend on shared libraries, but programs linked with such libtool
8507 *** libraries will work regardless of this problem. Nevertheless, you
8508 *** may want to report the problem to your system manager and/or to
8509 *** bug-libtool@gnu.org
8510
8511 _LT_EOF
8512 fi ;;
8513 esac
8514 fi
8515 break
8516 fi
8517 done
8518 IFS="$lt_save_ifs"
8519 MAGIC_CMD="$lt_save_MAGIC_CMD"
8520 ;;
8521 esac
8522 fi
8523
8524 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8525 if test -n "$MAGIC_CMD"; then
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8527 $as_echo "$MAGIC_CMD" >&6; }
8528 else
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8530 $as_echo "no" >&6; }
8531 fi
8532
8533
8534 else
8535 MAGIC_CMD=:
8536 fi
8537 fi
8538
8539 fi
8540 ;;
8541 esac
8542
8543 # Use C for the default configuration in the libtool script
8544
8545 lt_save_CC="$CC"
8546 ac_ext=c
8547 ac_cpp='$CPP $CPPFLAGS'
8548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8551
8552
8553 # Source file extension for C test sources.
8554 ac_ext=c
8555
8556 # Object file extension for compiled C test sources.
8557 objext=o
8558 objext=$objext
8559
8560 # Code to be used in simple compile tests
8561 lt_simple_compile_test_code="int some_variable = 0;"
8562
8563 # Code to be used in simple link tests
8564 lt_simple_link_test_code='int main(){return(0);}'
8565
8566
8567
8568
8569
8570
8571
8572 # If no C compiler was specified, use CC.
8573 LTCC=${LTCC-"$CC"}
8574
8575 # If no C compiler flags were specified, use CFLAGS.
8576 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8577
8578 # Allow CC to be a program name with arguments.
8579 compiler=$CC
8580
8581 # Save the default compiler, since it gets overwritten when the other
8582 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8583 compiler_DEFAULT=$CC
8584
8585 # save warnings/boilerplate of simple test code
8586 ac_outfile=conftest.$ac_objext
8587 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8588 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8589 _lt_compiler_boilerplate=`cat conftest.err`
8590 $RM conftest*
8591
8592 ac_outfile=conftest.$ac_objext
8593 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8594 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8595 _lt_linker_boilerplate=`cat conftest.err`
8596 $RM -r conftest*
8597
8598
8599 ## CAVEAT EMPTOR:
8600 ## There is no encapsulation within the following macros, do not change
8601 ## the running order or otherwise move them around unless you know exactly
8602 ## what you are doing...
8603 if test -n "$compiler"; then
8604
8605 lt_prog_compiler_no_builtin_flag=
8606
8607 if test "$GCC" = yes; then
8608 case $cc_basename in
8609 nvcc*)
8610 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8611 *)
8612 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8613 esac
8614
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8616 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8617 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8618 $as_echo_n "(cached) " >&6
8619 else
8620 lt_cv_prog_compiler_rtti_exceptions=no
8621 ac_outfile=conftest.$ac_objext
8622 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8623 lt_compiler_flag="-fno-rtti -fno-exceptions"
8624 # Insert the option either (1) after the last *FLAGS variable, or
8625 # (2) before a word containing "conftest.", or (3) at the end.
8626 # Note that $ac_compile itself does not contain backslashes and begins
8627 # with a dollar sign (not a hyphen), so the echo should work correctly.
8628 # The option is referenced via a variable to avoid confusing sed.
8629 lt_compile=`echo "$ac_compile" | $SED \
8630 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8631 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8632 -e 's:$: $lt_compiler_flag:'`
8633 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8634 (eval "$lt_compile" 2>conftest.err)
8635 ac_status=$?
8636 cat conftest.err >&5
8637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8638 if (exit $ac_status) && test -s "$ac_outfile"; then
8639 # The compiler can only warn and ignore the option if not recognized
8640 # So say no if there are warnings other than the usual output.
8641 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8642 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8643 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8644 lt_cv_prog_compiler_rtti_exceptions=yes
8645 fi
8646 fi
8647 $RM conftest*
8648
8649 fi
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8651 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8652
8653 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8654 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8655 else
8656 :
8657 fi
8658
8659 fi
8660
8661
8662
8663
8664
8665
8666 lt_prog_compiler_wl=
8667 lt_prog_compiler_pic=
8668 lt_prog_compiler_static=
8669
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8671 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8672
8673 if test "$GCC" = yes; then
8674 lt_prog_compiler_wl='-Wl,'
8675 lt_prog_compiler_static='-static'
8676
8677 case $host_os in
8678 aix*)
8679 # All AIX code is PIC.
8680 if test "$host_cpu" = ia64; then
8681 # AIX 5 now supports IA64 processor
8682 lt_prog_compiler_static='-Bstatic'
8683 fi
8684 lt_prog_compiler_pic='-fPIC'
8685 ;;
8686
8687 amigaos*)
8688 case $host_cpu in
8689 powerpc)
8690 # see comment about AmigaOS4 .so support
8691 lt_prog_compiler_pic='-fPIC'
8692 ;;
8693 m68k)
8694 # FIXME: we need at least 68020 code to build shared libraries, but
8695 # adding the `-m68020' flag to GCC prevents building anything better,
8696 # like `-m68040'.
8697 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8698 ;;
8699 esac
8700 ;;
8701
8702 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8703 # PIC is the default for these OSes.
8704 ;;
8705
8706 mingw* | cygwin* | pw32* | os2* | cegcc*)
8707 # This hack is so that the source file can tell whether it is being
8708 # built for inclusion in a dll (and should export symbols for example).
8709 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8710 # (--disable-auto-import) libraries
8711 lt_prog_compiler_pic='-DDLL_EXPORT'
8712 ;;
8713
8714 darwin* | rhapsody*)
8715 # PIC is the default on this platform
8716 # Common symbols not allowed in MH_DYLIB files
8717 lt_prog_compiler_pic='-fno-common'
8718 ;;
8719
8720 haiku*)
8721 # PIC is the default for Haiku.
8722 # The "-static" flag exists, but is broken.
8723 lt_prog_compiler_static=
8724 ;;
8725
8726 hpux*)
8727 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8728 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8729 # sets the default TLS model and affects inlining.
8730 case $host_cpu in
8731 hppa*64*)
8732 # +Z the default
8733 ;;
8734 *)
8735 lt_prog_compiler_pic='-fPIC'
8736 ;;
8737 esac
8738 ;;
8739
8740 interix[3-9]*)
8741 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8742 # Instead, we relocate shared libraries at runtime.
8743 ;;
8744
8745 msdosdjgpp*)
8746 # Just because we use GCC doesn't mean we suddenly get shared libraries
8747 # on systems that don't support them.
8748 lt_prog_compiler_can_build_shared=no
8749 enable_shared=no
8750 ;;
8751
8752 *nto* | *qnx*)
8753 # QNX uses GNU C++, but need to define -shared option too, otherwise
8754 # it will coredump.
8755 lt_prog_compiler_pic='-fPIC -shared'
8756 ;;
8757
8758 sysv4*MP*)
8759 if test -d /usr/nec; then
8760 lt_prog_compiler_pic=-Kconform_pic
8761 fi
8762 ;;
8763
8764 *)
8765 lt_prog_compiler_pic='-fPIC'
8766 ;;
8767 esac
8768
8769 case $cc_basename in
8770 nvcc*) # Cuda Compiler Driver 2.2
8771 lt_prog_compiler_wl='-Xlinker '
8772 lt_prog_compiler_pic='-Xcompiler -fPIC'
8773 ;;
8774 esac
8775 else
8776 # PORTME Check for flag to pass linker flags through the system compiler.
8777 case $host_os in
8778 aix*)
8779 lt_prog_compiler_wl='-Wl,'
8780 if test "$host_cpu" = ia64; then
8781 # AIX 5 now supports IA64 processor
8782 lt_prog_compiler_static='-Bstatic'
8783 else
8784 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8785 fi
8786 ;;
8787
8788 mingw* | cygwin* | pw32* | os2* | cegcc*)
8789 # This hack is so that the source file can tell whether it is being
8790 # built for inclusion in a dll (and should export symbols for example).
8791 lt_prog_compiler_pic='-DDLL_EXPORT'
8792 ;;
8793
8794 hpux9* | hpux10* | hpux11*)
8795 lt_prog_compiler_wl='-Wl,'
8796 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8797 # not for PA HP-UX.
8798 case $host_cpu in
8799 hppa*64*|ia64*)
8800 # +Z the default
8801 ;;
8802 *)
8803 lt_prog_compiler_pic='+Z'
8804 ;;
8805 esac
8806 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8807 lt_prog_compiler_static='${wl}-a ${wl}archive'
8808 ;;
8809
8810 irix5* | irix6* | nonstopux*)
8811 lt_prog_compiler_wl='-Wl,'
8812 # PIC (with -KPIC) is the default.
8813 lt_prog_compiler_static='-non_shared'
8814 ;;
8815
8816 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8817 case $cc_basename in
8818 # old Intel for x86_64 which still supported -KPIC.
8819 ecc*)
8820 lt_prog_compiler_wl='-Wl,'
8821 lt_prog_compiler_pic='-KPIC'
8822 lt_prog_compiler_static='-static'
8823 ;;
8824 # icc used to be incompatible with GCC.
8825 # ICC 10 doesn't accept -KPIC any more.
8826 icc* | ifort*)
8827 lt_prog_compiler_wl='-Wl,'
8828 lt_prog_compiler_pic='-fPIC'
8829 lt_prog_compiler_static='-static'
8830 ;;
8831 # Lahey Fortran 8.1.
8832 lf95*)
8833 lt_prog_compiler_wl='-Wl,'
8834 lt_prog_compiler_pic='--shared'
8835 lt_prog_compiler_static='--static'
8836 ;;
8837 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8838 # Portland Group compilers (*not* the Pentium gcc compiler,
8839 # which looks to be a dead project)
8840 lt_prog_compiler_wl='-Wl,'
8841 lt_prog_compiler_pic='-fpic'
8842 lt_prog_compiler_static='-Bstatic'
8843 ;;
8844 ccc*)
8845 lt_prog_compiler_wl='-Wl,'
8846 # All Alpha code is PIC.
8847 lt_prog_compiler_static='-non_shared'
8848 ;;
8849 xl* | bgxl* | bgf* | mpixl*)
8850 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8851 lt_prog_compiler_wl='-Wl,'
8852 lt_prog_compiler_pic='-qpic'
8853 lt_prog_compiler_static='-qstaticlink'
8854 ;;
8855 *)
8856 case `$CC -V 2>&1 | sed 5q` in
8857 *Sun\ F* | *Sun*Fortran*)
8858 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8859 lt_prog_compiler_pic='-KPIC'
8860 lt_prog_compiler_static='-Bstatic'
8861 lt_prog_compiler_wl=''
8862 ;;
8863 *Sun\ C*)
8864 # Sun C 5.9
8865 lt_prog_compiler_pic='-KPIC'
8866 lt_prog_compiler_static='-Bstatic'
8867 lt_prog_compiler_wl='-Wl,'
8868 ;;
8869 esac
8870 ;;
8871 esac
8872 ;;
8873
8874 newsos6)
8875 lt_prog_compiler_pic='-KPIC'
8876 lt_prog_compiler_static='-Bstatic'
8877 ;;
8878
8879 *nto* | *qnx*)
8880 # QNX uses GNU C++, but need to define -shared option too, otherwise
8881 # it will coredump.
8882 lt_prog_compiler_pic='-fPIC -shared'
8883 ;;
8884
8885 osf3* | osf4* | osf5*)
8886 lt_prog_compiler_wl='-Wl,'
8887 # All OSF/1 code is PIC.
8888 lt_prog_compiler_static='-non_shared'
8889 ;;
8890
8891 rdos*)
8892 lt_prog_compiler_static='-non_shared'
8893 ;;
8894
8895 solaris*)
8896 lt_prog_compiler_pic='-KPIC'
8897 lt_prog_compiler_static='-Bstatic'
8898 case $cc_basename in
8899 f77* | f90* | f95*)
8900 lt_prog_compiler_wl='-Qoption ld ';;
8901 *)
8902 lt_prog_compiler_wl='-Wl,';;
8903 esac
8904 ;;
8905
8906 sunos4*)
8907 lt_prog_compiler_wl='-Qoption ld '
8908 lt_prog_compiler_pic='-PIC'
8909 lt_prog_compiler_static='-Bstatic'
8910 ;;
8911
8912 sysv4 | sysv4.2uw2* | sysv4.3*)
8913 lt_prog_compiler_wl='-Wl,'
8914 lt_prog_compiler_pic='-KPIC'
8915 lt_prog_compiler_static='-Bstatic'
8916 ;;
8917
8918 sysv4*MP*)
8919 if test -d /usr/nec ;then
8920 lt_prog_compiler_pic='-Kconform_pic'
8921 lt_prog_compiler_static='-Bstatic'
8922 fi
8923 ;;
8924
8925 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8926 lt_prog_compiler_wl='-Wl,'
8927 lt_prog_compiler_pic='-KPIC'
8928 lt_prog_compiler_static='-Bstatic'
8929 ;;
8930
8931 unicos*)
8932 lt_prog_compiler_wl='-Wl,'
8933 lt_prog_compiler_can_build_shared=no
8934 ;;
8935
8936 uts4*)
8937 lt_prog_compiler_pic='-pic'
8938 lt_prog_compiler_static='-Bstatic'
8939 ;;
8940
8941 *)
8942 lt_prog_compiler_can_build_shared=no
8943 ;;
8944 esac
8945 fi
8946
8947 case $host_os in
8948 # For platforms which do not support PIC, -DPIC is meaningless:
8949 *djgpp*)
8950 lt_prog_compiler_pic=
8951 ;;
8952 *)
8953 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8954 ;;
8955 esac
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8957 $as_echo "$lt_prog_compiler_pic" >&6; }
8958
8959
8960
8961
8962
8963
8964 #
8965 # Check to make sure the PIC flag actually works.
8966 #
8967 if test -n "$lt_prog_compiler_pic"; then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8969 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8970 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 lt_cv_prog_compiler_pic_works=no
8974 ac_outfile=conftest.$ac_objext
8975 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8976 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8977 # Insert the option either (1) after the last *FLAGS variable, or
8978 # (2) before a word containing "conftest.", or (3) at the end.
8979 # Note that $ac_compile itself does not contain backslashes and begins
8980 # with a dollar sign (not a hyphen), so the echo should work correctly.
8981 # The option is referenced via a variable to avoid confusing sed.
8982 lt_compile=`echo "$ac_compile" | $SED \
8983 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8984 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8985 -e 's:$: $lt_compiler_flag:'`
8986 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8987 (eval "$lt_compile" 2>conftest.err)
8988 ac_status=$?
8989 cat conftest.err >&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 if (exit $ac_status) && test -s "$ac_outfile"; then
8992 # The compiler can only warn and ignore the option if not recognized
8993 # So say no if there are warnings other than the usual output.
8994 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8995 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8996 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8997 lt_cv_prog_compiler_pic_works=yes
8998 fi
8999 fi
9000 $RM conftest*
9001
9002 fi
9003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9004 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9005
9006 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9007 case $lt_prog_compiler_pic in
9008 "" | " "*) ;;
9009 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9010 esac
9011 else
9012 lt_prog_compiler_pic=
9013 lt_prog_compiler_can_build_shared=no
9014 fi
9015
9016 fi
9017
9018
9019
9020
9021
9022
9023 #
9024 # Check to make sure the static flag actually works.
9025 #
9026 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9028 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9029 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
9030 $as_echo_n "(cached) " >&6
9031 else
9032 lt_cv_prog_compiler_static_works=no
9033 save_LDFLAGS="$LDFLAGS"
9034 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9035 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9036 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9037 # The linker can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 if test -s conftest.err; then
9040 # Append any errors to the config.log.
9041 cat conftest.err 1>&5
9042 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9043 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9044 if diff conftest.exp conftest.er2 >/dev/null; then
9045 lt_cv_prog_compiler_static_works=yes
9046 fi
9047 else
9048 lt_cv_prog_compiler_static_works=yes
9049 fi
9050 fi
9051 $RM -r conftest*
9052 LDFLAGS="$save_LDFLAGS"
9053
9054 fi
9055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9056 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9057
9058 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9059 :
9060 else
9061 lt_prog_compiler_static=
9062 fi
9063
9064
9065
9066
9067
9068
9069
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9071 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9072 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9073 $as_echo_n "(cached) " >&6
9074 else
9075 lt_cv_prog_compiler_c_o=no
9076 $RM -r conftest 2>/dev/null
9077 mkdir conftest
9078 cd conftest
9079 mkdir out
9080 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9081
9082 lt_compiler_flag="-o out/conftest2.$ac_objext"
9083 # Insert the option either (1) after the last *FLAGS variable, or
9084 # (2) before a word containing "conftest.", or (3) at the end.
9085 # Note that $ac_compile itself does not contain backslashes and begins
9086 # with a dollar sign (not a hyphen), so the echo should work correctly.
9087 lt_compile=`echo "$ac_compile" | $SED \
9088 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9089 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9090 -e 's:$: $lt_compiler_flag:'`
9091 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9092 (eval "$lt_compile" 2>out/conftest.err)
9093 ac_status=$?
9094 cat out/conftest.err >&5
9095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9096 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9097 then
9098 # The compiler can only warn and ignore the option if not recognized
9099 # So say no if there are warnings
9100 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9101 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9102 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9103 lt_cv_prog_compiler_c_o=yes
9104 fi
9105 fi
9106 chmod u+w . 2>&5
9107 $RM conftest*
9108 # SGI C++ compiler will create directory out/ii_files/ for
9109 # template instantiation
9110 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9111 $RM out/* && rmdir out
9112 cd ..
9113 $RM -r conftest
9114 $RM conftest*
9115
9116 fi
9117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9118 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9119
9120
9121
9122
9123
9124
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9126 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9127 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9128 $as_echo_n "(cached) " >&6
9129 else
9130 lt_cv_prog_compiler_c_o=no
9131 $RM -r conftest 2>/dev/null
9132 mkdir conftest
9133 cd conftest
9134 mkdir out
9135 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9136
9137 lt_compiler_flag="-o out/conftest2.$ac_objext"
9138 # Insert the option either (1) after the last *FLAGS variable, or
9139 # (2) before a word containing "conftest.", or (3) at the end.
9140 # Note that $ac_compile itself does not contain backslashes and begins
9141 # with a dollar sign (not a hyphen), so the echo should work correctly.
9142 lt_compile=`echo "$ac_compile" | $SED \
9143 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9144 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9145 -e 's:$: $lt_compiler_flag:'`
9146 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9147 (eval "$lt_compile" 2>out/conftest.err)
9148 ac_status=$?
9149 cat out/conftest.err >&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9152 then
9153 # The compiler can only warn and ignore the option if not recognized
9154 # So say no if there are warnings
9155 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9156 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9157 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9158 lt_cv_prog_compiler_c_o=yes
9159 fi
9160 fi
9161 chmod u+w . 2>&5
9162 $RM conftest*
9163 # SGI C++ compiler will create directory out/ii_files/ for
9164 # template instantiation
9165 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9166 $RM out/* && rmdir out
9167 cd ..
9168 $RM -r conftest
9169 $RM conftest*
9170
9171 fi
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9173 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9174
9175
9176
9177
9178 hard_links="nottested"
9179 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9180 # do not overwrite the value of need_locks provided by the user
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9182 $as_echo_n "checking if we can lock with hard links... " >&6; }
9183 hard_links=yes
9184 $RM conftest*
9185 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9186 touch conftest.a
9187 ln conftest.a conftest.b 2>&5 || hard_links=no
9188 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9190 $as_echo "$hard_links" >&6; }
9191 if test "$hard_links" = no; then
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9193 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9194 need_locks=warn
9195 fi
9196 else
9197 need_locks=no
9198 fi
9199
9200
9201
9202
9203
9204
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9206 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9207
9208 runpath_var=
9209 allow_undefined_flag=
9210 always_export_symbols=no
9211 archive_cmds=
9212 archive_expsym_cmds=
9213 compiler_needs_object=no
9214 enable_shared_with_static_runtimes=no
9215 export_dynamic_flag_spec=
9216 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9217 hardcode_automatic=no
9218 hardcode_direct=no
9219 hardcode_direct_absolute=no
9220 hardcode_libdir_flag_spec=
9221 hardcode_libdir_flag_spec_ld=
9222 hardcode_libdir_separator=
9223 hardcode_minus_L=no
9224 hardcode_shlibpath_var=unsupported
9225 inherit_rpath=no
9226 link_all_deplibs=unknown
9227 module_cmds=
9228 module_expsym_cmds=
9229 old_archive_from_new_cmds=
9230 old_archive_from_expsyms_cmds=
9231 thread_safe_flag_spec=
9232 whole_archive_flag_spec=
9233 # include_expsyms should be a list of space-separated symbols to be *always*
9234 # included in the symbol list
9235 include_expsyms=
9236 # exclude_expsyms can be an extended regexp of symbols to exclude
9237 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9238 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9239 # as well as any symbol that contains `d'.
9240 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9241 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9242 # platforms (ab)use it in PIC code, but their linkers get confused if
9243 # the symbol is explicitly referenced. Since portable code cannot
9244 # rely on this symbol name, it's probably fine to never include it in
9245 # preloaded symbol tables.
9246 # Exclude shared library initialization/finalization symbols.
9247 extract_expsyms_cmds=
9248
9249 case $host_os in
9250 cygwin* | mingw* | pw32* | cegcc*)
9251 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9252 # When not using gcc, we currently assume that we are using
9253 # Microsoft Visual C++.
9254 if test "$GCC" != yes; then
9255 with_gnu_ld=no
9256 fi
9257 ;;
9258 interix*)
9259 # we just hope/assume this is gcc and not c89 (= MSVC++)
9260 with_gnu_ld=yes
9261 ;;
9262 openbsd*)
9263 with_gnu_ld=no
9264 ;;
9265 esac
9266
9267 ld_shlibs=yes
9268
9269 # On some targets, GNU ld is compatible enough with the native linker
9270 # that we're better off using the native interface for both.
9271 lt_use_gnu_ld_interface=no
9272 if test "$with_gnu_ld" = yes; then
9273 case $host_os in
9274 aix*)
9275 # The AIX port of GNU ld has always aspired to compatibility
9276 # with the native linker. However, as the warning in the GNU ld
9277 # block says, versions before 2.19.5* couldn't really create working
9278 # shared libraries, regardless of the interface used.
9279 case `$LD -v 2>&1` in
9280 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9281 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9282 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9283 *)
9284 lt_use_gnu_ld_interface=yes
9285 ;;
9286 esac
9287 ;;
9288 *)
9289 lt_use_gnu_ld_interface=yes
9290 ;;
9291 esac
9292 fi
9293
9294 if test "$lt_use_gnu_ld_interface" = yes; then
9295 # If archive_cmds runs LD, not CC, wlarc should be empty
9296 wlarc='${wl}'
9297
9298 # Set some defaults for GNU ld with shared library support. These
9299 # are reset later if shared libraries are not supported. Putting them
9300 # here allows them to be overridden if necessary.
9301 runpath_var=LD_RUN_PATH
9302 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9303 export_dynamic_flag_spec='${wl}--export-dynamic'
9304 # ancient GNU ld didn't support --whole-archive et. al.
9305 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9306 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9307 else
9308 whole_archive_flag_spec=
9309 fi
9310 supports_anon_versioning=no
9311 case `$LD -v 2>&1` in
9312 *GNU\ gold*) supports_anon_versioning=yes ;;
9313 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9314 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9315 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9316 *\ 2.11.*) ;; # other 2.11 versions
9317 *) supports_anon_versioning=yes ;;
9318 esac
9319
9320 # See if GNU ld supports shared libraries.
9321 case $host_os in
9322 aix[3-9]*)
9323 # On AIX/PPC, the GNU linker is very broken
9324 if test "$host_cpu" != ia64; then
9325 ld_shlibs=no
9326 cat <<_LT_EOF 1>&2
9327
9328 *** Warning: the GNU linker, at least up to release 2.19, is reported
9329 *** to be unable to reliably create shared libraries on AIX.
9330 *** Therefore, libtool is disabling shared libraries support. If you
9331 *** really care for shared libraries, you may want to install binutils
9332 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9333 *** You will then need to restart the configuration process.
9334
9335 _LT_EOF
9336 fi
9337 ;;
9338
9339 amigaos*)
9340 case $host_cpu in
9341 powerpc)
9342 # see comment about AmigaOS4 .so support
9343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 archive_expsym_cmds=''
9345 ;;
9346 m68k)
9347 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)'
9348 hardcode_libdir_flag_spec='-L$libdir'
9349 hardcode_minus_L=yes
9350 ;;
9351 esac
9352 ;;
9353
9354 beos*)
9355 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9356 allow_undefined_flag=unsupported
9357 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9358 # support --undefined. This deserves some investigation. FIXME
9359 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 else
9361 ld_shlibs=no
9362 fi
9363 ;;
9364
9365 cygwin* | mingw* | pw32* | cegcc*)
9366 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9367 # as there is no search path for DLLs.
9368 hardcode_libdir_flag_spec='-L$libdir'
9369 export_dynamic_flag_spec='${wl}--export-all-symbols'
9370 allow_undefined_flag=unsupported
9371 always_export_symbols=no
9372 enable_shared_with_static_runtimes=yes
9373 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9374
9375 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9376 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9377 # If the export-symbols file already is a .def file (1st line
9378 # is EXPORTS), use it as is; otherwise, prepend...
9379 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9380 cp $export_symbols $output_objdir/$soname.def;
9381 else
9382 echo EXPORTS > $output_objdir/$soname.def;
9383 cat $export_symbols >> $output_objdir/$soname.def;
9384 fi~
9385 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9386 else
9387 ld_shlibs=no
9388 fi
9389 ;;
9390
9391 haiku*)
9392 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9393 link_all_deplibs=yes
9394 ;;
9395
9396 interix[3-9]*)
9397 hardcode_direct=no
9398 hardcode_shlibpath_var=no
9399 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9400 export_dynamic_flag_spec='${wl}-E'
9401 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9402 # Instead, shared libraries are loaded at an image base (0x10000000 by
9403 # default) and relocated if they conflict, which is a slow very memory
9404 # consuming and fragmenting process. To avoid this, we pick a random,
9405 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9406 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9407 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9408 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'
9409 ;;
9410
9411 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9412 tmp_diet=no
9413 if test "$host_os" = linux-dietlibc; then
9414 case $cc_basename in
9415 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9416 esac
9417 fi
9418 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9419 && test "$tmp_diet" = no
9420 then
9421 tmp_addflag=' $pic_flag'
9422 tmp_sharedflag='-shared'
9423 case $cc_basename,$host_cpu in
9424 pgcc*) # Portland Group C compiler
9425 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'
9426 tmp_addflag=' $pic_flag'
9427 ;;
9428 pgf77* | pgf90* | pgf95* | pgfortran*)
9429 # Portland Group f77 and f90 compilers
9430 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'
9431 tmp_addflag=' $pic_flag -Mnomain' ;;
9432 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9433 tmp_addflag=' -i_dynamic' ;;
9434 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9435 tmp_addflag=' -i_dynamic -nofor_main' ;;
9436 ifc* | ifort*) # Intel Fortran compiler
9437 tmp_addflag=' -nofor_main' ;;
9438 lf95*) # Lahey Fortran 8.1
9439 whole_archive_flag_spec=
9440 tmp_sharedflag='--shared' ;;
9441 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9442 tmp_sharedflag='-qmkshrobj'
9443 tmp_addflag= ;;
9444 nvcc*) # Cuda Compiler Driver 2.2
9445 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'
9446 compiler_needs_object=yes
9447 ;;
9448 esac
9449 case `$CC -V 2>&1 | sed 5q` in
9450 *Sun\ C*) # Sun C 5.9
9451 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'
9452 compiler_needs_object=yes
9453 tmp_sharedflag='-G' ;;
9454 *Sun\ F*) # Sun Fortran 8.3
9455 tmp_sharedflag='-G' ;;
9456 esac
9457 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9458
9459 if test "x$supports_anon_versioning" = xyes; then
9460 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9462 echo "local: *; };" >> $output_objdir/$libname.ver~
9463 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9464 fi
9465
9466 case $cc_basename in
9467 xlf* | bgf* | bgxlf* | mpixlf*)
9468 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9469 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9470 hardcode_libdir_flag_spec=
9471 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9472 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9473 if test "x$supports_anon_versioning" = xyes; then
9474 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9475 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9476 echo "local: *; };" >> $output_objdir/$libname.ver~
9477 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9478 fi
9479 ;;
9480 esac
9481 else
9482 ld_shlibs=no
9483 fi
9484 ;;
9485
9486 netbsd*)
9487 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9488 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9489 wlarc=
9490 else
9491 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9492 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9493 fi
9494 ;;
9495
9496 solaris*)
9497 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9498 ld_shlibs=no
9499 cat <<_LT_EOF 1>&2
9500
9501 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9502 *** create shared libraries on Solaris systems. Therefore, libtool
9503 *** is disabling shared libraries support. We urge you to upgrade GNU
9504 *** binutils to release 2.9.1 or newer. Another option is to modify
9505 *** your PATH or compiler configuration so that the native linker is
9506 *** used, and then restart.
9507
9508 _LT_EOF
9509 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9510 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9511 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9512 else
9513 ld_shlibs=no
9514 fi
9515 ;;
9516
9517 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9518 case `$LD -v 2>&1` in
9519 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9520 ld_shlibs=no
9521 cat <<_LT_EOF 1>&2
9522
9523 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9524 *** reliably create shared libraries on SCO systems. Therefore, libtool
9525 *** is disabling shared libraries support. We urge you to upgrade GNU
9526 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9527 *** your PATH or compiler configuration so that the native linker is
9528 *** used, and then restart.
9529
9530 _LT_EOF
9531 ;;
9532 *)
9533 # For security reasons, it is highly recommended that you always
9534 # use absolute paths for naming shared libraries, and exclude the
9535 # DT_RUNPATH tag from executables and libraries. But doing so
9536 # requires that you compile everything twice, which is a pain.
9537 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9538 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9539 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9540 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9541 else
9542 ld_shlibs=no
9543 fi
9544 ;;
9545 esac
9546 ;;
9547
9548 sunos4*)
9549 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9550 wlarc=
9551 hardcode_direct=yes
9552 hardcode_shlibpath_var=no
9553 ;;
9554
9555 *)
9556 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9557 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9558 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9559 else
9560 ld_shlibs=no
9561 fi
9562 ;;
9563 esac
9564
9565 if test "$ld_shlibs" = no; then
9566 runpath_var=
9567 hardcode_libdir_flag_spec=
9568 export_dynamic_flag_spec=
9569 whole_archive_flag_spec=
9570 fi
9571 else
9572 # PORTME fill in a description of your system's linker (not GNU ld)
9573 case $host_os in
9574 aix3*)
9575 allow_undefined_flag=unsupported
9576 always_export_symbols=yes
9577 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'
9578 # Note: this linker hardcodes the directories in LIBPATH if there
9579 # are no directories specified by -L.
9580 hardcode_minus_L=yes
9581 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9582 # Neither direct hardcoding nor static linking is supported with a
9583 # broken collect2.
9584 hardcode_direct=unsupported
9585 fi
9586 ;;
9587
9588 aix[4-9]*)
9589 if test "$host_cpu" = ia64; then
9590 # On IA64, the linker does run time linking by default, so we don't
9591 # have to do anything special.
9592 aix_use_runtimelinking=no
9593 exp_sym_flag='-Bexport'
9594 no_entry_flag=""
9595 else
9596 # If we're using GNU nm, then we don't want the "-C" option.
9597 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9598 # Also, AIX nm treats weak defined symbols like other global
9599 # defined symbols, whereas GNU nm marks them as "W".
9600 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9601 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'
9602 else
9603 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'
9604 fi
9605 aix_use_runtimelinking=no
9606
9607 # Test if we are trying to use run time linking or normal
9608 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9609 # need to do runtime linking.
9610 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9611 for ld_flag in $LDFLAGS; do
9612 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9613 aix_use_runtimelinking=yes
9614 break
9615 fi
9616 done
9617 ;;
9618 esac
9619
9620 exp_sym_flag='-bexport'
9621 no_entry_flag='-bnoentry'
9622 fi
9623
9624 # When large executables or shared objects are built, AIX ld can
9625 # have problems creating the table of contents. If linking a library
9626 # or program results in "error TOC overflow" add -mminimal-toc to
9627 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9628 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9629
9630 archive_cmds=''
9631 hardcode_direct=yes
9632 hardcode_direct_absolute=yes
9633 hardcode_libdir_separator=':'
9634 link_all_deplibs=yes
9635 file_list_spec='${wl}-f,'
9636
9637 if test "$GCC" = yes; then
9638 case $host_os in aix4.[012]|aix4.[012].*)
9639 # We only want to do this on AIX 4.2 and lower, the check
9640 # below for broken collect2 doesn't work under 4.3+
9641 collect2name=`${CC} -print-prog-name=collect2`
9642 if test -f "$collect2name" &&
9643 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9644 then
9645 # We have reworked collect2
9646 :
9647 else
9648 # We have old collect2
9649 hardcode_direct=unsupported
9650 # It fails to find uninstalled libraries when the uninstalled
9651 # path is not listed in the libpath. Setting hardcode_minus_L
9652 # to unsupported forces relinking
9653 hardcode_minus_L=yes
9654 hardcode_libdir_flag_spec='-L$libdir'
9655 hardcode_libdir_separator=
9656 fi
9657 ;;
9658 esac
9659 shared_flag='-shared'
9660 if test "$aix_use_runtimelinking" = yes; then
9661 shared_flag="$shared_flag "'${wl}-G'
9662 fi
9663 else
9664 # not using gcc
9665 if test "$host_cpu" = ia64; then
9666 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9667 # chokes on -Wl,-G. The following line is correct:
9668 shared_flag='-G'
9669 else
9670 if test "$aix_use_runtimelinking" = yes; then
9671 shared_flag='${wl}-G'
9672 else
9673 shared_flag='${wl}-bM:SRE'
9674 fi
9675 fi
9676 fi
9677
9678 export_dynamic_flag_spec='${wl}-bexpall'
9679 # It seems that -bexpall does not export symbols beginning with
9680 # underscore (_), so it is better to generate a list of symbols to export.
9681 always_export_symbols=yes
9682 if test "$aix_use_runtimelinking" = yes; then
9683 # Warning - without using the other runtime loading flags (-brtl),
9684 # -berok will link without error, but may produce a broken library.
9685 allow_undefined_flag='-berok'
9686 # Determine the default libpath from the value encoded in an
9687 # empty executable.
9688 if test x$gcc_no_link = xyes; then
9689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9690 fi
9691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9692 /* end confdefs.h. */
9693
9694 int
9695 main ()
9696 {
9697
9698 ;
9699 return 0;
9700 }
9701 _ACEOF
9702 if ac_fn_c_try_link "$LINENO"; then :
9703
9704 lt_aix_libpath_sed='
9705 /Import File Strings/,/^$/ {
9706 /^0/ {
9707 s/^0 *\(.*\)$/\1/
9708 p
9709 }
9710 }'
9711 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9712 # Check for a 64-bit object if we didn't find anything.
9713 if test -z "$aix_libpath"; then
9714 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9715 fi
9716 fi
9717 rm -f core conftest.err conftest.$ac_objext \
9718 conftest$ac_exeext conftest.$ac_ext
9719 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9720
9721 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9722 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"
9723 else
9724 if test "$host_cpu" = ia64; then
9725 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9726 allow_undefined_flag="-z nodefs"
9727 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"
9728 else
9729 # Determine the default libpath from the value encoded in an
9730 # empty executable.
9731 if test x$gcc_no_link = xyes; then
9732 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9733 fi
9734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9735 /* end confdefs.h. */
9736
9737 int
9738 main ()
9739 {
9740
9741 ;
9742 return 0;
9743 }
9744 _ACEOF
9745 if ac_fn_c_try_link "$LINENO"; then :
9746
9747 lt_aix_libpath_sed='
9748 /Import File Strings/,/^$/ {
9749 /^0/ {
9750 s/^0 *\(.*\)$/\1/
9751 p
9752 }
9753 }'
9754 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9755 # Check for a 64-bit object if we didn't find anything.
9756 if test -z "$aix_libpath"; then
9757 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9758 fi
9759 fi
9760 rm -f core conftest.err conftest.$ac_objext \
9761 conftest$ac_exeext conftest.$ac_ext
9762 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9763
9764 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9765 # Warning - without using the other run time loading flags,
9766 # -berok will link without error, but may produce a broken library.
9767 no_undefined_flag=' ${wl}-bernotok'
9768 allow_undefined_flag=' ${wl}-berok'
9769 if test "$with_gnu_ld" = yes; then
9770 # We only use this code for GNU lds that support --whole-archive.
9771 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9772 else
9773 # Exported symbols can be pulled into shared objects from archives
9774 whole_archive_flag_spec='$convenience'
9775 fi
9776 archive_cmds_need_lc=yes
9777 # This is similar to how AIX traditionally builds its shared libraries.
9778 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'
9779 fi
9780 fi
9781 ;;
9782
9783 amigaos*)
9784 case $host_cpu in
9785 powerpc)
9786 # see comment about AmigaOS4 .so support
9787 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9788 archive_expsym_cmds=''
9789 ;;
9790 m68k)
9791 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)'
9792 hardcode_libdir_flag_spec='-L$libdir'
9793 hardcode_minus_L=yes
9794 ;;
9795 esac
9796 ;;
9797
9798 bsdi[45]*)
9799 export_dynamic_flag_spec=-rdynamic
9800 ;;
9801
9802 cygwin* | mingw* | pw32* | cegcc*)
9803 # When not using gcc, we currently assume that we are using
9804 # Microsoft Visual C++.
9805 # hardcode_libdir_flag_spec is actually meaningless, as there is
9806 # no search path for DLLs.
9807 hardcode_libdir_flag_spec=' '
9808 allow_undefined_flag=unsupported
9809 # Tell ltmain to make .lib files, not .a files.
9810 libext=lib
9811 # Tell ltmain to make .dll files, not .so files.
9812 shrext_cmds=".dll"
9813 # FIXME: Setting linknames here is a bad hack.
9814 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9815 # The linker will automatically build a .lib file if we build a DLL.
9816 old_archive_from_new_cmds='true'
9817 # FIXME: Should let the user specify the lib program.
9818 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9819 fix_srcfile_path='`cygpath -w "$srcfile"`'
9820 enable_shared_with_static_runtimes=yes
9821 ;;
9822
9823 darwin* | rhapsody*)
9824
9825
9826 archive_cmds_need_lc=no
9827 hardcode_direct=no
9828 hardcode_automatic=yes
9829 hardcode_shlibpath_var=unsupported
9830 if test "$lt_cv_ld_force_load" = "yes"; then
9831 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\"`'
9832 else
9833 whole_archive_flag_spec=''
9834 fi
9835 link_all_deplibs=yes
9836 allow_undefined_flag="$_lt_dar_allow_undefined"
9837 case $cc_basename in
9838 ifort*) _lt_dar_can_shared=yes ;;
9839 *) _lt_dar_can_shared=$GCC ;;
9840 esac
9841 if test "$_lt_dar_can_shared" = "yes"; then
9842 output_verbose_link_cmd=func_echo_all
9843 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9844 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9845 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}"
9846 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}"
9847
9848 else
9849 ld_shlibs=no
9850 fi
9851
9852 ;;
9853
9854 dgux*)
9855 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9856 hardcode_libdir_flag_spec='-L$libdir'
9857 hardcode_shlibpath_var=no
9858 ;;
9859
9860 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9861 # support. Future versions do this automatically, but an explicit c++rt0.o
9862 # does not break anything, and helps significantly (at the cost of a little
9863 # extra space).
9864 freebsd2.2*)
9865 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9866 hardcode_libdir_flag_spec='-R$libdir'
9867 hardcode_direct=yes
9868 hardcode_shlibpath_var=no
9869 ;;
9870
9871 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9872 freebsd2.*)
9873 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9874 hardcode_direct=yes
9875 hardcode_minus_L=yes
9876 hardcode_shlibpath_var=no
9877 ;;
9878
9879 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9880 freebsd* | dragonfly*)
9881 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9882 hardcode_libdir_flag_spec='-R$libdir'
9883 hardcode_direct=yes
9884 hardcode_shlibpath_var=no
9885 ;;
9886
9887 hpux9*)
9888 if test "$GCC" = yes; then
9889 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'
9890 else
9891 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'
9892 fi
9893 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9894 hardcode_libdir_separator=:
9895 hardcode_direct=yes
9896
9897 # hardcode_minus_L: Not really in the search PATH,
9898 # but as the default location of the library.
9899 hardcode_minus_L=yes
9900 export_dynamic_flag_spec='${wl}-E'
9901 ;;
9902
9903 hpux10*)
9904 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9905 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9906 else
9907 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9908 fi
9909 if test "$with_gnu_ld" = no; then
9910 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9911 hardcode_libdir_flag_spec_ld='+b $libdir'
9912 hardcode_libdir_separator=:
9913 hardcode_direct=yes
9914 hardcode_direct_absolute=yes
9915 export_dynamic_flag_spec='${wl}-E'
9916 # hardcode_minus_L: Not really in the search PATH,
9917 # but as the default location of the library.
9918 hardcode_minus_L=yes
9919 fi
9920 ;;
9921
9922 hpux11*)
9923 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9924 case $host_cpu in
9925 hppa*64*)
9926 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9927 ;;
9928 ia64*)
9929 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9930 ;;
9931 *)
9932 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9933 ;;
9934 esac
9935 else
9936 case $host_cpu in
9937 hppa*64*)
9938 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9939 ;;
9940 ia64*)
9941 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9942 ;;
9943 *)
9944
9945 # Older versions of the 11.00 compiler do not understand -b yet
9946 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9948 $as_echo_n "checking if $CC understands -b... " >&6; }
9949 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9950 $as_echo_n "(cached) " >&6
9951 else
9952 lt_cv_prog_compiler__b=no
9953 save_LDFLAGS="$LDFLAGS"
9954 LDFLAGS="$LDFLAGS -b"
9955 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9956 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9957 # The linker can only warn and ignore the option if not recognized
9958 # So say no if there are warnings
9959 if test -s conftest.err; then
9960 # Append any errors to the config.log.
9961 cat conftest.err 1>&5
9962 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9963 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9964 if diff conftest.exp conftest.er2 >/dev/null; then
9965 lt_cv_prog_compiler__b=yes
9966 fi
9967 else
9968 lt_cv_prog_compiler__b=yes
9969 fi
9970 fi
9971 $RM -r conftest*
9972 LDFLAGS="$save_LDFLAGS"
9973
9974 fi
9975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9976 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9977
9978 if test x"$lt_cv_prog_compiler__b" = xyes; then
9979 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9980 else
9981 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9982 fi
9983
9984 ;;
9985 esac
9986 fi
9987 if test "$with_gnu_ld" = no; then
9988 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9989 hardcode_libdir_separator=:
9990
9991 case $host_cpu in
9992 hppa*64*|ia64*)
9993 hardcode_direct=no
9994 hardcode_shlibpath_var=no
9995 ;;
9996 *)
9997 hardcode_direct=yes
9998 hardcode_direct_absolute=yes
9999 export_dynamic_flag_spec='${wl}-E'
10000
10001 # hardcode_minus_L: Not really in the search PATH,
10002 # but as the default location of the library.
10003 hardcode_minus_L=yes
10004 ;;
10005 esac
10006 fi
10007 ;;
10008
10009 irix5* | irix6* | nonstopux*)
10010 if test "$GCC" = yes; then
10011 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'
10012 # Try to use the -exported_symbol ld option, if it does not
10013 # work, assume that -exports_file does not work either and
10014 # implicitly export all symbols.
10015 save_LDFLAGS="$LDFLAGS"
10016 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10017 if test x$gcc_no_link = xyes; then
10018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10019 fi
10020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10021 /* end confdefs.h. */
10022 int foo(void) {}
10023 _ACEOF
10024 if ac_fn_c_try_link "$LINENO"; then :
10025 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'
10026
10027 fi
10028 rm -f core conftest.err conftest.$ac_objext \
10029 conftest$ac_exeext conftest.$ac_ext
10030 LDFLAGS="$save_LDFLAGS"
10031 else
10032 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'
10033 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'
10034 fi
10035 archive_cmds_need_lc='no'
10036 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10037 hardcode_libdir_separator=:
10038 inherit_rpath=yes
10039 link_all_deplibs=yes
10040 ;;
10041
10042 netbsd*)
10043 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10044 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10045 else
10046 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10047 fi
10048 hardcode_libdir_flag_spec='-R$libdir'
10049 hardcode_direct=yes
10050 hardcode_shlibpath_var=no
10051 ;;
10052
10053 newsos6)
10054 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10055 hardcode_direct=yes
10056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10057 hardcode_libdir_separator=:
10058 hardcode_shlibpath_var=no
10059 ;;
10060
10061 *nto* | *qnx*)
10062 ;;
10063
10064 openbsd*)
10065 if test -f /usr/libexec/ld.so; then
10066 hardcode_direct=yes
10067 hardcode_shlibpath_var=no
10068 hardcode_direct_absolute=yes
10069 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10070 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10071 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10072 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10073 export_dynamic_flag_spec='${wl}-E'
10074 else
10075 case $host_os in
10076 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10077 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10078 hardcode_libdir_flag_spec='-R$libdir'
10079 ;;
10080 *)
10081 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10082 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10083 ;;
10084 esac
10085 fi
10086 else
10087 ld_shlibs=no
10088 fi
10089 ;;
10090
10091 os2*)
10092 hardcode_libdir_flag_spec='-L$libdir'
10093 hardcode_minus_L=yes
10094 allow_undefined_flag=unsupported
10095 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'
10096 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10097 ;;
10098
10099 osf3*)
10100 if test "$GCC" = yes; then
10101 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10102 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'
10103 else
10104 allow_undefined_flag=' -expect_unresolved \*'
10105 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'
10106 fi
10107 archive_cmds_need_lc='no'
10108 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10109 hardcode_libdir_separator=:
10110 ;;
10111
10112 osf4* | osf5*) # as osf3* with the addition of -msym flag
10113 if test "$GCC" = yes; then
10114 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10115 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'
10116 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10117 else
10118 allow_undefined_flag=' -expect_unresolved \*'
10119 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'
10120 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~
10121 $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'
10122
10123 # Both c and cxx compiler support -rpath directly
10124 hardcode_libdir_flag_spec='-rpath $libdir'
10125 fi
10126 archive_cmds_need_lc='no'
10127 hardcode_libdir_separator=:
10128 ;;
10129
10130 solaris*)
10131 no_undefined_flag=' -z defs'
10132 if test "$GCC" = yes; then
10133 wlarc='${wl}'
10134 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10135 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10136 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10137 else
10138 case `$CC -V 2>&1` in
10139 *"Compilers 5.0"*)
10140 wlarc=''
10141 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10143 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10144 ;;
10145 *)
10146 wlarc='${wl}'
10147 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10148 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10149 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10150 ;;
10151 esac
10152 fi
10153 hardcode_libdir_flag_spec='-R$libdir'
10154 hardcode_shlibpath_var=no
10155 case $host_os in
10156 solaris2.[0-5] | solaris2.[0-5].*) ;;
10157 *)
10158 # The compiler driver will combine and reorder linker options,
10159 # but understands `-z linker_flag'. GCC discards it without `$wl',
10160 # but is careful enough not to reorder.
10161 # Supported since Solaris 2.6 (maybe 2.5.1?)
10162 if test "$GCC" = yes; then
10163 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10164 else
10165 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10166 fi
10167 ;;
10168 esac
10169 link_all_deplibs=yes
10170 ;;
10171
10172 sunos4*)
10173 if test "x$host_vendor" = xsequent; then
10174 # Use $CC to link under sequent, because it throws in some extra .o
10175 # files that make .init and .fini sections work.
10176 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10177 else
10178 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10179 fi
10180 hardcode_libdir_flag_spec='-L$libdir'
10181 hardcode_direct=yes
10182 hardcode_minus_L=yes
10183 hardcode_shlibpath_var=no
10184 ;;
10185
10186 sysv4)
10187 case $host_vendor in
10188 sni)
10189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10190 hardcode_direct=yes # is this really true???
10191 ;;
10192 siemens)
10193 ## LD is ld it makes a PLAMLIB
10194 ## CC just makes a GrossModule.
10195 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10196 reload_cmds='$CC -r -o $output$reload_objs'
10197 hardcode_direct=no
10198 ;;
10199 motorola)
10200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10201 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10202 ;;
10203 esac
10204 runpath_var='LD_RUN_PATH'
10205 hardcode_shlibpath_var=no
10206 ;;
10207
10208 sysv4.3*)
10209 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10210 hardcode_shlibpath_var=no
10211 export_dynamic_flag_spec='-Bexport'
10212 ;;
10213
10214 sysv4*MP*)
10215 if test -d /usr/nec; then
10216 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10217 hardcode_shlibpath_var=no
10218 runpath_var=LD_RUN_PATH
10219 hardcode_runpath_var=yes
10220 ld_shlibs=yes
10221 fi
10222 ;;
10223
10224 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10225 no_undefined_flag='${wl}-z,text'
10226 archive_cmds_need_lc=no
10227 hardcode_shlibpath_var=no
10228 runpath_var='LD_RUN_PATH'
10229
10230 if test "$GCC" = yes; then
10231 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10232 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10233 else
10234 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10235 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10236 fi
10237 ;;
10238
10239 sysv5* | sco3.2v5* | sco5v6*)
10240 # Note: We can NOT use -z defs as we might desire, because we do not
10241 # link with -lc, and that would cause any symbols used from libc to
10242 # always be unresolved, which means just about no library would
10243 # ever link correctly. If we're not using GNU ld we use -z text
10244 # though, which does catch some bad symbols but isn't as heavy-handed
10245 # as -z defs.
10246 no_undefined_flag='${wl}-z,text'
10247 allow_undefined_flag='${wl}-z,nodefs'
10248 archive_cmds_need_lc=no
10249 hardcode_shlibpath_var=no
10250 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10251 hardcode_libdir_separator=':'
10252 link_all_deplibs=yes
10253 export_dynamic_flag_spec='${wl}-Bexport'
10254 runpath_var='LD_RUN_PATH'
10255
10256 if test "$GCC" = yes; then
10257 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10258 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10259 else
10260 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10262 fi
10263 ;;
10264
10265 uts4*)
10266 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10267 hardcode_libdir_flag_spec='-L$libdir'
10268 hardcode_shlibpath_var=no
10269 ;;
10270
10271 *)
10272 ld_shlibs=no
10273 ;;
10274 esac
10275
10276 if test x$host_vendor = xsni; then
10277 case $host in
10278 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10279 export_dynamic_flag_spec='${wl}-Blargedynsym'
10280 ;;
10281 esac
10282 fi
10283 fi
10284
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10286 $as_echo "$ld_shlibs" >&6; }
10287 test "$ld_shlibs" = no && can_build_shared=no
10288
10289 with_gnu_ld=$with_gnu_ld
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305 #
10306 # Do we need to explicitly link libc?
10307 #
10308 case "x$archive_cmds_need_lc" in
10309 x|xyes)
10310 # Assume -lc should be added
10311 archive_cmds_need_lc=yes
10312
10313 if test "$enable_shared" = yes && test "$GCC" = yes; then
10314 case $archive_cmds in
10315 *'~'*)
10316 # FIXME: we may have to deal with multi-command sequences.
10317 ;;
10318 '$CC '*)
10319 # Test whether the compiler implicitly links with -lc since on some
10320 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10321 # to ld, don't add -lc before -lgcc.
10322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10323 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10324 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10325 $as_echo_n "(cached) " >&6
10326 else
10327 $RM conftest*
10328 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10329
10330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10331 (eval $ac_compile) 2>&5
10332 ac_status=$?
10333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10334 test $ac_status = 0; } 2>conftest.err; then
10335 soname=conftest
10336 lib=conftest
10337 libobjs=conftest.$ac_objext
10338 deplibs=
10339 wl=$lt_prog_compiler_wl
10340 pic_flag=$lt_prog_compiler_pic
10341 compiler_flags=-v
10342 linker_flags=-v
10343 verstring=
10344 output_objdir=.
10345 libname=conftest
10346 lt_save_allow_undefined_flag=$allow_undefined_flag
10347 allow_undefined_flag=
10348 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10349 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10350 ac_status=$?
10351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10352 test $ac_status = 0; }
10353 then
10354 lt_cv_archive_cmds_need_lc=no
10355 else
10356 lt_cv_archive_cmds_need_lc=yes
10357 fi
10358 allow_undefined_flag=$lt_save_allow_undefined_flag
10359 else
10360 cat conftest.err 1>&5
10361 fi
10362 $RM conftest*
10363
10364 fi
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10366 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10367 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10368 ;;
10369 esac
10370 fi
10371 ;;
10372 esac
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10531 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10532
10533 if test "$GCC" = yes; then
10534 case $host_os in
10535 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10536 *) lt_awk_arg="/^libraries:/" ;;
10537 esac
10538 case $host_os in
10539 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10540 *) lt_sed_strip_eq="s,=/,/,g" ;;
10541 esac
10542 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10543 case $lt_search_path_spec in
10544 *\;*)
10545 # if the path contains ";" then we assume it to be the separator
10546 # otherwise default to the standard path separator (i.e. ":") - it is
10547 # assumed that no part of a normal pathname contains ";" but that should
10548 # okay in the real world where ";" in dirpaths is itself problematic.
10549 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10550 ;;
10551 *)
10552 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10553 ;;
10554 esac
10555 # Ok, now we have the path, separated by spaces, we can step through it
10556 # and add multilib dir if necessary.
10557 lt_tmp_lt_search_path_spec=
10558 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10559 for lt_sys_path in $lt_search_path_spec; do
10560 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10561 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10562 else
10563 test -d "$lt_sys_path" && \
10564 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10565 fi
10566 done
10567 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10568 BEGIN {RS=" "; FS="/|\n";} {
10569 lt_foo="";
10570 lt_count=0;
10571 for (lt_i = NF; lt_i > 0; lt_i--) {
10572 if ($lt_i != "" && $lt_i != ".") {
10573 if ($lt_i == "..") {
10574 lt_count++;
10575 } else {
10576 if (lt_count == 0) {
10577 lt_foo="/" $lt_i lt_foo;
10578 } else {
10579 lt_count--;
10580 }
10581 }
10582 }
10583 }
10584 if (lt_foo != "") { lt_freq[lt_foo]++; }
10585 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10586 }'`
10587 # AWK program above erroneously prepends '/' to C:/dos/paths
10588 # for these hosts.
10589 case $host_os in
10590 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10591 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10592 esac
10593 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10594 else
10595 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10596 fi
10597 library_names_spec=
10598 libname_spec='lib$name'
10599 soname_spec=
10600 shrext_cmds=".so"
10601 postinstall_cmds=
10602 postuninstall_cmds=
10603 finish_cmds=
10604 finish_eval=
10605 shlibpath_var=
10606 shlibpath_overrides_runpath=unknown
10607 version_type=none
10608 dynamic_linker="$host_os ld.so"
10609 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10610 need_lib_prefix=unknown
10611 hardcode_into_libs=no
10612
10613 # when you set need_version to no, make sure it does not cause -set_version
10614 # flags to be left without arguments
10615 need_version=unknown
10616
10617 case $host_os in
10618 aix3*)
10619 version_type=linux
10620 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10621 shlibpath_var=LIBPATH
10622
10623 # AIX 3 has no versioning support, so we append a major version to the name.
10624 soname_spec='${libname}${release}${shared_ext}$major'
10625 ;;
10626
10627 aix[4-9]*)
10628 version_type=linux
10629 need_lib_prefix=no
10630 need_version=no
10631 hardcode_into_libs=yes
10632 if test "$host_cpu" = ia64; then
10633 # AIX 5 supports IA64
10634 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10635 shlibpath_var=LD_LIBRARY_PATH
10636 else
10637 # With GCC up to 2.95.x, collect2 would create an import file
10638 # for dependence libraries. The import file would start with
10639 # the line `#! .'. This would cause the generated library to
10640 # depend on `.', always an invalid library. This was fixed in
10641 # development snapshots of GCC prior to 3.0.
10642 case $host_os in
10643 aix4 | aix4.[01] | aix4.[01].*)
10644 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10645 echo ' yes '
10646 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10647 :
10648 else
10649 can_build_shared=no
10650 fi
10651 ;;
10652 esac
10653 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10654 # soname into executable. Probably we can add versioning support to
10655 # collect2, so additional links can be useful in future.
10656 if test "$aix_use_runtimelinking" = yes; then
10657 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10658 # instead of lib<name>.a to let people know that these are not
10659 # typical AIX shared libraries.
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10661 else
10662 # We preserve .a as extension for shared libraries through AIX4.2
10663 # and later when we are not doing run time linking.
10664 library_names_spec='${libname}${release}.a $libname.a'
10665 soname_spec='${libname}${release}${shared_ext}$major'
10666 fi
10667 shlibpath_var=LIBPATH
10668 fi
10669 ;;
10670
10671 amigaos*)
10672 case $host_cpu in
10673 powerpc)
10674 # Since July 2007 AmigaOS4 officially supports .so libraries.
10675 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10677 ;;
10678 m68k)
10679 library_names_spec='$libname.ixlibrary $libname.a'
10680 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10681 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'
10682 ;;
10683 esac
10684 ;;
10685
10686 beos*)
10687 library_names_spec='${libname}${shared_ext}'
10688 dynamic_linker="$host_os ld.so"
10689 shlibpath_var=LIBRARY_PATH
10690 ;;
10691
10692 bsdi[45]*)
10693 version_type=linux
10694 need_version=no
10695 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10696 soname_spec='${libname}${release}${shared_ext}$major'
10697 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10698 shlibpath_var=LD_LIBRARY_PATH
10699 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10700 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10701 # the default ld.so.conf also contains /usr/contrib/lib and
10702 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10703 # libtool to hard-code these into programs
10704 ;;
10705
10706 cygwin* | mingw* | pw32* | cegcc*)
10707 version_type=windows
10708 shrext_cmds=".dll"
10709 need_version=no
10710 need_lib_prefix=no
10711
10712 case $GCC,$host_os in
10713 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10714 library_names_spec='$libname.dll.a'
10715 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10716 postinstall_cmds='base_file=`basename \${file}`~
10717 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10718 dldir=$destdir/`dirname \$dlpath`~
10719 test -d \$dldir || mkdir -p \$dldir~
10720 $install_prog $dir/$dlname \$dldir/$dlname~
10721 chmod a+x \$dldir/$dlname~
10722 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10723 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10724 fi'
10725 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10726 dlpath=$dir/\$dldll~
10727 $RM \$dlpath'
10728 shlibpath_overrides_runpath=yes
10729
10730 case $host_os in
10731 cygwin*)
10732 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10733 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10734
10735 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10736 ;;
10737 mingw* | cegcc*)
10738 # MinGW DLLs use traditional 'lib' prefix
10739 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10740 ;;
10741 pw32*)
10742 # pw32 DLLs use 'pw' prefix rather than 'lib'
10743 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10744 ;;
10745 esac
10746 ;;
10747
10748 *)
10749 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10750 ;;
10751 esac
10752 dynamic_linker='Win32 ld.exe'
10753 # FIXME: first we should search . and the directory the executable is in
10754 shlibpath_var=PATH
10755 ;;
10756
10757 darwin* | rhapsody*)
10758 dynamic_linker="$host_os dyld"
10759 version_type=darwin
10760 need_lib_prefix=no
10761 need_version=no
10762 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10763 soname_spec='${libname}${release}${major}$shared_ext'
10764 shlibpath_overrides_runpath=yes
10765 shlibpath_var=DYLD_LIBRARY_PATH
10766 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10767
10768 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10769 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10770 ;;
10771
10772 dgux*)
10773 version_type=linux
10774 need_lib_prefix=no
10775 need_version=no
10776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10777 soname_spec='${libname}${release}${shared_ext}$major'
10778 shlibpath_var=LD_LIBRARY_PATH
10779 ;;
10780
10781 freebsd* | dragonfly*)
10782 # DragonFly does not have aout. When/if they implement a new
10783 # versioning mechanism, adjust this.
10784 if test -x /usr/bin/objformat; then
10785 objformat=`/usr/bin/objformat`
10786 else
10787 case $host_os in
10788 freebsd[23].*) objformat=aout ;;
10789 *) objformat=elf ;;
10790 esac
10791 fi
10792 version_type=freebsd-$objformat
10793 case $version_type in
10794 freebsd-elf*)
10795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10796 need_version=no
10797 need_lib_prefix=no
10798 ;;
10799 freebsd-*)
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10801 need_version=yes
10802 ;;
10803 esac
10804 shlibpath_var=LD_LIBRARY_PATH
10805 case $host_os in
10806 freebsd2.*)
10807 shlibpath_overrides_runpath=yes
10808 ;;
10809 freebsd3.[01]* | freebsdelf3.[01]*)
10810 shlibpath_overrides_runpath=yes
10811 hardcode_into_libs=yes
10812 ;;
10813 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10814 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10815 shlibpath_overrides_runpath=no
10816 hardcode_into_libs=yes
10817 ;;
10818 *) # from 4.6 on, and DragonFly
10819 shlibpath_overrides_runpath=yes
10820 hardcode_into_libs=yes
10821 ;;
10822 esac
10823 ;;
10824
10825 gnu*)
10826 version_type=linux
10827 need_lib_prefix=no
10828 need_version=no
10829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10830 soname_spec='${libname}${release}${shared_ext}$major'
10831 shlibpath_var=LD_LIBRARY_PATH
10832 hardcode_into_libs=yes
10833 ;;
10834
10835 haiku*)
10836 version_type=linux
10837 need_lib_prefix=no
10838 need_version=no
10839 dynamic_linker="$host_os runtime_loader"
10840 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10841 soname_spec='${libname}${release}${shared_ext}$major'
10842 shlibpath_var=LIBRARY_PATH
10843 shlibpath_overrides_runpath=yes
10844 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10845 hardcode_into_libs=yes
10846 ;;
10847
10848 hpux9* | hpux10* | hpux11*)
10849 # Give a soname corresponding to the major version so that dld.sl refuses to
10850 # link against other versions.
10851 version_type=sunos
10852 need_lib_prefix=no
10853 need_version=no
10854 case $host_cpu in
10855 ia64*)
10856 shrext_cmds='.so'
10857 hardcode_into_libs=yes
10858 dynamic_linker="$host_os dld.so"
10859 shlibpath_var=LD_LIBRARY_PATH
10860 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10861 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10862 soname_spec='${libname}${release}${shared_ext}$major'
10863 if test "X$HPUX_IA64_MODE" = X32; then
10864 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10865 else
10866 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10867 fi
10868 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10869 ;;
10870 hppa*64*)
10871 shrext_cmds='.sl'
10872 hardcode_into_libs=yes
10873 dynamic_linker="$host_os dld.sl"
10874 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10875 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10877 soname_spec='${libname}${release}${shared_ext}$major'
10878 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10879 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10880 ;;
10881 *)
10882 shrext_cmds='.sl'
10883 dynamic_linker="$host_os dld.sl"
10884 shlibpath_var=SHLIB_PATH
10885 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10887 soname_spec='${libname}${release}${shared_ext}$major'
10888 ;;
10889 esac
10890 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10891 postinstall_cmds='chmod 555 $lib'
10892 # or fails outright, so override atomically:
10893 install_override_mode=555
10894 ;;
10895
10896 interix[3-9]*)
10897 version_type=linux
10898 need_lib_prefix=no
10899 need_version=no
10900 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10901 soname_spec='${libname}${release}${shared_ext}$major'
10902 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10903 shlibpath_var=LD_LIBRARY_PATH
10904 shlibpath_overrides_runpath=no
10905 hardcode_into_libs=yes
10906 ;;
10907
10908 irix5* | irix6* | nonstopux*)
10909 case $host_os in
10910 nonstopux*) version_type=nonstopux ;;
10911 *)
10912 if test "$lt_cv_prog_gnu_ld" = yes; then
10913 version_type=linux
10914 else
10915 version_type=irix
10916 fi ;;
10917 esac
10918 need_lib_prefix=no
10919 need_version=no
10920 soname_spec='${libname}${release}${shared_ext}$major'
10921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10922 case $host_os in
10923 irix5* | nonstopux*)
10924 libsuff= shlibsuff=
10925 ;;
10926 *)
10927 case $LD in # libtool.m4 will add one of these switches to LD
10928 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10929 libsuff= shlibsuff= libmagic=32-bit;;
10930 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10931 libsuff=32 shlibsuff=N32 libmagic=N32;;
10932 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10933 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10934 *) libsuff= shlibsuff= libmagic=never-match;;
10935 esac
10936 ;;
10937 esac
10938 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10939 shlibpath_overrides_runpath=no
10940 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10941 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10942 hardcode_into_libs=yes
10943 ;;
10944
10945 # No shared lib support for Linux oldld, aout, or coff.
10946 linux*oldld* | linux*aout* | linux*coff*)
10947 dynamic_linker=no
10948 ;;
10949
10950 # This must be Linux ELF.
10951 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10952 version_type=linux
10953 need_lib_prefix=no
10954 need_version=no
10955 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10956 soname_spec='${libname}${release}${shared_ext}$major'
10957 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10958 shlibpath_var=LD_LIBRARY_PATH
10959 shlibpath_overrides_runpath=no
10960
10961 # Some binutils ld are patched to set DT_RUNPATH
10962 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10963 $as_echo_n "(cached) " >&6
10964 else
10965 lt_cv_shlibpath_overrides_runpath=no
10966 save_LDFLAGS=$LDFLAGS
10967 save_libdir=$libdir
10968 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10969 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10970 if test x$gcc_no_link = xyes; then
10971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10972 fi
10973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10974 /* end confdefs.h. */
10975
10976 int
10977 main ()
10978 {
10979
10980 ;
10981 return 0;
10982 }
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"; then :
10985 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10986 lt_cv_shlibpath_overrides_runpath=yes
10987 fi
10988 fi
10989 rm -f core conftest.err conftest.$ac_objext \
10990 conftest$ac_exeext conftest.$ac_ext
10991 LDFLAGS=$save_LDFLAGS
10992 libdir=$save_libdir
10993
10994 fi
10995
10996 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10997
10998 # This implies no fast_install, which is unacceptable.
10999 # Some rework will be needed to allow for fast_install
11000 # before this can be enabled.
11001 hardcode_into_libs=yes
11002
11003 # Append ld.so.conf contents to the search path
11004 if test -f /etc/ld.so.conf; then
11005 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' ' '`
11006 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11007 fi
11008
11009 # We used to test for /lib/ld.so.1 and disable shared libraries on
11010 # powerpc, because MkLinux only supported shared libraries with the
11011 # GNU dynamic linker. Since this was broken with cross compilers,
11012 # most powerpc-linux boxes support dynamic linking these days and
11013 # people can always --disable-shared, the test was removed, and we
11014 # assume the GNU/Linux dynamic linker is in use.
11015 dynamic_linker='GNU/Linux ld.so'
11016 ;;
11017
11018 netbsd*)
11019 version_type=sunos
11020 need_lib_prefix=no
11021 need_version=no
11022 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11023 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11024 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11025 dynamic_linker='NetBSD (a.out) ld.so'
11026 else
11027 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11028 soname_spec='${libname}${release}${shared_ext}$major'
11029 dynamic_linker='NetBSD ld.elf_so'
11030 fi
11031 shlibpath_var=LD_LIBRARY_PATH
11032 shlibpath_overrides_runpath=yes
11033 hardcode_into_libs=yes
11034 ;;
11035
11036 newsos6)
11037 version_type=linux
11038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=yes
11041 ;;
11042
11043 *nto* | *qnx*)
11044 version_type=qnx
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 soname_spec='${libname}${release}${shared_ext}$major'
11049 shlibpath_var=LD_LIBRARY_PATH
11050 shlibpath_overrides_runpath=no
11051 hardcode_into_libs=yes
11052 dynamic_linker='ldqnx.so'
11053 ;;
11054
11055 openbsd*)
11056 version_type=sunos
11057 sys_lib_dlsearch_path_spec="/usr/lib"
11058 need_lib_prefix=no
11059 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11060 case $host_os in
11061 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11062 *) need_version=no ;;
11063 esac
11064 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11065 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11066 shlibpath_var=LD_LIBRARY_PATH
11067 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11068 case $host_os in
11069 openbsd2.[89] | openbsd2.[89].*)
11070 shlibpath_overrides_runpath=no
11071 ;;
11072 *)
11073 shlibpath_overrides_runpath=yes
11074 ;;
11075 esac
11076 else
11077 shlibpath_overrides_runpath=yes
11078 fi
11079 ;;
11080
11081 os2*)
11082 libname_spec='$name'
11083 shrext_cmds=".dll"
11084 need_lib_prefix=no
11085 library_names_spec='$libname${shared_ext} $libname.a'
11086 dynamic_linker='OS/2 ld.exe'
11087 shlibpath_var=LIBPATH
11088 ;;
11089
11090 osf3* | osf4* | osf5*)
11091 version_type=osf
11092 need_lib_prefix=no
11093 need_version=no
11094 soname_spec='${libname}${release}${shared_ext}$major'
11095 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11096 shlibpath_var=LD_LIBRARY_PATH
11097 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11098 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11099 ;;
11100
11101 rdos*)
11102 dynamic_linker=no
11103 ;;
11104
11105 solaris*)
11106 version_type=linux
11107 need_lib_prefix=no
11108 need_version=no
11109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11110 soname_spec='${libname}${release}${shared_ext}$major'
11111 shlibpath_var=LD_LIBRARY_PATH
11112 shlibpath_overrides_runpath=yes
11113 hardcode_into_libs=yes
11114 # ldd complains unless libraries are executable
11115 postinstall_cmds='chmod +x $lib'
11116 ;;
11117
11118 sunos4*)
11119 version_type=sunos
11120 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11121 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11122 shlibpath_var=LD_LIBRARY_PATH
11123 shlibpath_overrides_runpath=yes
11124 if test "$with_gnu_ld" = yes; then
11125 need_lib_prefix=no
11126 fi
11127 need_version=yes
11128 ;;
11129
11130 sysv4 | sysv4.3*)
11131 version_type=linux
11132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11133 soname_spec='${libname}${release}${shared_ext}$major'
11134 shlibpath_var=LD_LIBRARY_PATH
11135 case $host_vendor in
11136 sni)
11137 shlibpath_overrides_runpath=no
11138 need_lib_prefix=no
11139 runpath_var=LD_RUN_PATH
11140 ;;
11141 siemens)
11142 need_lib_prefix=no
11143 ;;
11144 motorola)
11145 need_lib_prefix=no
11146 need_version=no
11147 shlibpath_overrides_runpath=no
11148 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11149 ;;
11150 esac
11151 ;;
11152
11153 sysv4*MP*)
11154 if test -d /usr/nec ;then
11155 version_type=linux
11156 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11157 soname_spec='$libname${shared_ext}.$major'
11158 shlibpath_var=LD_LIBRARY_PATH
11159 fi
11160 ;;
11161
11162 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11163 version_type=freebsd-elf
11164 need_lib_prefix=no
11165 need_version=no
11166 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11167 soname_spec='${libname}${release}${shared_ext}$major'
11168 shlibpath_var=LD_LIBRARY_PATH
11169 shlibpath_overrides_runpath=yes
11170 hardcode_into_libs=yes
11171 if test "$with_gnu_ld" = yes; then
11172 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11173 else
11174 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11175 case $host_os in
11176 sco3.2v5*)
11177 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11178 ;;
11179 esac
11180 fi
11181 sys_lib_dlsearch_path_spec='/usr/lib'
11182 ;;
11183
11184 tpf*)
11185 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11186 version_type=linux
11187 need_lib_prefix=no
11188 need_version=no
11189 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11190 shlibpath_var=LD_LIBRARY_PATH
11191 shlibpath_overrides_runpath=no
11192 hardcode_into_libs=yes
11193 ;;
11194
11195 uts4*)
11196 version_type=linux
11197 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11198 soname_spec='${libname}${release}${shared_ext}$major'
11199 shlibpath_var=LD_LIBRARY_PATH
11200 ;;
11201
11202 *)
11203 dynamic_linker=no
11204 ;;
11205 esac
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11207 $as_echo "$dynamic_linker" >&6; }
11208 test "$dynamic_linker" = no && can_build_shared=no
11209
11210 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11211 if test "$GCC" = yes; then
11212 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11213 fi
11214
11215 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11216 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11217 fi
11218 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11219 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11220 fi
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11314 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11315 hardcode_action=
11316 if test -n "$hardcode_libdir_flag_spec" ||
11317 test -n "$runpath_var" ||
11318 test "X$hardcode_automatic" = "Xyes" ; then
11319
11320 # We can hardcode non-existent directories.
11321 if test "$hardcode_direct" != no &&
11322 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11323 # have to relink, otherwise we might link with an installed library
11324 # when we should be linking with a yet-to-be-installed one
11325 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11326 test "$hardcode_minus_L" != no; then
11327 # Linking always hardcodes the temporary library directory.
11328 hardcode_action=relink
11329 else
11330 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11331 hardcode_action=immediate
11332 fi
11333 else
11334 # We cannot hardcode anything, or else we can only hardcode existing
11335 # directories.
11336 hardcode_action=unsupported
11337 fi
11338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11339 $as_echo "$hardcode_action" >&6; }
11340
11341 if test "$hardcode_action" = relink ||
11342 test "$inherit_rpath" = yes; then
11343 # Fast installation is not supported
11344 enable_fast_install=no
11345 elif test "$shlibpath_overrides_runpath" = yes ||
11346 test "$enable_shared" = no; then
11347 # Fast installation is not necessary
11348 enable_fast_install=needless
11349 fi
11350
11351
11352
11353
11354
11355
11356 if test "x$enable_dlopen" != xyes; then
11357 enable_dlopen=unknown
11358 enable_dlopen_self=unknown
11359 enable_dlopen_self_static=unknown
11360 else
11361 lt_cv_dlopen=no
11362 lt_cv_dlopen_libs=
11363
11364 case $host_os in
11365 beos*)
11366 lt_cv_dlopen="load_add_on"
11367 lt_cv_dlopen_libs=
11368 lt_cv_dlopen_self=yes
11369 ;;
11370
11371 mingw* | pw32* | cegcc*)
11372 lt_cv_dlopen="LoadLibrary"
11373 lt_cv_dlopen_libs=
11374 ;;
11375
11376 cygwin*)
11377 lt_cv_dlopen="dlopen"
11378 lt_cv_dlopen_libs=
11379 ;;
11380
11381 darwin*)
11382 # if libdl is installed we need to link against it
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11384 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11385 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11386 $as_echo_n "(cached) " >&6
11387 else
11388 ac_check_lib_save_LIBS=$LIBS
11389 LIBS="-ldl $LIBS"
11390 if test x$gcc_no_link = xyes; then
11391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11392 fi
11393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11395
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11399 #ifdef __cplusplus
11400 extern "C"
11401 #endif
11402 char dlopen ();
11403 int
11404 main ()
11405 {
11406 return dlopen ();
11407 ;
11408 return 0;
11409 }
11410 _ACEOF
11411 if ac_fn_c_try_link "$LINENO"; then :
11412 ac_cv_lib_dl_dlopen=yes
11413 else
11414 ac_cv_lib_dl_dlopen=no
11415 fi
11416 rm -f core conftest.err conftest.$ac_objext \
11417 conftest$ac_exeext conftest.$ac_ext
11418 LIBS=$ac_check_lib_save_LIBS
11419 fi
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11421 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11422 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11423 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11424 else
11425
11426 lt_cv_dlopen="dyld"
11427 lt_cv_dlopen_libs=
11428 lt_cv_dlopen_self=yes
11429
11430 fi
11431
11432 ;;
11433
11434 *)
11435 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11436 if test "x$ac_cv_func_shl_load" = x""yes; then :
11437 lt_cv_dlopen="shl_load"
11438 else
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11440 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11441 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11442 $as_echo_n "(cached) " >&6
11443 else
11444 ac_check_lib_save_LIBS=$LIBS
11445 LIBS="-ldld $LIBS"
11446 if test x$gcc_no_link = xyes; then
11447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11448 fi
11449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11450 /* end confdefs.h. */
11451
11452 /* Override any GCC internal prototype to avoid an error.
11453 Use char because int might match the return type of a GCC
11454 builtin and then its argument prototype would still apply. */
11455 #ifdef __cplusplus
11456 extern "C"
11457 #endif
11458 char shl_load ();
11459 int
11460 main ()
11461 {
11462 return shl_load ();
11463 ;
11464 return 0;
11465 }
11466 _ACEOF
11467 if ac_fn_c_try_link "$LINENO"; then :
11468 ac_cv_lib_dld_shl_load=yes
11469 else
11470 ac_cv_lib_dld_shl_load=no
11471 fi
11472 rm -f core conftest.err conftest.$ac_objext \
11473 conftest$ac_exeext conftest.$ac_ext
11474 LIBS=$ac_check_lib_save_LIBS
11475 fi
11476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11477 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11478 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11479 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11480 else
11481 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11482 if test "x$ac_cv_func_dlopen" = x""yes; then :
11483 lt_cv_dlopen="dlopen"
11484 else
11485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11486 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11487 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11488 $as_echo_n "(cached) " >&6
11489 else
11490 ac_check_lib_save_LIBS=$LIBS
11491 LIBS="-ldl $LIBS"
11492 if test x$gcc_no_link = xyes; then
11493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11494 fi
11495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11496 /* end confdefs.h. */
11497
11498 /* Override any GCC internal prototype to avoid an error.
11499 Use char because int might match the return type of a GCC
11500 builtin and then its argument prototype would still apply. */
11501 #ifdef __cplusplus
11502 extern "C"
11503 #endif
11504 char dlopen ();
11505 int
11506 main ()
11507 {
11508 return dlopen ();
11509 ;
11510 return 0;
11511 }
11512 _ACEOF
11513 if ac_fn_c_try_link "$LINENO"; then :
11514 ac_cv_lib_dl_dlopen=yes
11515 else
11516 ac_cv_lib_dl_dlopen=no
11517 fi
11518 rm -f core conftest.err conftest.$ac_objext \
11519 conftest$ac_exeext conftest.$ac_ext
11520 LIBS=$ac_check_lib_save_LIBS
11521 fi
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11523 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11524 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11525 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11526 else
11527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11528 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11529 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11530 $as_echo_n "(cached) " >&6
11531 else
11532 ac_check_lib_save_LIBS=$LIBS
11533 LIBS="-lsvld $LIBS"
11534 if test x$gcc_no_link = xyes; then
11535 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11536 fi
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11539
11540 /* Override any GCC internal prototype to avoid an error.
11541 Use char because int might match the return type of a GCC
11542 builtin and then its argument prototype would still apply. */
11543 #ifdef __cplusplus
11544 extern "C"
11545 #endif
11546 char dlopen ();
11547 int
11548 main ()
11549 {
11550 return dlopen ();
11551 ;
11552 return 0;
11553 }
11554 _ACEOF
11555 if ac_fn_c_try_link "$LINENO"; then :
11556 ac_cv_lib_svld_dlopen=yes
11557 else
11558 ac_cv_lib_svld_dlopen=no
11559 fi
11560 rm -f core conftest.err conftest.$ac_objext \
11561 conftest$ac_exeext conftest.$ac_ext
11562 LIBS=$ac_check_lib_save_LIBS
11563 fi
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11565 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11566 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11567 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11568 else
11569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11570 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11571 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11572 $as_echo_n "(cached) " >&6
11573 else
11574 ac_check_lib_save_LIBS=$LIBS
11575 LIBS="-ldld $LIBS"
11576 if test x$gcc_no_link = xyes; then
11577 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11578 fi
11579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11581
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11585 #ifdef __cplusplus
11586 extern "C"
11587 #endif
11588 char dld_link ();
11589 int
11590 main ()
11591 {
11592 return dld_link ();
11593 ;
11594 return 0;
11595 }
11596 _ACEOF
11597 if ac_fn_c_try_link "$LINENO"; then :
11598 ac_cv_lib_dld_dld_link=yes
11599 else
11600 ac_cv_lib_dld_dld_link=no
11601 fi
11602 rm -f core conftest.err conftest.$ac_objext \
11603 conftest$ac_exeext conftest.$ac_ext
11604 LIBS=$ac_check_lib_save_LIBS
11605 fi
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11607 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11608 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11609 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11610 fi
11611
11612
11613 fi
11614
11615
11616 fi
11617
11618
11619 fi
11620
11621
11622 fi
11623
11624
11625 fi
11626
11627 ;;
11628 esac
11629
11630 if test "x$lt_cv_dlopen" != xno; then
11631 enable_dlopen=yes
11632 else
11633 enable_dlopen=no
11634 fi
11635
11636 case $lt_cv_dlopen in
11637 dlopen)
11638 save_CPPFLAGS="$CPPFLAGS"
11639 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11640
11641 save_LDFLAGS="$LDFLAGS"
11642 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11643
11644 save_LIBS="$LIBS"
11645 LIBS="$lt_cv_dlopen_libs $LIBS"
11646
11647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11648 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11649 if test "${lt_cv_dlopen_self+set}" = set; then :
11650 $as_echo_n "(cached) " >&6
11651 else
11652 if test "$cross_compiling" = yes; then :
11653 lt_cv_dlopen_self=cross
11654 else
11655 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11656 lt_status=$lt_dlunknown
11657 cat > conftest.$ac_ext <<_LT_EOF
11658 #line 11658 "configure"
11659 #include "confdefs.h"
11660
11661 #if HAVE_DLFCN_H
11662 #include <dlfcn.h>
11663 #endif
11664
11665 #include <stdio.h>
11666
11667 #ifdef RTLD_GLOBAL
11668 # define LT_DLGLOBAL RTLD_GLOBAL
11669 #else
11670 # ifdef DL_GLOBAL
11671 # define LT_DLGLOBAL DL_GLOBAL
11672 # else
11673 # define LT_DLGLOBAL 0
11674 # endif
11675 #endif
11676
11677 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11678 find out it does not work in some platform. */
11679 #ifndef LT_DLLAZY_OR_NOW
11680 # ifdef RTLD_LAZY
11681 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11682 # else
11683 # ifdef DL_LAZY
11684 # define LT_DLLAZY_OR_NOW DL_LAZY
11685 # else
11686 # ifdef RTLD_NOW
11687 # define LT_DLLAZY_OR_NOW RTLD_NOW
11688 # else
11689 # ifdef DL_NOW
11690 # define LT_DLLAZY_OR_NOW DL_NOW
11691 # else
11692 # define LT_DLLAZY_OR_NOW 0
11693 # endif
11694 # endif
11695 # endif
11696 # endif
11697 #endif
11698
11699 /* When -fvisbility=hidden is used, assume the code has been annotated
11700 correspondingly for the symbols needed. */
11701 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11702 void fnord () __attribute__((visibility("default")));
11703 #endif
11704
11705 void fnord () { int i=42; }
11706 int main ()
11707 {
11708 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11709 int status = $lt_dlunknown;
11710
11711 if (self)
11712 {
11713 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11714 else
11715 {
11716 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11717 else puts (dlerror ());
11718 }
11719 /* dlclose (self); */
11720 }
11721 else
11722 puts (dlerror ());
11723
11724 return status;
11725 }
11726 _LT_EOF
11727 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11728 (eval $ac_link) 2>&5
11729 ac_status=$?
11730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11731 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11732 (./conftest; exit; ) >&5 2>/dev/null
11733 lt_status=$?
11734 case x$lt_status in
11735 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11736 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11737 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11738 esac
11739 else :
11740 # compilation failed
11741 lt_cv_dlopen_self=no
11742 fi
11743 fi
11744 rm -fr conftest*
11745
11746
11747 fi
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11749 $as_echo "$lt_cv_dlopen_self" >&6; }
11750
11751 if test "x$lt_cv_dlopen_self" = xyes; then
11752 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11754 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11755 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11756 $as_echo_n "(cached) " >&6
11757 else
11758 if test "$cross_compiling" = yes; then :
11759 lt_cv_dlopen_self_static=cross
11760 else
11761 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11762 lt_status=$lt_dlunknown
11763 cat > conftest.$ac_ext <<_LT_EOF
11764 #line 11764 "configure"
11765 #include "confdefs.h"
11766
11767 #if HAVE_DLFCN_H
11768 #include <dlfcn.h>
11769 #endif
11770
11771 #include <stdio.h>
11772
11773 #ifdef RTLD_GLOBAL
11774 # define LT_DLGLOBAL RTLD_GLOBAL
11775 #else
11776 # ifdef DL_GLOBAL
11777 # define LT_DLGLOBAL DL_GLOBAL
11778 # else
11779 # define LT_DLGLOBAL 0
11780 # endif
11781 #endif
11782
11783 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11784 find out it does not work in some platform. */
11785 #ifndef LT_DLLAZY_OR_NOW
11786 # ifdef RTLD_LAZY
11787 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11788 # else
11789 # ifdef DL_LAZY
11790 # define LT_DLLAZY_OR_NOW DL_LAZY
11791 # else
11792 # ifdef RTLD_NOW
11793 # define LT_DLLAZY_OR_NOW RTLD_NOW
11794 # else
11795 # ifdef DL_NOW
11796 # define LT_DLLAZY_OR_NOW DL_NOW
11797 # else
11798 # define LT_DLLAZY_OR_NOW 0
11799 # endif
11800 # endif
11801 # endif
11802 # endif
11803 #endif
11804
11805 /* When -fvisbility=hidden is used, assume the code has been annotated
11806 correspondingly for the symbols needed. */
11807 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11808 void fnord () __attribute__((visibility("default")));
11809 #endif
11810
11811 void fnord () { int i=42; }
11812 int main ()
11813 {
11814 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11815 int status = $lt_dlunknown;
11816
11817 if (self)
11818 {
11819 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11820 else
11821 {
11822 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11823 else puts (dlerror ());
11824 }
11825 /* dlclose (self); */
11826 }
11827 else
11828 puts (dlerror ());
11829
11830 return status;
11831 }
11832 _LT_EOF
11833 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11834 (eval $ac_link) 2>&5
11835 ac_status=$?
11836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11837 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11838 (./conftest; exit; ) >&5 2>/dev/null
11839 lt_status=$?
11840 case x$lt_status in
11841 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11842 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11843 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11844 esac
11845 else :
11846 # compilation failed
11847 lt_cv_dlopen_self_static=no
11848 fi
11849 fi
11850 rm -fr conftest*
11851
11852
11853 fi
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11855 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11856 fi
11857
11858 CPPFLAGS="$save_CPPFLAGS"
11859 LDFLAGS="$save_LDFLAGS"
11860 LIBS="$save_LIBS"
11861 ;;
11862 esac
11863
11864 case $lt_cv_dlopen_self in
11865 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11866 *) enable_dlopen_self=unknown ;;
11867 esac
11868
11869 case $lt_cv_dlopen_self_static in
11870 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11871 *) enable_dlopen_self_static=unknown ;;
11872 esac
11873 fi
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891 striplib=
11892 old_striplib=
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11894 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11895 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11896 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11897 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11899 $as_echo "yes" >&6; }
11900 else
11901 # FIXME - insert some real tests, host_os isn't really good enough
11902 case $host_os in
11903 darwin*)
11904 if test -n "$STRIP" ; then
11905 striplib="$STRIP -x"
11906 old_striplib="$STRIP -S"
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11908 $as_echo "yes" >&6; }
11909 else
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11911 $as_echo "no" >&6; }
11912 fi
11913 ;;
11914 *)
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11916 $as_echo "no" >&6; }
11917 ;;
11918 esac
11919 fi
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932 # Report which library types will actually be built
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11934 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11936 $as_echo "$can_build_shared" >&6; }
11937
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11939 $as_echo_n "checking whether to build shared libraries... " >&6; }
11940 test "$can_build_shared" = "no" && enable_shared=no
11941
11942 # On AIX, shared libraries and static libraries use the same namespace, and
11943 # are all built from PIC.
11944 case $host_os in
11945 aix3*)
11946 test "$enable_shared" = yes && enable_static=no
11947 if test -n "$RANLIB"; then
11948 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11949 postinstall_cmds='$RANLIB $lib'
11950 fi
11951 ;;
11952
11953 aix[4-9]*)
11954 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11955 test "$enable_shared" = yes && enable_static=no
11956 fi
11957 ;;
11958 esac
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11960 $as_echo "$enable_shared" >&6; }
11961
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11963 $as_echo_n "checking whether to build static libraries... " >&6; }
11964 # Make sure either enable_shared or enable_static is yes.
11965 test "$enable_shared" = yes || enable_static=yes
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11967 $as_echo "$enable_static" >&6; }
11968
11969
11970
11971
11972 fi
11973 ac_ext=c
11974 ac_cpp='$CPP $CPPFLAGS'
11975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11978
11979 CC="$lt_save_CC"
11980
11981 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11982 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11983 (test "X$CXX" != "Xg++"))) ; then
11984 ac_ext=cpp
11985 ac_cpp='$CXXCPP $CPPFLAGS'
11986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11990 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11991 if test -z "$CXXCPP"; then
11992 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11993 $as_echo_n "(cached) " >&6
11994 else
11995 # Double quotes because CXXCPP needs to be expanded
11996 for CXXCPP in "$CXX -E" "/lib/cpp"
11997 do
11998 ac_preproc_ok=false
11999 for ac_cxx_preproc_warn_flag in '' yes
12000 do
12001 # Use a header file that comes with gcc, so configuring glibc
12002 # with a fresh cross-compiler works.
12003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12004 # <limits.h> exists even on freestanding compilers.
12005 # On the NeXT, cc -E runs the code through the compiler's parser,
12006 # not just through cpp. "Syntax error" is here to catch this case.
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 #ifdef __STDC__
12010 # include <limits.h>
12011 #else
12012 # include <assert.h>
12013 #endif
12014 Syntax error
12015 _ACEOF
12016 if ac_fn_cxx_try_cpp "$LINENO"; then :
12017
12018 else
12019 # Broken: fails on valid input.
12020 continue
12021 fi
12022 rm -f conftest.err conftest.$ac_ext
12023
12024 # OK, works on sane cases. Now check whether nonexistent headers
12025 # can be detected and how.
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 #include <ac_nonexistent.h>
12029 _ACEOF
12030 if ac_fn_cxx_try_cpp "$LINENO"; then :
12031 # Broken: success on invalid input.
12032 continue
12033 else
12034 # Passes both tests.
12035 ac_preproc_ok=:
12036 break
12037 fi
12038 rm -f conftest.err conftest.$ac_ext
12039
12040 done
12041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12042 rm -f conftest.err conftest.$ac_ext
12043 if $ac_preproc_ok; then :
12044 break
12045 fi
12046
12047 done
12048 ac_cv_prog_CXXCPP=$CXXCPP
12049
12050 fi
12051 CXXCPP=$ac_cv_prog_CXXCPP
12052 else
12053 ac_cv_prog_CXXCPP=$CXXCPP
12054 fi
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12056 $as_echo "$CXXCPP" >&6; }
12057 ac_preproc_ok=false
12058 for ac_cxx_preproc_warn_flag in '' yes
12059 do
12060 # Use a header file that comes with gcc, so configuring glibc
12061 # with a fresh cross-compiler works.
12062 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12063 # <limits.h> exists even on freestanding compilers.
12064 # On the NeXT, cc -E runs the code through the compiler's parser,
12065 # not just through cpp. "Syntax error" is here to catch this case.
12066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12067 /* end confdefs.h. */
12068 #ifdef __STDC__
12069 # include <limits.h>
12070 #else
12071 # include <assert.h>
12072 #endif
12073 Syntax error
12074 _ACEOF
12075 if ac_fn_cxx_try_cpp "$LINENO"; then :
12076
12077 else
12078 # Broken: fails on valid input.
12079 continue
12080 fi
12081 rm -f conftest.err conftest.$ac_ext
12082
12083 # OK, works on sane cases. Now check whether nonexistent headers
12084 # can be detected and how.
12085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12087 #include <ac_nonexistent.h>
12088 _ACEOF
12089 if ac_fn_cxx_try_cpp "$LINENO"; then :
12090 # Broken: success on invalid input.
12091 continue
12092 else
12093 # Passes both tests.
12094 ac_preproc_ok=:
12095 break
12096 fi
12097 rm -f conftest.err conftest.$ac_ext
12098
12099 done
12100 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12101 rm -f conftest.err conftest.$ac_ext
12102 if $ac_preproc_ok; then :
12103
12104 else
12105 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12106 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12107 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12108 See \`config.log' for more details." "$LINENO" 5; }
12109 fi
12110
12111 ac_ext=c
12112 ac_cpp='$CPP $CPPFLAGS'
12113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12116
12117 else
12118 _lt_caught_CXX_error=yes
12119 fi
12120
12121 ac_ext=cpp
12122 ac_cpp='$CXXCPP $CPPFLAGS'
12123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12126
12127 archive_cmds_need_lc_CXX=no
12128 allow_undefined_flag_CXX=
12129 always_export_symbols_CXX=no
12130 archive_expsym_cmds_CXX=
12131 compiler_needs_object_CXX=no
12132 export_dynamic_flag_spec_CXX=
12133 hardcode_direct_CXX=no
12134 hardcode_direct_absolute_CXX=no
12135 hardcode_libdir_flag_spec_CXX=
12136 hardcode_libdir_flag_spec_ld_CXX=
12137 hardcode_libdir_separator_CXX=
12138 hardcode_minus_L_CXX=no
12139 hardcode_shlibpath_var_CXX=unsupported
12140 hardcode_automatic_CXX=no
12141 inherit_rpath_CXX=no
12142 module_cmds_CXX=
12143 module_expsym_cmds_CXX=
12144 link_all_deplibs_CXX=unknown
12145 old_archive_cmds_CXX=$old_archive_cmds
12146 reload_flag_CXX=$reload_flag
12147 reload_cmds_CXX=$reload_cmds
12148 no_undefined_flag_CXX=
12149 whole_archive_flag_spec_CXX=
12150 enable_shared_with_static_runtimes_CXX=no
12151
12152 # Source file extension for C++ test sources.
12153 ac_ext=cpp
12154
12155 # Object file extension for compiled C++ test sources.
12156 objext=o
12157 objext_CXX=$objext
12158
12159 # No sense in running all these tests if we already determined that
12160 # the CXX compiler isn't working. Some variables (like enable_shared)
12161 # are currently assumed to apply to all compilers on this platform,
12162 # and will be corrupted by setting them based on a non-working compiler.
12163 if test "$_lt_caught_CXX_error" != yes; then
12164 # Code to be used in simple compile tests
12165 lt_simple_compile_test_code="int some_variable = 0;"
12166
12167 # Code to be used in simple link tests
12168 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12169
12170 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12171
12172
12173
12174
12175
12176
12177 # If no C compiler was specified, use CC.
12178 LTCC=${LTCC-"$CC"}
12179
12180 # If no C compiler flags were specified, use CFLAGS.
12181 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12182
12183 # Allow CC to be a program name with arguments.
12184 compiler=$CC
12185
12186
12187 # save warnings/boilerplate of simple test code
12188 ac_outfile=conftest.$ac_objext
12189 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12190 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12191 _lt_compiler_boilerplate=`cat conftest.err`
12192 $RM conftest*
12193
12194 ac_outfile=conftest.$ac_objext
12195 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12196 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12197 _lt_linker_boilerplate=`cat conftest.err`
12198 $RM -r conftest*
12199
12200
12201 # Allow CC to be a program name with arguments.
12202 lt_save_CC=$CC
12203 lt_save_LD=$LD
12204 lt_save_GCC=$GCC
12205 GCC=$GXX
12206 lt_save_with_gnu_ld=$with_gnu_ld
12207 lt_save_path_LD=$lt_cv_path_LD
12208 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12209 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12210 else
12211 $as_unset lt_cv_prog_gnu_ld
12212 fi
12213 if test -n "${lt_cv_path_LDCXX+set}"; then
12214 lt_cv_path_LD=$lt_cv_path_LDCXX
12215 else
12216 $as_unset lt_cv_path_LD
12217 fi
12218 test -z "${LDCXX+set}" || LD=$LDCXX
12219 CC=${CXX-"c++"}
12220 compiler=$CC
12221 compiler_CXX=$CC
12222 for cc_temp in $compiler""; do
12223 case $cc_temp in
12224 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12225 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12226 \-*) ;;
12227 *) break;;
12228 esac
12229 done
12230 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12231
12232
12233 if test -n "$compiler"; then
12234 # We don't want -fno-exception when compiling C++ code, so set the
12235 # no_builtin_flag separately
12236 if test "$GXX" = yes; then
12237 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12238 else
12239 lt_prog_compiler_no_builtin_flag_CXX=
12240 fi
12241
12242 if test "$GXX" = yes; then
12243 # Set up default GNU C++ configuration
12244
12245
12246
12247 # Check whether --with-gnu-ld was given.
12248 if test "${with_gnu_ld+set}" = set; then :
12249 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12250 else
12251 with_gnu_ld=no
12252 fi
12253
12254 ac_prog=ld
12255 if test "$GCC" = yes; then
12256 # Check if gcc -print-prog-name=ld gives a path.
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12258 $as_echo_n "checking for ld used by $CC... " >&6; }
12259 case $host in
12260 *-*-mingw*)
12261 # gcc leaves a trailing carriage return which upsets mingw
12262 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12263 *)
12264 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12265 esac
12266 case $ac_prog in
12267 # Accept absolute paths.
12268 [\\/]* | ?:[\\/]*)
12269 re_direlt='/[^/][^/]*/\.\./'
12270 # Canonicalize the pathname of ld
12271 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12272 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12273 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12274 done
12275 test -z "$LD" && LD="$ac_prog"
12276 ;;
12277 "")
12278 # If it fails, then pretend we aren't using GCC.
12279 ac_prog=ld
12280 ;;
12281 *)
12282 # If it is relative, then search for the first ld in PATH.
12283 with_gnu_ld=unknown
12284 ;;
12285 esac
12286 elif test "$with_gnu_ld" = yes; then
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12288 $as_echo_n "checking for GNU ld... " >&6; }
12289 else
12290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12291 $as_echo_n "checking for non-GNU ld... " >&6; }
12292 fi
12293 if test "${lt_cv_path_LD+set}" = set; then :
12294 $as_echo_n "(cached) " >&6
12295 else
12296 if test -z "$LD"; then
12297 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12298 for ac_dir in $PATH; do
12299 IFS="$lt_save_ifs"
12300 test -z "$ac_dir" && ac_dir=.
12301 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12302 lt_cv_path_LD="$ac_dir/$ac_prog"
12303 # Check to see if the program is GNU ld. I'd rather use --version,
12304 # but apparently some variants of GNU ld only accept -v.
12305 # Break only if it was the GNU/non-GNU ld that we prefer.
12306 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12307 *GNU* | *'with BFD'*)
12308 test "$with_gnu_ld" != no && break
12309 ;;
12310 *)
12311 test "$with_gnu_ld" != yes && break
12312 ;;
12313 esac
12314 fi
12315 done
12316 IFS="$lt_save_ifs"
12317 else
12318 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12319 fi
12320 fi
12321
12322 LD="$lt_cv_path_LD"
12323 if test -n "$LD"; then
12324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12325 $as_echo "$LD" >&6; }
12326 else
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12328 $as_echo "no" >&6; }
12329 fi
12330 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12332 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12333 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12334 $as_echo_n "(cached) " >&6
12335 else
12336 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12337 case `$LD -v 2>&1 </dev/null` in
12338 *GNU* | *'with BFD'*)
12339 lt_cv_prog_gnu_ld=yes
12340 ;;
12341 *)
12342 lt_cv_prog_gnu_ld=no
12343 ;;
12344 esac
12345 fi
12346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12347 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12348 with_gnu_ld=$lt_cv_prog_gnu_ld
12349
12350
12351
12352
12353
12354
12355
12356 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12357 # archiving commands below assume that GNU ld is being used.
12358 if test "$with_gnu_ld" = yes; then
12359 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12360 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12361
12362 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12363 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12364
12365 # If archive_cmds runs LD, not CC, wlarc should be empty
12366 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12367 # investigate it a little bit more. (MM)
12368 wlarc='${wl}'
12369
12370 # ancient GNU ld didn't support --whole-archive et. al.
12371 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12372 $GREP 'no-whole-archive' > /dev/null; then
12373 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12374 else
12375 whole_archive_flag_spec_CXX=
12376 fi
12377 else
12378 with_gnu_ld=no
12379 wlarc=
12380
12381 # A generic and very simple default shared library creation
12382 # command for GNU C++ for the case where it uses the native
12383 # linker, instead of GNU ld. If possible, this setting should
12384 # overridden to take advantage of the native linker features on
12385 # the platform it is being used on.
12386 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12387 fi
12388
12389 # Commands to make compiler produce verbose output that lists
12390 # what "hidden" libraries, object files and flags are used when
12391 # linking a shared library.
12392 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12393
12394 else
12395 GXX=no
12396 with_gnu_ld=no
12397 wlarc=
12398 fi
12399
12400 # PORTME: fill in a description of your system's C++ link characteristics
12401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12402 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12403 ld_shlibs_CXX=yes
12404 case $host_os in
12405 aix3*)
12406 # FIXME: insert proper C++ library support
12407 ld_shlibs_CXX=no
12408 ;;
12409 aix[4-9]*)
12410 if test "$host_cpu" = ia64; then
12411 # On IA64, the linker does run time linking by default, so we don't
12412 # have to do anything special.
12413 aix_use_runtimelinking=no
12414 exp_sym_flag='-Bexport'
12415 no_entry_flag=""
12416 else
12417 aix_use_runtimelinking=no
12418
12419 # Test if we are trying to use run time linking or normal
12420 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12421 # need to do runtime linking.
12422 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12423 for ld_flag in $LDFLAGS; do
12424 case $ld_flag in
12425 *-brtl*)
12426 aix_use_runtimelinking=yes
12427 break
12428 ;;
12429 esac
12430 done
12431 ;;
12432 esac
12433
12434 exp_sym_flag='-bexport'
12435 no_entry_flag='-bnoentry'
12436 fi
12437
12438 # When large executables or shared objects are built, AIX ld can
12439 # have problems creating the table of contents. If linking a library
12440 # or program results in "error TOC overflow" add -mminimal-toc to
12441 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12442 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12443
12444 archive_cmds_CXX=''
12445 hardcode_direct_CXX=yes
12446 hardcode_direct_absolute_CXX=yes
12447 hardcode_libdir_separator_CXX=':'
12448 link_all_deplibs_CXX=yes
12449 file_list_spec_CXX='${wl}-f,'
12450
12451 if test "$GXX" = yes; then
12452 case $host_os in aix4.[012]|aix4.[012].*)
12453 # We only want to do this on AIX 4.2 and lower, the check
12454 # below for broken collect2 doesn't work under 4.3+
12455 collect2name=`${CC} -print-prog-name=collect2`
12456 if test -f "$collect2name" &&
12457 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12458 then
12459 # We have reworked collect2
12460 :
12461 else
12462 # We have old collect2
12463 hardcode_direct_CXX=unsupported
12464 # It fails to find uninstalled libraries when the uninstalled
12465 # path is not listed in the libpath. Setting hardcode_minus_L
12466 # to unsupported forces relinking
12467 hardcode_minus_L_CXX=yes
12468 hardcode_libdir_flag_spec_CXX='-L$libdir'
12469 hardcode_libdir_separator_CXX=
12470 fi
12471 esac
12472 shared_flag='-shared'
12473 if test "$aix_use_runtimelinking" = yes; then
12474 shared_flag="$shared_flag "'${wl}-G'
12475 fi
12476 else
12477 # not using gcc
12478 if test "$host_cpu" = ia64; then
12479 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12480 # chokes on -Wl,-G. The following line is correct:
12481 shared_flag='-G'
12482 else
12483 if test "$aix_use_runtimelinking" = yes; then
12484 shared_flag='${wl}-G'
12485 else
12486 shared_flag='${wl}-bM:SRE'
12487 fi
12488 fi
12489 fi
12490
12491 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12492 # It seems that -bexpall does not export symbols beginning with
12493 # underscore (_), so it is better to generate a list of symbols to
12494 # export.
12495 always_export_symbols_CXX=yes
12496 if test "$aix_use_runtimelinking" = yes; then
12497 # Warning - without using the other runtime loading flags (-brtl),
12498 # -berok will link without error, but may produce a broken library.
12499 allow_undefined_flag_CXX='-berok'
12500 # Determine the default libpath from the value encoded in an empty
12501 # executable.
12502 if test x$gcc_no_link = xyes; then
12503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12504 fi
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12507
12508 int
12509 main ()
12510 {
12511
12512 ;
12513 return 0;
12514 }
12515 _ACEOF
12516 if ac_fn_cxx_try_link "$LINENO"; then :
12517
12518 lt_aix_libpath_sed='
12519 /Import File Strings/,/^$/ {
12520 /^0/ {
12521 s/^0 *\(.*\)$/\1/
12522 p
12523 }
12524 }'
12525 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12526 # Check for a 64-bit object if we didn't find anything.
12527 if test -z "$aix_libpath"; then
12528 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12529 fi
12530 fi
12531 rm -f core conftest.err conftest.$ac_objext \
12532 conftest$ac_exeext conftest.$ac_ext
12533 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12534
12535 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12536
12537 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"
12538 else
12539 if test "$host_cpu" = ia64; then
12540 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12541 allow_undefined_flag_CXX="-z nodefs"
12542 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"
12543 else
12544 # Determine the default libpath from the value encoded in an
12545 # empty executable.
12546 if test x$gcc_no_link = xyes; then
12547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12548 fi
12549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12550 /* end confdefs.h. */
12551
12552 int
12553 main ()
12554 {
12555
12556 ;
12557 return 0;
12558 }
12559 _ACEOF
12560 if ac_fn_cxx_try_link "$LINENO"; then :
12561
12562 lt_aix_libpath_sed='
12563 /Import File Strings/,/^$/ {
12564 /^0/ {
12565 s/^0 *\(.*\)$/\1/
12566 p
12567 }
12568 }'
12569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12570 # Check for a 64-bit object if we didn't find anything.
12571 if test -z "$aix_libpath"; then
12572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12573 fi
12574 fi
12575 rm -f core conftest.err conftest.$ac_objext \
12576 conftest$ac_exeext conftest.$ac_ext
12577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12578
12579 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12580 # Warning - without using the other run time loading flags,
12581 # -berok will link without error, but may produce a broken library.
12582 no_undefined_flag_CXX=' ${wl}-bernotok'
12583 allow_undefined_flag_CXX=' ${wl}-berok'
12584 if test "$with_gnu_ld" = yes; then
12585 # We only use this code for GNU lds that support --whole-archive.
12586 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12587 else
12588 # Exported symbols can be pulled into shared objects from archives
12589 whole_archive_flag_spec_CXX='$convenience'
12590 fi
12591 archive_cmds_need_lc_CXX=yes
12592 # This is similar to how AIX traditionally builds its shared
12593 # libraries.
12594 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'
12595 fi
12596 fi
12597 ;;
12598
12599 beos*)
12600 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12601 allow_undefined_flag_CXX=unsupported
12602 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12603 # support --undefined. This deserves some investigation. FIXME
12604 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12605 else
12606 ld_shlibs_CXX=no
12607 fi
12608 ;;
12609
12610 chorus*)
12611 case $cc_basename in
12612 *)
12613 # FIXME: insert proper C++ library support
12614 ld_shlibs_CXX=no
12615 ;;
12616 esac
12617 ;;
12618
12619 cygwin* | mingw* | pw32* | cegcc*)
12620 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12621 # as there is no search path for DLLs.
12622 hardcode_libdir_flag_spec_CXX='-L$libdir'
12623 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12624 allow_undefined_flag_CXX=unsupported
12625 always_export_symbols_CXX=no
12626 enable_shared_with_static_runtimes_CXX=yes
12627
12628 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12629 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'
12630 # If the export-symbols file already is a .def file (1st line
12631 # is EXPORTS), use it as is; otherwise, prepend...
12632 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12633 cp $export_symbols $output_objdir/$soname.def;
12634 else
12635 echo EXPORTS > $output_objdir/$soname.def;
12636 cat $export_symbols >> $output_objdir/$soname.def;
12637 fi~
12638 $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'
12639 else
12640 ld_shlibs_CXX=no
12641 fi
12642 ;;
12643 darwin* | rhapsody*)
12644
12645
12646 archive_cmds_need_lc_CXX=no
12647 hardcode_direct_CXX=no
12648 hardcode_automatic_CXX=yes
12649 hardcode_shlibpath_var_CXX=unsupported
12650 if test "$lt_cv_ld_force_load" = "yes"; then
12651 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\"`'
12652 else
12653 whole_archive_flag_spec_CXX=''
12654 fi
12655 link_all_deplibs_CXX=yes
12656 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12657 case $cc_basename in
12658 ifort*) _lt_dar_can_shared=yes ;;
12659 *) _lt_dar_can_shared=$GCC ;;
12660 esac
12661 if test "$_lt_dar_can_shared" = "yes"; then
12662 output_verbose_link_cmd=func_echo_all
12663 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}"
12664 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12665 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}"
12666 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}"
12667 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12668 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}"
12669 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}"
12670 fi
12671
12672 else
12673 ld_shlibs_CXX=no
12674 fi
12675
12676 ;;
12677
12678 dgux*)
12679 case $cc_basename in
12680 ec++*)
12681 # FIXME: insert proper C++ library support
12682 ld_shlibs_CXX=no
12683 ;;
12684 ghcx*)
12685 # Green Hills C++ Compiler
12686 # FIXME: insert proper C++ library support
12687 ld_shlibs_CXX=no
12688 ;;
12689 *)
12690 # FIXME: insert proper C++ library support
12691 ld_shlibs_CXX=no
12692 ;;
12693 esac
12694 ;;
12695
12696 freebsd2.*)
12697 # C++ shared libraries reported to be fairly broken before
12698 # switch to ELF
12699 ld_shlibs_CXX=no
12700 ;;
12701
12702 freebsd-elf*)
12703 archive_cmds_need_lc_CXX=no
12704 ;;
12705
12706 freebsd* | dragonfly*)
12707 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12708 # conventions
12709 ld_shlibs_CXX=yes
12710 ;;
12711
12712 gnu*)
12713 ;;
12714
12715 haiku*)
12716 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12717 link_all_deplibs_CXX=yes
12718 ;;
12719
12720 hpux9*)
12721 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12722 hardcode_libdir_separator_CXX=:
12723 export_dynamic_flag_spec_CXX='${wl}-E'
12724 hardcode_direct_CXX=yes
12725 hardcode_minus_L_CXX=yes # Not in the search PATH,
12726 # but as the default
12727 # location of the library.
12728
12729 case $cc_basename in
12730 CC*)
12731 # FIXME: insert proper C++ library support
12732 ld_shlibs_CXX=no
12733 ;;
12734 aCC*)
12735 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'
12736 # Commands to make compiler produce verbose output that lists
12737 # what "hidden" libraries, object files and flags are used when
12738 # linking a shared library.
12739 #
12740 # There doesn't appear to be a way to prevent this compiler from
12741 # explicitly linking system object files so we need to strip them
12742 # from the output so that they don't get included in the library
12743 # dependencies.
12744 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"'
12745 ;;
12746 *)
12747 if test "$GXX" = yes; then
12748 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'
12749 else
12750 # FIXME: insert proper C++ library support
12751 ld_shlibs_CXX=no
12752 fi
12753 ;;
12754 esac
12755 ;;
12756
12757 hpux10*|hpux11*)
12758 if test $with_gnu_ld = no; then
12759 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12760 hardcode_libdir_separator_CXX=:
12761
12762 case $host_cpu in
12763 hppa*64*|ia64*)
12764 ;;
12765 *)
12766 export_dynamic_flag_spec_CXX='${wl}-E'
12767 ;;
12768 esac
12769 fi
12770 case $host_cpu in
12771 hppa*64*|ia64*)
12772 hardcode_direct_CXX=no
12773 hardcode_shlibpath_var_CXX=no
12774 ;;
12775 *)
12776 hardcode_direct_CXX=yes
12777 hardcode_direct_absolute_CXX=yes
12778 hardcode_minus_L_CXX=yes # Not in the search PATH,
12779 # but as the default
12780 # location of the library.
12781 ;;
12782 esac
12783
12784 case $cc_basename in
12785 CC*)
12786 # FIXME: insert proper C++ library support
12787 ld_shlibs_CXX=no
12788 ;;
12789 aCC*)
12790 case $host_cpu in
12791 hppa*64*)
12792 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12793 ;;
12794 ia64*)
12795 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12796 ;;
12797 *)
12798 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12799 ;;
12800 esac
12801 # Commands to make compiler produce verbose output that lists
12802 # what "hidden" libraries, object files and flags are used when
12803 # linking a shared library.
12804 #
12805 # There doesn't appear to be a way to prevent this compiler from
12806 # explicitly linking system object files so we need to strip them
12807 # from the output so that they don't get included in the library
12808 # dependencies.
12809 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"'
12810 ;;
12811 *)
12812 if test "$GXX" = yes; then
12813 if test $with_gnu_ld = no; then
12814 case $host_cpu in
12815 hppa*64*)
12816 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12817 ;;
12818 ia64*)
12819 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12820 ;;
12821 *)
12822 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'
12823 ;;
12824 esac
12825 fi
12826 else
12827 # FIXME: insert proper C++ library support
12828 ld_shlibs_CXX=no
12829 fi
12830 ;;
12831 esac
12832 ;;
12833
12834 interix[3-9]*)
12835 hardcode_direct_CXX=no
12836 hardcode_shlibpath_var_CXX=no
12837 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12838 export_dynamic_flag_spec_CXX='${wl}-E'
12839 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12840 # Instead, shared libraries are loaded at an image base (0x10000000 by
12841 # default) and relocated if they conflict, which is a slow very memory
12842 # consuming and fragmenting process. To avoid this, we pick a random,
12843 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12844 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12845 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'
12846 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'
12847 ;;
12848 irix5* | irix6*)
12849 case $cc_basename in
12850 CC*)
12851 # SGI C++
12852 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'
12853
12854 # Archives containing C++ object files must be created using
12855 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12856 # necessary to make sure instantiated templates are included
12857 # in the archive.
12858 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12859 ;;
12860 *)
12861 if test "$GXX" = yes; then
12862 if test "$with_gnu_ld" = no; then
12863 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'
12864 else
12865 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'
12866 fi
12867 fi
12868 link_all_deplibs_CXX=yes
12869 ;;
12870 esac
12871 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12872 hardcode_libdir_separator_CXX=:
12873 inherit_rpath_CXX=yes
12874 ;;
12875
12876 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12877 case $cc_basename in
12878 KCC*)
12879 # Kuck and Associates, Inc. (KAI) C++ Compiler
12880
12881 # KCC will only create a shared library if the output file
12882 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12883 # to its proper name (with version) after linking.
12884 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'
12885 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'
12886 # Commands to make compiler produce verbose output that lists
12887 # what "hidden" libraries, object files and flags are used when
12888 # linking a shared library.
12889 #
12890 # There doesn't appear to be a way to prevent this compiler from
12891 # explicitly linking system object files so we need to strip them
12892 # from the output so that they don't get included in the library
12893 # dependencies.
12894 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"'
12895
12896 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12897 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12898
12899 # Archives containing C++ object files must be created using
12900 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12901 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12902 ;;
12903 icpc* | ecpc* )
12904 # Intel C++
12905 with_gnu_ld=yes
12906 # version 8.0 and above of icpc choke on multiply defined symbols
12907 # if we add $predep_objects and $postdep_objects, however 7.1 and
12908 # earlier do not add the objects themselves.
12909 case `$CC -V 2>&1` in
12910 *"Version 7."*)
12911 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12912 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'
12913 ;;
12914 *) # Version 8.0 or newer
12915 tmp_idyn=
12916 case $host_cpu in
12917 ia64*) tmp_idyn=' -i_dynamic';;
12918 esac
12919 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12920 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'
12921 ;;
12922 esac
12923 archive_cmds_need_lc_CXX=no
12924 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12925 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12926 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12927 ;;
12928 pgCC* | pgcpp*)
12929 # Portland Group C++ compiler
12930 case `$CC -V` in
12931 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12932 prelink_cmds_CXX='tpldir=Template.dir~
12933 rm -rf $tpldir~
12934 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12935 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12936 old_archive_cmds_CXX='tpldir=Template.dir~
12937 rm -rf $tpldir~
12938 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12939 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12940 $RANLIB $oldlib'
12941 archive_cmds_CXX='tpldir=Template.dir~
12942 rm -rf $tpldir~
12943 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12944 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12945 archive_expsym_cmds_CXX='tpldir=Template.dir~
12946 rm -rf $tpldir~
12947 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12948 $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'
12949 ;;
12950 *) # Version 6 and above use weak symbols
12951 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12952 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'
12953 ;;
12954 esac
12955
12956 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12957 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12958 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'
12959 ;;
12960 cxx*)
12961 # Compaq C++
12962 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12963 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'
12964
12965 runpath_var=LD_RUN_PATH
12966 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12967 hardcode_libdir_separator_CXX=:
12968
12969 # Commands to make compiler produce verbose output that lists
12970 # what "hidden" libraries, object files and flags are used when
12971 # linking a shared library.
12972 #
12973 # There doesn't appear to be a way to prevent this compiler from
12974 # explicitly linking system object files so we need to strip them
12975 # from the output so that they don't get included in the library
12976 # dependencies.
12977 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'
12978 ;;
12979 xl* | mpixl* | bgxl*)
12980 # IBM XL 8.0 on PPC, with GNU ld
12981 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12982 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12983 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12984 if test "x$supports_anon_versioning" = xyes; then
12985 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12986 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12987 echo "local: *; };" >> $output_objdir/$libname.ver~
12988 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12989 fi
12990 ;;
12991 *)
12992 case `$CC -V 2>&1 | sed 5q` in
12993 *Sun\ C*)
12994 # Sun C++ 5.9
12995 no_undefined_flag_CXX=' -zdefs'
12996 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12997 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'
12998 hardcode_libdir_flag_spec_CXX='-R$libdir'
12999 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'
13000 compiler_needs_object_CXX=yes
13001
13002 # Not sure whether something based on
13003 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13004 # would be better.
13005 output_verbose_link_cmd='func_echo_all'
13006
13007 # Archives containing C++ object files must be created using
13008 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13009 # necessary to make sure instantiated templates are included
13010 # in the archive.
13011 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13012 ;;
13013 esac
13014 ;;
13015 esac
13016 ;;
13017
13018 lynxos*)
13019 # FIXME: insert proper C++ library support
13020 ld_shlibs_CXX=no
13021 ;;
13022
13023 m88k*)
13024 # FIXME: insert proper C++ library support
13025 ld_shlibs_CXX=no
13026 ;;
13027
13028 mvs*)
13029 case $cc_basename in
13030 cxx*)
13031 # FIXME: insert proper C++ library support
13032 ld_shlibs_CXX=no
13033 ;;
13034 *)
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13037 ;;
13038 esac
13039 ;;
13040
13041 netbsd*)
13042 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13043 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13044 wlarc=
13045 hardcode_libdir_flag_spec_CXX='-R$libdir'
13046 hardcode_direct_CXX=yes
13047 hardcode_shlibpath_var_CXX=no
13048 fi
13049 # Workaround some broken pre-1.5 toolchains
13050 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13051 ;;
13052
13053 *nto* | *qnx*)
13054 ld_shlibs_CXX=yes
13055 ;;
13056
13057 openbsd2*)
13058 # C++ shared libraries are fairly broken
13059 ld_shlibs_CXX=no
13060 ;;
13061
13062 openbsd*)
13063 if test -f /usr/libexec/ld.so; then
13064 hardcode_direct_CXX=yes
13065 hardcode_shlibpath_var_CXX=no
13066 hardcode_direct_absolute_CXX=yes
13067 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13068 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13069 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13070 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13071 export_dynamic_flag_spec_CXX='${wl}-E'
13072 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13073 fi
13074 output_verbose_link_cmd=func_echo_all
13075 else
13076 ld_shlibs_CXX=no
13077 fi
13078 ;;
13079
13080 osf3* | osf4* | osf5*)
13081 case $cc_basename in
13082 KCC*)
13083 # Kuck and Associates, Inc. (KAI) C++ Compiler
13084
13085 # KCC will only create a shared library if the output file
13086 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13087 # to its proper name (with version) after linking.
13088 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'
13089
13090 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13091 hardcode_libdir_separator_CXX=:
13092
13093 # Archives containing C++ object files must be created using
13094 # the KAI C++ compiler.
13095 case $host in
13096 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13097 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13098 esac
13099 ;;
13100 RCC*)
13101 # Rational C++ 2.4.1
13102 # FIXME: insert proper C++ library support
13103 ld_shlibs_CXX=no
13104 ;;
13105 cxx*)
13106 case $host in
13107 osf3*)
13108 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13109 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'
13110 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13111 ;;
13112 *)
13113 allow_undefined_flag_CXX=' -expect_unresolved \*'
13114 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'
13115 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13116 echo "-hidden">> $lib.exp~
13117 $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~
13118 $RM $lib.exp'
13119 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13120 ;;
13121 esac
13122
13123 hardcode_libdir_separator_CXX=:
13124
13125 # Commands to make compiler produce verbose output that lists
13126 # what "hidden" libraries, object files and flags are used when
13127 # linking a shared library.
13128 #
13129 # There doesn't appear to be a way to prevent this compiler from
13130 # explicitly linking system object files so we need to strip them
13131 # from the output so that they don't get included in the library
13132 # dependencies.
13133 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"'
13134 ;;
13135 *)
13136 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13137 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13138 case $host in
13139 osf3*)
13140 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'
13141 ;;
13142 *)
13143 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'
13144 ;;
13145 esac
13146
13147 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13148 hardcode_libdir_separator_CXX=:
13149
13150 # Commands to make compiler produce verbose output that lists
13151 # what "hidden" libraries, object files and flags are used when
13152 # linking a shared library.
13153 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13154
13155 else
13156 # FIXME: insert proper C++ library support
13157 ld_shlibs_CXX=no
13158 fi
13159 ;;
13160 esac
13161 ;;
13162
13163 psos*)
13164 # FIXME: insert proper C++ library support
13165 ld_shlibs_CXX=no
13166 ;;
13167
13168 sunos4*)
13169 case $cc_basename in
13170 CC*)
13171 # Sun C++ 4.x
13172 # FIXME: insert proper C++ library support
13173 ld_shlibs_CXX=no
13174 ;;
13175 lcc*)
13176 # Lucid
13177 # FIXME: insert proper C++ library support
13178 ld_shlibs_CXX=no
13179 ;;
13180 *)
13181 # FIXME: insert proper C++ library support
13182 ld_shlibs_CXX=no
13183 ;;
13184 esac
13185 ;;
13186
13187 solaris*)
13188 case $cc_basename in
13189 CC*)
13190 # Sun C++ 4.2, 5.x and Centerline C++
13191 archive_cmds_need_lc_CXX=yes
13192 no_undefined_flag_CXX=' -zdefs'
13193 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13194 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13195 $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'
13196
13197 hardcode_libdir_flag_spec_CXX='-R$libdir'
13198 hardcode_shlibpath_var_CXX=no
13199 case $host_os in
13200 solaris2.[0-5] | solaris2.[0-5].*) ;;
13201 *)
13202 # The compiler driver will combine and reorder linker options,
13203 # but understands `-z linker_flag'.
13204 # Supported since Solaris 2.6 (maybe 2.5.1?)
13205 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13206 ;;
13207 esac
13208 link_all_deplibs_CXX=yes
13209
13210 output_verbose_link_cmd='func_echo_all'
13211
13212 # Archives containing C++ object files must be created using
13213 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13214 # necessary to make sure instantiated templates are included
13215 # in the archive.
13216 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13217 ;;
13218 gcx*)
13219 # Green Hills C++ Compiler
13220 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13221
13222 # The C++ compiler must be used to create the archive.
13223 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13224 ;;
13225 *)
13226 # GNU C++ compiler with Solaris linker
13227 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13228 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13229 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13230 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13231 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13232 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13233
13234 # Commands to make compiler produce verbose output that lists
13235 # what "hidden" libraries, object files and flags are used when
13236 # linking a shared library.
13237 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13238 else
13239 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13240 # platform.
13241 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13242 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13243 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13244
13245 # Commands to make compiler produce verbose output that lists
13246 # what "hidden" libraries, object files and flags are used when
13247 # linking a shared library.
13248 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13249 fi
13250
13251 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13252 case $host_os in
13253 solaris2.[0-5] | solaris2.[0-5].*) ;;
13254 *)
13255 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13256 ;;
13257 esac
13258 fi
13259 ;;
13260 esac
13261 ;;
13262
13263 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13264 no_undefined_flag_CXX='${wl}-z,text'
13265 archive_cmds_need_lc_CXX=no
13266 hardcode_shlibpath_var_CXX=no
13267 runpath_var='LD_RUN_PATH'
13268
13269 case $cc_basename in
13270 CC*)
13271 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13272 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13273 ;;
13274 *)
13275 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13276 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13277 ;;
13278 esac
13279 ;;
13280
13281 sysv5* | sco3.2v5* | sco5v6*)
13282 # Note: We can NOT use -z defs as we might desire, because we do not
13283 # link with -lc, and that would cause any symbols used from libc to
13284 # always be unresolved, which means just about no library would
13285 # ever link correctly. If we're not using GNU ld we use -z text
13286 # though, which does catch some bad symbols but isn't as heavy-handed
13287 # as -z defs.
13288 no_undefined_flag_CXX='${wl}-z,text'
13289 allow_undefined_flag_CXX='${wl}-z,nodefs'
13290 archive_cmds_need_lc_CXX=no
13291 hardcode_shlibpath_var_CXX=no
13292 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13293 hardcode_libdir_separator_CXX=':'
13294 link_all_deplibs_CXX=yes
13295 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13296 runpath_var='LD_RUN_PATH'
13297
13298 case $cc_basename in
13299 CC*)
13300 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13301 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13302 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13303 '"$old_archive_cmds_CXX"
13304 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13305 '"$reload_cmds_CXX"
13306 ;;
13307 *)
13308 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13309 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13310 ;;
13311 esac
13312 ;;
13313
13314 tandem*)
13315 case $cc_basename in
13316 NCC*)
13317 # NonStop-UX NCC 3.20
13318 # FIXME: insert proper C++ library support
13319 ld_shlibs_CXX=no
13320 ;;
13321 *)
13322 # FIXME: insert proper C++ library support
13323 ld_shlibs_CXX=no
13324 ;;
13325 esac
13326 ;;
13327
13328 vxworks*)
13329 # FIXME: insert proper C++ library support
13330 ld_shlibs_CXX=no
13331 ;;
13332
13333 *)
13334 # FIXME: insert proper C++ library support
13335 ld_shlibs_CXX=no
13336 ;;
13337 esac
13338
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13340 $as_echo "$ld_shlibs_CXX" >&6; }
13341 test "$ld_shlibs_CXX" = no && can_build_shared=no
13342
13343 GCC_CXX="$GXX"
13344 LD_CXX="$LD"
13345
13346 ## CAVEAT EMPTOR:
13347 ## There is no encapsulation within the following macros, do not change
13348 ## the running order or otherwise move them around unless you know exactly
13349 ## what you are doing...
13350 # Dependencies to place before and after the object being linked:
13351 predep_objects_CXX=
13352 postdep_objects_CXX=
13353 predeps_CXX=
13354 postdeps_CXX=
13355 compiler_lib_search_path_CXX=
13356
13357 cat > conftest.$ac_ext <<_LT_EOF
13358 class Foo
13359 {
13360 public:
13361 Foo (void) { a = 0; }
13362 private:
13363 int a;
13364 };
13365 _LT_EOF
13366
13367 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13368 (eval $ac_compile) 2>&5
13369 ac_status=$?
13370 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13371 test $ac_status = 0; }; then
13372 # Parse the compiler output and extract the necessary
13373 # objects, libraries and library flags.
13374
13375 # Sentinel used to keep track of whether or not we are before
13376 # the conftest object file.
13377 pre_test_object_deps_done=no
13378
13379 for p in `eval "$output_verbose_link_cmd"`; do
13380 case $p in
13381
13382 -L* | -R* | -l*)
13383 # Some compilers place space between "-{L,R}" and the path.
13384 # Remove the space.
13385 if test $p = "-L" ||
13386 test $p = "-R"; then
13387 prev=$p
13388 continue
13389 else
13390 prev=
13391 fi
13392
13393 if test "$pre_test_object_deps_done" = no; then
13394 case $p in
13395 -L* | -R*)
13396 # Internal compiler library paths should come after those
13397 # provided the user. The postdeps already come after the
13398 # user supplied libs so there is no need to process them.
13399 if test -z "$compiler_lib_search_path_CXX"; then
13400 compiler_lib_search_path_CXX="${prev}${p}"
13401 else
13402 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13403 fi
13404 ;;
13405 # The "-l" case would never come before the object being
13406 # linked, so don't bother handling this case.
13407 esac
13408 else
13409 if test -z "$postdeps_CXX"; then
13410 postdeps_CXX="${prev}${p}"
13411 else
13412 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13413 fi
13414 fi
13415 ;;
13416
13417 *.$objext)
13418 # This assumes that the test object file only shows up
13419 # once in the compiler output.
13420 if test "$p" = "conftest.$objext"; then
13421 pre_test_object_deps_done=yes
13422 continue
13423 fi
13424
13425 if test "$pre_test_object_deps_done" = no; then
13426 if test -z "$predep_objects_CXX"; then
13427 predep_objects_CXX="$p"
13428 else
13429 predep_objects_CXX="$predep_objects_CXX $p"
13430 fi
13431 else
13432 if test -z "$postdep_objects_CXX"; then
13433 postdep_objects_CXX="$p"
13434 else
13435 postdep_objects_CXX="$postdep_objects_CXX $p"
13436 fi
13437 fi
13438 ;;
13439
13440 *) ;; # Ignore the rest.
13441
13442 esac
13443 done
13444
13445 # Clean up.
13446 rm -f a.out a.exe
13447 else
13448 echo "libtool.m4: error: problem compiling CXX test program"
13449 fi
13450
13451 $RM -f confest.$objext
13452
13453 # PORTME: override above test on systems where it is broken
13454 case $host_os in
13455 interix[3-9]*)
13456 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13457 # hack all around it, let's just trust "g++" to DTRT.
13458 predep_objects_CXX=
13459 postdep_objects_CXX=
13460 postdeps_CXX=
13461 ;;
13462
13463 linux*)
13464 case `$CC -V 2>&1 | sed 5q` in
13465 *Sun\ C*)
13466 # Sun C++ 5.9
13467
13468 # The more standards-conforming stlport4 library is
13469 # incompatible with the Cstd library. Avoid specifying
13470 # it if it's in CXXFLAGS. Ignore libCrun as
13471 # -library=stlport4 depends on it.
13472 case " $CXX $CXXFLAGS " in
13473 *" -library=stlport4 "*)
13474 solaris_use_stlport4=yes
13475 ;;
13476 esac
13477
13478 if test "$solaris_use_stlport4" != yes; then
13479 postdeps_CXX='-library=Cstd -library=Crun'
13480 fi
13481 ;;
13482 esac
13483 ;;
13484
13485 solaris*)
13486 case $cc_basename in
13487 CC*)
13488 # The more standards-conforming stlport4 library is
13489 # incompatible with the Cstd library. Avoid specifying
13490 # it if it's in CXXFLAGS. Ignore libCrun as
13491 # -library=stlport4 depends on it.
13492 case " $CXX $CXXFLAGS " in
13493 *" -library=stlport4 "*)
13494 solaris_use_stlport4=yes
13495 ;;
13496 esac
13497
13498 # Adding this requires a known-good setup of shared libraries for
13499 # Sun compiler versions before 5.6, else PIC objects from an old
13500 # archive will be linked into the output, leading to subtle bugs.
13501 if test "$solaris_use_stlport4" != yes; then
13502 postdeps_CXX='-library=Cstd -library=Crun'
13503 fi
13504 ;;
13505 esac
13506 ;;
13507 esac
13508
13509
13510 case " $postdeps_CXX " in
13511 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13512 esac
13513 compiler_lib_search_dirs_CXX=
13514 if test -n "${compiler_lib_search_path_CXX}"; then
13515 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13516 fi
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548 lt_prog_compiler_wl_CXX=
13549 lt_prog_compiler_pic_CXX=
13550 lt_prog_compiler_static_CXX=
13551
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13553 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13554
13555 # C++ specific cases for pic, static, wl, etc.
13556 if test "$GXX" = yes; then
13557 lt_prog_compiler_wl_CXX='-Wl,'
13558 lt_prog_compiler_static_CXX='-static'
13559
13560 case $host_os in
13561 aix*)
13562 # All AIX code is PIC.
13563 if test "$host_cpu" = ia64; then
13564 # AIX 5 now supports IA64 processor
13565 lt_prog_compiler_static_CXX='-Bstatic'
13566 fi
13567 lt_prog_compiler_pic_CXX='-fPIC'
13568 ;;
13569
13570 amigaos*)
13571 case $host_cpu in
13572 powerpc)
13573 # see comment about AmigaOS4 .so support
13574 lt_prog_compiler_pic_CXX='-fPIC'
13575 ;;
13576 m68k)
13577 # FIXME: we need at least 68020 code to build shared libraries, but
13578 # adding the `-m68020' flag to GCC prevents building anything better,
13579 # like `-m68040'.
13580 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13581 ;;
13582 esac
13583 ;;
13584
13585 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13586 # PIC is the default for these OSes.
13587 ;;
13588 mingw* | cygwin* | os2* | pw32* | cegcc*)
13589 # This hack is so that the source file can tell whether it is being
13590 # built for inclusion in a dll (and should export symbols for example).
13591 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13592 # (--disable-auto-import) libraries
13593 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13594 ;;
13595 darwin* | rhapsody*)
13596 # PIC is the default on this platform
13597 # Common symbols not allowed in MH_DYLIB files
13598 lt_prog_compiler_pic_CXX='-fno-common'
13599 ;;
13600 *djgpp*)
13601 # DJGPP does not support shared libraries at all
13602 lt_prog_compiler_pic_CXX=
13603 ;;
13604 haiku*)
13605 # PIC is the default for Haiku.
13606 # The "-static" flag exists, but is broken.
13607 lt_prog_compiler_static_CXX=
13608 ;;
13609 interix[3-9]*)
13610 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13611 # Instead, we relocate shared libraries at runtime.
13612 ;;
13613 sysv4*MP*)
13614 if test -d /usr/nec; then
13615 lt_prog_compiler_pic_CXX=-Kconform_pic
13616 fi
13617 ;;
13618 hpux*)
13619 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13620 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13621 # sets the default TLS model and affects inlining.
13622 case $host_cpu in
13623 hppa*64*)
13624 ;;
13625 *)
13626 lt_prog_compiler_pic_CXX='-fPIC'
13627 ;;
13628 esac
13629 ;;
13630 *qnx* | *nto*)
13631 # QNX uses GNU C++, but need to define -shared option too, otherwise
13632 # it will coredump.
13633 lt_prog_compiler_pic_CXX='-fPIC -shared'
13634 ;;
13635 *)
13636 lt_prog_compiler_pic_CXX='-fPIC'
13637 ;;
13638 esac
13639 else
13640 case $host_os in
13641 aix[4-9]*)
13642 # All AIX code is PIC.
13643 if test "$host_cpu" = ia64; then
13644 # AIX 5 now supports IA64 processor
13645 lt_prog_compiler_static_CXX='-Bstatic'
13646 else
13647 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13648 fi
13649 ;;
13650 chorus*)
13651 case $cc_basename in
13652 cxch68*)
13653 # Green Hills C++ Compiler
13654 # _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"
13655 ;;
13656 esac
13657 ;;
13658 dgux*)
13659 case $cc_basename in
13660 ec++*)
13661 lt_prog_compiler_pic_CXX='-KPIC'
13662 ;;
13663 ghcx*)
13664 # Green Hills C++ Compiler
13665 lt_prog_compiler_pic_CXX='-pic'
13666 ;;
13667 *)
13668 ;;
13669 esac
13670 ;;
13671 freebsd* | dragonfly*)
13672 # FreeBSD uses GNU C++
13673 ;;
13674 hpux9* | hpux10* | hpux11*)
13675 case $cc_basename in
13676 CC*)
13677 lt_prog_compiler_wl_CXX='-Wl,'
13678 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13679 if test "$host_cpu" != ia64; then
13680 lt_prog_compiler_pic_CXX='+Z'
13681 fi
13682 ;;
13683 aCC*)
13684 lt_prog_compiler_wl_CXX='-Wl,'
13685 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13686 case $host_cpu in
13687 hppa*64*|ia64*)
13688 # +Z the default
13689 ;;
13690 *)
13691 lt_prog_compiler_pic_CXX='+Z'
13692 ;;
13693 esac
13694 ;;
13695 *)
13696 ;;
13697 esac
13698 ;;
13699 interix*)
13700 # This is c89, which is MS Visual C++ (no shared libs)
13701 # Anyone wants to do a port?
13702 ;;
13703 irix5* | irix6* | nonstopux*)
13704 case $cc_basename in
13705 CC*)
13706 lt_prog_compiler_wl_CXX='-Wl,'
13707 lt_prog_compiler_static_CXX='-non_shared'
13708 # CC pic flag -KPIC is the default.
13709 ;;
13710 *)
13711 ;;
13712 esac
13713 ;;
13714 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13715 case $cc_basename in
13716 KCC*)
13717 # KAI C++ Compiler
13718 lt_prog_compiler_wl_CXX='--backend -Wl,'
13719 lt_prog_compiler_pic_CXX='-fPIC'
13720 ;;
13721 ecpc* )
13722 # old Intel C++ for x86_64 which still supported -KPIC.
13723 lt_prog_compiler_wl_CXX='-Wl,'
13724 lt_prog_compiler_pic_CXX='-KPIC'
13725 lt_prog_compiler_static_CXX='-static'
13726 ;;
13727 icpc* )
13728 # Intel C++, used to be incompatible with GCC.
13729 # ICC 10 doesn't accept -KPIC any more.
13730 lt_prog_compiler_wl_CXX='-Wl,'
13731 lt_prog_compiler_pic_CXX='-fPIC'
13732 lt_prog_compiler_static_CXX='-static'
13733 ;;
13734 pgCC* | pgcpp*)
13735 # Portland Group C++ compiler
13736 lt_prog_compiler_wl_CXX='-Wl,'
13737 lt_prog_compiler_pic_CXX='-fpic'
13738 lt_prog_compiler_static_CXX='-Bstatic'
13739 ;;
13740 cxx*)
13741 # Compaq C++
13742 # Make sure the PIC flag is empty. It appears that all Alpha
13743 # Linux and Compaq Tru64 Unix objects are PIC.
13744 lt_prog_compiler_pic_CXX=
13745 lt_prog_compiler_static_CXX='-non_shared'
13746 ;;
13747 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13748 # IBM XL 8.0, 9.0 on PPC and BlueGene
13749 lt_prog_compiler_wl_CXX='-Wl,'
13750 lt_prog_compiler_pic_CXX='-qpic'
13751 lt_prog_compiler_static_CXX='-qstaticlink'
13752 ;;
13753 *)
13754 case `$CC -V 2>&1 | sed 5q` in
13755 *Sun\ C*)
13756 # Sun C++ 5.9
13757 lt_prog_compiler_pic_CXX='-KPIC'
13758 lt_prog_compiler_static_CXX='-Bstatic'
13759 lt_prog_compiler_wl_CXX='-Qoption ld '
13760 ;;
13761 esac
13762 ;;
13763 esac
13764 ;;
13765 lynxos*)
13766 ;;
13767 m88k*)
13768 ;;
13769 mvs*)
13770 case $cc_basename in
13771 cxx*)
13772 lt_prog_compiler_pic_CXX='-W c,exportall'
13773 ;;
13774 *)
13775 ;;
13776 esac
13777 ;;
13778 netbsd*)
13779 ;;
13780 *qnx* | *nto*)
13781 # QNX uses GNU C++, but need to define -shared option too, otherwise
13782 # it will coredump.
13783 lt_prog_compiler_pic_CXX='-fPIC -shared'
13784 ;;
13785 osf3* | osf4* | osf5*)
13786 case $cc_basename in
13787 KCC*)
13788 lt_prog_compiler_wl_CXX='--backend -Wl,'
13789 ;;
13790 RCC*)
13791 # Rational C++ 2.4.1
13792 lt_prog_compiler_pic_CXX='-pic'
13793 ;;
13794 cxx*)
13795 # Digital/Compaq C++
13796 lt_prog_compiler_wl_CXX='-Wl,'
13797 # Make sure the PIC flag is empty. It appears that all Alpha
13798 # Linux and Compaq Tru64 Unix objects are PIC.
13799 lt_prog_compiler_pic_CXX=
13800 lt_prog_compiler_static_CXX='-non_shared'
13801 ;;
13802 *)
13803 ;;
13804 esac
13805 ;;
13806 psos*)
13807 ;;
13808 solaris*)
13809 case $cc_basename in
13810 CC*)
13811 # Sun C++ 4.2, 5.x and Centerline C++
13812 lt_prog_compiler_pic_CXX='-KPIC'
13813 lt_prog_compiler_static_CXX='-Bstatic'
13814 lt_prog_compiler_wl_CXX='-Qoption ld '
13815 ;;
13816 gcx*)
13817 # Green Hills C++ Compiler
13818 lt_prog_compiler_pic_CXX='-PIC'
13819 ;;
13820 *)
13821 ;;
13822 esac
13823 ;;
13824 sunos4*)
13825 case $cc_basename in
13826 CC*)
13827 # Sun C++ 4.x
13828 lt_prog_compiler_pic_CXX='-pic'
13829 lt_prog_compiler_static_CXX='-Bstatic'
13830 ;;
13831 lcc*)
13832 # Lucid
13833 lt_prog_compiler_pic_CXX='-pic'
13834 ;;
13835 *)
13836 ;;
13837 esac
13838 ;;
13839 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13840 case $cc_basename in
13841 CC*)
13842 lt_prog_compiler_wl_CXX='-Wl,'
13843 lt_prog_compiler_pic_CXX='-KPIC'
13844 lt_prog_compiler_static_CXX='-Bstatic'
13845 ;;
13846 esac
13847 ;;
13848 tandem*)
13849 case $cc_basename in
13850 NCC*)
13851 # NonStop-UX NCC 3.20
13852 lt_prog_compiler_pic_CXX='-KPIC'
13853 ;;
13854 *)
13855 ;;
13856 esac
13857 ;;
13858 vxworks*)
13859 ;;
13860 *)
13861 lt_prog_compiler_can_build_shared_CXX=no
13862 ;;
13863 esac
13864 fi
13865
13866 case $host_os in
13867 # For platforms which do not support PIC, -DPIC is meaningless:
13868 *djgpp*)
13869 lt_prog_compiler_pic_CXX=
13870 ;;
13871 *)
13872 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13873 ;;
13874 esac
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13876 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13877
13878
13879
13880 #
13881 # Check to make sure the PIC flag actually works.
13882 #
13883 if test -n "$lt_prog_compiler_pic_CXX"; then
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13885 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13886 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13887 $as_echo_n "(cached) " >&6
13888 else
13889 lt_cv_prog_compiler_pic_works_CXX=no
13890 ac_outfile=conftest.$ac_objext
13891 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13892 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13893 # Insert the option either (1) after the last *FLAGS variable, or
13894 # (2) before a word containing "conftest.", or (3) at the end.
13895 # Note that $ac_compile itself does not contain backslashes and begins
13896 # with a dollar sign (not a hyphen), so the echo should work correctly.
13897 # The option is referenced via a variable to avoid confusing sed.
13898 lt_compile=`echo "$ac_compile" | $SED \
13899 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13900 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13901 -e 's:$: $lt_compiler_flag:'`
13902 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13903 (eval "$lt_compile" 2>conftest.err)
13904 ac_status=$?
13905 cat conftest.err >&5
13906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13907 if (exit $ac_status) && test -s "$ac_outfile"; then
13908 # The compiler can only warn and ignore the option if not recognized
13909 # So say no if there are warnings other than the usual output.
13910 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13911 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13912 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13913 lt_cv_prog_compiler_pic_works_CXX=yes
13914 fi
13915 fi
13916 $RM conftest*
13917
13918 fi
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13920 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13921
13922 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13923 case $lt_prog_compiler_pic_CXX in
13924 "" | " "*) ;;
13925 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13926 esac
13927 else
13928 lt_prog_compiler_pic_CXX=
13929 lt_prog_compiler_can_build_shared_CXX=no
13930 fi
13931
13932 fi
13933
13934
13935
13936 #
13937 # Check to make sure the static flag actually works.
13938 #
13939 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13941 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13942 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13943 $as_echo_n "(cached) " >&6
13944 else
13945 lt_cv_prog_compiler_static_works_CXX=no
13946 save_LDFLAGS="$LDFLAGS"
13947 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13948 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13949 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13950 # The linker can only warn and ignore the option if not recognized
13951 # So say no if there are warnings
13952 if test -s conftest.err; then
13953 # Append any errors to the config.log.
13954 cat conftest.err 1>&5
13955 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13956 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13957 if diff conftest.exp conftest.er2 >/dev/null; then
13958 lt_cv_prog_compiler_static_works_CXX=yes
13959 fi
13960 else
13961 lt_cv_prog_compiler_static_works_CXX=yes
13962 fi
13963 fi
13964 $RM -r conftest*
13965 LDFLAGS="$save_LDFLAGS"
13966
13967 fi
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13969 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13970
13971 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13972 :
13973 else
13974 lt_prog_compiler_static_CXX=
13975 fi
13976
13977
13978
13979
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13981 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13982 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13983 $as_echo_n "(cached) " >&6
13984 else
13985 lt_cv_prog_compiler_c_o_CXX=no
13986 $RM -r conftest 2>/dev/null
13987 mkdir conftest
13988 cd conftest
13989 mkdir out
13990 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13991
13992 lt_compiler_flag="-o out/conftest2.$ac_objext"
13993 # Insert the option either (1) after the last *FLAGS variable, or
13994 # (2) before a word containing "conftest.", or (3) at the end.
13995 # Note that $ac_compile itself does not contain backslashes and begins
13996 # with a dollar sign (not a hyphen), so the echo should work correctly.
13997 lt_compile=`echo "$ac_compile" | $SED \
13998 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13999 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14000 -e 's:$: $lt_compiler_flag:'`
14001 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14002 (eval "$lt_compile" 2>out/conftest.err)
14003 ac_status=$?
14004 cat out/conftest.err >&5
14005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14006 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14007 then
14008 # The compiler can only warn and ignore the option if not recognized
14009 # So say no if there are warnings
14010 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14011 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14012 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14013 lt_cv_prog_compiler_c_o_CXX=yes
14014 fi
14015 fi
14016 chmod u+w . 2>&5
14017 $RM conftest*
14018 # SGI C++ compiler will create directory out/ii_files/ for
14019 # template instantiation
14020 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14021 $RM out/* && rmdir out
14022 cd ..
14023 $RM -r conftest
14024 $RM conftest*
14025
14026 fi
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14028 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14029
14030
14031
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14033 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14034 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
14035 $as_echo_n "(cached) " >&6
14036 else
14037 lt_cv_prog_compiler_c_o_CXX=no
14038 $RM -r conftest 2>/dev/null
14039 mkdir conftest
14040 cd conftest
14041 mkdir out
14042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14043
14044 lt_compiler_flag="-o out/conftest2.$ac_objext"
14045 # Insert the option either (1) after the last *FLAGS variable, or
14046 # (2) before a word containing "conftest.", or (3) at the end.
14047 # Note that $ac_compile itself does not contain backslashes and begins
14048 # with a dollar sign (not a hyphen), so the echo should work correctly.
14049 lt_compile=`echo "$ac_compile" | $SED \
14050 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14051 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14052 -e 's:$: $lt_compiler_flag:'`
14053 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14054 (eval "$lt_compile" 2>out/conftest.err)
14055 ac_status=$?
14056 cat out/conftest.err >&5
14057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14058 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14059 then
14060 # The compiler can only warn and ignore the option if not recognized
14061 # So say no if there are warnings
14062 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14063 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14064 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14065 lt_cv_prog_compiler_c_o_CXX=yes
14066 fi
14067 fi
14068 chmod u+w . 2>&5
14069 $RM conftest*
14070 # SGI C++ compiler will create directory out/ii_files/ for
14071 # template instantiation
14072 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14073 $RM out/* && rmdir out
14074 cd ..
14075 $RM -r conftest
14076 $RM conftest*
14077
14078 fi
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14080 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14081
14082
14083
14084
14085 hard_links="nottested"
14086 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14087 # do not overwrite the value of need_locks provided by the user
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14089 $as_echo_n "checking if we can lock with hard links... " >&6; }
14090 hard_links=yes
14091 $RM conftest*
14092 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14093 touch conftest.a
14094 ln conftest.a conftest.b 2>&5 || hard_links=no
14095 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14097 $as_echo "$hard_links" >&6; }
14098 if test "$hard_links" = no; then
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14100 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14101 need_locks=warn
14102 fi
14103 else
14104 need_locks=no
14105 fi
14106
14107
14108
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14110 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14111
14112 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14113 case $host_os in
14114 aix[4-9]*)
14115 # If we're using GNU nm, then we don't want the "-C" option.
14116 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14117 # Also, AIX nm treats weak defined symbols like other global defined
14118 # symbols, whereas GNU nm marks them as "W".
14119 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14120 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'
14121 else
14122 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'
14123 fi
14124 ;;
14125 pw32*)
14126 export_symbols_cmds_CXX="$ltdll_cmds"
14127 ;;
14128 cygwin* | mingw* | cegcc*)
14129 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'
14130 ;;
14131 *)
14132 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14133 ;;
14134 esac
14135 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14136
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14138 $as_echo "$ld_shlibs_CXX" >&6; }
14139 test "$ld_shlibs_CXX" = no && can_build_shared=no
14140
14141 with_gnu_ld_CXX=$with_gnu_ld
14142
14143
14144
14145
14146
14147
14148 #
14149 # Do we need to explicitly link libc?
14150 #
14151 case "x$archive_cmds_need_lc_CXX" in
14152 x|xyes)
14153 # Assume -lc should be added
14154 archive_cmds_need_lc_CXX=yes
14155
14156 if test "$enable_shared" = yes && test "$GCC" = yes; then
14157 case $archive_cmds_CXX in
14158 *'~'*)
14159 # FIXME: we may have to deal with multi-command sequences.
14160 ;;
14161 '$CC '*)
14162 # Test whether the compiler implicitly links with -lc since on some
14163 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14164 # to ld, don't add -lc before -lgcc.
14165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14166 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14167 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14168 $as_echo_n "(cached) " >&6
14169 else
14170 $RM conftest*
14171 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14172
14173 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14174 (eval $ac_compile) 2>&5
14175 ac_status=$?
14176 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14177 test $ac_status = 0; } 2>conftest.err; then
14178 soname=conftest
14179 lib=conftest
14180 libobjs=conftest.$ac_objext
14181 deplibs=
14182 wl=$lt_prog_compiler_wl_CXX
14183 pic_flag=$lt_prog_compiler_pic_CXX
14184 compiler_flags=-v
14185 linker_flags=-v
14186 verstring=
14187 output_objdir=.
14188 libname=conftest
14189 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14190 allow_undefined_flag_CXX=
14191 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14192 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14193 ac_status=$?
14194 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14195 test $ac_status = 0; }
14196 then
14197 lt_cv_archive_cmds_need_lc_CXX=no
14198 else
14199 lt_cv_archive_cmds_need_lc_CXX=yes
14200 fi
14201 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14202 else
14203 cat conftest.err 1>&5
14204 fi
14205 $RM conftest*
14206
14207 fi
14208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14209 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14210 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14211 ;;
14212 esac
14213 fi
14214 ;;
14215 esac
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14281 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14282
14283 library_names_spec=
14284 libname_spec='lib$name'
14285 soname_spec=
14286 shrext_cmds=".so"
14287 postinstall_cmds=
14288 postuninstall_cmds=
14289 finish_cmds=
14290 finish_eval=
14291 shlibpath_var=
14292 shlibpath_overrides_runpath=unknown
14293 version_type=none
14294 dynamic_linker="$host_os ld.so"
14295 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14296 need_lib_prefix=unknown
14297 hardcode_into_libs=no
14298
14299 # when you set need_version to no, make sure it does not cause -set_version
14300 # flags to be left without arguments
14301 need_version=unknown
14302
14303 case $host_os in
14304 aix3*)
14305 version_type=linux
14306 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14307 shlibpath_var=LIBPATH
14308
14309 # AIX 3 has no versioning support, so we append a major version to the name.
14310 soname_spec='${libname}${release}${shared_ext}$major'
14311 ;;
14312
14313 aix[4-9]*)
14314 version_type=linux
14315 need_lib_prefix=no
14316 need_version=no
14317 hardcode_into_libs=yes
14318 if test "$host_cpu" = ia64; then
14319 # AIX 5 supports IA64
14320 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14321 shlibpath_var=LD_LIBRARY_PATH
14322 else
14323 # With GCC up to 2.95.x, collect2 would create an import file
14324 # for dependence libraries. The import file would start with
14325 # the line `#! .'. This would cause the generated library to
14326 # depend on `.', always an invalid library. This was fixed in
14327 # development snapshots of GCC prior to 3.0.
14328 case $host_os in
14329 aix4 | aix4.[01] | aix4.[01].*)
14330 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14331 echo ' yes '
14332 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14333 :
14334 else
14335 can_build_shared=no
14336 fi
14337 ;;
14338 esac
14339 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14340 # soname into executable. Probably we can add versioning support to
14341 # collect2, so additional links can be useful in future.
14342 if test "$aix_use_runtimelinking" = yes; then
14343 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14344 # instead of lib<name>.a to let people know that these are not
14345 # typical AIX shared libraries.
14346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14347 else
14348 # We preserve .a as extension for shared libraries through AIX4.2
14349 # and later when we are not doing run time linking.
14350 library_names_spec='${libname}${release}.a $libname.a'
14351 soname_spec='${libname}${release}${shared_ext}$major'
14352 fi
14353 shlibpath_var=LIBPATH
14354 fi
14355 ;;
14356
14357 amigaos*)
14358 case $host_cpu in
14359 powerpc)
14360 # Since July 2007 AmigaOS4 officially supports .so libraries.
14361 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14363 ;;
14364 m68k)
14365 library_names_spec='$libname.ixlibrary $libname.a'
14366 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14367 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'
14368 ;;
14369 esac
14370 ;;
14371
14372 beos*)
14373 library_names_spec='${libname}${shared_ext}'
14374 dynamic_linker="$host_os ld.so"
14375 shlibpath_var=LIBRARY_PATH
14376 ;;
14377
14378 bsdi[45]*)
14379 version_type=linux
14380 need_version=no
14381 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14382 soname_spec='${libname}${release}${shared_ext}$major'
14383 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14384 shlibpath_var=LD_LIBRARY_PATH
14385 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14386 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14387 # the default ld.so.conf also contains /usr/contrib/lib and
14388 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14389 # libtool to hard-code these into programs
14390 ;;
14391
14392 cygwin* | mingw* | pw32* | cegcc*)
14393 version_type=windows
14394 shrext_cmds=".dll"
14395 need_version=no
14396 need_lib_prefix=no
14397
14398 case $GCC,$host_os in
14399 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14400 library_names_spec='$libname.dll.a'
14401 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14402 postinstall_cmds='base_file=`basename \${file}`~
14403 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14404 dldir=$destdir/`dirname \$dlpath`~
14405 test -d \$dldir || mkdir -p \$dldir~
14406 $install_prog $dir/$dlname \$dldir/$dlname~
14407 chmod a+x \$dldir/$dlname~
14408 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14409 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14410 fi'
14411 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14412 dlpath=$dir/\$dldll~
14413 $RM \$dlpath'
14414 shlibpath_overrides_runpath=yes
14415
14416 case $host_os in
14417 cygwin*)
14418 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14419 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14420
14421 ;;
14422 mingw* | cegcc*)
14423 # MinGW DLLs use traditional 'lib' prefix
14424 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14425 ;;
14426 pw32*)
14427 # pw32 DLLs use 'pw' prefix rather than 'lib'
14428 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14429 ;;
14430 esac
14431 ;;
14432
14433 *)
14434 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14435 ;;
14436 esac
14437 dynamic_linker='Win32 ld.exe'
14438 # FIXME: first we should search . and the directory the executable is in
14439 shlibpath_var=PATH
14440 ;;
14441
14442 darwin* | rhapsody*)
14443 dynamic_linker="$host_os dyld"
14444 version_type=darwin
14445 need_lib_prefix=no
14446 need_version=no
14447 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14448 soname_spec='${libname}${release}${major}$shared_ext'
14449 shlibpath_overrides_runpath=yes
14450 shlibpath_var=DYLD_LIBRARY_PATH
14451 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14452
14453 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14454 ;;
14455
14456 dgux*)
14457 version_type=linux
14458 need_lib_prefix=no
14459 need_version=no
14460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14461 soname_spec='${libname}${release}${shared_ext}$major'
14462 shlibpath_var=LD_LIBRARY_PATH
14463 ;;
14464
14465 freebsd* | dragonfly*)
14466 # DragonFly does not have aout. When/if they implement a new
14467 # versioning mechanism, adjust this.
14468 if test -x /usr/bin/objformat; then
14469 objformat=`/usr/bin/objformat`
14470 else
14471 case $host_os in
14472 freebsd[23].*) objformat=aout ;;
14473 *) objformat=elf ;;
14474 esac
14475 fi
14476 version_type=freebsd-$objformat
14477 case $version_type in
14478 freebsd-elf*)
14479 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14480 need_version=no
14481 need_lib_prefix=no
14482 ;;
14483 freebsd-*)
14484 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14485 need_version=yes
14486 ;;
14487 esac
14488 shlibpath_var=LD_LIBRARY_PATH
14489 case $host_os in
14490 freebsd2.*)
14491 shlibpath_overrides_runpath=yes
14492 ;;
14493 freebsd3.[01]* | freebsdelf3.[01]*)
14494 shlibpath_overrides_runpath=yes
14495 hardcode_into_libs=yes
14496 ;;
14497 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14498 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14499 shlibpath_overrides_runpath=no
14500 hardcode_into_libs=yes
14501 ;;
14502 *) # from 4.6 on, and DragonFly
14503 shlibpath_overrides_runpath=yes
14504 hardcode_into_libs=yes
14505 ;;
14506 esac
14507 ;;
14508
14509 gnu*)
14510 version_type=linux
14511 need_lib_prefix=no
14512 need_version=no
14513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14514 soname_spec='${libname}${release}${shared_ext}$major'
14515 shlibpath_var=LD_LIBRARY_PATH
14516 hardcode_into_libs=yes
14517 ;;
14518
14519 haiku*)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 dynamic_linker="$host_os runtime_loader"
14524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14525 soname_spec='${libname}${release}${shared_ext}$major'
14526 shlibpath_var=LIBRARY_PATH
14527 shlibpath_overrides_runpath=yes
14528 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14529 hardcode_into_libs=yes
14530 ;;
14531
14532 hpux9* | hpux10* | hpux11*)
14533 # Give a soname corresponding to the major version so that dld.sl refuses to
14534 # link against other versions.
14535 version_type=sunos
14536 need_lib_prefix=no
14537 need_version=no
14538 case $host_cpu in
14539 ia64*)
14540 shrext_cmds='.so'
14541 hardcode_into_libs=yes
14542 dynamic_linker="$host_os dld.so"
14543 shlibpath_var=LD_LIBRARY_PATH
14544 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14545 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14546 soname_spec='${libname}${release}${shared_ext}$major'
14547 if test "X$HPUX_IA64_MODE" = X32; then
14548 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14549 else
14550 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14551 fi
14552 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14553 ;;
14554 hppa*64*)
14555 shrext_cmds='.sl'
14556 hardcode_into_libs=yes
14557 dynamic_linker="$host_os dld.sl"
14558 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14559 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14561 soname_spec='${libname}${release}${shared_ext}$major'
14562 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14563 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14564 ;;
14565 *)
14566 shrext_cmds='.sl'
14567 dynamic_linker="$host_os dld.sl"
14568 shlibpath_var=SHLIB_PATH
14569 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14571 soname_spec='${libname}${release}${shared_ext}$major'
14572 ;;
14573 esac
14574 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14575 postinstall_cmds='chmod 555 $lib'
14576 # or fails outright, so override atomically:
14577 install_override_mode=555
14578 ;;
14579
14580 interix[3-9]*)
14581 version_type=linux
14582 need_lib_prefix=no
14583 need_version=no
14584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14585 soname_spec='${libname}${release}${shared_ext}$major'
14586 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14587 shlibpath_var=LD_LIBRARY_PATH
14588 shlibpath_overrides_runpath=no
14589 hardcode_into_libs=yes
14590 ;;
14591
14592 irix5* | irix6* | nonstopux*)
14593 case $host_os in
14594 nonstopux*) version_type=nonstopux ;;
14595 *)
14596 if test "$lt_cv_prog_gnu_ld" = yes; then
14597 version_type=linux
14598 else
14599 version_type=irix
14600 fi ;;
14601 esac
14602 need_lib_prefix=no
14603 need_version=no
14604 soname_spec='${libname}${release}${shared_ext}$major'
14605 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14606 case $host_os in
14607 irix5* | nonstopux*)
14608 libsuff= shlibsuff=
14609 ;;
14610 *)
14611 case $LD in # libtool.m4 will add one of these switches to LD
14612 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14613 libsuff= shlibsuff= libmagic=32-bit;;
14614 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14615 libsuff=32 shlibsuff=N32 libmagic=N32;;
14616 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14617 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14618 *) libsuff= shlibsuff= libmagic=never-match;;
14619 esac
14620 ;;
14621 esac
14622 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14623 shlibpath_overrides_runpath=no
14624 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14625 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14626 hardcode_into_libs=yes
14627 ;;
14628
14629 # No shared lib support for Linux oldld, aout, or coff.
14630 linux*oldld* | linux*aout* | linux*coff*)
14631 dynamic_linker=no
14632 ;;
14633
14634 # This must be Linux ELF.
14635 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14636 version_type=linux
14637 need_lib_prefix=no
14638 need_version=no
14639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14640 soname_spec='${libname}${release}${shared_ext}$major'
14641 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14642 shlibpath_var=LD_LIBRARY_PATH
14643 shlibpath_overrides_runpath=no
14644
14645 # Some binutils ld are patched to set DT_RUNPATH
14646 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14647 $as_echo_n "(cached) " >&6
14648 else
14649 lt_cv_shlibpath_overrides_runpath=no
14650 save_LDFLAGS=$LDFLAGS
14651 save_libdir=$libdir
14652 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14653 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14654 if test x$gcc_no_link = xyes; then
14655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14656 fi
14657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14658 /* end confdefs.h. */
14659
14660 int
14661 main ()
14662 {
14663
14664 ;
14665 return 0;
14666 }
14667 _ACEOF
14668 if ac_fn_cxx_try_link "$LINENO"; then :
14669 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14670 lt_cv_shlibpath_overrides_runpath=yes
14671 fi
14672 fi
14673 rm -f core conftest.err conftest.$ac_objext \
14674 conftest$ac_exeext conftest.$ac_ext
14675 LDFLAGS=$save_LDFLAGS
14676 libdir=$save_libdir
14677
14678 fi
14679
14680 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14681
14682 # This implies no fast_install, which is unacceptable.
14683 # Some rework will be needed to allow for fast_install
14684 # before this can be enabled.
14685 hardcode_into_libs=yes
14686
14687 # Append ld.so.conf contents to the search path
14688 if test -f /etc/ld.so.conf; then
14689 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' ' '`
14690 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14691 fi
14692
14693 # We used to test for /lib/ld.so.1 and disable shared libraries on
14694 # powerpc, because MkLinux only supported shared libraries with the
14695 # GNU dynamic linker. Since this was broken with cross compilers,
14696 # most powerpc-linux boxes support dynamic linking these days and
14697 # people can always --disable-shared, the test was removed, and we
14698 # assume the GNU/Linux dynamic linker is in use.
14699 dynamic_linker='GNU/Linux ld.so'
14700 ;;
14701
14702 netbsd*)
14703 version_type=sunos
14704 need_lib_prefix=no
14705 need_version=no
14706 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14707 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14708 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14709 dynamic_linker='NetBSD (a.out) ld.so'
14710 else
14711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14712 soname_spec='${libname}${release}${shared_ext}$major'
14713 dynamic_linker='NetBSD ld.elf_so'
14714 fi
14715 shlibpath_var=LD_LIBRARY_PATH
14716 shlibpath_overrides_runpath=yes
14717 hardcode_into_libs=yes
14718 ;;
14719
14720 newsos6)
14721 version_type=linux
14722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14723 shlibpath_var=LD_LIBRARY_PATH
14724 shlibpath_overrides_runpath=yes
14725 ;;
14726
14727 *nto* | *qnx*)
14728 version_type=qnx
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 soname_spec='${libname}${release}${shared_ext}$major'
14733 shlibpath_var=LD_LIBRARY_PATH
14734 shlibpath_overrides_runpath=no
14735 hardcode_into_libs=yes
14736 dynamic_linker='ldqnx.so'
14737 ;;
14738
14739 openbsd*)
14740 version_type=sunos
14741 sys_lib_dlsearch_path_spec="/usr/lib"
14742 need_lib_prefix=no
14743 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14744 case $host_os in
14745 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14746 *) need_version=no ;;
14747 esac
14748 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14749 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14750 shlibpath_var=LD_LIBRARY_PATH
14751 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14752 case $host_os in
14753 openbsd2.[89] | openbsd2.[89].*)
14754 shlibpath_overrides_runpath=no
14755 ;;
14756 *)
14757 shlibpath_overrides_runpath=yes
14758 ;;
14759 esac
14760 else
14761 shlibpath_overrides_runpath=yes
14762 fi
14763 ;;
14764
14765 os2*)
14766 libname_spec='$name'
14767 shrext_cmds=".dll"
14768 need_lib_prefix=no
14769 library_names_spec='$libname${shared_ext} $libname.a'
14770 dynamic_linker='OS/2 ld.exe'
14771 shlibpath_var=LIBPATH
14772 ;;
14773
14774 osf3* | osf4* | osf5*)
14775 version_type=osf
14776 need_lib_prefix=no
14777 need_version=no
14778 soname_spec='${libname}${release}${shared_ext}$major'
14779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14780 shlibpath_var=LD_LIBRARY_PATH
14781 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14782 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14783 ;;
14784
14785 rdos*)
14786 dynamic_linker=no
14787 ;;
14788
14789 solaris*)
14790 version_type=linux
14791 need_lib_prefix=no
14792 need_version=no
14793 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14794 soname_spec='${libname}${release}${shared_ext}$major'
14795 shlibpath_var=LD_LIBRARY_PATH
14796 shlibpath_overrides_runpath=yes
14797 hardcode_into_libs=yes
14798 # ldd complains unless libraries are executable
14799 postinstall_cmds='chmod +x $lib'
14800 ;;
14801
14802 sunos4*)
14803 version_type=sunos
14804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14805 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14806 shlibpath_var=LD_LIBRARY_PATH
14807 shlibpath_overrides_runpath=yes
14808 if test "$with_gnu_ld" = yes; then
14809 need_lib_prefix=no
14810 fi
14811 need_version=yes
14812 ;;
14813
14814 sysv4 | sysv4.3*)
14815 version_type=linux
14816 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14817 soname_spec='${libname}${release}${shared_ext}$major'
14818 shlibpath_var=LD_LIBRARY_PATH
14819 case $host_vendor in
14820 sni)
14821 shlibpath_overrides_runpath=no
14822 need_lib_prefix=no
14823 runpath_var=LD_RUN_PATH
14824 ;;
14825 siemens)
14826 need_lib_prefix=no
14827 ;;
14828 motorola)
14829 need_lib_prefix=no
14830 need_version=no
14831 shlibpath_overrides_runpath=no
14832 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14833 ;;
14834 esac
14835 ;;
14836
14837 sysv4*MP*)
14838 if test -d /usr/nec ;then
14839 version_type=linux
14840 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14841 soname_spec='$libname${shared_ext}.$major'
14842 shlibpath_var=LD_LIBRARY_PATH
14843 fi
14844 ;;
14845
14846 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14847 version_type=freebsd-elf
14848 need_lib_prefix=no
14849 need_version=no
14850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14851 soname_spec='${libname}${release}${shared_ext}$major'
14852 shlibpath_var=LD_LIBRARY_PATH
14853 shlibpath_overrides_runpath=yes
14854 hardcode_into_libs=yes
14855 if test "$with_gnu_ld" = yes; then
14856 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14857 else
14858 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14859 case $host_os in
14860 sco3.2v5*)
14861 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14862 ;;
14863 esac
14864 fi
14865 sys_lib_dlsearch_path_spec='/usr/lib'
14866 ;;
14867
14868 tpf*)
14869 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14870 version_type=linux
14871 need_lib_prefix=no
14872 need_version=no
14873 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14874 shlibpath_var=LD_LIBRARY_PATH
14875 shlibpath_overrides_runpath=no
14876 hardcode_into_libs=yes
14877 ;;
14878
14879 uts4*)
14880 version_type=linux
14881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14882 soname_spec='${libname}${release}${shared_ext}$major'
14883 shlibpath_var=LD_LIBRARY_PATH
14884 ;;
14885
14886 *)
14887 dynamic_linker=no
14888 ;;
14889 esac
14890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14891 $as_echo "$dynamic_linker" >&6; }
14892 test "$dynamic_linker" = no && can_build_shared=no
14893
14894 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14895 if test "$GCC" = yes; then
14896 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14897 fi
14898
14899 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14900 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14901 fi
14902 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14903 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14904 fi
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14944 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14945 hardcode_action_CXX=
14946 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14947 test -n "$runpath_var_CXX" ||
14948 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14949
14950 # We can hardcode non-existent directories.
14951 if test "$hardcode_direct_CXX" != no &&
14952 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14953 # have to relink, otherwise we might link with an installed library
14954 # when we should be linking with a yet-to-be-installed one
14955 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14956 test "$hardcode_minus_L_CXX" != no; then
14957 # Linking always hardcodes the temporary library directory.
14958 hardcode_action_CXX=relink
14959 else
14960 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14961 hardcode_action_CXX=immediate
14962 fi
14963 else
14964 # We cannot hardcode anything, or else we can only hardcode existing
14965 # directories.
14966 hardcode_action_CXX=unsupported
14967 fi
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14969 $as_echo "$hardcode_action_CXX" >&6; }
14970
14971 if test "$hardcode_action_CXX" = relink ||
14972 test "$inherit_rpath_CXX" = yes; then
14973 # Fast installation is not supported
14974 enable_fast_install=no
14975 elif test "$shlibpath_overrides_runpath" = yes ||
14976 test "$enable_shared" = no; then
14977 # Fast installation is not necessary
14978 enable_fast_install=needless
14979 fi
14980
14981
14982
14983
14984
14985
14986
14987 fi # test -n "$compiler"
14988
14989 CC=$lt_save_CC
14990 LDCXX=$LD
14991 LD=$lt_save_LD
14992 GCC=$lt_save_GCC
14993 with_gnu_ld=$lt_save_with_gnu_ld
14994 lt_cv_path_LDCXX=$lt_cv_path_LD
14995 lt_cv_path_LD=$lt_save_path_LD
14996 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14997 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14998 fi # test "$_lt_caught_CXX_error" != yes
14999
15000 ac_ext=c
15001 ac_cpp='$CPP $CPPFLAGS'
15002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018 ac_config_commands="$ac_config_commands libtool"
15019
15020
15021
15022
15023 # Only expand once:
15024
15025
15026
15027
15028
15029 case $host in
15030 *-cygwin* | *-mingw*)
15031 # 'host' will be top-level target in the case of a target lib,
15032 # we must compare to with_cross_host to decide if this is a native
15033 # or cross-compiler and select where to install dlls appropriately.
15034 if test -n "$with_cross_host" &&
15035 test x"$with_cross_host" != x"no"; then
15036 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15037 else
15038 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15039 fi
15040 ;;
15041 *)
15042 lt_host_flags=
15043 ;;
15044 esac
15045
15046
15047
15048
15049
15050
15051 if test "$enable_vtable_verify" = yes; then
15052 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15053 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15054 fi
15055
15056
15057 # libtool variables for C++ shared and position-independent compiles.
15058 #
15059 # Use glibcxx_lt_pic_flag to designate the automake variable
15060 # used to encapsulate the default libtool approach to creating objects
15061 # with position-independent code. Default: -prefer-pic.
15062 #
15063 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15064 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15065 #
15066 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15067 # creating position-independent objects. This varies with the target
15068 # hardware and operating system, but is often: -DPIC -fPIC.
15069 if test "$enable_shared" = yes; then
15070 glibcxx_lt_pic_flag="-prefer-pic"
15071 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15072 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15073
15074 else
15075 glibcxx_lt_pic_flag=
15076 glibcxx_compiler_pic_flag=
15077 glibcxx_compiler_shared_flag=
15078 fi
15079
15080
15081
15082
15083 # Override the libtool's pic_flag and pic_mode.
15084 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15085 # NB: this impacts --with-pic and --without-pic.
15086 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15087 pic_mode='default'
15088
15089 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15090 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15091
15092 # Possibly disable most of the library.
15093 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15094 ## than just ignoring the results. Faster /and/ more correct, win win.
15095
15096 # Check whether --enable-hosted-libstdcxx was given.
15097 if test "${enable_hosted_libstdcxx+set}" = set; then :
15098 enableval=$enable_hosted_libstdcxx;
15099 else
15100 case "$host" in
15101 arm*-*-symbianelf*)
15102 enable_hosted_libstdcxx=no
15103 ;;
15104 *)
15105 enable_hosted_libstdcxx=yes
15106 ;;
15107 esac
15108 fi
15109
15110 if test "$enable_hosted_libstdcxx" = no; then
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15112 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15113 is_hosted=no
15114 hosted_define=0
15115 enable_abi_check=no
15116 enable_libstdcxx_pch=no
15117 else
15118 is_hosted=yes
15119 hosted_define=1
15120 fi
15121
15122
15123 cat >>confdefs.h <<_ACEOF
15124 #define _GLIBCXX_HOSTED $hosted_define
15125 _ACEOF
15126
15127
15128
15129 # Enable descriptive messages to standard output on termination.
15130
15131 # Check whether --enable-libstdcxx-verbose was given.
15132 if test "${enable_libstdcxx_verbose+set}" = set; then :
15133 enableval=$enable_libstdcxx_verbose;
15134 else
15135 enable_libstdcxx_verbose=yes
15136 fi
15137
15138 if test x"$enable_libstdcxx_verbose" = xyes; then
15139 verbose_define=1
15140 else
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15142 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15143 verbose_define=0
15144 fi
15145
15146 cat >>confdefs.h <<_ACEOF
15147 #define _GLIBCXX_VERBOSE $verbose_define
15148 _ACEOF
15149
15150
15151
15152 # Enable compiler support that doesn't require linking.
15153
15154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15155 $as_echo_n "checking for exception model to use... " >&6; }
15156
15157 ac_ext=cpp
15158 ac_cpp='$CXXCPP $CPPFLAGS'
15159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15162
15163 # Check whether --enable-sjlj-exceptions was given.
15164 if test "${enable_sjlj_exceptions+set}" = set; then :
15165 enableval=$enable_sjlj_exceptions;
15166 case "$enableval" in
15167 yes|no|auto) ;;
15168 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15169 esac
15170
15171 else
15172 enable_sjlj_exceptions=auto
15173 fi
15174
15175
15176
15177 if test $enable_sjlj_exceptions = auto; then
15178 # Botheration. Now we've got to detect the exception model. Link tests
15179 # against libgcc.a are problematic since we've not been given proper -L
15180 # bits for single-tree newlib and libgloss.
15181 #
15182 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15183 cat > conftest.$ac_ext << EOF
15184 #line 15184 "configure"
15185 struct S { ~S(); };
15186 void bar();
15187 void foo()
15188 {
15189 S s;
15190 bar();
15191 }
15192 EOF
15193 old_CXXFLAGS="$CXXFLAGS"
15194 CXXFLAGS=-S
15195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15196 (eval $ac_compile) 2>&5
15197 ac_status=$?
15198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15199 test $ac_status = 0; }; then
15200 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15201 enable_sjlj_exceptions=yes
15202 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15203 enable_sjlj_exceptions=yes
15204 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15205 enable_sjlj_exceptions=no
15206 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15207 enable_sjlj_exceptions=no
15208 fi
15209 fi
15210 CXXFLAGS="$old_CXXFLAGS"
15211 rm -f conftest*
15212 fi
15213
15214 # This is a tad weird, for hysterical raisins. We have to map
15215 # enable/disable to two different models.
15216 case $enable_sjlj_exceptions in
15217 yes)
15218
15219 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15220
15221 ac_exception_model_name=sjlj
15222 ;;
15223 no)
15224 ac_exception_model_name="call frame"
15225 ;;
15226 *)
15227 as_fn_error "unable to detect exception model" "$LINENO" 5
15228 ;;
15229 esac
15230 ac_ext=c
15231 ac_cpp='$CPP $CPPFLAGS'
15232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15235
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15237 $as_echo "$ac_exception_model_name" >&6; }
15238
15239
15240 # Check whether --enable-libstdcxx-pch was given.
15241 if test "${enable_libstdcxx_pch+set}" = set; then :
15242 enableval=$enable_libstdcxx_pch;
15243 case "$enableval" in
15244 yes|no) ;;
15245 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15246 esac
15247
15248 else
15249 enable_libstdcxx_pch=$is_hosted
15250 fi
15251
15252
15253 if test $enable_libstdcxx_pch = yes; then
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15255 $as_echo_n "checking for compiler with PCH support... " >&6; }
15256 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15257 $as_echo_n "(cached) " >&6
15258 else
15259 ac_save_CXXFLAGS="$CXXFLAGS"
15260 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15261
15262 ac_ext=cpp
15263 ac_cpp='$CXXCPP $CPPFLAGS'
15264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15267
15268 echo '#include <math.h>' > conftest.h
15269 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15270 -o conftest.h.gch 1>&5 2>&1 &&
15271 echo '#error "pch failed"' > conftest.h &&
15272 echo '#include "conftest.h"' > conftest.cc &&
15273 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15274 then
15275 glibcxx_cv_prog_CXX_pch=yes
15276 else
15277 glibcxx_cv_prog_CXX_pch=no
15278 fi
15279 rm -f conftest*
15280 CXXFLAGS=$ac_save_CXXFLAGS
15281 ac_ext=c
15282 ac_cpp='$CPP $CPPFLAGS'
15283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15286
15287
15288 fi
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15290 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15291 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15292 fi
15293
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15295 $as_echo_n "checking for enabled PCH... " >&6; }
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15297 $as_echo "$enable_libstdcxx_pch" >&6; }
15298
15299
15300 if test $enable_libstdcxx_pch = yes; then
15301 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15302 else
15303 glibcxx_PCHFLAGS=""
15304 fi
15305
15306
15307
15308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15309 $as_echo_n "checking for thread model used by GCC... " >&6; }
15310 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15312 $as_echo "$target_thread_file" >&6; }
15313
15314 case $target_thread_file in
15315 aix) thread_header=config/rs6000/gthr-aix.h ;;
15316 dce) thread_header=config/pa/gthr-dce.h ;;
15317 lynx) thread_header=config/gthr-lynx.h ;;
15318 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15319 posix) thread_header=gthr-posix.h ;;
15320 rtems) thread_header=config/gthr-rtems.h ;;
15321 single) thread_header=gthr-single.h ;;
15322 tpf) thread_header=config/s390/gthr-tpf.h ;;
15323 vxworks) thread_header=config/gthr-vxworks.h ;;
15324 win32) thread_header=config/i386/gthr-win32.h ;;
15325 esac
15326
15327
15328
15329
15330
15331 ac_ext=cpp
15332 ac_cpp='$CXXCPP $CPPFLAGS'
15333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15336
15337 old_CXXFLAGS="$CXXFLAGS"
15338
15339 # Do link tests if possible, instead asm tests, limited to some platforms
15340 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15341 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15342 atomic_builtins_link_tests=no
15343 if test x$gcc_no_link != xyes; then
15344 # Can do link tests. Limit to some tested platforms
15345 case "$host" in
15346 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15347 atomic_builtins_link_tests=yes
15348 ;;
15349 esac
15350 fi
15351
15352 if test x$atomic_builtins_link_tests = xyes; then
15353
15354 # Do link tests.
15355
15356 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15357
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15359 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15360 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363
15364 if test x$gcc_no_link = xyes; then
15365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15366 fi
15367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15368 /* end confdefs.h. */
15369
15370 int
15371 main ()
15372 {
15373 typedef bool atomic_type;
15374 atomic_type c1;
15375 atomic_type c2;
15376 atomic_type c3(0);
15377 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15378 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15379 __ATOMIC_RELAXED);
15380 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15381 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15382
15383 ;
15384 return 0;
15385 }
15386 _ACEOF
15387 if ac_fn_cxx_try_link "$LINENO"; then :
15388 glibcxx_cv_atomic_bool=yes
15389 else
15390 glibcxx_cv_atomic_bool=no
15391 fi
15392 rm -f core conftest.err conftest.$ac_objext \
15393 conftest$ac_exeext conftest.$ac_ext
15394
15395 fi
15396
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15398 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15399
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15401 $as_echo_n "checking for atomic builtins for short... " >&6; }
15402 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15403 $as_echo_n "(cached) " >&6
15404 else
15405
15406 if test x$gcc_no_link = xyes; then
15407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15408 fi
15409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15411
15412 int
15413 main ()
15414 {
15415 typedef short atomic_type;
15416 atomic_type c1;
15417 atomic_type c2;
15418 atomic_type c3(0);
15419 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15420 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15421 __ATOMIC_RELAXED);
15422 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15423 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15424
15425 ;
15426 return 0;
15427 }
15428 _ACEOF
15429 if ac_fn_cxx_try_link "$LINENO"; then :
15430 glibcxx_cv_atomic_short=yes
15431 else
15432 glibcxx_cv_atomic_short=no
15433 fi
15434 rm -f core conftest.err conftest.$ac_objext \
15435 conftest$ac_exeext conftest.$ac_ext
15436
15437 fi
15438
15439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15440 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15441
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15443 $as_echo_n "checking for atomic builtins for int... " >&6; }
15444 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15445 $as_echo_n "(cached) " >&6
15446 else
15447
15448 if test x$gcc_no_link = xyes; then
15449 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15450 fi
15451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15452 /* end confdefs.h. */
15453
15454 int
15455 main ()
15456 {
15457 typedef int atomic_type;
15458 atomic_type c1;
15459 atomic_type c2;
15460 atomic_type c3(0);
15461 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15462 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15463 __ATOMIC_RELAXED);
15464 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15465 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15466
15467 ;
15468 return 0;
15469 }
15470 _ACEOF
15471 if ac_fn_cxx_try_link "$LINENO"; then :
15472 glibcxx_cv_atomic_int=yes
15473 else
15474 glibcxx_cv_atomic_int=no
15475 fi
15476 rm -f core conftest.err conftest.$ac_objext \
15477 conftest$ac_exeext conftest.$ac_ext
15478
15479 fi
15480
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15482 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15483
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15485 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15486 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15487 $as_echo_n "(cached) " >&6
15488 else
15489
15490 if test x$gcc_no_link = xyes; then
15491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15492 fi
15493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15494 /* end confdefs.h. */
15495
15496 int
15497 main ()
15498 {
15499 typedef long long atomic_type;
15500 atomic_type c1;
15501 atomic_type c2;
15502 atomic_type c3(0);
15503 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15504 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15505 __ATOMIC_RELAXED);
15506 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15507 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15508
15509 ;
15510 return 0;
15511 }
15512 _ACEOF
15513 if ac_fn_cxx_try_link "$LINENO"; then :
15514 glibcxx_cv_atomic_long_long=yes
15515 else
15516 glibcxx_cv_atomic_long_long=no
15517 fi
15518 rm -f core conftest.err conftest.$ac_objext \
15519 conftest$ac_exeext conftest.$ac_ext
15520
15521 fi
15522
15523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15524 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15525
15526 else
15527
15528 # Do asm tests.
15529
15530 # Compile unoptimized.
15531 CXXFLAGS='-O0 -S'
15532
15533 # Fake what AC_TRY_COMPILE does.
15534
15535 cat > conftest.$ac_ext << EOF
15536 #line 15536 "configure"
15537 int main()
15538 {
15539 typedef bool atomic_type;
15540 atomic_type c1;
15541 atomic_type c2;
15542 atomic_type c3(0);
15543 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15544 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15545 __ATOMIC_RELAXED);
15546 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15547 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15548
15549 return 0;
15550 }
15551 EOF
15552
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15554 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15555 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15556 (eval $ac_compile) 2>&5
15557 ac_status=$?
15558 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15559 test $ac_status = 0; }; then
15560 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15561 glibcxx_cv_atomic_bool=no
15562 else
15563 glibcxx_cv_atomic_bool=yes
15564 fi
15565 fi
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15567 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15568 rm -f conftest*
15569
15570 cat > conftest.$ac_ext << EOF
15571 #line 15571 "configure"
15572 int main()
15573 {
15574 typedef short atomic_type;
15575 atomic_type c1;
15576 atomic_type c2;
15577 atomic_type c3(0);
15578 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15579 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15580 __ATOMIC_RELAXED);
15581 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15582 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15583
15584 return 0;
15585 }
15586 EOF
15587
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15589 $as_echo_n "checking for atomic builtins for short... " >&6; }
15590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15591 (eval $ac_compile) 2>&5
15592 ac_status=$?
15593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15594 test $ac_status = 0; }; then
15595 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15596 glibcxx_cv_atomic_short=no
15597 else
15598 glibcxx_cv_atomic_short=yes
15599 fi
15600 fi
15601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15602 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15603 rm -f conftest*
15604
15605 cat > conftest.$ac_ext << EOF
15606 #line 15606 "configure"
15607 int main()
15608 {
15609 // NB: _Atomic_word not necessarily int.
15610 typedef int atomic_type;
15611 atomic_type c1;
15612 atomic_type c2;
15613 atomic_type c3(0);
15614 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15615 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15616 __ATOMIC_RELAXED);
15617 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15618 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15619
15620 return 0;
15621 }
15622 EOF
15623
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15625 $as_echo_n "checking for atomic builtins for int... " >&6; }
15626 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15627 (eval $ac_compile) 2>&5
15628 ac_status=$?
15629 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15630 test $ac_status = 0; }; then
15631 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15632 glibcxx_cv_atomic_int=no
15633 else
15634 glibcxx_cv_atomic_int=yes
15635 fi
15636 fi
15637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15638 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15639 rm -f conftest*
15640
15641 cat > conftest.$ac_ext << EOF
15642 #line 15642 "configure"
15643 int main()
15644 {
15645 typedef long long atomic_type;
15646 atomic_type c1;
15647 atomic_type c2;
15648 atomic_type c3(0);
15649 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15650 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15651 __ATOMIC_RELAXED);
15652 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15653 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15654
15655 return 0;
15656 }
15657 EOF
15658
15659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15660 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15662 (eval $ac_compile) 2>&5
15663 ac_status=$?
15664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15665 test $ac_status = 0; }; then
15666 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15667 glibcxx_cv_atomic_long_long=no
15668 else
15669 glibcxx_cv_atomic_long_long=yes
15670 fi
15671 fi
15672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15673 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15674 rm -f conftest*
15675
15676 fi
15677
15678 CXXFLAGS="$old_CXXFLAGS"
15679 ac_ext=c
15680 ac_cpp='$CPP $CPPFLAGS'
15681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15684
15685
15686 # Set atomicity_dir to builtins if all but the long long test above passes.
15687 if test $glibcxx_cv_atomic_bool = yes \
15688 && test $glibcxx_cv_atomic_short = yes \
15689 && test $glibcxx_cv_atomic_int = yes; then
15690
15691 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15692
15693 atomicity_dir=cpu/generic/atomicity_builtins
15694 fi
15695
15696 # If still generic, set to mutex.
15697 if test $atomicity_dir = "cpu/generic" ; then
15698 atomicity_dir=cpu/generic/atomicity_mutex
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15700 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15701 if test "x$target_thread_file" = xsingle; then
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15703 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15705 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15706 else
15707 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15708 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15709 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15710 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15711 fi
15712 fi
15713
15714
15715
15716
15717 # Fake what AC_TRY_COMPILE does, without linking as this is
15718 # unnecessary for this test.
15719
15720 cat > conftest.$ac_ext << EOF
15721 #line 15721 "configure"
15722 int main()
15723 {
15724 _Decimal32 d1;
15725 _Decimal64 d2;
15726 _Decimal128 d3;
15727 return 0;
15728 }
15729 EOF
15730
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15732 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15734 (eval $ac_compile) 2>&5
15735 ac_status=$?
15736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15737 test $ac_status = 0; }; then
15738
15739 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15740
15741 enable_dfp=yes
15742 else
15743 enable_dfp=no
15744 fi
15745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15746 $as_echo "$enable_dfp" >&6; }
15747 rm -f conftest*
15748
15749
15750
15751
15752 ac_ext=cpp
15753 ac_cpp='$CXXCPP $CPPFLAGS'
15754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15757
15758
15759 # Fake what AC_TRY_COMPILE does, without linking as this is
15760 # unnecessary for this test.
15761
15762 cat > conftest.$ac_ext << EOF
15763 #line 15763 "configure"
15764 template<typename T1, typename T2>
15765 struct same
15766 { typedef T2 type; };
15767
15768 template<typename T>
15769 struct same<T, T>;
15770
15771 int main()
15772 {
15773 typename same<long, __int128>::type i1;
15774 typename same<long long, __int128>::type i2;
15775 }
15776 EOF
15777
15778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15779 $as_echo_n "checking for __int128... " >&6; }
15780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15781 (eval $ac_compile) 2>&5
15782 ac_status=$?
15783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15784 test $ac_status = 0; }; then
15785
15786 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15787
15788 enable_int128=yes
15789 else
15790 enable_int128=no
15791 fi
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15793 $as_echo "$enable_int128" >&6; }
15794 rm -f conftest*
15795
15796 cat > conftest.$ac_ext << EOF
15797 #line 15797 "configure"
15798 template<typename T1, typename T2>
15799 struct same
15800 { typedef T2 type; };
15801
15802 template<typename T>
15803 struct same<T, T>;
15804
15805 int main()
15806 {
15807 typename same<double, __float128>::type f1;
15808 typename same<long double, __float128>::type f2;
15809 }
15810 EOF
15811
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15813 $as_echo_n "checking for __float128... " >&6; }
15814 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15815 (eval $ac_compile) 2>&5
15816 ac_status=$?
15817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15818 test $ac_status = 0; }; then
15819
15820 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15821
15822 enable_float128=yes
15823 else
15824 enable_float128=no
15825 fi
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15827 $as_echo "$enable_float128" >&6; }
15828 rm -f conftest*
15829
15830 ac_ext=c
15831 ac_cpp='$CPP $CPPFLAGS'
15832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15835
15836
15837 if test "$enable_float128" = yes; then
15838 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15839 fi
15840
15841 # Checks for compiler support that doesn't require linking.
15842
15843 # All these tests are for C++; save the language and the compiler flags.
15844 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15845 # found in GLIBCXX_CONFIGURE.
15846
15847 ac_ext=cpp
15848 ac_cpp='$CXXCPP $CPPFLAGS'
15849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15852
15853 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15854 ac_save_CXXFLAGS="$CXXFLAGS"
15855
15856 # Check for maintainer-mode bits.
15857 if test x"$USE_MAINTAINER_MODE" = xno; then
15858 WERROR=''
15859 else
15860 WERROR='-Werror'
15861 fi
15862
15863 # Check for -ffunction-sections -fdata-sections
15864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15865 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15866 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15869 int foo; void bar() { };
15870 int
15871 main ()
15872 {
15873
15874 ;
15875 return 0;
15876 }
15877 _ACEOF
15878 if ac_fn_cxx_try_compile "$LINENO"; then :
15879 ac_fdsections=yes
15880 else
15881 ac_fdsections=no
15882 fi
15883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15884 if test "$ac_test_CXXFLAGS" = set; then
15885 CXXFLAGS="$ac_save_CXXFLAGS"
15886 else
15887 # this is the suspicious part
15888 CXXFLAGS=''
15889 fi
15890 if test x"$ac_fdsections" = x"yes"; then
15891 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15892 fi
15893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15894 $as_echo "$ac_fdsections" >&6; }
15895
15896 ac_ext=c
15897 ac_cpp='$CPP $CPPFLAGS'
15898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15901
15902
15903
15904
15905
15906 # Enable all the variable C++ runtime options that don't require linking.
15907
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15909 $as_echo_n "checking for underlying I/O to use... " >&6; }
15910 # Check whether --enable-cstdio was given.
15911 if test "${enable_cstdio+set}" = set; then :
15912 enableval=$enable_cstdio;
15913 case "$enableval" in
15914 stdio) ;;
15915 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15916 esac
15917
15918 else
15919 enable_cstdio=stdio
15920 fi
15921
15922
15923
15924 # Now that libio has been removed, you can have any color you want as long
15925 # as it's black. This is one big no-op until other packages are added, but
15926 # showing the framework never hurts.
15927 case ${enable_cstdio} in
15928 stdio)
15929 CSTDIO_H=config/io/c_io_stdio.h
15930 BASIC_FILE_H=config/io/basic_file_stdio.h
15931 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15933 $as_echo "stdio" >&6; }
15934 ;;
15935 esac
15936
15937
15938
15939
15940
15941
15942 # Check whether --enable-clocale was given.
15943 if test "${enable_clocale+set}" = set; then :
15944 enableval=$enable_clocale;
15945 case "$enableval" in
15946 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15947 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15948 esac
15949
15950 else
15951 enable_clocale=auto
15952 fi
15953
15954
15955
15956 # Deal with gettext issues. Default to not using it (=no) until we detect
15957 # support for it later. Let the user turn it off via --e/d, but let that
15958 # default to on for easier handling.
15959 USE_NLS=no
15960 # Check whether --enable-nls was given.
15961 if test "${enable_nls+set}" = set; then :
15962 enableval=$enable_nls;
15963 else
15964 enable_nls=yes
15965 fi
15966
15967
15968 # Either a known package, or "auto"
15969 if test $enable_clocale = no || test $enable_clocale = yes; then
15970 enable_clocale=auto
15971 fi
15972 enable_clocale_flag=$enable_clocale
15973
15974 # Probe for locale model to use if none specified.
15975 # Default to "generic".
15976 if test $enable_clocale_flag = auto; then
15977 case ${target_os} in
15978 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15979 enable_clocale_flag=gnu
15980 ;;
15981 darwin* | freebsd*)
15982 enable_clocale_flag=darwin
15983 ;;
15984 dragonfly*)
15985 enable_clocale_flag=dragonfly
15986 ;;
15987 openbsd*)
15988 enable_clocale_flag=newlib
15989 ;;
15990 *)
15991 if test x"$with_newlib" = x"yes"; then
15992 enable_clocale_flag=newlib
15993 else
15994 enable_clocale_flag=generic
15995 fi
15996 ;;
15997 esac
15998 fi
15999
16000 # Sanity check model, and test for special functionality.
16001 if test $enable_clocale_flag = gnu; then
16002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16004
16005 #include <features.h>
16006 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16007 _GLIBCXX_ok
16008 #endif
16009
16010 _ACEOF
16011 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16012 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16013 enable_clocale_flag=gnu
16014 else
16015 enable_clocale_flag=generic
16016 fi
16017 rm -f conftest*
16018
16019
16020 # Set it to scream when it hurts.
16021 ac_save_CFLAGS="$CFLAGS"
16022 CFLAGS="-Wimplicit-function-declaration -Werror"
16023
16024 # Use strxfrm_l if available.
16025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16026 /* end confdefs.h. */
16027 #define _GNU_SOURCE 1
16028 #include <string.h>
16029 #include <locale.h>
16030 int
16031 main ()
16032 {
16033 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16034 ;
16035 return 0;
16036 }
16037 _ACEOF
16038 if ac_fn_c_try_compile "$LINENO"; then :
16039
16040 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16041
16042 fi
16043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16044
16045 # Use strerror_l if available.
16046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16047 /* end confdefs.h. */
16048 #define _GNU_SOURCE 1
16049 #include <string.h>
16050 #include <locale.h>
16051 int
16052 main ()
16053 {
16054 __locale_t loc; strerror_l(5, loc);
16055 ;
16056 return 0;
16057 }
16058 _ACEOF
16059 if ac_fn_c_try_compile "$LINENO"; then :
16060
16061 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16062
16063 fi
16064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16065
16066 CFLAGS="$ac_save_CFLAGS"
16067 fi
16068
16069 # Perhaps use strerror_r if available, and strerror_l isn't.
16070 ac_save_CFLAGS="$CFLAGS"
16071 CFLAGS="-Wimplicit-function-declaration -Werror"
16072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16073 /* end confdefs.h. */
16074 #define _GNU_SOURCE 1
16075 #include <string.h>
16076 #include <locale.h>
16077 int
16078 main ()
16079 {
16080 char s[128]; strerror_r(5, s, 128);
16081 ;
16082 return 0;
16083 }
16084 _ACEOF
16085 if ac_fn_c_try_compile "$LINENO"; then :
16086
16087 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16088
16089 fi
16090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16091 CFLAGS="$ac_save_CFLAGS"
16092
16093 # Set configure bits for specified locale package
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16095 $as_echo_n "checking for C locale to use... " >&6; }
16096 case ${enable_clocale_flag} in
16097 generic)
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16099 $as_echo "generic" >&6; }
16100
16101 CLOCALE_H=config/locale/generic/c_locale.h
16102 CLOCALE_CC=config/locale/generic/c_locale.cc
16103 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16104 CCOLLATE_CC=config/locale/generic/collate_members.cc
16105 CCTYPE_CC=config/locale/generic/ctype_members.cc
16106 CMESSAGES_H=config/locale/generic/messages_members.h
16107 CMESSAGES_CC=config/locale/generic/messages_members.cc
16108 CMONEY_CC=config/locale/generic/monetary_members.cc
16109 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16110 CTIME_H=config/locale/generic/time_members.h
16111 CTIME_CC=config/locale/generic/time_members.cc
16112 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16113 ;;
16114 darwin)
16115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
16116 $as_echo "darwin or freebsd" >&6; }
16117
16118 CLOCALE_H=config/locale/generic/c_locale.h
16119 CLOCALE_CC=config/locale/generic/c_locale.cc
16120 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16121 CCOLLATE_CC=config/locale/generic/collate_members.cc
16122 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16123 CMESSAGES_H=config/locale/generic/messages_members.h
16124 CMESSAGES_CC=config/locale/generic/messages_members.cc
16125 CMONEY_CC=config/locale/generic/monetary_members.cc
16126 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16127 CTIME_H=config/locale/generic/time_members.h
16128 CTIME_CC=config/locale/generic/time_members.cc
16129 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16130 ;;
16131
16132 dragonfly)
16133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16134 $as_echo "dragonfly" >&6; }
16135
16136 CLOCALE_H=config/locale/generic/c_locale.h
16137 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16138 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16139 CCOLLATE_CC=config/locale/generic/collate_members.cc
16140 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16141 CMESSAGES_H=config/locale/generic/messages_members.h
16142 CMESSAGES_CC=config/locale/generic/messages_members.cc
16143 CMONEY_CC=config/locale/generic/monetary_members.cc
16144 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16145 CTIME_H=config/locale/generic/time_members.h
16146 CTIME_CC=config/locale/generic/time_members.cc
16147 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16148 ;;
16149
16150 gnu)
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16152 $as_echo "gnu" >&6; }
16153
16154 # Declare intention to use gettext, and add support for specific
16155 # languages.
16156 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16157 ALL_LINGUAS="de fr"
16158
16159 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16160 # Extract the first word of "msgfmt", so it can be a program name with args.
16161 set dummy msgfmt; ac_word=$2
16162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16163 $as_echo_n "checking for $ac_word... " >&6; }
16164 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16165 $as_echo_n "(cached) " >&6
16166 else
16167 if test -n "$check_msgfmt"; then
16168 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16169 else
16170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16171 for as_dir in $PATH
16172 do
16173 IFS=$as_save_IFS
16174 test -z "$as_dir" && as_dir=.
16175 for ac_exec_ext in '' $ac_executable_extensions; do
16176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16177 ac_cv_prog_check_msgfmt="yes"
16178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16179 break 2
16180 fi
16181 done
16182 done
16183 IFS=$as_save_IFS
16184
16185 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16186 fi
16187 fi
16188 check_msgfmt=$ac_cv_prog_check_msgfmt
16189 if test -n "$check_msgfmt"; then
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16191 $as_echo "$check_msgfmt" >&6; }
16192 else
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16194 $as_echo "no" >&6; }
16195 fi
16196
16197
16198 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16199 USE_NLS=yes
16200 fi
16201 # Export the build objects.
16202 for ling in $ALL_LINGUAS; do \
16203 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16204 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16205 done
16206
16207
16208
16209 CLOCALE_H=config/locale/gnu/c_locale.h
16210 CLOCALE_CC=config/locale/gnu/c_locale.cc
16211 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16212 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16213 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16214 CMESSAGES_H=config/locale/gnu/messages_members.h
16215 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16216 CMONEY_CC=config/locale/gnu/monetary_members.cc
16217 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16218 CTIME_H=config/locale/gnu/time_members.h
16219 CTIME_CC=config/locale/gnu/time_members.cc
16220 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16221 ;;
16222 ieee_1003.1-2001)
16223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16224 $as_echo "IEEE 1003.1" >&6; }
16225
16226 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16227 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16228 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16229 CCOLLATE_CC=config/locale/generic/collate_members.cc
16230 CCTYPE_CC=config/locale/generic/ctype_members.cc
16231 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16232 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16233 CMONEY_CC=config/locale/generic/monetary_members.cc
16234 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16235 CTIME_H=config/locale/generic/time_members.h
16236 CTIME_CC=config/locale/generic/time_members.cc
16237 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16238 ;;
16239 newlib)
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16241 $as_echo "newlib" >&6; }
16242
16243 CLOCALE_H=config/locale/generic/c_locale.h
16244 CLOCALE_CC=config/locale/generic/c_locale.cc
16245 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16246 CCOLLATE_CC=config/locale/generic/collate_members.cc
16247 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16248 CMESSAGES_H=config/locale/generic/messages_members.h
16249 CMESSAGES_CC=config/locale/generic/messages_members.cc
16250 CMONEY_CC=config/locale/generic/monetary_members.cc
16251 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16252 CTIME_H=config/locale/generic/time_members.h
16253 CTIME_CC=config/locale/generic/time_members.cc
16254 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16255 ;;
16256 esac
16257
16258 # This is where the testsuite looks for locale catalogs, using the
16259 # -DLOCALEDIR define during testsuite compilation.
16260 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16261
16262
16263 # A standalone libintl (e.g., GNU libintl) may be in use.
16264 if test $USE_NLS = yes; then
16265 for ac_header in libintl.h
16266 do :
16267 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16268 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16269 cat >>confdefs.h <<_ACEOF
16270 #define HAVE_LIBINTL_H 1
16271 _ACEOF
16272
16273 else
16274 USE_NLS=no
16275 fi
16276
16277 done
16278
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16280 $as_echo_n "checking for library containing gettext... " >&6; }
16281 if test "${ac_cv_search_gettext+set}" = set; then :
16282 $as_echo_n "(cached) " >&6
16283 else
16284 ac_func_search_save_LIBS=$LIBS
16285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16287
16288 /* Override any GCC internal prototype to avoid an error.
16289 Use char because int might match the return type of a GCC
16290 builtin and then its argument prototype would still apply. */
16291 #ifdef __cplusplus
16292 extern "C"
16293 #endif
16294 char gettext ();
16295 int
16296 main ()
16297 {
16298 return gettext ();
16299 ;
16300 return 0;
16301 }
16302 _ACEOF
16303 for ac_lib in '' intl; do
16304 if test -z "$ac_lib"; then
16305 ac_res="none required"
16306 else
16307 ac_res=-l$ac_lib
16308 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16309 fi
16310 if test x$gcc_no_link = xyes; then
16311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16312 fi
16313 if ac_fn_c_try_link "$LINENO"; then :
16314 ac_cv_search_gettext=$ac_res
16315 fi
16316 rm -f core conftest.err conftest.$ac_objext \
16317 conftest$ac_exeext
16318 if test "${ac_cv_search_gettext+set}" = set; then :
16319 break
16320 fi
16321 done
16322 if test "${ac_cv_search_gettext+set}" = set; then :
16323
16324 else
16325 ac_cv_search_gettext=no
16326 fi
16327 rm conftest.$ac_ext
16328 LIBS=$ac_func_search_save_LIBS
16329 fi
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16331 $as_echo "$ac_cv_search_gettext" >&6; }
16332 ac_res=$ac_cv_search_gettext
16333 if test "$ac_res" != no; then :
16334 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16335
16336 else
16337 USE_NLS=no
16338 fi
16339
16340 fi
16341 if test $USE_NLS = yes; then
16342
16343 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16344
16345 fi
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16363 $as_echo_n "checking for std::allocator base class... " >&6; }
16364 # Check whether --enable-libstdcxx-allocator was given.
16365 if test "${enable_libstdcxx_allocator+set}" = set; then :
16366 enableval=$enable_libstdcxx_allocator;
16367 case "$enableval" in
16368 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16369 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16370 esac
16371
16372 else
16373 enable_libstdcxx_allocator=auto
16374 fi
16375
16376
16377
16378 # If they didn't use this option switch, or if they specified --enable
16379 # with no specific model, we'll have to look for one. If they
16380 # specified --disable (???), do likewise.
16381 if test $enable_libstdcxx_allocator = no ||
16382 test $enable_libstdcxx_allocator = yes;
16383 then
16384 enable_libstdcxx_allocator=auto
16385 fi
16386
16387 # Either a known package, or "auto". Auto implies the default choice
16388 # for a particular platform.
16389 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16390
16391 # Probe for host-specific support if no specific model is specified.
16392 # Default to "new".
16393 if test $enable_libstdcxx_allocator_flag = auto; then
16394 case ${target_os} in
16395 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16396 enable_libstdcxx_allocator_flag=new
16397 ;;
16398 *)
16399 enable_libstdcxx_allocator_flag=new
16400 ;;
16401 esac
16402 fi
16403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16404 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16405
16406
16407 # Set configure bits for specified locale package
16408 case ${enable_libstdcxx_allocator_flag} in
16409 bitmap)
16410 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16411 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16412 ;;
16413 malloc)
16414 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16415 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16416 ;;
16417 mt)
16418 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16419 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16420 ;;
16421 new)
16422 ALLOCATOR_H=config/allocator/new_allocator_base.h
16423 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16424 ;;
16425 pool)
16426 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16427 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16428 ;;
16429 esac
16430
16431
16432
16433
16434
16435 # Check whether --enable-cheaders was given.
16436 if test "${enable_cheaders+set}" = set; then :
16437 enableval=$enable_cheaders;
16438 case "$enableval" in
16439 c|c_std|c_global) ;;
16440 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16441 esac
16442
16443 else
16444 enable_cheaders=$c_model
16445 fi
16446
16447
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16449 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16450
16451 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16452
16453 # Allow overrides to configure.host here.
16454 if test $enable_cheaders = c_global; then
16455 c_compatibility=yes
16456 fi
16457
16458
16459
16460
16461
16462
16463
16464 # Check whether --enable-long-long was given.
16465 if test "${enable_long_long+set}" = set; then :
16466 enableval=$enable_long_long;
16467 case "$enableval" in
16468 yes|no) ;;
16469 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16470 esac
16471
16472 else
16473 enable_long_long=yes
16474 fi
16475
16476
16477 if test $enable_long_long = yes; then
16478
16479 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16480
16481 fi
16482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16483 $as_echo_n "checking for enabled long long specializations... " >&6; }
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16485 $as_echo "$enable_long_long" >&6; }
16486
16487
16488 # Check whether --enable-wchar_t was given.
16489 if test "${enable_wchar_t+set}" = set; then :
16490 enableval=$enable_wchar_t;
16491 case "$enableval" in
16492 yes|no) ;;
16493 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16494 esac
16495
16496 else
16497 enable_wchar_t=yes
16498 fi
16499
16500
16501
16502 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16503 for ac_header in wchar.h
16504 do :
16505 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16506 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16507 cat >>confdefs.h <<_ACEOF
16508 #define HAVE_WCHAR_H 1
16509 _ACEOF
16510 ac_has_wchar_h=yes
16511 else
16512 ac_has_wchar_h=no
16513 fi
16514
16515 done
16516
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16518 $as_echo_n "checking for mbstate_t... " >&6; }
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16521 #include <wchar.h>
16522 int
16523 main ()
16524 {
16525 mbstate_t teststate;
16526 ;
16527 return 0;
16528 }
16529 _ACEOF
16530 if ac_fn_c_try_compile "$LINENO"; then :
16531 have_mbstate_t=yes
16532 else
16533 have_mbstate_t=no
16534 fi
16535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16537 $as_echo "$have_mbstate_t" >&6; }
16538 if test x"$have_mbstate_t" = xyes; then
16539
16540 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16541
16542 fi
16543
16544 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16545 # ac_has_wchar_h.
16546 for ac_header in wctype.h
16547 do :
16548 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16549 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16550 cat >>confdefs.h <<_ACEOF
16551 #define HAVE_WCTYPE_H 1
16552 _ACEOF
16553 ac_has_wctype_h=yes
16554 else
16555 ac_has_wctype_h=no
16556 fi
16557
16558 done
16559
16560
16561 if test x"$enable_wchar_t" = x"yes"; then
16562
16563
16564 ac_ext=cpp
16565 ac_cpp='$CXXCPP $CPPFLAGS'
16566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16569
16570
16571 if test x"$ac_has_wchar_h" = xyes &&
16572 test x"$ac_has_wctype_h" = xyes; then
16573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16574 /* end confdefs.h. */
16575 #include <wchar.h>
16576 #include <stddef.h>
16577 wint_t i;
16578 long l = WEOF;
16579 long j = WCHAR_MIN;
16580 long k = WCHAR_MAX;
16581 namespace test
16582 {
16583 using ::btowc;
16584 using ::fgetwc;
16585 using ::fgetws;
16586 using ::fputwc;
16587 using ::fputws;
16588 using ::fwide;
16589 using ::fwprintf;
16590 using ::fwscanf;
16591 using ::getwc;
16592 using ::getwchar;
16593 using ::mbrlen;
16594 using ::mbrtowc;
16595 using ::mbsinit;
16596 using ::mbsrtowcs;
16597 using ::putwc;
16598 using ::putwchar;
16599 using ::swprintf;
16600 using ::swscanf;
16601 using ::ungetwc;
16602 using ::vfwprintf;
16603 using ::vswprintf;
16604 using ::vwprintf;
16605 using ::wcrtomb;
16606 using ::wcscat;
16607 using ::wcschr;
16608 using ::wcscmp;
16609 using ::wcscoll;
16610 using ::wcscpy;
16611 using ::wcscspn;
16612 using ::wcsftime;
16613 using ::wcslen;
16614 using ::wcsncat;
16615 using ::wcsncmp;
16616 using ::wcsncpy;
16617 using ::wcspbrk;
16618 using ::wcsrchr;
16619 using ::wcsrtombs;
16620 using ::wcsspn;
16621 using ::wcsstr;
16622 using ::wcstod;
16623 using ::wcstok;
16624 using ::wcstol;
16625 using ::wcstoul;
16626 using ::wcsxfrm;
16627 using ::wctob;
16628 using ::wmemchr;
16629 using ::wmemcmp;
16630 using ::wmemcpy;
16631 using ::wmemmove;
16632 using ::wmemset;
16633 using ::wprintf;
16634 using ::wscanf;
16635 }
16636
16637 int
16638 main ()
16639 {
16640
16641 ;
16642 return 0;
16643 }
16644 _ACEOF
16645 if ac_fn_cxx_try_compile "$LINENO"; then :
16646
16647 else
16648 enable_wchar_t=no
16649 fi
16650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16651 else
16652 enable_wchar_t=no
16653 fi
16654
16655 ac_ext=c
16656 ac_cpp='$CPP $CPPFLAGS'
16657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16660
16661 fi
16662
16663 if test x"$enable_wchar_t" = x"yes"; then
16664
16665 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16666
16667 fi
16668
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16670 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16672 $as_echo "$enable_wchar_t" >&6; }
16673
16674
16675
16676 # Check whether --enable-c99 was given.
16677 if test "${enable_c99+set}" = set; then :
16678 enableval=$enable_c99;
16679 case "$enableval" in
16680 yes|no) ;;
16681 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16682 esac
16683
16684 else
16685 enable_c99=yes
16686 fi
16687
16688
16689
16690 if test x"$enable_c99" = x"yes"; then
16691
16692
16693 ac_ext=cpp
16694 ac_cpp='$CXXCPP $CPPFLAGS'
16695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16698
16699
16700 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16701 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16702 # spuriously enabled.
16703 # Long term, -std=c++0x could be even better, could manage to explicitly
16704 # request C99 facilities to the underlying C headers.
16705 ac_save_CXXFLAGS="$CXXFLAGS"
16706 CXXFLAGS="$CXXFLAGS -std=c++98"
16707 ac_save_LIBS="$LIBS"
16708 ac_save_gcc_no_link="$gcc_no_link"
16709
16710 if test x$gcc_no_link != xyes; then
16711 # Use -fno-exceptions to that the C driver can link these tests without
16712 # hitting undefined references to personality routines.
16713 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16715 $as_echo_n "checking for sin in -lm... " >&6; }
16716 if test "${ac_cv_lib_m_sin+set}" = set; then :
16717 $as_echo_n "(cached) " >&6
16718 else
16719 ac_check_lib_save_LIBS=$LIBS
16720 LIBS="-lm $LIBS"
16721 if test x$gcc_no_link = xyes; then
16722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16723 fi
16724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16725 /* end confdefs.h. */
16726
16727 /* Override any GCC internal prototype to avoid an error.
16728 Use char because int might match the return type of a GCC
16729 builtin and then its argument prototype would still apply. */
16730 #ifdef __cplusplus
16731 extern "C"
16732 #endif
16733 char sin ();
16734 int
16735 main ()
16736 {
16737 return sin ();
16738 ;
16739 return 0;
16740 }
16741 _ACEOF
16742 if ac_fn_cxx_try_link "$LINENO"; then :
16743 ac_cv_lib_m_sin=yes
16744 else
16745 ac_cv_lib_m_sin=no
16746 fi
16747 rm -f core conftest.err conftest.$ac_objext \
16748 conftest$ac_exeext conftest.$ac_ext
16749 LIBS=$ac_check_lib_save_LIBS
16750 fi
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16752 $as_echo "$ac_cv_lib_m_sin" >&6; }
16753 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16754
16755 LIBS="$LIBS -lm"
16756
16757 else
16758
16759 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16760 gcc_no_link=yes
16761
16762 fi
16763
16764 fi
16765
16766 # Check for the existence of <math.h> functions used if C99 is enabled.
16767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16768 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16769 if test "${glibcxx_cv_c99_math+set}" = set; then :
16770 $as_echo_n "(cached) " >&6
16771 else
16772
16773 if test x$gcc_no_link = xyes; then
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16776 #include <math.h>
16777 volatile double d1, d2;
16778 volatile int i;
16779 int
16780 main ()
16781 {
16782 i = fpclassify(d1);
16783 i = isfinite(d1);
16784 i = isinf(d1);
16785 i = isnan(d1);
16786 i = isnormal(d1);
16787 i = signbit(d1);
16788 i = isgreater(d1, d2);
16789 i = isgreaterequal(d1, d2);
16790 i = isless(d1, d2);
16791 i = islessequal(d1, d2);
16792 i = islessgreater(d1, d2);
16793 i = islessgreater(d1, d2);
16794 i = isunordered(d1, d2);
16795
16796 ;
16797 return 0;
16798 }
16799 _ACEOF
16800 if ac_fn_cxx_try_compile "$LINENO"; then :
16801 glibcxx_cv_c99_math=yes
16802 else
16803 glibcxx_cv_c99_math=no
16804 fi
16805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16806 else
16807 if test x$gcc_no_link = xyes; then
16808 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16809 fi
16810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16811 /* end confdefs.h. */
16812 #include <math.h>
16813 volatile double d1, d2;
16814 volatile int i;
16815 int
16816 main ()
16817 {
16818 i = fpclassify(d1);
16819 i = isfinite(d1);
16820 i = isinf(d1);
16821 i = isnan(d1);
16822 i = isnormal(d1);
16823 i = signbit(d1);
16824 i = isgreater(d1, d2);
16825 i = isgreaterequal(d1, d2);
16826 i = isless(d1, d2);
16827 i = islessequal(d1, d2);
16828 i = islessgreater(d1, d2);
16829 i = islessgreater(d1, d2);
16830 i = isunordered(d1, d2);
16831
16832 ;
16833 return 0;
16834 }
16835 _ACEOF
16836 if ac_fn_cxx_try_link "$LINENO"; then :
16837 glibcxx_cv_c99_math=yes
16838 else
16839 glibcxx_cv_c99_math=no
16840 fi
16841 rm -f core conftest.err conftest.$ac_objext \
16842 conftest$ac_exeext conftest.$ac_ext
16843 fi
16844
16845 fi
16846
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16848 $as_echo "$glibcxx_cv_c99_math" >&6; }
16849 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16850
16851 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16852
16853 fi
16854
16855 # Check for the existence of <complex.h> complex math functions.
16856 # This is necessary even though libstdc++ uses the builtin versions
16857 # of these functions, because if the builtin cannot be used, a reference
16858 # to the library function is emitted.
16859 for ac_header in tgmath.h
16860 do :
16861 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16862 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16863 cat >>confdefs.h <<_ACEOF
16864 #define HAVE_TGMATH_H 1
16865 _ACEOF
16866 ac_has_tgmath_h=yes
16867 else
16868 ac_has_tgmath_h=no
16869 fi
16870
16871 done
16872
16873 for ac_header in complex.h
16874 do :
16875 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16876 if test "x$ac_cv_header_complex_h" = x""yes; then :
16877 cat >>confdefs.h <<_ACEOF
16878 #define HAVE_COMPLEX_H 1
16879 _ACEOF
16880 ac_has_complex_h=yes
16881 else
16882 ac_has_complex_h=no
16883 fi
16884
16885 done
16886
16887 glibcxx_cv_c99_complex=no;
16888 if test x"$ac_has_complex_h" = x"yes"; then
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16890 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16891 if test x$gcc_no_link = xyes; then
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16894 #include <complex.h>
16895 typedef __complex__ float float_type;
16896 typedef __complex__ double double_type;
16897 typedef __complex__ long double ld_type;
16898 volatile float_type tmpf;
16899 volatile double_type tmpd;
16900 volatile ld_type tmpld;
16901 volatile float f;
16902 volatile double d;
16903 volatile long double ld;
16904 int
16905 main ()
16906 {
16907 f = cabsf(tmpf);
16908 f = cargf(tmpf);
16909 tmpf = ccosf(tmpf);
16910 tmpf = ccoshf(tmpf);
16911 tmpf = cexpf(tmpf);
16912 tmpf = clogf(tmpf);
16913 tmpf = csinf(tmpf);
16914 tmpf = csinhf(tmpf);
16915 tmpf = csqrtf(tmpf);
16916 tmpf = ctanf(tmpf);
16917 tmpf = ctanhf(tmpf);
16918 tmpf = cpowf(tmpf, tmpf);
16919 tmpf = cprojf(tmpf);
16920 d = cabs(tmpd);
16921 d = carg(tmpd);
16922 tmpd = ccos(tmpd);
16923 tmpd = ccosh(tmpd);
16924 tmpd = cexp(tmpd);
16925 tmpd = clog(tmpd);
16926 tmpd = csin(tmpd);
16927 tmpd = csinh(tmpd);
16928 tmpd = csqrt(tmpd);
16929 tmpd = ctan(tmpd);
16930 tmpd = ctanh(tmpd);
16931 tmpd = cpow(tmpd, tmpd);
16932 tmpd = cproj(tmpd);
16933 ld = cabsl(tmpld);
16934 ld = cargl(tmpld);
16935 tmpld = ccosl(tmpld);
16936 tmpld = ccoshl(tmpld);
16937 tmpld = cexpl(tmpld);
16938 tmpld = clogl(tmpld);
16939 tmpld = csinl(tmpld);
16940 tmpld = csinhl(tmpld);
16941 tmpld = csqrtl(tmpld);
16942 tmpld = ctanl(tmpld);
16943 tmpld = ctanhl(tmpld);
16944 tmpld = cpowl(tmpld, tmpld);
16945 tmpld = cprojl(tmpld);
16946
16947 ;
16948 return 0;
16949 }
16950 _ACEOF
16951 if ac_fn_cxx_try_compile "$LINENO"; then :
16952 glibcxx_cv_c99_complex=yes
16953 else
16954 glibcxx_cv_c99_complex=no
16955 fi
16956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16957 else
16958 if test x$gcc_no_link = xyes; then
16959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16960 fi
16961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16962 /* end confdefs.h. */
16963 #include <complex.h>
16964 typedef __complex__ float float_type;
16965 typedef __complex__ double double_type;
16966 typedef __complex__ long double ld_type;
16967 volatile float_type tmpf;
16968 volatile double_type tmpd;
16969 volatile ld_type tmpld;
16970 volatile float f;
16971 volatile double d;
16972 volatile long double ld;
16973 int
16974 main ()
16975 {
16976 f = cabsf(tmpf);
16977 f = cargf(tmpf);
16978 tmpf = ccosf(tmpf);
16979 tmpf = ccoshf(tmpf);
16980 tmpf = cexpf(tmpf);
16981 tmpf = clogf(tmpf);
16982 tmpf = csinf(tmpf);
16983 tmpf = csinhf(tmpf);
16984 tmpf = csqrtf(tmpf);
16985 tmpf = ctanf(tmpf);
16986 tmpf = ctanhf(tmpf);
16987 tmpf = cpowf(tmpf, tmpf);
16988 tmpf = cprojf(tmpf);
16989 d = cabs(tmpd);
16990 d = carg(tmpd);
16991 tmpd = ccos(tmpd);
16992 tmpd = ccosh(tmpd);
16993 tmpd = cexp(tmpd);
16994 tmpd = clog(tmpd);
16995 tmpd = csin(tmpd);
16996 tmpd = csinh(tmpd);
16997 tmpd = csqrt(tmpd);
16998 tmpd = ctan(tmpd);
16999 tmpd = ctanh(tmpd);
17000 tmpd = cpow(tmpd, tmpd);
17001 tmpd = cproj(tmpd);
17002 ld = cabsl(tmpld);
17003 ld = cargl(tmpld);
17004 tmpld = ccosl(tmpld);
17005 tmpld = ccoshl(tmpld);
17006 tmpld = cexpl(tmpld);
17007 tmpld = clogl(tmpld);
17008 tmpld = csinl(tmpld);
17009 tmpld = csinhl(tmpld);
17010 tmpld = csqrtl(tmpld);
17011 tmpld = ctanl(tmpld);
17012 tmpld = ctanhl(tmpld);
17013 tmpld = cpowl(tmpld, tmpld);
17014 tmpld = cprojl(tmpld);
17015
17016 ;
17017 return 0;
17018 }
17019 _ACEOF
17020 if ac_fn_cxx_try_link "$LINENO"; then :
17021 glibcxx_cv_c99_complex=yes
17022 else
17023 glibcxx_cv_c99_complex=no
17024 fi
17025 rm -f core conftest.err conftest.$ac_objext \
17026 conftest$ac_exeext conftest.$ac_ext
17027 fi
17028 fi
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
17030 $as_echo "$glibcxx_cv_c99_complex" >&6; }
17031 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
17032
17033 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
17034
17035 fi
17036
17037 # Check for the existence in <stdio.h> of vscanf, et. al.
17038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
17039 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
17040 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
17041 $as_echo_n "(cached) " >&6
17042 else
17043
17044 if test x$gcc_no_link = xyes; then
17045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17046 /* end confdefs.h. */
17047 #include <stdio.h>
17048 #include <stdarg.h>
17049 void foo(char* fmt, ...)
17050 {
17051 va_list args; va_start(args, fmt);
17052 vfscanf(stderr, "%i", args);
17053 vscanf("%i", args);
17054 vsnprintf(fmt, 0, "%i", args);
17055 vsscanf(fmt, "%i", args);
17056 snprintf(fmt, 0, "%i");
17057 }
17058 int
17059 main ()
17060 {
17061
17062 ;
17063 return 0;
17064 }
17065 _ACEOF
17066 if ac_fn_cxx_try_compile "$LINENO"; then :
17067 glibcxx_cv_c99_stdio=yes
17068 else
17069 glibcxx_cv_c99_stdio=no
17070 fi
17071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17072 else
17073 if test x$gcc_no_link = xyes; then
17074 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17075 fi
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 #include <stdio.h>
17079 #include <stdarg.h>
17080 void foo(char* fmt, ...)
17081 {
17082 va_list args; va_start(args, fmt);
17083 vfscanf(stderr, "%i", args);
17084 vscanf("%i", args);
17085 vsnprintf(fmt, 0, "%i", args);
17086 vsscanf(fmt, "%i", args);
17087 snprintf(fmt, 0, "%i");
17088 }
17089 int
17090 main ()
17091 {
17092
17093 ;
17094 return 0;
17095 }
17096 _ACEOF
17097 if ac_fn_cxx_try_link "$LINENO"; then :
17098 glibcxx_cv_c99_stdio=yes
17099 else
17100 glibcxx_cv_c99_stdio=no
17101 fi
17102 rm -f core conftest.err conftest.$ac_objext \
17103 conftest$ac_exeext conftest.$ac_ext
17104 fi
17105
17106 fi
17107
17108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
17109 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
17110
17111 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
17113 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
17114 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
17115 $as_echo_n "(cached) " >&6
17116 else
17117
17118 if test x$gcc_no_link = xyes; then
17119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17120 /* end confdefs.h. */
17121 #include <stdlib.h>
17122 volatile float f;
17123 volatile long double ld;
17124 volatile unsigned long long ll;
17125 lldiv_t mydivt;
17126 int
17127 main ()
17128 {
17129 char* tmp;
17130 f = strtof("gnu", &tmp);
17131 ld = strtold("gnu", &tmp);
17132 ll = strtoll("gnu", &tmp, 10);
17133 ll = strtoull("gnu", &tmp, 10);
17134 ll = llabs(10);
17135 mydivt = lldiv(10,1);
17136 ll = mydivt.quot;
17137 ll = mydivt.rem;
17138 ll = atoll("10");
17139 _Exit(0);
17140
17141 ;
17142 return 0;
17143 }
17144 _ACEOF
17145 if ac_fn_cxx_try_compile "$LINENO"; then :
17146 glibcxx_cv_c99_stdlib=yes
17147 else
17148 glibcxx_cv_c99_stdlib=no
17149 fi
17150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17151 else
17152 if test x$gcc_no_link = xyes; then
17153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17154 fi
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 #include <stdlib.h>
17158 volatile float f;
17159 volatile long double ld;
17160 volatile unsigned long long ll;
17161 lldiv_t mydivt;
17162 int
17163 main ()
17164 {
17165 char* tmp;
17166 f = strtof("gnu", &tmp);
17167 ld = strtold("gnu", &tmp);
17168 ll = strtoll("gnu", &tmp, 10);
17169 ll = strtoull("gnu", &tmp, 10);
17170 ll = llabs(10);
17171 mydivt = lldiv(10,1);
17172 ll = mydivt.quot;
17173 ll = mydivt.rem;
17174 ll = atoll("10");
17175 _Exit(0);
17176
17177 ;
17178 return 0;
17179 }
17180 _ACEOF
17181 if ac_fn_cxx_try_link "$LINENO"; then :
17182 glibcxx_cv_c99_stdlib=yes
17183 else
17184 glibcxx_cv_c99_stdlib=no
17185 fi
17186 rm -f core conftest.err conftest.$ac_objext \
17187 conftest$ac_exeext conftest.$ac_ext
17188 fi
17189
17190 fi
17191
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17193 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17194
17195 # Check for the existence in <wchar.h> of wcstold, etc.
17196 glibcxx_cv_c99_wchar=no;
17197 if test x"$ac_has_wchar_h" = xyes &&
17198 test x"$ac_has_wctype_h" = xyes; then
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17200 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17202 /* end confdefs.h. */
17203 #include <wchar.h>
17204 namespace test
17205 {
17206 using ::wcstold;
17207 using ::wcstoll;
17208 using ::wcstoull;
17209 }
17210
17211 int
17212 main ()
17213 {
17214
17215 ;
17216 return 0;
17217 }
17218 _ACEOF
17219 if ac_fn_cxx_try_compile "$LINENO"; then :
17220 glibcxx_cv_c99_wchar=yes
17221 else
17222 glibcxx_cv_c99_wchar=no
17223 fi
17224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17225
17226 # Checks for wide character functions that may not be present.
17227 # Injection of these is wrapped with guard macros.
17228 # NB: only put functions here, instead of immediately above, if
17229 # absolutely necessary.
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17232 #include <wchar.h>
17233 namespace test { using ::vfwscanf; }
17234 int
17235 main ()
17236 {
17237
17238 ;
17239 return 0;
17240 }
17241 _ACEOF
17242 if ac_fn_cxx_try_compile "$LINENO"; then :
17243
17244 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17245
17246 fi
17247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17248
17249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17250 /* end confdefs.h. */
17251 #include <wchar.h>
17252 namespace test { using ::vswscanf; }
17253 int
17254 main ()
17255 {
17256
17257 ;
17258 return 0;
17259 }
17260 _ACEOF
17261 if ac_fn_cxx_try_compile "$LINENO"; then :
17262
17263 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17264
17265 fi
17266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17267
17268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17269 /* end confdefs.h. */
17270 #include <wchar.h>
17271 namespace test { using ::vwscanf; }
17272 int
17273 main ()
17274 {
17275
17276 ;
17277 return 0;
17278 }
17279 _ACEOF
17280 if ac_fn_cxx_try_compile "$LINENO"; then :
17281
17282 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17283
17284 fi
17285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17286
17287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17288 /* end confdefs.h. */
17289 #include <wchar.h>
17290 namespace test { using ::wcstof; }
17291 int
17292 main ()
17293 {
17294
17295 ;
17296 return 0;
17297 }
17298 _ACEOF
17299 if ac_fn_cxx_try_compile "$LINENO"; then :
17300
17301 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17302
17303 fi
17304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17305
17306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17307 /* end confdefs.h. */
17308 #include <wctype.h>
17309 int
17310 main ()
17311 {
17312 wint_t t; int i = iswblank(t);
17313 ;
17314 return 0;
17315 }
17316 _ACEOF
17317 if ac_fn_cxx_try_compile "$LINENO"; then :
17318
17319 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17320
17321 fi
17322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17323
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17325 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17326 fi
17327
17328 # Option parsed, now set things appropriately.
17329 if test x"$glibcxx_cv_c99_math" = x"no" ||
17330 test x"$glibcxx_cv_c99_complex" = x"no" ||
17331 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17332 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17333 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17334 enable_c99=no;
17335 else
17336
17337 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17338
17339 fi
17340
17341 gcc_no_link="$ac_save_gcc_no_link"
17342 LIBS="$ac_save_LIBS"
17343 CXXFLAGS="$ac_save_CXXFLAGS"
17344 ac_ext=c
17345 ac_cpp='$CPP $CPPFLAGS'
17346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17349
17350 fi
17351
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17353 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17355 $as_echo "$enable_c99" >&6; }
17356
17357
17358 # Check whether --enable-concept-checks was given.
17359 if test "${enable_concept_checks+set}" = set; then :
17360 enableval=$enable_concept_checks;
17361 case "$enableval" in
17362 yes|no) ;;
17363 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17364 esac
17365
17366 else
17367 enable_concept_checks=no
17368 fi
17369
17370
17371 if test $enable_concept_checks = yes; then
17372
17373 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17374
17375 fi
17376
17377
17378 # Check whether --enable-libstdcxx-debug-flags was given.
17379 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17380 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17381 xno | x) enable_libstdcxx_debug_flags= ;;
17382 x-*) ;;
17383 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17384 esac
17385 else
17386 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17387 fi
17388
17389
17390
17391 # Option parsed, now set things appropriately
17392 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17393
17394
17395 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17396 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17397
17398
17399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17400 $as_echo_n "checking for additional debug build... " >&6; }
17401 # Check whether --enable-libstdcxx-debug was given.
17402 if test "${enable_libstdcxx_debug+set}" = set; then :
17403 enableval=$enable_libstdcxx_debug;
17404 case "$enableval" in
17405 yes|no) ;;
17406 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17407 esac
17408
17409 else
17410 enable_libstdcxx_debug=no
17411 fi
17412
17413
17414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17415 $as_echo "$enable_libstdcxx_debug" >&6; }
17416
17417
17418
17419
17420 enable_parallel=no;
17421
17422 # See if configured libgomp/omp.h exists. (libgomp may be in
17423 # noconfigdirs but not explicitly disabled.)
17424 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17425 enable_parallel=yes;
17426 else
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17428 $as_echo "$as_me: target-libgomp not built" >&6;}
17429 fi
17430
17431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17432 $as_echo_n "checking for parallel mode support... " >&6; }
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17434 $as_echo "$enable_parallel" >&6; }
17435
17436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17437 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17438 # Check whether --enable-cxx-flags was given.
17439 if test "${enable_cxx_flags+set}" = set; then :
17440 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17441 xno | x) enable_cxx_flags= ;;
17442 x-*) ;;
17443 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17444 esac
17445 else
17446 enable_cxx_flags=
17447 fi
17448
17449
17450
17451 # Run through flags (either default or command-line) and set anything
17452 # extra (e.g., #defines) that must accompany particular g++ options.
17453 if test -n "$enable_cxx_flags"; then
17454 for f in $enable_cxx_flags; do
17455 case "$f" in
17456 -fhonor-std) ;;
17457 -*) ;;
17458 *) # and we're trying to pass /what/ exactly?
17459 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17460 esac
17461 done
17462 fi
17463
17464 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17466 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17467
17468
17469
17470 # Check whether --enable-fully-dynamic-string was given.
17471 if test "${enable_fully_dynamic_string+set}" = set; then :
17472 enableval=$enable_fully_dynamic_string;
17473 case "$enableval" in
17474 yes|no) ;;
17475 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17476 esac
17477
17478 else
17479 enable_fully_dynamic_string=no
17480 fi
17481
17482
17483 if test $enable_fully_dynamic_string = yes; then
17484 enable_fully_dynamic_string_def=1
17485 else
17486 enable_fully_dynamic_string_def=0
17487 fi
17488
17489 cat >>confdefs.h <<_ACEOF
17490 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17491 _ACEOF
17492
17493
17494
17495
17496 # Check whether --enable-extern-template was given.
17497 if test "${enable_extern_template+set}" = set; then :
17498 enableval=$enable_extern_template;
17499 case "$enableval" in
17500 yes|no) ;;
17501 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17502 esac
17503
17504 else
17505 enable_extern_template=yes
17506 fi
17507
17508
17509
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17511 $as_echo_n "checking for extern template support... " >&6; }
17512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17513 $as_echo "$enable_extern_template" >&6; }
17514
17515
17516
17517
17518
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17520 $as_echo_n "checking for custom python install directory... " >&6; }
17521
17522 # Check whether --with-python-dir was given.
17523 if test "${with_python_dir+set}" = set; then :
17524 withval=$with_python_dir; with_python_dir=$withval
17525 else
17526 with_python_dir="no"
17527 fi
17528
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17530 $as_echo "${with_python_dir}" >&6; }
17531
17532 # Needed for installing Python modules during make install.
17533 python_mod_dir="${with_python_dir}"
17534
17535
17536
17537
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17539 $as_echo_n "checking for -Werror... " >&6; }
17540 # Check whether --enable-werror was given.
17541 if test "${enable_werror+set}" = set; then :
17542 enableval=$enable_werror;
17543 case "$enableval" in
17544 yes|no) ;;
17545 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17546 esac
17547
17548 else
17549 enable_werror=yes
17550 fi
17551
17552
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17554 $as_echo "$enable_werror" >&6; }
17555
17556
17557
17558
17559 # Check whether --enable-vtable-verify was given.
17560 if test "${enable_vtable_verify+set}" = set; then :
17561 enableval=$enable_vtable_verify;
17562 case "$enableval" in
17563 yes|no) ;;
17564 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17565 esac
17566
17567 else
17568 enable_vtable_verify=no
17569 fi
17570
17571
17572
17573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17574 $as_echo_n "checking for vtable verify support... " >&6; }
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17576 $as_echo "$enable_vtable_verify" >&6; }
17577
17578 vtv_cygmin=no
17579 if test $enable_vtable_verify = yes; then
17580 case ${target_os} in
17581 cygwin*|mingw32*)
17582 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17583 vtv_cygmin=yes
17584 ;;
17585 *)
17586 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17587 ;;
17588 esac
17589 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17590 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17591 else
17592 VTV_CXXFLAGS=
17593 VTV_PCH_CXXFLAGS=
17594 VTV_CXXLINKFLAGS=
17595 fi
17596
17597
17598
17599
17600 if test x$vtv_cygmin = xyes; then
17601 VTV_CYGMIN_TRUE=
17602 VTV_CYGMIN_FALSE='#'
17603 else
17604 VTV_CYGMIN_TRUE='#'
17605 VTV_CYGMIN_FALSE=
17606 fi
17607
17608
17609
17610
17611 # Checks for operating systems support that doesn't require linking.
17612
17613
17614
17615 ac_ext=cpp
17616 ac_cpp='$CXXCPP $CPPFLAGS'
17617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17620
17621
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17623 $as_echo_n "checking for gets declaration... " >&6; }
17624 if test "${glibcxx_cv_gets+set}" = set; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17627
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #include <stdio.h>
17631 namespace test
17632 {
17633 using ::gets;
17634 }
17635
17636 _ACEOF
17637 if ac_fn_cxx_try_compile "$LINENO"; then :
17638 glibcxx_cv_gets=yes
17639 else
17640 glibcxx_cv_gets=no
17641
17642 fi
17643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17644 fi
17645
17646
17647 if test $glibcxx_cv_gets = yes; then
17648
17649 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17650
17651 fi
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17653 $as_echo "$glibcxx_cv_gets" >&6; }
17654
17655 ac_ext=c
17656 ac_cpp='$CPP $CPPFLAGS'
17657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17660
17661
17662
17663
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17665 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17666 if test "${glibcxx_cv_system_error1+set}" = set; then :
17667 $as_echo_n "(cached) " >&6
17668 else
17669
17670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17671 /* end confdefs.h. */
17672 #include <errno.h>
17673 int
17674 main ()
17675 {
17676 int i = EOWNERDEAD;
17677 ;
17678 return 0;
17679 }
17680 _ACEOF
17681 if ac_fn_c_try_compile "$LINENO"; then :
17682 glibcxx_cv_system_error1=yes
17683 else
17684 glibcxx_cv_system_error1=no
17685 fi
17686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17687
17688 fi
17689
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17691 $as_echo "$glibcxx_cv_system_error1" >&6; }
17692 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17693
17694 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17695
17696 fi
17697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17698 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17699 if test "${glibcxx_cv_system_error2+set}" = set; then :
17700 $as_echo_n "(cached) " >&6
17701 else
17702
17703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17704 /* end confdefs.h. */
17705 #include <errno.h>
17706 int
17707 main ()
17708 {
17709 int i = ENOTRECOVERABLE;
17710 ;
17711 return 0;
17712 }
17713 _ACEOF
17714 if ac_fn_c_try_compile "$LINENO"; then :
17715 glibcxx_cv_system_error2=yes
17716 else
17717 glibcxx_cv_system_error2=no
17718 fi
17719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17720
17721 fi
17722
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17724 $as_echo "$glibcxx_cv_system_error2" >&6; }
17725 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17726
17727 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17728
17729 fi
17730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17731 $as_echo_n "checking for ENOLINK... " >&6; }
17732 if test "${glibcxx_cv_system_error3+set}" = set; then :
17733 $as_echo_n "(cached) " >&6
17734 else
17735
17736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17737 /* end confdefs.h. */
17738 #include <errno.h>
17739 int
17740 main ()
17741 {
17742 int i = ENOLINK;
17743 ;
17744 return 0;
17745 }
17746 _ACEOF
17747 if ac_fn_c_try_compile "$LINENO"; then :
17748 glibcxx_cv_system_error3=yes
17749 else
17750 glibcxx_cv_system_error3=no
17751 fi
17752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17753
17754 fi
17755
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17757 $as_echo "$glibcxx_cv_system_error3" >&6; }
17758 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17759
17760 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17761
17762 fi
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17764 $as_echo_n "checking for EPROTO... " >&6; }
17765 if test "${glibcxx_cv_system_error4+set}" = set; then :
17766 $as_echo_n "(cached) " >&6
17767 else
17768
17769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17770 /* end confdefs.h. */
17771 #include <errno.h>
17772 int
17773 main ()
17774 {
17775 int i = EPROTO;
17776 ;
17777 return 0;
17778 }
17779 _ACEOF
17780 if ac_fn_c_try_compile "$LINENO"; then :
17781 glibcxx_cv_system_error4=yes
17782 else
17783 glibcxx_cv_system_error4=no
17784 fi
17785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17786
17787 fi
17788
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17790 $as_echo "$glibcxx_cv_system_error4" >&6; }
17791 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17792
17793 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17794
17795 fi
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17797 $as_echo_n "checking for ENODATA... " >&6; }
17798 if test "${glibcxx_cv_system_error5+set}" = set; then :
17799 $as_echo_n "(cached) " >&6
17800 else
17801
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17804 #include <errno.h>
17805 int
17806 main ()
17807 {
17808 int i = ENODATA;
17809 ;
17810 return 0;
17811 }
17812 _ACEOF
17813 if ac_fn_c_try_compile "$LINENO"; then :
17814 glibcxx_cv_system_error5=yes
17815 else
17816 glibcxx_cv_system_error5=no
17817 fi
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17819
17820 fi
17821
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17823 $as_echo "$glibcxx_cv_system_error5" >&6; }
17824 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17825
17826 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17827
17828 fi
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17830 $as_echo_n "checking for ENOSR... " >&6; }
17831 if test "${glibcxx_cv_system_error6+set}" = set; then :
17832 $as_echo_n "(cached) " >&6
17833 else
17834
17835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17836 /* end confdefs.h. */
17837 #include <errno.h>
17838 int
17839 main ()
17840 {
17841 int i = ENOSR;
17842 ;
17843 return 0;
17844 }
17845 _ACEOF
17846 if ac_fn_c_try_compile "$LINENO"; then :
17847 glibcxx_cv_system_error6=yes
17848 else
17849 glibcxx_cv_system_error6=no
17850 fi
17851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17852
17853 fi
17854
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17856 $as_echo "$glibcxx_cv_system_error6" >&6; }
17857 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17858
17859 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17860
17861 fi
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17863 $as_echo_n "checking for ENOSTR... " >&6; }
17864 if test "${glibcxx_cv_system_error7+set}" = set; then :
17865 $as_echo_n "(cached) " >&6
17866 else
17867
17868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17869 /* end confdefs.h. */
17870 #include <errno.h>
17871 int
17872 main ()
17873 {
17874 int i = ENOSTR;
17875 ;
17876 return 0;
17877 }
17878 _ACEOF
17879 if ac_fn_c_try_compile "$LINENO"; then :
17880 glibcxx_cv_system_error7=yes
17881 else
17882 glibcxx_cv_system_error7=no
17883 fi
17884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17885
17886 fi
17887
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17889 $as_echo "$glibcxx_cv_system_error7" >&6; }
17890 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17891
17892 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17893
17894 fi
17895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17896 $as_echo_n "checking for ETIME... " >&6; }
17897 if test "${glibcxx_cv_system_error8+set}" = set; then :
17898 $as_echo_n "(cached) " >&6
17899 else
17900
17901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17902 /* end confdefs.h. */
17903 #include <errno.h>
17904 int
17905 main ()
17906 {
17907 int i = ETIME;
17908 ;
17909 return 0;
17910 }
17911 _ACEOF
17912 if ac_fn_c_try_compile "$LINENO"; then :
17913 glibcxx_cv_system_error8=yes
17914 else
17915 glibcxx_cv_system_error8=no
17916 fi
17917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17918
17919 fi
17920
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17922 $as_echo "$glibcxx_cv_system_error8" >&6; }
17923 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17924
17925 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17926
17927 fi
17928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17929 $as_echo_n "checking for EBADMSG... " >&6; }
17930 if test "${glibcxx_cv_system_error9+set}" = set; then :
17931 $as_echo_n "(cached) " >&6
17932 else
17933
17934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17935 /* end confdefs.h. */
17936 #include <errno.h>
17937 int
17938 main ()
17939 {
17940 int i = EBADMSG;
17941 ;
17942 return 0;
17943 }
17944 _ACEOF
17945 if ac_fn_c_try_compile "$LINENO"; then :
17946 glibcxx_cv_system_error9=yes
17947 else
17948 glibcxx_cv_system_error9=no
17949 fi
17950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17951
17952 fi
17953
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17955 $as_echo "$glibcxx_cv_system_error9" >&6; }
17956 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17957
17958 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17959
17960 fi
17961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17962 $as_echo_n "checking for ECANCELED... " >&6; }
17963 if test "${glibcxx_cv_system_error10+set}" = set; then :
17964 $as_echo_n "(cached) " >&6
17965 else
17966
17967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17968 /* end confdefs.h. */
17969 #include <errno.h>
17970 int
17971 main ()
17972 {
17973 int i = ECANCELED;
17974 ;
17975 return 0;
17976 }
17977 _ACEOF
17978 if ac_fn_c_try_compile "$LINENO"; then :
17979 glibcxx_cv_system_error10=yes
17980 else
17981 glibcxx_cv_system_error10=no
17982 fi
17983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17984
17985 fi
17986
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17988 $as_echo "$glibcxx_cv_system_error10" >&6; }
17989 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17990
17991 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17992
17993 fi
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17995 $as_echo_n "checking for EOVERFLOW... " >&6; }
17996 if test "${glibcxx_cv_system_error11+set}" = set; then :
17997 $as_echo_n "(cached) " >&6
17998 else
17999
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18002 #include <errno.h>
18003 int
18004 main ()
18005 {
18006 int i = EOVERFLOW;
18007 ;
18008 return 0;
18009 }
18010 _ACEOF
18011 if ac_fn_c_try_compile "$LINENO"; then :
18012 glibcxx_cv_system_error11=yes
18013 else
18014 glibcxx_cv_system_error11=no
18015 fi
18016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18017
18018 fi
18019
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18021 $as_echo "$glibcxx_cv_system_error11" >&6; }
18022 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18023
18024 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18025
18026 fi
18027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18028 $as_echo_n "checking for ENOTSUP... " >&6; }
18029 if test "${glibcxx_cv_system_error12+set}" = set; then :
18030 $as_echo_n "(cached) " >&6
18031 else
18032
18033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18034 /* end confdefs.h. */
18035 #include <errno.h>
18036 int
18037 main ()
18038 {
18039 int i = ENOTSUP;
18040 ;
18041 return 0;
18042 }
18043 _ACEOF
18044 if ac_fn_c_try_compile "$LINENO"; then :
18045 glibcxx_cv_system_error12=yes
18046 else
18047 glibcxx_cv_system_error12=no
18048 fi
18049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18050
18051 fi
18052
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18054 $as_echo "$glibcxx_cv_system_error12" >&6; }
18055 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18056
18057 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18058
18059 fi
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18061 $as_echo_n "checking for EIDRM... " >&6; }
18062 if test "${glibcxx_cv_system_error13+set}" = set; then :
18063 $as_echo_n "(cached) " >&6
18064 else
18065
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18068 #include <errno.h>
18069 int
18070 main ()
18071 {
18072 int i = EIDRM;
18073 ;
18074 return 0;
18075 }
18076 _ACEOF
18077 if ac_fn_c_try_compile "$LINENO"; then :
18078 glibcxx_cv_system_error13=yes
18079 else
18080 glibcxx_cv_system_error13=no
18081 fi
18082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18083
18084 fi
18085
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18087 $as_echo "$glibcxx_cv_system_error13" >&6; }
18088 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18089
18090 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18091
18092 fi
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18094 $as_echo_n "checking for ETXTBSY... " >&6; }
18095 if test "${glibcxx_cv_system_error14+set}" = set; then :
18096 $as_echo_n "(cached) " >&6
18097 else
18098
18099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18100 /* end confdefs.h. */
18101 #include <errno.h>
18102 int
18103 main ()
18104 {
18105 int i = ETXTBSY;
18106 ;
18107 return 0;
18108 }
18109 _ACEOF
18110 if ac_fn_c_try_compile "$LINENO"; then :
18111 glibcxx_cv_system_error14=yes
18112 else
18113 glibcxx_cv_system_error14=no
18114 fi
18115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18116
18117 fi
18118
18119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18120 $as_echo "$glibcxx_cv_system_error14" >&6; }
18121 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18122
18123 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18124
18125 fi
18126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18127 $as_echo_n "checking for ECHILD... " >&6; }
18128 if test "${glibcxx_cv_system_error15+set}" = set; then :
18129 $as_echo_n "(cached) " >&6
18130 else
18131
18132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18133 /* end confdefs.h. */
18134 #include <errno.h>
18135 int
18136 main ()
18137 {
18138 int i = ECHILD;
18139 ;
18140 return 0;
18141 }
18142 _ACEOF
18143 if ac_fn_c_try_compile "$LINENO"; then :
18144 glibcxx_cv_system_error15=yes
18145 else
18146 glibcxx_cv_system_error15=no
18147 fi
18148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18149
18150 fi
18151
18152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18153 $as_echo "$glibcxx_cv_system_error15" >&6; }
18154 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18155
18156 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18157
18158 fi
18159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18160 $as_echo_n "checking for ENOSPC... " >&6; }
18161 if test "${glibcxx_cv_system_error16+set}" = set; then :
18162 $as_echo_n "(cached) " >&6
18163 else
18164
18165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18166 /* end confdefs.h. */
18167 #include <errno.h>
18168 int
18169 main ()
18170 {
18171 int i = ENOSPC;
18172 ;
18173 return 0;
18174 }
18175 _ACEOF
18176 if ac_fn_c_try_compile "$LINENO"; then :
18177 glibcxx_cv_system_error16=yes
18178 else
18179 glibcxx_cv_system_error16=no
18180 fi
18181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18182
18183 fi
18184
18185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18186 $as_echo "$glibcxx_cv_system_error16" >&6; }
18187 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18188
18189 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18190
18191 fi
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18193 $as_echo_n "checking for EPERM... " >&6; }
18194 if test "${glibcxx_cv_system_error17+set}" = set; then :
18195 $as_echo_n "(cached) " >&6
18196 else
18197
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18200 #include <errno.h>
18201 int
18202 main ()
18203 {
18204 int i = EPERM;
18205 ;
18206 return 0;
18207 }
18208 _ACEOF
18209 if ac_fn_c_try_compile "$LINENO"; then :
18210 glibcxx_cv_system_error17=yes
18211 else
18212 glibcxx_cv_system_error17=no
18213 fi
18214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18215
18216 fi
18217
18218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18219 $as_echo "$glibcxx_cv_system_error17" >&6; }
18220 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18221
18222 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18223
18224 fi
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18226 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18227 if test "${glibcxx_cv_system_error18+set}" = set; then :
18228 $as_echo_n "(cached) " >&6
18229 else
18230
18231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18232 /* end confdefs.h. */
18233 #include <errno.h>
18234 int
18235 main ()
18236 {
18237 int i = ETIMEDOUT;
18238 ;
18239 return 0;
18240 }
18241 _ACEOF
18242 if ac_fn_c_try_compile "$LINENO"; then :
18243 glibcxx_cv_system_error18=yes
18244 else
18245 glibcxx_cv_system_error18=no
18246 fi
18247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18248
18249 fi
18250
18251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18252 $as_echo "$glibcxx_cv_system_error18" >&6; }
18253 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18254
18255 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18256
18257 fi
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18259 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18260 if test "${glibcxx_cv_system_error19+set}" = set; then :
18261 $as_echo_n "(cached) " >&6
18262 else
18263
18264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18265 /* end confdefs.h. */
18266 #include <errno.h>
18267 int
18268 main ()
18269 {
18270 int i = EWOULDBLOCK;
18271 ;
18272 return 0;
18273 }
18274 _ACEOF
18275 if ac_fn_c_try_compile "$LINENO"; then :
18276 glibcxx_cv_system_error19=yes
18277 else
18278 glibcxx_cv_system_error19=no
18279 fi
18280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18281
18282 fi
18283
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18285 $as_echo "$glibcxx_cv_system_error19" >&6; }
18286 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18287
18288 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18289
18290 fi
18291
18292
18293
18294 # For the streamoff typedef.
18295
18296
18297
18298 ac_ext=cpp
18299 ac_cpp='$CXXCPP $CPPFLAGS'
18300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18303
18304
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18306 $as_echo_n "checking for int64_t... " >&6; }
18307 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18308 $as_echo_n "(cached) " >&6
18309 else
18310
18311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18312 /* end confdefs.h. */
18313 #include <stdint.h>
18314 int
18315 main ()
18316 {
18317 int64_t var;
18318 ;
18319 return 0;
18320 }
18321 _ACEOF
18322 if ac_fn_cxx_try_compile "$LINENO"; then :
18323 glibcxx_cv_INT64_T=yes
18324 else
18325 glibcxx_cv_INT64_T=no
18326 fi
18327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18328
18329 fi
18330
18331
18332 if test $glibcxx_cv_INT64_T = yes; then
18333
18334 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18335
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18337 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18338
18339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18340 $as_echo_n "checking for int64_t as long... " >&6; }
18341 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18342 $as_echo_n "(cached) " >&6
18343 else
18344
18345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18346 /* end confdefs.h. */
18347 #include <stdint.h>
18348 template<typename, typename> struct same { enum { value = -1 }; };
18349 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18350 int array[same<int64_t, long>::value];
18351 int
18352 main ()
18353 {
18354
18355 ;
18356 return 0;
18357 }
18358 _ACEOF
18359 if ac_fn_cxx_try_compile "$LINENO"; then :
18360 glibcxx_cv_int64_t_long=yes
18361 else
18362 glibcxx_cv_int64_t_long=no
18363 fi
18364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18365
18366 fi
18367
18368
18369 if test $glibcxx_cv_int64_t_long = yes; then
18370
18371 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18372
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18374 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18375 fi
18376
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18378 $as_echo_n "checking for int64_t as long long... " >&6; }
18379 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18380 $as_echo_n "(cached) " >&6
18381 else
18382
18383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18384 /* end confdefs.h. */
18385 #include <stdint.h>
18386 template<typename, typename> struct same { enum { value = -1 }; };
18387 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18388 int array[same<int64_t, long long>::value];
18389 int
18390 main ()
18391 {
18392
18393 ;
18394 return 0;
18395 }
18396 _ACEOF
18397 if ac_fn_cxx_try_compile "$LINENO"; then :
18398 glibcxx_cv_int64_t_long_long=yes
18399 else
18400 glibcxx_cv_int64_t_long_long=no
18401 fi
18402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18403
18404 fi
18405
18406
18407 if test $glibcxx_cv_int64_t_long_long = yes; then
18408
18409 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18410
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18412 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18413 fi
18414 fi
18415
18416 ac_ext=c
18417 ac_cpp='$CPP $CPPFLAGS'
18418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18421
18422
18423
18424 # For LFS support.
18425
18426
18427 ac_ext=cpp
18428 ac_cpp='$CXXCPP $CPPFLAGS'
18429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18432
18433 ac_save_CXXFLAGS="$CXXFLAGS"
18434 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18436 $as_echo_n "checking for LFS support... " >&6; }
18437 if test "${glibcxx_cv_LFS+set}" = set; then :
18438 $as_echo_n "(cached) " >&6
18439 else
18440
18441 if test x$gcc_no_link = xyes; then
18442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18443 /* end confdefs.h. */
18444 #include <unistd.h>
18445 #include <stdio.h>
18446 #include <sys/stat.h>
18447
18448 int
18449 main ()
18450 {
18451 FILE* fp;
18452 fopen64("t", "w");
18453 fseeko64(fp, 0, SEEK_CUR);
18454 ftello64(fp);
18455 lseek64(1, 0, SEEK_CUR);
18456 struct stat64 buf;
18457 fstat64(1, &buf);
18458 ;
18459 return 0;
18460 }
18461 _ACEOF
18462 if ac_fn_cxx_try_compile "$LINENO"; then :
18463 glibcxx_cv_LFS=yes
18464 else
18465 glibcxx_cv_LFS=no
18466 fi
18467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18468 else
18469 if test x$gcc_no_link = xyes; then
18470 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18471 fi
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474 #include <unistd.h>
18475 #include <stdio.h>
18476 #include <sys/stat.h>
18477
18478 int
18479 main ()
18480 {
18481 FILE* fp;
18482 fopen64("t", "w");
18483 fseeko64(fp, 0, SEEK_CUR);
18484 ftello64(fp);
18485 lseek64(1, 0, SEEK_CUR);
18486 struct stat64 buf;
18487 fstat64(1, &buf);
18488 ;
18489 return 0;
18490 }
18491 _ACEOF
18492 if ac_fn_cxx_try_link "$LINENO"; then :
18493 glibcxx_cv_LFS=yes
18494 else
18495 glibcxx_cv_LFS=no
18496 fi
18497 rm -f core conftest.err conftest.$ac_objext \
18498 conftest$ac_exeext conftest.$ac_ext
18499 fi
18500
18501 fi
18502
18503 if test $glibcxx_cv_LFS = yes; then
18504
18505 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18506
18507 fi
18508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18509 $as_echo "$glibcxx_cv_LFS" >&6; }
18510 CXXFLAGS="$ac_save_CXXFLAGS"
18511 ac_ext=c
18512 ac_cpp='$CPP $CPPFLAGS'
18513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18516
18517
18518
18519 # For showmanyc_helper().
18520 for ac_header in sys/ioctl.h sys/filio.h
18521 do :
18522 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18523 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18524 eval as_val=\$$as_ac_Header
18525 if test "x$as_val" = x""yes; then :
18526 cat >>confdefs.h <<_ACEOF
18527 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18528 _ACEOF
18529
18530 fi
18531
18532 done
18533
18534
18535
18536
18537 ac_ext=cpp
18538 ac_cpp='$CXXCPP $CPPFLAGS'
18539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18542
18543 ac_save_CXXFLAGS="$CXXFLAGS"
18544 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18545
18546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18547 $as_echo_n "checking for poll... " >&6; }
18548 if test "${glibcxx_cv_POLL+set}" = set; then :
18549 $as_echo_n "(cached) " >&6
18550 else
18551
18552 if test x$gcc_no_link = xyes; then
18553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18554 /* end confdefs.h. */
18555 #include <poll.h>
18556 int
18557 main ()
18558 {
18559 struct pollfd pfd[1];
18560 pfd[0].events = POLLIN;
18561 poll(pfd, 1, 0);
18562 ;
18563 return 0;
18564 }
18565 _ACEOF
18566 if ac_fn_cxx_try_compile "$LINENO"; then :
18567 glibcxx_cv_POLL=yes
18568 else
18569 glibcxx_cv_POLL=no
18570 fi
18571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18572 else
18573 if test x$gcc_no_link = xyes; then
18574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18575 fi
18576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18577 /* end confdefs.h. */
18578 #include <poll.h>
18579 int
18580 main ()
18581 {
18582 struct pollfd pfd[1];
18583 pfd[0].events = POLLIN;
18584 poll(pfd, 1, 0);
18585 ;
18586 return 0;
18587 }
18588 _ACEOF
18589 if ac_fn_cxx_try_link "$LINENO"; then :
18590 glibcxx_cv_POLL=yes
18591 else
18592 glibcxx_cv_POLL=no
18593 fi
18594 rm -f core conftest.err conftest.$ac_objext \
18595 conftest$ac_exeext conftest.$ac_ext
18596 fi
18597
18598 fi
18599
18600 if test $glibcxx_cv_POLL = yes; then
18601
18602 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18603
18604 fi
18605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18606 $as_echo "$glibcxx_cv_POLL" >&6; }
18607
18608 CXXFLAGS="$ac_save_CXXFLAGS"
18609 ac_ext=c
18610 ac_cpp='$CPP $CPPFLAGS'
18611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18614
18615
18616
18617
18618
18619 ac_ext=cpp
18620 ac_cpp='$CXXCPP $CPPFLAGS'
18621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18624
18625 ac_save_CXXFLAGS="$CXXFLAGS"
18626 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18627
18628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18629 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18630 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18631 $as_echo_n "(cached) " >&6
18632 else
18633
18634 if test x$gcc_no_link = xyes; then
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18637 #include <sys/stat.h>
18638 int
18639 main ()
18640 {
18641 struct stat buffer;
18642 fstat(0, &buffer);
18643 S_ISREG(buffer.st_mode);
18644 ;
18645 return 0;
18646 }
18647 _ACEOF
18648 if ac_fn_cxx_try_compile "$LINENO"; then :
18649 glibcxx_cv_S_ISREG=yes
18650 else
18651 glibcxx_cv_S_ISREG=no
18652 fi
18653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18654 else
18655 if test x$gcc_no_link = xyes; then
18656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18657 fi
18658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18659 /* end confdefs.h. */
18660 #include <sys/stat.h>
18661 int
18662 main ()
18663 {
18664 struct stat buffer;
18665 fstat(0, &buffer);
18666 S_ISREG(buffer.st_mode);
18667 ;
18668 return 0;
18669 }
18670 _ACEOF
18671 if ac_fn_cxx_try_link "$LINENO"; then :
18672 glibcxx_cv_S_ISREG=yes
18673 else
18674 glibcxx_cv_S_ISREG=no
18675 fi
18676 rm -f core conftest.err conftest.$ac_objext \
18677 conftest$ac_exeext conftest.$ac_ext
18678 fi
18679
18680 fi
18681
18682 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18683 $as_echo_n "(cached) " >&6
18684 else
18685
18686 if test x$gcc_no_link = xyes; then
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689 #include <sys/stat.h>
18690 int
18691 main ()
18692 {
18693 struct stat buffer;
18694 fstat(0, &buffer);
18695 S_IFREG & buffer.st_mode;
18696 ;
18697 return 0;
18698 }
18699 _ACEOF
18700 if ac_fn_cxx_try_compile "$LINENO"; then :
18701 glibcxx_cv_S_IFREG=yes
18702 else
18703 glibcxx_cv_S_IFREG=no
18704 fi
18705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18706 else
18707 if test x$gcc_no_link = xyes; then
18708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18709 fi
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h. */
18712 #include <sys/stat.h>
18713 int
18714 main ()
18715 {
18716 struct stat buffer;
18717 fstat(0, &buffer);
18718 S_IFREG & buffer.st_mode;
18719 ;
18720 return 0;
18721 }
18722 _ACEOF
18723 if ac_fn_cxx_try_link "$LINENO"; then :
18724 glibcxx_cv_S_IFREG=yes
18725 else
18726 glibcxx_cv_S_IFREG=no
18727 fi
18728 rm -f core conftest.err conftest.$ac_objext \
18729 conftest$ac_exeext conftest.$ac_ext
18730 fi
18731
18732 fi
18733
18734 res=no
18735 if test $glibcxx_cv_S_ISREG = yes; then
18736
18737 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18738
18739 res=S_ISREG
18740 elif test $glibcxx_cv_S_IFREG = yes; then
18741
18742 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18743
18744 res=S_IFREG
18745 fi
18746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18747 $as_echo "$res" >&6; }
18748
18749 CXXFLAGS="$ac_save_CXXFLAGS"
18750 ac_ext=c
18751 ac_cpp='$CPP $CPPFLAGS'
18752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18755
18756
18757
18758 # For xsputn_2().
18759 for ac_header in sys/uio.h
18760 do :
18761 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18762 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18763 cat >>confdefs.h <<_ACEOF
18764 #define HAVE_SYS_UIO_H 1
18765 _ACEOF
18766
18767 fi
18768
18769 done
18770
18771
18772
18773
18774 ac_ext=cpp
18775 ac_cpp='$CXXCPP $CPPFLAGS'
18776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18779
18780 ac_save_CXXFLAGS="$CXXFLAGS"
18781 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18782
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18784 $as_echo_n "checking for writev... " >&6; }
18785 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18786 $as_echo_n "(cached) " >&6
18787 else
18788
18789 if test x$gcc_no_link = xyes; then
18790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18791 /* end confdefs.h. */
18792 #include <sys/uio.h>
18793 int
18794 main ()
18795 {
18796 struct iovec iov[2];
18797 writev(0, iov, 0);
18798 ;
18799 return 0;
18800 }
18801 _ACEOF
18802 if ac_fn_cxx_try_compile "$LINENO"; then :
18803 glibcxx_cv_WRITEV=yes
18804 else
18805 glibcxx_cv_WRITEV=no
18806 fi
18807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18808 else
18809 if test x$gcc_no_link = xyes; then
18810 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18811 fi
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 #include <sys/uio.h>
18815 int
18816 main ()
18817 {
18818 struct iovec iov[2];
18819 writev(0, iov, 0);
18820 ;
18821 return 0;
18822 }
18823 _ACEOF
18824 if ac_fn_cxx_try_link "$LINENO"; then :
18825 glibcxx_cv_WRITEV=yes
18826 else
18827 glibcxx_cv_WRITEV=no
18828 fi
18829 rm -f core conftest.err conftest.$ac_objext \
18830 conftest$ac_exeext conftest.$ac_ext
18831 fi
18832
18833 fi
18834
18835 if test $glibcxx_cv_WRITEV = yes; then
18836
18837 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18838
18839 fi
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18841 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18842
18843 CXXFLAGS="$ac_save_CXXFLAGS"
18844 ac_ext=c
18845 ac_cpp='$CPP $CPPFLAGS'
18846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18849
18850
18851
18852 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18853 # so that the check is done with the C compiler (not C++).
18854 # Checking with C++ can break a canadian cross build if either
18855 # file does not exist in C but does in C++.
18856 for ac_header in fenv.h complex.h
18857 do :
18858 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18859 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18860 eval as_val=\$$as_ac_Header
18861 if test "x$as_val" = x""yes; then :
18862 cat >>confdefs.h <<_ACEOF
18863 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18864 _ACEOF
18865
18866 fi
18867
18868 done
18869
18870
18871 # For C99 support to TR1.
18872
18873
18874
18875 ac_ext=cpp
18876 ac_cpp='$CXXCPP $CPPFLAGS'
18877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18880
18881
18882 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18883 # undefined and fake C99 facilities may be spuriously enabled.
18884 ac_save_CXXFLAGS="$CXXFLAGS"
18885 CXXFLAGS="$CXXFLAGS -std=c++98"
18886
18887 # Check for the existence of <complex.h> complex math functions used
18888 # by tr1/complex.
18889 for ac_header in complex.h
18890 do :
18891 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18892 if test "x$ac_cv_header_complex_h" = x""yes; then :
18893 cat >>confdefs.h <<_ACEOF
18894 #define HAVE_COMPLEX_H 1
18895 _ACEOF
18896 ac_has_complex_h=yes
18897 else
18898 ac_has_complex_h=no
18899 fi
18900
18901 done
18902
18903 ac_c99_complex_tr1=no;
18904 if test x"$ac_has_complex_h" = x"yes"; then
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18906 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18908 /* end confdefs.h. */
18909 #include <complex.h>
18910 int
18911 main ()
18912 {
18913 typedef __complex__ float float_type; float_type tmpf;
18914 cacosf(tmpf);
18915 casinf(tmpf);
18916 catanf(tmpf);
18917 cacoshf(tmpf);
18918 casinhf(tmpf);
18919 catanhf(tmpf);
18920 typedef __complex__ double double_type; double_type tmpd;
18921 cacos(tmpd);
18922 casin(tmpd);
18923 catan(tmpd);
18924 cacosh(tmpd);
18925 casinh(tmpd);
18926 catanh(tmpd);
18927 typedef __complex__ long double ld_type; ld_type tmpld;
18928 cacosl(tmpld);
18929 casinl(tmpld);
18930 catanl(tmpld);
18931 cacoshl(tmpld);
18932 casinhl(tmpld);
18933 catanhl(tmpld);
18934
18935 ;
18936 return 0;
18937 }
18938 _ACEOF
18939 if ac_fn_cxx_try_compile "$LINENO"; then :
18940 ac_c99_complex_tr1=yes
18941 else
18942 ac_c99_complex_tr1=no
18943 fi
18944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18945 fi
18946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18947 $as_echo "$ac_c99_complex_tr1" >&6; }
18948 if test x"$ac_c99_complex_tr1" = x"yes"; then
18949
18950 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18951
18952 fi
18953
18954 # Check for the existence of <ctype.h> functions.
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18956 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18957 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18958 $as_echo_n "(cached) " >&6
18959 else
18960
18961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18963 #include <ctype.h>
18964 int
18965 main ()
18966 {
18967 int ch;
18968 int ret;
18969 ret = isblank(ch);
18970
18971 ;
18972 return 0;
18973 }
18974 _ACEOF
18975 if ac_fn_cxx_try_compile "$LINENO"; then :
18976 glibcxx_cv_c99_ctype_tr1=yes
18977 else
18978 glibcxx_cv_c99_ctype_tr1=no
18979 fi
18980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18981
18982 fi
18983
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18985 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18986 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18987
18988 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18989
18990 fi
18991
18992 # Check for the existence of <fenv.h> functions.
18993 for ac_header in fenv.h
18994 do :
18995 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18996 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_FENV_H 1
18999 _ACEOF
19000 ac_has_fenv_h=yes
19001 else
19002 ac_has_fenv_h=no
19003 fi
19004
19005 done
19006
19007 ac_c99_fenv_tr1=no;
19008 if test x"$ac_has_fenv_h" = x"yes"; then
19009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19010 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19012 /* end confdefs.h. */
19013 #include <fenv.h>
19014 int
19015 main ()
19016 {
19017 int except, mode;
19018 fexcept_t* pflag;
19019 fenv_t* penv;
19020 int ret;
19021 ret = feclearexcept(except);
19022 ret = fegetexceptflag(pflag, except);
19023 ret = feraiseexcept(except);
19024 ret = fesetexceptflag(pflag, except);
19025 ret = fetestexcept(except);
19026 ret = fegetround();
19027 ret = fesetround(mode);
19028 ret = fegetenv(penv);
19029 ret = feholdexcept(penv);
19030 ret = fesetenv(penv);
19031 ret = feupdateenv(penv);
19032
19033 ;
19034 return 0;
19035 }
19036 _ACEOF
19037 if ac_fn_cxx_try_compile "$LINENO"; then :
19038 ac_c99_fenv_tr1=yes
19039 else
19040 ac_c99_fenv_tr1=no
19041 fi
19042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19043 fi
19044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19045 $as_echo "$ac_c99_fenv_tr1" >&6; }
19046 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19047
19048 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19049
19050 fi
19051
19052 # Check for the existence of <stdint.h> types.
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19054 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19055 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19056 $as_echo_n "(cached) " >&6
19057 else
19058
19059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19060 /* end confdefs.h. */
19061 #define __STDC_LIMIT_MACROS
19062 #define __STDC_CONSTANT_MACROS
19063 #include <stdint.h>
19064 int
19065 main ()
19066 {
19067 typedef int8_t my_int8_t;
19068 my_int8_t i8 = INT8_MIN;
19069 i8 = INT8_MAX;
19070 typedef int16_t my_int16_t;
19071 my_int16_t i16 = INT16_MIN;
19072 i16 = INT16_MAX;
19073 typedef int32_t my_int32_t;
19074 my_int32_t i32 = INT32_MIN;
19075 i32 = INT32_MAX;
19076 typedef int64_t my_int64_t;
19077 my_int64_t i64 = INT64_MIN;
19078 i64 = INT64_MAX;
19079 typedef int_fast8_t my_int_fast8_t;
19080 my_int_fast8_t if8 = INT_FAST8_MIN;
19081 if8 = INT_FAST8_MAX;
19082 typedef int_fast16_t my_int_fast16_t;
19083 my_int_fast16_t if16 = INT_FAST16_MIN;
19084 if16 = INT_FAST16_MAX;
19085 typedef int_fast32_t my_int_fast32_t;
19086 my_int_fast32_t if32 = INT_FAST32_MIN;
19087 if32 = INT_FAST32_MAX;
19088 typedef int_fast64_t my_int_fast64_t;
19089 my_int_fast64_t if64 = INT_FAST64_MIN;
19090 if64 = INT_FAST64_MAX;
19091 typedef int_least8_t my_int_least8_t;
19092 my_int_least8_t il8 = INT_LEAST8_MIN;
19093 il8 = INT_LEAST8_MAX;
19094 typedef int_least16_t my_int_least16_t;
19095 my_int_least16_t il16 = INT_LEAST16_MIN;
19096 il16 = INT_LEAST16_MAX;
19097 typedef int_least32_t my_int_least32_t;
19098 my_int_least32_t il32 = INT_LEAST32_MIN;
19099 il32 = INT_LEAST32_MAX;
19100 typedef int_least64_t my_int_least64_t;
19101 my_int_least64_t il64 = INT_LEAST64_MIN;
19102 il64 = INT_LEAST64_MAX;
19103 typedef intmax_t my_intmax_t;
19104 my_intmax_t im = INTMAX_MAX;
19105 im = INTMAX_MIN;
19106 typedef intptr_t my_intptr_t;
19107 my_intptr_t ip = INTPTR_MAX;
19108 ip = INTPTR_MIN;
19109 typedef uint8_t my_uint8_t;
19110 my_uint8_t ui8 = UINT8_MAX;
19111 ui8 = UINT8_MAX;
19112 typedef uint16_t my_uint16_t;
19113 my_uint16_t ui16 = UINT16_MAX;
19114 ui16 = UINT16_MAX;
19115 typedef uint32_t my_uint32_t;
19116 my_uint32_t ui32 = UINT32_MAX;
19117 ui32 = UINT32_MAX;
19118 typedef uint64_t my_uint64_t;
19119 my_uint64_t ui64 = UINT64_MAX;
19120 ui64 = UINT64_MAX;
19121 typedef uint_fast8_t my_uint_fast8_t;
19122 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19123 uif8 = UINT_FAST8_MAX;
19124 typedef uint_fast16_t my_uint_fast16_t;
19125 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19126 uif16 = UINT_FAST16_MAX;
19127 typedef uint_fast32_t my_uint_fast32_t;
19128 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19129 uif32 = UINT_FAST32_MAX;
19130 typedef uint_fast64_t my_uint_fast64_t;
19131 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19132 uif64 = UINT_FAST64_MAX;
19133 typedef uint_least8_t my_uint_least8_t;
19134 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19135 uil8 = UINT_LEAST8_MAX;
19136 typedef uint_least16_t my_uint_least16_t;
19137 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19138 uil16 = UINT_LEAST16_MAX;
19139 typedef uint_least32_t my_uint_least32_t;
19140 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19141 uil32 = UINT_LEAST32_MAX;
19142 typedef uint_least64_t my_uint_least64_t;
19143 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19144 uil64 = UINT_LEAST64_MAX;
19145 typedef uintmax_t my_uintmax_t;
19146 my_uintmax_t uim = UINTMAX_MAX;
19147 uim = UINTMAX_MAX;
19148 typedef uintptr_t my_uintptr_t;
19149 my_uintptr_t uip = UINTPTR_MAX;
19150 uip = UINTPTR_MAX;
19151
19152 ;
19153 return 0;
19154 }
19155 _ACEOF
19156 if ac_fn_cxx_try_compile "$LINENO"; then :
19157 glibcxx_cv_c99_stdint_tr1=yes
19158 else
19159 glibcxx_cv_c99_stdint_tr1=no
19160 fi
19161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19162
19163 fi
19164
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19166 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19167 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19168
19169 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19170
19171 fi
19172
19173 # Check for the existence of <math.h> functions.
19174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19175 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19176 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19177 $as_echo_n "(cached) " >&6
19178 else
19179
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19182 #include <math.h>
19183 int
19184 main ()
19185 {
19186 typedef double_t my_double_t;
19187 typedef float_t my_float_t;
19188 acosh(0.0);
19189 acoshf(0.0f);
19190 acoshl(0.0l);
19191 asinh(0.0);
19192 asinhf(0.0f);
19193 asinhl(0.0l);
19194 atanh(0.0);
19195 atanhf(0.0f);
19196 atanhl(0.0l);
19197 cbrt(0.0);
19198 cbrtf(0.0f);
19199 cbrtl(0.0l);
19200 copysign(0.0, 0.0);
19201 copysignf(0.0f, 0.0f);
19202 copysignl(0.0l, 0.0l);
19203 erf(0.0);
19204 erff(0.0f);
19205 erfl(0.0l);
19206 erfc(0.0);
19207 erfcf(0.0f);
19208 erfcl(0.0l);
19209 exp2(0.0);
19210 exp2f(0.0f);
19211 exp2l(0.0l);
19212 expm1(0.0);
19213 expm1f(0.0f);
19214 expm1l(0.0l);
19215 fdim(0.0, 0.0);
19216 fdimf(0.0f, 0.0f);
19217 fdiml(0.0l, 0.0l);
19218 fma(0.0, 0.0, 0.0);
19219 fmaf(0.0f, 0.0f, 0.0f);
19220 fmal(0.0l, 0.0l, 0.0l);
19221 fmax(0.0, 0.0);
19222 fmaxf(0.0f, 0.0f);
19223 fmaxl(0.0l, 0.0l);
19224 fmin(0.0, 0.0);
19225 fminf(0.0f, 0.0f);
19226 fminl(0.0l, 0.0l);
19227 hypot(0.0, 0.0);
19228 hypotf(0.0f, 0.0f);
19229 hypotl(0.0l, 0.0l);
19230 ilogb(0.0);
19231 ilogbf(0.0f);
19232 ilogbl(0.0l);
19233 lgamma(0.0);
19234 lgammaf(0.0f);
19235 lgammal(0.0l);
19236 llrint(0.0);
19237 llrintf(0.0f);
19238 llrintl(0.0l);
19239 llround(0.0);
19240 llroundf(0.0f);
19241 llroundl(0.0l);
19242 log1p(0.0);
19243 log1pf(0.0f);
19244 log1pl(0.0l);
19245 log2(0.0);
19246 log2f(0.0f);
19247 log2l(0.0l);
19248 logb(0.0);
19249 logbf(0.0f);
19250 logbl(0.0l);
19251 lrint(0.0);
19252 lrintf(0.0f);
19253 lrintl(0.0l);
19254 lround(0.0);
19255 lroundf(0.0f);
19256 lroundl(0.0l);
19257 nan(0);
19258 nanf(0);
19259 nanl(0);
19260 nearbyint(0.0);
19261 nearbyintf(0.0f);
19262 nearbyintl(0.0l);
19263 nextafter(0.0, 0.0);
19264 nextafterf(0.0f, 0.0f);
19265 nextafterl(0.0l, 0.0l);
19266 nexttoward(0.0, 0.0);
19267 nexttowardf(0.0f, 0.0f);
19268 nexttowardl(0.0l, 0.0l);
19269 remainder(0.0, 0.0);
19270 remainderf(0.0f, 0.0f);
19271 remainderl(0.0l, 0.0l);
19272 remquo(0.0, 0.0, 0);
19273 remquof(0.0f, 0.0f, 0);
19274 remquol(0.0l, 0.0l, 0);
19275 rint(0.0);
19276 rintf(0.0f);
19277 rintl(0.0l);
19278 round(0.0);
19279 roundf(0.0f);
19280 roundl(0.0l);
19281 scalbln(0.0, 0l);
19282 scalblnf(0.0f, 0l);
19283 scalblnl(0.0l, 0l);
19284 scalbn(0.0, 0);
19285 scalbnf(0.0f, 0);
19286 scalbnl(0.0l, 0);
19287 tgamma(0.0);
19288 tgammaf(0.0f);
19289 tgammal(0.0l);
19290 trunc(0.0);
19291 truncf(0.0f);
19292 truncl(0.0l);
19293
19294 ;
19295 return 0;
19296 }
19297 _ACEOF
19298 if ac_fn_cxx_try_compile "$LINENO"; then :
19299 glibcxx_cv_c99_math_tr1=yes
19300 else
19301 glibcxx_cv_c99_math_tr1=no
19302 fi
19303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19304
19305 fi
19306
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19308 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19309 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19310
19311 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19312
19313 fi
19314
19315 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19316 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19317 ac_c99_inttypes_tr1=no;
19318 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19320 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19322 /* end confdefs.h. */
19323 #include <inttypes.h>
19324 int
19325 main ()
19326 {
19327 intmax_t i, numer, denom, base;
19328 const char* s;
19329 char** endptr;
19330 intmax_t ret = imaxabs(i);
19331 imaxdiv_t dret = imaxdiv(numer, denom);
19332 ret = strtoimax(s, endptr, base);
19333 uintmax_t uret = strtoumax(s, endptr, base);
19334
19335 ;
19336 return 0;
19337 }
19338 _ACEOF
19339 if ac_fn_cxx_try_compile "$LINENO"; then :
19340 ac_c99_inttypes_tr1=yes
19341 else
19342 ac_c99_inttypes_tr1=no
19343 fi
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19345 fi
19346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19347 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19348 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19349
19350 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19351
19352 fi
19353
19354 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19355 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19356 ac_c99_inttypes_wchar_t_tr1=no;
19357 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19359 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362 #include <inttypes.h>
19363 int
19364 main ()
19365 {
19366 intmax_t base;
19367 const wchar_t* s;
19368 wchar_t** endptr;
19369 intmax_t ret = wcstoimax(s, endptr, base);
19370 uintmax_t uret = wcstoumax(s, endptr, base);
19371
19372 ;
19373 return 0;
19374 }
19375 _ACEOF
19376 if ac_fn_cxx_try_compile "$LINENO"; then :
19377 ac_c99_inttypes_wchar_t_tr1=yes
19378 else
19379 ac_c99_inttypes_wchar_t_tr1=no
19380 fi
19381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19382 fi
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19384 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19385 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19386
19387 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19388
19389 fi
19390
19391 # Check for the existence of the <stdbool.h> header.
19392 for ac_header in stdbool.h
19393 do :
19394 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19395 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19396 cat >>confdefs.h <<_ACEOF
19397 #define HAVE_STDBOOL_H 1
19398 _ACEOF
19399
19400 fi
19401
19402 done
19403
19404
19405 # Check for the existence of the <stdalign.h> header.
19406 for ac_header in stdalign.h
19407 do :
19408 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19409 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19410 cat >>confdefs.h <<_ACEOF
19411 #define HAVE_STDALIGN_H 1
19412 _ACEOF
19413
19414 fi
19415
19416 done
19417
19418
19419 CXXFLAGS="$ac_save_CXXFLAGS"
19420 ac_ext=c
19421 ac_cpp='$CPP $CPPFLAGS'
19422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19425
19426
19427
19428 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19429
19430
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19432 $as_echo_n "checking for the value of EOF... " >&6; }
19433 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19434 $as_echo_n "(cached) " >&6
19435 else
19436
19437 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19438
19439 else
19440 as_fn_error "computing EOF failed" "$LINENO" 5
19441 fi
19442
19443
19444 fi
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19446 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19447
19448 cat >>confdefs.h <<_ACEOF
19449 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19450 _ACEOF
19451
19452
19453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19454 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19455 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19456 $as_echo_n "(cached) " >&6
19457 else
19458
19459 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19460
19461 else
19462 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19463 fi
19464
19465
19466 fi
19467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19468 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19469
19470 cat >>confdefs.h <<_ACEOF
19471 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19472 _ACEOF
19473
19474
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19476 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19477 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19478 $as_echo_n "(cached) " >&6
19479 else
19480
19481 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19482
19483 else
19484 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19485 fi
19486
19487
19488 fi
19489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19490 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19491
19492 cat >>confdefs.h <<_ACEOF
19493 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19494 _ACEOF
19495
19496
19497
19498 # For gettimeofday support.
19499
19500
19501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19502 $as_echo_n "checking for gettimeofday... " >&6; }
19503
19504
19505 ac_ext=cpp
19506 ac_cpp='$CXXCPP $CPPFLAGS'
19507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19510
19511 ac_save_CXXFLAGS="$CXXFLAGS"
19512 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19513
19514 ac_has_gettimeofday=no;
19515 for ac_header in sys/time.h
19516 do :
19517 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19518 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19519 cat >>confdefs.h <<_ACEOF
19520 #define HAVE_SYS_TIME_H 1
19521 _ACEOF
19522 ac_has_sys_time_h=yes
19523 else
19524 ac_has_sys_time_h=no
19525 fi
19526
19527 done
19528
19529 if test x"$ac_has_sys_time_h" = x"yes"; then
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19531 $as_echo_n "checking for gettimeofday... " >&6; }
19532 if test x$gcc_no_link = xyes; then
19533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19534 /* end confdefs.h. */
19535 #include <sys/time.h>
19536 int
19537 main ()
19538 {
19539 timeval tv; gettimeofday(&tv, 0);
19540 ;
19541 return 0;
19542 }
19543 _ACEOF
19544 if ac_fn_cxx_try_compile "$LINENO"; then :
19545 ac_has_gettimeofday=yes
19546 else
19547 ac_has_gettimeofday=no
19548 fi
19549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19550 else
19551 if test x$gcc_no_link = xyes; then
19552 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19553 fi
19554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19556 #include <sys/time.h>
19557 int
19558 main ()
19559 {
19560 timeval tv; gettimeofday(&tv, 0);
19561 ;
19562 return 0;
19563 }
19564 _ACEOF
19565 if ac_fn_cxx_try_link "$LINENO"; then :
19566 ac_has_gettimeofday=yes
19567 else
19568 ac_has_gettimeofday=no
19569 fi
19570 rm -f core conftest.err conftest.$ac_objext \
19571 conftest$ac_exeext conftest.$ac_ext
19572 fi
19573
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19575 $as_echo "$ac_has_gettimeofday" >&6; }
19576 fi
19577
19578 if test x"$ac_has_gettimeofday" = x"yes"; then
19579
19580 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19581
19582 fi
19583
19584 CXXFLAGS="$ac_save_CXXFLAGS"
19585 ac_ext=c
19586 ac_cpp='$CPP $CPPFLAGS'
19587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19590
19591
19592
19593 # For clock_gettime, nanosleep and sched_yield support.
19594
19595
19596 # Check whether --enable-libstdcxx-time was given.
19597 if test "${enable_libstdcxx_time+set}" = set; then :
19598 enableval=$enable_libstdcxx_time;
19599 case "$enableval" in
19600 yes|no|rt) ;;
19601 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19602 esac
19603
19604 else
19605 enable_libstdcxx_time=auto
19606 fi
19607
19608
19609
19610
19611 ac_ext=cpp
19612 ac_cpp='$CXXCPP $CPPFLAGS'
19613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19616
19617 ac_save_CXXFLAGS="$CXXFLAGS"
19618 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19619 ac_save_LIBS="$LIBS"
19620
19621 ac_has_clock_monotonic=no
19622 ac_has_clock_realtime=no
19623 ac_has_nanosleep=no
19624 ac_has_sched_yield=no
19625
19626 if test x"$enable_libstdcxx_time" = x"auto"; then
19627
19628 case "${target_os}" in
19629 cygwin*)
19630 ac_has_nanosleep=yes
19631 ;;
19632 darwin*)
19633 ac_has_nanosleep=yes
19634 ac_has_sched_yield=yes
19635 ;;
19636 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19638 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19640 /* end confdefs.h. */
19641 #include <features.h>
19642 int
19643 main ()
19644 {
19645
19646 #if ! __GLIBC_PREREQ(2, 17)
19647 #error
19648 #endif
19649
19650 ;
19651 return 0;
19652 }
19653 _ACEOF
19654 if ac_fn_cxx_try_compile "$LINENO"; then :
19655 glibcxx_glibc217=yes
19656 else
19657 glibcxx_glibc217=no
19658 fi
19659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19661 $as_echo "$glibcxx_glibc217" >&6; }
19662
19663 if test x"$glibcxx_glibc217" = x"yes"; then
19664 ac_has_clock_monotonic=yes
19665 ac_has_clock_realtime=yes
19666 fi
19667 ac_has_nanosleep=yes
19668 ac_has_sched_yield=yes
19669 ;;
19670 freebsd*|netbsd*|dragonfly*)
19671 ac_has_clock_monotonic=yes
19672 ac_has_clock_realtime=yes
19673 ac_has_nanosleep=yes
19674 ac_has_sched_yield=yes
19675 ;;
19676 openbsd*)
19677 ac_has_clock_monotonic=yes
19678 ac_has_clock_realtime=yes
19679 ac_has_nanosleep=yes
19680 ;;
19681 solaris*)
19682 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19683 ac_has_clock_monotonic=yes
19684 ac_has_clock_realtime=yes
19685 ac_has_nanosleep=yes
19686 ac_has_sched_yield=yes
19687 ;;
19688 esac
19689
19690 elif test x"$enable_libstdcxx_time" != x"no"; then
19691
19692 if test x"$enable_libstdcxx_time" = x"rt"; then
19693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19694 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19695 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19696 $as_echo_n "(cached) " >&6
19697 else
19698 ac_func_search_save_LIBS=$LIBS
19699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19700 /* end confdefs.h. */
19701
19702 /* Override any GCC internal prototype to avoid an error.
19703 Use char because int might match the return type of a GCC
19704 builtin and then its argument prototype would still apply. */
19705 #ifdef __cplusplus
19706 extern "C"
19707 #endif
19708 char clock_gettime ();
19709 int
19710 main ()
19711 {
19712 return clock_gettime ();
19713 ;
19714 return 0;
19715 }
19716 _ACEOF
19717 for ac_lib in '' rt posix4; do
19718 if test -z "$ac_lib"; then
19719 ac_res="none required"
19720 else
19721 ac_res=-l$ac_lib
19722 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19723 fi
19724 if test x$gcc_no_link = xyes; then
19725 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19726 fi
19727 if ac_fn_cxx_try_link "$LINENO"; then :
19728 ac_cv_search_clock_gettime=$ac_res
19729 fi
19730 rm -f core conftest.err conftest.$ac_objext \
19731 conftest$ac_exeext
19732 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19733 break
19734 fi
19735 done
19736 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19737
19738 else
19739 ac_cv_search_clock_gettime=no
19740 fi
19741 rm conftest.$ac_ext
19742 LIBS=$ac_func_search_save_LIBS
19743 fi
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19745 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19746 ac_res=$ac_cv_search_clock_gettime
19747 if test "$ac_res" != no; then :
19748 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19749
19750 fi
19751
19752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19753 $as_echo_n "checking for library containing nanosleep... " >&6; }
19754 if test "${ac_cv_search_nanosleep+set}" = set; then :
19755 $as_echo_n "(cached) " >&6
19756 else
19757 ac_func_search_save_LIBS=$LIBS
19758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19759 /* end confdefs.h. */
19760
19761 /* Override any GCC internal prototype to avoid an error.
19762 Use char because int might match the return type of a GCC
19763 builtin and then its argument prototype would still apply. */
19764 #ifdef __cplusplus
19765 extern "C"
19766 #endif
19767 char nanosleep ();
19768 int
19769 main ()
19770 {
19771 return nanosleep ();
19772 ;
19773 return 0;
19774 }
19775 _ACEOF
19776 for ac_lib in '' rt posix4; do
19777 if test -z "$ac_lib"; then
19778 ac_res="none required"
19779 else
19780 ac_res=-l$ac_lib
19781 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19782 fi
19783 if test x$gcc_no_link = xyes; then
19784 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19785 fi
19786 if ac_fn_cxx_try_link "$LINENO"; then :
19787 ac_cv_search_nanosleep=$ac_res
19788 fi
19789 rm -f core conftest.err conftest.$ac_objext \
19790 conftest$ac_exeext
19791 if test "${ac_cv_search_nanosleep+set}" = set; then :
19792 break
19793 fi
19794 done
19795 if test "${ac_cv_search_nanosleep+set}" = set; then :
19796
19797 else
19798 ac_cv_search_nanosleep=no
19799 fi
19800 rm conftest.$ac_ext
19801 LIBS=$ac_func_search_save_LIBS
19802 fi
19803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19804 $as_echo "$ac_cv_search_nanosleep" >&6; }
19805 ac_res=$ac_cv_search_nanosleep
19806 if test "$ac_res" != no; then :
19807 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19808
19809 fi
19810
19811 else
19812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19813 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19814 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19815 $as_echo_n "(cached) " >&6
19816 else
19817 ac_func_search_save_LIBS=$LIBS
19818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19819 /* end confdefs.h. */
19820
19821 /* Override any GCC internal prototype to avoid an error.
19822 Use char because int might match the return type of a GCC
19823 builtin and then its argument prototype would still apply. */
19824 #ifdef __cplusplus
19825 extern "C"
19826 #endif
19827 char clock_gettime ();
19828 int
19829 main ()
19830 {
19831 return clock_gettime ();
19832 ;
19833 return 0;
19834 }
19835 _ACEOF
19836 for ac_lib in '' posix4; do
19837 if test -z "$ac_lib"; then
19838 ac_res="none required"
19839 else
19840 ac_res=-l$ac_lib
19841 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19842 fi
19843 if test x$gcc_no_link = xyes; then
19844 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19845 fi
19846 if ac_fn_cxx_try_link "$LINENO"; then :
19847 ac_cv_search_clock_gettime=$ac_res
19848 fi
19849 rm -f core conftest.err conftest.$ac_objext \
19850 conftest$ac_exeext
19851 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19852 break
19853 fi
19854 done
19855 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19856
19857 else
19858 ac_cv_search_clock_gettime=no
19859 fi
19860 rm conftest.$ac_ext
19861 LIBS=$ac_func_search_save_LIBS
19862 fi
19863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19864 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19865 ac_res=$ac_cv_search_clock_gettime
19866 if test "$ac_res" != no; then :
19867 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19868
19869 fi
19870
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19872 $as_echo_n "checking for library containing nanosleep... " >&6; }
19873 if test "${ac_cv_search_nanosleep+set}" = set; then :
19874 $as_echo_n "(cached) " >&6
19875 else
19876 ac_func_search_save_LIBS=$LIBS
19877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19878 /* end confdefs.h. */
19879
19880 /* Override any GCC internal prototype to avoid an error.
19881 Use char because int might match the return type of a GCC
19882 builtin and then its argument prototype would still apply. */
19883 #ifdef __cplusplus
19884 extern "C"
19885 #endif
19886 char nanosleep ();
19887 int
19888 main ()
19889 {
19890 return nanosleep ();
19891 ;
19892 return 0;
19893 }
19894 _ACEOF
19895 for ac_lib in '' posix4; do
19896 if test -z "$ac_lib"; then
19897 ac_res="none required"
19898 else
19899 ac_res=-l$ac_lib
19900 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19901 fi
19902 if test x$gcc_no_link = xyes; then
19903 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19904 fi
19905 if ac_fn_cxx_try_link "$LINENO"; then :
19906 ac_cv_search_nanosleep=$ac_res
19907 fi
19908 rm -f core conftest.err conftest.$ac_objext \
19909 conftest$ac_exeext
19910 if test "${ac_cv_search_nanosleep+set}" = set; then :
19911 break
19912 fi
19913 done
19914 if test "${ac_cv_search_nanosleep+set}" = set; then :
19915
19916 else
19917 ac_cv_search_nanosleep=no
19918 fi
19919 rm conftest.$ac_ext
19920 LIBS=$ac_func_search_save_LIBS
19921 fi
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19923 $as_echo "$ac_cv_search_nanosleep" >&6; }
19924 ac_res=$ac_cv_search_nanosleep
19925 if test "$ac_res" != no; then :
19926 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19927
19928 fi
19929
19930 fi
19931
19932 case "$ac_cv_search_clock_gettime" in
19933 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19934 ;;
19935 esac
19936 case "$ac_cv_search_nanosleep" in
19937 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19938 ;;
19939 esac
19940
19941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19942 $as_echo_n "checking for library containing sched_yield... " >&6; }
19943 if test "${ac_cv_search_sched_yield+set}" = set; then :
19944 $as_echo_n "(cached) " >&6
19945 else
19946 ac_func_search_save_LIBS=$LIBS
19947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19948 /* end confdefs.h. */
19949
19950 /* Override any GCC internal prototype to avoid an error.
19951 Use char because int might match the return type of a GCC
19952 builtin and then its argument prototype would still apply. */
19953 #ifdef __cplusplus
19954 extern "C"
19955 #endif
19956 char sched_yield ();
19957 int
19958 main ()
19959 {
19960 return sched_yield ();
19961 ;
19962 return 0;
19963 }
19964 _ACEOF
19965 for ac_lib in '' rt posix4; do
19966 if test -z "$ac_lib"; then
19967 ac_res="none required"
19968 else
19969 ac_res=-l$ac_lib
19970 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19971 fi
19972 if test x$gcc_no_link = xyes; then
19973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19974 fi
19975 if ac_fn_cxx_try_link "$LINENO"; then :
19976 ac_cv_search_sched_yield=$ac_res
19977 fi
19978 rm -f core conftest.err conftest.$ac_objext \
19979 conftest$ac_exeext
19980 if test "${ac_cv_search_sched_yield+set}" = set; then :
19981 break
19982 fi
19983 done
19984 if test "${ac_cv_search_sched_yield+set}" = set; then :
19985
19986 else
19987 ac_cv_search_sched_yield=no
19988 fi
19989 rm conftest.$ac_ext
19990 LIBS=$ac_func_search_save_LIBS
19991 fi
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19993 $as_echo "$ac_cv_search_sched_yield" >&6; }
19994 ac_res=$ac_cv_search_sched_yield
19995 if test "$ac_res" != no; then :
19996 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19997
19998 fi
19999
20000
20001 case "$ac_cv_search_sched_yield" in
20002 -lposix4*)
20003 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20004 ac_has_sched_yield=yes
20005 ;;
20006 -lrt*)
20007 if test x"$enable_libstdcxx_time" = x"rt"; then
20008 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20009 ac_has_sched_yield=yes
20010 fi
20011 ;;
20012 *)
20013 ac_has_sched_yield=yes
20014 ;;
20015 esac
20016
20017 for ac_header in unistd.h
20018 do :
20019 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20020 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20021 cat >>confdefs.h <<_ACEOF
20022 #define HAVE_UNISTD_H 1
20023 _ACEOF
20024 ac_has_unistd_h=yes
20025 else
20026 ac_has_unistd_h=no
20027 fi
20028
20029 done
20030
20031
20032 if test x"$ac_has_unistd_h" = x"yes"; then
20033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20034 $as_echo_n "checking for monotonic clock... " >&6; }
20035 if test x$gcc_no_link = xyes; then
20036 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20037 fi
20038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20039 /* end confdefs.h. */
20040 #include <unistd.h>
20041 #include <time.h>
20042
20043 int
20044 main ()
20045 {
20046 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20047 timespec tp;
20048 #endif
20049 clock_gettime(CLOCK_MONOTONIC, &tp);
20050
20051 ;
20052 return 0;
20053 }
20054 _ACEOF
20055 if ac_fn_cxx_try_link "$LINENO"; then :
20056 ac_has_clock_monotonic=yes
20057 else
20058 ac_has_clock_monotonic=no
20059 fi
20060 rm -f core conftest.err conftest.$ac_objext \
20061 conftest$ac_exeext conftest.$ac_ext
20062
20063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20064 $as_echo "$ac_has_clock_monotonic" >&6; }
20065
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20067 $as_echo_n "checking for realtime clock... " >&6; }
20068 if test x$gcc_no_link = xyes; then
20069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20070 fi
20071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20072 /* end confdefs.h. */
20073 #include <unistd.h>
20074 #include <time.h>
20075
20076 int
20077 main ()
20078 {
20079 #if _POSIX_TIMERS > 0
20080 timespec tp;
20081 #endif
20082 clock_gettime(CLOCK_REALTIME, &tp);
20083
20084 ;
20085 return 0;
20086 }
20087 _ACEOF
20088 if ac_fn_cxx_try_link "$LINENO"; then :
20089 ac_has_clock_realtime=yes
20090 else
20091 ac_has_clock_realtime=no
20092 fi
20093 rm -f core conftest.err conftest.$ac_objext \
20094 conftest$ac_exeext conftest.$ac_ext
20095
20096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20097 $as_echo "$ac_has_clock_realtime" >&6; }
20098
20099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20100 $as_echo_n "checking for nanosleep... " >&6; }
20101 if test x$gcc_no_link = xyes; then
20102 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20103 fi
20104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20105 /* end confdefs.h. */
20106 #include <unistd.h>
20107 #include <time.h>
20108
20109 int
20110 main ()
20111 {
20112 #if _POSIX_TIMERS > 0
20113 timespec tp;
20114 #endif
20115 nanosleep(&tp, 0);
20116
20117 ;
20118 return 0;
20119 }
20120 _ACEOF
20121 if ac_fn_cxx_try_link "$LINENO"; then :
20122 ac_has_nanosleep=yes
20123 else
20124 ac_has_nanosleep=no
20125 fi
20126 rm -f core conftest.err conftest.$ac_objext \
20127 conftest$ac_exeext conftest.$ac_ext
20128
20129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20130 $as_echo "$ac_has_nanosleep" >&6; }
20131 fi
20132 fi
20133
20134 if test x"$ac_has_clock_monotonic" != x"yes"; then
20135 case ${target_os} in
20136 linux*)
20137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20138 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20140 /* end confdefs.h. */
20141 #include <unistd.h>
20142 #include <time.h>
20143 #include <sys/syscall.h>
20144
20145 int
20146 main ()
20147 {
20148 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20149 timespec tp;
20150 #endif
20151 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20152 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20153
20154 ;
20155 return 0;
20156 }
20157 _ACEOF
20158 if ac_fn_cxx_try_compile "$LINENO"; then :
20159 ac_has_clock_monotonic_syscall=yes
20160 else
20161 ac_has_clock_monotonic_syscall=no
20162 fi
20163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20165 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20166 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20167
20168 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20169
20170 ac_has_clock_monotonic=yes
20171 ac_has_clock_realtime=yes
20172 fi;;
20173 esac
20174 fi
20175
20176 if test x"$ac_has_clock_monotonic" = x"yes"; then
20177
20178 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20179
20180 fi
20181
20182 if test x"$ac_has_clock_realtime" = x"yes"; then
20183
20184 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20185
20186 fi
20187
20188 if test x"$ac_has_sched_yield" = x"yes"; then
20189
20190 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20191
20192 fi
20193
20194 if test x"$ac_has_nanosleep" = x"yes"; then
20195
20196 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20197
20198 else
20199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20200 $as_echo_n "checking for sleep... " >&6; }
20201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20202 /* end confdefs.h. */
20203 #include <unistd.h>
20204 int
20205 main ()
20206 {
20207 sleep(1)
20208 ;
20209 return 0;
20210 }
20211 _ACEOF
20212 if ac_fn_cxx_try_compile "$LINENO"; then :
20213 ac_has_sleep=yes
20214 else
20215 ac_has_sleep=no
20216 fi
20217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20218 if test x"$ac_has_sleep" = x"yes"; then
20219
20220 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20221
20222 fi
20223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20224 $as_echo "$ac_has_sleep" >&6; }
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20226 $as_echo_n "checking for usleep... " >&6; }
20227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20229 #include <unistd.h>
20230 int
20231 main ()
20232 {
20233 sleep(1);
20234 usleep(100);
20235 ;
20236 return 0;
20237 }
20238 _ACEOF
20239 if ac_fn_cxx_try_compile "$LINENO"; then :
20240 ac_has_usleep=yes
20241 else
20242 ac_has_usleep=no
20243 fi
20244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20245 if test x"$ac_has_usleep" = x"yes"; then
20246
20247 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20248
20249 fi
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20251 $as_echo "$ac_has_usleep" >&6; }
20252 fi
20253
20254 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20256 $as_echo_n "checking for Sleep... " >&6; }
20257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20258 /* end confdefs.h. */
20259 #include <windows.h>
20260 int
20261 main ()
20262 {
20263 Sleep(1)
20264 ;
20265 return 0;
20266 }
20267 _ACEOF
20268 if ac_fn_cxx_try_compile "$LINENO"; then :
20269 ac_has_win32_sleep=yes
20270 else
20271 ac_has_win32_sleep=no
20272 fi
20273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20274 if test x"$ac_has_win32_sleep" = x"yes"; then
20275
20276 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20277
20278 fi
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20280 $as_echo "$ac_has_win32_sleep" >&6; }
20281 fi
20282
20283
20284
20285 CXXFLAGS="$ac_save_CXXFLAGS"
20286 LIBS="$ac_save_LIBS"
20287 ac_ext=c
20288 ac_cpp='$CPP $CPPFLAGS'
20289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20292
20293
20294
20295 # Check for tmpnam which is obsolescent in POSIX.1-2008
20296
20297 ac_ext=cpp
20298 ac_cpp='$CXXCPP $CPPFLAGS'
20299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20302
20303 ac_save_CXXFLAGS="$CXXFLAGS"
20304 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20306 $as_echo_n "checking for tmpnam... " >&6; }
20307 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20308 $as_echo_n "(cached) " >&6
20309 else
20310 if test x$gcc_no_link = xyes; then
20311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h. */
20313 #include <stdio.h>
20314 int
20315 main ()
20316 {
20317 char *tmp = tmpnam(NULL);
20318 ;
20319 return 0;
20320 }
20321 _ACEOF
20322 if ac_fn_cxx_try_compile "$LINENO"; then :
20323 glibcxx_cv_TMPNAM=yes
20324 else
20325 glibcxx_cv_TMPNAM=no
20326 fi
20327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20328 else
20329 if test x$gcc_no_link = xyes; then
20330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20331 fi
20332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20333 /* end confdefs.h. */
20334 #include <stdio.h>
20335 int
20336 main ()
20337 {
20338 char *tmp = tmpnam(NULL);
20339 ;
20340 return 0;
20341 }
20342 _ACEOF
20343 if ac_fn_cxx_try_link "$LINENO"; then :
20344 glibcxx_cv_TMPNAM=yes
20345 else
20346 glibcxx_cv_TMPNAM=no
20347 fi
20348 rm -f core conftest.err conftest.$ac_objext \
20349 conftest$ac_exeext conftest.$ac_ext
20350 fi
20351
20352 fi
20353
20354 if test $glibcxx_cv_TMPNAM = yes; then
20355
20356 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20357
20358 fi
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20360 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20361 CXXFLAGS="$ac_save_CXXFLAGS"
20362 ac_ext=c
20363 ac_cpp='$CPP $CPPFLAGS'
20364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20367
20368
20369
20370
20371 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20372 if test "x$ac_cv_header_locale_h" = x""yes; then :
20373
20374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20375 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20376 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20377 $as_echo_n "(cached) " >&6
20378 else
20379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20380 /* end confdefs.h. */
20381 #include <locale.h>
20382 int
20383 main ()
20384 {
20385 return LC_MESSAGES
20386 ;
20387 return 0;
20388 }
20389 _ACEOF
20390 if ac_fn_c_try_compile "$LINENO"; then :
20391 ac_cv_val_LC_MESSAGES=yes
20392 else
20393 ac_cv_val_LC_MESSAGES=no
20394 fi
20395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20396 fi
20397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20398 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20399 if test $ac_cv_val_LC_MESSAGES = yes; then
20400
20401 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20402
20403 fi
20404
20405 fi
20406
20407
20408
20409
20410 # For hardware_concurrency
20411 for ac_header in sys/sysinfo.h
20412 do :
20413 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20414 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20415 cat >>confdefs.h <<_ACEOF
20416 #define HAVE_SYS_SYSINFO_H 1
20417 _ACEOF
20418
20419 fi
20420
20421 done
20422
20423
20424
20425
20426 ac_ext=cpp
20427 ac_cpp='$CXXCPP $CPPFLAGS'
20428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20431
20432 ac_save_CXXFLAGS="$CXXFLAGS"
20433 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20434
20435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20436 $as_echo_n "checking for get_nprocs... " >&6; }
20437 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20438 $as_echo_n "(cached) " >&6
20439 else
20440
20441 if test x$gcc_no_link = xyes; then
20442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20443 /* end confdefs.h. */
20444 #include <sys/sysinfo.h>
20445 int
20446 main ()
20447 {
20448 int n = get_nprocs();
20449 ;
20450 return 0;
20451 }
20452 _ACEOF
20453 if ac_fn_cxx_try_compile "$LINENO"; then :
20454 glibcxx_cv_GET_NPROCS=yes
20455 else
20456 glibcxx_cv_GET_NPROCS=no
20457 fi
20458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20459 else
20460 if test x$gcc_no_link = xyes; then
20461 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20462 fi
20463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20464 /* end confdefs.h. */
20465 #include <sys/sysinfo.h>
20466 int
20467 main ()
20468 {
20469 int n = get_nprocs();
20470 ;
20471 return 0;
20472 }
20473 _ACEOF
20474 if ac_fn_cxx_try_link "$LINENO"; then :
20475 glibcxx_cv_GET_NPROCS=yes
20476 else
20477 glibcxx_cv_GET_NPROCS=no
20478 fi
20479 rm -f core conftest.err conftest.$ac_objext \
20480 conftest$ac_exeext conftest.$ac_ext
20481 fi
20482
20483 fi
20484
20485 if test $glibcxx_cv_GET_NPROCS = yes; then
20486
20487 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20488
20489 fi
20490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20491 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20492
20493 CXXFLAGS="$ac_save_CXXFLAGS"
20494 ac_ext=c
20495 ac_cpp='$CPP $CPPFLAGS'
20496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20499
20500
20501 for ac_header in unistd.h
20502 do :
20503 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20504 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20505 cat >>confdefs.h <<_ACEOF
20506 #define HAVE_UNISTD_H 1
20507 _ACEOF
20508
20509 fi
20510
20511 done
20512
20513
20514
20515
20516 ac_ext=cpp
20517 ac_cpp='$CXXCPP $CPPFLAGS'
20518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20521
20522 ac_save_CXXFLAGS="$CXXFLAGS"
20523 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20524
20525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20526 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20527 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20528 $as_echo_n "(cached) " >&6
20529 else
20530
20531 if test x$gcc_no_link = xyes; then
20532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20533 /* end confdefs.h. */
20534 #include <unistd.h>
20535 int
20536 main ()
20537 {
20538 int n = sysconf(_SC_NPROCESSORS_ONLN);
20539 ;
20540 return 0;
20541 }
20542 _ACEOF
20543 if ac_fn_cxx_try_compile "$LINENO"; then :
20544 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20545 else
20546 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20547 fi
20548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20549 else
20550 if test x$gcc_no_link = xyes; then
20551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20552 fi
20553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20554 /* end confdefs.h. */
20555 #include <unistd.h>
20556 int
20557 main ()
20558 {
20559 int n = sysconf(_SC_NPROCESSORS_ONLN);
20560 ;
20561 return 0;
20562 }
20563 _ACEOF
20564 if ac_fn_cxx_try_link "$LINENO"; then :
20565 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20566 else
20567 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20568 fi
20569 rm -f core conftest.err conftest.$ac_objext \
20570 conftest$ac_exeext conftest.$ac_ext
20571 fi
20572
20573 fi
20574
20575 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20576
20577 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20578
20579 fi
20580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20581 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20582
20583 CXXFLAGS="$ac_save_CXXFLAGS"
20584 ac_ext=c
20585 ac_cpp='$CPP $CPPFLAGS'
20586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20589
20590
20591
20592
20593
20594 ac_ext=cpp
20595 ac_cpp='$CXXCPP $CPPFLAGS'
20596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20599
20600 ac_save_CXXFLAGS="$CXXFLAGS"
20601 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20602
20603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20604 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20605 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20606 $as_echo_n "(cached) " >&6
20607 else
20608
20609 if test x$gcc_no_link = xyes; then
20610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20611 /* end confdefs.h. */
20612 #include <unistd.h>
20613 int
20614 main ()
20615 {
20616 int n = sysconf(_SC_NPROC_ONLN);
20617 ;
20618 return 0;
20619 }
20620 _ACEOF
20621 if ac_fn_cxx_try_compile "$LINENO"; then :
20622 glibcxx_cv_SC_NPROC_ONLN=yes
20623 else
20624 glibcxx_cv_SC_NPROC_ONLN=no
20625 fi
20626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627 else
20628 if test x$gcc_no_link = xyes; then
20629 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20630 fi
20631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h. */
20633 #include <unistd.h>
20634 int
20635 main ()
20636 {
20637 int n = sysconf(_SC_NPROC_ONLN);
20638 ;
20639 return 0;
20640 }
20641 _ACEOF
20642 if ac_fn_cxx_try_link "$LINENO"; then :
20643 glibcxx_cv_SC_NPROC_ONLN=yes
20644 else
20645 glibcxx_cv_SC_NPROC_ONLN=no
20646 fi
20647 rm -f core conftest.err conftest.$ac_objext \
20648 conftest$ac_exeext conftest.$ac_ext
20649 fi
20650
20651 fi
20652
20653 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20654
20655 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20656
20657 fi
20658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20659 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20660
20661 CXXFLAGS="$ac_save_CXXFLAGS"
20662 ac_ext=c
20663 ac_cpp='$CPP $CPPFLAGS'
20664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20667
20668
20669
20670
20671
20672 ac_ext=cpp
20673 ac_cpp='$CXXCPP $CPPFLAGS'
20674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20677
20678 ac_save_CXXFLAGS="$CXXFLAGS"
20679 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20680
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20682 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20683 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20684 $as_echo_n "(cached) " >&6
20685 else
20686
20687 if test x$gcc_no_link = xyes; then
20688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20689 /* end confdefs.h. */
20690 #include <pthread.h>
20691 int
20692 main ()
20693 {
20694 int n = pthread_num_processors_np();
20695 ;
20696 return 0;
20697 }
20698 _ACEOF
20699 if ac_fn_cxx_try_compile "$LINENO"; then :
20700 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20701 else
20702 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20703 fi
20704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20705 else
20706 if test x$gcc_no_link = xyes; then
20707 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20708 fi
20709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20710 /* end confdefs.h. */
20711 #include <pthread.h>
20712 int
20713 main ()
20714 {
20715 int n = pthread_num_processors_np();
20716 ;
20717 return 0;
20718 }
20719 _ACEOF
20720 if ac_fn_cxx_try_link "$LINENO"; then :
20721 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20722 else
20723 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20724 fi
20725 rm -f core conftest.err conftest.$ac_objext \
20726 conftest$ac_exeext conftest.$ac_ext
20727 fi
20728
20729 fi
20730
20731 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20732
20733 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20734
20735 fi
20736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20737 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20738
20739 CXXFLAGS="$ac_save_CXXFLAGS"
20740 ac_ext=c
20741 ac_cpp='$CPP $CPPFLAGS'
20742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20745
20746
20747
20748
20749
20750 ac_ext=cpp
20751 ac_cpp='$CXXCPP $CPPFLAGS'
20752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20755
20756 ac_save_CXXFLAGS="$CXXFLAGS"
20757 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20758
20759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20760 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20761 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20762 $as_echo_n "(cached) " >&6
20763 else
20764
20765 if test x$gcc_no_link = xyes; then
20766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20767 /* end confdefs.h. */
20768
20769 #include <stddef.h>
20770 #include <sys/sysctl.h>
20771
20772 int
20773 main ()
20774 {
20775
20776 int count;
20777 size_t size = sizeof(count);
20778 int mib[] = { CTL_HW, HW_NCPU };
20779 sysctl(mib, 2, &count, &size, NULL, 0);
20780
20781 ;
20782 return 0;
20783 }
20784 _ACEOF
20785 if ac_fn_cxx_try_compile "$LINENO"; then :
20786 glibcxx_cv_SYSCTL_HW_NCPU=yes
20787 else
20788 glibcxx_cv_SYSCTL_HW_NCPU=no
20789 fi
20790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20791 else
20792 if test x$gcc_no_link = xyes; then
20793 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20794 fi
20795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20796 /* end confdefs.h. */
20797
20798 #include <stddef.h>
20799 #include <sys/sysctl.h>
20800
20801 int
20802 main ()
20803 {
20804
20805 int count;
20806 size_t size = sizeof(count);
20807 int mib[] = { CTL_HW, HW_NCPU };
20808 sysctl(mib, 2, &count, &size, NULL, 0);
20809
20810 ;
20811 return 0;
20812 }
20813 _ACEOF
20814 if ac_fn_cxx_try_link "$LINENO"; then :
20815 glibcxx_cv_SYSCTL_HW_NCPU=yes
20816 else
20817 glibcxx_cv_SYSCTL_HW_NCPU=no
20818 fi
20819 rm -f core conftest.err conftest.$ac_objext \
20820 conftest$ac_exeext conftest.$ac_ext
20821 fi
20822
20823 fi
20824
20825 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20826
20827 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20828
20829 fi
20830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20831 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20832
20833 CXXFLAGS="$ac_save_CXXFLAGS"
20834 ac_ext=c
20835 ac_cpp='$CPP $CPPFLAGS'
20836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20839
20840
20841
20842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20843 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20844 # Note that this test has to be run with the C language.
20845 # Otherwise, sdt.h will try to include some headers from
20846 # libstdc++ itself.
20847
20848 ac_ext=c
20849 ac_cpp='$CPP $CPPFLAGS'
20850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20853
20854 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20855 $as_echo_n "(cached) " >&6
20856 else
20857
20858 # Because we have to run the test in C, we use grep rather
20859 # than the compiler to check for the bug. The bug is that
20860 # were strings without trailing whitespace, causing g++
20861 # to look for operator"". The pattern searches for the fixed
20862 # output.
20863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20864 /* end confdefs.h. */
20865
20866 #include <sys/sdt.h>
20867 int f() { STAP_PROBE(hi, bob); }
20868
20869 _ACEOF
20870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20871 $EGREP " \",\" " >/dev/null 2>&1; then :
20872 glibcxx_cv_sys_sdt_h=yes
20873 else
20874 glibcxx_cv_sys_sdt_h=no
20875 fi
20876 rm -f conftest*
20877
20878
20879 fi
20880
20881 ac_ext=c
20882 ac_cpp='$CPP $CPPFLAGS'
20883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20886
20887 if test $glibcxx_cv_sys_sdt_h = yes; then
20888
20889 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20890
20891 fi
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20893 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20894
20895
20896 # Check for available headers.
20897 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20898 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20899 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20900 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20901 wchar.h wctype.h
20902 do :
20903 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20904 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20905 eval as_val=\$$as_ac_Header
20906 if test "x$as_val" = x""yes; then :
20907 cat >>confdefs.h <<_ACEOF
20908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20909 _ACEOF
20910
20911 fi
20912
20913 done
20914
20915
20916 # Only do link tests if native. Else, hardcode.
20917 if $GLIBCXX_IS_NATIVE; then
20918
20919 # We can do more elaborate tests that assume a working linker.
20920 CANADIAN=no
20921
20922
20923
20924 # Check whether --with-gnu-ld was given.
20925 if test "${with_gnu_ld+set}" = set; then :
20926 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20927 else
20928 with_gnu_ld=no
20929 fi
20930
20931 ac_prog=ld
20932 if test "$GCC" = yes; then
20933 # Check if gcc -print-prog-name=ld gives a path.
20934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20935 $as_echo_n "checking for ld used by $CC... " >&6; }
20936 case $host in
20937 *-*-mingw*)
20938 # gcc leaves a trailing carriage return which upsets mingw
20939 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20940 *)
20941 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20942 esac
20943 case $ac_prog in
20944 # Accept absolute paths.
20945 [\\/]* | ?:[\\/]*)
20946 re_direlt='/[^/][^/]*/\.\./'
20947 # Canonicalize the pathname of ld
20948 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20949 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20950 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20951 done
20952 test -z "$LD" && LD="$ac_prog"
20953 ;;
20954 "")
20955 # If it fails, then pretend we aren't using GCC.
20956 ac_prog=ld
20957 ;;
20958 *)
20959 # If it is relative, then search for the first ld in PATH.
20960 with_gnu_ld=unknown
20961 ;;
20962 esac
20963 elif test "$with_gnu_ld" = yes; then
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20965 $as_echo_n "checking for GNU ld... " >&6; }
20966 else
20967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20968 $as_echo_n "checking for non-GNU ld... " >&6; }
20969 fi
20970 if test "${lt_cv_path_LD+set}" = set; then :
20971 $as_echo_n "(cached) " >&6
20972 else
20973 if test -z "$LD"; then
20974 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20975 for ac_dir in $PATH; do
20976 IFS="$lt_save_ifs"
20977 test -z "$ac_dir" && ac_dir=.
20978 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20979 lt_cv_path_LD="$ac_dir/$ac_prog"
20980 # Check to see if the program is GNU ld. I'd rather use --version,
20981 # but apparently some variants of GNU ld only accept -v.
20982 # Break only if it was the GNU/non-GNU ld that we prefer.
20983 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20984 *GNU* | *'with BFD'*)
20985 test "$with_gnu_ld" != no && break
20986 ;;
20987 *)
20988 test "$with_gnu_ld" != yes && break
20989 ;;
20990 esac
20991 fi
20992 done
20993 IFS="$lt_save_ifs"
20994 else
20995 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20996 fi
20997 fi
20998
20999 LD="$lt_cv_path_LD"
21000 if test -n "$LD"; then
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21002 $as_echo "$LD" >&6; }
21003 else
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21005 $as_echo "no" >&6; }
21006 fi
21007 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21009 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21010 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21011 $as_echo_n "(cached) " >&6
21012 else
21013 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21014 case `$LD -v 2>&1 </dev/null` in
21015 *GNU* | *'with BFD'*)
21016 lt_cv_prog_gnu_ld=yes
21017 ;;
21018 *)
21019 lt_cv_prog_gnu_ld=no
21020 ;;
21021 esac
21022 fi
21023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21024 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21025 with_gnu_ld=$lt_cv_prog_gnu_ld
21026
21027
21028
21029
21030
21031
21032
21033 # If we're not using GNU ld, then there's no point in even trying these
21034 # tests. Check for that first. We should have already tested for gld
21035 # by now (in libtool), but require it now just to be safe...
21036 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21037 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21038
21039
21040
21041 # The name set by libtool depends on the version of libtool. Shame on us
21042 # for depending on an impl detail, but c'est la vie. Older versions used
21043 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21044 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21045 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21046 # set (hence we're using an older libtool), then set it.
21047 if test x${with_gnu_ld+set} != xset; then
21048 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21049 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21050 with_gnu_ld=no
21051 else
21052 with_gnu_ld=$ac_cv_prog_gnu_ld
21053 fi
21054 fi
21055
21056 # Start by getting the version number. I think the libtool test already
21057 # does some of this, but throws away the result.
21058 glibcxx_ld_is_gold=no
21059 if test x"$with_gnu_ld" = x"yes"; then
21060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21061 $as_echo_n "checking for ld version... " >&6; }
21062
21063 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21064 glibcxx_ld_is_gold=yes
21065 fi
21066 ldver=`$LD --version 2>/dev/null |
21067 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'`
21068
21069 glibcxx_gnu_ld_version=`echo $ldver | \
21070 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21072 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21073 fi
21074
21075 # Set --gc-sections.
21076 glibcxx_have_gc_sections=no
21077 if test "$glibcxx_ld_is_gold" = "yes"; then
21078 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21079 glibcxx_have_gc_sections=yes
21080 fi
21081 else
21082 glibcxx_gcsections_min_ld=21602
21083 if test x"$with_gnu_ld" = x"yes" &&
21084 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21085 glibcxx_have_gc_sections=yes
21086 fi
21087 fi
21088 if test "$glibcxx_have_gc_sections" = "yes"; then
21089 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21090 # NB: This flag only works reliably after 2.16.1. Configure tests
21091 # for this are difficult, so hard wire a value that should work.
21092
21093 ac_test_CFLAGS="${CFLAGS+set}"
21094 ac_save_CFLAGS="$CFLAGS"
21095 CFLAGS='-Wl,--gc-sections'
21096
21097 # Check for -Wl,--gc-sections
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21099 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21100 if test x$gcc_no_link = xyes; then
21101 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21102 fi
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 int one(void) { return 1; }
21106 int two(void) { return 2; }
21107
21108 int
21109 main ()
21110 {
21111 two();
21112 ;
21113 return 0;
21114 }
21115 _ACEOF
21116 if ac_fn_c_try_link "$LINENO"; then :
21117 ac_gcsections=yes
21118 else
21119 ac_gcsections=no
21120 fi
21121 rm -f core conftest.err conftest.$ac_objext \
21122 conftest$ac_exeext conftest.$ac_ext
21123 if test "$ac_gcsections" = "yes"; then
21124 rm -f conftest.c
21125 touch conftest.c
21126 if $CC -c conftest.c; then
21127 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21128 grep "Warning: gc-sections option ignored" > /dev/null; then
21129 ac_gcsections=no
21130 fi
21131 fi
21132 rm -f conftest.c conftest.o conftest
21133 fi
21134 if test "$ac_gcsections" = "yes"; then
21135 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21136 fi
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21138 $as_echo "$ac_gcsections" >&6; }
21139
21140 if test "$ac_test_CFLAGS" = set; then
21141 CFLAGS="$ac_save_CFLAGS"
21142 else
21143 # this is the suspicious part
21144 CFLAGS=''
21145 fi
21146 fi
21147
21148 # Set -z,relro.
21149 # Note this is only for shared objects.
21150 ac_ld_relro=no
21151 if test x"$with_gnu_ld" = x"yes"; then
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21153 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21154 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21155 if test -n "$cxx_z_relo"; then
21156 OPT_LDFLAGS="-Wl,-z,relro"
21157 ac_ld_relro=yes
21158 fi
21159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21160 $as_echo "$ac_ld_relro" >&6; }
21161 fi
21162
21163 # Set linker optimization flags.
21164 if test x"$with_gnu_ld" = x"yes"; then
21165 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21166 fi
21167
21168
21169
21170
21171
21172 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21173 ac_save_CXXFLAGS="$CXXFLAGS"
21174 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21175
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21177 $as_echo_n "checking for sin in -lm... " >&6; }
21178 if test "${ac_cv_lib_m_sin+set}" = set; then :
21179 $as_echo_n "(cached) " >&6
21180 else
21181 ac_check_lib_save_LIBS=$LIBS
21182 LIBS="-lm $LIBS"
21183 if test x$gcc_no_link = xyes; then
21184 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21185 fi
21186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21187 /* end confdefs.h. */
21188
21189 /* Override any GCC internal prototype to avoid an error.
21190 Use char because int might match the return type of a GCC
21191 builtin and then its argument prototype would still apply. */
21192 #ifdef __cplusplus
21193 extern "C"
21194 #endif
21195 char sin ();
21196 int
21197 main ()
21198 {
21199 return sin ();
21200 ;
21201 return 0;
21202 }
21203 _ACEOF
21204 if ac_fn_c_try_link "$LINENO"; then :
21205 ac_cv_lib_m_sin=yes
21206 else
21207 ac_cv_lib_m_sin=no
21208 fi
21209 rm -f core conftest.err conftest.$ac_objext \
21210 conftest$ac_exeext conftest.$ac_ext
21211 LIBS=$ac_check_lib_save_LIBS
21212 fi
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21214 $as_echo "$ac_cv_lib_m_sin" >&6; }
21215 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21216 libm="-lm"
21217 fi
21218
21219 ac_save_LIBS="$LIBS"
21220 LIBS="$LIBS $libm"
21221
21222
21223
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21225 $as_echo_n "checking for isinf declaration... " >&6; }
21226 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21227 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21228 $as_echo_n "(cached) " >&6
21229 else
21230
21231
21232 ac_ext=cpp
21233 ac_cpp='$CXXCPP $CPPFLAGS'
21234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21237
21238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h. */
21240 #include <math.h>
21241 #ifdef HAVE_IEEEFP_H
21242 #include <ieeefp.h>
21243 #endif
21244
21245 int
21246 main ()
21247 {
21248 isinf(0);
21249 ;
21250 return 0;
21251 }
21252 _ACEOF
21253 if ac_fn_cxx_try_compile "$LINENO"; then :
21254 glibcxx_cv_func_isinf_use=yes
21255 else
21256 glibcxx_cv_func_isinf_use=no
21257 fi
21258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21259 ac_ext=c
21260 ac_cpp='$CPP $CPPFLAGS'
21261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21264
21265
21266 fi
21267
21268 fi
21269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21270 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21271
21272 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21273 for ac_func in isinf
21274 do :
21275 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21276 if test "x$ac_cv_func_isinf" = x""yes; then :
21277 cat >>confdefs.h <<_ACEOF
21278 #define HAVE_ISINF 1
21279 _ACEOF
21280
21281 fi
21282 done
21283
21284 else
21285
21286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21287 $as_echo_n "checking for _isinf declaration... " >&6; }
21288 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21289 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21290 $as_echo_n "(cached) " >&6
21291 else
21292
21293
21294 ac_ext=cpp
21295 ac_cpp='$CXXCPP $CPPFLAGS'
21296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21299
21300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21301 /* end confdefs.h. */
21302 #include <math.h>
21303 #ifdef HAVE_IEEEFP_H
21304 #include <ieeefp.h>
21305 #endif
21306
21307 int
21308 main ()
21309 {
21310 _isinf(0);
21311 ;
21312 return 0;
21313 }
21314 _ACEOF
21315 if ac_fn_cxx_try_compile "$LINENO"; then :
21316 glibcxx_cv_func__isinf_use=yes
21317 else
21318 glibcxx_cv_func__isinf_use=no
21319 fi
21320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21321 ac_ext=c
21322 ac_cpp='$CPP $CPPFLAGS'
21323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21326
21327
21328 fi
21329
21330 fi
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21332 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21333
21334 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21335 for ac_func in _isinf
21336 do :
21337 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21338 if test "x$ac_cv_func__isinf" = x""yes; then :
21339 cat >>confdefs.h <<_ACEOF
21340 #define HAVE__ISINF 1
21341 _ACEOF
21342
21343 fi
21344 done
21345
21346 fi
21347 fi
21348
21349
21350
21351
21352
21353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21354 $as_echo_n "checking for isnan declaration... " >&6; }
21355 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21356 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21357 $as_echo_n "(cached) " >&6
21358 else
21359
21360
21361 ac_ext=cpp
21362 ac_cpp='$CXXCPP $CPPFLAGS'
21363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21366
21367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21368 /* end confdefs.h. */
21369 #include <math.h>
21370 #ifdef HAVE_IEEEFP_H
21371 #include <ieeefp.h>
21372 #endif
21373
21374 int
21375 main ()
21376 {
21377 isnan(0);
21378 ;
21379 return 0;
21380 }
21381 _ACEOF
21382 if ac_fn_cxx_try_compile "$LINENO"; then :
21383 glibcxx_cv_func_isnan_use=yes
21384 else
21385 glibcxx_cv_func_isnan_use=no
21386 fi
21387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21388 ac_ext=c
21389 ac_cpp='$CPP $CPPFLAGS'
21390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21393
21394
21395 fi
21396
21397 fi
21398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21399 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21400
21401 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21402 for ac_func in isnan
21403 do :
21404 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21405 if test "x$ac_cv_func_isnan" = x""yes; then :
21406 cat >>confdefs.h <<_ACEOF
21407 #define HAVE_ISNAN 1
21408 _ACEOF
21409
21410 fi
21411 done
21412
21413 else
21414
21415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21416 $as_echo_n "checking for _isnan declaration... " >&6; }
21417 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21418 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21419 $as_echo_n "(cached) " >&6
21420 else
21421
21422
21423 ac_ext=cpp
21424 ac_cpp='$CXXCPP $CPPFLAGS'
21425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21428
21429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21430 /* end confdefs.h. */
21431 #include <math.h>
21432 #ifdef HAVE_IEEEFP_H
21433 #include <ieeefp.h>
21434 #endif
21435
21436 int
21437 main ()
21438 {
21439 _isnan(0);
21440 ;
21441 return 0;
21442 }
21443 _ACEOF
21444 if ac_fn_cxx_try_compile "$LINENO"; then :
21445 glibcxx_cv_func__isnan_use=yes
21446 else
21447 glibcxx_cv_func__isnan_use=no
21448 fi
21449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 ac_ext=c
21451 ac_cpp='$CPP $CPPFLAGS'
21452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21455
21456
21457 fi
21458
21459 fi
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21461 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21462
21463 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21464 for ac_func in _isnan
21465 do :
21466 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21467 if test "x$ac_cv_func__isnan" = x""yes; then :
21468 cat >>confdefs.h <<_ACEOF
21469 #define HAVE__ISNAN 1
21470 _ACEOF
21471
21472 fi
21473 done
21474
21475 fi
21476 fi
21477
21478
21479
21480
21481
21482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21483 $as_echo_n "checking for finite declaration... " >&6; }
21484 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21485 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21486 $as_echo_n "(cached) " >&6
21487 else
21488
21489
21490 ac_ext=cpp
21491 ac_cpp='$CXXCPP $CPPFLAGS'
21492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21495
21496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21497 /* end confdefs.h. */
21498 #include <math.h>
21499 #ifdef HAVE_IEEEFP_H
21500 #include <ieeefp.h>
21501 #endif
21502
21503 int
21504 main ()
21505 {
21506 finite(0);
21507 ;
21508 return 0;
21509 }
21510 _ACEOF
21511 if ac_fn_cxx_try_compile "$LINENO"; then :
21512 glibcxx_cv_func_finite_use=yes
21513 else
21514 glibcxx_cv_func_finite_use=no
21515 fi
21516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21517 ac_ext=c
21518 ac_cpp='$CPP $CPPFLAGS'
21519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21522
21523
21524 fi
21525
21526 fi
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21528 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21529
21530 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21531 for ac_func in finite
21532 do :
21533 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21534 if test "x$ac_cv_func_finite" = x""yes; then :
21535 cat >>confdefs.h <<_ACEOF
21536 #define HAVE_FINITE 1
21537 _ACEOF
21538
21539 fi
21540 done
21541
21542 else
21543
21544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21545 $as_echo_n "checking for _finite declaration... " >&6; }
21546 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21547 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21548 $as_echo_n "(cached) " >&6
21549 else
21550
21551
21552 ac_ext=cpp
21553 ac_cpp='$CXXCPP $CPPFLAGS'
21554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21557
21558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21559 /* end confdefs.h. */
21560 #include <math.h>
21561 #ifdef HAVE_IEEEFP_H
21562 #include <ieeefp.h>
21563 #endif
21564
21565 int
21566 main ()
21567 {
21568 _finite(0);
21569 ;
21570 return 0;
21571 }
21572 _ACEOF
21573 if ac_fn_cxx_try_compile "$LINENO"; then :
21574 glibcxx_cv_func__finite_use=yes
21575 else
21576 glibcxx_cv_func__finite_use=no
21577 fi
21578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21579 ac_ext=c
21580 ac_cpp='$CPP $CPPFLAGS'
21581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21584
21585
21586 fi
21587
21588 fi
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21590 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21591
21592 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21593 for ac_func in _finite
21594 do :
21595 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21596 if test "x$ac_cv_func__finite" = x""yes; then :
21597 cat >>confdefs.h <<_ACEOF
21598 #define HAVE__FINITE 1
21599 _ACEOF
21600
21601 fi
21602 done
21603
21604 fi
21605 fi
21606
21607
21608
21609
21610
21611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21612 $as_echo_n "checking for sincos declaration... " >&6; }
21613 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21614 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21615 $as_echo_n "(cached) " >&6
21616 else
21617
21618
21619 ac_ext=cpp
21620 ac_cpp='$CXXCPP $CPPFLAGS'
21621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21624
21625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21626 /* end confdefs.h. */
21627 #include <math.h>
21628 int
21629 main ()
21630 {
21631 sincos(0, 0, 0);
21632 ;
21633 return 0;
21634 }
21635 _ACEOF
21636 if ac_fn_cxx_try_compile "$LINENO"; then :
21637 glibcxx_cv_func_sincos_use=yes
21638 else
21639 glibcxx_cv_func_sincos_use=no
21640 fi
21641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21642 ac_ext=c
21643 ac_cpp='$CPP $CPPFLAGS'
21644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21647
21648
21649 fi
21650
21651 fi
21652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21653 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21654
21655 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21656 for ac_func in sincos
21657 do :
21658 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21659 if test "x$ac_cv_func_sincos" = x""yes; then :
21660 cat >>confdefs.h <<_ACEOF
21661 #define HAVE_SINCOS 1
21662 _ACEOF
21663
21664 fi
21665 done
21666
21667 else
21668
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21670 $as_echo_n "checking for _sincos declaration... " >&6; }
21671 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21672 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21673 $as_echo_n "(cached) " >&6
21674 else
21675
21676
21677 ac_ext=cpp
21678 ac_cpp='$CXXCPP $CPPFLAGS'
21679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21682
21683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21684 /* end confdefs.h. */
21685 #include <math.h>
21686 int
21687 main ()
21688 {
21689 _sincos(0, 0, 0);
21690 ;
21691 return 0;
21692 }
21693 _ACEOF
21694 if ac_fn_cxx_try_compile "$LINENO"; then :
21695 glibcxx_cv_func__sincos_use=yes
21696 else
21697 glibcxx_cv_func__sincos_use=no
21698 fi
21699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21700 ac_ext=c
21701 ac_cpp='$CPP $CPPFLAGS'
21702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21705
21706
21707 fi
21708
21709 fi
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21711 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21712
21713 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21714 for ac_func in _sincos
21715 do :
21716 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21717 if test "x$ac_cv_func__sincos" = x""yes; then :
21718 cat >>confdefs.h <<_ACEOF
21719 #define HAVE__SINCOS 1
21720 _ACEOF
21721
21722 fi
21723 done
21724
21725 fi
21726 fi
21727
21728
21729
21730
21731
21732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21733 $as_echo_n "checking for fpclass declaration... " >&6; }
21734 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21735 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21736 $as_echo_n "(cached) " >&6
21737 else
21738
21739
21740 ac_ext=cpp
21741 ac_cpp='$CXXCPP $CPPFLAGS'
21742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21745
21746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21747 /* end confdefs.h. */
21748 #include <math.h>
21749 #ifdef HAVE_IEEEFP_H
21750 #include <ieeefp.h>
21751 #endif
21752
21753 int
21754 main ()
21755 {
21756 fpclass(0);
21757 ;
21758 return 0;
21759 }
21760 _ACEOF
21761 if ac_fn_cxx_try_compile "$LINENO"; then :
21762 glibcxx_cv_func_fpclass_use=yes
21763 else
21764 glibcxx_cv_func_fpclass_use=no
21765 fi
21766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21767 ac_ext=c
21768 ac_cpp='$CPP $CPPFLAGS'
21769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21772
21773
21774 fi
21775
21776 fi
21777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21778 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21779
21780 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21781 for ac_func in fpclass
21782 do :
21783 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21784 if test "x$ac_cv_func_fpclass" = x""yes; then :
21785 cat >>confdefs.h <<_ACEOF
21786 #define HAVE_FPCLASS 1
21787 _ACEOF
21788
21789 fi
21790 done
21791
21792 else
21793
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21795 $as_echo_n "checking for _fpclass declaration... " >&6; }
21796 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21797 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21798 $as_echo_n "(cached) " >&6
21799 else
21800
21801
21802 ac_ext=cpp
21803 ac_cpp='$CXXCPP $CPPFLAGS'
21804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21807
21808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21809 /* end confdefs.h. */
21810 #include <math.h>
21811 #ifdef HAVE_IEEEFP_H
21812 #include <ieeefp.h>
21813 #endif
21814
21815 int
21816 main ()
21817 {
21818 _fpclass(0);
21819 ;
21820 return 0;
21821 }
21822 _ACEOF
21823 if ac_fn_cxx_try_compile "$LINENO"; then :
21824 glibcxx_cv_func__fpclass_use=yes
21825 else
21826 glibcxx_cv_func__fpclass_use=no
21827 fi
21828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21829 ac_ext=c
21830 ac_cpp='$CPP $CPPFLAGS'
21831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21834
21835
21836 fi
21837
21838 fi
21839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21840 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21841
21842 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21843 for ac_func in _fpclass
21844 do :
21845 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21846 if test "x$ac_cv_func__fpclass" = x""yes; then :
21847 cat >>confdefs.h <<_ACEOF
21848 #define HAVE__FPCLASS 1
21849 _ACEOF
21850
21851 fi
21852 done
21853
21854 fi
21855 fi
21856
21857
21858
21859
21860
21861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21862 $as_echo_n "checking for qfpclass declaration... " >&6; }
21863 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21864 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21865 $as_echo_n "(cached) " >&6
21866 else
21867
21868
21869 ac_ext=cpp
21870 ac_cpp='$CXXCPP $CPPFLAGS'
21871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21874
21875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21876 /* end confdefs.h. */
21877 #include <math.h>
21878 #ifdef HAVE_IEEEFP_H
21879 #include <ieeefp.h>
21880 #endif
21881
21882 int
21883 main ()
21884 {
21885 qfpclass(0);
21886 ;
21887 return 0;
21888 }
21889 _ACEOF
21890 if ac_fn_cxx_try_compile "$LINENO"; then :
21891 glibcxx_cv_func_qfpclass_use=yes
21892 else
21893 glibcxx_cv_func_qfpclass_use=no
21894 fi
21895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21896 ac_ext=c
21897 ac_cpp='$CPP $CPPFLAGS'
21898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21901
21902
21903 fi
21904
21905 fi
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21907 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21908
21909 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21910 for ac_func in qfpclass
21911 do :
21912 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21913 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21914 cat >>confdefs.h <<_ACEOF
21915 #define HAVE_QFPCLASS 1
21916 _ACEOF
21917
21918 fi
21919 done
21920
21921 else
21922
21923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21924 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21925 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21926 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21927 $as_echo_n "(cached) " >&6
21928 else
21929
21930
21931 ac_ext=cpp
21932 ac_cpp='$CXXCPP $CPPFLAGS'
21933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21936
21937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21938 /* end confdefs.h. */
21939 #include <math.h>
21940 #ifdef HAVE_IEEEFP_H
21941 #include <ieeefp.h>
21942 #endif
21943
21944 int
21945 main ()
21946 {
21947 _qfpclass(0);
21948 ;
21949 return 0;
21950 }
21951 _ACEOF
21952 if ac_fn_cxx_try_compile "$LINENO"; then :
21953 glibcxx_cv_func__qfpclass_use=yes
21954 else
21955 glibcxx_cv_func__qfpclass_use=no
21956 fi
21957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21958 ac_ext=c
21959 ac_cpp='$CPP $CPPFLAGS'
21960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21963
21964
21965 fi
21966
21967 fi
21968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21969 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21970
21971 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21972 for ac_func in _qfpclass
21973 do :
21974 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21975 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21976 cat >>confdefs.h <<_ACEOF
21977 #define HAVE__QFPCLASS 1
21978 _ACEOF
21979
21980 fi
21981 done
21982
21983 fi
21984 fi
21985
21986
21987
21988
21989
21990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21991 $as_echo_n "checking for hypot declaration... " >&6; }
21992 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21993 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21994 $as_echo_n "(cached) " >&6
21995 else
21996
21997
21998 ac_ext=cpp
21999 ac_cpp='$CXXCPP $CPPFLAGS'
22000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22003
22004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22005 /* end confdefs.h. */
22006 #include <math.h>
22007 int
22008 main ()
22009 {
22010 hypot(0, 0);
22011 ;
22012 return 0;
22013 }
22014 _ACEOF
22015 if ac_fn_cxx_try_compile "$LINENO"; then :
22016 glibcxx_cv_func_hypot_use=yes
22017 else
22018 glibcxx_cv_func_hypot_use=no
22019 fi
22020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22021 ac_ext=c
22022 ac_cpp='$CPP $CPPFLAGS'
22023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22026
22027
22028 fi
22029
22030 fi
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22032 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22033
22034 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22035 for ac_func in hypot
22036 do :
22037 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22038 if test "x$ac_cv_func_hypot" = x""yes; then :
22039 cat >>confdefs.h <<_ACEOF
22040 #define HAVE_HYPOT 1
22041 _ACEOF
22042
22043 fi
22044 done
22045
22046 else
22047
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22049 $as_echo_n "checking for _hypot declaration... " >&6; }
22050 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22051 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22052 $as_echo_n "(cached) " >&6
22053 else
22054
22055
22056 ac_ext=cpp
22057 ac_cpp='$CXXCPP $CPPFLAGS'
22058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22061
22062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22063 /* end confdefs.h. */
22064 #include <math.h>
22065 int
22066 main ()
22067 {
22068 _hypot(0, 0);
22069 ;
22070 return 0;
22071 }
22072 _ACEOF
22073 if ac_fn_cxx_try_compile "$LINENO"; then :
22074 glibcxx_cv_func__hypot_use=yes
22075 else
22076 glibcxx_cv_func__hypot_use=no
22077 fi
22078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22079 ac_ext=c
22080 ac_cpp='$CPP $CPPFLAGS'
22081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22084
22085
22086 fi
22087
22088 fi
22089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22090 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22091
22092 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22093 for ac_func in _hypot
22094 do :
22095 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22096 if test "x$ac_cv_func__hypot" = x""yes; then :
22097 cat >>confdefs.h <<_ACEOF
22098 #define HAVE__HYPOT 1
22099 _ACEOF
22100
22101 fi
22102 done
22103
22104 fi
22105 fi
22106
22107
22108
22109
22110
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22112 $as_echo_n "checking for float trig functions... " >&6; }
22113 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22114 $as_echo_n "(cached) " >&6
22115 else
22116
22117
22118 ac_ext=cpp
22119 ac_cpp='$CXXCPP $CPPFLAGS'
22120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22123
22124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22125 /* end confdefs.h. */
22126 #include <math.h>
22127 int
22128 main ()
22129 {
22130 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22131 ;
22132 return 0;
22133 }
22134 _ACEOF
22135 if ac_fn_cxx_try_compile "$LINENO"; then :
22136 glibcxx_cv_func_float_trig_use=yes
22137 else
22138 glibcxx_cv_func_float_trig_use=no
22139 fi
22140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22141 ac_ext=c
22142 ac_cpp='$CPP $CPPFLAGS'
22143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22146
22147 fi
22148
22149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22150 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22151 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22152 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22153 do :
22154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22156 eval as_val=\$$as_ac_var
22157 if test "x$as_val" = x""yes; then :
22158 cat >>confdefs.h <<_ACEOF
22159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22160 _ACEOF
22161
22162 fi
22163 done
22164
22165 else
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22167 $as_echo_n "checking for _float trig functions... " >&6; }
22168 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22169 $as_echo_n "(cached) " >&6
22170 else
22171
22172
22173 ac_ext=cpp
22174 ac_cpp='$CXXCPP $CPPFLAGS'
22175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22178
22179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22180 /* end confdefs.h. */
22181 #include <math.h>
22182 int
22183 main ()
22184 {
22185 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22186 ;
22187 return 0;
22188 }
22189 _ACEOF
22190 if ac_fn_cxx_try_compile "$LINENO"; then :
22191 glibcxx_cv_func__float_trig_use=yes
22192 else
22193 glibcxx_cv_func__float_trig_use=no
22194 fi
22195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22196 ac_ext=c
22197 ac_cpp='$CPP $CPPFLAGS'
22198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22201
22202 fi
22203
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22205 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22206 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22207 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22208 do :
22209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22211 eval as_val=\$$as_ac_var
22212 if test "x$as_val" = x""yes; then :
22213 cat >>confdefs.h <<_ACEOF
22214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22215 _ACEOF
22216
22217 fi
22218 done
22219
22220 fi
22221 fi
22222
22223
22224
22225
22226
22227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22228 $as_echo_n "checking for float round functions... " >&6; }
22229 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22230 $as_echo_n "(cached) " >&6
22231 else
22232
22233
22234 ac_ext=cpp
22235 ac_cpp='$CXXCPP $CPPFLAGS'
22236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22239
22240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22241 /* end confdefs.h. */
22242 #include <math.h>
22243 int
22244 main ()
22245 {
22246 ceilf (0); floorf (0);
22247 ;
22248 return 0;
22249 }
22250 _ACEOF
22251 if ac_fn_cxx_try_compile "$LINENO"; then :
22252 glibcxx_cv_func_float_round_use=yes
22253 else
22254 glibcxx_cv_func_float_round_use=no
22255 fi
22256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22257 ac_ext=c
22258 ac_cpp='$CPP $CPPFLAGS'
22259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22262
22263 fi
22264
22265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22266 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22267 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22268 for ac_func in ceilf floorf
22269 do :
22270 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22272 eval as_val=\$$as_ac_var
22273 if test "x$as_val" = x""yes; then :
22274 cat >>confdefs.h <<_ACEOF
22275 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22276 _ACEOF
22277
22278 fi
22279 done
22280
22281 else
22282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22283 $as_echo_n "checking for _float round functions... " >&6; }
22284 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22285 $as_echo_n "(cached) " >&6
22286 else
22287
22288
22289 ac_ext=cpp
22290 ac_cpp='$CXXCPP $CPPFLAGS'
22291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22294
22295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22296 /* end confdefs.h. */
22297 #include <math.h>
22298 int
22299 main ()
22300 {
22301 _ceilf (0); _floorf (0);
22302 ;
22303 return 0;
22304 }
22305 _ACEOF
22306 if ac_fn_cxx_try_compile "$LINENO"; then :
22307 glibcxx_cv_func__float_round_use=yes
22308 else
22309 glibcxx_cv_func__float_round_use=no
22310 fi
22311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22312 ac_ext=c
22313 ac_cpp='$CPP $CPPFLAGS'
22314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22317
22318 fi
22319
22320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22321 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22322 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22323 for ac_func in _ceilf _floorf
22324 do :
22325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22327 eval as_val=\$$as_ac_var
22328 if test "x$as_val" = x""yes; then :
22329 cat >>confdefs.h <<_ACEOF
22330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22331 _ACEOF
22332
22333 fi
22334 done
22335
22336 fi
22337 fi
22338
22339
22340
22341
22342
22343
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22345 $as_echo_n "checking for expf declaration... " >&6; }
22346 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22347 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22348 $as_echo_n "(cached) " >&6
22349 else
22350
22351
22352 ac_ext=cpp
22353 ac_cpp='$CXXCPP $CPPFLAGS'
22354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22357
22358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22359 /* end confdefs.h. */
22360 #include <math.h>
22361 #ifdef HAVE_IEEEFP_H
22362 #include <ieeefp.h>
22363 #endif
22364
22365 int
22366 main ()
22367 {
22368 expf(0);
22369 ;
22370 return 0;
22371 }
22372 _ACEOF
22373 if ac_fn_cxx_try_compile "$LINENO"; then :
22374 glibcxx_cv_func_expf_use=yes
22375 else
22376 glibcxx_cv_func_expf_use=no
22377 fi
22378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22379 ac_ext=c
22380 ac_cpp='$CPP $CPPFLAGS'
22381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22384
22385
22386 fi
22387
22388 fi
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22390 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22391
22392 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22393 for ac_func in expf
22394 do :
22395 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22396 if test "x$ac_cv_func_expf" = x""yes; then :
22397 cat >>confdefs.h <<_ACEOF
22398 #define HAVE_EXPF 1
22399 _ACEOF
22400
22401 fi
22402 done
22403
22404 else
22405
22406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22407 $as_echo_n "checking for _expf declaration... " >&6; }
22408 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22409 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22410 $as_echo_n "(cached) " >&6
22411 else
22412
22413
22414 ac_ext=cpp
22415 ac_cpp='$CXXCPP $CPPFLAGS'
22416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22419
22420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22421 /* end confdefs.h. */
22422 #include <math.h>
22423 #ifdef HAVE_IEEEFP_H
22424 #include <ieeefp.h>
22425 #endif
22426
22427 int
22428 main ()
22429 {
22430 _expf(0);
22431 ;
22432 return 0;
22433 }
22434 _ACEOF
22435 if ac_fn_cxx_try_compile "$LINENO"; then :
22436 glibcxx_cv_func__expf_use=yes
22437 else
22438 glibcxx_cv_func__expf_use=no
22439 fi
22440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22441 ac_ext=c
22442 ac_cpp='$CPP $CPPFLAGS'
22443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22446
22447
22448 fi
22449
22450 fi
22451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22452 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22453
22454 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22455 for ac_func in _expf
22456 do :
22457 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22458 if test "x$ac_cv_func__expf" = x""yes; then :
22459 cat >>confdefs.h <<_ACEOF
22460 #define HAVE__EXPF 1
22461 _ACEOF
22462
22463 fi
22464 done
22465
22466 fi
22467 fi
22468
22469
22470
22471
22472
22473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22474 $as_echo_n "checking for isnanf declaration... " >&6; }
22475 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22476 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22477 $as_echo_n "(cached) " >&6
22478 else
22479
22480
22481 ac_ext=cpp
22482 ac_cpp='$CXXCPP $CPPFLAGS'
22483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22486
22487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22488 /* end confdefs.h. */
22489 #include <math.h>
22490 #ifdef HAVE_IEEEFP_H
22491 #include <ieeefp.h>
22492 #endif
22493
22494 int
22495 main ()
22496 {
22497 isnanf(0);
22498 ;
22499 return 0;
22500 }
22501 _ACEOF
22502 if ac_fn_cxx_try_compile "$LINENO"; then :
22503 glibcxx_cv_func_isnanf_use=yes
22504 else
22505 glibcxx_cv_func_isnanf_use=no
22506 fi
22507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22508 ac_ext=c
22509 ac_cpp='$CPP $CPPFLAGS'
22510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22513
22514
22515 fi
22516
22517 fi
22518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22519 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22520
22521 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22522 for ac_func in isnanf
22523 do :
22524 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22525 if test "x$ac_cv_func_isnanf" = x""yes; then :
22526 cat >>confdefs.h <<_ACEOF
22527 #define HAVE_ISNANF 1
22528 _ACEOF
22529
22530 fi
22531 done
22532
22533 else
22534
22535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22536 $as_echo_n "checking for _isnanf declaration... " >&6; }
22537 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22538 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22539 $as_echo_n "(cached) " >&6
22540 else
22541
22542
22543 ac_ext=cpp
22544 ac_cpp='$CXXCPP $CPPFLAGS'
22545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22548
22549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22550 /* end confdefs.h. */
22551 #include <math.h>
22552 #ifdef HAVE_IEEEFP_H
22553 #include <ieeefp.h>
22554 #endif
22555
22556 int
22557 main ()
22558 {
22559 _isnanf(0);
22560 ;
22561 return 0;
22562 }
22563 _ACEOF
22564 if ac_fn_cxx_try_compile "$LINENO"; then :
22565 glibcxx_cv_func__isnanf_use=yes
22566 else
22567 glibcxx_cv_func__isnanf_use=no
22568 fi
22569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22570 ac_ext=c
22571 ac_cpp='$CPP $CPPFLAGS'
22572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22575
22576
22577 fi
22578
22579 fi
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22581 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22582
22583 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22584 for ac_func in _isnanf
22585 do :
22586 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22587 if test "x$ac_cv_func__isnanf" = x""yes; then :
22588 cat >>confdefs.h <<_ACEOF
22589 #define HAVE__ISNANF 1
22590 _ACEOF
22591
22592 fi
22593 done
22594
22595 fi
22596 fi
22597
22598
22599
22600
22601
22602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22603 $as_echo_n "checking for isinff declaration... " >&6; }
22604 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22605 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22606 $as_echo_n "(cached) " >&6
22607 else
22608
22609
22610 ac_ext=cpp
22611 ac_cpp='$CXXCPP $CPPFLAGS'
22612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22615
22616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22617 /* end confdefs.h. */
22618 #include <math.h>
22619 #ifdef HAVE_IEEEFP_H
22620 #include <ieeefp.h>
22621 #endif
22622
22623 int
22624 main ()
22625 {
22626 isinff(0);
22627 ;
22628 return 0;
22629 }
22630 _ACEOF
22631 if ac_fn_cxx_try_compile "$LINENO"; then :
22632 glibcxx_cv_func_isinff_use=yes
22633 else
22634 glibcxx_cv_func_isinff_use=no
22635 fi
22636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22637 ac_ext=c
22638 ac_cpp='$CPP $CPPFLAGS'
22639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22642
22643
22644 fi
22645
22646 fi
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22648 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22649
22650 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22651 for ac_func in isinff
22652 do :
22653 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22654 if test "x$ac_cv_func_isinff" = x""yes; then :
22655 cat >>confdefs.h <<_ACEOF
22656 #define HAVE_ISINFF 1
22657 _ACEOF
22658
22659 fi
22660 done
22661
22662 else
22663
22664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22665 $as_echo_n "checking for _isinff declaration... " >&6; }
22666 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22667 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22668 $as_echo_n "(cached) " >&6
22669 else
22670
22671
22672 ac_ext=cpp
22673 ac_cpp='$CXXCPP $CPPFLAGS'
22674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22677
22678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22679 /* end confdefs.h. */
22680 #include <math.h>
22681 #ifdef HAVE_IEEEFP_H
22682 #include <ieeefp.h>
22683 #endif
22684
22685 int
22686 main ()
22687 {
22688 _isinff(0);
22689 ;
22690 return 0;
22691 }
22692 _ACEOF
22693 if ac_fn_cxx_try_compile "$LINENO"; then :
22694 glibcxx_cv_func__isinff_use=yes
22695 else
22696 glibcxx_cv_func__isinff_use=no
22697 fi
22698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22699 ac_ext=c
22700 ac_cpp='$CPP $CPPFLAGS'
22701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22704
22705
22706 fi
22707
22708 fi
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22710 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22711
22712 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22713 for ac_func in _isinff
22714 do :
22715 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22716 if test "x$ac_cv_func__isinff" = x""yes; then :
22717 cat >>confdefs.h <<_ACEOF
22718 #define HAVE__ISINFF 1
22719 _ACEOF
22720
22721 fi
22722 done
22723
22724 fi
22725 fi
22726
22727
22728
22729
22730
22731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22732 $as_echo_n "checking for atan2f declaration... " >&6; }
22733 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22734 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22735 $as_echo_n "(cached) " >&6
22736 else
22737
22738
22739 ac_ext=cpp
22740 ac_cpp='$CXXCPP $CPPFLAGS'
22741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22744
22745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22746 /* end confdefs.h. */
22747 #include <math.h>
22748 int
22749 main ()
22750 {
22751 atan2f(0, 0);
22752 ;
22753 return 0;
22754 }
22755 _ACEOF
22756 if ac_fn_cxx_try_compile "$LINENO"; then :
22757 glibcxx_cv_func_atan2f_use=yes
22758 else
22759 glibcxx_cv_func_atan2f_use=no
22760 fi
22761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22762 ac_ext=c
22763 ac_cpp='$CPP $CPPFLAGS'
22764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22767
22768
22769 fi
22770
22771 fi
22772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22773 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22774
22775 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22776 for ac_func in atan2f
22777 do :
22778 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22779 if test "x$ac_cv_func_atan2f" = x""yes; then :
22780 cat >>confdefs.h <<_ACEOF
22781 #define HAVE_ATAN2F 1
22782 _ACEOF
22783
22784 fi
22785 done
22786
22787 else
22788
22789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22790 $as_echo_n "checking for _atan2f declaration... " >&6; }
22791 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22792 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22793 $as_echo_n "(cached) " >&6
22794 else
22795
22796
22797 ac_ext=cpp
22798 ac_cpp='$CXXCPP $CPPFLAGS'
22799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22802
22803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22804 /* end confdefs.h. */
22805 #include <math.h>
22806 int
22807 main ()
22808 {
22809 _atan2f(0, 0);
22810 ;
22811 return 0;
22812 }
22813 _ACEOF
22814 if ac_fn_cxx_try_compile "$LINENO"; then :
22815 glibcxx_cv_func__atan2f_use=yes
22816 else
22817 glibcxx_cv_func__atan2f_use=no
22818 fi
22819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22820 ac_ext=c
22821 ac_cpp='$CPP $CPPFLAGS'
22822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22825
22826
22827 fi
22828
22829 fi
22830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22831 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22832
22833 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22834 for ac_func in _atan2f
22835 do :
22836 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22837 if test "x$ac_cv_func__atan2f" = x""yes; then :
22838 cat >>confdefs.h <<_ACEOF
22839 #define HAVE__ATAN2F 1
22840 _ACEOF
22841
22842 fi
22843 done
22844
22845 fi
22846 fi
22847
22848
22849
22850
22851
22852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22853 $as_echo_n "checking for fabsf declaration... " >&6; }
22854 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22855 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22856 $as_echo_n "(cached) " >&6
22857 else
22858
22859
22860 ac_ext=cpp
22861 ac_cpp='$CXXCPP $CPPFLAGS'
22862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22865
22866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22867 /* end confdefs.h. */
22868 #include <math.h>
22869 #ifdef HAVE_IEEEFP_H
22870 #include <ieeefp.h>
22871 #endif
22872
22873 int
22874 main ()
22875 {
22876 fabsf(0);
22877 ;
22878 return 0;
22879 }
22880 _ACEOF
22881 if ac_fn_cxx_try_compile "$LINENO"; then :
22882 glibcxx_cv_func_fabsf_use=yes
22883 else
22884 glibcxx_cv_func_fabsf_use=no
22885 fi
22886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22887 ac_ext=c
22888 ac_cpp='$CPP $CPPFLAGS'
22889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22892
22893
22894 fi
22895
22896 fi
22897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22898 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22899
22900 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22901 for ac_func in fabsf
22902 do :
22903 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22904 if test "x$ac_cv_func_fabsf" = x""yes; then :
22905 cat >>confdefs.h <<_ACEOF
22906 #define HAVE_FABSF 1
22907 _ACEOF
22908
22909 fi
22910 done
22911
22912 else
22913
22914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22915 $as_echo_n "checking for _fabsf declaration... " >&6; }
22916 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22917 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22918 $as_echo_n "(cached) " >&6
22919 else
22920
22921
22922 ac_ext=cpp
22923 ac_cpp='$CXXCPP $CPPFLAGS'
22924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22927
22928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22929 /* end confdefs.h. */
22930 #include <math.h>
22931 #ifdef HAVE_IEEEFP_H
22932 #include <ieeefp.h>
22933 #endif
22934
22935 int
22936 main ()
22937 {
22938 _fabsf(0);
22939 ;
22940 return 0;
22941 }
22942 _ACEOF
22943 if ac_fn_cxx_try_compile "$LINENO"; then :
22944 glibcxx_cv_func__fabsf_use=yes
22945 else
22946 glibcxx_cv_func__fabsf_use=no
22947 fi
22948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22949 ac_ext=c
22950 ac_cpp='$CPP $CPPFLAGS'
22951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22954
22955
22956 fi
22957
22958 fi
22959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22960 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22961
22962 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22963 for ac_func in _fabsf
22964 do :
22965 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22966 if test "x$ac_cv_func__fabsf" = x""yes; then :
22967 cat >>confdefs.h <<_ACEOF
22968 #define HAVE__FABSF 1
22969 _ACEOF
22970
22971 fi
22972 done
22973
22974 fi
22975 fi
22976
22977
22978
22979
22980
22981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22982 $as_echo_n "checking for fmodf declaration... " >&6; }
22983 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22984 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22985 $as_echo_n "(cached) " >&6
22986 else
22987
22988
22989 ac_ext=cpp
22990 ac_cpp='$CXXCPP $CPPFLAGS'
22991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22994
22995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22996 /* end confdefs.h. */
22997 #include <math.h>
22998 int
22999 main ()
23000 {
23001 fmodf(0, 0);
23002 ;
23003 return 0;
23004 }
23005 _ACEOF
23006 if ac_fn_cxx_try_compile "$LINENO"; then :
23007 glibcxx_cv_func_fmodf_use=yes
23008 else
23009 glibcxx_cv_func_fmodf_use=no
23010 fi
23011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23012 ac_ext=c
23013 ac_cpp='$CPP $CPPFLAGS'
23014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23017
23018
23019 fi
23020
23021 fi
23022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23023 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23024
23025 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23026 for ac_func in fmodf
23027 do :
23028 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23029 if test "x$ac_cv_func_fmodf" = x""yes; then :
23030 cat >>confdefs.h <<_ACEOF
23031 #define HAVE_FMODF 1
23032 _ACEOF
23033
23034 fi
23035 done
23036
23037 else
23038
23039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23040 $as_echo_n "checking for _fmodf declaration... " >&6; }
23041 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23042 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23043 $as_echo_n "(cached) " >&6
23044 else
23045
23046
23047 ac_ext=cpp
23048 ac_cpp='$CXXCPP $CPPFLAGS'
23049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23052
23053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23054 /* end confdefs.h. */
23055 #include <math.h>
23056 int
23057 main ()
23058 {
23059 _fmodf(0, 0);
23060 ;
23061 return 0;
23062 }
23063 _ACEOF
23064 if ac_fn_cxx_try_compile "$LINENO"; then :
23065 glibcxx_cv_func__fmodf_use=yes
23066 else
23067 glibcxx_cv_func__fmodf_use=no
23068 fi
23069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23070 ac_ext=c
23071 ac_cpp='$CPP $CPPFLAGS'
23072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23075
23076
23077 fi
23078
23079 fi
23080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23081 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23082
23083 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23084 for ac_func in _fmodf
23085 do :
23086 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23087 if test "x$ac_cv_func__fmodf" = x""yes; then :
23088 cat >>confdefs.h <<_ACEOF
23089 #define HAVE__FMODF 1
23090 _ACEOF
23091
23092 fi
23093 done
23094
23095 fi
23096 fi
23097
23098
23099
23100
23101
23102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23103 $as_echo_n "checking for frexpf declaration... " >&6; }
23104 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23105 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23106 $as_echo_n "(cached) " >&6
23107 else
23108
23109
23110 ac_ext=cpp
23111 ac_cpp='$CXXCPP $CPPFLAGS'
23112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23115
23116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23117 /* end confdefs.h. */
23118 #include <math.h>
23119 int
23120 main ()
23121 {
23122 frexpf(0, 0);
23123 ;
23124 return 0;
23125 }
23126 _ACEOF
23127 if ac_fn_cxx_try_compile "$LINENO"; then :
23128 glibcxx_cv_func_frexpf_use=yes
23129 else
23130 glibcxx_cv_func_frexpf_use=no
23131 fi
23132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23133 ac_ext=c
23134 ac_cpp='$CPP $CPPFLAGS'
23135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23138
23139
23140 fi
23141
23142 fi
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23144 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23145
23146 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23147 for ac_func in frexpf
23148 do :
23149 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23150 if test "x$ac_cv_func_frexpf" = x""yes; then :
23151 cat >>confdefs.h <<_ACEOF
23152 #define HAVE_FREXPF 1
23153 _ACEOF
23154
23155 fi
23156 done
23157
23158 else
23159
23160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23161 $as_echo_n "checking for _frexpf declaration... " >&6; }
23162 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23163 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23164 $as_echo_n "(cached) " >&6
23165 else
23166
23167
23168 ac_ext=cpp
23169 ac_cpp='$CXXCPP $CPPFLAGS'
23170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23173
23174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23175 /* end confdefs.h. */
23176 #include <math.h>
23177 int
23178 main ()
23179 {
23180 _frexpf(0, 0);
23181 ;
23182 return 0;
23183 }
23184 _ACEOF
23185 if ac_fn_cxx_try_compile "$LINENO"; then :
23186 glibcxx_cv_func__frexpf_use=yes
23187 else
23188 glibcxx_cv_func__frexpf_use=no
23189 fi
23190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23191 ac_ext=c
23192 ac_cpp='$CPP $CPPFLAGS'
23193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23196
23197
23198 fi
23199
23200 fi
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23202 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23203
23204 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23205 for ac_func in _frexpf
23206 do :
23207 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23208 if test "x$ac_cv_func__frexpf" = x""yes; then :
23209 cat >>confdefs.h <<_ACEOF
23210 #define HAVE__FREXPF 1
23211 _ACEOF
23212
23213 fi
23214 done
23215
23216 fi
23217 fi
23218
23219
23220
23221
23222
23223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23224 $as_echo_n "checking for hypotf declaration... " >&6; }
23225 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23226 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23227 $as_echo_n "(cached) " >&6
23228 else
23229
23230
23231 ac_ext=cpp
23232 ac_cpp='$CXXCPP $CPPFLAGS'
23233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23236
23237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23238 /* end confdefs.h. */
23239 #include <math.h>
23240 int
23241 main ()
23242 {
23243 hypotf(0, 0);
23244 ;
23245 return 0;
23246 }
23247 _ACEOF
23248 if ac_fn_cxx_try_compile "$LINENO"; then :
23249 glibcxx_cv_func_hypotf_use=yes
23250 else
23251 glibcxx_cv_func_hypotf_use=no
23252 fi
23253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23254 ac_ext=c
23255 ac_cpp='$CPP $CPPFLAGS'
23256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23259
23260
23261 fi
23262
23263 fi
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23265 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23266
23267 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23268 for ac_func in hypotf
23269 do :
23270 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23271 if test "x$ac_cv_func_hypotf" = x""yes; then :
23272 cat >>confdefs.h <<_ACEOF
23273 #define HAVE_HYPOTF 1
23274 _ACEOF
23275
23276 fi
23277 done
23278
23279 else
23280
23281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23282 $as_echo_n "checking for _hypotf declaration... " >&6; }
23283 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23284 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23285 $as_echo_n "(cached) " >&6
23286 else
23287
23288
23289 ac_ext=cpp
23290 ac_cpp='$CXXCPP $CPPFLAGS'
23291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23294
23295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23296 /* end confdefs.h. */
23297 #include <math.h>
23298 int
23299 main ()
23300 {
23301 _hypotf(0, 0);
23302 ;
23303 return 0;
23304 }
23305 _ACEOF
23306 if ac_fn_cxx_try_compile "$LINENO"; then :
23307 glibcxx_cv_func__hypotf_use=yes
23308 else
23309 glibcxx_cv_func__hypotf_use=no
23310 fi
23311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23312 ac_ext=c
23313 ac_cpp='$CPP $CPPFLAGS'
23314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23317
23318
23319 fi
23320
23321 fi
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23323 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23324
23325 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23326 for ac_func in _hypotf
23327 do :
23328 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23329 if test "x$ac_cv_func__hypotf" = x""yes; then :
23330 cat >>confdefs.h <<_ACEOF
23331 #define HAVE__HYPOTF 1
23332 _ACEOF
23333
23334 fi
23335 done
23336
23337 fi
23338 fi
23339
23340
23341
23342
23343
23344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23345 $as_echo_n "checking for ldexpf declaration... " >&6; }
23346 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23347 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23348 $as_echo_n "(cached) " >&6
23349 else
23350
23351
23352 ac_ext=cpp
23353 ac_cpp='$CXXCPP $CPPFLAGS'
23354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23357
23358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23359 /* end confdefs.h. */
23360 #include <math.h>
23361 int
23362 main ()
23363 {
23364 ldexpf(0, 0);
23365 ;
23366 return 0;
23367 }
23368 _ACEOF
23369 if ac_fn_cxx_try_compile "$LINENO"; then :
23370 glibcxx_cv_func_ldexpf_use=yes
23371 else
23372 glibcxx_cv_func_ldexpf_use=no
23373 fi
23374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23375 ac_ext=c
23376 ac_cpp='$CPP $CPPFLAGS'
23377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23380
23381
23382 fi
23383
23384 fi
23385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23386 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23387
23388 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23389 for ac_func in ldexpf
23390 do :
23391 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23392 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23393 cat >>confdefs.h <<_ACEOF
23394 #define HAVE_LDEXPF 1
23395 _ACEOF
23396
23397 fi
23398 done
23399
23400 else
23401
23402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23403 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23404 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23405 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23406 $as_echo_n "(cached) " >&6
23407 else
23408
23409
23410 ac_ext=cpp
23411 ac_cpp='$CXXCPP $CPPFLAGS'
23412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23415
23416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23417 /* end confdefs.h. */
23418 #include <math.h>
23419 int
23420 main ()
23421 {
23422 _ldexpf(0, 0);
23423 ;
23424 return 0;
23425 }
23426 _ACEOF
23427 if ac_fn_cxx_try_compile "$LINENO"; then :
23428 glibcxx_cv_func__ldexpf_use=yes
23429 else
23430 glibcxx_cv_func__ldexpf_use=no
23431 fi
23432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23433 ac_ext=c
23434 ac_cpp='$CPP $CPPFLAGS'
23435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23438
23439
23440 fi
23441
23442 fi
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23444 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23445
23446 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23447 for ac_func in _ldexpf
23448 do :
23449 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23450 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23451 cat >>confdefs.h <<_ACEOF
23452 #define HAVE__LDEXPF 1
23453 _ACEOF
23454
23455 fi
23456 done
23457
23458 fi
23459 fi
23460
23461
23462
23463
23464
23465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23466 $as_echo_n "checking for logf declaration... " >&6; }
23467 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23468 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23469 $as_echo_n "(cached) " >&6
23470 else
23471
23472
23473 ac_ext=cpp
23474 ac_cpp='$CXXCPP $CPPFLAGS'
23475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23478
23479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23480 /* end confdefs.h. */
23481 #include <math.h>
23482 #ifdef HAVE_IEEEFP_H
23483 #include <ieeefp.h>
23484 #endif
23485
23486 int
23487 main ()
23488 {
23489 logf(0);
23490 ;
23491 return 0;
23492 }
23493 _ACEOF
23494 if ac_fn_cxx_try_compile "$LINENO"; then :
23495 glibcxx_cv_func_logf_use=yes
23496 else
23497 glibcxx_cv_func_logf_use=no
23498 fi
23499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23500 ac_ext=c
23501 ac_cpp='$CPP $CPPFLAGS'
23502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23505
23506
23507 fi
23508
23509 fi
23510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23511 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23512
23513 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23514 for ac_func in logf
23515 do :
23516 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23517 if test "x$ac_cv_func_logf" = x""yes; then :
23518 cat >>confdefs.h <<_ACEOF
23519 #define HAVE_LOGF 1
23520 _ACEOF
23521
23522 fi
23523 done
23524
23525 else
23526
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23528 $as_echo_n "checking for _logf declaration... " >&6; }
23529 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23530 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23531 $as_echo_n "(cached) " >&6
23532 else
23533
23534
23535 ac_ext=cpp
23536 ac_cpp='$CXXCPP $CPPFLAGS'
23537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23540
23541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23542 /* end confdefs.h. */
23543 #include <math.h>
23544 #ifdef HAVE_IEEEFP_H
23545 #include <ieeefp.h>
23546 #endif
23547
23548 int
23549 main ()
23550 {
23551 _logf(0);
23552 ;
23553 return 0;
23554 }
23555 _ACEOF
23556 if ac_fn_cxx_try_compile "$LINENO"; then :
23557 glibcxx_cv_func__logf_use=yes
23558 else
23559 glibcxx_cv_func__logf_use=no
23560 fi
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23562 ac_ext=c
23563 ac_cpp='$CPP $CPPFLAGS'
23564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23567
23568
23569 fi
23570
23571 fi
23572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23573 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23574
23575 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23576 for ac_func in _logf
23577 do :
23578 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23579 if test "x$ac_cv_func__logf" = x""yes; then :
23580 cat >>confdefs.h <<_ACEOF
23581 #define HAVE__LOGF 1
23582 _ACEOF
23583
23584 fi
23585 done
23586
23587 fi
23588 fi
23589
23590
23591
23592
23593
23594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23595 $as_echo_n "checking for log10f declaration... " >&6; }
23596 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23597 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23598 $as_echo_n "(cached) " >&6
23599 else
23600
23601
23602 ac_ext=cpp
23603 ac_cpp='$CXXCPP $CPPFLAGS'
23604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23607
23608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23609 /* end confdefs.h. */
23610 #include <math.h>
23611 #ifdef HAVE_IEEEFP_H
23612 #include <ieeefp.h>
23613 #endif
23614
23615 int
23616 main ()
23617 {
23618 log10f(0);
23619 ;
23620 return 0;
23621 }
23622 _ACEOF
23623 if ac_fn_cxx_try_compile "$LINENO"; then :
23624 glibcxx_cv_func_log10f_use=yes
23625 else
23626 glibcxx_cv_func_log10f_use=no
23627 fi
23628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23629 ac_ext=c
23630 ac_cpp='$CPP $CPPFLAGS'
23631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23634
23635
23636 fi
23637
23638 fi
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23640 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23641
23642 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23643 for ac_func in log10f
23644 do :
23645 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23646 if test "x$ac_cv_func_log10f" = x""yes; then :
23647 cat >>confdefs.h <<_ACEOF
23648 #define HAVE_LOG10F 1
23649 _ACEOF
23650
23651 fi
23652 done
23653
23654 else
23655
23656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23657 $as_echo_n "checking for _log10f declaration... " >&6; }
23658 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23659 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23660 $as_echo_n "(cached) " >&6
23661 else
23662
23663
23664 ac_ext=cpp
23665 ac_cpp='$CXXCPP $CPPFLAGS'
23666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23669
23670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23671 /* end confdefs.h. */
23672 #include <math.h>
23673 #ifdef HAVE_IEEEFP_H
23674 #include <ieeefp.h>
23675 #endif
23676
23677 int
23678 main ()
23679 {
23680 _log10f(0);
23681 ;
23682 return 0;
23683 }
23684 _ACEOF
23685 if ac_fn_cxx_try_compile "$LINENO"; then :
23686 glibcxx_cv_func__log10f_use=yes
23687 else
23688 glibcxx_cv_func__log10f_use=no
23689 fi
23690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23691 ac_ext=c
23692 ac_cpp='$CPP $CPPFLAGS'
23693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23696
23697
23698 fi
23699
23700 fi
23701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23702 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23703
23704 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23705 for ac_func in _log10f
23706 do :
23707 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23708 if test "x$ac_cv_func__log10f" = x""yes; then :
23709 cat >>confdefs.h <<_ACEOF
23710 #define HAVE__LOG10F 1
23711 _ACEOF
23712
23713 fi
23714 done
23715
23716 fi
23717 fi
23718
23719
23720
23721
23722
23723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23724 $as_echo_n "checking for modff declaration... " >&6; }
23725 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23726 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23727 $as_echo_n "(cached) " >&6
23728 else
23729
23730
23731 ac_ext=cpp
23732 ac_cpp='$CXXCPP $CPPFLAGS'
23733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23736
23737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23738 /* end confdefs.h. */
23739 #include <math.h>
23740 int
23741 main ()
23742 {
23743 modff(0, 0);
23744 ;
23745 return 0;
23746 }
23747 _ACEOF
23748 if ac_fn_cxx_try_compile "$LINENO"; then :
23749 glibcxx_cv_func_modff_use=yes
23750 else
23751 glibcxx_cv_func_modff_use=no
23752 fi
23753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23754 ac_ext=c
23755 ac_cpp='$CPP $CPPFLAGS'
23756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23759
23760
23761 fi
23762
23763 fi
23764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23765 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23766
23767 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23768 for ac_func in modff
23769 do :
23770 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23771 if test "x$ac_cv_func_modff" = x""yes; then :
23772 cat >>confdefs.h <<_ACEOF
23773 #define HAVE_MODFF 1
23774 _ACEOF
23775
23776 fi
23777 done
23778
23779 else
23780
23781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23782 $as_echo_n "checking for _modff declaration... " >&6; }
23783 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23784 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23785 $as_echo_n "(cached) " >&6
23786 else
23787
23788
23789 ac_ext=cpp
23790 ac_cpp='$CXXCPP $CPPFLAGS'
23791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23794
23795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23796 /* end confdefs.h. */
23797 #include <math.h>
23798 int
23799 main ()
23800 {
23801 _modff(0, 0);
23802 ;
23803 return 0;
23804 }
23805 _ACEOF
23806 if ac_fn_cxx_try_compile "$LINENO"; then :
23807 glibcxx_cv_func__modff_use=yes
23808 else
23809 glibcxx_cv_func__modff_use=no
23810 fi
23811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23812 ac_ext=c
23813 ac_cpp='$CPP $CPPFLAGS'
23814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23817
23818
23819 fi
23820
23821 fi
23822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23823 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23824
23825 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23826 for ac_func in _modff
23827 do :
23828 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23829 if test "x$ac_cv_func__modff" = x""yes; then :
23830 cat >>confdefs.h <<_ACEOF
23831 #define HAVE__MODFF 1
23832 _ACEOF
23833
23834 fi
23835 done
23836
23837 fi
23838 fi
23839
23840
23841
23842
23843
23844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23845 $as_echo_n "checking for modf declaration... " >&6; }
23846 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23847 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23848 $as_echo_n "(cached) " >&6
23849 else
23850
23851
23852 ac_ext=cpp
23853 ac_cpp='$CXXCPP $CPPFLAGS'
23854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23857
23858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23859 /* end confdefs.h. */
23860 #include <math.h>
23861 int
23862 main ()
23863 {
23864 modf(0, 0);
23865 ;
23866 return 0;
23867 }
23868 _ACEOF
23869 if ac_fn_cxx_try_compile "$LINENO"; then :
23870 glibcxx_cv_func_modf_use=yes
23871 else
23872 glibcxx_cv_func_modf_use=no
23873 fi
23874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23875 ac_ext=c
23876 ac_cpp='$CPP $CPPFLAGS'
23877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23880
23881
23882 fi
23883
23884 fi
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23886 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23887
23888 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23889 for ac_func in modf
23890 do :
23891 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23892 if test "x$ac_cv_func_modf" = x""yes; then :
23893 cat >>confdefs.h <<_ACEOF
23894 #define HAVE_MODF 1
23895 _ACEOF
23896
23897 fi
23898 done
23899
23900 else
23901
23902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23903 $as_echo_n "checking for _modf declaration... " >&6; }
23904 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23905 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23906 $as_echo_n "(cached) " >&6
23907 else
23908
23909
23910 ac_ext=cpp
23911 ac_cpp='$CXXCPP $CPPFLAGS'
23912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23915
23916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23917 /* end confdefs.h. */
23918 #include <math.h>
23919 int
23920 main ()
23921 {
23922 _modf(0, 0);
23923 ;
23924 return 0;
23925 }
23926 _ACEOF
23927 if ac_fn_cxx_try_compile "$LINENO"; then :
23928 glibcxx_cv_func__modf_use=yes
23929 else
23930 glibcxx_cv_func__modf_use=no
23931 fi
23932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23933 ac_ext=c
23934 ac_cpp='$CPP $CPPFLAGS'
23935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23938
23939
23940 fi
23941
23942 fi
23943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23944 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23945
23946 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23947 for ac_func in _modf
23948 do :
23949 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23950 if test "x$ac_cv_func__modf" = x""yes; then :
23951 cat >>confdefs.h <<_ACEOF
23952 #define HAVE__MODF 1
23953 _ACEOF
23954
23955 fi
23956 done
23957
23958 fi
23959 fi
23960
23961
23962
23963
23964
23965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23966 $as_echo_n "checking for powf declaration... " >&6; }
23967 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23968 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23969 $as_echo_n "(cached) " >&6
23970 else
23971
23972
23973 ac_ext=cpp
23974 ac_cpp='$CXXCPP $CPPFLAGS'
23975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23978
23979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23980 /* end confdefs.h. */
23981 #include <math.h>
23982 int
23983 main ()
23984 {
23985 powf(0, 0);
23986 ;
23987 return 0;
23988 }
23989 _ACEOF
23990 if ac_fn_cxx_try_compile "$LINENO"; then :
23991 glibcxx_cv_func_powf_use=yes
23992 else
23993 glibcxx_cv_func_powf_use=no
23994 fi
23995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23996 ac_ext=c
23997 ac_cpp='$CPP $CPPFLAGS'
23998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24001
24002
24003 fi
24004
24005 fi
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24007 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24008
24009 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24010 for ac_func in powf
24011 do :
24012 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24013 if test "x$ac_cv_func_powf" = x""yes; then :
24014 cat >>confdefs.h <<_ACEOF
24015 #define HAVE_POWF 1
24016 _ACEOF
24017
24018 fi
24019 done
24020
24021 else
24022
24023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24024 $as_echo_n "checking for _powf declaration... " >&6; }
24025 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24026 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24027 $as_echo_n "(cached) " >&6
24028 else
24029
24030
24031 ac_ext=cpp
24032 ac_cpp='$CXXCPP $CPPFLAGS'
24033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24036
24037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24038 /* end confdefs.h. */
24039 #include <math.h>
24040 int
24041 main ()
24042 {
24043 _powf(0, 0);
24044 ;
24045 return 0;
24046 }
24047 _ACEOF
24048 if ac_fn_cxx_try_compile "$LINENO"; then :
24049 glibcxx_cv_func__powf_use=yes
24050 else
24051 glibcxx_cv_func__powf_use=no
24052 fi
24053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24054 ac_ext=c
24055 ac_cpp='$CPP $CPPFLAGS'
24056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24059
24060
24061 fi
24062
24063 fi
24064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24065 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24066
24067 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24068 for ac_func in _powf
24069 do :
24070 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24071 if test "x$ac_cv_func__powf" = x""yes; then :
24072 cat >>confdefs.h <<_ACEOF
24073 #define HAVE__POWF 1
24074 _ACEOF
24075
24076 fi
24077 done
24078
24079 fi
24080 fi
24081
24082
24083
24084
24085
24086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24087 $as_echo_n "checking for sqrtf declaration... " >&6; }
24088 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24089 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24090 $as_echo_n "(cached) " >&6
24091 else
24092
24093
24094 ac_ext=cpp
24095 ac_cpp='$CXXCPP $CPPFLAGS'
24096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24099
24100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24101 /* end confdefs.h. */
24102 #include <math.h>
24103 #ifdef HAVE_IEEEFP_H
24104 #include <ieeefp.h>
24105 #endif
24106
24107 int
24108 main ()
24109 {
24110 sqrtf(0);
24111 ;
24112 return 0;
24113 }
24114 _ACEOF
24115 if ac_fn_cxx_try_compile "$LINENO"; then :
24116 glibcxx_cv_func_sqrtf_use=yes
24117 else
24118 glibcxx_cv_func_sqrtf_use=no
24119 fi
24120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24121 ac_ext=c
24122 ac_cpp='$CPP $CPPFLAGS'
24123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24126
24127
24128 fi
24129
24130 fi
24131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24132 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24133
24134 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24135 for ac_func in sqrtf
24136 do :
24137 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24138 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24139 cat >>confdefs.h <<_ACEOF
24140 #define HAVE_SQRTF 1
24141 _ACEOF
24142
24143 fi
24144 done
24145
24146 else
24147
24148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24149 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24150 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24151 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24152 $as_echo_n "(cached) " >&6
24153 else
24154
24155
24156 ac_ext=cpp
24157 ac_cpp='$CXXCPP $CPPFLAGS'
24158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24161
24162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24163 /* end confdefs.h. */
24164 #include <math.h>
24165 #ifdef HAVE_IEEEFP_H
24166 #include <ieeefp.h>
24167 #endif
24168
24169 int
24170 main ()
24171 {
24172 _sqrtf(0);
24173 ;
24174 return 0;
24175 }
24176 _ACEOF
24177 if ac_fn_cxx_try_compile "$LINENO"; then :
24178 glibcxx_cv_func__sqrtf_use=yes
24179 else
24180 glibcxx_cv_func__sqrtf_use=no
24181 fi
24182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24183 ac_ext=c
24184 ac_cpp='$CPP $CPPFLAGS'
24185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24188
24189
24190 fi
24191
24192 fi
24193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24194 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24195
24196 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24197 for ac_func in _sqrtf
24198 do :
24199 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24200 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24201 cat >>confdefs.h <<_ACEOF
24202 #define HAVE__SQRTF 1
24203 _ACEOF
24204
24205 fi
24206 done
24207
24208 fi
24209 fi
24210
24211
24212
24213
24214
24215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24216 $as_echo_n "checking for sincosf declaration... " >&6; }
24217 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24218 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24219 $as_echo_n "(cached) " >&6
24220 else
24221
24222
24223 ac_ext=cpp
24224 ac_cpp='$CXXCPP $CPPFLAGS'
24225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24228
24229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24230 /* end confdefs.h. */
24231 #include <math.h>
24232 int
24233 main ()
24234 {
24235 sincosf(0, 0, 0);
24236 ;
24237 return 0;
24238 }
24239 _ACEOF
24240 if ac_fn_cxx_try_compile "$LINENO"; then :
24241 glibcxx_cv_func_sincosf_use=yes
24242 else
24243 glibcxx_cv_func_sincosf_use=no
24244 fi
24245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24246 ac_ext=c
24247 ac_cpp='$CPP $CPPFLAGS'
24248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24251
24252
24253 fi
24254
24255 fi
24256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24257 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24258
24259 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24260 for ac_func in sincosf
24261 do :
24262 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24263 if test "x$ac_cv_func_sincosf" = x""yes; then :
24264 cat >>confdefs.h <<_ACEOF
24265 #define HAVE_SINCOSF 1
24266 _ACEOF
24267
24268 fi
24269 done
24270
24271 else
24272
24273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24274 $as_echo_n "checking for _sincosf declaration... " >&6; }
24275 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24276 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24277 $as_echo_n "(cached) " >&6
24278 else
24279
24280
24281 ac_ext=cpp
24282 ac_cpp='$CXXCPP $CPPFLAGS'
24283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24286
24287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24288 /* end confdefs.h. */
24289 #include <math.h>
24290 int
24291 main ()
24292 {
24293 _sincosf(0, 0, 0);
24294 ;
24295 return 0;
24296 }
24297 _ACEOF
24298 if ac_fn_cxx_try_compile "$LINENO"; then :
24299 glibcxx_cv_func__sincosf_use=yes
24300 else
24301 glibcxx_cv_func__sincosf_use=no
24302 fi
24303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24304 ac_ext=c
24305 ac_cpp='$CPP $CPPFLAGS'
24306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24309
24310
24311 fi
24312
24313 fi
24314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24315 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24316
24317 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24318 for ac_func in _sincosf
24319 do :
24320 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24321 if test "x$ac_cv_func__sincosf" = x""yes; then :
24322 cat >>confdefs.h <<_ACEOF
24323 #define HAVE__SINCOSF 1
24324 _ACEOF
24325
24326 fi
24327 done
24328
24329 fi
24330 fi
24331
24332
24333
24334
24335
24336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24337 $as_echo_n "checking for finitef declaration... " >&6; }
24338 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24339 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24340 $as_echo_n "(cached) " >&6
24341 else
24342
24343
24344 ac_ext=cpp
24345 ac_cpp='$CXXCPP $CPPFLAGS'
24346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24349
24350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24351 /* end confdefs.h. */
24352 #include <math.h>
24353 #ifdef HAVE_IEEEFP_H
24354 #include <ieeefp.h>
24355 #endif
24356
24357 int
24358 main ()
24359 {
24360 finitef(0);
24361 ;
24362 return 0;
24363 }
24364 _ACEOF
24365 if ac_fn_cxx_try_compile "$LINENO"; then :
24366 glibcxx_cv_func_finitef_use=yes
24367 else
24368 glibcxx_cv_func_finitef_use=no
24369 fi
24370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24371 ac_ext=c
24372 ac_cpp='$CPP $CPPFLAGS'
24373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24376
24377
24378 fi
24379
24380 fi
24381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24382 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24383
24384 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24385 for ac_func in finitef
24386 do :
24387 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24388 if test "x$ac_cv_func_finitef" = x""yes; then :
24389 cat >>confdefs.h <<_ACEOF
24390 #define HAVE_FINITEF 1
24391 _ACEOF
24392
24393 fi
24394 done
24395
24396 else
24397
24398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24399 $as_echo_n "checking for _finitef declaration... " >&6; }
24400 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24401 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24402 $as_echo_n "(cached) " >&6
24403 else
24404
24405
24406 ac_ext=cpp
24407 ac_cpp='$CXXCPP $CPPFLAGS'
24408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24411
24412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24413 /* end confdefs.h. */
24414 #include <math.h>
24415 #ifdef HAVE_IEEEFP_H
24416 #include <ieeefp.h>
24417 #endif
24418
24419 int
24420 main ()
24421 {
24422 _finitef(0);
24423 ;
24424 return 0;
24425 }
24426 _ACEOF
24427 if ac_fn_cxx_try_compile "$LINENO"; then :
24428 glibcxx_cv_func__finitef_use=yes
24429 else
24430 glibcxx_cv_func__finitef_use=no
24431 fi
24432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24433 ac_ext=c
24434 ac_cpp='$CPP $CPPFLAGS'
24435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24438
24439
24440 fi
24441
24442 fi
24443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24444 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24445
24446 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24447 for ac_func in _finitef
24448 do :
24449 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24450 if test "x$ac_cv_func__finitef" = x""yes; then :
24451 cat >>confdefs.h <<_ACEOF
24452 #define HAVE__FINITEF 1
24453 _ACEOF
24454
24455 fi
24456 done
24457
24458 fi
24459 fi
24460
24461
24462
24463
24464
24465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24466 $as_echo_n "checking for long double trig functions... " >&6; }
24467 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24468 $as_echo_n "(cached) " >&6
24469 else
24470
24471
24472 ac_ext=cpp
24473 ac_cpp='$CXXCPP $CPPFLAGS'
24474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24477
24478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24479 /* end confdefs.h. */
24480 #include <math.h>
24481 int
24482 main ()
24483 {
24484 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24485 ;
24486 return 0;
24487 }
24488 _ACEOF
24489 if ac_fn_cxx_try_compile "$LINENO"; then :
24490 glibcxx_cv_func_long_double_trig_use=yes
24491 else
24492 glibcxx_cv_func_long_double_trig_use=no
24493 fi
24494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24495 ac_ext=c
24496 ac_cpp='$CPP $CPPFLAGS'
24497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24500
24501 fi
24502
24503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24504 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24505 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24506 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24507 do :
24508 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24509 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24510 eval as_val=\$$as_ac_var
24511 if test "x$as_val" = x""yes; then :
24512 cat >>confdefs.h <<_ACEOF
24513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24514 _ACEOF
24515
24516 fi
24517 done
24518
24519 else
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24521 $as_echo_n "checking for _long double trig functions... " >&6; }
24522 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24523 $as_echo_n "(cached) " >&6
24524 else
24525
24526
24527 ac_ext=cpp
24528 ac_cpp='$CXXCPP $CPPFLAGS'
24529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24532
24533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24534 /* end confdefs.h. */
24535 #include <math.h>
24536 int
24537 main ()
24538 {
24539 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24540 ;
24541 return 0;
24542 }
24543 _ACEOF
24544 if ac_fn_cxx_try_compile "$LINENO"; then :
24545 glibcxx_cv_func__long_double_trig_use=yes
24546 else
24547 glibcxx_cv_func__long_double_trig_use=no
24548 fi
24549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24550 ac_ext=c
24551 ac_cpp='$CPP $CPPFLAGS'
24552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24555
24556 fi
24557
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24559 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24560 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24561 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24562 do :
24563 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24564 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24565 eval as_val=\$$as_ac_var
24566 if test "x$as_val" = x""yes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24569 _ACEOF
24570
24571 fi
24572 done
24573
24574 fi
24575 fi
24576
24577
24578
24579
24580
24581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24582 $as_echo_n "checking for long double round functions... " >&6; }
24583 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24584 $as_echo_n "(cached) " >&6
24585 else
24586
24587
24588 ac_ext=cpp
24589 ac_cpp='$CXXCPP $CPPFLAGS'
24590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24593
24594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24595 /* end confdefs.h. */
24596 #include <math.h>
24597 int
24598 main ()
24599 {
24600 ceill (0); floorl (0);
24601 ;
24602 return 0;
24603 }
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606 glibcxx_cv_func_long_double_round_use=yes
24607 else
24608 glibcxx_cv_func_long_double_round_use=no
24609 fi
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611 ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24616
24617 fi
24618
24619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24620 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24621 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24622 for ac_func in ceill floorl
24623 do :
24624 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24625 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24626 eval as_val=\$$as_ac_var
24627 if test "x$as_val" = x""yes; then :
24628 cat >>confdefs.h <<_ACEOF
24629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24630 _ACEOF
24631
24632 fi
24633 done
24634
24635 else
24636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24637 $as_echo_n "checking for _long double round functions... " >&6; }
24638 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24639 $as_echo_n "(cached) " >&6
24640 else
24641
24642
24643 ac_ext=cpp
24644 ac_cpp='$CXXCPP $CPPFLAGS'
24645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24648
24649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24650 /* end confdefs.h. */
24651 #include <math.h>
24652 int
24653 main ()
24654 {
24655 _ceill (0); _floorl (0);
24656 ;
24657 return 0;
24658 }
24659 _ACEOF
24660 if ac_fn_cxx_try_compile "$LINENO"; then :
24661 glibcxx_cv_func__long_double_round_use=yes
24662 else
24663 glibcxx_cv_func__long_double_round_use=no
24664 fi
24665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24666 ac_ext=c
24667 ac_cpp='$CPP $CPPFLAGS'
24668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24671
24672 fi
24673
24674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24675 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24676 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24677 for ac_func in _ceill _floorl
24678 do :
24679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24681 eval as_val=\$$as_ac_var
24682 if test "x$as_val" = x""yes; then :
24683 cat >>confdefs.h <<_ACEOF
24684 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24685 _ACEOF
24686
24687 fi
24688 done
24689
24690 fi
24691 fi
24692
24693
24694
24695
24696
24697
24698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24699 $as_echo_n "checking for isnanl declaration... " >&6; }
24700 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24701 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24702 $as_echo_n "(cached) " >&6
24703 else
24704
24705
24706 ac_ext=cpp
24707 ac_cpp='$CXXCPP $CPPFLAGS'
24708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24711
24712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24713 /* end confdefs.h. */
24714 #include <math.h>
24715 #ifdef HAVE_IEEEFP_H
24716 #include <ieeefp.h>
24717 #endif
24718
24719 int
24720 main ()
24721 {
24722 isnanl(0);
24723 ;
24724 return 0;
24725 }
24726 _ACEOF
24727 if ac_fn_cxx_try_compile "$LINENO"; then :
24728 glibcxx_cv_func_isnanl_use=yes
24729 else
24730 glibcxx_cv_func_isnanl_use=no
24731 fi
24732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24733 ac_ext=c
24734 ac_cpp='$CPP $CPPFLAGS'
24735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24738
24739
24740 fi
24741
24742 fi
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24744 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24745
24746 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24747 for ac_func in isnanl
24748 do :
24749 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24750 if test "x$ac_cv_func_isnanl" = x""yes; then :
24751 cat >>confdefs.h <<_ACEOF
24752 #define HAVE_ISNANL 1
24753 _ACEOF
24754
24755 fi
24756 done
24757
24758 else
24759
24760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24761 $as_echo_n "checking for _isnanl declaration... " >&6; }
24762 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24763 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24764 $as_echo_n "(cached) " >&6
24765 else
24766
24767
24768 ac_ext=cpp
24769 ac_cpp='$CXXCPP $CPPFLAGS'
24770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24773
24774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24775 /* end confdefs.h. */
24776 #include <math.h>
24777 #ifdef HAVE_IEEEFP_H
24778 #include <ieeefp.h>
24779 #endif
24780
24781 int
24782 main ()
24783 {
24784 _isnanl(0);
24785 ;
24786 return 0;
24787 }
24788 _ACEOF
24789 if ac_fn_cxx_try_compile "$LINENO"; then :
24790 glibcxx_cv_func__isnanl_use=yes
24791 else
24792 glibcxx_cv_func__isnanl_use=no
24793 fi
24794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795 ac_ext=c
24796 ac_cpp='$CPP $CPPFLAGS'
24797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24800
24801
24802 fi
24803
24804 fi
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24806 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24807
24808 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24809 for ac_func in _isnanl
24810 do :
24811 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24812 if test "x$ac_cv_func__isnanl" = x""yes; then :
24813 cat >>confdefs.h <<_ACEOF
24814 #define HAVE__ISNANL 1
24815 _ACEOF
24816
24817 fi
24818 done
24819
24820 fi
24821 fi
24822
24823
24824
24825
24826
24827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24828 $as_echo_n "checking for isinfl declaration... " >&6; }
24829 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24830 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24831 $as_echo_n "(cached) " >&6
24832 else
24833
24834
24835 ac_ext=cpp
24836 ac_cpp='$CXXCPP $CPPFLAGS'
24837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24840
24841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24842 /* end confdefs.h. */
24843 #include <math.h>
24844 #ifdef HAVE_IEEEFP_H
24845 #include <ieeefp.h>
24846 #endif
24847
24848 int
24849 main ()
24850 {
24851 isinfl(0);
24852 ;
24853 return 0;
24854 }
24855 _ACEOF
24856 if ac_fn_cxx_try_compile "$LINENO"; then :
24857 glibcxx_cv_func_isinfl_use=yes
24858 else
24859 glibcxx_cv_func_isinfl_use=no
24860 fi
24861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24862 ac_ext=c
24863 ac_cpp='$CPP $CPPFLAGS'
24864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24867
24868
24869 fi
24870
24871 fi
24872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24873 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24874
24875 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24876 for ac_func in isinfl
24877 do :
24878 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24879 if test "x$ac_cv_func_isinfl" = x""yes; then :
24880 cat >>confdefs.h <<_ACEOF
24881 #define HAVE_ISINFL 1
24882 _ACEOF
24883
24884 fi
24885 done
24886
24887 else
24888
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24890 $as_echo_n "checking for _isinfl declaration... " >&6; }
24891 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24892 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24893 $as_echo_n "(cached) " >&6
24894 else
24895
24896
24897 ac_ext=cpp
24898 ac_cpp='$CXXCPP $CPPFLAGS'
24899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24902
24903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24904 /* end confdefs.h. */
24905 #include <math.h>
24906 #ifdef HAVE_IEEEFP_H
24907 #include <ieeefp.h>
24908 #endif
24909
24910 int
24911 main ()
24912 {
24913 _isinfl(0);
24914 ;
24915 return 0;
24916 }
24917 _ACEOF
24918 if ac_fn_cxx_try_compile "$LINENO"; then :
24919 glibcxx_cv_func__isinfl_use=yes
24920 else
24921 glibcxx_cv_func__isinfl_use=no
24922 fi
24923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24924 ac_ext=c
24925 ac_cpp='$CPP $CPPFLAGS'
24926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24929
24930
24931 fi
24932
24933 fi
24934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24935 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24936
24937 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24938 for ac_func in _isinfl
24939 do :
24940 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24941 if test "x$ac_cv_func__isinfl" = x""yes; then :
24942 cat >>confdefs.h <<_ACEOF
24943 #define HAVE__ISINFL 1
24944 _ACEOF
24945
24946 fi
24947 done
24948
24949 fi
24950 fi
24951
24952
24953
24954
24955
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24957 $as_echo_n "checking for atan2l declaration... " >&6; }
24958 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24959 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24960 $as_echo_n "(cached) " >&6
24961 else
24962
24963
24964 ac_ext=cpp
24965 ac_cpp='$CXXCPP $CPPFLAGS'
24966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24969
24970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24971 /* end confdefs.h. */
24972 #include <math.h>
24973 int
24974 main ()
24975 {
24976 atan2l(0, 0);
24977 ;
24978 return 0;
24979 }
24980 _ACEOF
24981 if ac_fn_cxx_try_compile "$LINENO"; then :
24982 glibcxx_cv_func_atan2l_use=yes
24983 else
24984 glibcxx_cv_func_atan2l_use=no
24985 fi
24986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24987 ac_ext=c
24988 ac_cpp='$CPP $CPPFLAGS'
24989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24992
24993
24994 fi
24995
24996 fi
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24998 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24999
25000 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25001 for ac_func in atan2l
25002 do :
25003 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25004 if test "x$ac_cv_func_atan2l" = x""yes; then :
25005 cat >>confdefs.h <<_ACEOF
25006 #define HAVE_ATAN2L 1
25007 _ACEOF
25008
25009 fi
25010 done
25011
25012 else
25013
25014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25015 $as_echo_n "checking for _atan2l declaration... " >&6; }
25016 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25017 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25018 $as_echo_n "(cached) " >&6
25019 else
25020
25021
25022 ac_ext=cpp
25023 ac_cpp='$CXXCPP $CPPFLAGS'
25024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25027
25028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25029 /* end confdefs.h. */
25030 #include <math.h>
25031 int
25032 main ()
25033 {
25034 _atan2l(0, 0);
25035 ;
25036 return 0;
25037 }
25038 _ACEOF
25039 if ac_fn_cxx_try_compile "$LINENO"; then :
25040 glibcxx_cv_func__atan2l_use=yes
25041 else
25042 glibcxx_cv_func__atan2l_use=no
25043 fi
25044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25045 ac_ext=c
25046 ac_cpp='$CPP $CPPFLAGS'
25047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25050
25051
25052 fi
25053
25054 fi
25055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25056 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25057
25058 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25059 for ac_func in _atan2l
25060 do :
25061 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25062 if test "x$ac_cv_func__atan2l" = x""yes; then :
25063 cat >>confdefs.h <<_ACEOF
25064 #define HAVE__ATAN2L 1
25065 _ACEOF
25066
25067 fi
25068 done
25069
25070 fi
25071 fi
25072
25073
25074
25075
25076
25077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25078 $as_echo_n "checking for expl declaration... " >&6; }
25079 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25080 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25081 $as_echo_n "(cached) " >&6
25082 else
25083
25084
25085 ac_ext=cpp
25086 ac_cpp='$CXXCPP $CPPFLAGS'
25087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25090
25091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25092 /* end confdefs.h. */
25093 #include <math.h>
25094 #ifdef HAVE_IEEEFP_H
25095 #include <ieeefp.h>
25096 #endif
25097
25098 int
25099 main ()
25100 {
25101 expl(0);
25102 ;
25103 return 0;
25104 }
25105 _ACEOF
25106 if ac_fn_cxx_try_compile "$LINENO"; then :
25107 glibcxx_cv_func_expl_use=yes
25108 else
25109 glibcxx_cv_func_expl_use=no
25110 fi
25111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25112 ac_ext=c
25113 ac_cpp='$CPP $CPPFLAGS'
25114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25117
25118
25119 fi
25120
25121 fi
25122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25123 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25124
25125 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25126 for ac_func in expl
25127 do :
25128 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25129 if test "x$ac_cv_func_expl" = x""yes; then :
25130 cat >>confdefs.h <<_ACEOF
25131 #define HAVE_EXPL 1
25132 _ACEOF
25133
25134 fi
25135 done
25136
25137 else
25138
25139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25140 $as_echo_n "checking for _expl declaration... " >&6; }
25141 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25142 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25143 $as_echo_n "(cached) " >&6
25144 else
25145
25146
25147 ac_ext=cpp
25148 ac_cpp='$CXXCPP $CPPFLAGS'
25149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25152
25153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25154 /* end confdefs.h. */
25155 #include <math.h>
25156 #ifdef HAVE_IEEEFP_H
25157 #include <ieeefp.h>
25158 #endif
25159
25160 int
25161 main ()
25162 {
25163 _expl(0);
25164 ;
25165 return 0;
25166 }
25167 _ACEOF
25168 if ac_fn_cxx_try_compile "$LINENO"; then :
25169 glibcxx_cv_func__expl_use=yes
25170 else
25171 glibcxx_cv_func__expl_use=no
25172 fi
25173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25174 ac_ext=c
25175 ac_cpp='$CPP $CPPFLAGS'
25176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25179
25180
25181 fi
25182
25183 fi
25184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25185 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25186
25187 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25188 for ac_func in _expl
25189 do :
25190 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25191 if test "x$ac_cv_func__expl" = x""yes; then :
25192 cat >>confdefs.h <<_ACEOF
25193 #define HAVE__EXPL 1
25194 _ACEOF
25195
25196 fi
25197 done
25198
25199 fi
25200 fi
25201
25202
25203
25204
25205
25206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25207 $as_echo_n "checking for fabsl declaration... " >&6; }
25208 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25209 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25210 $as_echo_n "(cached) " >&6
25211 else
25212
25213
25214 ac_ext=cpp
25215 ac_cpp='$CXXCPP $CPPFLAGS'
25216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25219
25220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25221 /* end confdefs.h. */
25222 #include <math.h>
25223 #ifdef HAVE_IEEEFP_H
25224 #include <ieeefp.h>
25225 #endif
25226
25227 int
25228 main ()
25229 {
25230 fabsl(0);
25231 ;
25232 return 0;
25233 }
25234 _ACEOF
25235 if ac_fn_cxx_try_compile "$LINENO"; then :
25236 glibcxx_cv_func_fabsl_use=yes
25237 else
25238 glibcxx_cv_func_fabsl_use=no
25239 fi
25240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25241 ac_ext=c
25242 ac_cpp='$CPP $CPPFLAGS'
25243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25246
25247
25248 fi
25249
25250 fi
25251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25252 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25253
25254 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25255 for ac_func in fabsl
25256 do :
25257 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25258 if test "x$ac_cv_func_fabsl" = x""yes; then :
25259 cat >>confdefs.h <<_ACEOF
25260 #define HAVE_FABSL 1
25261 _ACEOF
25262
25263 fi
25264 done
25265
25266 else
25267
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25269 $as_echo_n "checking for _fabsl declaration... " >&6; }
25270 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25271 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25272 $as_echo_n "(cached) " >&6
25273 else
25274
25275
25276 ac_ext=cpp
25277 ac_cpp='$CXXCPP $CPPFLAGS'
25278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25281
25282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25283 /* end confdefs.h. */
25284 #include <math.h>
25285 #ifdef HAVE_IEEEFP_H
25286 #include <ieeefp.h>
25287 #endif
25288
25289 int
25290 main ()
25291 {
25292 _fabsl(0);
25293 ;
25294 return 0;
25295 }
25296 _ACEOF
25297 if ac_fn_cxx_try_compile "$LINENO"; then :
25298 glibcxx_cv_func__fabsl_use=yes
25299 else
25300 glibcxx_cv_func__fabsl_use=no
25301 fi
25302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25303 ac_ext=c
25304 ac_cpp='$CPP $CPPFLAGS'
25305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25308
25309
25310 fi
25311
25312 fi
25313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25314 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25315
25316 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25317 for ac_func in _fabsl
25318 do :
25319 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25320 if test "x$ac_cv_func__fabsl" = x""yes; then :
25321 cat >>confdefs.h <<_ACEOF
25322 #define HAVE__FABSL 1
25323 _ACEOF
25324
25325 fi
25326 done
25327
25328 fi
25329 fi
25330
25331
25332
25333
25334
25335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25336 $as_echo_n "checking for fmodl declaration... " >&6; }
25337 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25338 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25339 $as_echo_n "(cached) " >&6
25340 else
25341
25342
25343 ac_ext=cpp
25344 ac_cpp='$CXXCPP $CPPFLAGS'
25345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25348
25349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25350 /* end confdefs.h. */
25351 #include <math.h>
25352 int
25353 main ()
25354 {
25355 fmodl(0, 0);
25356 ;
25357 return 0;
25358 }
25359 _ACEOF
25360 if ac_fn_cxx_try_compile "$LINENO"; then :
25361 glibcxx_cv_func_fmodl_use=yes
25362 else
25363 glibcxx_cv_func_fmodl_use=no
25364 fi
25365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25366 ac_ext=c
25367 ac_cpp='$CPP $CPPFLAGS'
25368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25371
25372
25373 fi
25374
25375 fi
25376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25377 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25378
25379 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25380 for ac_func in fmodl
25381 do :
25382 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25383 if test "x$ac_cv_func_fmodl" = x""yes; then :
25384 cat >>confdefs.h <<_ACEOF
25385 #define HAVE_FMODL 1
25386 _ACEOF
25387
25388 fi
25389 done
25390
25391 else
25392
25393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25394 $as_echo_n "checking for _fmodl declaration... " >&6; }
25395 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25396 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25397 $as_echo_n "(cached) " >&6
25398 else
25399
25400
25401 ac_ext=cpp
25402 ac_cpp='$CXXCPP $CPPFLAGS'
25403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25406
25407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25408 /* end confdefs.h. */
25409 #include <math.h>
25410 int
25411 main ()
25412 {
25413 _fmodl(0, 0);
25414 ;
25415 return 0;
25416 }
25417 _ACEOF
25418 if ac_fn_cxx_try_compile "$LINENO"; then :
25419 glibcxx_cv_func__fmodl_use=yes
25420 else
25421 glibcxx_cv_func__fmodl_use=no
25422 fi
25423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25424 ac_ext=c
25425 ac_cpp='$CPP $CPPFLAGS'
25426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25429
25430
25431 fi
25432
25433 fi
25434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25435 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25436
25437 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25438 for ac_func in _fmodl
25439 do :
25440 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25441 if test "x$ac_cv_func__fmodl" = x""yes; then :
25442 cat >>confdefs.h <<_ACEOF
25443 #define HAVE__FMODL 1
25444 _ACEOF
25445
25446 fi
25447 done
25448
25449 fi
25450 fi
25451
25452
25453
25454
25455
25456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25457 $as_echo_n "checking for frexpl declaration... " >&6; }
25458 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25459 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25460 $as_echo_n "(cached) " >&6
25461 else
25462
25463
25464 ac_ext=cpp
25465 ac_cpp='$CXXCPP $CPPFLAGS'
25466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25469
25470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25471 /* end confdefs.h. */
25472 #include <math.h>
25473 int
25474 main ()
25475 {
25476 frexpl(0, 0);
25477 ;
25478 return 0;
25479 }
25480 _ACEOF
25481 if ac_fn_cxx_try_compile "$LINENO"; then :
25482 glibcxx_cv_func_frexpl_use=yes
25483 else
25484 glibcxx_cv_func_frexpl_use=no
25485 fi
25486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25487 ac_ext=c
25488 ac_cpp='$CPP $CPPFLAGS'
25489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25492
25493
25494 fi
25495
25496 fi
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25498 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25499
25500 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25501 for ac_func in frexpl
25502 do :
25503 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25504 if test "x$ac_cv_func_frexpl" = x""yes; then :
25505 cat >>confdefs.h <<_ACEOF
25506 #define HAVE_FREXPL 1
25507 _ACEOF
25508
25509 fi
25510 done
25511
25512 else
25513
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25515 $as_echo_n "checking for _frexpl declaration... " >&6; }
25516 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25517 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25518 $as_echo_n "(cached) " >&6
25519 else
25520
25521
25522 ac_ext=cpp
25523 ac_cpp='$CXXCPP $CPPFLAGS'
25524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25527
25528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25529 /* end confdefs.h. */
25530 #include <math.h>
25531 int
25532 main ()
25533 {
25534 _frexpl(0, 0);
25535 ;
25536 return 0;
25537 }
25538 _ACEOF
25539 if ac_fn_cxx_try_compile "$LINENO"; then :
25540 glibcxx_cv_func__frexpl_use=yes
25541 else
25542 glibcxx_cv_func__frexpl_use=no
25543 fi
25544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25545 ac_ext=c
25546 ac_cpp='$CPP $CPPFLAGS'
25547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25550
25551
25552 fi
25553
25554 fi
25555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25556 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25557
25558 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25559 for ac_func in _frexpl
25560 do :
25561 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25562 if test "x$ac_cv_func__frexpl" = x""yes; then :
25563 cat >>confdefs.h <<_ACEOF
25564 #define HAVE__FREXPL 1
25565 _ACEOF
25566
25567 fi
25568 done
25569
25570 fi
25571 fi
25572
25573
25574
25575
25576
25577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25578 $as_echo_n "checking for hypotl declaration... " >&6; }
25579 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25580 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25581 $as_echo_n "(cached) " >&6
25582 else
25583
25584
25585 ac_ext=cpp
25586 ac_cpp='$CXXCPP $CPPFLAGS'
25587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25590
25591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25592 /* end confdefs.h. */
25593 #include <math.h>
25594 int
25595 main ()
25596 {
25597 hypotl(0, 0);
25598 ;
25599 return 0;
25600 }
25601 _ACEOF
25602 if ac_fn_cxx_try_compile "$LINENO"; then :
25603 glibcxx_cv_func_hypotl_use=yes
25604 else
25605 glibcxx_cv_func_hypotl_use=no
25606 fi
25607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25608 ac_ext=c
25609 ac_cpp='$CPP $CPPFLAGS'
25610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25613
25614
25615 fi
25616
25617 fi
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25619 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25620
25621 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25622 for ac_func in hypotl
25623 do :
25624 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25625 if test "x$ac_cv_func_hypotl" = x""yes; then :
25626 cat >>confdefs.h <<_ACEOF
25627 #define HAVE_HYPOTL 1
25628 _ACEOF
25629
25630 fi
25631 done
25632
25633 else
25634
25635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25636 $as_echo_n "checking for _hypotl declaration... " >&6; }
25637 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25638 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25639 $as_echo_n "(cached) " >&6
25640 else
25641
25642
25643 ac_ext=cpp
25644 ac_cpp='$CXXCPP $CPPFLAGS'
25645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25648
25649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25650 /* end confdefs.h. */
25651 #include <math.h>
25652 int
25653 main ()
25654 {
25655 _hypotl(0, 0);
25656 ;
25657 return 0;
25658 }
25659 _ACEOF
25660 if ac_fn_cxx_try_compile "$LINENO"; then :
25661 glibcxx_cv_func__hypotl_use=yes
25662 else
25663 glibcxx_cv_func__hypotl_use=no
25664 fi
25665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25666 ac_ext=c
25667 ac_cpp='$CPP $CPPFLAGS'
25668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25671
25672
25673 fi
25674
25675 fi
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25677 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25678
25679 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25680 for ac_func in _hypotl
25681 do :
25682 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25683 if test "x$ac_cv_func__hypotl" = x""yes; then :
25684 cat >>confdefs.h <<_ACEOF
25685 #define HAVE__HYPOTL 1
25686 _ACEOF
25687
25688 fi
25689 done
25690
25691 fi
25692 fi
25693
25694
25695
25696
25697
25698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25699 $as_echo_n "checking for ldexpl declaration... " >&6; }
25700 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25701 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25702 $as_echo_n "(cached) " >&6
25703 else
25704
25705
25706 ac_ext=cpp
25707 ac_cpp='$CXXCPP $CPPFLAGS'
25708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25711
25712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25713 /* end confdefs.h. */
25714 #include <math.h>
25715 int
25716 main ()
25717 {
25718 ldexpl(0, 0);
25719 ;
25720 return 0;
25721 }
25722 _ACEOF
25723 if ac_fn_cxx_try_compile "$LINENO"; then :
25724 glibcxx_cv_func_ldexpl_use=yes
25725 else
25726 glibcxx_cv_func_ldexpl_use=no
25727 fi
25728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25729 ac_ext=c
25730 ac_cpp='$CPP $CPPFLAGS'
25731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25734
25735
25736 fi
25737
25738 fi
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25740 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25741
25742 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25743 for ac_func in ldexpl
25744 do :
25745 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25746 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25747 cat >>confdefs.h <<_ACEOF
25748 #define HAVE_LDEXPL 1
25749 _ACEOF
25750
25751 fi
25752 done
25753
25754 else
25755
25756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25757 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25758 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25759 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25760 $as_echo_n "(cached) " >&6
25761 else
25762
25763
25764 ac_ext=cpp
25765 ac_cpp='$CXXCPP $CPPFLAGS'
25766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25769
25770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25771 /* end confdefs.h. */
25772 #include <math.h>
25773 int
25774 main ()
25775 {
25776 _ldexpl(0, 0);
25777 ;
25778 return 0;
25779 }
25780 _ACEOF
25781 if ac_fn_cxx_try_compile "$LINENO"; then :
25782 glibcxx_cv_func__ldexpl_use=yes
25783 else
25784 glibcxx_cv_func__ldexpl_use=no
25785 fi
25786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25787 ac_ext=c
25788 ac_cpp='$CPP $CPPFLAGS'
25789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25792
25793
25794 fi
25795
25796 fi
25797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25798 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25799
25800 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25801 for ac_func in _ldexpl
25802 do :
25803 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25804 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25805 cat >>confdefs.h <<_ACEOF
25806 #define HAVE__LDEXPL 1
25807 _ACEOF
25808
25809 fi
25810 done
25811
25812 fi
25813 fi
25814
25815
25816
25817
25818
25819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25820 $as_echo_n "checking for logl declaration... " >&6; }
25821 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25822 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25823 $as_echo_n "(cached) " >&6
25824 else
25825
25826
25827 ac_ext=cpp
25828 ac_cpp='$CXXCPP $CPPFLAGS'
25829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25832
25833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25834 /* end confdefs.h. */
25835 #include <math.h>
25836 #ifdef HAVE_IEEEFP_H
25837 #include <ieeefp.h>
25838 #endif
25839
25840 int
25841 main ()
25842 {
25843 logl(0);
25844 ;
25845 return 0;
25846 }
25847 _ACEOF
25848 if ac_fn_cxx_try_compile "$LINENO"; then :
25849 glibcxx_cv_func_logl_use=yes
25850 else
25851 glibcxx_cv_func_logl_use=no
25852 fi
25853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25854 ac_ext=c
25855 ac_cpp='$CPP $CPPFLAGS'
25856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25859
25860
25861 fi
25862
25863 fi
25864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25865 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25866
25867 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25868 for ac_func in logl
25869 do :
25870 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25871 if test "x$ac_cv_func_logl" = x""yes; then :
25872 cat >>confdefs.h <<_ACEOF
25873 #define HAVE_LOGL 1
25874 _ACEOF
25875
25876 fi
25877 done
25878
25879 else
25880
25881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25882 $as_echo_n "checking for _logl declaration... " >&6; }
25883 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25884 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25885 $as_echo_n "(cached) " >&6
25886 else
25887
25888
25889 ac_ext=cpp
25890 ac_cpp='$CXXCPP $CPPFLAGS'
25891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25894
25895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25896 /* end confdefs.h. */
25897 #include <math.h>
25898 #ifdef HAVE_IEEEFP_H
25899 #include <ieeefp.h>
25900 #endif
25901
25902 int
25903 main ()
25904 {
25905 _logl(0);
25906 ;
25907 return 0;
25908 }
25909 _ACEOF
25910 if ac_fn_cxx_try_compile "$LINENO"; then :
25911 glibcxx_cv_func__logl_use=yes
25912 else
25913 glibcxx_cv_func__logl_use=no
25914 fi
25915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25916 ac_ext=c
25917 ac_cpp='$CPP $CPPFLAGS'
25918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25921
25922
25923 fi
25924
25925 fi
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25927 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25928
25929 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25930 for ac_func in _logl
25931 do :
25932 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25933 if test "x$ac_cv_func__logl" = x""yes; then :
25934 cat >>confdefs.h <<_ACEOF
25935 #define HAVE__LOGL 1
25936 _ACEOF
25937
25938 fi
25939 done
25940
25941 fi
25942 fi
25943
25944
25945
25946
25947
25948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25949 $as_echo_n "checking for log10l declaration... " >&6; }
25950 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25951 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25952 $as_echo_n "(cached) " >&6
25953 else
25954
25955
25956 ac_ext=cpp
25957 ac_cpp='$CXXCPP $CPPFLAGS'
25958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25961
25962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25963 /* end confdefs.h. */
25964 #include <math.h>
25965 #ifdef HAVE_IEEEFP_H
25966 #include <ieeefp.h>
25967 #endif
25968
25969 int
25970 main ()
25971 {
25972 log10l(0);
25973 ;
25974 return 0;
25975 }
25976 _ACEOF
25977 if ac_fn_cxx_try_compile "$LINENO"; then :
25978 glibcxx_cv_func_log10l_use=yes
25979 else
25980 glibcxx_cv_func_log10l_use=no
25981 fi
25982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25983 ac_ext=c
25984 ac_cpp='$CPP $CPPFLAGS'
25985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25988
25989
25990 fi
25991
25992 fi
25993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25994 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25995
25996 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25997 for ac_func in log10l
25998 do :
25999 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26000 if test "x$ac_cv_func_log10l" = x""yes; then :
26001 cat >>confdefs.h <<_ACEOF
26002 #define HAVE_LOG10L 1
26003 _ACEOF
26004
26005 fi
26006 done
26007
26008 else
26009
26010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26011 $as_echo_n "checking for _log10l declaration... " >&6; }
26012 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26013 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26014 $as_echo_n "(cached) " >&6
26015 else
26016
26017
26018 ac_ext=cpp
26019 ac_cpp='$CXXCPP $CPPFLAGS'
26020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26023
26024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26025 /* end confdefs.h. */
26026 #include <math.h>
26027 #ifdef HAVE_IEEEFP_H
26028 #include <ieeefp.h>
26029 #endif
26030
26031 int
26032 main ()
26033 {
26034 _log10l(0);
26035 ;
26036 return 0;
26037 }
26038 _ACEOF
26039 if ac_fn_cxx_try_compile "$LINENO"; then :
26040 glibcxx_cv_func__log10l_use=yes
26041 else
26042 glibcxx_cv_func__log10l_use=no
26043 fi
26044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26045 ac_ext=c
26046 ac_cpp='$CPP $CPPFLAGS'
26047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26050
26051
26052 fi
26053
26054 fi
26055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26056 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26057
26058 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26059 for ac_func in _log10l
26060 do :
26061 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26062 if test "x$ac_cv_func__log10l" = x""yes; then :
26063 cat >>confdefs.h <<_ACEOF
26064 #define HAVE__LOG10L 1
26065 _ACEOF
26066
26067 fi
26068 done
26069
26070 fi
26071 fi
26072
26073
26074
26075
26076
26077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26078 $as_echo_n "checking for modfl declaration... " >&6; }
26079 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26080 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26081 $as_echo_n "(cached) " >&6
26082 else
26083
26084
26085 ac_ext=cpp
26086 ac_cpp='$CXXCPP $CPPFLAGS'
26087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26090
26091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26092 /* end confdefs.h. */
26093 #include <math.h>
26094 int
26095 main ()
26096 {
26097 modfl(0, 0);
26098 ;
26099 return 0;
26100 }
26101 _ACEOF
26102 if ac_fn_cxx_try_compile "$LINENO"; then :
26103 glibcxx_cv_func_modfl_use=yes
26104 else
26105 glibcxx_cv_func_modfl_use=no
26106 fi
26107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26108 ac_ext=c
26109 ac_cpp='$CPP $CPPFLAGS'
26110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26113
26114
26115 fi
26116
26117 fi
26118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26119 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26120
26121 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26122 for ac_func in modfl
26123 do :
26124 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26125 if test "x$ac_cv_func_modfl" = x""yes; then :
26126 cat >>confdefs.h <<_ACEOF
26127 #define HAVE_MODFL 1
26128 _ACEOF
26129
26130 fi
26131 done
26132
26133 else
26134
26135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26136 $as_echo_n "checking for _modfl declaration... " >&6; }
26137 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26138 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26139 $as_echo_n "(cached) " >&6
26140 else
26141
26142
26143 ac_ext=cpp
26144 ac_cpp='$CXXCPP $CPPFLAGS'
26145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26148
26149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26150 /* end confdefs.h. */
26151 #include <math.h>
26152 int
26153 main ()
26154 {
26155 _modfl(0, 0);
26156 ;
26157 return 0;
26158 }
26159 _ACEOF
26160 if ac_fn_cxx_try_compile "$LINENO"; then :
26161 glibcxx_cv_func__modfl_use=yes
26162 else
26163 glibcxx_cv_func__modfl_use=no
26164 fi
26165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26166 ac_ext=c
26167 ac_cpp='$CPP $CPPFLAGS'
26168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26171
26172
26173 fi
26174
26175 fi
26176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26177 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26178
26179 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26180 for ac_func in _modfl
26181 do :
26182 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26183 if test "x$ac_cv_func__modfl" = x""yes; then :
26184 cat >>confdefs.h <<_ACEOF
26185 #define HAVE__MODFL 1
26186 _ACEOF
26187
26188 fi
26189 done
26190
26191 fi
26192 fi
26193
26194
26195
26196
26197
26198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26199 $as_echo_n "checking for powl declaration... " >&6; }
26200 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26201 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26202 $as_echo_n "(cached) " >&6
26203 else
26204
26205
26206 ac_ext=cpp
26207 ac_cpp='$CXXCPP $CPPFLAGS'
26208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26211
26212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26213 /* end confdefs.h. */
26214 #include <math.h>
26215 int
26216 main ()
26217 {
26218 powl(0, 0);
26219 ;
26220 return 0;
26221 }
26222 _ACEOF
26223 if ac_fn_cxx_try_compile "$LINENO"; then :
26224 glibcxx_cv_func_powl_use=yes
26225 else
26226 glibcxx_cv_func_powl_use=no
26227 fi
26228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26229 ac_ext=c
26230 ac_cpp='$CPP $CPPFLAGS'
26231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26234
26235
26236 fi
26237
26238 fi
26239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26240 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26241
26242 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26243 for ac_func in powl
26244 do :
26245 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26246 if test "x$ac_cv_func_powl" = x""yes; then :
26247 cat >>confdefs.h <<_ACEOF
26248 #define HAVE_POWL 1
26249 _ACEOF
26250
26251 fi
26252 done
26253
26254 else
26255
26256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26257 $as_echo_n "checking for _powl declaration... " >&6; }
26258 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26259 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26260 $as_echo_n "(cached) " >&6
26261 else
26262
26263
26264 ac_ext=cpp
26265 ac_cpp='$CXXCPP $CPPFLAGS'
26266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26269
26270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26271 /* end confdefs.h. */
26272 #include <math.h>
26273 int
26274 main ()
26275 {
26276 _powl(0, 0);
26277 ;
26278 return 0;
26279 }
26280 _ACEOF
26281 if ac_fn_cxx_try_compile "$LINENO"; then :
26282 glibcxx_cv_func__powl_use=yes
26283 else
26284 glibcxx_cv_func__powl_use=no
26285 fi
26286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26287 ac_ext=c
26288 ac_cpp='$CPP $CPPFLAGS'
26289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26292
26293
26294 fi
26295
26296 fi
26297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26298 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26299
26300 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26301 for ac_func in _powl
26302 do :
26303 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26304 if test "x$ac_cv_func__powl" = x""yes; then :
26305 cat >>confdefs.h <<_ACEOF
26306 #define HAVE__POWL 1
26307 _ACEOF
26308
26309 fi
26310 done
26311
26312 fi
26313 fi
26314
26315
26316
26317
26318
26319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26320 $as_echo_n "checking for sqrtl declaration... " >&6; }
26321 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26322 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26323 $as_echo_n "(cached) " >&6
26324 else
26325
26326
26327 ac_ext=cpp
26328 ac_cpp='$CXXCPP $CPPFLAGS'
26329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26332
26333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26334 /* end confdefs.h. */
26335 #include <math.h>
26336 #ifdef HAVE_IEEEFP_H
26337 #include <ieeefp.h>
26338 #endif
26339
26340 int
26341 main ()
26342 {
26343 sqrtl(0);
26344 ;
26345 return 0;
26346 }
26347 _ACEOF
26348 if ac_fn_cxx_try_compile "$LINENO"; then :
26349 glibcxx_cv_func_sqrtl_use=yes
26350 else
26351 glibcxx_cv_func_sqrtl_use=no
26352 fi
26353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26354 ac_ext=c
26355 ac_cpp='$CPP $CPPFLAGS'
26356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26359
26360
26361 fi
26362
26363 fi
26364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26365 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26366
26367 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26368 for ac_func in sqrtl
26369 do :
26370 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26371 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26372 cat >>confdefs.h <<_ACEOF
26373 #define HAVE_SQRTL 1
26374 _ACEOF
26375
26376 fi
26377 done
26378
26379 else
26380
26381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26382 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26383 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26384 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26385 $as_echo_n "(cached) " >&6
26386 else
26387
26388
26389 ac_ext=cpp
26390 ac_cpp='$CXXCPP $CPPFLAGS'
26391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26394
26395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26396 /* end confdefs.h. */
26397 #include <math.h>
26398 #ifdef HAVE_IEEEFP_H
26399 #include <ieeefp.h>
26400 #endif
26401
26402 int
26403 main ()
26404 {
26405 _sqrtl(0);
26406 ;
26407 return 0;
26408 }
26409 _ACEOF
26410 if ac_fn_cxx_try_compile "$LINENO"; then :
26411 glibcxx_cv_func__sqrtl_use=yes
26412 else
26413 glibcxx_cv_func__sqrtl_use=no
26414 fi
26415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26416 ac_ext=c
26417 ac_cpp='$CPP $CPPFLAGS'
26418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26421
26422
26423 fi
26424
26425 fi
26426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26427 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26428
26429 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26430 for ac_func in _sqrtl
26431 do :
26432 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26433 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26434 cat >>confdefs.h <<_ACEOF
26435 #define HAVE__SQRTL 1
26436 _ACEOF
26437
26438 fi
26439 done
26440
26441 fi
26442 fi
26443
26444
26445
26446
26447
26448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26449 $as_echo_n "checking for sincosl declaration... " >&6; }
26450 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26451 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26452 $as_echo_n "(cached) " >&6
26453 else
26454
26455
26456 ac_ext=cpp
26457 ac_cpp='$CXXCPP $CPPFLAGS'
26458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26461
26462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26463 /* end confdefs.h. */
26464 #include <math.h>
26465 int
26466 main ()
26467 {
26468 sincosl(0, 0, 0);
26469 ;
26470 return 0;
26471 }
26472 _ACEOF
26473 if ac_fn_cxx_try_compile "$LINENO"; then :
26474 glibcxx_cv_func_sincosl_use=yes
26475 else
26476 glibcxx_cv_func_sincosl_use=no
26477 fi
26478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26479 ac_ext=c
26480 ac_cpp='$CPP $CPPFLAGS'
26481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26484
26485
26486 fi
26487
26488 fi
26489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26490 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26491
26492 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26493 for ac_func in sincosl
26494 do :
26495 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26496 if test "x$ac_cv_func_sincosl" = x""yes; then :
26497 cat >>confdefs.h <<_ACEOF
26498 #define HAVE_SINCOSL 1
26499 _ACEOF
26500
26501 fi
26502 done
26503
26504 else
26505
26506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26507 $as_echo_n "checking for _sincosl declaration... " >&6; }
26508 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26509 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26510 $as_echo_n "(cached) " >&6
26511 else
26512
26513
26514 ac_ext=cpp
26515 ac_cpp='$CXXCPP $CPPFLAGS'
26516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26519
26520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26521 /* end confdefs.h. */
26522 #include <math.h>
26523 int
26524 main ()
26525 {
26526 _sincosl(0, 0, 0);
26527 ;
26528 return 0;
26529 }
26530 _ACEOF
26531 if ac_fn_cxx_try_compile "$LINENO"; then :
26532 glibcxx_cv_func__sincosl_use=yes
26533 else
26534 glibcxx_cv_func__sincosl_use=no
26535 fi
26536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26537 ac_ext=c
26538 ac_cpp='$CPP $CPPFLAGS'
26539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26542
26543
26544 fi
26545
26546 fi
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26548 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26549
26550 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26551 for ac_func in _sincosl
26552 do :
26553 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26554 if test "x$ac_cv_func__sincosl" = x""yes; then :
26555 cat >>confdefs.h <<_ACEOF
26556 #define HAVE__SINCOSL 1
26557 _ACEOF
26558
26559 fi
26560 done
26561
26562 fi
26563 fi
26564
26565
26566
26567
26568
26569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26570 $as_echo_n "checking for finitel declaration... " >&6; }
26571 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26572 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26573 $as_echo_n "(cached) " >&6
26574 else
26575
26576
26577 ac_ext=cpp
26578 ac_cpp='$CXXCPP $CPPFLAGS'
26579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26582
26583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26584 /* end confdefs.h. */
26585 #include <math.h>
26586 #ifdef HAVE_IEEEFP_H
26587 #include <ieeefp.h>
26588 #endif
26589
26590 int
26591 main ()
26592 {
26593 finitel(0);
26594 ;
26595 return 0;
26596 }
26597 _ACEOF
26598 if ac_fn_cxx_try_compile "$LINENO"; then :
26599 glibcxx_cv_func_finitel_use=yes
26600 else
26601 glibcxx_cv_func_finitel_use=no
26602 fi
26603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26604 ac_ext=c
26605 ac_cpp='$CPP $CPPFLAGS'
26606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26609
26610
26611 fi
26612
26613 fi
26614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26615 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26616
26617 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26618 for ac_func in finitel
26619 do :
26620 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26621 if test "x$ac_cv_func_finitel" = x""yes; then :
26622 cat >>confdefs.h <<_ACEOF
26623 #define HAVE_FINITEL 1
26624 _ACEOF
26625
26626 fi
26627 done
26628
26629 else
26630
26631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26632 $as_echo_n "checking for _finitel declaration... " >&6; }
26633 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26634 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26635 $as_echo_n "(cached) " >&6
26636 else
26637
26638
26639 ac_ext=cpp
26640 ac_cpp='$CXXCPP $CPPFLAGS'
26641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26644
26645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26646 /* end confdefs.h. */
26647 #include <math.h>
26648 #ifdef HAVE_IEEEFP_H
26649 #include <ieeefp.h>
26650 #endif
26651
26652 int
26653 main ()
26654 {
26655 _finitel(0);
26656 ;
26657 return 0;
26658 }
26659 _ACEOF
26660 if ac_fn_cxx_try_compile "$LINENO"; then :
26661 glibcxx_cv_func__finitel_use=yes
26662 else
26663 glibcxx_cv_func__finitel_use=no
26664 fi
26665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26666 ac_ext=c
26667 ac_cpp='$CPP $CPPFLAGS'
26668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26671
26672
26673 fi
26674
26675 fi
26676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26677 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26678
26679 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26680 for ac_func in _finitel
26681 do :
26682 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26683 if test "x$ac_cv_func__finitel" = x""yes; then :
26684 cat >>confdefs.h <<_ACEOF
26685 #define HAVE__FINITEL 1
26686 _ACEOF
26687
26688 fi
26689 done
26690
26691 fi
26692 fi
26693
26694
26695
26696
26697 LIBS="$ac_save_LIBS"
26698 CXXFLAGS="$ac_save_CXXFLAGS"
26699
26700
26701 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26702 ac_save_CXXFLAGS="$CXXFLAGS"
26703 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26704
26705
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26707 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26708 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26709 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26710 $as_echo_n "(cached) " >&6
26711 else
26712
26713
26714 ac_ext=cpp
26715 ac_cpp='$CXXCPP $CPPFLAGS'
26716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26719
26720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26721 /* end confdefs.h. */
26722 #include <stdlib.h>
26723 int
26724 main ()
26725 {
26726 at_quick_exit(0);
26727 ;
26728 return 0;
26729 }
26730 _ACEOF
26731 if ac_fn_cxx_try_compile "$LINENO"; then :
26732 glibcxx_cv_func_at_quick_exit_use=yes
26733 else
26734 glibcxx_cv_func_at_quick_exit_use=no
26735 fi
26736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26737 ac_ext=c
26738 ac_cpp='$CPP $CPPFLAGS'
26739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26742
26743
26744 fi
26745
26746 fi
26747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26748 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26749 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26750 for ac_func in at_quick_exit
26751 do :
26752 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26753 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26754 cat >>confdefs.h <<_ACEOF
26755 #define HAVE_AT_QUICK_EXIT 1
26756 _ACEOF
26757
26758 fi
26759 done
26760
26761 fi
26762
26763
26764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26765 $as_echo_n "checking for quick_exit declaration... " >&6; }
26766 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26767 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26768 $as_echo_n "(cached) " >&6
26769 else
26770
26771
26772 ac_ext=cpp
26773 ac_cpp='$CXXCPP $CPPFLAGS'
26774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26777
26778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26779 /* end confdefs.h. */
26780 #include <stdlib.h>
26781 int
26782 main ()
26783 {
26784 quick_exit(0);
26785 ;
26786 return 0;
26787 }
26788 _ACEOF
26789 if ac_fn_cxx_try_compile "$LINENO"; then :
26790 glibcxx_cv_func_quick_exit_use=yes
26791 else
26792 glibcxx_cv_func_quick_exit_use=no
26793 fi
26794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26795 ac_ext=c
26796 ac_cpp='$CPP $CPPFLAGS'
26797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26800
26801
26802 fi
26803
26804 fi
26805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26806 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26807 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26808 for ac_func in quick_exit
26809 do :
26810 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26811 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26812 cat >>confdefs.h <<_ACEOF
26813 #define HAVE_QUICK_EXIT 1
26814 _ACEOF
26815
26816 fi
26817 done
26818
26819 fi
26820
26821
26822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26823 $as_echo_n "checking for strtold declaration... " >&6; }
26824 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26825 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26826 $as_echo_n "(cached) " >&6
26827 else
26828
26829
26830 ac_ext=cpp
26831 ac_cpp='$CXXCPP $CPPFLAGS'
26832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26835
26836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26837 /* end confdefs.h. */
26838 #include <stdlib.h>
26839 int
26840 main ()
26841 {
26842 strtold(0, 0);
26843 ;
26844 return 0;
26845 }
26846 _ACEOF
26847 if ac_fn_cxx_try_compile "$LINENO"; then :
26848 glibcxx_cv_func_strtold_use=yes
26849 else
26850 glibcxx_cv_func_strtold_use=no
26851 fi
26852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26853 ac_ext=c
26854 ac_cpp='$CPP $CPPFLAGS'
26855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26858
26859
26860 fi
26861
26862 fi
26863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26864 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26865 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26866 for ac_func in strtold
26867 do :
26868 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26869 if test "x$ac_cv_func_strtold" = x""yes; then :
26870 cat >>confdefs.h <<_ACEOF
26871 #define HAVE_STRTOLD 1
26872 _ACEOF
26873
26874 fi
26875 done
26876
26877 fi
26878
26879
26880
26881
26882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26883 $as_echo_n "checking for strtof declaration... " >&6; }
26884 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26885 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26886 $as_echo_n "(cached) " >&6
26887 else
26888
26889
26890 ac_ext=cpp
26891 ac_cpp='$CXXCPP $CPPFLAGS'
26892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26895
26896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26897 /* end confdefs.h. */
26898 #include <stdlib.h>
26899 int
26900 main ()
26901 {
26902 strtof(0, 0);
26903 ;
26904 return 0;
26905 }
26906 _ACEOF
26907 if ac_fn_cxx_try_compile "$LINENO"; then :
26908 glibcxx_cv_func_strtof_use=yes
26909 else
26910 glibcxx_cv_func_strtof_use=no
26911 fi
26912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26913 ac_ext=c
26914 ac_cpp='$CPP $CPPFLAGS'
26915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26918
26919
26920 fi
26921
26922 fi
26923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26924 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26925 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26926 for ac_func in strtof
26927 do :
26928 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26929 if test "x$ac_cv_func_strtof" = x""yes; then :
26930 cat >>confdefs.h <<_ACEOF
26931 #define HAVE_STRTOF 1
26932 _ACEOF
26933
26934 fi
26935 done
26936
26937 fi
26938
26939
26940
26941
26942 CXXFLAGS="$ac_save_CXXFLAGS"
26943
26944
26945 # For /dev/random and /dev/urandom for TR1.
26946
26947
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26949 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26950 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26951 $as_echo_n "(cached) " >&6
26952 else
26953
26954 if test -r /dev/random && test -r /dev/urandom; then
26955 ## For MSys environment the test above is detect as false-positive
26956 ## on mingw-targets. So disable it explicit for them.
26957 case ${target_os} in
26958 *mingw*) glibcxx_cv_random_tr1=no ;;
26959 *) glibcxx_cv_random_tr1=yes ;;
26960 esac
26961 else
26962 glibcxx_cv_random_tr1=no;
26963 fi
26964
26965 fi
26966
26967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26968 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26969
26970 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26971
26972 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26973
26974 fi
26975
26976
26977
26978 # For TLS support.
26979
26980
26981 # Check whether --enable-tls was given.
26982 if test "${enable_tls+set}" = set; then :
26983 enableval=$enable_tls;
26984 case "$enableval" in
26985 yes|no) ;;
26986 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26987 esac
26988
26989 else
26990 enable_tls=yes
26991 fi
26992
26993
26994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26995 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26996 if test "${gcc_cv_have_tls+set}" = set; then :
26997 $as_echo_n "(cached) " >&6
26998 else
26999
27000 if test "$cross_compiling" = yes; then :
27001 if test x$gcc_no_link = xyes; then
27002 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27003 fi
27004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27005 /* end confdefs.h. */
27006 __thread int a; int b; int main() { return a = b; }
27007 _ACEOF
27008 if ac_fn_c_try_link "$LINENO"; then :
27009 chktls_save_LDFLAGS="$LDFLAGS"
27010 case $host in
27011 *-*-linux*)
27012 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27013 ;;
27014 esac
27015 chktls_save_CFLAGS="$CFLAGS"
27016 CFLAGS="-fPIC $CFLAGS"
27017 if test x$gcc_no_link = xyes; then
27018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27019 fi
27020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27021 /* end confdefs.h. */
27022 int f() { return 0; }
27023 _ACEOF
27024 if ac_fn_c_try_link "$LINENO"; then :
27025 if test x$gcc_no_link = xyes; then
27026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27027 fi
27028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27029 /* end confdefs.h. */
27030 __thread int a; int b; int f() { return a = b; }
27031 _ACEOF
27032 if ac_fn_c_try_link "$LINENO"; then :
27033 gcc_cv_have_tls=yes
27034 else
27035 gcc_cv_have_tls=no
27036 fi
27037 rm -f core conftest.err conftest.$ac_objext \
27038 conftest$ac_exeext conftest.$ac_ext
27039 else
27040 gcc_cv_have_tls=yes
27041 fi
27042 rm -f core conftest.err conftest.$ac_objext \
27043 conftest$ac_exeext conftest.$ac_ext
27044 CFLAGS="$chktls_save_CFLAGS"
27045 LDFLAGS="$chktls_save_LDFLAGS"
27046 else
27047 gcc_cv_have_tls=no
27048 fi
27049 rm -f core conftest.err conftest.$ac_objext \
27050 conftest$ac_exeext conftest.$ac_ext
27051
27052
27053 else
27054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27055 /* end confdefs.h. */
27056 __thread int a; int b; int main() { return a = b; }
27057 _ACEOF
27058 if ac_fn_c_try_run "$LINENO"; then :
27059 chktls_save_LDFLAGS="$LDFLAGS"
27060 LDFLAGS="-static $LDFLAGS"
27061 if test x$gcc_no_link = xyes; then
27062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27063 fi
27064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27065 /* end confdefs.h. */
27066 int main() { return 0; }
27067 _ACEOF
27068 if ac_fn_c_try_link "$LINENO"; then :
27069 if test "$cross_compiling" = yes; then :
27070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27072 as_fn_error "cannot run test program while cross compiling
27073 See \`config.log' for more details." "$LINENO" 5; }
27074 else
27075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27076 /* end confdefs.h. */
27077 __thread int a; int b; int main() { return a = b; }
27078 _ACEOF
27079 if ac_fn_c_try_run "$LINENO"; then :
27080 gcc_cv_have_tls=yes
27081 else
27082 gcc_cv_have_tls=no
27083 fi
27084 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27085 conftest.$ac_objext conftest.beam conftest.$ac_ext
27086 fi
27087
27088 else
27089 gcc_cv_have_tls=yes
27090 fi
27091 rm -f core conftest.err conftest.$ac_objext \
27092 conftest$ac_exeext conftest.$ac_ext
27093 LDFLAGS="$chktls_save_LDFLAGS"
27094 if test $gcc_cv_have_tls = yes; then
27095 chktls_save_CFLAGS="$CFLAGS"
27096 thread_CFLAGS=failed
27097 for flag in '' '-pthread' '-lpthread'; do
27098 CFLAGS="$flag $chktls_save_CFLAGS"
27099 if test x$gcc_no_link = xyes; then
27100 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27101 fi
27102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27103 /* end confdefs.h. */
27104 #include <pthread.h>
27105 void *g(void *d) { return NULL; }
27106 int
27107 main ()
27108 {
27109 pthread_t t; pthread_create(&t,NULL,g,NULL);
27110 ;
27111 return 0;
27112 }
27113 _ACEOF
27114 if ac_fn_c_try_link "$LINENO"; then :
27115 thread_CFLAGS="$flag"
27116 fi
27117 rm -f core conftest.err conftest.$ac_objext \
27118 conftest$ac_exeext conftest.$ac_ext
27119 if test "X$thread_CFLAGS" != Xfailed; then
27120 break
27121 fi
27122 done
27123 CFLAGS="$chktls_save_CFLAGS"
27124 if test "X$thread_CFLAGS" != Xfailed; then
27125 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27126 if test "$cross_compiling" = yes; then :
27127 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27128 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27129 as_fn_error "cannot run test program while cross compiling
27130 See \`config.log' for more details." "$LINENO" 5; }
27131 else
27132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27133 /* end confdefs.h. */
27134 #include <pthread.h>
27135 __thread int a;
27136 static int *volatile a_in_other_thread;
27137 static void *
27138 thread_func (void *arg)
27139 {
27140 a_in_other_thread = &a;
27141 return (void *)0;
27142 }
27143 int
27144 main ()
27145 {
27146 pthread_t thread;
27147 void *thread_retval;
27148 int *volatile a_in_main_thread;
27149 a_in_main_thread = &a;
27150 if (pthread_create (&thread, (pthread_attr_t *)0,
27151 thread_func, (void *)0))
27152 return 0;
27153 if (pthread_join (thread, &thread_retval))
27154 return 0;
27155 return (a_in_other_thread == a_in_main_thread);
27156 ;
27157 return 0;
27158 }
27159 _ACEOF
27160 if ac_fn_c_try_run "$LINENO"; then :
27161 gcc_cv_have_tls=yes
27162 else
27163 gcc_cv_have_tls=no
27164 fi
27165 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27166 conftest.$ac_objext conftest.beam conftest.$ac_ext
27167 fi
27168
27169 CFLAGS="$chktls_save_CFLAGS"
27170 fi
27171 fi
27172 else
27173 gcc_cv_have_tls=no
27174 fi
27175 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27176 conftest.$ac_objext conftest.beam conftest.$ac_ext
27177 fi
27178
27179 fi
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27181 $as_echo "$gcc_cv_have_tls" >&6; }
27182 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27183
27184 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27185
27186 fi
27187
27188 for ac_func in __cxa_thread_atexit_impl
27189 do :
27190 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27191 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27192 cat >>confdefs.h <<_ACEOF
27193 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27194 _ACEOF
27195
27196 fi
27197 done
27198
27199
27200 # For iconv support.
27201
27202 if test "X$prefix" = "XNONE"; then
27203 acl_final_prefix="$ac_default_prefix"
27204 else
27205 acl_final_prefix="$prefix"
27206 fi
27207 if test "X$exec_prefix" = "XNONE"; then
27208 acl_final_exec_prefix='${prefix}'
27209 else
27210 acl_final_exec_prefix="$exec_prefix"
27211 fi
27212 acl_save_prefix="$prefix"
27213 prefix="$acl_final_prefix"
27214 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27215 prefix="$acl_save_prefix"
27216
27217
27218 # Check whether --with-gnu-ld was given.
27219 if test "${with_gnu_ld+set}" = set; then :
27220 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27221 else
27222 with_gnu_ld=no
27223 fi
27224
27225 # Prepare PATH_SEPARATOR.
27226 # The user is always right.
27227 if test "${PATH_SEPARATOR+set}" != set; then
27228 echo "#! /bin/sh" >conf$$.sh
27229 echo "exit 0" >>conf$$.sh
27230 chmod +x conf$$.sh
27231 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27232 PATH_SEPARATOR=';'
27233 else
27234 PATH_SEPARATOR=:
27235 fi
27236 rm -f conf$$.sh
27237 fi
27238 ac_prog=ld
27239 if test "$GCC" = yes; then
27240 # Check if gcc -print-prog-name=ld gives a path.
27241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27242 $as_echo_n "checking for ld used by GCC... " >&6; }
27243 case $host in
27244 *-*-mingw*)
27245 # gcc leaves a trailing carriage return which upsets mingw
27246 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27247 *)
27248 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27249 esac
27250 case $ac_prog in
27251 # Accept absolute paths.
27252 [\\/]* | [A-Za-z]:[\\/]*)
27253 re_direlt='/[^/][^/]*/\.\./'
27254 # Canonicalize the path of ld
27255 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27256 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27257 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27258 done
27259 test -z "$LD" && LD="$ac_prog"
27260 ;;
27261 "")
27262 # If it fails, then pretend we aren't using GCC.
27263 ac_prog=ld
27264 ;;
27265 *)
27266 # If it is relative, then search for the first ld in PATH.
27267 with_gnu_ld=unknown
27268 ;;
27269 esac
27270 elif test "$with_gnu_ld" = yes; then
27271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27272 $as_echo_n "checking for GNU ld... " >&6; }
27273 else
27274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27275 $as_echo_n "checking for non-GNU ld... " >&6; }
27276 fi
27277 if test "${acl_cv_path_LD+set}" = set; then :
27278 $as_echo_n "(cached) " >&6
27279 else
27280 if test -z "$LD"; then
27281 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27282 for ac_dir in $PATH; do
27283 test -z "$ac_dir" && ac_dir=.
27284 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27285 acl_cv_path_LD="$ac_dir/$ac_prog"
27286 # Check to see if the program is GNU ld. I'd rather use --version,
27287 # but apparently some GNU ld's only accept -v.
27288 # Break only if it was the GNU/non-GNU ld that we prefer.
27289 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27290 test "$with_gnu_ld" != no && break
27291 else
27292 test "$with_gnu_ld" != yes && break
27293 fi
27294 fi
27295 done
27296 IFS="$ac_save_ifs"
27297 else
27298 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27299 fi
27300 fi
27301
27302 LD="$acl_cv_path_LD"
27303 if test -n "$LD"; then
27304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27305 $as_echo "$LD" >&6; }
27306 else
27307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27308 $as_echo "no" >&6; }
27309 fi
27310 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27312 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27313 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27314 $as_echo_n "(cached) " >&6
27315 else
27316 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27317 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27318 acl_cv_prog_gnu_ld=yes
27319 else
27320 acl_cv_prog_gnu_ld=no
27321 fi
27322 fi
27323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27324 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27325 with_gnu_ld=$acl_cv_prog_gnu_ld
27326
27327
27328
27329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27330 $as_echo_n "checking for shared library run path origin... " >&6; }
27331 if test "${acl_cv_rpath+set}" = set; then :
27332 $as_echo_n "(cached) " >&6
27333 else
27334
27335 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27336 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27337 . ./conftest.sh
27338 rm -f ./conftest.sh
27339 acl_cv_rpath=done
27340
27341 fi
27342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27343 $as_echo "$acl_cv_rpath" >&6; }
27344 wl="$acl_cv_wl"
27345 libext="$acl_cv_libext"
27346 shlibext="$acl_cv_shlibext"
27347 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27348 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27349 hardcode_direct="$acl_cv_hardcode_direct"
27350 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27351 # Check whether --enable-rpath was given.
27352 if test "${enable_rpath+set}" = set; then :
27353 enableval=$enable_rpath; :
27354 else
27355 enable_rpath=yes
27356 fi
27357
27358
27359
27360
27361
27362
27363
27364
27365 use_additional=yes
27366
27367 acl_save_prefix="$prefix"
27368 prefix="$acl_final_prefix"
27369 acl_save_exec_prefix="$exec_prefix"
27370 exec_prefix="$acl_final_exec_prefix"
27371
27372 eval additional_includedir=\"$includedir\"
27373 eval additional_libdir=\"$libdir\"
27374
27375 exec_prefix="$acl_save_exec_prefix"
27376 prefix="$acl_save_prefix"
27377
27378
27379 # Check whether --with-libiconv-prefix was given.
27380 if test "${with_libiconv_prefix+set}" = set; then :
27381 withval=$with_libiconv_prefix;
27382 if test "X$withval" = "Xno"; then
27383 use_additional=no
27384 else
27385 if test "X$withval" = "X"; then
27386
27387 acl_save_prefix="$prefix"
27388 prefix="$acl_final_prefix"
27389 acl_save_exec_prefix="$exec_prefix"
27390 exec_prefix="$acl_final_exec_prefix"
27391
27392 eval additional_includedir=\"$includedir\"
27393 eval additional_libdir=\"$libdir\"
27394
27395 exec_prefix="$acl_save_exec_prefix"
27396 prefix="$acl_save_prefix"
27397
27398 else
27399 additional_includedir="$withval/include"
27400 additional_libdir="$withval/lib"
27401 fi
27402 fi
27403
27404 fi
27405
27406 LIBICONV=
27407 LTLIBICONV=
27408 INCICONV=
27409 rpathdirs=
27410 ltrpathdirs=
27411 names_already_handled=
27412 names_next_round='iconv '
27413 while test -n "$names_next_round"; do
27414 names_this_round="$names_next_round"
27415 names_next_round=
27416 for name in $names_this_round; do
27417 already_handled=
27418 for n in $names_already_handled; do
27419 if test "$n" = "$name"; then
27420 already_handled=yes
27421 break
27422 fi
27423 done
27424 if test -z "$already_handled"; then
27425 names_already_handled="$names_already_handled $name"
27426 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27427 eval value=\"\$HAVE_LIB$uppername\"
27428 if test -n "$value"; then
27429 if test "$value" = yes; then
27430 eval value=\"\$LIB$uppername\"
27431 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27432 eval value=\"\$LTLIB$uppername\"
27433 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27434 else
27435 :
27436 fi
27437 else
27438 found_dir=
27439 found_la=
27440 found_so=
27441 found_a=
27442 if test $use_additional = yes; then
27443 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27444 found_dir="$additional_libdir"
27445 found_so="$additional_libdir/lib$name.$shlibext"
27446 if test -f "$additional_libdir/lib$name.la"; then
27447 found_la="$additional_libdir/lib$name.la"
27448 fi
27449 else
27450 if test -f "$additional_libdir/lib$name.$libext"; then
27451 found_dir="$additional_libdir"
27452 found_a="$additional_libdir/lib$name.$libext"
27453 if test -f "$additional_libdir/lib$name.la"; then
27454 found_la="$additional_libdir/lib$name.la"
27455 fi
27456 fi
27457 fi
27458 fi
27459 if test "X$found_dir" = "X"; then
27460 for x in $LDFLAGS $LTLIBICONV; do
27461
27462 acl_save_prefix="$prefix"
27463 prefix="$acl_final_prefix"
27464 acl_save_exec_prefix="$exec_prefix"
27465 exec_prefix="$acl_final_exec_prefix"
27466 eval x=\"$x\"
27467 exec_prefix="$acl_save_exec_prefix"
27468 prefix="$acl_save_prefix"
27469
27470 case "$x" in
27471 -L*)
27472 dir=`echo "X$x" | sed -e 's/^X-L//'`
27473 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27474 found_dir="$dir"
27475 found_so="$dir/lib$name.$shlibext"
27476 if test -f "$dir/lib$name.la"; then
27477 found_la="$dir/lib$name.la"
27478 fi
27479 else
27480 if test -f "$dir/lib$name.$libext"; then
27481 found_dir="$dir"
27482 found_a="$dir/lib$name.$libext"
27483 if test -f "$dir/lib$name.la"; then
27484 found_la="$dir/lib$name.la"
27485 fi
27486 fi
27487 fi
27488 ;;
27489 esac
27490 if test "X$found_dir" != "X"; then
27491 break
27492 fi
27493 done
27494 fi
27495 if test "X$found_dir" != "X"; then
27496 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27497 if test "X$found_so" != "X"; then
27498 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27499 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27500 else
27501 haveit=
27502 for x in $ltrpathdirs; do
27503 if test "X$x" = "X$found_dir"; then
27504 haveit=yes
27505 break
27506 fi
27507 done
27508 if test -z "$haveit"; then
27509 ltrpathdirs="$ltrpathdirs $found_dir"
27510 fi
27511 if test "$hardcode_direct" = yes; then
27512 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27513 else
27514 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27515 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27516 haveit=
27517 for x in $rpathdirs; do
27518 if test "X$x" = "X$found_dir"; then
27519 haveit=yes
27520 break
27521 fi
27522 done
27523 if test -z "$haveit"; then
27524 rpathdirs="$rpathdirs $found_dir"
27525 fi
27526 else
27527 haveit=
27528 for x in $LDFLAGS $LIBICONV; do
27529
27530 acl_save_prefix="$prefix"
27531 prefix="$acl_final_prefix"
27532 acl_save_exec_prefix="$exec_prefix"
27533 exec_prefix="$acl_final_exec_prefix"
27534 eval x=\"$x\"
27535 exec_prefix="$acl_save_exec_prefix"
27536 prefix="$acl_save_prefix"
27537
27538 if test "X$x" = "X-L$found_dir"; then
27539 haveit=yes
27540 break
27541 fi
27542 done
27543 if test -z "$haveit"; then
27544 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27545 fi
27546 if test "$hardcode_minus_L" != no; then
27547 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27548 else
27549 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27550 fi
27551 fi
27552 fi
27553 fi
27554 else
27555 if test "X$found_a" != "X"; then
27556 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27557 else
27558 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27559 fi
27560 fi
27561 additional_includedir=
27562 case "$found_dir" in
27563 */lib | */lib/)
27564 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27565 additional_includedir="$basedir/include"
27566 ;;
27567 esac
27568 if test "X$additional_includedir" != "X"; then
27569 if test "X$additional_includedir" != "X/usr/include"; then
27570 haveit=
27571 if test "X$additional_includedir" = "X/usr/local/include"; then
27572 if test -n "$GCC"; then
27573 case $host_os in
27574 linux*) haveit=yes;;
27575 esac
27576 fi
27577 fi
27578 if test -z "$haveit"; then
27579 for x in $CPPFLAGS $INCICONV; do
27580
27581 acl_save_prefix="$prefix"
27582 prefix="$acl_final_prefix"
27583 acl_save_exec_prefix="$exec_prefix"
27584 exec_prefix="$acl_final_exec_prefix"
27585 eval x=\"$x\"
27586 exec_prefix="$acl_save_exec_prefix"
27587 prefix="$acl_save_prefix"
27588
27589 if test "X$x" = "X-I$additional_includedir"; then
27590 haveit=yes
27591 break
27592 fi
27593 done
27594 if test -z "$haveit"; then
27595 if test -d "$additional_includedir"; then
27596 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27597 fi
27598 fi
27599 fi
27600 fi
27601 fi
27602 if test -n "$found_la"; then
27603 save_libdir="$libdir"
27604 case "$found_la" in
27605 */* | *\\*) . "$found_la" ;;
27606 *) . "./$found_la" ;;
27607 esac
27608 libdir="$save_libdir"
27609 for dep in $dependency_libs; do
27610 case "$dep" in
27611 -L*)
27612 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27613 if test "X$additional_libdir" != "X/usr/lib"; then
27614 haveit=
27615 if test "X$additional_libdir" = "X/usr/local/lib"; then
27616 if test -n "$GCC"; then
27617 case $host_os in
27618 linux*) haveit=yes;;
27619 esac
27620 fi
27621 fi
27622 if test -z "$haveit"; then
27623 haveit=
27624 for x in $LDFLAGS $LIBICONV; do
27625
27626 acl_save_prefix="$prefix"
27627 prefix="$acl_final_prefix"
27628 acl_save_exec_prefix="$exec_prefix"
27629 exec_prefix="$acl_final_exec_prefix"
27630 eval x=\"$x\"
27631 exec_prefix="$acl_save_exec_prefix"
27632 prefix="$acl_save_prefix"
27633
27634 if test "X$x" = "X-L$additional_libdir"; then
27635 haveit=yes
27636 break
27637 fi
27638 done
27639 if test -z "$haveit"; then
27640 if test -d "$additional_libdir"; then
27641 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27642 fi
27643 fi
27644 haveit=
27645 for x in $LDFLAGS $LTLIBICONV; do
27646
27647 acl_save_prefix="$prefix"
27648 prefix="$acl_final_prefix"
27649 acl_save_exec_prefix="$exec_prefix"
27650 exec_prefix="$acl_final_exec_prefix"
27651 eval x=\"$x\"
27652 exec_prefix="$acl_save_exec_prefix"
27653 prefix="$acl_save_prefix"
27654
27655 if test "X$x" = "X-L$additional_libdir"; then
27656 haveit=yes
27657 break
27658 fi
27659 done
27660 if test -z "$haveit"; then
27661 if test -d "$additional_libdir"; then
27662 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27663 fi
27664 fi
27665 fi
27666 fi
27667 ;;
27668 -R*)
27669 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27670 if test "$enable_rpath" != no; then
27671 haveit=
27672 for x in $rpathdirs; do
27673 if test "X$x" = "X$dir"; then
27674 haveit=yes
27675 break
27676 fi
27677 done
27678 if test -z "$haveit"; then
27679 rpathdirs="$rpathdirs $dir"
27680 fi
27681 haveit=
27682 for x in $ltrpathdirs; do
27683 if test "X$x" = "X$dir"; then
27684 haveit=yes
27685 break
27686 fi
27687 done
27688 if test -z "$haveit"; then
27689 ltrpathdirs="$ltrpathdirs $dir"
27690 fi
27691 fi
27692 ;;
27693 -l*)
27694 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27695 ;;
27696 *.la)
27697 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27698 ;;
27699 *)
27700 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27701 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27702 ;;
27703 esac
27704 done
27705 fi
27706 else
27707 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27708 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27709 fi
27710 fi
27711 fi
27712 done
27713 done
27714 if test "X$rpathdirs" != "X"; then
27715 if test -n "$hardcode_libdir_separator"; then
27716 alldirs=
27717 for found_dir in $rpathdirs; do
27718 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27719 done
27720 acl_save_libdir="$libdir"
27721 libdir="$alldirs"
27722 eval flag=\"$hardcode_libdir_flag_spec\"
27723 libdir="$acl_save_libdir"
27724 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27725 else
27726 for found_dir in $rpathdirs; do
27727 acl_save_libdir="$libdir"
27728 libdir="$found_dir"
27729 eval flag=\"$hardcode_libdir_flag_spec\"
27730 libdir="$acl_save_libdir"
27731 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27732 done
27733 fi
27734 fi
27735 if test "X$ltrpathdirs" != "X"; then
27736 for found_dir in $ltrpathdirs; do
27737 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27738 done
27739 fi
27740
27741
27742
27743
27744
27745
27746
27747 am_save_CPPFLAGS="$CPPFLAGS"
27748
27749 for element in $INCICONV; do
27750 haveit=
27751 for x in $CPPFLAGS; do
27752
27753 acl_save_prefix="$prefix"
27754 prefix="$acl_final_prefix"
27755 acl_save_exec_prefix="$exec_prefix"
27756 exec_prefix="$acl_final_exec_prefix"
27757 eval x=\"$x\"
27758 exec_prefix="$acl_save_exec_prefix"
27759 prefix="$acl_save_prefix"
27760
27761 if test "X$x" = "X$element"; then
27762 haveit=yes
27763 break
27764 fi
27765 done
27766 if test -z "$haveit"; then
27767 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27768 fi
27769 done
27770
27771
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27773 $as_echo_n "checking for iconv... " >&6; }
27774 if test "${am_cv_func_iconv+set}" = set; then :
27775 $as_echo_n "(cached) " >&6
27776 else
27777
27778 am_cv_func_iconv="no, consider installing GNU libiconv"
27779 am_cv_lib_iconv=no
27780 if test x$gcc_no_link = xyes; then
27781 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27782 fi
27783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27784 /* end confdefs.h. */
27785 #include <stdlib.h>
27786 #include <iconv.h>
27787 int
27788 main ()
27789 {
27790 iconv_t cd = iconv_open("","");
27791 iconv(cd,NULL,NULL,NULL,NULL);
27792 iconv_close(cd);
27793 ;
27794 return 0;
27795 }
27796 _ACEOF
27797 if ac_fn_c_try_link "$LINENO"; then :
27798 am_cv_func_iconv=yes
27799 fi
27800 rm -f core conftest.err conftest.$ac_objext \
27801 conftest$ac_exeext conftest.$ac_ext
27802 if test "$am_cv_func_iconv" != yes; then
27803 am_save_LIBS="$LIBS"
27804 LIBS="$LIBS $LIBICONV"
27805 if test x$gcc_no_link = xyes; then
27806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27807 fi
27808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27809 /* end confdefs.h. */
27810 #include <stdlib.h>
27811 #include <iconv.h>
27812 int
27813 main ()
27814 {
27815 iconv_t cd = iconv_open("","");
27816 iconv(cd,NULL,NULL,NULL,NULL);
27817 iconv_close(cd);
27818 ;
27819 return 0;
27820 }
27821 _ACEOF
27822 if ac_fn_c_try_link "$LINENO"; then :
27823 am_cv_lib_iconv=yes
27824 am_cv_func_iconv=yes
27825 fi
27826 rm -f core conftest.err conftest.$ac_objext \
27827 conftest$ac_exeext conftest.$ac_ext
27828 LIBS="$am_save_LIBS"
27829 fi
27830
27831 fi
27832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27833 $as_echo "$am_cv_func_iconv" >&6; }
27834 if test "$am_cv_func_iconv" = yes; then
27835
27836 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27837
27838 fi
27839 if test "$am_cv_lib_iconv" = yes; then
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27841 $as_echo_n "checking how to link with libiconv... " >&6; }
27842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27843 $as_echo "$LIBICONV" >&6; }
27844 else
27845 CPPFLAGS="$am_save_CPPFLAGS"
27846 LIBICONV=
27847 LTLIBICONV=
27848 fi
27849
27850
27851
27852 if test "$am_cv_func_iconv" = yes; then
27853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27854 $as_echo_n "checking for iconv declaration... " >&6; }
27855 if test "${am_cv_proto_iconv+set}" = set; then :
27856 $as_echo_n "(cached) " >&6
27857 else
27858
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h. */
27861
27862 #include <stdlib.h>
27863 #include <iconv.h>
27864 extern
27865 #ifdef __cplusplus
27866 "C"
27867 #endif
27868 #if defined(__STDC__) || defined(__cplusplus)
27869 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27870 #else
27871 size_t iconv();
27872 #endif
27873
27874 int
27875 main ()
27876 {
27877
27878 ;
27879 return 0;
27880 }
27881 _ACEOF
27882 if ac_fn_c_try_compile "$LINENO"; then :
27883 am_cv_proto_iconv_arg1=""
27884 else
27885 am_cv_proto_iconv_arg1="const"
27886 fi
27887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27888 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);"
27889 fi
27890
27891 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27893 }$am_cv_proto_iconv" >&5
27894 $as_echo "${ac_t:-
27895 }$am_cv_proto_iconv" >&6; }
27896
27897 cat >>confdefs.h <<_ACEOF
27898 #define ICONV_CONST $am_cv_proto_iconv_arg1
27899 _ACEOF
27900
27901 fi
27902
27903
27904 else
27905
27906 # This lets us hard-code the functionality we know we'll have in the cross
27907 # target environment. "Let" is a sugar-coated word placed on an especially
27908 # dull and tedious hack, actually.
27909 #
27910 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27911 # that involve linking, can't be used:
27912 # "cannot open sim-crt0.o"
27913 # "cannot open crt0.o"
27914 # etc. All this is because there currently exists no unified, consistent
27915 # way for top level CC information to be passed down to target directories:
27916 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27917 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27918 # crosses can be removed.
27919
27920 # If Canadian cross, then don't pick up tools from the build directory.
27921 # Used only in GLIBCXX_EXPORT_INCLUDES.
27922 if test -n "$with_cross_host" &&
27923 test x"$build_alias" != x"$with_cross_host" &&
27924 test x"$build" != x"$target";
27925 then
27926 CANADIAN=yes
27927 else
27928 CANADIAN=no
27929 fi
27930
27931 # Construct crosses by hand, eliminating bits that need ld...
27932 # GLIBCXX_CHECK_MATH_SUPPORT
27933
27934 # First, test for "known" system libraries. We may be using newlib even
27935 # on a hosted environment.
27936 if test "x${with_newlib}" = "xyes"; then
27937 os_include_dir="os/newlib"
27938 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27939
27940
27941 # GLIBCXX_CHECK_STDLIB_SUPPORT
27942 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27943
27944
27945 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27946
27947 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27948
27949 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27950
27951 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27952
27953 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27954
27955 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27956
27957 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27958
27959 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27960
27961 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27962
27963 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27964
27965 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27966
27967 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27968
27969 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27970
27971 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27972
27973 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27974
27975 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27976
27977 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27978
27979 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27980
27981 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27982
27983 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27984
27985 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27986
27987 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27988
27989
27990 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27991
27992 else
27993
27994 # Base decisions on target environment.
27995 case "${host}" in
27996 arm*-*-symbianelf*)
27997 # This is a freestanding configuration; there is nothing to do here.
27998 ;;
27999
28000 mips*-sde-elf*)
28001 # These definitions are for the SDE C library rather than newlib.
28002 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28003
28004
28005 # All these tests are for C++; save the language and the compiler flags.
28006 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28007 # found in GLIBCXX_CONFIGURE.
28008
28009 ac_ext=cpp
28010 ac_cpp='$CXXCPP $CPPFLAGS'
28011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28014
28015 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28016 ac_save_CXXFLAGS="$CXXFLAGS"
28017
28018 # Check for maintainer-mode bits.
28019 if test x"$USE_MAINTAINER_MODE" = xno; then
28020 WERROR=''
28021 else
28022 WERROR='-Werror'
28023 fi
28024
28025 # Check for -ffunction-sections -fdata-sections
28026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28027 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28028 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28030 /* end confdefs.h. */
28031 int foo; void bar() { };
28032 int
28033 main ()
28034 {
28035
28036 ;
28037 return 0;
28038 }
28039 _ACEOF
28040 if ac_fn_cxx_try_compile "$LINENO"; then :
28041 ac_fdsections=yes
28042 else
28043 ac_fdsections=no
28044 fi
28045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28046 if test "$ac_test_CXXFLAGS" = set; then
28047 CXXFLAGS="$ac_save_CXXFLAGS"
28048 else
28049 # this is the suspicious part
28050 CXXFLAGS=''
28051 fi
28052 if test x"$ac_fdsections" = x"yes"; then
28053 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28054 fi
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28056 $as_echo "$ac_fdsections" >&6; }
28057
28058 ac_ext=c
28059 ac_cpp='$CPP $CPPFLAGS'
28060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28063
28064
28065
28066
28067
28068 # If we're not using GNU ld, then there's no point in even trying these
28069 # tests. Check for that first. We should have already tested for gld
28070 # by now (in libtool), but require it now just to be safe...
28071 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28072 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28073
28074
28075
28076 # The name set by libtool depends on the version of libtool. Shame on us
28077 # for depending on an impl detail, but c'est la vie. Older versions used
28078 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28079 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28080 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28081 # set (hence we're using an older libtool), then set it.
28082 if test x${with_gnu_ld+set} != xset; then
28083 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28084 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28085 with_gnu_ld=no
28086 else
28087 with_gnu_ld=$ac_cv_prog_gnu_ld
28088 fi
28089 fi
28090
28091 # Start by getting the version number. I think the libtool test already
28092 # does some of this, but throws away the result.
28093 glibcxx_ld_is_gold=no
28094 if test x"$with_gnu_ld" = x"yes"; then
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28096 $as_echo_n "checking for ld version... " >&6; }
28097
28098 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28099 glibcxx_ld_is_gold=yes
28100 fi
28101 ldver=`$LD --version 2>/dev/null |
28102 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'`
28103
28104 glibcxx_gnu_ld_version=`echo $ldver | \
28105 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28107 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28108 fi
28109
28110 # Set --gc-sections.
28111 glibcxx_have_gc_sections=no
28112 if test "$glibcxx_ld_is_gold" = "yes"; then
28113 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28114 glibcxx_have_gc_sections=yes
28115 fi
28116 else
28117 glibcxx_gcsections_min_ld=21602
28118 if test x"$with_gnu_ld" = x"yes" &&
28119 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28120 glibcxx_have_gc_sections=yes
28121 fi
28122 fi
28123 if test "$glibcxx_have_gc_sections" = "yes"; then
28124 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28125 # NB: This flag only works reliably after 2.16.1. Configure tests
28126 # for this are difficult, so hard wire a value that should work.
28127
28128 ac_test_CFLAGS="${CFLAGS+set}"
28129 ac_save_CFLAGS="$CFLAGS"
28130 CFLAGS='-Wl,--gc-sections'
28131
28132 # Check for -Wl,--gc-sections
28133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28134 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28135 if test x$gcc_no_link = xyes; then
28136 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28137 fi
28138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28139 /* end confdefs.h. */
28140 int one(void) { return 1; }
28141 int two(void) { return 2; }
28142
28143 int
28144 main ()
28145 {
28146 two();
28147 ;
28148 return 0;
28149 }
28150 _ACEOF
28151 if ac_fn_c_try_link "$LINENO"; then :
28152 ac_gcsections=yes
28153 else
28154 ac_gcsections=no
28155 fi
28156 rm -f core conftest.err conftest.$ac_objext \
28157 conftest$ac_exeext conftest.$ac_ext
28158 if test "$ac_gcsections" = "yes"; then
28159 rm -f conftest.c
28160 touch conftest.c
28161 if $CC -c conftest.c; then
28162 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28163 grep "Warning: gc-sections option ignored" > /dev/null; then
28164 ac_gcsections=no
28165 fi
28166 fi
28167 rm -f conftest.c conftest.o conftest
28168 fi
28169 if test "$ac_gcsections" = "yes"; then
28170 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28171 fi
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28173 $as_echo "$ac_gcsections" >&6; }
28174
28175 if test "$ac_test_CFLAGS" = set; then
28176 CFLAGS="$ac_save_CFLAGS"
28177 else
28178 # this is the suspicious part
28179 CFLAGS=''
28180 fi
28181 fi
28182
28183 # Set -z,relro.
28184 # Note this is only for shared objects.
28185 ac_ld_relro=no
28186 if test x"$with_gnu_ld" = x"yes"; then
28187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28188 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28189 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28190 if test -n "$cxx_z_relo"; then
28191 OPT_LDFLAGS="-Wl,-z,relro"
28192 ac_ld_relro=yes
28193 fi
28194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28195 $as_echo "$ac_ld_relro" >&6; }
28196 fi
28197
28198 # Set linker optimization flags.
28199 if test x"$with_gnu_ld" = x"yes"; then
28200 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28201 fi
28202
28203
28204
28205
28206
28207 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28208 ac_save_CXXFLAGS="$CXXFLAGS"
28209 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28210
28211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28212 $as_echo_n "checking for sin in -lm... " >&6; }
28213 if test "${ac_cv_lib_m_sin+set}" = set; then :
28214 $as_echo_n "(cached) " >&6
28215 else
28216 ac_check_lib_save_LIBS=$LIBS
28217 LIBS="-lm $LIBS"
28218 if test x$gcc_no_link = xyes; then
28219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28220 fi
28221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28222 /* end confdefs.h. */
28223
28224 /* Override any GCC internal prototype to avoid an error.
28225 Use char because int might match the return type of a GCC
28226 builtin and then its argument prototype would still apply. */
28227 #ifdef __cplusplus
28228 extern "C"
28229 #endif
28230 char sin ();
28231 int
28232 main ()
28233 {
28234 return sin ();
28235 ;
28236 return 0;
28237 }
28238 _ACEOF
28239 if ac_fn_c_try_link "$LINENO"; then :
28240 ac_cv_lib_m_sin=yes
28241 else
28242 ac_cv_lib_m_sin=no
28243 fi
28244 rm -f core conftest.err conftest.$ac_objext \
28245 conftest$ac_exeext conftest.$ac_ext
28246 LIBS=$ac_check_lib_save_LIBS
28247 fi
28248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28249 $as_echo "$ac_cv_lib_m_sin" >&6; }
28250 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28251 libm="-lm"
28252 fi
28253
28254 ac_save_LIBS="$LIBS"
28255 LIBS="$LIBS $libm"
28256
28257
28258
28259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28260 $as_echo_n "checking for isinf declaration... " >&6; }
28261 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28262 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28263 $as_echo_n "(cached) " >&6
28264 else
28265
28266
28267 ac_ext=cpp
28268 ac_cpp='$CXXCPP $CPPFLAGS'
28269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28272
28273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28274 /* end confdefs.h. */
28275 #include <math.h>
28276 #ifdef HAVE_IEEEFP_H
28277 #include <ieeefp.h>
28278 #endif
28279
28280 int
28281 main ()
28282 {
28283 isinf(0);
28284 ;
28285 return 0;
28286 }
28287 _ACEOF
28288 if ac_fn_cxx_try_compile "$LINENO"; then :
28289 glibcxx_cv_func_isinf_use=yes
28290 else
28291 glibcxx_cv_func_isinf_use=no
28292 fi
28293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28294 ac_ext=c
28295 ac_cpp='$CPP $CPPFLAGS'
28296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28299
28300
28301 fi
28302
28303 fi
28304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28305 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28306
28307 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28308 for ac_func in isinf
28309 do :
28310 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28311 if test "x$ac_cv_func_isinf" = x""yes; then :
28312 cat >>confdefs.h <<_ACEOF
28313 #define HAVE_ISINF 1
28314 _ACEOF
28315
28316 fi
28317 done
28318
28319 else
28320
28321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28322 $as_echo_n "checking for _isinf declaration... " >&6; }
28323 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28324 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28325 $as_echo_n "(cached) " >&6
28326 else
28327
28328
28329 ac_ext=cpp
28330 ac_cpp='$CXXCPP $CPPFLAGS'
28331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28334
28335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28336 /* end confdefs.h. */
28337 #include <math.h>
28338 #ifdef HAVE_IEEEFP_H
28339 #include <ieeefp.h>
28340 #endif
28341
28342 int
28343 main ()
28344 {
28345 _isinf(0);
28346 ;
28347 return 0;
28348 }
28349 _ACEOF
28350 if ac_fn_cxx_try_compile "$LINENO"; then :
28351 glibcxx_cv_func__isinf_use=yes
28352 else
28353 glibcxx_cv_func__isinf_use=no
28354 fi
28355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28356 ac_ext=c
28357 ac_cpp='$CPP $CPPFLAGS'
28358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28361
28362
28363 fi
28364
28365 fi
28366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28367 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28368
28369 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28370 for ac_func in _isinf
28371 do :
28372 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28373 if test "x$ac_cv_func__isinf" = x""yes; then :
28374 cat >>confdefs.h <<_ACEOF
28375 #define HAVE__ISINF 1
28376 _ACEOF
28377
28378 fi
28379 done
28380
28381 fi
28382 fi
28383
28384
28385
28386
28387
28388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28389 $as_echo_n "checking for isnan declaration... " >&6; }
28390 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28391 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28392 $as_echo_n "(cached) " >&6
28393 else
28394
28395
28396 ac_ext=cpp
28397 ac_cpp='$CXXCPP $CPPFLAGS'
28398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28401
28402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28403 /* end confdefs.h. */
28404 #include <math.h>
28405 #ifdef HAVE_IEEEFP_H
28406 #include <ieeefp.h>
28407 #endif
28408
28409 int
28410 main ()
28411 {
28412 isnan(0);
28413 ;
28414 return 0;
28415 }
28416 _ACEOF
28417 if ac_fn_cxx_try_compile "$LINENO"; then :
28418 glibcxx_cv_func_isnan_use=yes
28419 else
28420 glibcxx_cv_func_isnan_use=no
28421 fi
28422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28423 ac_ext=c
28424 ac_cpp='$CPP $CPPFLAGS'
28425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28428
28429
28430 fi
28431
28432 fi
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28434 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28435
28436 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28437 for ac_func in isnan
28438 do :
28439 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28440 if test "x$ac_cv_func_isnan" = x""yes; then :
28441 cat >>confdefs.h <<_ACEOF
28442 #define HAVE_ISNAN 1
28443 _ACEOF
28444
28445 fi
28446 done
28447
28448 else
28449
28450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28451 $as_echo_n "checking for _isnan declaration... " >&6; }
28452 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28453 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28454 $as_echo_n "(cached) " >&6
28455 else
28456
28457
28458 ac_ext=cpp
28459 ac_cpp='$CXXCPP $CPPFLAGS'
28460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28463
28464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28465 /* end confdefs.h. */
28466 #include <math.h>
28467 #ifdef HAVE_IEEEFP_H
28468 #include <ieeefp.h>
28469 #endif
28470
28471 int
28472 main ()
28473 {
28474 _isnan(0);
28475 ;
28476 return 0;
28477 }
28478 _ACEOF
28479 if ac_fn_cxx_try_compile "$LINENO"; then :
28480 glibcxx_cv_func__isnan_use=yes
28481 else
28482 glibcxx_cv_func__isnan_use=no
28483 fi
28484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28485 ac_ext=c
28486 ac_cpp='$CPP $CPPFLAGS'
28487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28490
28491
28492 fi
28493
28494 fi
28495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28496 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28497
28498 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28499 for ac_func in _isnan
28500 do :
28501 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28502 if test "x$ac_cv_func__isnan" = x""yes; then :
28503 cat >>confdefs.h <<_ACEOF
28504 #define HAVE__ISNAN 1
28505 _ACEOF
28506
28507 fi
28508 done
28509
28510 fi
28511 fi
28512
28513
28514
28515
28516
28517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28518 $as_echo_n "checking for finite declaration... " >&6; }
28519 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28520 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28521 $as_echo_n "(cached) " >&6
28522 else
28523
28524
28525 ac_ext=cpp
28526 ac_cpp='$CXXCPP $CPPFLAGS'
28527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28530
28531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28532 /* end confdefs.h. */
28533 #include <math.h>
28534 #ifdef HAVE_IEEEFP_H
28535 #include <ieeefp.h>
28536 #endif
28537
28538 int
28539 main ()
28540 {
28541 finite(0);
28542 ;
28543 return 0;
28544 }
28545 _ACEOF
28546 if ac_fn_cxx_try_compile "$LINENO"; then :
28547 glibcxx_cv_func_finite_use=yes
28548 else
28549 glibcxx_cv_func_finite_use=no
28550 fi
28551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28552 ac_ext=c
28553 ac_cpp='$CPP $CPPFLAGS'
28554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28557
28558
28559 fi
28560
28561 fi
28562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28563 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28564
28565 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28566 for ac_func in finite
28567 do :
28568 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28569 if test "x$ac_cv_func_finite" = x""yes; then :
28570 cat >>confdefs.h <<_ACEOF
28571 #define HAVE_FINITE 1
28572 _ACEOF
28573
28574 fi
28575 done
28576
28577 else
28578
28579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28580 $as_echo_n "checking for _finite declaration... " >&6; }
28581 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28582 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28583 $as_echo_n "(cached) " >&6
28584 else
28585
28586
28587 ac_ext=cpp
28588 ac_cpp='$CXXCPP $CPPFLAGS'
28589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28592
28593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28594 /* end confdefs.h. */
28595 #include <math.h>
28596 #ifdef HAVE_IEEEFP_H
28597 #include <ieeefp.h>
28598 #endif
28599
28600 int
28601 main ()
28602 {
28603 _finite(0);
28604 ;
28605 return 0;
28606 }
28607 _ACEOF
28608 if ac_fn_cxx_try_compile "$LINENO"; then :
28609 glibcxx_cv_func__finite_use=yes
28610 else
28611 glibcxx_cv_func__finite_use=no
28612 fi
28613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28614 ac_ext=c
28615 ac_cpp='$CPP $CPPFLAGS'
28616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28619
28620
28621 fi
28622
28623 fi
28624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28625 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28626
28627 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28628 for ac_func in _finite
28629 do :
28630 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28631 if test "x$ac_cv_func__finite" = x""yes; then :
28632 cat >>confdefs.h <<_ACEOF
28633 #define HAVE__FINITE 1
28634 _ACEOF
28635
28636 fi
28637 done
28638
28639 fi
28640 fi
28641
28642
28643
28644
28645
28646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28647 $as_echo_n "checking for sincos declaration... " >&6; }
28648 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28649 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28650 $as_echo_n "(cached) " >&6
28651 else
28652
28653
28654 ac_ext=cpp
28655 ac_cpp='$CXXCPP $CPPFLAGS'
28656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28659
28660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28661 /* end confdefs.h. */
28662 #include <math.h>
28663 int
28664 main ()
28665 {
28666 sincos(0, 0, 0);
28667 ;
28668 return 0;
28669 }
28670 _ACEOF
28671 if ac_fn_cxx_try_compile "$LINENO"; then :
28672 glibcxx_cv_func_sincos_use=yes
28673 else
28674 glibcxx_cv_func_sincos_use=no
28675 fi
28676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28677 ac_ext=c
28678 ac_cpp='$CPP $CPPFLAGS'
28679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28682
28683
28684 fi
28685
28686 fi
28687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28688 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28689
28690 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28691 for ac_func in sincos
28692 do :
28693 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28694 if test "x$ac_cv_func_sincos" = x""yes; then :
28695 cat >>confdefs.h <<_ACEOF
28696 #define HAVE_SINCOS 1
28697 _ACEOF
28698
28699 fi
28700 done
28701
28702 else
28703
28704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28705 $as_echo_n "checking for _sincos declaration... " >&6; }
28706 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28707 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28708 $as_echo_n "(cached) " >&6
28709 else
28710
28711
28712 ac_ext=cpp
28713 ac_cpp='$CXXCPP $CPPFLAGS'
28714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28717
28718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28719 /* end confdefs.h. */
28720 #include <math.h>
28721 int
28722 main ()
28723 {
28724 _sincos(0, 0, 0);
28725 ;
28726 return 0;
28727 }
28728 _ACEOF
28729 if ac_fn_cxx_try_compile "$LINENO"; then :
28730 glibcxx_cv_func__sincos_use=yes
28731 else
28732 glibcxx_cv_func__sincos_use=no
28733 fi
28734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28735 ac_ext=c
28736 ac_cpp='$CPP $CPPFLAGS'
28737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28740
28741
28742 fi
28743
28744 fi
28745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28746 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28747
28748 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28749 for ac_func in _sincos
28750 do :
28751 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28752 if test "x$ac_cv_func__sincos" = x""yes; then :
28753 cat >>confdefs.h <<_ACEOF
28754 #define HAVE__SINCOS 1
28755 _ACEOF
28756
28757 fi
28758 done
28759
28760 fi
28761 fi
28762
28763
28764
28765
28766
28767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28768 $as_echo_n "checking for fpclass declaration... " >&6; }
28769 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28770 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28771 $as_echo_n "(cached) " >&6
28772 else
28773
28774
28775 ac_ext=cpp
28776 ac_cpp='$CXXCPP $CPPFLAGS'
28777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28780
28781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28782 /* end confdefs.h. */
28783 #include <math.h>
28784 #ifdef HAVE_IEEEFP_H
28785 #include <ieeefp.h>
28786 #endif
28787
28788 int
28789 main ()
28790 {
28791 fpclass(0);
28792 ;
28793 return 0;
28794 }
28795 _ACEOF
28796 if ac_fn_cxx_try_compile "$LINENO"; then :
28797 glibcxx_cv_func_fpclass_use=yes
28798 else
28799 glibcxx_cv_func_fpclass_use=no
28800 fi
28801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28802 ac_ext=c
28803 ac_cpp='$CPP $CPPFLAGS'
28804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28807
28808
28809 fi
28810
28811 fi
28812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28813 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28814
28815 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28816 for ac_func in fpclass
28817 do :
28818 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28819 if test "x$ac_cv_func_fpclass" = x""yes; then :
28820 cat >>confdefs.h <<_ACEOF
28821 #define HAVE_FPCLASS 1
28822 _ACEOF
28823
28824 fi
28825 done
28826
28827 else
28828
28829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28830 $as_echo_n "checking for _fpclass declaration... " >&6; }
28831 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28832 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28833 $as_echo_n "(cached) " >&6
28834 else
28835
28836
28837 ac_ext=cpp
28838 ac_cpp='$CXXCPP $CPPFLAGS'
28839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28842
28843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28844 /* end confdefs.h. */
28845 #include <math.h>
28846 #ifdef HAVE_IEEEFP_H
28847 #include <ieeefp.h>
28848 #endif
28849
28850 int
28851 main ()
28852 {
28853 _fpclass(0);
28854 ;
28855 return 0;
28856 }
28857 _ACEOF
28858 if ac_fn_cxx_try_compile "$LINENO"; then :
28859 glibcxx_cv_func__fpclass_use=yes
28860 else
28861 glibcxx_cv_func__fpclass_use=no
28862 fi
28863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28864 ac_ext=c
28865 ac_cpp='$CPP $CPPFLAGS'
28866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28869
28870
28871 fi
28872
28873 fi
28874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28875 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28876
28877 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28878 for ac_func in _fpclass
28879 do :
28880 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28881 if test "x$ac_cv_func__fpclass" = x""yes; then :
28882 cat >>confdefs.h <<_ACEOF
28883 #define HAVE__FPCLASS 1
28884 _ACEOF
28885
28886 fi
28887 done
28888
28889 fi
28890 fi
28891
28892
28893
28894
28895
28896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28897 $as_echo_n "checking for qfpclass declaration... " >&6; }
28898 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28899 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28900 $as_echo_n "(cached) " >&6
28901 else
28902
28903
28904 ac_ext=cpp
28905 ac_cpp='$CXXCPP $CPPFLAGS'
28906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28909
28910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28911 /* end confdefs.h. */
28912 #include <math.h>
28913 #ifdef HAVE_IEEEFP_H
28914 #include <ieeefp.h>
28915 #endif
28916
28917 int
28918 main ()
28919 {
28920 qfpclass(0);
28921 ;
28922 return 0;
28923 }
28924 _ACEOF
28925 if ac_fn_cxx_try_compile "$LINENO"; then :
28926 glibcxx_cv_func_qfpclass_use=yes
28927 else
28928 glibcxx_cv_func_qfpclass_use=no
28929 fi
28930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28931 ac_ext=c
28932 ac_cpp='$CPP $CPPFLAGS'
28933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28936
28937
28938 fi
28939
28940 fi
28941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28942 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28943
28944 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28945 for ac_func in qfpclass
28946 do :
28947 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28948 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28949 cat >>confdefs.h <<_ACEOF
28950 #define HAVE_QFPCLASS 1
28951 _ACEOF
28952
28953 fi
28954 done
28955
28956 else
28957
28958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28959 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28960 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28961 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28962 $as_echo_n "(cached) " >&6
28963 else
28964
28965
28966 ac_ext=cpp
28967 ac_cpp='$CXXCPP $CPPFLAGS'
28968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28971
28972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28973 /* end confdefs.h. */
28974 #include <math.h>
28975 #ifdef HAVE_IEEEFP_H
28976 #include <ieeefp.h>
28977 #endif
28978
28979 int
28980 main ()
28981 {
28982 _qfpclass(0);
28983 ;
28984 return 0;
28985 }
28986 _ACEOF
28987 if ac_fn_cxx_try_compile "$LINENO"; then :
28988 glibcxx_cv_func__qfpclass_use=yes
28989 else
28990 glibcxx_cv_func__qfpclass_use=no
28991 fi
28992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28993 ac_ext=c
28994 ac_cpp='$CPP $CPPFLAGS'
28995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28998
28999
29000 fi
29001
29002 fi
29003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29004 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29005
29006 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29007 for ac_func in _qfpclass
29008 do :
29009 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29010 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29011 cat >>confdefs.h <<_ACEOF
29012 #define HAVE__QFPCLASS 1
29013 _ACEOF
29014
29015 fi
29016 done
29017
29018 fi
29019 fi
29020
29021
29022
29023
29024
29025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29026 $as_echo_n "checking for hypot declaration... " >&6; }
29027 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29028 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29029 $as_echo_n "(cached) " >&6
29030 else
29031
29032
29033 ac_ext=cpp
29034 ac_cpp='$CXXCPP $CPPFLAGS'
29035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29038
29039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29040 /* end confdefs.h. */
29041 #include <math.h>
29042 int
29043 main ()
29044 {
29045 hypot(0, 0);
29046 ;
29047 return 0;
29048 }
29049 _ACEOF
29050 if ac_fn_cxx_try_compile "$LINENO"; then :
29051 glibcxx_cv_func_hypot_use=yes
29052 else
29053 glibcxx_cv_func_hypot_use=no
29054 fi
29055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29056 ac_ext=c
29057 ac_cpp='$CPP $CPPFLAGS'
29058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29061
29062
29063 fi
29064
29065 fi
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29067 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29068
29069 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29070 for ac_func in hypot
29071 do :
29072 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29073 if test "x$ac_cv_func_hypot" = x""yes; then :
29074 cat >>confdefs.h <<_ACEOF
29075 #define HAVE_HYPOT 1
29076 _ACEOF
29077
29078 fi
29079 done
29080
29081 else
29082
29083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29084 $as_echo_n "checking for _hypot declaration... " >&6; }
29085 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29086 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29087 $as_echo_n "(cached) " >&6
29088 else
29089
29090
29091 ac_ext=cpp
29092 ac_cpp='$CXXCPP $CPPFLAGS'
29093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29096
29097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29098 /* end confdefs.h. */
29099 #include <math.h>
29100 int
29101 main ()
29102 {
29103 _hypot(0, 0);
29104 ;
29105 return 0;
29106 }
29107 _ACEOF
29108 if ac_fn_cxx_try_compile "$LINENO"; then :
29109 glibcxx_cv_func__hypot_use=yes
29110 else
29111 glibcxx_cv_func__hypot_use=no
29112 fi
29113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29114 ac_ext=c
29115 ac_cpp='$CPP $CPPFLAGS'
29116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29119
29120
29121 fi
29122
29123 fi
29124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29125 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29126
29127 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29128 for ac_func in _hypot
29129 do :
29130 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29131 if test "x$ac_cv_func__hypot" = x""yes; then :
29132 cat >>confdefs.h <<_ACEOF
29133 #define HAVE__HYPOT 1
29134 _ACEOF
29135
29136 fi
29137 done
29138
29139 fi
29140 fi
29141
29142
29143
29144
29145
29146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29147 $as_echo_n "checking for float trig functions... " >&6; }
29148 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29149 $as_echo_n "(cached) " >&6
29150 else
29151
29152
29153 ac_ext=cpp
29154 ac_cpp='$CXXCPP $CPPFLAGS'
29155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29158
29159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29160 /* end confdefs.h. */
29161 #include <math.h>
29162 int
29163 main ()
29164 {
29165 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29166 ;
29167 return 0;
29168 }
29169 _ACEOF
29170 if ac_fn_cxx_try_compile "$LINENO"; then :
29171 glibcxx_cv_func_float_trig_use=yes
29172 else
29173 glibcxx_cv_func_float_trig_use=no
29174 fi
29175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29176 ac_ext=c
29177 ac_cpp='$CPP $CPPFLAGS'
29178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29181
29182 fi
29183
29184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29185 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29186 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29187 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29188 do :
29189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29191 eval as_val=\$$as_ac_var
29192 if test "x$as_val" = x""yes; then :
29193 cat >>confdefs.h <<_ACEOF
29194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29195 _ACEOF
29196
29197 fi
29198 done
29199
29200 else
29201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29202 $as_echo_n "checking for _float trig functions... " >&6; }
29203 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29204 $as_echo_n "(cached) " >&6
29205 else
29206
29207
29208 ac_ext=cpp
29209 ac_cpp='$CXXCPP $CPPFLAGS'
29210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29213
29214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29215 /* end confdefs.h. */
29216 #include <math.h>
29217 int
29218 main ()
29219 {
29220 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29221 ;
29222 return 0;
29223 }
29224 _ACEOF
29225 if ac_fn_cxx_try_compile "$LINENO"; then :
29226 glibcxx_cv_func__float_trig_use=yes
29227 else
29228 glibcxx_cv_func__float_trig_use=no
29229 fi
29230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29231 ac_ext=c
29232 ac_cpp='$CPP $CPPFLAGS'
29233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29236
29237 fi
29238
29239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29240 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29241 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29242 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29243 do :
29244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29246 eval as_val=\$$as_ac_var
29247 if test "x$as_val" = x""yes; then :
29248 cat >>confdefs.h <<_ACEOF
29249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29250 _ACEOF
29251
29252 fi
29253 done
29254
29255 fi
29256 fi
29257
29258
29259
29260
29261
29262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29263 $as_echo_n "checking for float round functions... " >&6; }
29264 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29265 $as_echo_n "(cached) " >&6
29266 else
29267
29268
29269 ac_ext=cpp
29270 ac_cpp='$CXXCPP $CPPFLAGS'
29271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29274
29275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29276 /* end confdefs.h. */
29277 #include <math.h>
29278 int
29279 main ()
29280 {
29281 ceilf (0); floorf (0);
29282 ;
29283 return 0;
29284 }
29285 _ACEOF
29286 if ac_fn_cxx_try_compile "$LINENO"; then :
29287 glibcxx_cv_func_float_round_use=yes
29288 else
29289 glibcxx_cv_func_float_round_use=no
29290 fi
29291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29292 ac_ext=c
29293 ac_cpp='$CPP $CPPFLAGS'
29294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29297
29298 fi
29299
29300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29301 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29302 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29303 for ac_func in ceilf floorf
29304 do :
29305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29307 eval as_val=\$$as_ac_var
29308 if test "x$as_val" = x""yes; then :
29309 cat >>confdefs.h <<_ACEOF
29310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29311 _ACEOF
29312
29313 fi
29314 done
29315
29316 else
29317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29318 $as_echo_n "checking for _float round functions... " >&6; }
29319 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29320 $as_echo_n "(cached) " >&6
29321 else
29322
29323
29324 ac_ext=cpp
29325 ac_cpp='$CXXCPP $CPPFLAGS'
29326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29329
29330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29331 /* end confdefs.h. */
29332 #include <math.h>
29333 int
29334 main ()
29335 {
29336 _ceilf (0); _floorf (0);
29337 ;
29338 return 0;
29339 }
29340 _ACEOF
29341 if ac_fn_cxx_try_compile "$LINENO"; then :
29342 glibcxx_cv_func__float_round_use=yes
29343 else
29344 glibcxx_cv_func__float_round_use=no
29345 fi
29346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29347 ac_ext=c
29348 ac_cpp='$CPP $CPPFLAGS'
29349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29352
29353 fi
29354
29355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29356 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29357 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29358 for ac_func in _ceilf _floorf
29359 do :
29360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29362 eval as_val=\$$as_ac_var
29363 if test "x$as_val" = x""yes; then :
29364 cat >>confdefs.h <<_ACEOF
29365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29366 _ACEOF
29367
29368 fi
29369 done
29370
29371 fi
29372 fi
29373
29374
29375
29376
29377
29378
29379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29380 $as_echo_n "checking for expf declaration... " >&6; }
29381 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29382 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29383 $as_echo_n "(cached) " >&6
29384 else
29385
29386
29387 ac_ext=cpp
29388 ac_cpp='$CXXCPP $CPPFLAGS'
29389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29392
29393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29394 /* end confdefs.h. */
29395 #include <math.h>
29396 #ifdef HAVE_IEEEFP_H
29397 #include <ieeefp.h>
29398 #endif
29399
29400 int
29401 main ()
29402 {
29403 expf(0);
29404 ;
29405 return 0;
29406 }
29407 _ACEOF
29408 if ac_fn_cxx_try_compile "$LINENO"; then :
29409 glibcxx_cv_func_expf_use=yes
29410 else
29411 glibcxx_cv_func_expf_use=no
29412 fi
29413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29414 ac_ext=c
29415 ac_cpp='$CPP $CPPFLAGS'
29416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29419
29420
29421 fi
29422
29423 fi
29424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29425 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29426
29427 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29428 for ac_func in expf
29429 do :
29430 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29431 if test "x$ac_cv_func_expf" = x""yes; then :
29432 cat >>confdefs.h <<_ACEOF
29433 #define HAVE_EXPF 1
29434 _ACEOF
29435
29436 fi
29437 done
29438
29439 else
29440
29441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29442 $as_echo_n "checking for _expf declaration... " >&6; }
29443 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29444 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29445 $as_echo_n "(cached) " >&6
29446 else
29447
29448
29449 ac_ext=cpp
29450 ac_cpp='$CXXCPP $CPPFLAGS'
29451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29454
29455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29456 /* end confdefs.h. */
29457 #include <math.h>
29458 #ifdef HAVE_IEEEFP_H
29459 #include <ieeefp.h>
29460 #endif
29461
29462 int
29463 main ()
29464 {
29465 _expf(0);
29466 ;
29467 return 0;
29468 }
29469 _ACEOF
29470 if ac_fn_cxx_try_compile "$LINENO"; then :
29471 glibcxx_cv_func__expf_use=yes
29472 else
29473 glibcxx_cv_func__expf_use=no
29474 fi
29475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29476 ac_ext=c
29477 ac_cpp='$CPP $CPPFLAGS'
29478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29481
29482
29483 fi
29484
29485 fi
29486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29487 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29488
29489 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29490 for ac_func in _expf
29491 do :
29492 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29493 if test "x$ac_cv_func__expf" = x""yes; then :
29494 cat >>confdefs.h <<_ACEOF
29495 #define HAVE__EXPF 1
29496 _ACEOF
29497
29498 fi
29499 done
29500
29501 fi
29502 fi
29503
29504
29505
29506
29507
29508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29509 $as_echo_n "checking for isnanf declaration... " >&6; }
29510 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29511 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29512 $as_echo_n "(cached) " >&6
29513 else
29514
29515
29516 ac_ext=cpp
29517 ac_cpp='$CXXCPP $CPPFLAGS'
29518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29521
29522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29523 /* end confdefs.h. */
29524 #include <math.h>
29525 #ifdef HAVE_IEEEFP_H
29526 #include <ieeefp.h>
29527 #endif
29528
29529 int
29530 main ()
29531 {
29532 isnanf(0);
29533 ;
29534 return 0;
29535 }
29536 _ACEOF
29537 if ac_fn_cxx_try_compile "$LINENO"; then :
29538 glibcxx_cv_func_isnanf_use=yes
29539 else
29540 glibcxx_cv_func_isnanf_use=no
29541 fi
29542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29543 ac_ext=c
29544 ac_cpp='$CPP $CPPFLAGS'
29545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29548
29549
29550 fi
29551
29552 fi
29553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29554 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29555
29556 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29557 for ac_func in isnanf
29558 do :
29559 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29560 if test "x$ac_cv_func_isnanf" = x""yes; then :
29561 cat >>confdefs.h <<_ACEOF
29562 #define HAVE_ISNANF 1
29563 _ACEOF
29564
29565 fi
29566 done
29567
29568 else
29569
29570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29571 $as_echo_n "checking for _isnanf declaration... " >&6; }
29572 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29573 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29574 $as_echo_n "(cached) " >&6
29575 else
29576
29577
29578 ac_ext=cpp
29579 ac_cpp='$CXXCPP $CPPFLAGS'
29580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29583
29584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29585 /* end confdefs.h. */
29586 #include <math.h>
29587 #ifdef HAVE_IEEEFP_H
29588 #include <ieeefp.h>
29589 #endif
29590
29591 int
29592 main ()
29593 {
29594 _isnanf(0);
29595 ;
29596 return 0;
29597 }
29598 _ACEOF
29599 if ac_fn_cxx_try_compile "$LINENO"; then :
29600 glibcxx_cv_func__isnanf_use=yes
29601 else
29602 glibcxx_cv_func__isnanf_use=no
29603 fi
29604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29605 ac_ext=c
29606 ac_cpp='$CPP $CPPFLAGS'
29607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29610
29611
29612 fi
29613
29614 fi
29615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29616 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29617
29618 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29619 for ac_func in _isnanf
29620 do :
29621 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29622 if test "x$ac_cv_func__isnanf" = x""yes; then :
29623 cat >>confdefs.h <<_ACEOF
29624 #define HAVE__ISNANF 1
29625 _ACEOF
29626
29627 fi
29628 done
29629
29630 fi
29631 fi
29632
29633
29634
29635
29636
29637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29638 $as_echo_n "checking for isinff declaration... " >&6; }
29639 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29640 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29641 $as_echo_n "(cached) " >&6
29642 else
29643
29644
29645 ac_ext=cpp
29646 ac_cpp='$CXXCPP $CPPFLAGS'
29647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29650
29651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29652 /* end confdefs.h. */
29653 #include <math.h>
29654 #ifdef HAVE_IEEEFP_H
29655 #include <ieeefp.h>
29656 #endif
29657
29658 int
29659 main ()
29660 {
29661 isinff(0);
29662 ;
29663 return 0;
29664 }
29665 _ACEOF
29666 if ac_fn_cxx_try_compile "$LINENO"; then :
29667 glibcxx_cv_func_isinff_use=yes
29668 else
29669 glibcxx_cv_func_isinff_use=no
29670 fi
29671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29672 ac_ext=c
29673 ac_cpp='$CPP $CPPFLAGS'
29674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29677
29678
29679 fi
29680
29681 fi
29682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29683 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29684
29685 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29686 for ac_func in isinff
29687 do :
29688 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29689 if test "x$ac_cv_func_isinff" = x""yes; then :
29690 cat >>confdefs.h <<_ACEOF
29691 #define HAVE_ISINFF 1
29692 _ACEOF
29693
29694 fi
29695 done
29696
29697 else
29698
29699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29700 $as_echo_n "checking for _isinff declaration... " >&6; }
29701 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29702 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29703 $as_echo_n "(cached) " >&6
29704 else
29705
29706
29707 ac_ext=cpp
29708 ac_cpp='$CXXCPP $CPPFLAGS'
29709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29712
29713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29714 /* end confdefs.h. */
29715 #include <math.h>
29716 #ifdef HAVE_IEEEFP_H
29717 #include <ieeefp.h>
29718 #endif
29719
29720 int
29721 main ()
29722 {
29723 _isinff(0);
29724 ;
29725 return 0;
29726 }
29727 _ACEOF
29728 if ac_fn_cxx_try_compile "$LINENO"; then :
29729 glibcxx_cv_func__isinff_use=yes
29730 else
29731 glibcxx_cv_func__isinff_use=no
29732 fi
29733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29734 ac_ext=c
29735 ac_cpp='$CPP $CPPFLAGS'
29736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29739
29740
29741 fi
29742
29743 fi
29744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29745 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29746
29747 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29748 for ac_func in _isinff
29749 do :
29750 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29751 if test "x$ac_cv_func__isinff" = x""yes; then :
29752 cat >>confdefs.h <<_ACEOF
29753 #define HAVE__ISINFF 1
29754 _ACEOF
29755
29756 fi
29757 done
29758
29759 fi
29760 fi
29761
29762
29763
29764
29765
29766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29767 $as_echo_n "checking for atan2f declaration... " >&6; }
29768 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29769 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29770 $as_echo_n "(cached) " >&6
29771 else
29772
29773
29774 ac_ext=cpp
29775 ac_cpp='$CXXCPP $CPPFLAGS'
29776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29779
29780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29781 /* end confdefs.h. */
29782 #include <math.h>
29783 int
29784 main ()
29785 {
29786 atan2f(0, 0);
29787 ;
29788 return 0;
29789 }
29790 _ACEOF
29791 if ac_fn_cxx_try_compile "$LINENO"; then :
29792 glibcxx_cv_func_atan2f_use=yes
29793 else
29794 glibcxx_cv_func_atan2f_use=no
29795 fi
29796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29797 ac_ext=c
29798 ac_cpp='$CPP $CPPFLAGS'
29799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29802
29803
29804 fi
29805
29806 fi
29807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29808 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29809
29810 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29811 for ac_func in atan2f
29812 do :
29813 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29814 if test "x$ac_cv_func_atan2f" = x""yes; then :
29815 cat >>confdefs.h <<_ACEOF
29816 #define HAVE_ATAN2F 1
29817 _ACEOF
29818
29819 fi
29820 done
29821
29822 else
29823
29824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29825 $as_echo_n "checking for _atan2f declaration... " >&6; }
29826 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29827 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29828 $as_echo_n "(cached) " >&6
29829 else
29830
29831
29832 ac_ext=cpp
29833 ac_cpp='$CXXCPP $CPPFLAGS'
29834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29837
29838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29839 /* end confdefs.h. */
29840 #include <math.h>
29841 int
29842 main ()
29843 {
29844 _atan2f(0, 0);
29845 ;
29846 return 0;
29847 }
29848 _ACEOF
29849 if ac_fn_cxx_try_compile "$LINENO"; then :
29850 glibcxx_cv_func__atan2f_use=yes
29851 else
29852 glibcxx_cv_func__atan2f_use=no
29853 fi
29854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29855 ac_ext=c
29856 ac_cpp='$CPP $CPPFLAGS'
29857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29860
29861
29862 fi
29863
29864 fi
29865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29866 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29867
29868 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29869 for ac_func in _atan2f
29870 do :
29871 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29872 if test "x$ac_cv_func__atan2f" = x""yes; then :
29873 cat >>confdefs.h <<_ACEOF
29874 #define HAVE__ATAN2F 1
29875 _ACEOF
29876
29877 fi
29878 done
29879
29880 fi
29881 fi
29882
29883
29884
29885
29886
29887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29888 $as_echo_n "checking for fabsf declaration... " >&6; }
29889 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29890 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29891 $as_echo_n "(cached) " >&6
29892 else
29893
29894
29895 ac_ext=cpp
29896 ac_cpp='$CXXCPP $CPPFLAGS'
29897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29900
29901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29902 /* end confdefs.h. */
29903 #include <math.h>
29904 #ifdef HAVE_IEEEFP_H
29905 #include <ieeefp.h>
29906 #endif
29907
29908 int
29909 main ()
29910 {
29911 fabsf(0);
29912 ;
29913 return 0;
29914 }
29915 _ACEOF
29916 if ac_fn_cxx_try_compile "$LINENO"; then :
29917 glibcxx_cv_func_fabsf_use=yes
29918 else
29919 glibcxx_cv_func_fabsf_use=no
29920 fi
29921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29922 ac_ext=c
29923 ac_cpp='$CPP $CPPFLAGS'
29924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29927
29928
29929 fi
29930
29931 fi
29932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29933 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29934
29935 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29936 for ac_func in fabsf
29937 do :
29938 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29939 if test "x$ac_cv_func_fabsf" = x""yes; then :
29940 cat >>confdefs.h <<_ACEOF
29941 #define HAVE_FABSF 1
29942 _ACEOF
29943
29944 fi
29945 done
29946
29947 else
29948
29949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29950 $as_echo_n "checking for _fabsf declaration... " >&6; }
29951 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29952 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29953 $as_echo_n "(cached) " >&6
29954 else
29955
29956
29957 ac_ext=cpp
29958 ac_cpp='$CXXCPP $CPPFLAGS'
29959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29962
29963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29964 /* end confdefs.h. */
29965 #include <math.h>
29966 #ifdef HAVE_IEEEFP_H
29967 #include <ieeefp.h>
29968 #endif
29969
29970 int
29971 main ()
29972 {
29973 _fabsf(0);
29974 ;
29975 return 0;
29976 }
29977 _ACEOF
29978 if ac_fn_cxx_try_compile "$LINENO"; then :
29979 glibcxx_cv_func__fabsf_use=yes
29980 else
29981 glibcxx_cv_func__fabsf_use=no
29982 fi
29983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29984 ac_ext=c
29985 ac_cpp='$CPP $CPPFLAGS'
29986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29989
29990
29991 fi
29992
29993 fi
29994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29995 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29996
29997 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29998 for ac_func in _fabsf
29999 do :
30000 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30001 if test "x$ac_cv_func__fabsf" = x""yes; then :
30002 cat >>confdefs.h <<_ACEOF
30003 #define HAVE__FABSF 1
30004 _ACEOF
30005
30006 fi
30007 done
30008
30009 fi
30010 fi
30011
30012
30013
30014
30015
30016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30017 $as_echo_n "checking for fmodf declaration... " >&6; }
30018 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30019 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30020 $as_echo_n "(cached) " >&6
30021 else
30022
30023
30024 ac_ext=cpp
30025 ac_cpp='$CXXCPP $CPPFLAGS'
30026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30029
30030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30031 /* end confdefs.h. */
30032 #include <math.h>
30033 int
30034 main ()
30035 {
30036 fmodf(0, 0);
30037 ;
30038 return 0;
30039 }
30040 _ACEOF
30041 if ac_fn_cxx_try_compile "$LINENO"; then :
30042 glibcxx_cv_func_fmodf_use=yes
30043 else
30044 glibcxx_cv_func_fmodf_use=no
30045 fi
30046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30047 ac_ext=c
30048 ac_cpp='$CPP $CPPFLAGS'
30049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30052
30053
30054 fi
30055
30056 fi
30057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30058 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30059
30060 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30061 for ac_func in fmodf
30062 do :
30063 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30064 if test "x$ac_cv_func_fmodf" = x""yes; then :
30065 cat >>confdefs.h <<_ACEOF
30066 #define HAVE_FMODF 1
30067 _ACEOF
30068
30069 fi
30070 done
30071
30072 else
30073
30074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30075 $as_echo_n "checking for _fmodf declaration... " >&6; }
30076 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30077 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30078 $as_echo_n "(cached) " >&6
30079 else
30080
30081
30082 ac_ext=cpp
30083 ac_cpp='$CXXCPP $CPPFLAGS'
30084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30087
30088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30089 /* end confdefs.h. */
30090 #include <math.h>
30091 int
30092 main ()
30093 {
30094 _fmodf(0, 0);
30095 ;
30096 return 0;
30097 }
30098 _ACEOF
30099 if ac_fn_cxx_try_compile "$LINENO"; then :
30100 glibcxx_cv_func__fmodf_use=yes
30101 else
30102 glibcxx_cv_func__fmodf_use=no
30103 fi
30104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30105 ac_ext=c
30106 ac_cpp='$CPP $CPPFLAGS'
30107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30110
30111
30112 fi
30113
30114 fi
30115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30116 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30117
30118 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30119 for ac_func in _fmodf
30120 do :
30121 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30122 if test "x$ac_cv_func__fmodf" = x""yes; then :
30123 cat >>confdefs.h <<_ACEOF
30124 #define HAVE__FMODF 1
30125 _ACEOF
30126
30127 fi
30128 done
30129
30130 fi
30131 fi
30132
30133
30134
30135
30136
30137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30138 $as_echo_n "checking for frexpf declaration... " >&6; }
30139 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30140 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30141 $as_echo_n "(cached) " >&6
30142 else
30143
30144
30145 ac_ext=cpp
30146 ac_cpp='$CXXCPP $CPPFLAGS'
30147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30150
30151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30152 /* end confdefs.h. */
30153 #include <math.h>
30154 int
30155 main ()
30156 {
30157 frexpf(0, 0);
30158 ;
30159 return 0;
30160 }
30161 _ACEOF
30162 if ac_fn_cxx_try_compile "$LINENO"; then :
30163 glibcxx_cv_func_frexpf_use=yes
30164 else
30165 glibcxx_cv_func_frexpf_use=no
30166 fi
30167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30168 ac_ext=c
30169 ac_cpp='$CPP $CPPFLAGS'
30170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30173
30174
30175 fi
30176
30177 fi
30178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30179 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30180
30181 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30182 for ac_func in frexpf
30183 do :
30184 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30185 if test "x$ac_cv_func_frexpf" = x""yes; then :
30186 cat >>confdefs.h <<_ACEOF
30187 #define HAVE_FREXPF 1
30188 _ACEOF
30189
30190 fi
30191 done
30192
30193 else
30194
30195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30196 $as_echo_n "checking for _frexpf declaration... " >&6; }
30197 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30198 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30199 $as_echo_n "(cached) " >&6
30200 else
30201
30202
30203 ac_ext=cpp
30204 ac_cpp='$CXXCPP $CPPFLAGS'
30205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30208
30209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30210 /* end confdefs.h. */
30211 #include <math.h>
30212 int
30213 main ()
30214 {
30215 _frexpf(0, 0);
30216 ;
30217 return 0;
30218 }
30219 _ACEOF
30220 if ac_fn_cxx_try_compile "$LINENO"; then :
30221 glibcxx_cv_func__frexpf_use=yes
30222 else
30223 glibcxx_cv_func__frexpf_use=no
30224 fi
30225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30226 ac_ext=c
30227 ac_cpp='$CPP $CPPFLAGS'
30228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30231
30232
30233 fi
30234
30235 fi
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30237 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30238
30239 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30240 for ac_func in _frexpf
30241 do :
30242 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30243 if test "x$ac_cv_func__frexpf" = x""yes; then :
30244 cat >>confdefs.h <<_ACEOF
30245 #define HAVE__FREXPF 1
30246 _ACEOF
30247
30248 fi
30249 done
30250
30251 fi
30252 fi
30253
30254
30255
30256
30257
30258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30259 $as_echo_n "checking for hypotf declaration... " >&6; }
30260 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30261 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30262 $as_echo_n "(cached) " >&6
30263 else
30264
30265
30266 ac_ext=cpp
30267 ac_cpp='$CXXCPP $CPPFLAGS'
30268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30271
30272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30273 /* end confdefs.h. */
30274 #include <math.h>
30275 int
30276 main ()
30277 {
30278 hypotf(0, 0);
30279 ;
30280 return 0;
30281 }
30282 _ACEOF
30283 if ac_fn_cxx_try_compile "$LINENO"; then :
30284 glibcxx_cv_func_hypotf_use=yes
30285 else
30286 glibcxx_cv_func_hypotf_use=no
30287 fi
30288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30289 ac_ext=c
30290 ac_cpp='$CPP $CPPFLAGS'
30291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30294
30295
30296 fi
30297
30298 fi
30299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30300 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30301
30302 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30303 for ac_func in hypotf
30304 do :
30305 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30306 if test "x$ac_cv_func_hypotf" = x""yes; then :
30307 cat >>confdefs.h <<_ACEOF
30308 #define HAVE_HYPOTF 1
30309 _ACEOF
30310
30311 fi
30312 done
30313
30314 else
30315
30316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30317 $as_echo_n "checking for _hypotf declaration... " >&6; }
30318 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30319 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30320 $as_echo_n "(cached) " >&6
30321 else
30322
30323
30324 ac_ext=cpp
30325 ac_cpp='$CXXCPP $CPPFLAGS'
30326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30329
30330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30331 /* end confdefs.h. */
30332 #include <math.h>
30333 int
30334 main ()
30335 {
30336 _hypotf(0, 0);
30337 ;
30338 return 0;
30339 }
30340 _ACEOF
30341 if ac_fn_cxx_try_compile "$LINENO"; then :
30342 glibcxx_cv_func__hypotf_use=yes
30343 else
30344 glibcxx_cv_func__hypotf_use=no
30345 fi
30346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30347 ac_ext=c
30348 ac_cpp='$CPP $CPPFLAGS'
30349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30352
30353
30354 fi
30355
30356 fi
30357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30358 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30359
30360 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30361 for ac_func in _hypotf
30362 do :
30363 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30364 if test "x$ac_cv_func__hypotf" = x""yes; then :
30365 cat >>confdefs.h <<_ACEOF
30366 #define HAVE__HYPOTF 1
30367 _ACEOF
30368
30369 fi
30370 done
30371
30372 fi
30373 fi
30374
30375
30376
30377
30378
30379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30380 $as_echo_n "checking for ldexpf declaration... " >&6; }
30381 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30382 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30383 $as_echo_n "(cached) " >&6
30384 else
30385
30386
30387 ac_ext=cpp
30388 ac_cpp='$CXXCPP $CPPFLAGS'
30389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30392
30393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30394 /* end confdefs.h. */
30395 #include <math.h>
30396 int
30397 main ()
30398 {
30399 ldexpf(0, 0);
30400 ;
30401 return 0;
30402 }
30403 _ACEOF
30404 if ac_fn_cxx_try_compile "$LINENO"; then :
30405 glibcxx_cv_func_ldexpf_use=yes
30406 else
30407 glibcxx_cv_func_ldexpf_use=no
30408 fi
30409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30410 ac_ext=c
30411 ac_cpp='$CPP $CPPFLAGS'
30412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30415
30416
30417 fi
30418
30419 fi
30420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30421 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30422
30423 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30424 for ac_func in ldexpf
30425 do :
30426 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30427 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30428 cat >>confdefs.h <<_ACEOF
30429 #define HAVE_LDEXPF 1
30430 _ACEOF
30431
30432 fi
30433 done
30434
30435 else
30436
30437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30438 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30439 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30440 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30441 $as_echo_n "(cached) " >&6
30442 else
30443
30444
30445 ac_ext=cpp
30446 ac_cpp='$CXXCPP $CPPFLAGS'
30447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30450
30451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30452 /* end confdefs.h. */
30453 #include <math.h>
30454 int
30455 main ()
30456 {
30457 _ldexpf(0, 0);
30458 ;
30459 return 0;
30460 }
30461 _ACEOF
30462 if ac_fn_cxx_try_compile "$LINENO"; then :
30463 glibcxx_cv_func__ldexpf_use=yes
30464 else
30465 glibcxx_cv_func__ldexpf_use=no
30466 fi
30467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30468 ac_ext=c
30469 ac_cpp='$CPP $CPPFLAGS'
30470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30473
30474
30475 fi
30476
30477 fi
30478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30479 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30480
30481 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30482 for ac_func in _ldexpf
30483 do :
30484 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30485 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30486 cat >>confdefs.h <<_ACEOF
30487 #define HAVE__LDEXPF 1
30488 _ACEOF
30489
30490 fi
30491 done
30492
30493 fi
30494 fi
30495
30496
30497
30498
30499
30500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30501 $as_echo_n "checking for logf declaration... " >&6; }
30502 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30503 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30504 $as_echo_n "(cached) " >&6
30505 else
30506
30507
30508 ac_ext=cpp
30509 ac_cpp='$CXXCPP $CPPFLAGS'
30510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30513
30514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30515 /* end confdefs.h. */
30516 #include <math.h>
30517 #ifdef HAVE_IEEEFP_H
30518 #include <ieeefp.h>
30519 #endif
30520
30521 int
30522 main ()
30523 {
30524 logf(0);
30525 ;
30526 return 0;
30527 }
30528 _ACEOF
30529 if ac_fn_cxx_try_compile "$LINENO"; then :
30530 glibcxx_cv_func_logf_use=yes
30531 else
30532 glibcxx_cv_func_logf_use=no
30533 fi
30534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30535 ac_ext=c
30536 ac_cpp='$CPP $CPPFLAGS'
30537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30540
30541
30542 fi
30543
30544 fi
30545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30546 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30547
30548 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30549 for ac_func in logf
30550 do :
30551 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30552 if test "x$ac_cv_func_logf" = x""yes; then :
30553 cat >>confdefs.h <<_ACEOF
30554 #define HAVE_LOGF 1
30555 _ACEOF
30556
30557 fi
30558 done
30559
30560 else
30561
30562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30563 $as_echo_n "checking for _logf declaration... " >&6; }
30564 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30565 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30566 $as_echo_n "(cached) " >&6
30567 else
30568
30569
30570 ac_ext=cpp
30571 ac_cpp='$CXXCPP $CPPFLAGS'
30572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30575
30576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30577 /* end confdefs.h. */
30578 #include <math.h>
30579 #ifdef HAVE_IEEEFP_H
30580 #include <ieeefp.h>
30581 #endif
30582
30583 int
30584 main ()
30585 {
30586 _logf(0);
30587 ;
30588 return 0;
30589 }
30590 _ACEOF
30591 if ac_fn_cxx_try_compile "$LINENO"; then :
30592 glibcxx_cv_func__logf_use=yes
30593 else
30594 glibcxx_cv_func__logf_use=no
30595 fi
30596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30597 ac_ext=c
30598 ac_cpp='$CPP $CPPFLAGS'
30599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30602
30603
30604 fi
30605
30606 fi
30607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30608 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30609
30610 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30611 for ac_func in _logf
30612 do :
30613 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30614 if test "x$ac_cv_func__logf" = x""yes; then :
30615 cat >>confdefs.h <<_ACEOF
30616 #define HAVE__LOGF 1
30617 _ACEOF
30618
30619 fi
30620 done
30621
30622 fi
30623 fi
30624
30625
30626
30627
30628
30629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30630 $as_echo_n "checking for log10f declaration... " >&6; }
30631 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30632 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30633 $as_echo_n "(cached) " >&6
30634 else
30635
30636
30637 ac_ext=cpp
30638 ac_cpp='$CXXCPP $CPPFLAGS'
30639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30642
30643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30644 /* end confdefs.h. */
30645 #include <math.h>
30646 #ifdef HAVE_IEEEFP_H
30647 #include <ieeefp.h>
30648 #endif
30649
30650 int
30651 main ()
30652 {
30653 log10f(0);
30654 ;
30655 return 0;
30656 }
30657 _ACEOF
30658 if ac_fn_cxx_try_compile "$LINENO"; then :
30659 glibcxx_cv_func_log10f_use=yes
30660 else
30661 glibcxx_cv_func_log10f_use=no
30662 fi
30663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30664 ac_ext=c
30665 ac_cpp='$CPP $CPPFLAGS'
30666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30669
30670
30671 fi
30672
30673 fi
30674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30675 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30676
30677 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30678 for ac_func in log10f
30679 do :
30680 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30681 if test "x$ac_cv_func_log10f" = x""yes; then :
30682 cat >>confdefs.h <<_ACEOF
30683 #define HAVE_LOG10F 1
30684 _ACEOF
30685
30686 fi
30687 done
30688
30689 else
30690
30691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30692 $as_echo_n "checking for _log10f declaration... " >&6; }
30693 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30694 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30695 $as_echo_n "(cached) " >&6
30696 else
30697
30698
30699 ac_ext=cpp
30700 ac_cpp='$CXXCPP $CPPFLAGS'
30701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30704
30705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30706 /* end confdefs.h. */
30707 #include <math.h>
30708 #ifdef HAVE_IEEEFP_H
30709 #include <ieeefp.h>
30710 #endif
30711
30712 int
30713 main ()
30714 {
30715 _log10f(0);
30716 ;
30717 return 0;
30718 }
30719 _ACEOF
30720 if ac_fn_cxx_try_compile "$LINENO"; then :
30721 glibcxx_cv_func__log10f_use=yes
30722 else
30723 glibcxx_cv_func__log10f_use=no
30724 fi
30725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30726 ac_ext=c
30727 ac_cpp='$CPP $CPPFLAGS'
30728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30731
30732
30733 fi
30734
30735 fi
30736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30737 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30738
30739 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30740 for ac_func in _log10f
30741 do :
30742 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30743 if test "x$ac_cv_func__log10f" = x""yes; then :
30744 cat >>confdefs.h <<_ACEOF
30745 #define HAVE__LOG10F 1
30746 _ACEOF
30747
30748 fi
30749 done
30750
30751 fi
30752 fi
30753
30754
30755
30756
30757
30758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30759 $as_echo_n "checking for modff declaration... " >&6; }
30760 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30761 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30762 $as_echo_n "(cached) " >&6
30763 else
30764
30765
30766 ac_ext=cpp
30767 ac_cpp='$CXXCPP $CPPFLAGS'
30768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30771
30772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30773 /* end confdefs.h. */
30774 #include <math.h>
30775 int
30776 main ()
30777 {
30778 modff(0, 0);
30779 ;
30780 return 0;
30781 }
30782 _ACEOF
30783 if ac_fn_cxx_try_compile "$LINENO"; then :
30784 glibcxx_cv_func_modff_use=yes
30785 else
30786 glibcxx_cv_func_modff_use=no
30787 fi
30788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30789 ac_ext=c
30790 ac_cpp='$CPP $CPPFLAGS'
30791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30794
30795
30796 fi
30797
30798 fi
30799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30800 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30801
30802 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30803 for ac_func in modff
30804 do :
30805 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30806 if test "x$ac_cv_func_modff" = x""yes; then :
30807 cat >>confdefs.h <<_ACEOF
30808 #define HAVE_MODFF 1
30809 _ACEOF
30810
30811 fi
30812 done
30813
30814 else
30815
30816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30817 $as_echo_n "checking for _modff declaration... " >&6; }
30818 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30819 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30820 $as_echo_n "(cached) " >&6
30821 else
30822
30823
30824 ac_ext=cpp
30825 ac_cpp='$CXXCPP $CPPFLAGS'
30826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30829
30830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30831 /* end confdefs.h. */
30832 #include <math.h>
30833 int
30834 main ()
30835 {
30836 _modff(0, 0);
30837 ;
30838 return 0;
30839 }
30840 _ACEOF
30841 if ac_fn_cxx_try_compile "$LINENO"; then :
30842 glibcxx_cv_func__modff_use=yes
30843 else
30844 glibcxx_cv_func__modff_use=no
30845 fi
30846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30847 ac_ext=c
30848 ac_cpp='$CPP $CPPFLAGS'
30849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30852
30853
30854 fi
30855
30856 fi
30857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30858 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30859
30860 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30861 for ac_func in _modff
30862 do :
30863 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30864 if test "x$ac_cv_func__modff" = x""yes; then :
30865 cat >>confdefs.h <<_ACEOF
30866 #define HAVE__MODFF 1
30867 _ACEOF
30868
30869 fi
30870 done
30871
30872 fi
30873 fi
30874
30875
30876
30877
30878
30879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30880 $as_echo_n "checking for modf declaration... " >&6; }
30881 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30882 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30883 $as_echo_n "(cached) " >&6
30884 else
30885
30886
30887 ac_ext=cpp
30888 ac_cpp='$CXXCPP $CPPFLAGS'
30889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30892
30893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30894 /* end confdefs.h. */
30895 #include <math.h>
30896 int
30897 main ()
30898 {
30899 modf(0, 0);
30900 ;
30901 return 0;
30902 }
30903 _ACEOF
30904 if ac_fn_cxx_try_compile "$LINENO"; then :
30905 glibcxx_cv_func_modf_use=yes
30906 else
30907 glibcxx_cv_func_modf_use=no
30908 fi
30909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30910 ac_ext=c
30911 ac_cpp='$CPP $CPPFLAGS'
30912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30915
30916
30917 fi
30918
30919 fi
30920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30921 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30922
30923 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30924 for ac_func in modf
30925 do :
30926 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30927 if test "x$ac_cv_func_modf" = x""yes; then :
30928 cat >>confdefs.h <<_ACEOF
30929 #define HAVE_MODF 1
30930 _ACEOF
30931
30932 fi
30933 done
30934
30935 else
30936
30937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30938 $as_echo_n "checking for _modf declaration... " >&6; }
30939 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30940 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30941 $as_echo_n "(cached) " >&6
30942 else
30943
30944
30945 ac_ext=cpp
30946 ac_cpp='$CXXCPP $CPPFLAGS'
30947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30950
30951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30952 /* end confdefs.h. */
30953 #include <math.h>
30954 int
30955 main ()
30956 {
30957 _modf(0, 0);
30958 ;
30959 return 0;
30960 }
30961 _ACEOF
30962 if ac_fn_cxx_try_compile "$LINENO"; then :
30963 glibcxx_cv_func__modf_use=yes
30964 else
30965 glibcxx_cv_func__modf_use=no
30966 fi
30967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30968 ac_ext=c
30969 ac_cpp='$CPP $CPPFLAGS'
30970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30973
30974
30975 fi
30976
30977 fi
30978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30979 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30980
30981 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30982 for ac_func in _modf
30983 do :
30984 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30985 if test "x$ac_cv_func__modf" = x""yes; then :
30986 cat >>confdefs.h <<_ACEOF
30987 #define HAVE__MODF 1
30988 _ACEOF
30989
30990 fi
30991 done
30992
30993 fi
30994 fi
30995
30996
30997
30998
30999
31000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31001 $as_echo_n "checking for powf declaration... " >&6; }
31002 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31003 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31004 $as_echo_n "(cached) " >&6
31005 else
31006
31007
31008 ac_ext=cpp
31009 ac_cpp='$CXXCPP $CPPFLAGS'
31010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31013
31014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31015 /* end confdefs.h. */
31016 #include <math.h>
31017 int
31018 main ()
31019 {
31020 powf(0, 0);
31021 ;
31022 return 0;
31023 }
31024 _ACEOF
31025 if ac_fn_cxx_try_compile "$LINENO"; then :
31026 glibcxx_cv_func_powf_use=yes
31027 else
31028 glibcxx_cv_func_powf_use=no
31029 fi
31030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31031 ac_ext=c
31032 ac_cpp='$CPP $CPPFLAGS'
31033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31036
31037
31038 fi
31039
31040 fi
31041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31042 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31043
31044 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31045 for ac_func in powf
31046 do :
31047 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31048 if test "x$ac_cv_func_powf" = x""yes; then :
31049 cat >>confdefs.h <<_ACEOF
31050 #define HAVE_POWF 1
31051 _ACEOF
31052
31053 fi
31054 done
31055
31056 else
31057
31058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31059 $as_echo_n "checking for _powf declaration... " >&6; }
31060 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31061 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31062 $as_echo_n "(cached) " >&6
31063 else
31064
31065
31066 ac_ext=cpp
31067 ac_cpp='$CXXCPP $CPPFLAGS'
31068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31071
31072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31073 /* end confdefs.h. */
31074 #include <math.h>
31075 int
31076 main ()
31077 {
31078 _powf(0, 0);
31079 ;
31080 return 0;
31081 }
31082 _ACEOF
31083 if ac_fn_cxx_try_compile "$LINENO"; then :
31084 glibcxx_cv_func__powf_use=yes
31085 else
31086 glibcxx_cv_func__powf_use=no
31087 fi
31088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31089 ac_ext=c
31090 ac_cpp='$CPP $CPPFLAGS'
31091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31094
31095
31096 fi
31097
31098 fi
31099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31100 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31101
31102 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31103 for ac_func in _powf
31104 do :
31105 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31106 if test "x$ac_cv_func__powf" = x""yes; then :
31107 cat >>confdefs.h <<_ACEOF
31108 #define HAVE__POWF 1
31109 _ACEOF
31110
31111 fi
31112 done
31113
31114 fi
31115 fi
31116
31117
31118
31119
31120
31121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31122 $as_echo_n "checking for sqrtf declaration... " >&6; }
31123 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31124 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31125 $as_echo_n "(cached) " >&6
31126 else
31127
31128
31129 ac_ext=cpp
31130 ac_cpp='$CXXCPP $CPPFLAGS'
31131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31134
31135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31136 /* end confdefs.h. */
31137 #include <math.h>
31138 #ifdef HAVE_IEEEFP_H
31139 #include <ieeefp.h>
31140 #endif
31141
31142 int
31143 main ()
31144 {
31145 sqrtf(0);
31146 ;
31147 return 0;
31148 }
31149 _ACEOF
31150 if ac_fn_cxx_try_compile "$LINENO"; then :
31151 glibcxx_cv_func_sqrtf_use=yes
31152 else
31153 glibcxx_cv_func_sqrtf_use=no
31154 fi
31155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31156 ac_ext=c
31157 ac_cpp='$CPP $CPPFLAGS'
31158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31161
31162
31163 fi
31164
31165 fi
31166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31167 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31168
31169 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31170 for ac_func in sqrtf
31171 do :
31172 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31173 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31174 cat >>confdefs.h <<_ACEOF
31175 #define HAVE_SQRTF 1
31176 _ACEOF
31177
31178 fi
31179 done
31180
31181 else
31182
31183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31184 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31185 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31186 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31187 $as_echo_n "(cached) " >&6
31188 else
31189
31190
31191 ac_ext=cpp
31192 ac_cpp='$CXXCPP $CPPFLAGS'
31193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31196
31197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31198 /* end confdefs.h. */
31199 #include <math.h>
31200 #ifdef HAVE_IEEEFP_H
31201 #include <ieeefp.h>
31202 #endif
31203
31204 int
31205 main ()
31206 {
31207 _sqrtf(0);
31208 ;
31209 return 0;
31210 }
31211 _ACEOF
31212 if ac_fn_cxx_try_compile "$LINENO"; then :
31213 glibcxx_cv_func__sqrtf_use=yes
31214 else
31215 glibcxx_cv_func__sqrtf_use=no
31216 fi
31217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31218 ac_ext=c
31219 ac_cpp='$CPP $CPPFLAGS'
31220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31223
31224
31225 fi
31226
31227 fi
31228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31229 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31230
31231 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31232 for ac_func in _sqrtf
31233 do :
31234 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31235 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31236 cat >>confdefs.h <<_ACEOF
31237 #define HAVE__SQRTF 1
31238 _ACEOF
31239
31240 fi
31241 done
31242
31243 fi
31244 fi
31245
31246
31247
31248
31249
31250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31251 $as_echo_n "checking for sincosf declaration... " >&6; }
31252 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31253 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31254 $as_echo_n "(cached) " >&6
31255 else
31256
31257
31258 ac_ext=cpp
31259 ac_cpp='$CXXCPP $CPPFLAGS'
31260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31263
31264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31265 /* end confdefs.h. */
31266 #include <math.h>
31267 int
31268 main ()
31269 {
31270 sincosf(0, 0, 0);
31271 ;
31272 return 0;
31273 }
31274 _ACEOF
31275 if ac_fn_cxx_try_compile "$LINENO"; then :
31276 glibcxx_cv_func_sincosf_use=yes
31277 else
31278 glibcxx_cv_func_sincosf_use=no
31279 fi
31280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31281 ac_ext=c
31282 ac_cpp='$CPP $CPPFLAGS'
31283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31286
31287
31288 fi
31289
31290 fi
31291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31292 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31293
31294 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31295 for ac_func in sincosf
31296 do :
31297 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31298 if test "x$ac_cv_func_sincosf" = x""yes; then :
31299 cat >>confdefs.h <<_ACEOF
31300 #define HAVE_SINCOSF 1
31301 _ACEOF
31302
31303 fi
31304 done
31305
31306 else
31307
31308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31309 $as_echo_n "checking for _sincosf declaration... " >&6; }
31310 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31311 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31312 $as_echo_n "(cached) " >&6
31313 else
31314
31315
31316 ac_ext=cpp
31317 ac_cpp='$CXXCPP $CPPFLAGS'
31318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31321
31322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31323 /* end confdefs.h. */
31324 #include <math.h>
31325 int
31326 main ()
31327 {
31328 _sincosf(0, 0, 0);
31329 ;
31330 return 0;
31331 }
31332 _ACEOF
31333 if ac_fn_cxx_try_compile "$LINENO"; then :
31334 glibcxx_cv_func__sincosf_use=yes
31335 else
31336 glibcxx_cv_func__sincosf_use=no
31337 fi
31338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31339 ac_ext=c
31340 ac_cpp='$CPP $CPPFLAGS'
31341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31344
31345
31346 fi
31347
31348 fi
31349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31350 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31351
31352 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31353 for ac_func in _sincosf
31354 do :
31355 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31356 if test "x$ac_cv_func__sincosf" = x""yes; then :
31357 cat >>confdefs.h <<_ACEOF
31358 #define HAVE__SINCOSF 1
31359 _ACEOF
31360
31361 fi
31362 done
31363
31364 fi
31365 fi
31366
31367
31368
31369
31370
31371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31372 $as_echo_n "checking for finitef declaration... " >&6; }
31373 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31374 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31375 $as_echo_n "(cached) " >&6
31376 else
31377
31378
31379 ac_ext=cpp
31380 ac_cpp='$CXXCPP $CPPFLAGS'
31381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31384
31385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31386 /* end confdefs.h. */
31387 #include <math.h>
31388 #ifdef HAVE_IEEEFP_H
31389 #include <ieeefp.h>
31390 #endif
31391
31392 int
31393 main ()
31394 {
31395 finitef(0);
31396 ;
31397 return 0;
31398 }
31399 _ACEOF
31400 if ac_fn_cxx_try_compile "$LINENO"; then :
31401 glibcxx_cv_func_finitef_use=yes
31402 else
31403 glibcxx_cv_func_finitef_use=no
31404 fi
31405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31406 ac_ext=c
31407 ac_cpp='$CPP $CPPFLAGS'
31408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31411
31412
31413 fi
31414
31415 fi
31416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31417 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31418
31419 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31420 for ac_func in finitef
31421 do :
31422 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31423 if test "x$ac_cv_func_finitef" = x""yes; then :
31424 cat >>confdefs.h <<_ACEOF
31425 #define HAVE_FINITEF 1
31426 _ACEOF
31427
31428 fi
31429 done
31430
31431 else
31432
31433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31434 $as_echo_n "checking for _finitef declaration... " >&6; }
31435 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31436 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31437 $as_echo_n "(cached) " >&6
31438 else
31439
31440
31441 ac_ext=cpp
31442 ac_cpp='$CXXCPP $CPPFLAGS'
31443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31446
31447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31448 /* end confdefs.h. */
31449 #include <math.h>
31450 #ifdef HAVE_IEEEFP_H
31451 #include <ieeefp.h>
31452 #endif
31453
31454 int
31455 main ()
31456 {
31457 _finitef(0);
31458 ;
31459 return 0;
31460 }
31461 _ACEOF
31462 if ac_fn_cxx_try_compile "$LINENO"; then :
31463 glibcxx_cv_func__finitef_use=yes
31464 else
31465 glibcxx_cv_func__finitef_use=no
31466 fi
31467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31468 ac_ext=c
31469 ac_cpp='$CPP $CPPFLAGS'
31470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31473
31474
31475 fi
31476
31477 fi
31478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31479 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31480
31481 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31482 for ac_func in _finitef
31483 do :
31484 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31485 if test "x$ac_cv_func__finitef" = x""yes; then :
31486 cat >>confdefs.h <<_ACEOF
31487 #define HAVE__FINITEF 1
31488 _ACEOF
31489
31490 fi
31491 done
31492
31493 fi
31494 fi
31495
31496
31497
31498
31499
31500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31501 $as_echo_n "checking for long double trig functions... " >&6; }
31502 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31503 $as_echo_n "(cached) " >&6
31504 else
31505
31506
31507 ac_ext=cpp
31508 ac_cpp='$CXXCPP $CPPFLAGS'
31509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31512
31513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31514 /* end confdefs.h. */
31515 #include <math.h>
31516 int
31517 main ()
31518 {
31519 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31520 ;
31521 return 0;
31522 }
31523 _ACEOF
31524 if ac_fn_cxx_try_compile "$LINENO"; then :
31525 glibcxx_cv_func_long_double_trig_use=yes
31526 else
31527 glibcxx_cv_func_long_double_trig_use=no
31528 fi
31529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31530 ac_ext=c
31531 ac_cpp='$CPP $CPPFLAGS'
31532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31535
31536 fi
31537
31538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31539 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31540 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31541 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31542 do :
31543 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31544 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31545 eval as_val=\$$as_ac_var
31546 if test "x$as_val" = x""yes; then :
31547 cat >>confdefs.h <<_ACEOF
31548 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31549 _ACEOF
31550
31551 fi
31552 done
31553
31554 else
31555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31556 $as_echo_n "checking for _long double trig functions... " >&6; }
31557 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31558 $as_echo_n "(cached) " >&6
31559 else
31560
31561
31562 ac_ext=cpp
31563 ac_cpp='$CXXCPP $CPPFLAGS'
31564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31567
31568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31569 /* end confdefs.h. */
31570 #include <math.h>
31571 int
31572 main ()
31573 {
31574 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31575 ;
31576 return 0;
31577 }
31578 _ACEOF
31579 if ac_fn_cxx_try_compile "$LINENO"; then :
31580 glibcxx_cv_func__long_double_trig_use=yes
31581 else
31582 glibcxx_cv_func__long_double_trig_use=no
31583 fi
31584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31585 ac_ext=c
31586 ac_cpp='$CPP $CPPFLAGS'
31587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31590
31591 fi
31592
31593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31594 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31595 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31596 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31597 do :
31598 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31599 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31600 eval as_val=\$$as_ac_var
31601 if test "x$as_val" = x""yes; then :
31602 cat >>confdefs.h <<_ACEOF
31603 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31604 _ACEOF
31605
31606 fi
31607 done
31608
31609 fi
31610 fi
31611
31612
31613
31614
31615
31616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31617 $as_echo_n "checking for long double round functions... " >&6; }
31618 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31619 $as_echo_n "(cached) " >&6
31620 else
31621
31622
31623 ac_ext=cpp
31624 ac_cpp='$CXXCPP $CPPFLAGS'
31625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31628
31629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31630 /* end confdefs.h. */
31631 #include <math.h>
31632 int
31633 main ()
31634 {
31635 ceill (0); floorl (0);
31636 ;
31637 return 0;
31638 }
31639 _ACEOF
31640 if ac_fn_cxx_try_compile "$LINENO"; then :
31641 glibcxx_cv_func_long_double_round_use=yes
31642 else
31643 glibcxx_cv_func_long_double_round_use=no
31644 fi
31645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31646 ac_ext=c
31647 ac_cpp='$CPP $CPPFLAGS'
31648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31651
31652 fi
31653
31654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31655 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31656 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31657 for ac_func in ceill floorl
31658 do :
31659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31661 eval as_val=\$$as_ac_var
31662 if test "x$as_val" = x""yes; then :
31663 cat >>confdefs.h <<_ACEOF
31664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31665 _ACEOF
31666
31667 fi
31668 done
31669
31670 else
31671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31672 $as_echo_n "checking for _long double round functions... " >&6; }
31673 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31674 $as_echo_n "(cached) " >&6
31675 else
31676
31677
31678 ac_ext=cpp
31679 ac_cpp='$CXXCPP $CPPFLAGS'
31680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31683
31684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31685 /* end confdefs.h. */
31686 #include <math.h>
31687 int
31688 main ()
31689 {
31690 _ceill (0); _floorl (0);
31691 ;
31692 return 0;
31693 }
31694 _ACEOF
31695 if ac_fn_cxx_try_compile "$LINENO"; then :
31696 glibcxx_cv_func__long_double_round_use=yes
31697 else
31698 glibcxx_cv_func__long_double_round_use=no
31699 fi
31700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31701 ac_ext=c
31702 ac_cpp='$CPP $CPPFLAGS'
31703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31706
31707 fi
31708
31709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31710 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31711 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31712 for ac_func in _ceill _floorl
31713 do :
31714 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31715 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31716 eval as_val=\$$as_ac_var
31717 if test "x$as_val" = x""yes; then :
31718 cat >>confdefs.h <<_ACEOF
31719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31720 _ACEOF
31721
31722 fi
31723 done
31724
31725 fi
31726 fi
31727
31728
31729
31730
31731
31732
31733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31734 $as_echo_n "checking for isnanl declaration... " >&6; }
31735 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31736 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31737 $as_echo_n "(cached) " >&6
31738 else
31739
31740
31741 ac_ext=cpp
31742 ac_cpp='$CXXCPP $CPPFLAGS'
31743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31746
31747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31748 /* end confdefs.h. */
31749 #include <math.h>
31750 #ifdef HAVE_IEEEFP_H
31751 #include <ieeefp.h>
31752 #endif
31753
31754 int
31755 main ()
31756 {
31757 isnanl(0);
31758 ;
31759 return 0;
31760 }
31761 _ACEOF
31762 if ac_fn_cxx_try_compile "$LINENO"; then :
31763 glibcxx_cv_func_isnanl_use=yes
31764 else
31765 glibcxx_cv_func_isnanl_use=no
31766 fi
31767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31768 ac_ext=c
31769 ac_cpp='$CPP $CPPFLAGS'
31770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31773
31774
31775 fi
31776
31777 fi
31778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31779 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31780
31781 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31782 for ac_func in isnanl
31783 do :
31784 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31785 if test "x$ac_cv_func_isnanl" = x""yes; then :
31786 cat >>confdefs.h <<_ACEOF
31787 #define HAVE_ISNANL 1
31788 _ACEOF
31789
31790 fi
31791 done
31792
31793 else
31794
31795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31796 $as_echo_n "checking for _isnanl declaration... " >&6; }
31797 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31798 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31799 $as_echo_n "(cached) " >&6
31800 else
31801
31802
31803 ac_ext=cpp
31804 ac_cpp='$CXXCPP $CPPFLAGS'
31805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31808
31809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31810 /* end confdefs.h. */
31811 #include <math.h>
31812 #ifdef HAVE_IEEEFP_H
31813 #include <ieeefp.h>
31814 #endif
31815
31816 int
31817 main ()
31818 {
31819 _isnanl(0);
31820 ;
31821 return 0;
31822 }
31823 _ACEOF
31824 if ac_fn_cxx_try_compile "$LINENO"; then :
31825 glibcxx_cv_func__isnanl_use=yes
31826 else
31827 glibcxx_cv_func__isnanl_use=no
31828 fi
31829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31830 ac_ext=c
31831 ac_cpp='$CPP $CPPFLAGS'
31832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31835
31836
31837 fi
31838
31839 fi
31840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31841 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31842
31843 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31844 for ac_func in _isnanl
31845 do :
31846 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31847 if test "x$ac_cv_func__isnanl" = x""yes; then :
31848 cat >>confdefs.h <<_ACEOF
31849 #define HAVE__ISNANL 1
31850 _ACEOF
31851
31852 fi
31853 done
31854
31855 fi
31856 fi
31857
31858
31859
31860
31861
31862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31863 $as_echo_n "checking for isinfl declaration... " >&6; }
31864 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31865 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31866 $as_echo_n "(cached) " >&6
31867 else
31868
31869
31870 ac_ext=cpp
31871 ac_cpp='$CXXCPP $CPPFLAGS'
31872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31875
31876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31877 /* end confdefs.h. */
31878 #include <math.h>
31879 #ifdef HAVE_IEEEFP_H
31880 #include <ieeefp.h>
31881 #endif
31882
31883 int
31884 main ()
31885 {
31886 isinfl(0);
31887 ;
31888 return 0;
31889 }
31890 _ACEOF
31891 if ac_fn_cxx_try_compile "$LINENO"; then :
31892 glibcxx_cv_func_isinfl_use=yes
31893 else
31894 glibcxx_cv_func_isinfl_use=no
31895 fi
31896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31897 ac_ext=c
31898 ac_cpp='$CPP $CPPFLAGS'
31899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31902
31903
31904 fi
31905
31906 fi
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31908 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31909
31910 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31911 for ac_func in isinfl
31912 do :
31913 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31914 if test "x$ac_cv_func_isinfl" = x""yes; then :
31915 cat >>confdefs.h <<_ACEOF
31916 #define HAVE_ISINFL 1
31917 _ACEOF
31918
31919 fi
31920 done
31921
31922 else
31923
31924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31925 $as_echo_n "checking for _isinfl declaration... " >&6; }
31926 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31927 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31928 $as_echo_n "(cached) " >&6
31929 else
31930
31931
31932 ac_ext=cpp
31933 ac_cpp='$CXXCPP $CPPFLAGS'
31934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31937
31938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31939 /* end confdefs.h. */
31940 #include <math.h>
31941 #ifdef HAVE_IEEEFP_H
31942 #include <ieeefp.h>
31943 #endif
31944
31945 int
31946 main ()
31947 {
31948 _isinfl(0);
31949 ;
31950 return 0;
31951 }
31952 _ACEOF
31953 if ac_fn_cxx_try_compile "$LINENO"; then :
31954 glibcxx_cv_func__isinfl_use=yes
31955 else
31956 glibcxx_cv_func__isinfl_use=no
31957 fi
31958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31959 ac_ext=c
31960 ac_cpp='$CPP $CPPFLAGS'
31961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31964
31965
31966 fi
31967
31968 fi
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31970 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31971
31972 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31973 for ac_func in _isinfl
31974 do :
31975 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31976 if test "x$ac_cv_func__isinfl" = x""yes; then :
31977 cat >>confdefs.h <<_ACEOF
31978 #define HAVE__ISINFL 1
31979 _ACEOF
31980
31981 fi
31982 done
31983
31984 fi
31985 fi
31986
31987
31988
31989
31990
31991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31992 $as_echo_n "checking for atan2l declaration... " >&6; }
31993 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31994 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31995 $as_echo_n "(cached) " >&6
31996 else
31997
31998
31999 ac_ext=cpp
32000 ac_cpp='$CXXCPP $CPPFLAGS'
32001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32004
32005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32006 /* end confdefs.h. */
32007 #include <math.h>
32008 int
32009 main ()
32010 {
32011 atan2l(0, 0);
32012 ;
32013 return 0;
32014 }
32015 _ACEOF
32016 if ac_fn_cxx_try_compile "$LINENO"; then :
32017 glibcxx_cv_func_atan2l_use=yes
32018 else
32019 glibcxx_cv_func_atan2l_use=no
32020 fi
32021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32022 ac_ext=c
32023 ac_cpp='$CPP $CPPFLAGS'
32024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32027
32028
32029 fi
32030
32031 fi
32032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32033 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32034
32035 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32036 for ac_func in atan2l
32037 do :
32038 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32039 if test "x$ac_cv_func_atan2l" = x""yes; then :
32040 cat >>confdefs.h <<_ACEOF
32041 #define HAVE_ATAN2L 1
32042 _ACEOF
32043
32044 fi
32045 done
32046
32047 else
32048
32049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32050 $as_echo_n "checking for _atan2l declaration... " >&6; }
32051 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32052 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32053 $as_echo_n "(cached) " >&6
32054 else
32055
32056
32057 ac_ext=cpp
32058 ac_cpp='$CXXCPP $CPPFLAGS'
32059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32062
32063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32064 /* end confdefs.h. */
32065 #include <math.h>
32066 int
32067 main ()
32068 {
32069 _atan2l(0, 0);
32070 ;
32071 return 0;
32072 }
32073 _ACEOF
32074 if ac_fn_cxx_try_compile "$LINENO"; then :
32075 glibcxx_cv_func__atan2l_use=yes
32076 else
32077 glibcxx_cv_func__atan2l_use=no
32078 fi
32079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32080 ac_ext=c
32081 ac_cpp='$CPP $CPPFLAGS'
32082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32085
32086
32087 fi
32088
32089 fi
32090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32091 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32092
32093 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32094 for ac_func in _atan2l
32095 do :
32096 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32097 if test "x$ac_cv_func__atan2l" = x""yes; then :
32098 cat >>confdefs.h <<_ACEOF
32099 #define HAVE__ATAN2L 1
32100 _ACEOF
32101
32102 fi
32103 done
32104
32105 fi
32106 fi
32107
32108
32109
32110
32111
32112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32113 $as_echo_n "checking for expl declaration... " >&6; }
32114 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32115 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32116 $as_echo_n "(cached) " >&6
32117 else
32118
32119
32120 ac_ext=cpp
32121 ac_cpp='$CXXCPP $CPPFLAGS'
32122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32125
32126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32127 /* end confdefs.h. */
32128 #include <math.h>
32129 #ifdef HAVE_IEEEFP_H
32130 #include <ieeefp.h>
32131 #endif
32132
32133 int
32134 main ()
32135 {
32136 expl(0);
32137 ;
32138 return 0;
32139 }
32140 _ACEOF
32141 if ac_fn_cxx_try_compile "$LINENO"; then :
32142 glibcxx_cv_func_expl_use=yes
32143 else
32144 glibcxx_cv_func_expl_use=no
32145 fi
32146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32147 ac_ext=c
32148 ac_cpp='$CPP $CPPFLAGS'
32149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32152
32153
32154 fi
32155
32156 fi
32157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32158 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32159
32160 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32161 for ac_func in expl
32162 do :
32163 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32164 if test "x$ac_cv_func_expl" = x""yes; then :
32165 cat >>confdefs.h <<_ACEOF
32166 #define HAVE_EXPL 1
32167 _ACEOF
32168
32169 fi
32170 done
32171
32172 else
32173
32174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32175 $as_echo_n "checking for _expl declaration... " >&6; }
32176 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32177 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32178 $as_echo_n "(cached) " >&6
32179 else
32180
32181
32182 ac_ext=cpp
32183 ac_cpp='$CXXCPP $CPPFLAGS'
32184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32187
32188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32189 /* end confdefs.h. */
32190 #include <math.h>
32191 #ifdef HAVE_IEEEFP_H
32192 #include <ieeefp.h>
32193 #endif
32194
32195 int
32196 main ()
32197 {
32198 _expl(0);
32199 ;
32200 return 0;
32201 }
32202 _ACEOF
32203 if ac_fn_cxx_try_compile "$LINENO"; then :
32204 glibcxx_cv_func__expl_use=yes
32205 else
32206 glibcxx_cv_func__expl_use=no
32207 fi
32208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32209 ac_ext=c
32210 ac_cpp='$CPP $CPPFLAGS'
32211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32214
32215
32216 fi
32217
32218 fi
32219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32220 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32221
32222 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32223 for ac_func in _expl
32224 do :
32225 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32226 if test "x$ac_cv_func__expl" = x""yes; then :
32227 cat >>confdefs.h <<_ACEOF
32228 #define HAVE__EXPL 1
32229 _ACEOF
32230
32231 fi
32232 done
32233
32234 fi
32235 fi
32236
32237
32238
32239
32240
32241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32242 $as_echo_n "checking for fabsl declaration... " >&6; }
32243 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32244 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32245 $as_echo_n "(cached) " >&6
32246 else
32247
32248
32249 ac_ext=cpp
32250 ac_cpp='$CXXCPP $CPPFLAGS'
32251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32254
32255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32256 /* end confdefs.h. */
32257 #include <math.h>
32258 #ifdef HAVE_IEEEFP_H
32259 #include <ieeefp.h>
32260 #endif
32261
32262 int
32263 main ()
32264 {
32265 fabsl(0);
32266 ;
32267 return 0;
32268 }
32269 _ACEOF
32270 if ac_fn_cxx_try_compile "$LINENO"; then :
32271 glibcxx_cv_func_fabsl_use=yes
32272 else
32273 glibcxx_cv_func_fabsl_use=no
32274 fi
32275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32276 ac_ext=c
32277 ac_cpp='$CPP $CPPFLAGS'
32278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32281
32282
32283 fi
32284
32285 fi
32286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32287 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32288
32289 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32290 for ac_func in fabsl
32291 do :
32292 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32293 if test "x$ac_cv_func_fabsl" = x""yes; then :
32294 cat >>confdefs.h <<_ACEOF
32295 #define HAVE_FABSL 1
32296 _ACEOF
32297
32298 fi
32299 done
32300
32301 else
32302
32303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32304 $as_echo_n "checking for _fabsl declaration... " >&6; }
32305 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32306 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32307 $as_echo_n "(cached) " >&6
32308 else
32309
32310
32311 ac_ext=cpp
32312 ac_cpp='$CXXCPP $CPPFLAGS'
32313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32316
32317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32318 /* end confdefs.h. */
32319 #include <math.h>
32320 #ifdef HAVE_IEEEFP_H
32321 #include <ieeefp.h>
32322 #endif
32323
32324 int
32325 main ()
32326 {
32327 _fabsl(0);
32328 ;
32329 return 0;
32330 }
32331 _ACEOF
32332 if ac_fn_cxx_try_compile "$LINENO"; then :
32333 glibcxx_cv_func__fabsl_use=yes
32334 else
32335 glibcxx_cv_func__fabsl_use=no
32336 fi
32337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32338 ac_ext=c
32339 ac_cpp='$CPP $CPPFLAGS'
32340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32343
32344
32345 fi
32346
32347 fi
32348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32349 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32350
32351 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32352 for ac_func in _fabsl
32353 do :
32354 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32355 if test "x$ac_cv_func__fabsl" = x""yes; then :
32356 cat >>confdefs.h <<_ACEOF
32357 #define HAVE__FABSL 1
32358 _ACEOF
32359
32360 fi
32361 done
32362
32363 fi
32364 fi
32365
32366
32367
32368
32369
32370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32371 $as_echo_n "checking for fmodl declaration... " >&6; }
32372 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32373 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32374 $as_echo_n "(cached) " >&6
32375 else
32376
32377
32378 ac_ext=cpp
32379 ac_cpp='$CXXCPP $CPPFLAGS'
32380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32383
32384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32385 /* end confdefs.h. */
32386 #include <math.h>
32387 int
32388 main ()
32389 {
32390 fmodl(0, 0);
32391 ;
32392 return 0;
32393 }
32394 _ACEOF
32395 if ac_fn_cxx_try_compile "$LINENO"; then :
32396 glibcxx_cv_func_fmodl_use=yes
32397 else
32398 glibcxx_cv_func_fmodl_use=no
32399 fi
32400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32401 ac_ext=c
32402 ac_cpp='$CPP $CPPFLAGS'
32403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32406
32407
32408 fi
32409
32410 fi
32411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32412 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32413
32414 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32415 for ac_func in fmodl
32416 do :
32417 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32418 if test "x$ac_cv_func_fmodl" = x""yes; then :
32419 cat >>confdefs.h <<_ACEOF
32420 #define HAVE_FMODL 1
32421 _ACEOF
32422
32423 fi
32424 done
32425
32426 else
32427
32428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32429 $as_echo_n "checking for _fmodl declaration... " >&6; }
32430 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32431 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32432 $as_echo_n "(cached) " >&6
32433 else
32434
32435
32436 ac_ext=cpp
32437 ac_cpp='$CXXCPP $CPPFLAGS'
32438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32441
32442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32443 /* end confdefs.h. */
32444 #include <math.h>
32445 int
32446 main ()
32447 {
32448 _fmodl(0, 0);
32449 ;
32450 return 0;
32451 }
32452 _ACEOF
32453 if ac_fn_cxx_try_compile "$LINENO"; then :
32454 glibcxx_cv_func__fmodl_use=yes
32455 else
32456 glibcxx_cv_func__fmodl_use=no
32457 fi
32458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32459 ac_ext=c
32460 ac_cpp='$CPP $CPPFLAGS'
32461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32464
32465
32466 fi
32467
32468 fi
32469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32470 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32471
32472 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32473 for ac_func in _fmodl
32474 do :
32475 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32476 if test "x$ac_cv_func__fmodl" = x""yes; then :
32477 cat >>confdefs.h <<_ACEOF
32478 #define HAVE__FMODL 1
32479 _ACEOF
32480
32481 fi
32482 done
32483
32484 fi
32485 fi
32486
32487
32488
32489
32490
32491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32492 $as_echo_n "checking for frexpl declaration... " >&6; }
32493 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32494 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32495 $as_echo_n "(cached) " >&6
32496 else
32497
32498
32499 ac_ext=cpp
32500 ac_cpp='$CXXCPP $CPPFLAGS'
32501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32504
32505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32506 /* end confdefs.h. */
32507 #include <math.h>
32508 int
32509 main ()
32510 {
32511 frexpl(0, 0);
32512 ;
32513 return 0;
32514 }
32515 _ACEOF
32516 if ac_fn_cxx_try_compile "$LINENO"; then :
32517 glibcxx_cv_func_frexpl_use=yes
32518 else
32519 glibcxx_cv_func_frexpl_use=no
32520 fi
32521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32522 ac_ext=c
32523 ac_cpp='$CPP $CPPFLAGS'
32524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32527
32528
32529 fi
32530
32531 fi
32532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32533 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32534
32535 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32536 for ac_func in frexpl
32537 do :
32538 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32539 if test "x$ac_cv_func_frexpl" = x""yes; then :
32540 cat >>confdefs.h <<_ACEOF
32541 #define HAVE_FREXPL 1
32542 _ACEOF
32543
32544 fi
32545 done
32546
32547 else
32548
32549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32550 $as_echo_n "checking for _frexpl declaration... " >&6; }
32551 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32552 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32553 $as_echo_n "(cached) " >&6
32554 else
32555
32556
32557 ac_ext=cpp
32558 ac_cpp='$CXXCPP $CPPFLAGS'
32559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32562
32563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32564 /* end confdefs.h. */
32565 #include <math.h>
32566 int
32567 main ()
32568 {
32569 _frexpl(0, 0);
32570 ;
32571 return 0;
32572 }
32573 _ACEOF
32574 if ac_fn_cxx_try_compile "$LINENO"; then :
32575 glibcxx_cv_func__frexpl_use=yes
32576 else
32577 glibcxx_cv_func__frexpl_use=no
32578 fi
32579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32580 ac_ext=c
32581 ac_cpp='$CPP $CPPFLAGS'
32582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32585
32586
32587 fi
32588
32589 fi
32590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32591 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32592
32593 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32594 for ac_func in _frexpl
32595 do :
32596 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32597 if test "x$ac_cv_func__frexpl" = x""yes; then :
32598 cat >>confdefs.h <<_ACEOF
32599 #define HAVE__FREXPL 1
32600 _ACEOF
32601
32602 fi
32603 done
32604
32605 fi
32606 fi
32607
32608
32609
32610
32611
32612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32613 $as_echo_n "checking for hypotl declaration... " >&6; }
32614 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32615 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32616 $as_echo_n "(cached) " >&6
32617 else
32618
32619
32620 ac_ext=cpp
32621 ac_cpp='$CXXCPP $CPPFLAGS'
32622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32625
32626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32627 /* end confdefs.h. */
32628 #include <math.h>
32629 int
32630 main ()
32631 {
32632 hypotl(0, 0);
32633 ;
32634 return 0;
32635 }
32636 _ACEOF
32637 if ac_fn_cxx_try_compile "$LINENO"; then :
32638 glibcxx_cv_func_hypotl_use=yes
32639 else
32640 glibcxx_cv_func_hypotl_use=no
32641 fi
32642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32643 ac_ext=c
32644 ac_cpp='$CPP $CPPFLAGS'
32645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32648
32649
32650 fi
32651
32652 fi
32653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32654 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32655
32656 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32657 for ac_func in hypotl
32658 do :
32659 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32660 if test "x$ac_cv_func_hypotl" = x""yes; then :
32661 cat >>confdefs.h <<_ACEOF
32662 #define HAVE_HYPOTL 1
32663 _ACEOF
32664
32665 fi
32666 done
32667
32668 else
32669
32670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32671 $as_echo_n "checking for _hypotl declaration... " >&6; }
32672 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32673 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32674 $as_echo_n "(cached) " >&6
32675 else
32676
32677
32678 ac_ext=cpp
32679 ac_cpp='$CXXCPP $CPPFLAGS'
32680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32683
32684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32685 /* end confdefs.h. */
32686 #include <math.h>
32687 int
32688 main ()
32689 {
32690 _hypotl(0, 0);
32691 ;
32692 return 0;
32693 }
32694 _ACEOF
32695 if ac_fn_cxx_try_compile "$LINENO"; then :
32696 glibcxx_cv_func__hypotl_use=yes
32697 else
32698 glibcxx_cv_func__hypotl_use=no
32699 fi
32700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32701 ac_ext=c
32702 ac_cpp='$CPP $CPPFLAGS'
32703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32706
32707
32708 fi
32709
32710 fi
32711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32712 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32713
32714 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32715 for ac_func in _hypotl
32716 do :
32717 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32718 if test "x$ac_cv_func__hypotl" = x""yes; then :
32719 cat >>confdefs.h <<_ACEOF
32720 #define HAVE__HYPOTL 1
32721 _ACEOF
32722
32723 fi
32724 done
32725
32726 fi
32727 fi
32728
32729
32730
32731
32732
32733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32734 $as_echo_n "checking for ldexpl declaration... " >&6; }
32735 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32736 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32737 $as_echo_n "(cached) " >&6
32738 else
32739
32740
32741 ac_ext=cpp
32742 ac_cpp='$CXXCPP $CPPFLAGS'
32743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32746
32747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32748 /* end confdefs.h. */
32749 #include <math.h>
32750 int
32751 main ()
32752 {
32753 ldexpl(0, 0);
32754 ;
32755 return 0;
32756 }
32757 _ACEOF
32758 if ac_fn_cxx_try_compile "$LINENO"; then :
32759 glibcxx_cv_func_ldexpl_use=yes
32760 else
32761 glibcxx_cv_func_ldexpl_use=no
32762 fi
32763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32764 ac_ext=c
32765 ac_cpp='$CPP $CPPFLAGS'
32766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32769
32770
32771 fi
32772
32773 fi
32774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32775 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32776
32777 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32778 for ac_func in ldexpl
32779 do :
32780 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32781 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32782 cat >>confdefs.h <<_ACEOF
32783 #define HAVE_LDEXPL 1
32784 _ACEOF
32785
32786 fi
32787 done
32788
32789 else
32790
32791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32792 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32793 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32794 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32795 $as_echo_n "(cached) " >&6
32796 else
32797
32798
32799 ac_ext=cpp
32800 ac_cpp='$CXXCPP $CPPFLAGS'
32801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32804
32805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32806 /* end confdefs.h. */
32807 #include <math.h>
32808 int
32809 main ()
32810 {
32811 _ldexpl(0, 0);
32812 ;
32813 return 0;
32814 }
32815 _ACEOF
32816 if ac_fn_cxx_try_compile "$LINENO"; then :
32817 glibcxx_cv_func__ldexpl_use=yes
32818 else
32819 glibcxx_cv_func__ldexpl_use=no
32820 fi
32821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32822 ac_ext=c
32823 ac_cpp='$CPP $CPPFLAGS'
32824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32827
32828
32829 fi
32830
32831 fi
32832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32833 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32834
32835 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32836 for ac_func in _ldexpl
32837 do :
32838 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32839 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32840 cat >>confdefs.h <<_ACEOF
32841 #define HAVE__LDEXPL 1
32842 _ACEOF
32843
32844 fi
32845 done
32846
32847 fi
32848 fi
32849
32850
32851
32852
32853
32854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32855 $as_echo_n "checking for logl declaration... " >&6; }
32856 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32857 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32858 $as_echo_n "(cached) " >&6
32859 else
32860
32861
32862 ac_ext=cpp
32863 ac_cpp='$CXXCPP $CPPFLAGS'
32864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32867
32868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32869 /* end confdefs.h. */
32870 #include <math.h>
32871 #ifdef HAVE_IEEEFP_H
32872 #include <ieeefp.h>
32873 #endif
32874
32875 int
32876 main ()
32877 {
32878 logl(0);
32879 ;
32880 return 0;
32881 }
32882 _ACEOF
32883 if ac_fn_cxx_try_compile "$LINENO"; then :
32884 glibcxx_cv_func_logl_use=yes
32885 else
32886 glibcxx_cv_func_logl_use=no
32887 fi
32888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32889 ac_ext=c
32890 ac_cpp='$CPP $CPPFLAGS'
32891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32894
32895
32896 fi
32897
32898 fi
32899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32900 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32901
32902 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32903 for ac_func in logl
32904 do :
32905 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32906 if test "x$ac_cv_func_logl" = x""yes; then :
32907 cat >>confdefs.h <<_ACEOF
32908 #define HAVE_LOGL 1
32909 _ACEOF
32910
32911 fi
32912 done
32913
32914 else
32915
32916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32917 $as_echo_n "checking for _logl declaration... " >&6; }
32918 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32919 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32920 $as_echo_n "(cached) " >&6
32921 else
32922
32923
32924 ac_ext=cpp
32925 ac_cpp='$CXXCPP $CPPFLAGS'
32926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32929
32930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32931 /* end confdefs.h. */
32932 #include <math.h>
32933 #ifdef HAVE_IEEEFP_H
32934 #include <ieeefp.h>
32935 #endif
32936
32937 int
32938 main ()
32939 {
32940 _logl(0);
32941 ;
32942 return 0;
32943 }
32944 _ACEOF
32945 if ac_fn_cxx_try_compile "$LINENO"; then :
32946 glibcxx_cv_func__logl_use=yes
32947 else
32948 glibcxx_cv_func__logl_use=no
32949 fi
32950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32951 ac_ext=c
32952 ac_cpp='$CPP $CPPFLAGS'
32953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32956
32957
32958 fi
32959
32960 fi
32961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32962 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32963
32964 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32965 for ac_func in _logl
32966 do :
32967 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32968 if test "x$ac_cv_func__logl" = x""yes; then :
32969 cat >>confdefs.h <<_ACEOF
32970 #define HAVE__LOGL 1
32971 _ACEOF
32972
32973 fi
32974 done
32975
32976 fi
32977 fi
32978
32979
32980
32981
32982
32983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32984 $as_echo_n "checking for log10l declaration... " >&6; }
32985 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32986 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32987 $as_echo_n "(cached) " >&6
32988 else
32989
32990
32991 ac_ext=cpp
32992 ac_cpp='$CXXCPP $CPPFLAGS'
32993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32996
32997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32998 /* end confdefs.h. */
32999 #include <math.h>
33000 #ifdef HAVE_IEEEFP_H
33001 #include <ieeefp.h>
33002 #endif
33003
33004 int
33005 main ()
33006 {
33007 log10l(0);
33008 ;
33009 return 0;
33010 }
33011 _ACEOF
33012 if ac_fn_cxx_try_compile "$LINENO"; then :
33013 glibcxx_cv_func_log10l_use=yes
33014 else
33015 glibcxx_cv_func_log10l_use=no
33016 fi
33017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33018 ac_ext=c
33019 ac_cpp='$CPP $CPPFLAGS'
33020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33023
33024
33025 fi
33026
33027 fi
33028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33029 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33030
33031 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33032 for ac_func in log10l
33033 do :
33034 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33035 if test "x$ac_cv_func_log10l" = x""yes; then :
33036 cat >>confdefs.h <<_ACEOF
33037 #define HAVE_LOG10L 1
33038 _ACEOF
33039
33040 fi
33041 done
33042
33043 else
33044
33045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33046 $as_echo_n "checking for _log10l declaration... " >&6; }
33047 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33048 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33049 $as_echo_n "(cached) " >&6
33050 else
33051
33052
33053 ac_ext=cpp
33054 ac_cpp='$CXXCPP $CPPFLAGS'
33055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33058
33059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33060 /* end confdefs.h. */
33061 #include <math.h>
33062 #ifdef HAVE_IEEEFP_H
33063 #include <ieeefp.h>
33064 #endif
33065
33066 int
33067 main ()
33068 {
33069 _log10l(0);
33070 ;
33071 return 0;
33072 }
33073 _ACEOF
33074 if ac_fn_cxx_try_compile "$LINENO"; then :
33075 glibcxx_cv_func__log10l_use=yes
33076 else
33077 glibcxx_cv_func__log10l_use=no
33078 fi
33079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33080 ac_ext=c
33081 ac_cpp='$CPP $CPPFLAGS'
33082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33085
33086
33087 fi
33088
33089 fi
33090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33091 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33092
33093 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33094 for ac_func in _log10l
33095 do :
33096 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33097 if test "x$ac_cv_func__log10l" = x""yes; then :
33098 cat >>confdefs.h <<_ACEOF
33099 #define HAVE__LOG10L 1
33100 _ACEOF
33101
33102 fi
33103 done
33104
33105 fi
33106 fi
33107
33108
33109
33110
33111
33112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33113 $as_echo_n "checking for modfl declaration... " >&6; }
33114 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33115 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33116 $as_echo_n "(cached) " >&6
33117 else
33118
33119
33120 ac_ext=cpp
33121 ac_cpp='$CXXCPP $CPPFLAGS'
33122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33125
33126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33127 /* end confdefs.h. */
33128 #include <math.h>
33129 int
33130 main ()
33131 {
33132 modfl(0, 0);
33133 ;
33134 return 0;
33135 }
33136 _ACEOF
33137 if ac_fn_cxx_try_compile "$LINENO"; then :
33138 glibcxx_cv_func_modfl_use=yes
33139 else
33140 glibcxx_cv_func_modfl_use=no
33141 fi
33142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33143 ac_ext=c
33144 ac_cpp='$CPP $CPPFLAGS'
33145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33148
33149
33150 fi
33151
33152 fi
33153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33154 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33155
33156 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33157 for ac_func in modfl
33158 do :
33159 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33160 if test "x$ac_cv_func_modfl" = x""yes; then :
33161 cat >>confdefs.h <<_ACEOF
33162 #define HAVE_MODFL 1
33163 _ACEOF
33164
33165 fi
33166 done
33167
33168 else
33169
33170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33171 $as_echo_n "checking for _modfl declaration... " >&6; }
33172 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33173 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33174 $as_echo_n "(cached) " >&6
33175 else
33176
33177
33178 ac_ext=cpp
33179 ac_cpp='$CXXCPP $CPPFLAGS'
33180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33183
33184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33185 /* end confdefs.h. */
33186 #include <math.h>
33187 int
33188 main ()
33189 {
33190 _modfl(0, 0);
33191 ;
33192 return 0;
33193 }
33194 _ACEOF
33195 if ac_fn_cxx_try_compile "$LINENO"; then :
33196 glibcxx_cv_func__modfl_use=yes
33197 else
33198 glibcxx_cv_func__modfl_use=no
33199 fi
33200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33201 ac_ext=c
33202 ac_cpp='$CPP $CPPFLAGS'
33203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33206
33207
33208 fi
33209
33210 fi
33211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33212 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33213
33214 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33215 for ac_func in _modfl
33216 do :
33217 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33218 if test "x$ac_cv_func__modfl" = x""yes; then :
33219 cat >>confdefs.h <<_ACEOF
33220 #define HAVE__MODFL 1
33221 _ACEOF
33222
33223 fi
33224 done
33225
33226 fi
33227 fi
33228
33229
33230
33231
33232
33233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33234 $as_echo_n "checking for powl declaration... " >&6; }
33235 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33236 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33237 $as_echo_n "(cached) " >&6
33238 else
33239
33240
33241 ac_ext=cpp
33242 ac_cpp='$CXXCPP $CPPFLAGS'
33243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33246
33247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33248 /* end confdefs.h. */
33249 #include <math.h>
33250 int
33251 main ()
33252 {
33253 powl(0, 0);
33254 ;
33255 return 0;
33256 }
33257 _ACEOF
33258 if ac_fn_cxx_try_compile "$LINENO"; then :
33259 glibcxx_cv_func_powl_use=yes
33260 else
33261 glibcxx_cv_func_powl_use=no
33262 fi
33263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33264 ac_ext=c
33265 ac_cpp='$CPP $CPPFLAGS'
33266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33269
33270
33271 fi
33272
33273 fi
33274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33275 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33276
33277 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33278 for ac_func in powl
33279 do :
33280 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33281 if test "x$ac_cv_func_powl" = x""yes; then :
33282 cat >>confdefs.h <<_ACEOF
33283 #define HAVE_POWL 1
33284 _ACEOF
33285
33286 fi
33287 done
33288
33289 else
33290
33291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33292 $as_echo_n "checking for _powl declaration... " >&6; }
33293 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33294 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33295 $as_echo_n "(cached) " >&6
33296 else
33297
33298
33299 ac_ext=cpp
33300 ac_cpp='$CXXCPP $CPPFLAGS'
33301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33304
33305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33306 /* end confdefs.h. */
33307 #include <math.h>
33308 int
33309 main ()
33310 {
33311 _powl(0, 0);
33312 ;
33313 return 0;
33314 }
33315 _ACEOF
33316 if ac_fn_cxx_try_compile "$LINENO"; then :
33317 glibcxx_cv_func__powl_use=yes
33318 else
33319 glibcxx_cv_func__powl_use=no
33320 fi
33321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33322 ac_ext=c
33323 ac_cpp='$CPP $CPPFLAGS'
33324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33327
33328
33329 fi
33330
33331 fi
33332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33333 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33334
33335 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33336 for ac_func in _powl
33337 do :
33338 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33339 if test "x$ac_cv_func__powl" = x""yes; then :
33340 cat >>confdefs.h <<_ACEOF
33341 #define HAVE__POWL 1
33342 _ACEOF
33343
33344 fi
33345 done
33346
33347 fi
33348 fi
33349
33350
33351
33352
33353
33354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33355 $as_echo_n "checking for sqrtl declaration... " >&6; }
33356 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33357 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33358 $as_echo_n "(cached) " >&6
33359 else
33360
33361
33362 ac_ext=cpp
33363 ac_cpp='$CXXCPP $CPPFLAGS'
33364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33367
33368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33369 /* end confdefs.h. */
33370 #include <math.h>
33371 #ifdef HAVE_IEEEFP_H
33372 #include <ieeefp.h>
33373 #endif
33374
33375 int
33376 main ()
33377 {
33378 sqrtl(0);
33379 ;
33380 return 0;
33381 }
33382 _ACEOF
33383 if ac_fn_cxx_try_compile "$LINENO"; then :
33384 glibcxx_cv_func_sqrtl_use=yes
33385 else
33386 glibcxx_cv_func_sqrtl_use=no
33387 fi
33388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33389 ac_ext=c
33390 ac_cpp='$CPP $CPPFLAGS'
33391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33394
33395
33396 fi
33397
33398 fi
33399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33400 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33401
33402 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33403 for ac_func in sqrtl
33404 do :
33405 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33406 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33407 cat >>confdefs.h <<_ACEOF
33408 #define HAVE_SQRTL 1
33409 _ACEOF
33410
33411 fi
33412 done
33413
33414 else
33415
33416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33417 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33418 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33419 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33420 $as_echo_n "(cached) " >&6
33421 else
33422
33423
33424 ac_ext=cpp
33425 ac_cpp='$CXXCPP $CPPFLAGS'
33426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33429
33430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33431 /* end confdefs.h. */
33432 #include <math.h>
33433 #ifdef HAVE_IEEEFP_H
33434 #include <ieeefp.h>
33435 #endif
33436
33437 int
33438 main ()
33439 {
33440 _sqrtl(0);
33441 ;
33442 return 0;
33443 }
33444 _ACEOF
33445 if ac_fn_cxx_try_compile "$LINENO"; then :
33446 glibcxx_cv_func__sqrtl_use=yes
33447 else
33448 glibcxx_cv_func__sqrtl_use=no
33449 fi
33450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33451 ac_ext=c
33452 ac_cpp='$CPP $CPPFLAGS'
33453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33456
33457
33458 fi
33459
33460 fi
33461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33462 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33463
33464 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33465 for ac_func in _sqrtl
33466 do :
33467 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33468 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33469 cat >>confdefs.h <<_ACEOF
33470 #define HAVE__SQRTL 1
33471 _ACEOF
33472
33473 fi
33474 done
33475
33476 fi
33477 fi
33478
33479
33480
33481
33482
33483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33484 $as_echo_n "checking for sincosl declaration... " >&6; }
33485 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33486 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33487 $as_echo_n "(cached) " >&6
33488 else
33489
33490
33491 ac_ext=cpp
33492 ac_cpp='$CXXCPP $CPPFLAGS'
33493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33496
33497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33498 /* end confdefs.h. */
33499 #include <math.h>
33500 int
33501 main ()
33502 {
33503 sincosl(0, 0, 0);
33504 ;
33505 return 0;
33506 }
33507 _ACEOF
33508 if ac_fn_cxx_try_compile "$LINENO"; then :
33509 glibcxx_cv_func_sincosl_use=yes
33510 else
33511 glibcxx_cv_func_sincosl_use=no
33512 fi
33513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33514 ac_ext=c
33515 ac_cpp='$CPP $CPPFLAGS'
33516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33519
33520
33521 fi
33522
33523 fi
33524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33525 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33526
33527 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33528 for ac_func in sincosl
33529 do :
33530 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33531 if test "x$ac_cv_func_sincosl" = x""yes; then :
33532 cat >>confdefs.h <<_ACEOF
33533 #define HAVE_SINCOSL 1
33534 _ACEOF
33535
33536 fi
33537 done
33538
33539 else
33540
33541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33542 $as_echo_n "checking for _sincosl declaration... " >&6; }
33543 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33544 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33545 $as_echo_n "(cached) " >&6
33546 else
33547
33548
33549 ac_ext=cpp
33550 ac_cpp='$CXXCPP $CPPFLAGS'
33551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33554
33555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33556 /* end confdefs.h. */
33557 #include <math.h>
33558 int
33559 main ()
33560 {
33561 _sincosl(0, 0, 0);
33562 ;
33563 return 0;
33564 }
33565 _ACEOF
33566 if ac_fn_cxx_try_compile "$LINENO"; then :
33567 glibcxx_cv_func__sincosl_use=yes
33568 else
33569 glibcxx_cv_func__sincosl_use=no
33570 fi
33571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33572 ac_ext=c
33573 ac_cpp='$CPP $CPPFLAGS'
33574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33577
33578
33579 fi
33580
33581 fi
33582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33583 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33584
33585 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33586 for ac_func in _sincosl
33587 do :
33588 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33589 if test "x$ac_cv_func__sincosl" = x""yes; then :
33590 cat >>confdefs.h <<_ACEOF
33591 #define HAVE__SINCOSL 1
33592 _ACEOF
33593
33594 fi
33595 done
33596
33597 fi
33598 fi
33599
33600
33601
33602
33603
33604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33605 $as_echo_n "checking for finitel declaration... " >&6; }
33606 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33607 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33608 $as_echo_n "(cached) " >&6
33609 else
33610
33611
33612 ac_ext=cpp
33613 ac_cpp='$CXXCPP $CPPFLAGS'
33614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33617
33618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33619 /* end confdefs.h. */
33620 #include <math.h>
33621 #ifdef HAVE_IEEEFP_H
33622 #include <ieeefp.h>
33623 #endif
33624
33625 int
33626 main ()
33627 {
33628 finitel(0);
33629 ;
33630 return 0;
33631 }
33632 _ACEOF
33633 if ac_fn_cxx_try_compile "$LINENO"; then :
33634 glibcxx_cv_func_finitel_use=yes
33635 else
33636 glibcxx_cv_func_finitel_use=no
33637 fi
33638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33639 ac_ext=c
33640 ac_cpp='$CPP $CPPFLAGS'
33641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33644
33645
33646 fi
33647
33648 fi
33649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33650 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33651
33652 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33653 for ac_func in finitel
33654 do :
33655 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33656 if test "x$ac_cv_func_finitel" = x""yes; then :
33657 cat >>confdefs.h <<_ACEOF
33658 #define HAVE_FINITEL 1
33659 _ACEOF
33660
33661 fi
33662 done
33663
33664 else
33665
33666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33667 $as_echo_n "checking for _finitel declaration... " >&6; }
33668 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33669 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33670 $as_echo_n "(cached) " >&6
33671 else
33672
33673
33674 ac_ext=cpp
33675 ac_cpp='$CXXCPP $CPPFLAGS'
33676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33679
33680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33681 /* end confdefs.h. */
33682 #include <math.h>
33683 #ifdef HAVE_IEEEFP_H
33684 #include <ieeefp.h>
33685 #endif
33686
33687 int
33688 main ()
33689 {
33690 _finitel(0);
33691 ;
33692 return 0;
33693 }
33694 _ACEOF
33695 if ac_fn_cxx_try_compile "$LINENO"; then :
33696 glibcxx_cv_func__finitel_use=yes
33697 else
33698 glibcxx_cv_func__finitel_use=no
33699 fi
33700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33701 ac_ext=c
33702 ac_cpp='$CPP $CPPFLAGS'
33703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33706
33707
33708 fi
33709
33710 fi
33711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33712 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33713
33714 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33715 for ac_func in _finitel
33716 do :
33717 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33718 if test "x$ac_cv_func__finitel" = x""yes; then :
33719 cat >>confdefs.h <<_ACEOF
33720 #define HAVE__FINITEL 1
33721 _ACEOF
33722
33723 fi
33724 done
33725
33726 fi
33727 fi
33728
33729
33730
33731
33732 LIBS="$ac_save_LIBS"
33733 CXXFLAGS="$ac_save_CXXFLAGS"
33734
33735
33736 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33737 ac_save_CXXFLAGS="$CXXFLAGS"
33738 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33739
33740
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33742 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33743 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33744 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33745 $as_echo_n "(cached) " >&6
33746 else
33747
33748
33749 ac_ext=cpp
33750 ac_cpp='$CXXCPP $CPPFLAGS'
33751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33754
33755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33756 /* end confdefs.h. */
33757 #include <stdlib.h>
33758 int
33759 main ()
33760 {
33761 at_quick_exit(0);
33762 ;
33763 return 0;
33764 }
33765 _ACEOF
33766 if ac_fn_cxx_try_compile "$LINENO"; then :
33767 glibcxx_cv_func_at_quick_exit_use=yes
33768 else
33769 glibcxx_cv_func_at_quick_exit_use=no
33770 fi
33771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33772 ac_ext=c
33773 ac_cpp='$CPP $CPPFLAGS'
33774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33777
33778
33779 fi
33780
33781 fi
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33783 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33784 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33785 for ac_func in at_quick_exit
33786 do :
33787 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33788 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33789 cat >>confdefs.h <<_ACEOF
33790 #define HAVE_AT_QUICK_EXIT 1
33791 _ACEOF
33792
33793 fi
33794 done
33795
33796 fi
33797
33798
33799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33800 $as_echo_n "checking for quick_exit declaration... " >&6; }
33801 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33802 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33803 $as_echo_n "(cached) " >&6
33804 else
33805
33806
33807 ac_ext=cpp
33808 ac_cpp='$CXXCPP $CPPFLAGS'
33809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33812
33813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33814 /* end confdefs.h. */
33815 #include <stdlib.h>
33816 int
33817 main ()
33818 {
33819 quick_exit(0);
33820 ;
33821 return 0;
33822 }
33823 _ACEOF
33824 if ac_fn_cxx_try_compile "$LINENO"; then :
33825 glibcxx_cv_func_quick_exit_use=yes
33826 else
33827 glibcxx_cv_func_quick_exit_use=no
33828 fi
33829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33830 ac_ext=c
33831 ac_cpp='$CPP $CPPFLAGS'
33832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33835
33836
33837 fi
33838
33839 fi
33840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33841 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33842 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33843 for ac_func in quick_exit
33844 do :
33845 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33846 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33847 cat >>confdefs.h <<_ACEOF
33848 #define HAVE_QUICK_EXIT 1
33849 _ACEOF
33850
33851 fi
33852 done
33853
33854 fi
33855
33856
33857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33858 $as_echo_n "checking for strtold declaration... " >&6; }
33859 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33860 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33861 $as_echo_n "(cached) " >&6
33862 else
33863
33864
33865 ac_ext=cpp
33866 ac_cpp='$CXXCPP $CPPFLAGS'
33867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33870
33871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33872 /* end confdefs.h. */
33873 #include <stdlib.h>
33874 int
33875 main ()
33876 {
33877 strtold(0, 0);
33878 ;
33879 return 0;
33880 }
33881 _ACEOF
33882 if ac_fn_cxx_try_compile "$LINENO"; then :
33883 glibcxx_cv_func_strtold_use=yes
33884 else
33885 glibcxx_cv_func_strtold_use=no
33886 fi
33887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33888 ac_ext=c
33889 ac_cpp='$CPP $CPPFLAGS'
33890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33893
33894
33895 fi
33896
33897 fi
33898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33899 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33900 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33901 for ac_func in strtold
33902 do :
33903 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33904 if test "x$ac_cv_func_strtold" = x""yes; then :
33905 cat >>confdefs.h <<_ACEOF
33906 #define HAVE_STRTOLD 1
33907 _ACEOF
33908
33909 fi
33910 done
33911
33912 fi
33913
33914
33915
33916
33917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33918 $as_echo_n "checking for strtof declaration... " >&6; }
33919 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33920 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33921 $as_echo_n "(cached) " >&6
33922 else
33923
33924
33925 ac_ext=cpp
33926 ac_cpp='$CXXCPP $CPPFLAGS'
33927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33930
33931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33932 /* end confdefs.h. */
33933 #include <stdlib.h>
33934 int
33935 main ()
33936 {
33937 strtof(0, 0);
33938 ;
33939 return 0;
33940 }
33941 _ACEOF
33942 if ac_fn_cxx_try_compile "$LINENO"; then :
33943 glibcxx_cv_func_strtof_use=yes
33944 else
33945 glibcxx_cv_func_strtof_use=no
33946 fi
33947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33948 ac_ext=c
33949 ac_cpp='$CPP $CPPFLAGS'
33950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33953
33954
33955 fi
33956
33957 fi
33958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33959 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33960 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33961 for ac_func in strtof
33962 do :
33963 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33964 if test "x$ac_cv_func_strtof" = x""yes; then :
33965 cat >>confdefs.h <<_ACEOF
33966 #define HAVE_STRTOF 1
33967 _ACEOF
33968
33969 fi
33970 done
33971
33972 fi
33973
33974
33975
33976
33977 CXXFLAGS="$ac_save_CXXFLAGS"
33978
33979
33980 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33981
33982 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33983
33984 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33985
33986 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33987
33988
33989 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33990
33991 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33992
33993 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33994
33995 ;;
33996
33997 spu-*-elf*)
33998
33999 # All these tests are for C++; save the language and the compiler flags.
34000 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34001 # found in GLIBCXX_CONFIGURE.
34002
34003 ac_ext=cpp
34004 ac_cpp='$CXXCPP $CPPFLAGS'
34005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34008
34009 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34010 ac_save_CXXFLAGS="$CXXFLAGS"
34011
34012 # Check for maintainer-mode bits.
34013 if test x"$USE_MAINTAINER_MODE" = xno; then
34014 WERROR=''
34015 else
34016 WERROR='-Werror'
34017 fi
34018
34019 # Check for -ffunction-sections -fdata-sections
34020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34021 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34022 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34024 /* end confdefs.h. */
34025 int foo; void bar() { };
34026 int
34027 main ()
34028 {
34029
34030 ;
34031 return 0;
34032 }
34033 _ACEOF
34034 if ac_fn_cxx_try_compile "$LINENO"; then :
34035 ac_fdsections=yes
34036 else
34037 ac_fdsections=no
34038 fi
34039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34040 if test "$ac_test_CXXFLAGS" = set; then
34041 CXXFLAGS="$ac_save_CXXFLAGS"
34042 else
34043 # this is the suspicious part
34044 CXXFLAGS=''
34045 fi
34046 if test x"$ac_fdsections" = x"yes"; then
34047 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34048 fi
34049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34050 $as_echo "$ac_fdsections" >&6; }
34051
34052 ac_ext=c
34053 ac_cpp='$CPP $CPPFLAGS'
34054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34057
34058
34059
34060
34061
34062 # If we're not using GNU ld, then there's no point in even trying these
34063 # tests. Check for that first. We should have already tested for gld
34064 # by now (in libtool), but require it now just to be safe...
34065 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34066 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34067
34068
34069
34070 # The name set by libtool depends on the version of libtool. Shame on us
34071 # for depending on an impl detail, but c'est la vie. Older versions used
34072 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34073 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34074 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34075 # set (hence we're using an older libtool), then set it.
34076 if test x${with_gnu_ld+set} != xset; then
34077 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34078 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34079 with_gnu_ld=no
34080 else
34081 with_gnu_ld=$ac_cv_prog_gnu_ld
34082 fi
34083 fi
34084
34085 # Start by getting the version number. I think the libtool test already
34086 # does some of this, but throws away the result.
34087 glibcxx_ld_is_gold=no
34088 if test x"$with_gnu_ld" = x"yes"; then
34089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34090 $as_echo_n "checking for ld version... " >&6; }
34091
34092 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34093 glibcxx_ld_is_gold=yes
34094 fi
34095 ldver=`$LD --version 2>/dev/null |
34096 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'`
34097
34098 glibcxx_gnu_ld_version=`echo $ldver | \
34099 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34101 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34102 fi
34103
34104 # Set --gc-sections.
34105 glibcxx_have_gc_sections=no
34106 if test "$glibcxx_ld_is_gold" = "yes"; then
34107 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34108 glibcxx_have_gc_sections=yes
34109 fi
34110 else
34111 glibcxx_gcsections_min_ld=21602
34112 if test x"$with_gnu_ld" = x"yes" &&
34113 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34114 glibcxx_have_gc_sections=yes
34115 fi
34116 fi
34117 if test "$glibcxx_have_gc_sections" = "yes"; then
34118 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34119 # NB: This flag only works reliably after 2.16.1. Configure tests
34120 # for this are difficult, so hard wire a value that should work.
34121
34122 ac_test_CFLAGS="${CFLAGS+set}"
34123 ac_save_CFLAGS="$CFLAGS"
34124 CFLAGS='-Wl,--gc-sections'
34125
34126 # Check for -Wl,--gc-sections
34127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34128 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34129 if test x$gcc_no_link = xyes; then
34130 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34131 fi
34132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34133 /* end confdefs.h. */
34134 int one(void) { return 1; }
34135 int two(void) { return 2; }
34136
34137 int
34138 main ()
34139 {
34140 two();
34141 ;
34142 return 0;
34143 }
34144 _ACEOF
34145 if ac_fn_c_try_link "$LINENO"; then :
34146 ac_gcsections=yes
34147 else
34148 ac_gcsections=no
34149 fi
34150 rm -f core conftest.err conftest.$ac_objext \
34151 conftest$ac_exeext conftest.$ac_ext
34152 if test "$ac_gcsections" = "yes"; then
34153 rm -f conftest.c
34154 touch conftest.c
34155 if $CC -c conftest.c; then
34156 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34157 grep "Warning: gc-sections option ignored" > /dev/null; then
34158 ac_gcsections=no
34159 fi
34160 fi
34161 rm -f conftest.c conftest.o conftest
34162 fi
34163 if test "$ac_gcsections" = "yes"; then
34164 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34165 fi
34166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34167 $as_echo "$ac_gcsections" >&6; }
34168
34169 if test "$ac_test_CFLAGS" = set; then
34170 CFLAGS="$ac_save_CFLAGS"
34171 else
34172 # this is the suspicious part
34173 CFLAGS=''
34174 fi
34175 fi
34176
34177 # Set -z,relro.
34178 # Note this is only for shared objects.
34179 ac_ld_relro=no
34180 if test x"$with_gnu_ld" = x"yes"; then
34181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34182 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34183 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34184 if test -n "$cxx_z_relo"; then
34185 OPT_LDFLAGS="-Wl,-z,relro"
34186 ac_ld_relro=yes
34187 fi
34188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34189 $as_echo "$ac_ld_relro" >&6; }
34190 fi
34191
34192 # Set linker optimization flags.
34193 if test x"$with_gnu_ld" = x"yes"; then
34194 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34195 fi
34196
34197
34198
34199
34200
34201 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34202 ac_save_CXXFLAGS="$CXXFLAGS"
34203 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34204
34205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34206 $as_echo_n "checking for sin in -lm... " >&6; }
34207 if test "${ac_cv_lib_m_sin+set}" = set; then :
34208 $as_echo_n "(cached) " >&6
34209 else
34210 ac_check_lib_save_LIBS=$LIBS
34211 LIBS="-lm $LIBS"
34212 if test x$gcc_no_link = xyes; then
34213 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34214 fi
34215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34216 /* end confdefs.h. */
34217
34218 /* Override any GCC internal prototype to avoid an error.
34219 Use char because int might match the return type of a GCC
34220 builtin and then its argument prototype would still apply. */
34221 #ifdef __cplusplus
34222 extern "C"
34223 #endif
34224 char sin ();
34225 int
34226 main ()
34227 {
34228 return sin ();
34229 ;
34230 return 0;
34231 }
34232 _ACEOF
34233 if ac_fn_c_try_link "$LINENO"; then :
34234 ac_cv_lib_m_sin=yes
34235 else
34236 ac_cv_lib_m_sin=no
34237 fi
34238 rm -f core conftest.err conftest.$ac_objext \
34239 conftest$ac_exeext conftest.$ac_ext
34240 LIBS=$ac_check_lib_save_LIBS
34241 fi
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34243 $as_echo "$ac_cv_lib_m_sin" >&6; }
34244 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34245 libm="-lm"
34246 fi
34247
34248 ac_save_LIBS="$LIBS"
34249 LIBS="$LIBS $libm"
34250
34251
34252
34253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34254 $as_echo_n "checking for isinf declaration... " >&6; }
34255 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34256 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34257 $as_echo_n "(cached) " >&6
34258 else
34259
34260
34261 ac_ext=cpp
34262 ac_cpp='$CXXCPP $CPPFLAGS'
34263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34266
34267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34268 /* end confdefs.h. */
34269 #include <math.h>
34270 #ifdef HAVE_IEEEFP_H
34271 #include <ieeefp.h>
34272 #endif
34273
34274 int
34275 main ()
34276 {
34277 isinf(0);
34278 ;
34279 return 0;
34280 }
34281 _ACEOF
34282 if ac_fn_cxx_try_compile "$LINENO"; then :
34283 glibcxx_cv_func_isinf_use=yes
34284 else
34285 glibcxx_cv_func_isinf_use=no
34286 fi
34287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34288 ac_ext=c
34289 ac_cpp='$CPP $CPPFLAGS'
34290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34293
34294
34295 fi
34296
34297 fi
34298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34299 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34300
34301 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34302 for ac_func in isinf
34303 do :
34304 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34305 if test "x$ac_cv_func_isinf" = x""yes; then :
34306 cat >>confdefs.h <<_ACEOF
34307 #define HAVE_ISINF 1
34308 _ACEOF
34309
34310 fi
34311 done
34312
34313 else
34314
34315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34316 $as_echo_n "checking for _isinf declaration... " >&6; }
34317 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34318 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34319 $as_echo_n "(cached) " >&6
34320 else
34321
34322
34323 ac_ext=cpp
34324 ac_cpp='$CXXCPP $CPPFLAGS'
34325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34328
34329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34330 /* end confdefs.h. */
34331 #include <math.h>
34332 #ifdef HAVE_IEEEFP_H
34333 #include <ieeefp.h>
34334 #endif
34335
34336 int
34337 main ()
34338 {
34339 _isinf(0);
34340 ;
34341 return 0;
34342 }
34343 _ACEOF
34344 if ac_fn_cxx_try_compile "$LINENO"; then :
34345 glibcxx_cv_func__isinf_use=yes
34346 else
34347 glibcxx_cv_func__isinf_use=no
34348 fi
34349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34350 ac_ext=c
34351 ac_cpp='$CPP $CPPFLAGS'
34352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34355
34356
34357 fi
34358
34359 fi
34360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34361 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34362
34363 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34364 for ac_func in _isinf
34365 do :
34366 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34367 if test "x$ac_cv_func__isinf" = x""yes; then :
34368 cat >>confdefs.h <<_ACEOF
34369 #define HAVE__ISINF 1
34370 _ACEOF
34371
34372 fi
34373 done
34374
34375 fi
34376 fi
34377
34378
34379
34380
34381
34382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34383 $as_echo_n "checking for isnan declaration... " >&6; }
34384 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34385 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34386 $as_echo_n "(cached) " >&6
34387 else
34388
34389
34390 ac_ext=cpp
34391 ac_cpp='$CXXCPP $CPPFLAGS'
34392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34395
34396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34397 /* end confdefs.h. */
34398 #include <math.h>
34399 #ifdef HAVE_IEEEFP_H
34400 #include <ieeefp.h>
34401 #endif
34402
34403 int
34404 main ()
34405 {
34406 isnan(0);
34407 ;
34408 return 0;
34409 }
34410 _ACEOF
34411 if ac_fn_cxx_try_compile "$LINENO"; then :
34412 glibcxx_cv_func_isnan_use=yes
34413 else
34414 glibcxx_cv_func_isnan_use=no
34415 fi
34416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34417 ac_ext=c
34418 ac_cpp='$CPP $CPPFLAGS'
34419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34422
34423
34424 fi
34425
34426 fi
34427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34428 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34429
34430 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34431 for ac_func in isnan
34432 do :
34433 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34434 if test "x$ac_cv_func_isnan" = x""yes; then :
34435 cat >>confdefs.h <<_ACEOF
34436 #define HAVE_ISNAN 1
34437 _ACEOF
34438
34439 fi
34440 done
34441
34442 else
34443
34444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34445 $as_echo_n "checking for _isnan declaration... " >&6; }
34446 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34447 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34448 $as_echo_n "(cached) " >&6
34449 else
34450
34451
34452 ac_ext=cpp
34453 ac_cpp='$CXXCPP $CPPFLAGS'
34454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34457
34458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34459 /* end confdefs.h. */
34460 #include <math.h>
34461 #ifdef HAVE_IEEEFP_H
34462 #include <ieeefp.h>
34463 #endif
34464
34465 int
34466 main ()
34467 {
34468 _isnan(0);
34469 ;
34470 return 0;
34471 }
34472 _ACEOF
34473 if ac_fn_cxx_try_compile "$LINENO"; then :
34474 glibcxx_cv_func__isnan_use=yes
34475 else
34476 glibcxx_cv_func__isnan_use=no
34477 fi
34478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34479 ac_ext=c
34480 ac_cpp='$CPP $CPPFLAGS'
34481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34484
34485
34486 fi
34487
34488 fi
34489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34490 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34491
34492 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34493 for ac_func in _isnan
34494 do :
34495 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34496 if test "x$ac_cv_func__isnan" = x""yes; then :
34497 cat >>confdefs.h <<_ACEOF
34498 #define HAVE__ISNAN 1
34499 _ACEOF
34500
34501 fi
34502 done
34503
34504 fi
34505 fi
34506
34507
34508
34509
34510
34511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34512 $as_echo_n "checking for finite declaration... " >&6; }
34513 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34514 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34515 $as_echo_n "(cached) " >&6
34516 else
34517
34518
34519 ac_ext=cpp
34520 ac_cpp='$CXXCPP $CPPFLAGS'
34521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34524
34525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34526 /* end confdefs.h. */
34527 #include <math.h>
34528 #ifdef HAVE_IEEEFP_H
34529 #include <ieeefp.h>
34530 #endif
34531
34532 int
34533 main ()
34534 {
34535 finite(0);
34536 ;
34537 return 0;
34538 }
34539 _ACEOF
34540 if ac_fn_cxx_try_compile "$LINENO"; then :
34541 glibcxx_cv_func_finite_use=yes
34542 else
34543 glibcxx_cv_func_finite_use=no
34544 fi
34545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34546 ac_ext=c
34547 ac_cpp='$CPP $CPPFLAGS'
34548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34551
34552
34553 fi
34554
34555 fi
34556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34557 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34558
34559 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34560 for ac_func in finite
34561 do :
34562 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34563 if test "x$ac_cv_func_finite" = x""yes; then :
34564 cat >>confdefs.h <<_ACEOF
34565 #define HAVE_FINITE 1
34566 _ACEOF
34567
34568 fi
34569 done
34570
34571 else
34572
34573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34574 $as_echo_n "checking for _finite declaration... " >&6; }
34575 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34576 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34577 $as_echo_n "(cached) " >&6
34578 else
34579
34580
34581 ac_ext=cpp
34582 ac_cpp='$CXXCPP $CPPFLAGS'
34583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34586
34587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34588 /* end confdefs.h. */
34589 #include <math.h>
34590 #ifdef HAVE_IEEEFP_H
34591 #include <ieeefp.h>
34592 #endif
34593
34594 int
34595 main ()
34596 {
34597 _finite(0);
34598 ;
34599 return 0;
34600 }
34601 _ACEOF
34602 if ac_fn_cxx_try_compile "$LINENO"; then :
34603 glibcxx_cv_func__finite_use=yes
34604 else
34605 glibcxx_cv_func__finite_use=no
34606 fi
34607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34608 ac_ext=c
34609 ac_cpp='$CPP $CPPFLAGS'
34610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34613
34614
34615 fi
34616
34617 fi
34618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34619 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34620
34621 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34622 for ac_func in _finite
34623 do :
34624 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34625 if test "x$ac_cv_func__finite" = x""yes; then :
34626 cat >>confdefs.h <<_ACEOF
34627 #define HAVE__FINITE 1
34628 _ACEOF
34629
34630 fi
34631 done
34632
34633 fi
34634 fi
34635
34636
34637
34638
34639
34640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34641 $as_echo_n "checking for sincos declaration... " >&6; }
34642 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34643 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34644 $as_echo_n "(cached) " >&6
34645 else
34646
34647
34648 ac_ext=cpp
34649 ac_cpp='$CXXCPP $CPPFLAGS'
34650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34653
34654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34655 /* end confdefs.h. */
34656 #include <math.h>
34657 int
34658 main ()
34659 {
34660 sincos(0, 0, 0);
34661 ;
34662 return 0;
34663 }
34664 _ACEOF
34665 if ac_fn_cxx_try_compile "$LINENO"; then :
34666 glibcxx_cv_func_sincos_use=yes
34667 else
34668 glibcxx_cv_func_sincos_use=no
34669 fi
34670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34671 ac_ext=c
34672 ac_cpp='$CPP $CPPFLAGS'
34673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34676
34677
34678 fi
34679
34680 fi
34681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34682 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34683
34684 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34685 for ac_func in sincos
34686 do :
34687 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34688 if test "x$ac_cv_func_sincos" = x""yes; then :
34689 cat >>confdefs.h <<_ACEOF
34690 #define HAVE_SINCOS 1
34691 _ACEOF
34692
34693 fi
34694 done
34695
34696 else
34697
34698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34699 $as_echo_n "checking for _sincos declaration... " >&6; }
34700 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34701 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34702 $as_echo_n "(cached) " >&6
34703 else
34704
34705
34706 ac_ext=cpp
34707 ac_cpp='$CXXCPP $CPPFLAGS'
34708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34711
34712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34713 /* end confdefs.h. */
34714 #include <math.h>
34715 int
34716 main ()
34717 {
34718 _sincos(0, 0, 0);
34719 ;
34720 return 0;
34721 }
34722 _ACEOF
34723 if ac_fn_cxx_try_compile "$LINENO"; then :
34724 glibcxx_cv_func__sincos_use=yes
34725 else
34726 glibcxx_cv_func__sincos_use=no
34727 fi
34728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34729 ac_ext=c
34730 ac_cpp='$CPP $CPPFLAGS'
34731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34734
34735
34736 fi
34737
34738 fi
34739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34740 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34741
34742 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34743 for ac_func in _sincos
34744 do :
34745 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34746 if test "x$ac_cv_func__sincos" = x""yes; then :
34747 cat >>confdefs.h <<_ACEOF
34748 #define HAVE__SINCOS 1
34749 _ACEOF
34750
34751 fi
34752 done
34753
34754 fi
34755 fi
34756
34757
34758
34759
34760
34761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34762 $as_echo_n "checking for fpclass declaration... " >&6; }
34763 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34764 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34765 $as_echo_n "(cached) " >&6
34766 else
34767
34768
34769 ac_ext=cpp
34770 ac_cpp='$CXXCPP $CPPFLAGS'
34771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34774
34775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34776 /* end confdefs.h. */
34777 #include <math.h>
34778 #ifdef HAVE_IEEEFP_H
34779 #include <ieeefp.h>
34780 #endif
34781
34782 int
34783 main ()
34784 {
34785 fpclass(0);
34786 ;
34787 return 0;
34788 }
34789 _ACEOF
34790 if ac_fn_cxx_try_compile "$LINENO"; then :
34791 glibcxx_cv_func_fpclass_use=yes
34792 else
34793 glibcxx_cv_func_fpclass_use=no
34794 fi
34795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34796 ac_ext=c
34797 ac_cpp='$CPP $CPPFLAGS'
34798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34801
34802
34803 fi
34804
34805 fi
34806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34807 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34808
34809 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34810 for ac_func in fpclass
34811 do :
34812 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34813 if test "x$ac_cv_func_fpclass" = x""yes; then :
34814 cat >>confdefs.h <<_ACEOF
34815 #define HAVE_FPCLASS 1
34816 _ACEOF
34817
34818 fi
34819 done
34820
34821 else
34822
34823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34824 $as_echo_n "checking for _fpclass declaration... " >&6; }
34825 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34826 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34827 $as_echo_n "(cached) " >&6
34828 else
34829
34830
34831 ac_ext=cpp
34832 ac_cpp='$CXXCPP $CPPFLAGS'
34833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34836
34837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34838 /* end confdefs.h. */
34839 #include <math.h>
34840 #ifdef HAVE_IEEEFP_H
34841 #include <ieeefp.h>
34842 #endif
34843
34844 int
34845 main ()
34846 {
34847 _fpclass(0);
34848 ;
34849 return 0;
34850 }
34851 _ACEOF
34852 if ac_fn_cxx_try_compile "$LINENO"; then :
34853 glibcxx_cv_func__fpclass_use=yes
34854 else
34855 glibcxx_cv_func__fpclass_use=no
34856 fi
34857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34858 ac_ext=c
34859 ac_cpp='$CPP $CPPFLAGS'
34860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34863
34864
34865 fi
34866
34867 fi
34868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34869 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34870
34871 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34872 for ac_func in _fpclass
34873 do :
34874 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34875 if test "x$ac_cv_func__fpclass" = x""yes; then :
34876 cat >>confdefs.h <<_ACEOF
34877 #define HAVE__FPCLASS 1
34878 _ACEOF
34879
34880 fi
34881 done
34882
34883 fi
34884 fi
34885
34886
34887
34888
34889
34890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34891 $as_echo_n "checking for qfpclass declaration... " >&6; }
34892 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34893 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34894 $as_echo_n "(cached) " >&6
34895 else
34896
34897
34898 ac_ext=cpp
34899 ac_cpp='$CXXCPP $CPPFLAGS'
34900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34903
34904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34905 /* end confdefs.h. */
34906 #include <math.h>
34907 #ifdef HAVE_IEEEFP_H
34908 #include <ieeefp.h>
34909 #endif
34910
34911 int
34912 main ()
34913 {
34914 qfpclass(0);
34915 ;
34916 return 0;
34917 }
34918 _ACEOF
34919 if ac_fn_cxx_try_compile "$LINENO"; then :
34920 glibcxx_cv_func_qfpclass_use=yes
34921 else
34922 glibcxx_cv_func_qfpclass_use=no
34923 fi
34924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34925 ac_ext=c
34926 ac_cpp='$CPP $CPPFLAGS'
34927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34930
34931
34932 fi
34933
34934 fi
34935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34936 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34937
34938 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34939 for ac_func in qfpclass
34940 do :
34941 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34942 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34943 cat >>confdefs.h <<_ACEOF
34944 #define HAVE_QFPCLASS 1
34945 _ACEOF
34946
34947 fi
34948 done
34949
34950 else
34951
34952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34953 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34954 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34955 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34956 $as_echo_n "(cached) " >&6
34957 else
34958
34959
34960 ac_ext=cpp
34961 ac_cpp='$CXXCPP $CPPFLAGS'
34962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34965
34966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34967 /* end confdefs.h. */
34968 #include <math.h>
34969 #ifdef HAVE_IEEEFP_H
34970 #include <ieeefp.h>
34971 #endif
34972
34973 int
34974 main ()
34975 {
34976 _qfpclass(0);
34977 ;
34978 return 0;
34979 }
34980 _ACEOF
34981 if ac_fn_cxx_try_compile "$LINENO"; then :
34982 glibcxx_cv_func__qfpclass_use=yes
34983 else
34984 glibcxx_cv_func__qfpclass_use=no
34985 fi
34986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34987 ac_ext=c
34988 ac_cpp='$CPP $CPPFLAGS'
34989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34992
34993
34994 fi
34995
34996 fi
34997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34998 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34999
35000 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35001 for ac_func in _qfpclass
35002 do :
35003 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35004 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35005 cat >>confdefs.h <<_ACEOF
35006 #define HAVE__QFPCLASS 1
35007 _ACEOF
35008
35009 fi
35010 done
35011
35012 fi
35013 fi
35014
35015
35016
35017
35018
35019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35020 $as_echo_n "checking for hypot declaration... " >&6; }
35021 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35022 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35023 $as_echo_n "(cached) " >&6
35024 else
35025
35026
35027 ac_ext=cpp
35028 ac_cpp='$CXXCPP $CPPFLAGS'
35029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35032
35033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35034 /* end confdefs.h. */
35035 #include <math.h>
35036 int
35037 main ()
35038 {
35039 hypot(0, 0);
35040 ;
35041 return 0;
35042 }
35043 _ACEOF
35044 if ac_fn_cxx_try_compile "$LINENO"; then :
35045 glibcxx_cv_func_hypot_use=yes
35046 else
35047 glibcxx_cv_func_hypot_use=no
35048 fi
35049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35050 ac_ext=c
35051 ac_cpp='$CPP $CPPFLAGS'
35052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35055
35056
35057 fi
35058
35059 fi
35060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35061 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35062
35063 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35064 for ac_func in hypot
35065 do :
35066 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35067 if test "x$ac_cv_func_hypot" = x""yes; then :
35068 cat >>confdefs.h <<_ACEOF
35069 #define HAVE_HYPOT 1
35070 _ACEOF
35071
35072 fi
35073 done
35074
35075 else
35076
35077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35078 $as_echo_n "checking for _hypot declaration... " >&6; }
35079 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35080 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35081 $as_echo_n "(cached) " >&6
35082 else
35083
35084
35085 ac_ext=cpp
35086 ac_cpp='$CXXCPP $CPPFLAGS'
35087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35090
35091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35092 /* end confdefs.h. */
35093 #include <math.h>
35094 int
35095 main ()
35096 {
35097 _hypot(0, 0);
35098 ;
35099 return 0;
35100 }
35101 _ACEOF
35102 if ac_fn_cxx_try_compile "$LINENO"; then :
35103 glibcxx_cv_func__hypot_use=yes
35104 else
35105 glibcxx_cv_func__hypot_use=no
35106 fi
35107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35108 ac_ext=c
35109 ac_cpp='$CPP $CPPFLAGS'
35110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35113
35114
35115 fi
35116
35117 fi
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35119 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35120
35121 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35122 for ac_func in _hypot
35123 do :
35124 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35125 if test "x$ac_cv_func__hypot" = x""yes; then :
35126 cat >>confdefs.h <<_ACEOF
35127 #define HAVE__HYPOT 1
35128 _ACEOF
35129
35130 fi
35131 done
35132
35133 fi
35134 fi
35135
35136
35137
35138
35139
35140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35141 $as_echo_n "checking for float trig functions... " >&6; }
35142 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35143 $as_echo_n "(cached) " >&6
35144 else
35145
35146
35147 ac_ext=cpp
35148 ac_cpp='$CXXCPP $CPPFLAGS'
35149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35152
35153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35154 /* end confdefs.h. */
35155 #include <math.h>
35156 int
35157 main ()
35158 {
35159 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35160 ;
35161 return 0;
35162 }
35163 _ACEOF
35164 if ac_fn_cxx_try_compile "$LINENO"; then :
35165 glibcxx_cv_func_float_trig_use=yes
35166 else
35167 glibcxx_cv_func_float_trig_use=no
35168 fi
35169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35170 ac_ext=c
35171 ac_cpp='$CPP $CPPFLAGS'
35172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35175
35176 fi
35177
35178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35179 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35180 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35181 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35182 do :
35183 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35184 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35185 eval as_val=\$$as_ac_var
35186 if test "x$as_val" = x""yes; then :
35187 cat >>confdefs.h <<_ACEOF
35188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35189 _ACEOF
35190
35191 fi
35192 done
35193
35194 else
35195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35196 $as_echo_n "checking for _float trig functions... " >&6; }
35197 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35198 $as_echo_n "(cached) " >&6
35199 else
35200
35201
35202 ac_ext=cpp
35203 ac_cpp='$CXXCPP $CPPFLAGS'
35204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35207
35208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35209 /* end confdefs.h. */
35210 #include <math.h>
35211 int
35212 main ()
35213 {
35214 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35215 ;
35216 return 0;
35217 }
35218 _ACEOF
35219 if ac_fn_cxx_try_compile "$LINENO"; then :
35220 glibcxx_cv_func__float_trig_use=yes
35221 else
35222 glibcxx_cv_func__float_trig_use=no
35223 fi
35224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35225 ac_ext=c
35226 ac_cpp='$CPP $CPPFLAGS'
35227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35230
35231 fi
35232
35233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35234 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35235 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35236 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35237 do :
35238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35240 eval as_val=\$$as_ac_var
35241 if test "x$as_val" = x""yes; then :
35242 cat >>confdefs.h <<_ACEOF
35243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35244 _ACEOF
35245
35246 fi
35247 done
35248
35249 fi
35250 fi
35251
35252
35253
35254
35255
35256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35257 $as_echo_n "checking for float round functions... " >&6; }
35258 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35259 $as_echo_n "(cached) " >&6
35260 else
35261
35262
35263 ac_ext=cpp
35264 ac_cpp='$CXXCPP $CPPFLAGS'
35265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35268
35269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35270 /* end confdefs.h. */
35271 #include <math.h>
35272 int
35273 main ()
35274 {
35275 ceilf (0); floorf (0);
35276 ;
35277 return 0;
35278 }
35279 _ACEOF
35280 if ac_fn_cxx_try_compile "$LINENO"; then :
35281 glibcxx_cv_func_float_round_use=yes
35282 else
35283 glibcxx_cv_func_float_round_use=no
35284 fi
35285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35286 ac_ext=c
35287 ac_cpp='$CPP $CPPFLAGS'
35288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35291
35292 fi
35293
35294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35295 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35296 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35297 for ac_func in ceilf floorf
35298 do :
35299 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35300 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35301 eval as_val=\$$as_ac_var
35302 if test "x$as_val" = x""yes; then :
35303 cat >>confdefs.h <<_ACEOF
35304 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35305 _ACEOF
35306
35307 fi
35308 done
35309
35310 else
35311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35312 $as_echo_n "checking for _float round functions... " >&6; }
35313 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35314 $as_echo_n "(cached) " >&6
35315 else
35316
35317
35318 ac_ext=cpp
35319 ac_cpp='$CXXCPP $CPPFLAGS'
35320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35323
35324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35325 /* end confdefs.h. */
35326 #include <math.h>
35327 int
35328 main ()
35329 {
35330 _ceilf (0); _floorf (0);
35331 ;
35332 return 0;
35333 }
35334 _ACEOF
35335 if ac_fn_cxx_try_compile "$LINENO"; then :
35336 glibcxx_cv_func__float_round_use=yes
35337 else
35338 glibcxx_cv_func__float_round_use=no
35339 fi
35340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35341 ac_ext=c
35342 ac_cpp='$CPP $CPPFLAGS'
35343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35346
35347 fi
35348
35349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35350 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35351 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35352 for ac_func in _ceilf _floorf
35353 do :
35354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35356 eval as_val=\$$as_ac_var
35357 if test "x$as_val" = x""yes; then :
35358 cat >>confdefs.h <<_ACEOF
35359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35360 _ACEOF
35361
35362 fi
35363 done
35364
35365 fi
35366 fi
35367
35368
35369
35370
35371
35372
35373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35374 $as_echo_n "checking for expf declaration... " >&6; }
35375 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35376 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35377 $as_echo_n "(cached) " >&6
35378 else
35379
35380
35381 ac_ext=cpp
35382 ac_cpp='$CXXCPP $CPPFLAGS'
35383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35386
35387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35388 /* end confdefs.h. */
35389 #include <math.h>
35390 #ifdef HAVE_IEEEFP_H
35391 #include <ieeefp.h>
35392 #endif
35393
35394 int
35395 main ()
35396 {
35397 expf(0);
35398 ;
35399 return 0;
35400 }
35401 _ACEOF
35402 if ac_fn_cxx_try_compile "$LINENO"; then :
35403 glibcxx_cv_func_expf_use=yes
35404 else
35405 glibcxx_cv_func_expf_use=no
35406 fi
35407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35408 ac_ext=c
35409 ac_cpp='$CPP $CPPFLAGS'
35410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35413
35414
35415 fi
35416
35417 fi
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35419 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35420
35421 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35422 for ac_func in expf
35423 do :
35424 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35425 if test "x$ac_cv_func_expf" = x""yes; then :
35426 cat >>confdefs.h <<_ACEOF
35427 #define HAVE_EXPF 1
35428 _ACEOF
35429
35430 fi
35431 done
35432
35433 else
35434
35435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35436 $as_echo_n "checking for _expf declaration... " >&6; }
35437 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35438 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35439 $as_echo_n "(cached) " >&6
35440 else
35441
35442
35443 ac_ext=cpp
35444 ac_cpp='$CXXCPP $CPPFLAGS'
35445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35448
35449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35450 /* end confdefs.h. */
35451 #include <math.h>
35452 #ifdef HAVE_IEEEFP_H
35453 #include <ieeefp.h>
35454 #endif
35455
35456 int
35457 main ()
35458 {
35459 _expf(0);
35460 ;
35461 return 0;
35462 }
35463 _ACEOF
35464 if ac_fn_cxx_try_compile "$LINENO"; then :
35465 glibcxx_cv_func__expf_use=yes
35466 else
35467 glibcxx_cv_func__expf_use=no
35468 fi
35469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35470 ac_ext=c
35471 ac_cpp='$CPP $CPPFLAGS'
35472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35475
35476
35477 fi
35478
35479 fi
35480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35481 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35482
35483 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35484 for ac_func in _expf
35485 do :
35486 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35487 if test "x$ac_cv_func__expf" = x""yes; then :
35488 cat >>confdefs.h <<_ACEOF
35489 #define HAVE__EXPF 1
35490 _ACEOF
35491
35492 fi
35493 done
35494
35495 fi
35496 fi
35497
35498
35499
35500
35501
35502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35503 $as_echo_n "checking for isnanf declaration... " >&6; }
35504 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35505 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35506 $as_echo_n "(cached) " >&6
35507 else
35508
35509
35510 ac_ext=cpp
35511 ac_cpp='$CXXCPP $CPPFLAGS'
35512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35515
35516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35517 /* end confdefs.h. */
35518 #include <math.h>
35519 #ifdef HAVE_IEEEFP_H
35520 #include <ieeefp.h>
35521 #endif
35522
35523 int
35524 main ()
35525 {
35526 isnanf(0);
35527 ;
35528 return 0;
35529 }
35530 _ACEOF
35531 if ac_fn_cxx_try_compile "$LINENO"; then :
35532 glibcxx_cv_func_isnanf_use=yes
35533 else
35534 glibcxx_cv_func_isnanf_use=no
35535 fi
35536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35537 ac_ext=c
35538 ac_cpp='$CPP $CPPFLAGS'
35539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35542
35543
35544 fi
35545
35546 fi
35547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35548 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35549
35550 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35551 for ac_func in isnanf
35552 do :
35553 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35554 if test "x$ac_cv_func_isnanf" = x""yes; then :
35555 cat >>confdefs.h <<_ACEOF
35556 #define HAVE_ISNANF 1
35557 _ACEOF
35558
35559 fi
35560 done
35561
35562 else
35563
35564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35565 $as_echo_n "checking for _isnanf declaration... " >&6; }
35566 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35567 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35568 $as_echo_n "(cached) " >&6
35569 else
35570
35571
35572 ac_ext=cpp
35573 ac_cpp='$CXXCPP $CPPFLAGS'
35574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35577
35578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35579 /* end confdefs.h. */
35580 #include <math.h>
35581 #ifdef HAVE_IEEEFP_H
35582 #include <ieeefp.h>
35583 #endif
35584
35585 int
35586 main ()
35587 {
35588 _isnanf(0);
35589 ;
35590 return 0;
35591 }
35592 _ACEOF
35593 if ac_fn_cxx_try_compile "$LINENO"; then :
35594 glibcxx_cv_func__isnanf_use=yes
35595 else
35596 glibcxx_cv_func__isnanf_use=no
35597 fi
35598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35599 ac_ext=c
35600 ac_cpp='$CPP $CPPFLAGS'
35601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35604
35605
35606 fi
35607
35608 fi
35609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35610 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35611
35612 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35613 for ac_func in _isnanf
35614 do :
35615 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35616 if test "x$ac_cv_func__isnanf" = x""yes; then :
35617 cat >>confdefs.h <<_ACEOF
35618 #define HAVE__ISNANF 1
35619 _ACEOF
35620
35621 fi
35622 done
35623
35624 fi
35625 fi
35626
35627
35628
35629
35630
35631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35632 $as_echo_n "checking for isinff declaration... " >&6; }
35633 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35634 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35635 $as_echo_n "(cached) " >&6
35636 else
35637
35638
35639 ac_ext=cpp
35640 ac_cpp='$CXXCPP $CPPFLAGS'
35641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35644
35645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35646 /* end confdefs.h. */
35647 #include <math.h>
35648 #ifdef HAVE_IEEEFP_H
35649 #include <ieeefp.h>
35650 #endif
35651
35652 int
35653 main ()
35654 {
35655 isinff(0);
35656 ;
35657 return 0;
35658 }
35659 _ACEOF
35660 if ac_fn_cxx_try_compile "$LINENO"; then :
35661 glibcxx_cv_func_isinff_use=yes
35662 else
35663 glibcxx_cv_func_isinff_use=no
35664 fi
35665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35666 ac_ext=c
35667 ac_cpp='$CPP $CPPFLAGS'
35668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35671
35672
35673 fi
35674
35675 fi
35676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35677 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35678
35679 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35680 for ac_func in isinff
35681 do :
35682 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35683 if test "x$ac_cv_func_isinff" = x""yes; then :
35684 cat >>confdefs.h <<_ACEOF
35685 #define HAVE_ISINFF 1
35686 _ACEOF
35687
35688 fi
35689 done
35690
35691 else
35692
35693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35694 $as_echo_n "checking for _isinff declaration... " >&6; }
35695 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35696 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35697 $as_echo_n "(cached) " >&6
35698 else
35699
35700
35701 ac_ext=cpp
35702 ac_cpp='$CXXCPP $CPPFLAGS'
35703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35706
35707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35708 /* end confdefs.h. */
35709 #include <math.h>
35710 #ifdef HAVE_IEEEFP_H
35711 #include <ieeefp.h>
35712 #endif
35713
35714 int
35715 main ()
35716 {
35717 _isinff(0);
35718 ;
35719 return 0;
35720 }
35721 _ACEOF
35722 if ac_fn_cxx_try_compile "$LINENO"; then :
35723 glibcxx_cv_func__isinff_use=yes
35724 else
35725 glibcxx_cv_func__isinff_use=no
35726 fi
35727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35728 ac_ext=c
35729 ac_cpp='$CPP $CPPFLAGS'
35730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35733
35734
35735 fi
35736
35737 fi
35738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35739 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35740
35741 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35742 for ac_func in _isinff
35743 do :
35744 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35745 if test "x$ac_cv_func__isinff" = x""yes; then :
35746 cat >>confdefs.h <<_ACEOF
35747 #define HAVE__ISINFF 1
35748 _ACEOF
35749
35750 fi
35751 done
35752
35753 fi
35754 fi
35755
35756
35757
35758
35759
35760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35761 $as_echo_n "checking for atan2f declaration... " >&6; }
35762 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35763 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35764 $as_echo_n "(cached) " >&6
35765 else
35766
35767
35768 ac_ext=cpp
35769 ac_cpp='$CXXCPP $CPPFLAGS'
35770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35773
35774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35775 /* end confdefs.h. */
35776 #include <math.h>
35777 int
35778 main ()
35779 {
35780 atan2f(0, 0);
35781 ;
35782 return 0;
35783 }
35784 _ACEOF
35785 if ac_fn_cxx_try_compile "$LINENO"; then :
35786 glibcxx_cv_func_atan2f_use=yes
35787 else
35788 glibcxx_cv_func_atan2f_use=no
35789 fi
35790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35791 ac_ext=c
35792 ac_cpp='$CPP $CPPFLAGS'
35793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35796
35797
35798 fi
35799
35800 fi
35801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35802 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35803
35804 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35805 for ac_func in atan2f
35806 do :
35807 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35808 if test "x$ac_cv_func_atan2f" = x""yes; then :
35809 cat >>confdefs.h <<_ACEOF
35810 #define HAVE_ATAN2F 1
35811 _ACEOF
35812
35813 fi
35814 done
35815
35816 else
35817
35818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35819 $as_echo_n "checking for _atan2f declaration... " >&6; }
35820 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35821 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35822 $as_echo_n "(cached) " >&6
35823 else
35824
35825
35826 ac_ext=cpp
35827 ac_cpp='$CXXCPP $CPPFLAGS'
35828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35831
35832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35833 /* end confdefs.h. */
35834 #include <math.h>
35835 int
35836 main ()
35837 {
35838 _atan2f(0, 0);
35839 ;
35840 return 0;
35841 }
35842 _ACEOF
35843 if ac_fn_cxx_try_compile "$LINENO"; then :
35844 glibcxx_cv_func__atan2f_use=yes
35845 else
35846 glibcxx_cv_func__atan2f_use=no
35847 fi
35848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35849 ac_ext=c
35850 ac_cpp='$CPP $CPPFLAGS'
35851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35854
35855
35856 fi
35857
35858 fi
35859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35860 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35861
35862 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35863 for ac_func in _atan2f
35864 do :
35865 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35866 if test "x$ac_cv_func__atan2f" = x""yes; then :
35867 cat >>confdefs.h <<_ACEOF
35868 #define HAVE__ATAN2F 1
35869 _ACEOF
35870
35871 fi
35872 done
35873
35874 fi
35875 fi
35876
35877
35878
35879
35880
35881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35882 $as_echo_n "checking for fabsf declaration... " >&6; }
35883 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35884 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35885 $as_echo_n "(cached) " >&6
35886 else
35887
35888
35889 ac_ext=cpp
35890 ac_cpp='$CXXCPP $CPPFLAGS'
35891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35894
35895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35896 /* end confdefs.h. */
35897 #include <math.h>
35898 #ifdef HAVE_IEEEFP_H
35899 #include <ieeefp.h>
35900 #endif
35901
35902 int
35903 main ()
35904 {
35905 fabsf(0);
35906 ;
35907 return 0;
35908 }
35909 _ACEOF
35910 if ac_fn_cxx_try_compile "$LINENO"; then :
35911 glibcxx_cv_func_fabsf_use=yes
35912 else
35913 glibcxx_cv_func_fabsf_use=no
35914 fi
35915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35916 ac_ext=c
35917 ac_cpp='$CPP $CPPFLAGS'
35918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35921
35922
35923 fi
35924
35925 fi
35926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35927 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35928
35929 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35930 for ac_func in fabsf
35931 do :
35932 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35933 if test "x$ac_cv_func_fabsf" = x""yes; then :
35934 cat >>confdefs.h <<_ACEOF
35935 #define HAVE_FABSF 1
35936 _ACEOF
35937
35938 fi
35939 done
35940
35941 else
35942
35943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35944 $as_echo_n "checking for _fabsf declaration... " >&6; }
35945 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35946 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35947 $as_echo_n "(cached) " >&6
35948 else
35949
35950
35951 ac_ext=cpp
35952 ac_cpp='$CXXCPP $CPPFLAGS'
35953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35956
35957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35958 /* end confdefs.h. */
35959 #include <math.h>
35960 #ifdef HAVE_IEEEFP_H
35961 #include <ieeefp.h>
35962 #endif
35963
35964 int
35965 main ()
35966 {
35967 _fabsf(0);
35968 ;
35969 return 0;
35970 }
35971 _ACEOF
35972 if ac_fn_cxx_try_compile "$LINENO"; then :
35973 glibcxx_cv_func__fabsf_use=yes
35974 else
35975 glibcxx_cv_func__fabsf_use=no
35976 fi
35977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35978 ac_ext=c
35979 ac_cpp='$CPP $CPPFLAGS'
35980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35983
35984
35985 fi
35986
35987 fi
35988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35989 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35990
35991 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35992 for ac_func in _fabsf
35993 do :
35994 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35995 if test "x$ac_cv_func__fabsf" = x""yes; then :
35996 cat >>confdefs.h <<_ACEOF
35997 #define HAVE__FABSF 1
35998 _ACEOF
35999
36000 fi
36001 done
36002
36003 fi
36004 fi
36005
36006
36007
36008
36009
36010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36011 $as_echo_n "checking for fmodf declaration... " >&6; }
36012 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36013 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
36014 $as_echo_n "(cached) " >&6
36015 else
36016
36017
36018 ac_ext=cpp
36019 ac_cpp='$CXXCPP $CPPFLAGS'
36020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36023
36024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36025 /* end confdefs.h. */
36026 #include <math.h>
36027 int
36028 main ()
36029 {
36030 fmodf(0, 0);
36031 ;
36032 return 0;
36033 }
36034 _ACEOF
36035 if ac_fn_cxx_try_compile "$LINENO"; then :
36036 glibcxx_cv_func_fmodf_use=yes
36037 else
36038 glibcxx_cv_func_fmodf_use=no
36039 fi
36040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36041 ac_ext=c
36042 ac_cpp='$CPP $CPPFLAGS'
36043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36046
36047
36048 fi
36049
36050 fi
36051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36052 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36053
36054 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36055 for ac_func in fmodf
36056 do :
36057 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36058 if test "x$ac_cv_func_fmodf" = x""yes; then :
36059 cat >>confdefs.h <<_ACEOF
36060 #define HAVE_FMODF 1
36061 _ACEOF
36062
36063 fi
36064 done
36065
36066 else
36067
36068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36069 $as_echo_n "checking for _fmodf declaration... " >&6; }
36070 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36071 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36072 $as_echo_n "(cached) " >&6
36073 else
36074
36075
36076 ac_ext=cpp
36077 ac_cpp='$CXXCPP $CPPFLAGS'
36078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36081
36082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36083 /* end confdefs.h. */
36084 #include <math.h>
36085 int
36086 main ()
36087 {
36088 _fmodf(0, 0);
36089 ;
36090 return 0;
36091 }
36092 _ACEOF
36093 if ac_fn_cxx_try_compile "$LINENO"; then :
36094 glibcxx_cv_func__fmodf_use=yes
36095 else
36096 glibcxx_cv_func__fmodf_use=no
36097 fi
36098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36099 ac_ext=c
36100 ac_cpp='$CPP $CPPFLAGS'
36101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36104
36105
36106 fi
36107
36108 fi
36109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36110 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36111
36112 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36113 for ac_func in _fmodf
36114 do :
36115 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36116 if test "x$ac_cv_func__fmodf" = x""yes; then :
36117 cat >>confdefs.h <<_ACEOF
36118 #define HAVE__FMODF 1
36119 _ACEOF
36120
36121 fi
36122 done
36123
36124 fi
36125 fi
36126
36127
36128
36129
36130
36131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36132 $as_echo_n "checking for frexpf declaration... " >&6; }
36133 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36134 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36135 $as_echo_n "(cached) " >&6
36136 else
36137
36138
36139 ac_ext=cpp
36140 ac_cpp='$CXXCPP $CPPFLAGS'
36141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36144
36145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36146 /* end confdefs.h. */
36147 #include <math.h>
36148 int
36149 main ()
36150 {
36151 frexpf(0, 0);
36152 ;
36153 return 0;
36154 }
36155 _ACEOF
36156 if ac_fn_cxx_try_compile "$LINENO"; then :
36157 glibcxx_cv_func_frexpf_use=yes
36158 else
36159 glibcxx_cv_func_frexpf_use=no
36160 fi
36161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36162 ac_ext=c
36163 ac_cpp='$CPP $CPPFLAGS'
36164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36167
36168
36169 fi
36170
36171 fi
36172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36173 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36174
36175 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36176 for ac_func in frexpf
36177 do :
36178 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36179 if test "x$ac_cv_func_frexpf" = x""yes; then :
36180 cat >>confdefs.h <<_ACEOF
36181 #define HAVE_FREXPF 1
36182 _ACEOF
36183
36184 fi
36185 done
36186
36187 else
36188
36189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36190 $as_echo_n "checking for _frexpf declaration... " >&6; }
36191 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36192 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36193 $as_echo_n "(cached) " >&6
36194 else
36195
36196
36197 ac_ext=cpp
36198 ac_cpp='$CXXCPP $CPPFLAGS'
36199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36202
36203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36204 /* end confdefs.h. */
36205 #include <math.h>
36206 int
36207 main ()
36208 {
36209 _frexpf(0, 0);
36210 ;
36211 return 0;
36212 }
36213 _ACEOF
36214 if ac_fn_cxx_try_compile "$LINENO"; then :
36215 glibcxx_cv_func__frexpf_use=yes
36216 else
36217 glibcxx_cv_func__frexpf_use=no
36218 fi
36219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36220 ac_ext=c
36221 ac_cpp='$CPP $CPPFLAGS'
36222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36225
36226
36227 fi
36228
36229 fi
36230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36231 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36232
36233 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36234 for ac_func in _frexpf
36235 do :
36236 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36237 if test "x$ac_cv_func__frexpf" = x""yes; then :
36238 cat >>confdefs.h <<_ACEOF
36239 #define HAVE__FREXPF 1
36240 _ACEOF
36241
36242 fi
36243 done
36244
36245 fi
36246 fi
36247
36248
36249
36250
36251
36252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36253 $as_echo_n "checking for hypotf declaration... " >&6; }
36254 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36255 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36256 $as_echo_n "(cached) " >&6
36257 else
36258
36259
36260 ac_ext=cpp
36261 ac_cpp='$CXXCPP $CPPFLAGS'
36262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36265
36266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36267 /* end confdefs.h. */
36268 #include <math.h>
36269 int
36270 main ()
36271 {
36272 hypotf(0, 0);
36273 ;
36274 return 0;
36275 }
36276 _ACEOF
36277 if ac_fn_cxx_try_compile "$LINENO"; then :
36278 glibcxx_cv_func_hypotf_use=yes
36279 else
36280 glibcxx_cv_func_hypotf_use=no
36281 fi
36282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36283 ac_ext=c
36284 ac_cpp='$CPP $CPPFLAGS'
36285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36288
36289
36290 fi
36291
36292 fi
36293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36294 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36295
36296 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36297 for ac_func in hypotf
36298 do :
36299 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36300 if test "x$ac_cv_func_hypotf" = x""yes; then :
36301 cat >>confdefs.h <<_ACEOF
36302 #define HAVE_HYPOTF 1
36303 _ACEOF
36304
36305 fi
36306 done
36307
36308 else
36309
36310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36311 $as_echo_n "checking for _hypotf declaration... " >&6; }
36312 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36313 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36314 $as_echo_n "(cached) " >&6
36315 else
36316
36317
36318 ac_ext=cpp
36319 ac_cpp='$CXXCPP $CPPFLAGS'
36320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36323
36324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36325 /* end confdefs.h. */
36326 #include <math.h>
36327 int
36328 main ()
36329 {
36330 _hypotf(0, 0);
36331 ;
36332 return 0;
36333 }
36334 _ACEOF
36335 if ac_fn_cxx_try_compile "$LINENO"; then :
36336 glibcxx_cv_func__hypotf_use=yes
36337 else
36338 glibcxx_cv_func__hypotf_use=no
36339 fi
36340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36341 ac_ext=c
36342 ac_cpp='$CPP $CPPFLAGS'
36343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36346
36347
36348 fi
36349
36350 fi
36351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36352 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36353
36354 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36355 for ac_func in _hypotf
36356 do :
36357 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36358 if test "x$ac_cv_func__hypotf" = x""yes; then :
36359 cat >>confdefs.h <<_ACEOF
36360 #define HAVE__HYPOTF 1
36361 _ACEOF
36362
36363 fi
36364 done
36365
36366 fi
36367 fi
36368
36369
36370
36371
36372
36373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36374 $as_echo_n "checking for ldexpf declaration... " >&6; }
36375 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36376 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36377 $as_echo_n "(cached) " >&6
36378 else
36379
36380
36381 ac_ext=cpp
36382 ac_cpp='$CXXCPP $CPPFLAGS'
36383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36386
36387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36388 /* end confdefs.h. */
36389 #include <math.h>
36390 int
36391 main ()
36392 {
36393 ldexpf(0, 0);
36394 ;
36395 return 0;
36396 }
36397 _ACEOF
36398 if ac_fn_cxx_try_compile "$LINENO"; then :
36399 glibcxx_cv_func_ldexpf_use=yes
36400 else
36401 glibcxx_cv_func_ldexpf_use=no
36402 fi
36403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36404 ac_ext=c
36405 ac_cpp='$CPP $CPPFLAGS'
36406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36409
36410
36411 fi
36412
36413 fi
36414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36415 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36416
36417 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36418 for ac_func in ldexpf
36419 do :
36420 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36421 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36422 cat >>confdefs.h <<_ACEOF
36423 #define HAVE_LDEXPF 1
36424 _ACEOF
36425
36426 fi
36427 done
36428
36429 else
36430
36431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36432 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36433 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36434 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36435 $as_echo_n "(cached) " >&6
36436 else
36437
36438
36439 ac_ext=cpp
36440 ac_cpp='$CXXCPP $CPPFLAGS'
36441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36444
36445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36446 /* end confdefs.h. */
36447 #include <math.h>
36448 int
36449 main ()
36450 {
36451 _ldexpf(0, 0);
36452 ;
36453 return 0;
36454 }
36455 _ACEOF
36456 if ac_fn_cxx_try_compile "$LINENO"; then :
36457 glibcxx_cv_func__ldexpf_use=yes
36458 else
36459 glibcxx_cv_func__ldexpf_use=no
36460 fi
36461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36462 ac_ext=c
36463 ac_cpp='$CPP $CPPFLAGS'
36464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36467
36468
36469 fi
36470
36471 fi
36472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36473 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36474
36475 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36476 for ac_func in _ldexpf
36477 do :
36478 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36479 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36480 cat >>confdefs.h <<_ACEOF
36481 #define HAVE__LDEXPF 1
36482 _ACEOF
36483
36484 fi
36485 done
36486
36487 fi
36488 fi
36489
36490
36491
36492
36493
36494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36495 $as_echo_n "checking for logf declaration... " >&6; }
36496 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36497 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36498 $as_echo_n "(cached) " >&6
36499 else
36500
36501
36502 ac_ext=cpp
36503 ac_cpp='$CXXCPP $CPPFLAGS'
36504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36507
36508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36509 /* end confdefs.h. */
36510 #include <math.h>
36511 #ifdef HAVE_IEEEFP_H
36512 #include <ieeefp.h>
36513 #endif
36514
36515 int
36516 main ()
36517 {
36518 logf(0);
36519 ;
36520 return 0;
36521 }
36522 _ACEOF
36523 if ac_fn_cxx_try_compile "$LINENO"; then :
36524 glibcxx_cv_func_logf_use=yes
36525 else
36526 glibcxx_cv_func_logf_use=no
36527 fi
36528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36529 ac_ext=c
36530 ac_cpp='$CPP $CPPFLAGS'
36531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36534
36535
36536 fi
36537
36538 fi
36539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36540 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36541
36542 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36543 for ac_func in logf
36544 do :
36545 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36546 if test "x$ac_cv_func_logf" = x""yes; then :
36547 cat >>confdefs.h <<_ACEOF
36548 #define HAVE_LOGF 1
36549 _ACEOF
36550
36551 fi
36552 done
36553
36554 else
36555
36556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36557 $as_echo_n "checking for _logf declaration... " >&6; }
36558 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36559 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36560 $as_echo_n "(cached) " >&6
36561 else
36562
36563
36564 ac_ext=cpp
36565 ac_cpp='$CXXCPP $CPPFLAGS'
36566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36569
36570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36571 /* end confdefs.h. */
36572 #include <math.h>
36573 #ifdef HAVE_IEEEFP_H
36574 #include <ieeefp.h>
36575 #endif
36576
36577 int
36578 main ()
36579 {
36580 _logf(0);
36581 ;
36582 return 0;
36583 }
36584 _ACEOF
36585 if ac_fn_cxx_try_compile "$LINENO"; then :
36586 glibcxx_cv_func__logf_use=yes
36587 else
36588 glibcxx_cv_func__logf_use=no
36589 fi
36590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36591 ac_ext=c
36592 ac_cpp='$CPP $CPPFLAGS'
36593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36596
36597
36598 fi
36599
36600 fi
36601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36602 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36603
36604 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36605 for ac_func in _logf
36606 do :
36607 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36608 if test "x$ac_cv_func__logf" = x""yes; then :
36609 cat >>confdefs.h <<_ACEOF
36610 #define HAVE__LOGF 1
36611 _ACEOF
36612
36613 fi
36614 done
36615
36616 fi
36617 fi
36618
36619
36620
36621
36622
36623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36624 $as_echo_n "checking for log10f declaration... " >&6; }
36625 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36626 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36627 $as_echo_n "(cached) " >&6
36628 else
36629
36630
36631 ac_ext=cpp
36632 ac_cpp='$CXXCPP $CPPFLAGS'
36633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36636
36637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36638 /* end confdefs.h. */
36639 #include <math.h>
36640 #ifdef HAVE_IEEEFP_H
36641 #include <ieeefp.h>
36642 #endif
36643
36644 int
36645 main ()
36646 {
36647 log10f(0);
36648 ;
36649 return 0;
36650 }
36651 _ACEOF
36652 if ac_fn_cxx_try_compile "$LINENO"; then :
36653 glibcxx_cv_func_log10f_use=yes
36654 else
36655 glibcxx_cv_func_log10f_use=no
36656 fi
36657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36658 ac_ext=c
36659 ac_cpp='$CPP $CPPFLAGS'
36660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36663
36664
36665 fi
36666
36667 fi
36668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36669 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36670
36671 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36672 for ac_func in log10f
36673 do :
36674 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36675 if test "x$ac_cv_func_log10f" = x""yes; then :
36676 cat >>confdefs.h <<_ACEOF
36677 #define HAVE_LOG10F 1
36678 _ACEOF
36679
36680 fi
36681 done
36682
36683 else
36684
36685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36686 $as_echo_n "checking for _log10f declaration... " >&6; }
36687 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36688 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36689 $as_echo_n "(cached) " >&6
36690 else
36691
36692
36693 ac_ext=cpp
36694 ac_cpp='$CXXCPP $CPPFLAGS'
36695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36698
36699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36700 /* end confdefs.h. */
36701 #include <math.h>
36702 #ifdef HAVE_IEEEFP_H
36703 #include <ieeefp.h>
36704 #endif
36705
36706 int
36707 main ()
36708 {
36709 _log10f(0);
36710 ;
36711 return 0;
36712 }
36713 _ACEOF
36714 if ac_fn_cxx_try_compile "$LINENO"; then :
36715 glibcxx_cv_func__log10f_use=yes
36716 else
36717 glibcxx_cv_func__log10f_use=no
36718 fi
36719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36720 ac_ext=c
36721 ac_cpp='$CPP $CPPFLAGS'
36722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36725
36726
36727 fi
36728
36729 fi
36730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36731 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36732
36733 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36734 for ac_func in _log10f
36735 do :
36736 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36737 if test "x$ac_cv_func__log10f" = x""yes; then :
36738 cat >>confdefs.h <<_ACEOF
36739 #define HAVE__LOG10F 1
36740 _ACEOF
36741
36742 fi
36743 done
36744
36745 fi
36746 fi
36747
36748
36749
36750
36751
36752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36753 $as_echo_n "checking for modff declaration... " >&6; }
36754 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36755 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36756 $as_echo_n "(cached) " >&6
36757 else
36758
36759
36760 ac_ext=cpp
36761 ac_cpp='$CXXCPP $CPPFLAGS'
36762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36765
36766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36767 /* end confdefs.h. */
36768 #include <math.h>
36769 int
36770 main ()
36771 {
36772 modff(0, 0);
36773 ;
36774 return 0;
36775 }
36776 _ACEOF
36777 if ac_fn_cxx_try_compile "$LINENO"; then :
36778 glibcxx_cv_func_modff_use=yes
36779 else
36780 glibcxx_cv_func_modff_use=no
36781 fi
36782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36783 ac_ext=c
36784 ac_cpp='$CPP $CPPFLAGS'
36785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36788
36789
36790 fi
36791
36792 fi
36793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36794 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36795
36796 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36797 for ac_func in modff
36798 do :
36799 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36800 if test "x$ac_cv_func_modff" = x""yes; then :
36801 cat >>confdefs.h <<_ACEOF
36802 #define HAVE_MODFF 1
36803 _ACEOF
36804
36805 fi
36806 done
36807
36808 else
36809
36810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36811 $as_echo_n "checking for _modff declaration... " >&6; }
36812 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36813 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36814 $as_echo_n "(cached) " >&6
36815 else
36816
36817
36818 ac_ext=cpp
36819 ac_cpp='$CXXCPP $CPPFLAGS'
36820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36823
36824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36825 /* end confdefs.h. */
36826 #include <math.h>
36827 int
36828 main ()
36829 {
36830 _modff(0, 0);
36831 ;
36832 return 0;
36833 }
36834 _ACEOF
36835 if ac_fn_cxx_try_compile "$LINENO"; then :
36836 glibcxx_cv_func__modff_use=yes
36837 else
36838 glibcxx_cv_func__modff_use=no
36839 fi
36840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36841 ac_ext=c
36842 ac_cpp='$CPP $CPPFLAGS'
36843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36846
36847
36848 fi
36849
36850 fi
36851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36852 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36853
36854 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36855 for ac_func in _modff
36856 do :
36857 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36858 if test "x$ac_cv_func__modff" = x""yes; then :
36859 cat >>confdefs.h <<_ACEOF
36860 #define HAVE__MODFF 1
36861 _ACEOF
36862
36863 fi
36864 done
36865
36866 fi
36867 fi
36868
36869
36870
36871
36872
36873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36874 $as_echo_n "checking for modf declaration... " >&6; }
36875 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36876 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36877 $as_echo_n "(cached) " >&6
36878 else
36879
36880
36881 ac_ext=cpp
36882 ac_cpp='$CXXCPP $CPPFLAGS'
36883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36886
36887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36888 /* end confdefs.h. */
36889 #include <math.h>
36890 int
36891 main ()
36892 {
36893 modf(0, 0);
36894 ;
36895 return 0;
36896 }
36897 _ACEOF
36898 if ac_fn_cxx_try_compile "$LINENO"; then :
36899 glibcxx_cv_func_modf_use=yes
36900 else
36901 glibcxx_cv_func_modf_use=no
36902 fi
36903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36904 ac_ext=c
36905 ac_cpp='$CPP $CPPFLAGS'
36906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36909
36910
36911 fi
36912
36913 fi
36914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36915 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36916
36917 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36918 for ac_func in modf
36919 do :
36920 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36921 if test "x$ac_cv_func_modf" = x""yes; then :
36922 cat >>confdefs.h <<_ACEOF
36923 #define HAVE_MODF 1
36924 _ACEOF
36925
36926 fi
36927 done
36928
36929 else
36930
36931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36932 $as_echo_n "checking for _modf declaration... " >&6; }
36933 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36934 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36935 $as_echo_n "(cached) " >&6
36936 else
36937
36938
36939 ac_ext=cpp
36940 ac_cpp='$CXXCPP $CPPFLAGS'
36941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36944
36945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36946 /* end confdefs.h. */
36947 #include <math.h>
36948 int
36949 main ()
36950 {
36951 _modf(0, 0);
36952 ;
36953 return 0;
36954 }
36955 _ACEOF
36956 if ac_fn_cxx_try_compile "$LINENO"; then :
36957 glibcxx_cv_func__modf_use=yes
36958 else
36959 glibcxx_cv_func__modf_use=no
36960 fi
36961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36962 ac_ext=c
36963 ac_cpp='$CPP $CPPFLAGS'
36964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36967
36968
36969 fi
36970
36971 fi
36972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36973 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36974
36975 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36976 for ac_func in _modf
36977 do :
36978 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36979 if test "x$ac_cv_func__modf" = x""yes; then :
36980 cat >>confdefs.h <<_ACEOF
36981 #define HAVE__MODF 1
36982 _ACEOF
36983
36984 fi
36985 done
36986
36987 fi
36988 fi
36989
36990
36991
36992
36993
36994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36995 $as_echo_n "checking for powf declaration... " >&6; }
36996 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36997 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36998 $as_echo_n "(cached) " >&6
36999 else
37000
37001
37002 ac_ext=cpp
37003 ac_cpp='$CXXCPP $CPPFLAGS'
37004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37007
37008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37009 /* end confdefs.h. */
37010 #include <math.h>
37011 int
37012 main ()
37013 {
37014 powf(0, 0);
37015 ;
37016 return 0;
37017 }
37018 _ACEOF
37019 if ac_fn_cxx_try_compile "$LINENO"; then :
37020 glibcxx_cv_func_powf_use=yes
37021 else
37022 glibcxx_cv_func_powf_use=no
37023 fi
37024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37025 ac_ext=c
37026 ac_cpp='$CPP $CPPFLAGS'
37027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37030
37031
37032 fi
37033
37034 fi
37035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37036 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37037
37038 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37039 for ac_func in powf
37040 do :
37041 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37042 if test "x$ac_cv_func_powf" = x""yes; then :
37043 cat >>confdefs.h <<_ACEOF
37044 #define HAVE_POWF 1
37045 _ACEOF
37046
37047 fi
37048 done
37049
37050 else
37051
37052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37053 $as_echo_n "checking for _powf declaration... " >&6; }
37054 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37055 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37056 $as_echo_n "(cached) " >&6
37057 else
37058
37059
37060 ac_ext=cpp
37061 ac_cpp='$CXXCPP $CPPFLAGS'
37062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37065
37066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37067 /* end confdefs.h. */
37068 #include <math.h>
37069 int
37070 main ()
37071 {
37072 _powf(0, 0);
37073 ;
37074 return 0;
37075 }
37076 _ACEOF
37077 if ac_fn_cxx_try_compile "$LINENO"; then :
37078 glibcxx_cv_func__powf_use=yes
37079 else
37080 glibcxx_cv_func__powf_use=no
37081 fi
37082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37083 ac_ext=c
37084 ac_cpp='$CPP $CPPFLAGS'
37085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37088
37089
37090 fi
37091
37092 fi
37093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37094 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37095
37096 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37097 for ac_func in _powf
37098 do :
37099 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37100 if test "x$ac_cv_func__powf" = x""yes; then :
37101 cat >>confdefs.h <<_ACEOF
37102 #define HAVE__POWF 1
37103 _ACEOF
37104
37105 fi
37106 done
37107
37108 fi
37109 fi
37110
37111
37112
37113
37114
37115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37116 $as_echo_n "checking for sqrtf declaration... " >&6; }
37117 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37118 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37119 $as_echo_n "(cached) " >&6
37120 else
37121
37122
37123 ac_ext=cpp
37124 ac_cpp='$CXXCPP $CPPFLAGS'
37125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37128
37129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37130 /* end confdefs.h. */
37131 #include <math.h>
37132 #ifdef HAVE_IEEEFP_H
37133 #include <ieeefp.h>
37134 #endif
37135
37136 int
37137 main ()
37138 {
37139 sqrtf(0);
37140 ;
37141 return 0;
37142 }
37143 _ACEOF
37144 if ac_fn_cxx_try_compile "$LINENO"; then :
37145 glibcxx_cv_func_sqrtf_use=yes
37146 else
37147 glibcxx_cv_func_sqrtf_use=no
37148 fi
37149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37150 ac_ext=c
37151 ac_cpp='$CPP $CPPFLAGS'
37152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37155
37156
37157 fi
37158
37159 fi
37160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37161 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37162
37163 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37164 for ac_func in sqrtf
37165 do :
37166 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37167 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37168 cat >>confdefs.h <<_ACEOF
37169 #define HAVE_SQRTF 1
37170 _ACEOF
37171
37172 fi
37173 done
37174
37175 else
37176
37177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37178 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37179 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37180 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37181 $as_echo_n "(cached) " >&6
37182 else
37183
37184
37185 ac_ext=cpp
37186 ac_cpp='$CXXCPP $CPPFLAGS'
37187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37190
37191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37192 /* end confdefs.h. */
37193 #include <math.h>
37194 #ifdef HAVE_IEEEFP_H
37195 #include <ieeefp.h>
37196 #endif
37197
37198 int
37199 main ()
37200 {
37201 _sqrtf(0);
37202 ;
37203 return 0;
37204 }
37205 _ACEOF
37206 if ac_fn_cxx_try_compile "$LINENO"; then :
37207 glibcxx_cv_func__sqrtf_use=yes
37208 else
37209 glibcxx_cv_func__sqrtf_use=no
37210 fi
37211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37212 ac_ext=c
37213 ac_cpp='$CPP $CPPFLAGS'
37214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37217
37218
37219 fi
37220
37221 fi
37222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37223 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37224
37225 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37226 for ac_func in _sqrtf
37227 do :
37228 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37229 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37230 cat >>confdefs.h <<_ACEOF
37231 #define HAVE__SQRTF 1
37232 _ACEOF
37233
37234 fi
37235 done
37236
37237 fi
37238 fi
37239
37240
37241
37242
37243
37244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37245 $as_echo_n "checking for sincosf declaration... " >&6; }
37246 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37247 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37248 $as_echo_n "(cached) " >&6
37249 else
37250
37251
37252 ac_ext=cpp
37253 ac_cpp='$CXXCPP $CPPFLAGS'
37254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37257
37258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37259 /* end confdefs.h. */
37260 #include <math.h>
37261 int
37262 main ()
37263 {
37264 sincosf(0, 0, 0);
37265 ;
37266 return 0;
37267 }
37268 _ACEOF
37269 if ac_fn_cxx_try_compile "$LINENO"; then :
37270 glibcxx_cv_func_sincosf_use=yes
37271 else
37272 glibcxx_cv_func_sincosf_use=no
37273 fi
37274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37275 ac_ext=c
37276 ac_cpp='$CPP $CPPFLAGS'
37277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37280
37281
37282 fi
37283
37284 fi
37285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37286 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37287
37288 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37289 for ac_func in sincosf
37290 do :
37291 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37292 if test "x$ac_cv_func_sincosf" = x""yes; then :
37293 cat >>confdefs.h <<_ACEOF
37294 #define HAVE_SINCOSF 1
37295 _ACEOF
37296
37297 fi
37298 done
37299
37300 else
37301
37302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37303 $as_echo_n "checking for _sincosf declaration... " >&6; }
37304 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37305 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37306 $as_echo_n "(cached) " >&6
37307 else
37308
37309
37310 ac_ext=cpp
37311 ac_cpp='$CXXCPP $CPPFLAGS'
37312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37315
37316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37317 /* end confdefs.h. */
37318 #include <math.h>
37319 int
37320 main ()
37321 {
37322 _sincosf(0, 0, 0);
37323 ;
37324 return 0;
37325 }
37326 _ACEOF
37327 if ac_fn_cxx_try_compile "$LINENO"; then :
37328 glibcxx_cv_func__sincosf_use=yes
37329 else
37330 glibcxx_cv_func__sincosf_use=no
37331 fi
37332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37333 ac_ext=c
37334 ac_cpp='$CPP $CPPFLAGS'
37335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37338
37339
37340 fi
37341
37342 fi
37343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37344 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37345
37346 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37347 for ac_func in _sincosf
37348 do :
37349 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37350 if test "x$ac_cv_func__sincosf" = x""yes; then :
37351 cat >>confdefs.h <<_ACEOF
37352 #define HAVE__SINCOSF 1
37353 _ACEOF
37354
37355 fi
37356 done
37357
37358 fi
37359 fi
37360
37361
37362
37363
37364
37365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37366 $as_echo_n "checking for finitef declaration... " >&6; }
37367 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37368 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37369 $as_echo_n "(cached) " >&6
37370 else
37371
37372
37373 ac_ext=cpp
37374 ac_cpp='$CXXCPP $CPPFLAGS'
37375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37378
37379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37380 /* end confdefs.h. */
37381 #include <math.h>
37382 #ifdef HAVE_IEEEFP_H
37383 #include <ieeefp.h>
37384 #endif
37385
37386 int
37387 main ()
37388 {
37389 finitef(0);
37390 ;
37391 return 0;
37392 }
37393 _ACEOF
37394 if ac_fn_cxx_try_compile "$LINENO"; then :
37395 glibcxx_cv_func_finitef_use=yes
37396 else
37397 glibcxx_cv_func_finitef_use=no
37398 fi
37399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37400 ac_ext=c
37401 ac_cpp='$CPP $CPPFLAGS'
37402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37405
37406
37407 fi
37408
37409 fi
37410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37411 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37412
37413 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37414 for ac_func in finitef
37415 do :
37416 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37417 if test "x$ac_cv_func_finitef" = x""yes; then :
37418 cat >>confdefs.h <<_ACEOF
37419 #define HAVE_FINITEF 1
37420 _ACEOF
37421
37422 fi
37423 done
37424
37425 else
37426
37427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37428 $as_echo_n "checking for _finitef declaration... " >&6; }
37429 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37430 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37431 $as_echo_n "(cached) " >&6
37432 else
37433
37434
37435 ac_ext=cpp
37436 ac_cpp='$CXXCPP $CPPFLAGS'
37437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37440
37441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37442 /* end confdefs.h. */
37443 #include <math.h>
37444 #ifdef HAVE_IEEEFP_H
37445 #include <ieeefp.h>
37446 #endif
37447
37448 int
37449 main ()
37450 {
37451 _finitef(0);
37452 ;
37453 return 0;
37454 }
37455 _ACEOF
37456 if ac_fn_cxx_try_compile "$LINENO"; then :
37457 glibcxx_cv_func__finitef_use=yes
37458 else
37459 glibcxx_cv_func__finitef_use=no
37460 fi
37461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37462 ac_ext=c
37463 ac_cpp='$CPP $CPPFLAGS'
37464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37467
37468
37469 fi
37470
37471 fi
37472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37473 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37474
37475 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37476 for ac_func in _finitef
37477 do :
37478 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37479 if test "x$ac_cv_func__finitef" = x""yes; then :
37480 cat >>confdefs.h <<_ACEOF
37481 #define HAVE__FINITEF 1
37482 _ACEOF
37483
37484 fi
37485 done
37486
37487 fi
37488 fi
37489
37490
37491
37492
37493
37494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37495 $as_echo_n "checking for long double trig functions... " >&6; }
37496 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37497 $as_echo_n "(cached) " >&6
37498 else
37499
37500
37501 ac_ext=cpp
37502 ac_cpp='$CXXCPP $CPPFLAGS'
37503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37506
37507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37508 /* end confdefs.h. */
37509 #include <math.h>
37510 int
37511 main ()
37512 {
37513 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37514 ;
37515 return 0;
37516 }
37517 _ACEOF
37518 if ac_fn_cxx_try_compile "$LINENO"; then :
37519 glibcxx_cv_func_long_double_trig_use=yes
37520 else
37521 glibcxx_cv_func_long_double_trig_use=no
37522 fi
37523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37524 ac_ext=c
37525 ac_cpp='$CPP $CPPFLAGS'
37526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37529
37530 fi
37531
37532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37533 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37534 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37535 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37536 do :
37537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37539 eval as_val=\$$as_ac_var
37540 if test "x$as_val" = x""yes; then :
37541 cat >>confdefs.h <<_ACEOF
37542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37543 _ACEOF
37544
37545 fi
37546 done
37547
37548 else
37549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37550 $as_echo_n "checking for _long double trig functions... " >&6; }
37551 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37552 $as_echo_n "(cached) " >&6
37553 else
37554
37555
37556 ac_ext=cpp
37557 ac_cpp='$CXXCPP $CPPFLAGS'
37558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37561
37562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37563 /* end confdefs.h. */
37564 #include <math.h>
37565 int
37566 main ()
37567 {
37568 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37569 ;
37570 return 0;
37571 }
37572 _ACEOF
37573 if ac_fn_cxx_try_compile "$LINENO"; then :
37574 glibcxx_cv_func__long_double_trig_use=yes
37575 else
37576 glibcxx_cv_func__long_double_trig_use=no
37577 fi
37578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37579 ac_ext=c
37580 ac_cpp='$CPP $CPPFLAGS'
37581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37584
37585 fi
37586
37587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37588 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37589 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37590 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37591 do :
37592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37594 eval as_val=\$$as_ac_var
37595 if test "x$as_val" = x""yes; then :
37596 cat >>confdefs.h <<_ACEOF
37597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37598 _ACEOF
37599
37600 fi
37601 done
37602
37603 fi
37604 fi
37605
37606
37607
37608
37609
37610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37611 $as_echo_n "checking for long double round functions... " >&6; }
37612 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37613 $as_echo_n "(cached) " >&6
37614 else
37615
37616
37617 ac_ext=cpp
37618 ac_cpp='$CXXCPP $CPPFLAGS'
37619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37622
37623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37624 /* end confdefs.h. */
37625 #include <math.h>
37626 int
37627 main ()
37628 {
37629 ceill (0); floorl (0);
37630 ;
37631 return 0;
37632 }
37633 _ACEOF
37634 if ac_fn_cxx_try_compile "$LINENO"; then :
37635 glibcxx_cv_func_long_double_round_use=yes
37636 else
37637 glibcxx_cv_func_long_double_round_use=no
37638 fi
37639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37640 ac_ext=c
37641 ac_cpp='$CPP $CPPFLAGS'
37642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37645
37646 fi
37647
37648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37649 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37650 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37651 for ac_func in ceill floorl
37652 do :
37653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37654 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37655 eval as_val=\$$as_ac_var
37656 if test "x$as_val" = x""yes; then :
37657 cat >>confdefs.h <<_ACEOF
37658 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37659 _ACEOF
37660
37661 fi
37662 done
37663
37664 else
37665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37666 $as_echo_n "checking for _long double round functions... " >&6; }
37667 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37668 $as_echo_n "(cached) " >&6
37669 else
37670
37671
37672 ac_ext=cpp
37673 ac_cpp='$CXXCPP $CPPFLAGS'
37674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37677
37678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37679 /* end confdefs.h. */
37680 #include <math.h>
37681 int
37682 main ()
37683 {
37684 _ceill (0); _floorl (0);
37685 ;
37686 return 0;
37687 }
37688 _ACEOF
37689 if ac_fn_cxx_try_compile "$LINENO"; then :
37690 glibcxx_cv_func__long_double_round_use=yes
37691 else
37692 glibcxx_cv_func__long_double_round_use=no
37693 fi
37694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37695 ac_ext=c
37696 ac_cpp='$CPP $CPPFLAGS'
37697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37700
37701 fi
37702
37703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37704 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37705 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37706 for ac_func in _ceill _floorl
37707 do :
37708 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37709 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37710 eval as_val=\$$as_ac_var
37711 if test "x$as_val" = x""yes; then :
37712 cat >>confdefs.h <<_ACEOF
37713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37714 _ACEOF
37715
37716 fi
37717 done
37718
37719 fi
37720 fi
37721
37722
37723
37724
37725
37726
37727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37728 $as_echo_n "checking for isnanl declaration... " >&6; }
37729 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37730 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37731 $as_echo_n "(cached) " >&6
37732 else
37733
37734
37735 ac_ext=cpp
37736 ac_cpp='$CXXCPP $CPPFLAGS'
37737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37740
37741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37742 /* end confdefs.h. */
37743 #include <math.h>
37744 #ifdef HAVE_IEEEFP_H
37745 #include <ieeefp.h>
37746 #endif
37747
37748 int
37749 main ()
37750 {
37751 isnanl(0);
37752 ;
37753 return 0;
37754 }
37755 _ACEOF
37756 if ac_fn_cxx_try_compile "$LINENO"; then :
37757 glibcxx_cv_func_isnanl_use=yes
37758 else
37759 glibcxx_cv_func_isnanl_use=no
37760 fi
37761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37762 ac_ext=c
37763 ac_cpp='$CPP $CPPFLAGS'
37764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37767
37768
37769 fi
37770
37771 fi
37772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37773 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37774
37775 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37776 for ac_func in isnanl
37777 do :
37778 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37779 if test "x$ac_cv_func_isnanl" = x""yes; then :
37780 cat >>confdefs.h <<_ACEOF
37781 #define HAVE_ISNANL 1
37782 _ACEOF
37783
37784 fi
37785 done
37786
37787 else
37788
37789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37790 $as_echo_n "checking for _isnanl declaration... " >&6; }
37791 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37792 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37793 $as_echo_n "(cached) " >&6
37794 else
37795
37796
37797 ac_ext=cpp
37798 ac_cpp='$CXXCPP $CPPFLAGS'
37799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37802
37803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37804 /* end confdefs.h. */
37805 #include <math.h>
37806 #ifdef HAVE_IEEEFP_H
37807 #include <ieeefp.h>
37808 #endif
37809
37810 int
37811 main ()
37812 {
37813 _isnanl(0);
37814 ;
37815 return 0;
37816 }
37817 _ACEOF
37818 if ac_fn_cxx_try_compile "$LINENO"; then :
37819 glibcxx_cv_func__isnanl_use=yes
37820 else
37821 glibcxx_cv_func__isnanl_use=no
37822 fi
37823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37824 ac_ext=c
37825 ac_cpp='$CPP $CPPFLAGS'
37826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37829
37830
37831 fi
37832
37833 fi
37834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37835 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37836
37837 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37838 for ac_func in _isnanl
37839 do :
37840 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37841 if test "x$ac_cv_func__isnanl" = x""yes; then :
37842 cat >>confdefs.h <<_ACEOF
37843 #define HAVE__ISNANL 1
37844 _ACEOF
37845
37846 fi
37847 done
37848
37849 fi
37850 fi
37851
37852
37853
37854
37855
37856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37857 $as_echo_n "checking for isinfl declaration... " >&6; }
37858 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37859 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37860 $as_echo_n "(cached) " >&6
37861 else
37862
37863
37864 ac_ext=cpp
37865 ac_cpp='$CXXCPP $CPPFLAGS'
37866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37869
37870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37871 /* end confdefs.h. */
37872 #include <math.h>
37873 #ifdef HAVE_IEEEFP_H
37874 #include <ieeefp.h>
37875 #endif
37876
37877 int
37878 main ()
37879 {
37880 isinfl(0);
37881 ;
37882 return 0;
37883 }
37884 _ACEOF
37885 if ac_fn_cxx_try_compile "$LINENO"; then :
37886 glibcxx_cv_func_isinfl_use=yes
37887 else
37888 glibcxx_cv_func_isinfl_use=no
37889 fi
37890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37891 ac_ext=c
37892 ac_cpp='$CPP $CPPFLAGS'
37893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37896
37897
37898 fi
37899
37900 fi
37901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37902 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37903
37904 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37905 for ac_func in isinfl
37906 do :
37907 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37908 if test "x$ac_cv_func_isinfl" = x""yes; then :
37909 cat >>confdefs.h <<_ACEOF
37910 #define HAVE_ISINFL 1
37911 _ACEOF
37912
37913 fi
37914 done
37915
37916 else
37917
37918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37919 $as_echo_n "checking for _isinfl declaration... " >&6; }
37920 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37921 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37922 $as_echo_n "(cached) " >&6
37923 else
37924
37925
37926 ac_ext=cpp
37927 ac_cpp='$CXXCPP $CPPFLAGS'
37928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37931
37932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37933 /* end confdefs.h. */
37934 #include <math.h>
37935 #ifdef HAVE_IEEEFP_H
37936 #include <ieeefp.h>
37937 #endif
37938
37939 int
37940 main ()
37941 {
37942 _isinfl(0);
37943 ;
37944 return 0;
37945 }
37946 _ACEOF
37947 if ac_fn_cxx_try_compile "$LINENO"; then :
37948 glibcxx_cv_func__isinfl_use=yes
37949 else
37950 glibcxx_cv_func__isinfl_use=no
37951 fi
37952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37953 ac_ext=c
37954 ac_cpp='$CPP $CPPFLAGS'
37955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37958
37959
37960 fi
37961
37962 fi
37963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37964 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37965
37966 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37967 for ac_func in _isinfl
37968 do :
37969 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37970 if test "x$ac_cv_func__isinfl" = x""yes; then :
37971 cat >>confdefs.h <<_ACEOF
37972 #define HAVE__ISINFL 1
37973 _ACEOF
37974
37975 fi
37976 done
37977
37978 fi
37979 fi
37980
37981
37982
37983
37984
37985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37986 $as_echo_n "checking for atan2l declaration... " >&6; }
37987 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37988 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37989 $as_echo_n "(cached) " >&6
37990 else
37991
37992
37993 ac_ext=cpp
37994 ac_cpp='$CXXCPP $CPPFLAGS'
37995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37998
37999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38000 /* end confdefs.h. */
38001 #include <math.h>
38002 int
38003 main ()
38004 {
38005 atan2l(0, 0);
38006 ;
38007 return 0;
38008 }
38009 _ACEOF
38010 if ac_fn_cxx_try_compile "$LINENO"; then :
38011 glibcxx_cv_func_atan2l_use=yes
38012 else
38013 glibcxx_cv_func_atan2l_use=no
38014 fi
38015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38016 ac_ext=c
38017 ac_cpp='$CPP $CPPFLAGS'
38018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38021
38022
38023 fi
38024
38025 fi
38026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38027 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38028
38029 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38030 for ac_func in atan2l
38031 do :
38032 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38033 if test "x$ac_cv_func_atan2l" = x""yes; then :
38034 cat >>confdefs.h <<_ACEOF
38035 #define HAVE_ATAN2L 1
38036 _ACEOF
38037
38038 fi
38039 done
38040
38041 else
38042
38043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38044 $as_echo_n "checking for _atan2l declaration... " >&6; }
38045 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38046 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38047 $as_echo_n "(cached) " >&6
38048 else
38049
38050
38051 ac_ext=cpp
38052 ac_cpp='$CXXCPP $CPPFLAGS'
38053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38056
38057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38058 /* end confdefs.h. */
38059 #include <math.h>
38060 int
38061 main ()
38062 {
38063 _atan2l(0, 0);
38064 ;
38065 return 0;
38066 }
38067 _ACEOF
38068 if ac_fn_cxx_try_compile "$LINENO"; then :
38069 glibcxx_cv_func__atan2l_use=yes
38070 else
38071 glibcxx_cv_func__atan2l_use=no
38072 fi
38073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38074 ac_ext=c
38075 ac_cpp='$CPP $CPPFLAGS'
38076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38079
38080
38081 fi
38082
38083 fi
38084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38085 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38086
38087 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38088 for ac_func in _atan2l
38089 do :
38090 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38091 if test "x$ac_cv_func__atan2l" = x""yes; then :
38092 cat >>confdefs.h <<_ACEOF
38093 #define HAVE__ATAN2L 1
38094 _ACEOF
38095
38096 fi
38097 done
38098
38099 fi
38100 fi
38101
38102
38103
38104
38105
38106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38107 $as_echo_n "checking for expl declaration... " >&6; }
38108 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38109 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38110 $as_echo_n "(cached) " >&6
38111 else
38112
38113
38114 ac_ext=cpp
38115 ac_cpp='$CXXCPP $CPPFLAGS'
38116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38119
38120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38121 /* end confdefs.h. */
38122 #include <math.h>
38123 #ifdef HAVE_IEEEFP_H
38124 #include <ieeefp.h>
38125 #endif
38126
38127 int
38128 main ()
38129 {
38130 expl(0);
38131 ;
38132 return 0;
38133 }
38134 _ACEOF
38135 if ac_fn_cxx_try_compile "$LINENO"; then :
38136 glibcxx_cv_func_expl_use=yes
38137 else
38138 glibcxx_cv_func_expl_use=no
38139 fi
38140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38141 ac_ext=c
38142 ac_cpp='$CPP $CPPFLAGS'
38143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38146
38147
38148 fi
38149
38150 fi
38151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38152 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38153
38154 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38155 for ac_func in expl
38156 do :
38157 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38158 if test "x$ac_cv_func_expl" = x""yes; then :
38159 cat >>confdefs.h <<_ACEOF
38160 #define HAVE_EXPL 1
38161 _ACEOF
38162
38163 fi
38164 done
38165
38166 else
38167
38168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38169 $as_echo_n "checking for _expl declaration... " >&6; }
38170 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38171 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38172 $as_echo_n "(cached) " >&6
38173 else
38174
38175
38176 ac_ext=cpp
38177 ac_cpp='$CXXCPP $CPPFLAGS'
38178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38181
38182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38183 /* end confdefs.h. */
38184 #include <math.h>
38185 #ifdef HAVE_IEEEFP_H
38186 #include <ieeefp.h>
38187 #endif
38188
38189 int
38190 main ()
38191 {
38192 _expl(0);
38193 ;
38194 return 0;
38195 }
38196 _ACEOF
38197 if ac_fn_cxx_try_compile "$LINENO"; then :
38198 glibcxx_cv_func__expl_use=yes
38199 else
38200 glibcxx_cv_func__expl_use=no
38201 fi
38202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38203 ac_ext=c
38204 ac_cpp='$CPP $CPPFLAGS'
38205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38208
38209
38210 fi
38211
38212 fi
38213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38214 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38215
38216 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38217 for ac_func in _expl
38218 do :
38219 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38220 if test "x$ac_cv_func__expl" = x""yes; then :
38221 cat >>confdefs.h <<_ACEOF
38222 #define HAVE__EXPL 1
38223 _ACEOF
38224
38225 fi
38226 done
38227
38228 fi
38229 fi
38230
38231
38232
38233
38234
38235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38236 $as_echo_n "checking for fabsl declaration... " >&6; }
38237 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38238 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38239 $as_echo_n "(cached) " >&6
38240 else
38241
38242
38243 ac_ext=cpp
38244 ac_cpp='$CXXCPP $CPPFLAGS'
38245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38248
38249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38250 /* end confdefs.h. */
38251 #include <math.h>
38252 #ifdef HAVE_IEEEFP_H
38253 #include <ieeefp.h>
38254 #endif
38255
38256 int
38257 main ()
38258 {
38259 fabsl(0);
38260 ;
38261 return 0;
38262 }
38263 _ACEOF
38264 if ac_fn_cxx_try_compile "$LINENO"; then :
38265 glibcxx_cv_func_fabsl_use=yes
38266 else
38267 glibcxx_cv_func_fabsl_use=no
38268 fi
38269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38270 ac_ext=c
38271 ac_cpp='$CPP $CPPFLAGS'
38272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38275
38276
38277 fi
38278
38279 fi
38280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38281 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38282
38283 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38284 for ac_func in fabsl
38285 do :
38286 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38287 if test "x$ac_cv_func_fabsl" = x""yes; then :
38288 cat >>confdefs.h <<_ACEOF
38289 #define HAVE_FABSL 1
38290 _ACEOF
38291
38292 fi
38293 done
38294
38295 else
38296
38297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38298 $as_echo_n "checking for _fabsl declaration... " >&6; }
38299 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38300 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38301 $as_echo_n "(cached) " >&6
38302 else
38303
38304
38305 ac_ext=cpp
38306 ac_cpp='$CXXCPP $CPPFLAGS'
38307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38310
38311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38312 /* end confdefs.h. */
38313 #include <math.h>
38314 #ifdef HAVE_IEEEFP_H
38315 #include <ieeefp.h>
38316 #endif
38317
38318 int
38319 main ()
38320 {
38321 _fabsl(0);
38322 ;
38323 return 0;
38324 }
38325 _ACEOF
38326 if ac_fn_cxx_try_compile "$LINENO"; then :
38327 glibcxx_cv_func__fabsl_use=yes
38328 else
38329 glibcxx_cv_func__fabsl_use=no
38330 fi
38331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38332 ac_ext=c
38333 ac_cpp='$CPP $CPPFLAGS'
38334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38337
38338
38339 fi
38340
38341 fi
38342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38343 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38344
38345 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38346 for ac_func in _fabsl
38347 do :
38348 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38349 if test "x$ac_cv_func__fabsl" = x""yes; then :
38350 cat >>confdefs.h <<_ACEOF
38351 #define HAVE__FABSL 1
38352 _ACEOF
38353
38354 fi
38355 done
38356
38357 fi
38358 fi
38359
38360
38361
38362
38363
38364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38365 $as_echo_n "checking for fmodl declaration... " >&6; }
38366 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38367 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38368 $as_echo_n "(cached) " >&6
38369 else
38370
38371
38372 ac_ext=cpp
38373 ac_cpp='$CXXCPP $CPPFLAGS'
38374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38377
38378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38379 /* end confdefs.h. */
38380 #include <math.h>
38381 int
38382 main ()
38383 {
38384 fmodl(0, 0);
38385 ;
38386 return 0;
38387 }
38388 _ACEOF
38389 if ac_fn_cxx_try_compile "$LINENO"; then :
38390 glibcxx_cv_func_fmodl_use=yes
38391 else
38392 glibcxx_cv_func_fmodl_use=no
38393 fi
38394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38395 ac_ext=c
38396 ac_cpp='$CPP $CPPFLAGS'
38397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38400
38401
38402 fi
38403
38404 fi
38405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38406 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38407
38408 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38409 for ac_func in fmodl
38410 do :
38411 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38412 if test "x$ac_cv_func_fmodl" = x""yes; then :
38413 cat >>confdefs.h <<_ACEOF
38414 #define HAVE_FMODL 1
38415 _ACEOF
38416
38417 fi
38418 done
38419
38420 else
38421
38422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38423 $as_echo_n "checking for _fmodl declaration... " >&6; }
38424 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38425 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38426 $as_echo_n "(cached) " >&6
38427 else
38428
38429
38430 ac_ext=cpp
38431 ac_cpp='$CXXCPP $CPPFLAGS'
38432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38435
38436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38437 /* end confdefs.h. */
38438 #include <math.h>
38439 int
38440 main ()
38441 {
38442 _fmodl(0, 0);
38443 ;
38444 return 0;
38445 }
38446 _ACEOF
38447 if ac_fn_cxx_try_compile "$LINENO"; then :
38448 glibcxx_cv_func__fmodl_use=yes
38449 else
38450 glibcxx_cv_func__fmodl_use=no
38451 fi
38452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38453 ac_ext=c
38454 ac_cpp='$CPP $CPPFLAGS'
38455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38458
38459
38460 fi
38461
38462 fi
38463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38464 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38465
38466 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38467 for ac_func in _fmodl
38468 do :
38469 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38470 if test "x$ac_cv_func__fmodl" = x""yes; then :
38471 cat >>confdefs.h <<_ACEOF
38472 #define HAVE__FMODL 1
38473 _ACEOF
38474
38475 fi
38476 done
38477
38478 fi
38479 fi
38480
38481
38482
38483
38484
38485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38486 $as_echo_n "checking for frexpl declaration... " >&6; }
38487 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38488 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38489 $as_echo_n "(cached) " >&6
38490 else
38491
38492
38493 ac_ext=cpp
38494 ac_cpp='$CXXCPP $CPPFLAGS'
38495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38498
38499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38500 /* end confdefs.h. */
38501 #include <math.h>
38502 int
38503 main ()
38504 {
38505 frexpl(0, 0);
38506 ;
38507 return 0;
38508 }
38509 _ACEOF
38510 if ac_fn_cxx_try_compile "$LINENO"; then :
38511 glibcxx_cv_func_frexpl_use=yes
38512 else
38513 glibcxx_cv_func_frexpl_use=no
38514 fi
38515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38516 ac_ext=c
38517 ac_cpp='$CPP $CPPFLAGS'
38518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38521
38522
38523 fi
38524
38525 fi
38526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38527 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38528
38529 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38530 for ac_func in frexpl
38531 do :
38532 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38533 if test "x$ac_cv_func_frexpl" = x""yes; then :
38534 cat >>confdefs.h <<_ACEOF
38535 #define HAVE_FREXPL 1
38536 _ACEOF
38537
38538 fi
38539 done
38540
38541 else
38542
38543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38544 $as_echo_n "checking for _frexpl declaration... " >&6; }
38545 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38546 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38547 $as_echo_n "(cached) " >&6
38548 else
38549
38550
38551 ac_ext=cpp
38552 ac_cpp='$CXXCPP $CPPFLAGS'
38553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38556
38557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38558 /* end confdefs.h. */
38559 #include <math.h>
38560 int
38561 main ()
38562 {
38563 _frexpl(0, 0);
38564 ;
38565 return 0;
38566 }
38567 _ACEOF
38568 if ac_fn_cxx_try_compile "$LINENO"; then :
38569 glibcxx_cv_func__frexpl_use=yes
38570 else
38571 glibcxx_cv_func__frexpl_use=no
38572 fi
38573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38574 ac_ext=c
38575 ac_cpp='$CPP $CPPFLAGS'
38576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38579
38580
38581 fi
38582
38583 fi
38584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38585 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38586
38587 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38588 for ac_func in _frexpl
38589 do :
38590 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38591 if test "x$ac_cv_func__frexpl" = x""yes; then :
38592 cat >>confdefs.h <<_ACEOF
38593 #define HAVE__FREXPL 1
38594 _ACEOF
38595
38596 fi
38597 done
38598
38599 fi
38600 fi
38601
38602
38603
38604
38605
38606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38607 $as_echo_n "checking for hypotl declaration... " >&6; }
38608 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38609 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38610 $as_echo_n "(cached) " >&6
38611 else
38612
38613
38614 ac_ext=cpp
38615 ac_cpp='$CXXCPP $CPPFLAGS'
38616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38619
38620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38621 /* end confdefs.h. */
38622 #include <math.h>
38623 int
38624 main ()
38625 {
38626 hypotl(0, 0);
38627 ;
38628 return 0;
38629 }
38630 _ACEOF
38631 if ac_fn_cxx_try_compile "$LINENO"; then :
38632 glibcxx_cv_func_hypotl_use=yes
38633 else
38634 glibcxx_cv_func_hypotl_use=no
38635 fi
38636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38637 ac_ext=c
38638 ac_cpp='$CPP $CPPFLAGS'
38639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38642
38643
38644 fi
38645
38646 fi
38647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38648 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38649
38650 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38651 for ac_func in hypotl
38652 do :
38653 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38654 if test "x$ac_cv_func_hypotl" = x""yes; then :
38655 cat >>confdefs.h <<_ACEOF
38656 #define HAVE_HYPOTL 1
38657 _ACEOF
38658
38659 fi
38660 done
38661
38662 else
38663
38664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38665 $as_echo_n "checking for _hypotl declaration... " >&6; }
38666 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38667 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38668 $as_echo_n "(cached) " >&6
38669 else
38670
38671
38672 ac_ext=cpp
38673 ac_cpp='$CXXCPP $CPPFLAGS'
38674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38677
38678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38679 /* end confdefs.h. */
38680 #include <math.h>
38681 int
38682 main ()
38683 {
38684 _hypotl(0, 0);
38685 ;
38686 return 0;
38687 }
38688 _ACEOF
38689 if ac_fn_cxx_try_compile "$LINENO"; then :
38690 glibcxx_cv_func__hypotl_use=yes
38691 else
38692 glibcxx_cv_func__hypotl_use=no
38693 fi
38694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38695 ac_ext=c
38696 ac_cpp='$CPP $CPPFLAGS'
38697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38700
38701
38702 fi
38703
38704 fi
38705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38706 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38707
38708 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38709 for ac_func in _hypotl
38710 do :
38711 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38712 if test "x$ac_cv_func__hypotl" = x""yes; then :
38713 cat >>confdefs.h <<_ACEOF
38714 #define HAVE__HYPOTL 1
38715 _ACEOF
38716
38717 fi
38718 done
38719
38720 fi
38721 fi
38722
38723
38724
38725
38726
38727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38728 $as_echo_n "checking for ldexpl declaration... " >&6; }
38729 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38730 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38731 $as_echo_n "(cached) " >&6
38732 else
38733
38734
38735 ac_ext=cpp
38736 ac_cpp='$CXXCPP $CPPFLAGS'
38737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38740
38741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38742 /* end confdefs.h. */
38743 #include <math.h>
38744 int
38745 main ()
38746 {
38747 ldexpl(0, 0);
38748 ;
38749 return 0;
38750 }
38751 _ACEOF
38752 if ac_fn_cxx_try_compile "$LINENO"; then :
38753 glibcxx_cv_func_ldexpl_use=yes
38754 else
38755 glibcxx_cv_func_ldexpl_use=no
38756 fi
38757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38758 ac_ext=c
38759 ac_cpp='$CPP $CPPFLAGS'
38760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38763
38764
38765 fi
38766
38767 fi
38768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38769 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38770
38771 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38772 for ac_func in ldexpl
38773 do :
38774 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38775 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38776 cat >>confdefs.h <<_ACEOF
38777 #define HAVE_LDEXPL 1
38778 _ACEOF
38779
38780 fi
38781 done
38782
38783 else
38784
38785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38786 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38787 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38788 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38789 $as_echo_n "(cached) " >&6
38790 else
38791
38792
38793 ac_ext=cpp
38794 ac_cpp='$CXXCPP $CPPFLAGS'
38795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38798
38799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38800 /* end confdefs.h. */
38801 #include <math.h>
38802 int
38803 main ()
38804 {
38805 _ldexpl(0, 0);
38806 ;
38807 return 0;
38808 }
38809 _ACEOF
38810 if ac_fn_cxx_try_compile "$LINENO"; then :
38811 glibcxx_cv_func__ldexpl_use=yes
38812 else
38813 glibcxx_cv_func__ldexpl_use=no
38814 fi
38815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38816 ac_ext=c
38817 ac_cpp='$CPP $CPPFLAGS'
38818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38821
38822
38823 fi
38824
38825 fi
38826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38827 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38828
38829 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38830 for ac_func in _ldexpl
38831 do :
38832 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38833 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38834 cat >>confdefs.h <<_ACEOF
38835 #define HAVE__LDEXPL 1
38836 _ACEOF
38837
38838 fi
38839 done
38840
38841 fi
38842 fi
38843
38844
38845
38846
38847
38848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38849 $as_echo_n "checking for logl declaration... " >&6; }
38850 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38851 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38852 $as_echo_n "(cached) " >&6
38853 else
38854
38855
38856 ac_ext=cpp
38857 ac_cpp='$CXXCPP $CPPFLAGS'
38858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38861
38862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38863 /* end confdefs.h. */
38864 #include <math.h>
38865 #ifdef HAVE_IEEEFP_H
38866 #include <ieeefp.h>
38867 #endif
38868
38869 int
38870 main ()
38871 {
38872 logl(0);
38873 ;
38874 return 0;
38875 }
38876 _ACEOF
38877 if ac_fn_cxx_try_compile "$LINENO"; then :
38878 glibcxx_cv_func_logl_use=yes
38879 else
38880 glibcxx_cv_func_logl_use=no
38881 fi
38882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38883 ac_ext=c
38884 ac_cpp='$CPP $CPPFLAGS'
38885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38888
38889
38890 fi
38891
38892 fi
38893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38894 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38895
38896 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38897 for ac_func in logl
38898 do :
38899 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38900 if test "x$ac_cv_func_logl" = x""yes; then :
38901 cat >>confdefs.h <<_ACEOF
38902 #define HAVE_LOGL 1
38903 _ACEOF
38904
38905 fi
38906 done
38907
38908 else
38909
38910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38911 $as_echo_n "checking for _logl declaration... " >&6; }
38912 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38913 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38914 $as_echo_n "(cached) " >&6
38915 else
38916
38917
38918 ac_ext=cpp
38919 ac_cpp='$CXXCPP $CPPFLAGS'
38920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38923
38924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38925 /* end confdefs.h. */
38926 #include <math.h>
38927 #ifdef HAVE_IEEEFP_H
38928 #include <ieeefp.h>
38929 #endif
38930
38931 int
38932 main ()
38933 {
38934 _logl(0);
38935 ;
38936 return 0;
38937 }
38938 _ACEOF
38939 if ac_fn_cxx_try_compile "$LINENO"; then :
38940 glibcxx_cv_func__logl_use=yes
38941 else
38942 glibcxx_cv_func__logl_use=no
38943 fi
38944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38945 ac_ext=c
38946 ac_cpp='$CPP $CPPFLAGS'
38947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38950
38951
38952 fi
38953
38954 fi
38955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38956 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38957
38958 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38959 for ac_func in _logl
38960 do :
38961 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38962 if test "x$ac_cv_func__logl" = x""yes; then :
38963 cat >>confdefs.h <<_ACEOF
38964 #define HAVE__LOGL 1
38965 _ACEOF
38966
38967 fi
38968 done
38969
38970 fi
38971 fi
38972
38973
38974
38975
38976
38977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38978 $as_echo_n "checking for log10l declaration... " >&6; }
38979 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38980 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38981 $as_echo_n "(cached) " >&6
38982 else
38983
38984
38985 ac_ext=cpp
38986 ac_cpp='$CXXCPP $CPPFLAGS'
38987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38990
38991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38992 /* end confdefs.h. */
38993 #include <math.h>
38994 #ifdef HAVE_IEEEFP_H
38995 #include <ieeefp.h>
38996 #endif
38997
38998 int
38999 main ()
39000 {
39001 log10l(0);
39002 ;
39003 return 0;
39004 }
39005 _ACEOF
39006 if ac_fn_cxx_try_compile "$LINENO"; then :
39007 glibcxx_cv_func_log10l_use=yes
39008 else
39009 glibcxx_cv_func_log10l_use=no
39010 fi
39011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39012 ac_ext=c
39013 ac_cpp='$CPP $CPPFLAGS'
39014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39017
39018
39019 fi
39020
39021 fi
39022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39023 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39024
39025 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39026 for ac_func in log10l
39027 do :
39028 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39029 if test "x$ac_cv_func_log10l" = x""yes; then :
39030 cat >>confdefs.h <<_ACEOF
39031 #define HAVE_LOG10L 1
39032 _ACEOF
39033
39034 fi
39035 done
39036
39037 else
39038
39039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39040 $as_echo_n "checking for _log10l declaration... " >&6; }
39041 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39042 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39043 $as_echo_n "(cached) " >&6
39044 else
39045
39046
39047 ac_ext=cpp
39048 ac_cpp='$CXXCPP $CPPFLAGS'
39049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39052
39053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39054 /* end confdefs.h. */
39055 #include <math.h>
39056 #ifdef HAVE_IEEEFP_H
39057 #include <ieeefp.h>
39058 #endif
39059
39060 int
39061 main ()
39062 {
39063 _log10l(0);
39064 ;
39065 return 0;
39066 }
39067 _ACEOF
39068 if ac_fn_cxx_try_compile "$LINENO"; then :
39069 glibcxx_cv_func__log10l_use=yes
39070 else
39071 glibcxx_cv_func__log10l_use=no
39072 fi
39073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39074 ac_ext=c
39075 ac_cpp='$CPP $CPPFLAGS'
39076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39079
39080
39081 fi
39082
39083 fi
39084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39085 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39086
39087 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39088 for ac_func in _log10l
39089 do :
39090 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39091 if test "x$ac_cv_func__log10l" = x""yes; then :
39092 cat >>confdefs.h <<_ACEOF
39093 #define HAVE__LOG10L 1
39094 _ACEOF
39095
39096 fi
39097 done
39098
39099 fi
39100 fi
39101
39102
39103
39104
39105
39106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39107 $as_echo_n "checking for modfl declaration... " >&6; }
39108 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39109 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39110 $as_echo_n "(cached) " >&6
39111 else
39112
39113
39114 ac_ext=cpp
39115 ac_cpp='$CXXCPP $CPPFLAGS'
39116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39119
39120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39121 /* end confdefs.h. */
39122 #include <math.h>
39123 int
39124 main ()
39125 {
39126 modfl(0, 0);
39127 ;
39128 return 0;
39129 }
39130 _ACEOF
39131 if ac_fn_cxx_try_compile "$LINENO"; then :
39132 glibcxx_cv_func_modfl_use=yes
39133 else
39134 glibcxx_cv_func_modfl_use=no
39135 fi
39136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39137 ac_ext=c
39138 ac_cpp='$CPP $CPPFLAGS'
39139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39142
39143
39144 fi
39145
39146 fi
39147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39148 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39149
39150 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39151 for ac_func in modfl
39152 do :
39153 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39154 if test "x$ac_cv_func_modfl" = x""yes; then :
39155 cat >>confdefs.h <<_ACEOF
39156 #define HAVE_MODFL 1
39157 _ACEOF
39158
39159 fi
39160 done
39161
39162 else
39163
39164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39165 $as_echo_n "checking for _modfl declaration... " >&6; }
39166 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39167 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39168 $as_echo_n "(cached) " >&6
39169 else
39170
39171
39172 ac_ext=cpp
39173 ac_cpp='$CXXCPP $CPPFLAGS'
39174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39177
39178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39179 /* end confdefs.h. */
39180 #include <math.h>
39181 int
39182 main ()
39183 {
39184 _modfl(0, 0);
39185 ;
39186 return 0;
39187 }
39188 _ACEOF
39189 if ac_fn_cxx_try_compile "$LINENO"; then :
39190 glibcxx_cv_func__modfl_use=yes
39191 else
39192 glibcxx_cv_func__modfl_use=no
39193 fi
39194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39195 ac_ext=c
39196 ac_cpp='$CPP $CPPFLAGS'
39197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39200
39201
39202 fi
39203
39204 fi
39205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39206 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39207
39208 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39209 for ac_func in _modfl
39210 do :
39211 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39212 if test "x$ac_cv_func__modfl" = x""yes; then :
39213 cat >>confdefs.h <<_ACEOF
39214 #define HAVE__MODFL 1
39215 _ACEOF
39216
39217 fi
39218 done
39219
39220 fi
39221 fi
39222
39223
39224
39225
39226
39227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39228 $as_echo_n "checking for powl declaration... " >&6; }
39229 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39230 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39231 $as_echo_n "(cached) " >&6
39232 else
39233
39234
39235 ac_ext=cpp
39236 ac_cpp='$CXXCPP $CPPFLAGS'
39237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39240
39241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39242 /* end confdefs.h. */
39243 #include <math.h>
39244 int
39245 main ()
39246 {
39247 powl(0, 0);
39248 ;
39249 return 0;
39250 }
39251 _ACEOF
39252 if ac_fn_cxx_try_compile "$LINENO"; then :
39253 glibcxx_cv_func_powl_use=yes
39254 else
39255 glibcxx_cv_func_powl_use=no
39256 fi
39257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39258 ac_ext=c
39259 ac_cpp='$CPP $CPPFLAGS'
39260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39263
39264
39265 fi
39266
39267 fi
39268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39269 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39270
39271 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39272 for ac_func in powl
39273 do :
39274 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39275 if test "x$ac_cv_func_powl" = x""yes; then :
39276 cat >>confdefs.h <<_ACEOF
39277 #define HAVE_POWL 1
39278 _ACEOF
39279
39280 fi
39281 done
39282
39283 else
39284
39285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39286 $as_echo_n "checking for _powl declaration... " >&6; }
39287 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39288 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39289 $as_echo_n "(cached) " >&6
39290 else
39291
39292
39293 ac_ext=cpp
39294 ac_cpp='$CXXCPP $CPPFLAGS'
39295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39298
39299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39300 /* end confdefs.h. */
39301 #include <math.h>
39302 int
39303 main ()
39304 {
39305 _powl(0, 0);
39306 ;
39307 return 0;
39308 }
39309 _ACEOF
39310 if ac_fn_cxx_try_compile "$LINENO"; then :
39311 glibcxx_cv_func__powl_use=yes
39312 else
39313 glibcxx_cv_func__powl_use=no
39314 fi
39315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39316 ac_ext=c
39317 ac_cpp='$CPP $CPPFLAGS'
39318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39321
39322
39323 fi
39324
39325 fi
39326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39327 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39328
39329 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39330 for ac_func in _powl
39331 do :
39332 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39333 if test "x$ac_cv_func__powl" = x""yes; then :
39334 cat >>confdefs.h <<_ACEOF
39335 #define HAVE__POWL 1
39336 _ACEOF
39337
39338 fi
39339 done
39340
39341 fi
39342 fi
39343
39344
39345
39346
39347
39348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39349 $as_echo_n "checking for sqrtl declaration... " >&6; }
39350 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39351 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39352 $as_echo_n "(cached) " >&6
39353 else
39354
39355
39356 ac_ext=cpp
39357 ac_cpp='$CXXCPP $CPPFLAGS'
39358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39361
39362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39363 /* end confdefs.h. */
39364 #include <math.h>
39365 #ifdef HAVE_IEEEFP_H
39366 #include <ieeefp.h>
39367 #endif
39368
39369 int
39370 main ()
39371 {
39372 sqrtl(0);
39373 ;
39374 return 0;
39375 }
39376 _ACEOF
39377 if ac_fn_cxx_try_compile "$LINENO"; then :
39378 glibcxx_cv_func_sqrtl_use=yes
39379 else
39380 glibcxx_cv_func_sqrtl_use=no
39381 fi
39382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39383 ac_ext=c
39384 ac_cpp='$CPP $CPPFLAGS'
39385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39388
39389
39390 fi
39391
39392 fi
39393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39394 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39395
39396 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39397 for ac_func in sqrtl
39398 do :
39399 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39400 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39401 cat >>confdefs.h <<_ACEOF
39402 #define HAVE_SQRTL 1
39403 _ACEOF
39404
39405 fi
39406 done
39407
39408 else
39409
39410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39411 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39412 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39413 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39414 $as_echo_n "(cached) " >&6
39415 else
39416
39417
39418 ac_ext=cpp
39419 ac_cpp='$CXXCPP $CPPFLAGS'
39420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39423
39424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39425 /* end confdefs.h. */
39426 #include <math.h>
39427 #ifdef HAVE_IEEEFP_H
39428 #include <ieeefp.h>
39429 #endif
39430
39431 int
39432 main ()
39433 {
39434 _sqrtl(0);
39435 ;
39436 return 0;
39437 }
39438 _ACEOF
39439 if ac_fn_cxx_try_compile "$LINENO"; then :
39440 glibcxx_cv_func__sqrtl_use=yes
39441 else
39442 glibcxx_cv_func__sqrtl_use=no
39443 fi
39444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39445 ac_ext=c
39446 ac_cpp='$CPP $CPPFLAGS'
39447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39450
39451
39452 fi
39453
39454 fi
39455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39456 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39457
39458 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39459 for ac_func in _sqrtl
39460 do :
39461 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39462 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39463 cat >>confdefs.h <<_ACEOF
39464 #define HAVE__SQRTL 1
39465 _ACEOF
39466
39467 fi
39468 done
39469
39470 fi
39471 fi
39472
39473
39474
39475
39476
39477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39478 $as_echo_n "checking for sincosl declaration... " >&6; }
39479 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39480 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39481 $as_echo_n "(cached) " >&6
39482 else
39483
39484
39485 ac_ext=cpp
39486 ac_cpp='$CXXCPP $CPPFLAGS'
39487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39490
39491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39492 /* end confdefs.h. */
39493 #include <math.h>
39494 int
39495 main ()
39496 {
39497 sincosl(0, 0, 0);
39498 ;
39499 return 0;
39500 }
39501 _ACEOF
39502 if ac_fn_cxx_try_compile "$LINENO"; then :
39503 glibcxx_cv_func_sincosl_use=yes
39504 else
39505 glibcxx_cv_func_sincosl_use=no
39506 fi
39507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39508 ac_ext=c
39509 ac_cpp='$CPP $CPPFLAGS'
39510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39513
39514
39515 fi
39516
39517 fi
39518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39519 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39520
39521 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39522 for ac_func in sincosl
39523 do :
39524 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39525 if test "x$ac_cv_func_sincosl" = x""yes; then :
39526 cat >>confdefs.h <<_ACEOF
39527 #define HAVE_SINCOSL 1
39528 _ACEOF
39529
39530 fi
39531 done
39532
39533 else
39534
39535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39536 $as_echo_n "checking for _sincosl declaration... " >&6; }
39537 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39538 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39539 $as_echo_n "(cached) " >&6
39540 else
39541
39542
39543 ac_ext=cpp
39544 ac_cpp='$CXXCPP $CPPFLAGS'
39545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39548
39549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39550 /* end confdefs.h. */
39551 #include <math.h>
39552 int
39553 main ()
39554 {
39555 _sincosl(0, 0, 0);
39556 ;
39557 return 0;
39558 }
39559 _ACEOF
39560 if ac_fn_cxx_try_compile "$LINENO"; then :
39561 glibcxx_cv_func__sincosl_use=yes
39562 else
39563 glibcxx_cv_func__sincosl_use=no
39564 fi
39565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39566 ac_ext=c
39567 ac_cpp='$CPP $CPPFLAGS'
39568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39571
39572
39573 fi
39574
39575 fi
39576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39577 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39578
39579 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39580 for ac_func in _sincosl
39581 do :
39582 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39583 if test "x$ac_cv_func__sincosl" = x""yes; then :
39584 cat >>confdefs.h <<_ACEOF
39585 #define HAVE__SINCOSL 1
39586 _ACEOF
39587
39588 fi
39589 done
39590
39591 fi
39592 fi
39593
39594
39595
39596
39597
39598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39599 $as_echo_n "checking for finitel declaration... " >&6; }
39600 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39601 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39602 $as_echo_n "(cached) " >&6
39603 else
39604
39605
39606 ac_ext=cpp
39607 ac_cpp='$CXXCPP $CPPFLAGS'
39608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39611
39612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39613 /* end confdefs.h. */
39614 #include <math.h>
39615 #ifdef HAVE_IEEEFP_H
39616 #include <ieeefp.h>
39617 #endif
39618
39619 int
39620 main ()
39621 {
39622 finitel(0);
39623 ;
39624 return 0;
39625 }
39626 _ACEOF
39627 if ac_fn_cxx_try_compile "$LINENO"; then :
39628 glibcxx_cv_func_finitel_use=yes
39629 else
39630 glibcxx_cv_func_finitel_use=no
39631 fi
39632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39633 ac_ext=c
39634 ac_cpp='$CPP $CPPFLAGS'
39635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39638
39639
39640 fi
39641
39642 fi
39643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39644 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39645
39646 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39647 for ac_func in finitel
39648 do :
39649 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39650 if test "x$ac_cv_func_finitel" = x""yes; then :
39651 cat >>confdefs.h <<_ACEOF
39652 #define HAVE_FINITEL 1
39653 _ACEOF
39654
39655 fi
39656 done
39657
39658 else
39659
39660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39661 $as_echo_n "checking for _finitel declaration... " >&6; }
39662 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39663 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39664 $as_echo_n "(cached) " >&6
39665 else
39666
39667
39668 ac_ext=cpp
39669 ac_cpp='$CXXCPP $CPPFLAGS'
39670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39673
39674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39675 /* end confdefs.h. */
39676 #include <math.h>
39677 #ifdef HAVE_IEEEFP_H
39678 #include <ieeefp.h>
39679 #endif
39680
39681 int
39682 main ()
39683 {
39684 _finitel(0);
39685 ;
39686 return 0;
39687 }
39688 _ACEOF
39689 if ac_fn_cxx_try_compile "$LINENO"; then :
39690 glibcxx_cv_func__finitel_use=yes
39691 else
39692 glibcxx_cv_func__finitel_use=no
39693 fi
39694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39695 ac_ext=c
39696 ac_cpp='$CPP $CPPFLAGS'
39697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39700
39701
39702 fi
39703
39704 fi
39705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39706 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39707
39708 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39709 for ac_func in _finitel
39710 do :
39711 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39712 if test "x$ac_cv_func__finitel" = x""yes; then :
39713 cat >>confdefs.h <<_ACEOF
39714 #define HAVE__FINITEL 1
39715 _ACEOF
39716
39717 fi
39718 done
39719
39720 fi
39721 fi
39722
39723
39724
39725
39726 LIBS="$ac_save_LIBS"
39727 CXXFLAGS="$ac_save_CXXFLAGS"
39728
39729
39730 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39731 ac_save_CXXFLAGS="$CXXFLAGS"
39732 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39733
39734
39735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39736 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39737 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39738 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39739 $as_echo_n "(cached) " >&6
39740 else
39741
39742
39743 ac_ext=cpp
39744 ac_cpp='$CXXCPP $CPPFLAGS'
39745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39748
39749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39750 /* end confdefs.h. */
39751 #include <stdlib.h>
39752 int
39753 main ()
39754 {
39755 at_quick_exit(0);
39756 ;
39757 return 0;
39758 }
39759 _ACEOF
39760 if ac_fn_cxx_try_compile "$LINENO"; then :
39761 glibcxx_cv_func_at_quick_exit_use=yes
39762 else
39763 glibcxx_cv_func_at_quick_exit_use=no
39764 fi
39765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39766 ac_ext=c
39767 ac_cpp='$CPP $CPPFLAGS'
39768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39771
39772
39773 fi
39774
39775 fi
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39777 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39778 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39779 for ac_func in at_quick_exit
39780 do :
39781 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39782 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39783 cat >>confdefs.h <<_ACEOF
39784 #define HAVE_AT_QUICK_EXIT 1
39785 _ACEOF
39786
39787 fi
39788 done
39789
39790 fi
39791
39792
39793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39794 $as_echo_n "checking for quick_exit declaration... " >&6; }
39795 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39796 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39797 $as_echo_n "(cached) " >&6
39798 else
39799
39800
39801 ac_ext=cpp
39802 ac_cpp='$CXXCPP $CPPFLAGS'
39803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39806
39807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39808 /* end confdefs.h. */
39809 #include <stdlib.h>
39810 int
39811 main ()
39812 {
39813 quick_exit(0);
39814 ;
39815 return 0;
39816 }
39817 _ACEOF
39818 if ac_fn_cxx_try_compile "$LINENO"; then :
39819 glibcxx_cv_func_quick_exit_use=yes
39820 else
39821 glibcxx_cv_func_quick_exit_use=no
39822 fi
39823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39824 ac_ext=c
39825 ac_cpp='$CPP $CPPFLAGS'
39826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39829
39830
39831 fi
39832
39833 fi
39834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39835 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39836 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39837 for ac_func in quick_exit
39838 do :
39839 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39840 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39841 cat >>confdefs.h <<_ACEOF
39842 #define HAVE_QUICK_EXIT 1
39843 _ACEOF
39844
39845 fi
39846 done
39847
39848 fi
39849
39850
39851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39852 $as_echo_n "checking for strtold declaration... " >&6; }
39853 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39854 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39855 $as_echo_n "(cached) " >&6
39856 else
39857
39858
39859 ac_ext=cpp
39860 ac_cpp='$CXXCPP $CPPFLAGS'
39861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39864
39865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39866 /* end confdefs.h. */
39867 #include <stdlib.h>
39868 int
39869 main ()
39870 {
39871 strtold(0, 0);
39872 ;
39873 return 0;
39874 }
39875 _ACEOF
39876 if ac_fn_cxx_try_compile "$LINENO"; then :
39877 glibcxx_cv_func_strtold_use=yes
39878 else
39879 glibcxx_cv_func_strtold_use=no
39880 fi
39881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39882 ac_ext=c
39883 ac_cpp='$CPP $CPPFLAGS'
39884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39887
39888
39889 fi
39890
39891 fi
39892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39893 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39894 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39895 for ac_func in strtold
39896 do :
39897 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39898 if test "x$ac_cv_func_strtold" = x""yes; then :
39899 cat >>confdefs.h <<_ACEOF
39900 #define HAVE_STRTOLD 1
39901 _ACEOF
39902
39903 fi
39904 done
39905
39906 fi
39907
39908
39909
39910
39911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39912 $as_echo_n "checking for strtof declaration... " >&6; }
39913 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39914 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39915 $as_echo_n "(cached) " >&6
39916 else
39917
39918
39919 ac_ext=cpp
39920 ac_cpp='$CXXCPP $CPPFLAGS'
39921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39924
39925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39926 /* end confdefs.h. */
39927 #include <stdlib.h>
39928 int
39929 main ()
39930 {
39931 strtof(0, 0);
39932 ;
39933 return 0;
39934 }
39935 _ACEOF
39936 if ac_fn_cxx_try_compile "$LINENO"; then :
39937 glibcxx_cv_func_strtof_use=yes
39938 else
39939 glibcxx_cv_func_strtof_use=no
39940 fi
39941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39942 ac_ext=c
39943 ac_cpp='$CPP $CPPFLAGS'
39944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39947
39948
39949 fi
39950
39951 fi
39952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39953 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39954 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39955 for ac_func in strtof
39956 do :
39957 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39958 if test "x$ac_cv_func_strtof" = x""yes; then :
39959 cat >>confdefs.h <<_ACEOF
39960 #define HAVE_STRTOF 1
39961 _ACEOF
39962
39963 fi
39964 done
39965
39966 fi
39967
39968
39969
39970
39971 CXXFLAGS="$ac_save_CXXFLAGS"
39972
39973
39974
39975
39976
39977
39978 am_save_CPPFLAGS="$CPPFLAGS"
39979
39980 for element in $INCICONV; do
39981 haveit=
39982 for x in $CPPFLAGS; do
39983
39984 acl_save_prefix="$prefix"
39985 prefix="$acl_final_prefix"
39986 acl_save_exec_prefix="$exec_prefix"
39987 exec_prefix="$acl_final_exec_prefix"
39988 eval x=\"$x\"
39989 exec_prefix="$acl_save_exec_prefix"
39990 prefix="$acl_save_prefix"
39991
39992 if test "X$x" = "X$element"; then
39993 haveit=yes
39994 break
39995 fi
39996 done
39997 if test -z "$haveit"; then
39998 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39999 fi
40000 done
40001
40002
40003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40004 $as_echo_n "checking for iconv... " >&6; }
40005 if test "${am_cv_func_iconv+set}" = set; then :
40006 $as_echo_n "(cached) " >&6
40007 else
40008
40009 am_cv_func_iconv="no, consider installing GNU libiconv"
40010 am_cv_lib_iconv=no
40011 if test x$gcc_no_link = xyes; then
40012 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40013 fi
40014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40015 /* end confdefs.h. */
40016 #include <stdlib.h>
40017 #include <iconv.h>
40018 int
40019 main ()
40020 {
40021 iconv_t cd = iconv_open("","");
40022 iconv(cd,NULL,NULL,NULL,NULL);
40023 iconv_close(cd);
40024 ;
40025 return 0;
40026 }
40027 _ACEOF
40028 if ac_fn_c_try_link "$LINENO"; then :
40029 am_cv_func_iconv=yes
40030 fi
40031 rm -f core conftest.err conftest.$ac_objext \
40032 conftest$ac_exeext conftest.$ac_ext
40033 if test "$am_cv_func_iconv" != yes; then
40034 am_save_LIBS="$LIBS"
40035 LIBS="$LIBS $LIBICONV"
40036 if test x$gcc_no_link = xyes; then
40037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40038 fi
40039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40040 /* end confdefs.h. */
40041 #include <stdlib.h>
40042 #include <iconv.h>
40043 int
40044 main ()
40045 {
40046 iconv_t cd = iconv_open("","");
40047 iconv(cd,NULL,NULL,NULL,NULL);
40048 iconv_close(cd);
40049 ;
40050 return 0;
40051 }
40052 _ACEOF
40053 if ac_fn_c_try_link "$LINENO"; then :
40054 am_cv_lib_iconv=yes
40055 am_cv_func_iconv=yes
40056 fi
40057 rm -f core conftest.err conftest.$ac_objext \
40058 conftest$ac_exeext conftest.$ac_ext
40059 LIBS="$am_save_LIBS"
40060 fi
40061
40062 fi
40063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40064 $as_echo "$am_cv_func_iconv" >&6; }
40065 if test "$am_cv_func_iconv" = yes; then
40066
40067 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40068
40069 fi
40070 if test "$am_cv_lib_iconv" = yes; then
40071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40072 $as_echo_n "checking how to link with libiconv... " >&6; }
40073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40074 $as_echo "$LIBICONV" >&6; }
40075 else
40076 CPPFLAGS="$am_save_CPPFLAGS"
40077 LIBICONV=
40078 LTLIBICONV=
40079 fi
40080
40081
40082
40083 if test "$am_cv_func_iconv" = yes; then
40084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40085 $as_echo_n "checking for iconv declaration... " >&6; }
40086 if test "${am_cv_proto_iconv+set}" = set; then :
40087 $as_echo_n "(cached) " >&6
40088 else
40089
40090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40091 /* end confdefs.h. */
40092
40093 #include <stdlib.h>
40094 #include <iconv.h>
40095 extern
40096 #ifdef __cplusplus
40097 "C"
40098 #endif
40099 #if defined(__STDC__) || defined(__cplusplus)
40100 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40101 #else
40102 size_t iconv();
40103 #endif
40104
40105 int
40106 main ()
40107 {
40108
40109 ;
40110 return 0;
40111 }
40112 _ACEOF
40113 if ac_fn_c_try_compile "$LINENO"; then :
40114 am_cv_proto_iconv_arg1=""
40115 else
40116 am_cv_proto_iconv_arg1="const"
40117 fi
40118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40119 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);"
40120 fi
40121
40122 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
40123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
40124 }$am_cv_proto_iconv" >&5
40125 $as_echo "${ac_t:-
40126 }$am_cv_proto_iconv" >&6; }
40127
40128 cat >>confdefs.h <<_ACEOF
40129 #define ICONV_CONST $am_cv_proto_iconv_arg1
40130 _ACEOF
40131
40132 fi
40133
40134 ;;
40135
40136 *-aix*)
40137
40138 # If we're not using GNU ld, then there's no point in even trying these
40139 # tests. Check for that first. We should have already tested for gld
40140 # by now (in libtool), but require it now just to be safe...
40141 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40142 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40143
40144
40145
40146 # The name set by libtool depends on the version of libtool. Shame on us
40147 # for depending on an impl detail, but c'est la vie. Older versions used
40148 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40149 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40150 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40151 # set (hence we're using an older libtool), then set it.
40152 if test x${with_gnu_ld+set} != xset; then
40153 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40154 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40155 with_gnu_ld=no
40156 else
40157 with_gnu_ld=$ac_cv_prog_gnu_ld
40158 fi
40159 fi
40160
40161 # Start by getting the version number. I think the libtool test already
40162 # does some of this, but throws away the result.
40163 glibcxx_ld_is_gold=no
40164 if test x"$with_gnu_ld" = x"yes"; then
40165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40166 $as_echo_n "checking for ld version... " >&6; }
40167
40168 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40169 glibcxx_ld_is_gold=yes
40170 fi
40171 ldver=`$LD --version 2>/dev/null |
40172 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'`
40173
40174 glibcxx_gnu_ld_version=`echo $ldver | \
40175 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40177 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40178 fi
40179
40180 # Set --gc-sections.
40181 glibcxx_have_gc_sections=no
40182 if test "$glibcxx_ld_is_gold" = "yes"; then
40183 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40184 glibcxx_have_gc_sections=yes
40185 fi
40186 else
40187 glibcxx_gcsections_min_ld=21602
40188 if test x"$with_gnu_ld" = x"yes" &&
40189 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40190 glibcxx_have_gc_sections=yes
40191 fi
40192 fi
40193 if test "$glibcxx_have_gc_sections" = "yes"; then
40194 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40195 # NB: This flag only works reliably after 2.16.1. Configure tests
40196 # for this are difficult, so hard wire a value that should work.
40197
40198 ac_test_CFLAGS="${CFLAGS+set}"
40199 ac_save_CFLAGS="$CFLAGS"
40200 CFLAGS='-Wl,--gc-sections'
40201
40202 # Check for -Wl,--gc-sections
40203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40204 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40205 if test x$gcc_no_link = xyes; then
40206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40207 fi
40208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40209 /* end confdefs.h. */
40210 int one(void) { return 1; }
40211 int two(void) { return 2; }
40212
40213 int
40214 main ()
40215 {
40216 two();
40217 ;
40218 return 0;
40219 }
40220 _ACEOF
40221 if ac_fn_c_try_link "$LINENO"; then :
40222 ac_gcsections=yes
40223 else
40224 ac_gcsections=no
40225 fi
40226 rm -f core conftest.err conftest.$ac_objext \
40227 conftest$ac_exeext conftest.$ac_ext
40228 if test "$ac_gcsections" = "yes"; then
40229 rm -f conftest.c
40230 touch conftest.c
40231 if $CC -c conftest.c; then
40232 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40233 grep "Warning: gc-sections option ignored" > /dev/null; then
40234 ac_gcsections=no
40235 fi
40236 fi
40237 rm -f conftest.c conftest.o conftest
40238 fi
40239 if test "$ac_gcsections" = "yes"; then
40240 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40241 fi
40242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40243 $as_echo "$ac_gcsections" >&6; }
40244
40245 if test "$ac_test_CFLAGS" = set; then
40246 CFLAGS="$ac_save_CFLAGS"
40247 else
40248 # this is the suspicious part
40249 CFLAGS=''
40250 fi
40251 fi
40252
40253 # Set -z,relro.
40254 # Note this is only for shared objects.
40255 ac_ld_relro=no
40256 if test x"$with_gnu_ld" = x"yes"; then
40257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40258 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40259 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40260 if test -n "$cxx_z_relo"; then
40261 OPT_LDFLAGS="-Wl,-z,relro"
40262 ac_ld_relro=yes
40263 fi
40264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40265 $as_echo "$ac_ld_relro" >&6; }
40266 fi
40267
40268 # Set linker optimization flags.
40269 if test x"$with_gnu_ld" = x"yes"; then
40270 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40271 fi
40272
40273
40274
40275
40276
40277 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40278 ac_save_CXXFLAGS="$CXXFLAGS"
40279 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40280
40281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40282 $as_echo_n "checking for sin in -lm... " >&6; }
40283 if test "${ac_cv_lib_m_sin+set}" = set; then :
40284 $as_echo_n "(cached) " >&6
40285 else
40286 ac_check_lib_save_LIBS=$LIBS
40287 LIBS="-lm $LIBS"
40288 if test x$gcc_no_link = xyes; then
40289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40290 fi
40291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40292 /* end confdefs.h. */
40293
40294 /* Override any GCC internal prototype to avoid an error.
40295 Use char because int might match the return type of a GCC
40296 builtin and then its argument prototype would still apply. */
40297 #ifdef __cplusplus
40298 extern "C"
40299 #endif
40300 char sin ();
40301 int
40302 main ()
40303 {
40304 return sin ();
40305 ;
40306 return 0;
40307 }
40308 _ACEOF
40309 if ac_fn_c_try_link "$LINENO"; then :
40310 ac_cv_lib_m_sin=yes
40311 else
40312 ac_cv_lib_m_sin=no
40313 fi
40314 rm -f core conftest.err conftest.$ac_objext \
40315 conftest$ac_exeext conftest.$ac_ext
40316 LIBS=$ac_check_lib_save_LIBS
40317 fi
40318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40319 $as_echo "$ac_cv_lib_m_sin" >&6; }
40320 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40321 libm="-lm"
40322 fi
40323
40324 ac_save_LIBS="$LIBS"
40325 LIBS="$LIBS $libm"
40326
40327
40328
40329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40330 $as_echo_n "checking for isinf declaration... " >&6; }
40331 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40332 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40333 $as_echo_n "(cached) " >&6
40334 else
40335
40336
40337 ac_ext=cpp
40338 ac_cpp='$CXXCPP $CPPFLAGS'
40339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40342
40343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40344 /* end confdefs.h. */
40345 #include <math.h>
40346 #ifdef HAVE_IEEEFP_H
40347 #include <ieeefp.h>
40348 #endif
40349
40350 int
40351 main ()
40352 {
40353 isinf(0);
40354 ;
40355 return 0;
40356 }
40357 _ACEOF
40358 if ac_fn_cxx_try_compile "$LINENO"; then :
40359 glibcxx_cv_func_isinf_use=yes
40360 else
40361 glibcxx_cv_func_isinf_use=no
40362 fi
40363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40364 ac_ext=c
40365 ac_cpp='$CPP $CPPFLAGS'
40366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40369
40370
40371 fi
40372
40373 fi
40374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40375 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40376
40377 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40378 for ac_func in isinf
40379 do :
40380 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40381 if test "x$ac_cv_func_isinf" = x""yes; then :
40382 cat >>confdefs.h <<_ACEOF
40383 #define HAVE_ISINF 1
40384 _ACEOF
40385
40386 fi
40387 done
40388
40389 else
40390
40391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40392 $as_echo_n "checking for _isinf declaration... " >&6; }
40393 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40394 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40395 $as_echo_n "(cached) " >&6
40396 else
40397
40398
40399 ac_ext=cpp
40400 ac_cpp='$CXXCPP $CPPFLAGS'
40401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40404
40405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40406 /* end confdefs.h. */
40407 #include <math.h>
40408 #ifdef HAVE_IEEEFP_H
40409 #include <ieeefp.h>
40410 #endif
40411
40412 int
40413 main ()
40414 {
40415 _isinf(0);
40416 ;
40417 return 0;
40418 }
40419 _ACEOF
40420 if ac_fn_cxx_try_compile "$LINENO"; then :
40421 glibcxx_cv_func__isinf_use=yes
40422 else
40423 glibcxx_cv_func__isinf_use=no
40424 fi
40425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40426 ac_ext=c
40427 ac_cpp='$CPP $CPPFLAGS'
40428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40431
40432
40433 fi
40434
40435 fi
40436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40437 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40438
40439 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40440 for ac_func in _isinf
40441 do :
40442 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40443 if test "x$ac_cv_func__isinf" = x""yes; then :
40444 cat >>confdefs.h <<_ACEOF
40445 #define HAVE__ISINF 1
40446 _ACEOF
40447
40448 fi
40449 done
40450
40451 fi
40452 fi
40453
40454
40455
40456
40457
40458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40459 $as_echo_n "checking for isnan declaration... " >&6; }
40460 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40461 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40462 $as_echo_n "(cached) " >&6
40463 else
40464
40465
40466 ac_ext=cpp
40467 ac_cpp='$CXXCPP $CPPFLAGS'
40468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40471
40472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40473 /* end confdefs.h. */
40474 #include <math.h>
40475 #ifdef HAVE_IEEEFP_H
40476 #include <ieeefp.h>
40477 #endif
40478
40479 int
40480 main ()
40481 {
40482 isnan(0);
40483 ;
40484 return 0;
40485 }
40486 _ACEOF
40487 if ac_fn_cxx_try_compile "$LINENO"; then :
40488 glibcxx_cv_func_isnan_use=yes
40489 else
40490 glibcxx_cv_func_isnan_use=no
40491 fi
40492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40493 ac_ext=c
40494 ac_cpp='$CPP $CPPFLAGS'
40495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40498
40499
40500 fi
40501
40502 fi
40503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40504 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40505
40506 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40507 for ac_func in isnan
40508 do :
40509 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40510 if test "x$ac_cv_func_isnan" = x""yes; then :
40511 cat >>confdefs.h <<_ACEOF
40512 #define HAVE_ISNAN 1
40513 _ACEOF
40514
40515 fi
40516 done
40517
40518 else
40519
40520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40521 $as_echo_n "checking for _isnan declaration... " >&6; }
40522 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40523 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40524 $as_echo_n "(cached) " >&6
40525 else
40526
40527
40528 ac_ext=cpp
40529 ac_cpp='$CXXCPP $CPPFLAGS'
40530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40533
40534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40535 /* end confdefs.h. */
40536 #include <math.h>
40537 #ifdef HAVE_IEEEFP_H
40538 #include <ieeefp.h>
40539 #endif
40540
40541 int
40542 main ()
40543 {
40544 _isnan(0);
40545 ;
40546 return 0;
40547 }
40548 _ACEOF
40549 if ac_fn_cxx_try_compile "$LINENO"; then :
40550 glibcxx_cv_func__isnan_use=yes
40551 else
40552 glibcxx_cv_func__isnan_use=no
40553 fi
40554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40555 ac_ext=c
40556 ac_cpp='$CPP $CPPFLAGS'
40557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40560
40561
40562 fi
40563
40564 fi
40565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40566 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40567
40568 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40569 for ac_func in _isnan
40570 do :
40571 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40572 if test "x$ac_cv_func__isnan" = x""yes; then :
40573 cat >>confdefs.h <<_ACEOF
40574 #define HAVE__ISNAN 1
40575 _ACEOF
40576
40577 fi
40578 done
40579
40580 fi
40581 fi
40582
40583
40584
40585
40586
40587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40588 $as_echo_n "checking for finite declaration... " >&6; }
40589 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40590 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40591 $as_echo_n "(cached) " >&6
40592 else
40593
40594
40595 ac_ext=cpp
40596 ac_cpp='$CXXCPP $CPPFLAGS'
40597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40600
40601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40602 /* end confdefs.h. */
40603 #include <math.h>
40604 #ifdef HAVE_IEEEFP_H
40605 #include <ieeefp.h>
40606 #endif
40607
40608 int
40609 main ()
40610 {
40611 finite(0);
40612 ;
40613 return 0;
40614 }
40615 _ACEOF
40616 if ac_fn_cxx_try_compile "$LINENO"; then :
40617 glibcxx_cv_func_finite_use=yes
40618 else
40619 glibcxx_cv_func_finite_use=no
40620 fi
40621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40622 ac_ext=c
40623 ac_cpp='$CPP $CPPFLAGS'
40624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40627
40628
40629 fi
40630
40631 fi
40632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40633 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40634
40635 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40636 for ac_func in finite
40637 do :
40638 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40639 if test "x$ac_cv_func_finite" = x""yes; then :
40640 cat >>confdefs.h <<_ACEOF
40641 #define HAVE_FINITE 1
40642 _ACEOF
40643
40644 fi
40645 done
40646
40647 else
40648
40649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40650 $as_echo_n "checking for _finite declaration... " >&6; }
40651 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40652 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40653 $as_echo_n "(cached) " >&6
40654 else
40655
40656
40657 ac_ext=cpp
40658 ac_cpp='$CXXCPP $CPPFLAGS'
40659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40662
40663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40664 /* end confdefs.h. */
40665 #include <math.h>
40666 #ifdef HAVE_IEEEFP_H
40667 #include <ieeefp.h>
40668 #endif
40669
40670 int
40671 main ()
40672 {
40673 _finite(0);
40674 ;
40675 return 0;
40676 }
40677 _ACEOF
40678 if ac_fn_cxx_try_compile "$LINENO"; then :
40679 glibcxx_cv_func__finite_use=yes
40680 else
40681 glibcxx_cv_func__finite_use=no
40682 fi
40683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40684 ac_ext=c
40685 ac_cpp='$CPP $CPPFLAGS'
40686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40689
40690
40691 fi
40692
40693 fi
40694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40695 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40696
40697 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40698 for ac_func in _finite
40699 do :
40700 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40701 if test "x$ac_cv_func__finite" = x""yes; then :
40702 cat >>confdefs.h <<_ACEOF
40703 #define HAVE__FINITE 1
40704 _ACEOF
40705
40706 fi
40707 done
40708
40709 fi
40710 fi
40711
40712
40713
40714
40715
40716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40717 $as_echo_n "checking for sincos declaration... " >&6; }
40718 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40719 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40720 $as_echo_n "(cached) " >&6
40721 else
40722
40723
40724 ac_ext=cpp
40725 ac_cpp='$CXXCPP $CPPFLAGS'
40726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40729
40730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40731 /* end confdefs.h. */
40732 #include <math.h>
40733 int
40734 main ()
40735 {
40736 sincos(0, 0, 0);
40737 ;
40738 return 0;
40739 }
40740 _ACEOF
40741 if ac_fn_cxx_try_compile "$LINENO"; then :
40742 glibcxx_cv_func_sincos_use=yes
40743 else
40744 glibcxx_cv_func_sincos_use=no
40745 fi
40746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40747 ac_ext=c
40748 ac_cpp='$CPP $CPPFLAGS'
40749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40752
40753
40754 fi
40755
40756 fi
40757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40758 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40759
40760 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40761 for ac_func in sincos
40762 do :
40763 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40764 if test "x$ac_cv_func_sincos" = x""yes; then :
40765 cat >>confdefs.h <<_ACEOF
40766 #define HAVE_SINCOS 1
40767 _ACEOF
40768
40769 fi
40770 done
40771
40772 else
40773
40774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40775 $as_echo_n "checking for _sincos declaration... " >&6; }
40776 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40777 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40778 $as_echo_n "(cached) " >&6
40779 else
40780
40781
40782 ac_ext=cpp
40783 ac_cpp='$CXXCPP $CPPFLAGS'
40784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40787
40788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40789 /* end confdefs.h. */
40790 #include <math.h>
40791 int
40792 main ()
40793 {
40794 _sincos(0, 0, 0);
40795 ;
40796 return 0;
40797 }
40798 _ACEOF
40799 if ac_fn_cxx_try_compile "$LINENO"; then :
40800 glibcxx_cv_func__sincos_use=yes
40801 else
40802 glibcxx_cv_func__sincos_use=no
40803 fi
40804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40805 ac_ext=c
40806 ac_cpp='$CPP $CPPFLAGS'
40807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40810
40811
40812 fi
40813
40814 fi
40815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40816 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40817
40818 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40819 for ac_func in _sincos
40820 do :
40821 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40822 if test "x$ac_cv_func__sincos" = x""yes; then :
40823 cat >>confdefs.h <<_ACEOF
40824 #define HAVE__SINCOS 1
40825 _ACEOF
40826
40827 fi
40828 done
40829
40830 fi
40831 fi
40832
40833
40834
40835
40836
40837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40838 $as_echo_n "checking for fpclass declaration... " >&6; }
40839 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40840 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40841 $as_echo_n "(cached) " >&6
40842 else
40843
40844
40845 ac_ext=cpp
40846 ac_cpp='$CXXCPP $CPPFLAGS'
40847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40850
40851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40852 /* end confdefs.h. */
40853 #include <math.h>
40854 #ifdef HAVE_IEEEFP_H
40855 #include <ieeefp.h>
40856 #endif
40857
40858 int
40859 main ()
40860 {
40861 fpclass(0);
40862 ;
40863 return 0;
40864 }
40865 _ACEOF
40866 if ac_fn_cxx_try_compile "$LINENO"; then :
40867 glibcxx_cv_func_fpclass_use=yes
40868 else
40869 glibcxx_cv_func_fpclass_use=no
40870 fi
40871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40872 ac_ext=c
40873 ac_cpp='$CPP $CPPFLAGS'
40874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40877
40878
40879 fi
40880
40881 fi
40882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40883 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40884
40885 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40886 for ac_func in fpclass
40887 do :
40888 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40889 if test "x$ac_cv_func_fpclass" = x""yes; then :
40890 cat >>confdefs.h <<_ACEOF
40891 #define HAVE_FPCLASS 1
40892 _ACEOF
40893
40894 fi
40895 done
40896
40897 else
40898
40899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40900 $as_echo_n "checking for _fpclass declaration... " >&6; }
40901 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40902 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40903 $as_echo_n "(cached) " >&6
40904 else
40905
40906
40907 ac_ext=cpp
40908 ac_cpp='$CXXCPP $CPPFLAGS'
40909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40912
40913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40914 /* end confdefs.h. */
40915 #include <math.h>
40916 #ifdef HAVE_IEEEFP_H
40917 #include <ieeefp.h>
40918 #endif
40919
40920 int
40921 main ()
40922 {
40923 _fpclass(0);
40924 ;
40925 return 0;
40926 }
40927 _ACEOF
40928 if ac_fn_cxx_try_compile "$LINENO"; then :
40929 glibcxx_cv_func__fpclass_use=yes
40930 else
40931 glibcxx_cv_func__fpclass_use=no
40932 fi
40933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40934 ac_ext=c
40935 ac_cpp='$CPP $CPPFLAGS'
40936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40939
40940
40941 fi
40942
40943 fi
40944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40945 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40946
40947 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40948 for ac_func in _fpclass
40949 do :
40950 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40951 if test "x$ac_cv_func__fpclass" = x""yes; then :
40952 cat >>confdefs.h <<_ACEOF
40953 #define HAVE__FPCLASS 1
40954 _ACEOF
40955
40956 fi
40957 done
40958
40959 fi
40960 fi
40961
40962
40963
40964
40965
40966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40967 $as_echo_n "checking for qfpclass declaration... " >&6; }
40968 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40969 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40970 $as_echo_n "(cached) " >&6
40971 else
40972
40973
40974 ac_ext=cpp
40975 ac_cpp='$CXXCPP $CPPFLAGS'
40976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40979
40980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40981 /* end confdefs.h. */
40982 #include <math.h>
40983 #ifdef HAVE_IEEEFP_H
40984 #include <ieeefp.h>
40985 #endif
40986
40987 int
40988 main ()
40989 {
40990 qfpclass(0);
40991 ;
40992 return 0;
40993 }
40994 _ACEOF
40995 if ac_fn_cxx_try_compile "$LINENO"; then :
40996 glibcxx_cv_func_qfpclass_use=yes
40997 else
40998 glibcxx_cv_func_qfpclass_use=no
40999 fi
41000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41001 ac_ext=c
41002 ac_cpp='$CPP $CPPFLAGS'
41003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41006
41007
41008 fi
41009
41010 fi
41011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41012 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41013
41014 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41015 for ac_func in qfpclass
41016 do :
41017 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41018 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41019 cat >>confdefs.h <<_ACEOF
41020 #define HAVE_QFPCLASS 1
41021 _ACEOF
41022
41023 fi
41024 done
41025
41026 else
41027
41028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41029 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41030 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41031 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41032 $as_echo_n "(cached) " >&6
41033 else
41034
41035
41036 ac_ext=cpp
41037 ac_cpp='$CXXCPP $CPPFLAGS'
41038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41041
41042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41043 /* end confdefs.h. */
41044 #include <math.h>
41045 #ifdef HAVE_IEEEFP_H
41046 #include <ieeefp.h>
41047 #endif
41048
41049 int
41050 main ()
41051 {
41052 _qfpclass(0);
41053 ;
41054 return 0;
41055 }
41056 _ACEOF
41057 if ac_fn_cxx_try_compile "$LINENO"; then :
41058 glibcxx_cv_func__qfpclass_use=yes
41059 else
41060 glibcxx_cv_func__qfpclass_use=no
41061 fi
41062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41063 ac_ext=c
41064 ac_cpp='$CPP $CPPFLAGS'
41065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41068
41069
41070 fi
41071
41072 fi
41073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41074 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41075
41076 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41077 for ac_func in _qfpclass
41078 do :
41079 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41080 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41081 cat >>confdefs.h <<_ACEOF
41082 #define HAVE__QFPCLASS 1
41083 _ACEOF
41084
41085 fi
41086 done
41087
41088 fi
41089 fi
41090
41091
41092
41093
41094
41095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41096 $as_echo_n "checking for hypot declaration... " >&6; }
41097 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41098 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41099 $as_echo_n "(cached) " >&6
41100 else
41101
41102
41103 ac_ext=cpp
41104 ac_cpp='$CXXCPP $CPPFLAGS'
41105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41108
41109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41110 /* end confdefs.h. */
41111 #include <math.h>
41112 int
41113 main ()
41114 {
41115 hypot(0, 0);
41116 ;
41117 return 0;
41118 }
41119 _ACEOF
41120 if ac_fn_cxx_try_compile "$LINENO"; then :
41121 glibcxx_cv_func_hypot_use=yes
41122 else
41123 glibcxx_cv_func_hypot_use=no
41124 fi
41125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41126 ac_ext=c
41127 ac_cpp='$CPP $CPPFLAGS'
41128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41131
41132
41133 fi
41134
41135 fi
41136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41137 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41138
41139 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41140 for ac_func in hypot
41141 do :
41142 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41143 if test "x$ac_cv_func_hypot" = x""yes; then :
41144 cat >>confdefs.h <<_ACEOF
41145 #define HAVE_HYPOT 1
41146 _ACEOF
41147
41148 fi
41149 done
41150
41151 else
41152
41153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41154 $as_echo_n "checking for _hypot declaration... " >&6; }
41155 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41156 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41157 $as_echo_n "(cached) " >&6
41158 else
41159
41160
41161 ac_ext=cpp
41162 ac_cpp='$CXXCPP $CPPFLAGS'
41163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41166
41167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41168 /* end confdefs.h. */
41169 #include <math.h>
41170 int
41171 main ()
41172 {
41173 _hypot(0, 0);
41174 ;
41175 return 0;
41176 }
41177 _ACEOF
41178 if ac_fn_cxx_try_compile "$LINENO"; then :
41179 glibcxx_cv_func__hypot_use=yes
41180 else
41181 glibcxx_cv_func__hypot_use=no
41182 fi
41183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41184 ac_ext=c
41185 ac_cpp='$CPP $CPPFLAGS'
41186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41189
41190
41191 fi
41192
41193 fi
41194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41195 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41196
41197 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41198 for ac_func in _hypot
41199 do :
41200 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41201 if test "x$ac_cv_func__hypot" = x""yes; then :
41202 cat >>confdefs.h <<_ACEOF
41203 #define HAVE__HYPOT 1
41204 _ACEOF
41205
41206 fi
41207 done
41208
41209 fi
41210 fi
41211
41212
41213
41214
41215
41216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41217 $as_echo_n "checking for float trig functions... " >&6; }
41218 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41219 $as_echo_n "(cached) " >&6
41220 else
41221
41222
41223 ac_ext=cpp
41224 ac_cpp='$CXXCPP $CPPFLAGS'
41225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41228
41229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41230 /* end confdefs.h. */
41231 #include <math.h>
41232 int
41233 main ()
41234 {
41235 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41236 ;
41237 return 0;
41238 }
41239 _ACEOF
41240 if ac_fn_cxx_try_compile "$LINENO"; then :
41241 glibcxx_cv_func_float_trig_use=yes
41242 else
41243 glibcxx_cv_func_float_trig_use=no
41244 fi
41245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41246 ac_ext=c
41247 ac_cpp='$CPP $CPPFLAGS'
41248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41251
41252 fi
41253
41254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41255 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41256 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41257 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41258 do :
41259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41260 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41261 eval as_val=\$$as_ac_var
41262 if test "x$as_val" = x""yes; then :
41263 cat >>confdefs.h <<_ACEOF
41264 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41265 _ACEOF
41266
41267 fi
41268 done
41269
41270 else
41271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41272 $as_echo_n "checking for _float trig functions... " >&6; }
41273 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41274 $as_echo_n "(cached) " >&6
41275 else
41276
41277
41278 ac_ext=cpp
41279 ac_cpp='$CXXCPP $CPPFLAGS'
41280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41283
41284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41285 /* end confdefs.h. */
41286 #include <math.h>
41287 int
41288 main ()
41289 {
41290 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41291 ;
41292 return 0;
41293 }
41294 _ACEOF
41295 if ac_fn_cxx_try_compile "$LINENO"; then :
41296 glibcxx_cv_func__float_trig_use=yes
41297 else
41298 glibcxx_cv_func__float_trig_use=no
41299 fi
41300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41301 ac_ext=c
41302 ac_cpp='$CPP $CPPFLAGS'
41303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41306
41307 fi
41308
41309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41310 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41311 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41312 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41313 do :
41314 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41315 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41316 eval as_val=\$$as_ac_var
41317 if test "x$as_val" = x""yes; then :
41318 cat >>confdefs.h <<_ACEOF
41319 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41320 _ACEOF
41321
41322 fi
41323 done
41324
41325 fi
41326 fi
41327
41328
41329
41330
41331
41332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41333 $as_echo_n "checking for float round functions... " >&6; }
41334 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41335 $as_echo_n "(cached) " >&6
41336 else
41337
41338
41339 ac_ext=cpp
41340 ac_cpp='$CXXCPP $CPPFLAGS'
41341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41344
41345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41346 /* end confdefs.h. */
41347 #include <math.h>
41348 int
41349 main ()
41350 {
41351 ceilf (0); floorf (0);
41352 ;
41353 return 0;
41354 }
41355 _ACEOF
41356 if ac_fn_cxx_try_compile "$LINENO"; then :
41357 glibcxx_cv_func_float_round_use=yes
41358 else
41359 glibcxx_cv_func_float_round_use=no
41360 fi
41361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41362 ac_ext=c
41363 ac_cpp='$CPP $CPPFLAGS'
41364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41367
41368 fi
41369
41370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41371 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41372 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41373 for ac_func in ceilf floorf
41374 do :
41375 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41377 eval as_val=\$$as_ac_var
41378 if test "x$as_val" = x""yes; then :
41379 cat >>confdefs.h <<_ACEOF
41380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41381 _ACEOF
41382
41383 fi
41384 done
41385
41386 else
41387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41388 $as_echo_n "checking for _float round functions... " >&6; }
41389 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41390 $as_echo_n "(cached) " >&6
41391 else
41392
41393
41394 ac_ext=cpp
41395 ac_cpp='$CXXCPP $CPPFLAGS'
41396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41399
41400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41401 /* end confdefs.h. */
41402 #include <math.h>
41403 int
41404 main ()
41405 {
41406 _ceilf (0); _floorf (0);
41407 ;
41408 return 0;
41409 }
41410 _ACEOF
41411 if ac_fn_cxx_try_compile "$LINENO"; then :
41412 glibcxx_cv_func__float_round_use=yes
41413 else
41414 glibcxx_cv_func__float_round_use=no
41415 fi
41416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41417 ac_ext=c
41418 ac_cpp='$CPP $CPPFLAGS'
41419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41422
41423 fi
41424
41425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41426 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41427 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41428 for ac_func in _ceilf _floorf
41429 do :
41430 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41431 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41432 eval as_val=\$$as_ac_var
41433 if test "x$as_val" = x""yes; then :
41434 cat >>confdefs.h <<_ACEOF
41435 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41436 _ACEOF
41437
41438 fi
41439 done
41440
41441 fi
41442 fi
41443
41444
41445
41446
41447
41448
41449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41450 $as_echo_n "checking for expf declaration... " >&6; }
41451 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41452 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41453 $as_echo_n "(cached) " >&6
41454 else
41455
41456
41457 ac_ext=cpp
41458 ac_cpp='$CXXCPP $CPPFLAGS'
41459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41462
41463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41464 /* end confdefs.h. */
41465 #include <math.h>
41466 #ifdef HAVE_IEEEFP_H
41467 #include <ieeefp.h>
41468 #endif
41469
41470 int
41471 main ()
41472 {
41473 expf(0);
41474 ;
41475 return 0;
41476 }
41477 _ACEOF
41478 if ac_fn_cxx_try_compile "$LINENO"; then :
41479 glibcxx_cv_func_expf_use=yes
41480 else
41481 glibcxx_cv_func_expf_use=no
41482 fi
41483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41484 ac_ext=c
41485 ac_cpp='$CPP $CPPFLAGS'
41486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41489
41490
41491 fi
41492
41493 fi
41494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41495 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41496
41497 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41498 for ac_func in expf
41499 do :
41500 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41501 if test "x$ac_cv_func_expf" = x""yes; then :
41502 cat >>confdefs.h <<_ACEOF
41503 #define HAVE_EXPF 1
41504 _ACEOF
41505
41506 fi
41507 done
41508
41509 else
41510
41511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41512 $as_echo_n "checking for _expf declaration... " >&6; }
41513 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41514 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41515 $as_echo_n "(cached) " >&6
41516 else
41517
41518
41519 ac_ext=cpp
41520 ac_cpp='$CXXCPP $CPPFLAGS'
41521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41524
41525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41526 /* end confdefs.h. */
41527 #include <math.h>
41528 #ifdef HAVE_IEEEFP_H
41529 #include <ieeefp.h>
41530 #endif
41531
41532 int
41533 main ()
41534 {
41535 _expf(0);
41536 ;
41537 return 0;
41538 }
41539 _ACEOF
41540 if ac_fn_cxx_try_compile "$LINENO"; then :
41541 glibcxx_cv_func__expf_use=yes
41542 else
41543 glibcxx_cv_func__expf_use=no
41544 fi
41545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41546 ac_ext=c
41547 ac_cpp='$CPP $CPPFLAGS'
41548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41551
41552
41553 fi
41554
41555 fi
41556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41557 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41558
41559 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41560 for ac_func in _expf
41561 do :
41562 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41563 if test "x$ac_cv_func__expf" = x""yes; then :
41564 cat >>confdefs.h <<_ACEOF
41565 #define HAVE__EXPF 1
41566 _ACEOF
41567
41568 fi
41569 done
41570
41571 fi
41572 fi
41573
41574
41575
41576
41577
41578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41579 $as_echo_n "checking for isnanf declaration... " >&6; }
41580 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41581 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41582 $as_echo_n "(cached) " >&6
41583 else
41584
41585
41586 ac_ext=cpp
41587 ac_cpp='$CXXCPP $CPPFLAGS'
41588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41591
41592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41593 /* end confdefs.h. */
41594 #include <math.h>
41595 #ifdef HAVE_IEEEFP_H
41596 #include <ieeefp.h>
41597 #endif
41598
41599 int
41600 main ()
41601 {
41602 isnanf(0);
41603 ;
41604 return 0;
41605 }
41606 _ACEOF
41607 if ac_fn_cxx_try_compile "$LINENO"; then :
41608 glibcxx_cv_func_isnanf_use=yes
41609 else
41610 glibcxx_cv_func_isnanf_use=no
41611 fi
41612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41613 ac_ext=c
41614 ac_cpp='$CPP $CPPFLAGS'
41615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41618
41619
41620 fi
41621
41622 fi
41623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41624 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41625
41626 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41627 for ac_func in isnanf
41628 do :
41629 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41630 if test "x$ac_cv_func_isnanf" = x""yes; then :
41631 cat >>confdefs.h <<_ACEOF
41632 #define HAVE_ISNANF 1
41633 _ACEOF
41634
41635 fi
41636 done
41637
41638 else
41639
41640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41641 $as_echo_n "checking for _isnanf declaration... " >&6; }
41642 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41643 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41644 $as_echo_n "(cached) " >&6
41645 else
41646
41647
41648 ac_ext=cpp
41649 ac_cpp='$CXXCPP $CPPFLAGS'
41650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41653
41654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41655 /* end confdefs.h. */
41656 #include <math.h>
41657 #ifdef HAVE_IEEEFP_H
41658 #include <ieeefp.h>
41659 #endif
41660
41661 int
41662 main ()
41663 {
41664 _isnanf(0);
41665 ;
41666 return 0;
41667 }
41668 _ACEOF
41669 if ac_fn_cxx_try_compile "$LINENO"; then :
41670 glibcxx_cv_func__isnanf_use=yes
41671 else
41672 glibcxx_cv_func__isnanf_use=no
41673 fi
41674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41675 ac_ext=c
41676 ac_cpp='$CPP $CPPFLAGS'
41677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41680
41681
41682 fi
41683
41684 fi
41685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41686 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41687
41688 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41689 for ac_func in _isnanf
41690 do :
41691 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41692 if test "x$ac_cv_func__isnanf" = x""yes; then :
41693 cat >>confdefs.h <<_ACEOF
41694 #define HAVE__ISNANF 1
41695 _ACEOF
41696
41697 fi
41698 done
41699
41700 fi
41701 fi
41702
41703
41704
41705
41706
41707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41708 $as_echo_n "checking for isinff declaration... " >&6; }
41709 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41710 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41711 $as_echo_n "(cached) " >&6
41712 else
41713
41714
41715 ac_ext=cpp
41716 ac_cpp='$CXXCPP $CPPFLAGS'
41717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41720
41721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41722 /* end confdefs.h. */
41723 #include <math.h>
41724 #ifdef HAVE_IEEEFP_H
41725 #include <ieeefp.h>
41726 #endif
41727
41728 int
41729 main ()
41730 {
41731 isinff(0);
41732 ;
41733 return 0;
41734 }
41735 _ACEOF
41736 if ac_fn_cxx_try_compile "$LINENO"; then :
41737 glibcxx_cv_func_isinff_use=yes
41738 else
41739 glibcxx_cv_func_isinff_use=no
41740 fi
41741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41742 ac_ext=c
41743 ac_cpp='$CPP $CPPFLAGS'
41744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41747
41748
41749 fi
41750
41751 fi
41752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41753 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41754
41755 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41756 for ac_func in isinff
41757 do :
41758 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41759 if test "x$ac_cv_func_isinff" = x""yes; then :
41760 cat >>confdefs.h <<_ACEOF
41761 #define HAVE_ISINFF 1
41762 _ACEOF
41763
41764 fi
41765 done
41766
41767 else
41768
41769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41770 $as_echo_n "checking for _isinff declaration... " >&6; }
41771 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41772 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41773 $as_echo_n "(cached) " >&6
41774 else
41775
41776
41777 ac_ext=cpp
41778 ac_cpp='$CXXCPP $CPPFLAGS'
41779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41782
41783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41784 /* end confdefs.h. */
41785 #include <math.h>
41786 #ifdef HAVE_IEEEFP_H
41787 #include <ieeefp.h>
41788 #endif
41789
41790 int
41791 main ()
41792 {
41793 _isinff(0);
41794 ;
41795 return 0;
41796 }
41797 _ACEOF
41798 if ac_fn_cxx_try_compile "$LINENO"; then :
41799 glibcxx_cv_func__isinff_use=yes
41800 else
41801 glibcxx_cv_func__isinff_use=no
41802 fi
41803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41804 ac_ext=c
41805 ac_cpp='$CPP $CPPFLAGS'
41806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41809
41810
41811 fi
41812
41813 fi
41814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41815 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41816
41817 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41818 for ac_func in _isinff
41819 do :
41820 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41821 if test "x$ac_cv_func__isinff" = x""yes; then :
41822 cat >>confdefs.h <<_ACEOF
41823 #define HAVE__ISINFF 1
41824 _ACEOF
41825
41826 fi
41827 done
41828
41829 fi
41830 fi
41831
41832
41833
41834
41835
41836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41837 $as_echo_n "checking for atan2f declaration... " >&6; }
41838 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41839 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41840 $as_echo_n "(cached) " >&6
41841 else
41842
41843
41844 ac_ext=cpp
41845 ac_cpp='$CXXCPP $CPPFLAGS'
41846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41849
41850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41851 /* end confdefs.h. */
41852 #include <math.h>
41853 int
41854 main ()
41855 {
41856 atan2f(0, 0);
41857 ;
41858 return 0;
41859 }
41860 _ACEOF
41861 if ac_fn_cxx_try_compile "$LINENO"; then :
41862 glibcxx_cv_func_atan2f_use=yes
41863 else
41864 glibcxx_cv_func_atan2f_use=no
41865 fi
41866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41867 ac_ext=c
41868 ac_cpp='$CPP $CPPFLAGS'
41869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41872
41873
41874 fi
41875
41876 fi
41877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41878 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41879
41880 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41881 for ac_func in atan2f
41882 do :
41883 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41884 if test "x$ac_cv_func_atan2f" = x""yes; then :
41885 cat >>confdefs.h <<_ACEOF
41886 #define HAVE_ATAN2F 1
41887 _ACEOF
41888
41889 fi
41890 done
41891
41892 else
41893
41894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41895 $as_echo_n "checking for _atan2f declaration... " >&6; }
41896 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41897 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41898 $as_echo_n "(cached) " >&6
41899 else
41900
41901
41902 ac_ext=cpp
41903 ac_cpp='$CXXCPP $CPPFLAGS'
41904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41907
41908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41909 /* end confdefs.h. */
41910 #include <math.h>
41911 int
41912 main ()
41913 {
41914 _atan2f(0, 0);
41915 ;
41916 return 0;
41917 }
41918 _ACEOF
41919 if ac_fn_cxx_try_compile "$LINENO"; then :
41920 glibcxx_cv_func__atan2f_use=yes
41921 else
41922 glibcxx_cv_func__atan2f_use=no
41923 fi
41924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41925 ac_ext=c
41926 ac_cpp='$CPP $CPPFLAGS'
41927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41930
41931
41932 fi
41933
41934 fi
41935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41936 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41937
41938 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41939 for ac_func in _atan2f
41940 do :
41941 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41942 if test "x$ac_cv_func__atan2f" = x""yes; then :
41943 cat >>confdefs.h <<_ACEOF
41944 #define HAVE__ATAN2F 1
41945 _ACEOF
41946
41947 fi
41948 done
41949
41950 fi
41951 fi
41952
41953
41954
41955
41956
41957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41958 $as_echo_n "checking for fabsf declaration... " >&6; }
41959 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41960 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41961 $as_echo_n "(cached) " >&6
41962 else
41963
41964
41965 ac_ext=cpp
41966 ac_cpp='$CXXCPP $CPPFLAGS'
41967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41970
41971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41972 /* end confdefs.h. */
41973 #include <math.h>
41974 #ifdef HAVE_IEEEFP_H
41975 #include <ieeefp.h>
41976 #endif
41977
41978 int
41979 main ()
41980 {
41981 fabsf(0);
41982 ;
41983 return 0;
41984 }
41985 _ACEOF
41986 if ac_fn_cxx_try_compile "$LINENO"; then :
41987 glibcxx_cv_func_fabsf_use=yes
41988 else
41989 glibcxx_cv_func_fabsf_use=no
41990 fi
41991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41992 ac_ext=c
41993 ac_cpp='$CPP $CPPFLAGS'
41994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41997
41998
41999 fi
42000
42001 fi
42002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42003 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42004
42005 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42006 for ac_func in fabsf
42007 do :
42008 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42009 if test "x$ac_cv_func_fabsf" = x""yes; then :
42010 cat >>confdefs.h <<_ACEOF
42011 #define HAVE_FABSF 1
42012 _ACEOF
42013
42014 fi
42015 done
42016
42017 else
42018
42019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42020 $as_echo_n "checking for _fabsf declaration... " >&6; }
42021 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42022 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42023 $as_echo_n "(cached) " >&6
42024 else
42025
42026
42027 ac_ext=cpp
42028 ac_cpp='$CXXCPP $CPPFLAGS'
42029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42032
42033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42034 /* end confdefs.h. */
42035 #include <math.h>
42036 #ifdef HAVE_IEEEFP_H
42037 #include <ieeefp.h>
42038 #endif
42039
42040 int
42041 main ()
42042 {
42043 _fabsf(0);
42044 ;
42045 return 0;
42046 }
42047 _ACEOF
42048 if ac_fn_cxx_try_compile "$LINENO"; then :
42049 glibcxx_cv_func__fabsf_use=yes
42050 else
42051 glibcxx_cv_func__fabsf_use=no
42052 fi
42053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42054 ac_ext=c
42055 ac_cpp='$CPP $CPPFLAGS'
42056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42059
42060
42061 fi
42062
42063 fi
42064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42065 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42066
42067 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42068 for ac_func in _fabsf
42069 do :
42070 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42071 if test "x$ac_cv_func__fabsf" = x""yes; then :
42072 cat >>confdefs.h <<_ACEOF
42073 #define HAVE__FABSF 1
42074 _ACEOF
42075
42076 fi
42077 done
42078
42079 fi
42080 fi
42081
42082
42083
42084
42085
42086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42087 $as_echo_n "checking for fmodf declaration... " >&6; }
42088 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42089 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42090 $as_echo_n "(cached) " >&6
42091 else
42092
42093
42094 ac_ext=cpp
42095 ac_cpp='$CXXCPP $CPPFLAGS'
42096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42099
42100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42101 /* end confdefs.h. */
42102 #include <math.h>
42103 int
42104 main ()
42105 {
42106 fmodf(0, 0);
42107 ;
42108 return 0;
42109 }
42110 _ACEOF
42111 if ac_fn_cxx_try_compile "$LINENO"; then :
42112 glibcxx_cv_func_fmodf_use=yes
42113 else
42114 glibcxx_cv_func_fmodf_use=no
42115 fi
42116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42117 ac_ext=c
42118 ac_cpp='$CPP $CPPFLAGS'
42119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42122
42123
42124 fi
42125
42126 fi
42127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
42128 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
42129
42130 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
42131 for ac_func in fmodf
42132 do :
42133 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
42134 if test "x$ac_cv_func_fmodf" = x""yes; then :
42135 cat >>confdefs.h <<_ACEOF
42136 #define HAVE_FMODF 1
42137 _ACEOF
42138
42139 fi
42140 done
42141
42142 else
42143
42144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42145 $as_echo_n "checking for _fmodf declaration... " >&6; }
42146 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42147 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42148 $as_echo_n "(cached) " >&6
42149 else
42150
42151
42152 ac_ext=cpp
42153 ac_cpp='$CXXCPP $CPPFLAGS'
42154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42157
42158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42159 /* end confdefs.h. */
42160 #include <math.h>
42161 int
42162 main ()
42163 {
42164 _fmodf(0, 0);
42165 ;
42166 return 0;
42167 }
42168 _ACEOF
42169 if ac_fn_cxx_try_compile "$LINENO"; then :
42170 glibcxx_cv_func__fmodf_use=yes
42171 else
42172 glibcxx_cv_func__fmodf_use=no
42173 fi
42174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42175 ac_ext=c
42176 ac_cpp='$CPP $CPPFLAGS'
42177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42180
42181
42182 fi
42183
42184 fi
42185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42186 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42187
42188 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42189 for ac_func in _fmodf
42190 do :
42191 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42192 if test "x$ac_cv_func__fmodf" = x""yes; then :
42193 cat >>confdefs.h <<_ACEOF
42194 #define HAVE__FMODF 1
42195 _ACEOF
42196
42197 fi
42198 done
42199
42200 fi
42201 fi
42202
42203
42204
42205
42206
42207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42208 $as_echo_n "checking for frexpf declaration... " >&6; }
42209 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42210 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42211 $as_echo_n "(cached) " >&6
42212 else
42213
42214
42215 ac_ext=cpp
42216 ac_cpp='$CXXCPP $CPPFLAGS'
42217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42220
42221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42222 /* end confdefs.h. */
42223 #include <math.h>
42224 int
42225 main ()
42226 {
42227 frexpf(0, 0);
42228 ;
42229 return 0;
42230 }
42231 _ACEOF
42232 if ac_fn_cxx_try_compile "$LINENO"; then :
42233 glibcxx_cv_func_frexpf_use=yes
42234 else
42235 glibcxx_cv_func_frexpf_use=no
42236 fi
42237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42238 ac_ext=c
42239 ac_cpp='$CPP $CPPFLAGS'
42240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42243
42244
42245 fi
42246
42247 fi
42248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42249 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42250
42251 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42252 for ac_func in frexpf
42253 do :
42254 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42255 if test "x$ac_cv_func_frexpf" = x""yes; then :
42256 cat >>confdefs.h <<_ACEOF
42257 #define HAVE_FREXPF 1
42258 _ACEOF
42259
42260 fi
42261 done
42262
42263 else
42264
42265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42266 $as_echo_n "checking for _frexpf declaration... " >&6; }
42267 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42268 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42269 $as_echo_n "(cached) " >&6
42270 else
42271
42272
42273 ac_ext=cpp
42274 ac_cpp='$CXXCPP $CPPFLAGS'
42275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42278
42279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42280 /* end confdefs.h. */
42281 #include <math.h>
42282 int
42283 main ()
42284 {
42285 _frexpf(0, 0);
42286 ;
42287 return 0;
42288 }
42289 _ACEOF
42290 if ac_fn_cxx_try_compile "$LINENO"; then :
42291 glibcxx_cv_func__frexpf_use=yes
42292 else
42293 glibcxx_cv_func__frexpf_use=no
42294 fi
42295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42296 ac_ext=c
42297 ac_cpp='$CPP $CPPFLAGS'
42298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42301
42302
42303 fi
42304
42305 fi
42306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42307 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42308
42309 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42310 for ac_func in _frexpf
42311 do :
42312 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42313 if test "x$ac_cv_func__frexpf" = x""yes; then :
42314 cat >>confdefs.h <<_ACEOF
42315 #define HAVE__FREXPF 1
42316 _ACEOF
42317
42318 fi
42319 done
42320
42321 fi
42322 fi
42323
42324
42325
42326
42327
42328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42329 $as_echo_n "checking for hypotf declaration... " >&6; }
42330 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42331 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42332 $as_echo_n "(cached) " >&6
42333 else
42334
42335
42336 ac_ext=cpp
42337 ac_cpp='$CXXCPP $CPPFLAGS'
42338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42341
42342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42343 /* end confdefs.h. */
42344 #include <math.h>
42345 int
42346 main ()
42347 {
42348 hypotf(0, 0);
42349 ;
42350 return 0;
42351 }
42352 _ACEOF
42353 if ac_fn_cxx_try_compile "$LINENO"; then :
42354 glibcxx_cv_func_hypotf_use=yes
42355 else
42356 glibcxx_cv_func_hypotf_use=no
42357 fi
42358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42359 ac_ext=c
42360 ac_cpp='$CPP $CPPFLAGS'
42361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42364
42365
42366 fi
42367
42368 fi
42369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42370 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42371
42372 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42373 for ac_func in hypotf
42374 do :
42375 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42376 if test "x$ac_cv_func_hypotf" = x""yes; then :
42377 cat >>confdefs.h <<_ACEOF
42378 #define HAVE_HYPOTF 1
42379 _ACEOF
42380
42381 fi
42382 done
42383
42384 else
42385
42386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42387 $as_echo_n "checking for _hypotf declaration... " >&6; }
42388 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42389 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42390 $as_echo_n "(cached) " >&6
42391 else
42392
42393
42394 ac_ext=cpp
42395 ac_cpp='$CXXCPP $CPPFLAGS'
42396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42399
42400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42401 /* end confdefs.h. */
42402 #include <math.h>
42403 int
42404 main ()
42405 {
42406 _hypotf(0, 0);
42407 ;
42408 return 0;
42409 }
42410 _ACEOF
42411 if ac_fn_cxx_try_compile "$LINENO"; then :
42412 glibcxx_cv_func__hypotf_use=yes
42413 else
42414 glibcxx_cv_func__hypotf_use=no
42415 fi
42416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42417 ac_ext=c
42418 ac_cpp='$CPP $CPPFLAGS'
42419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42422
42423
42424 fi
42425
42426 fi
42427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42428 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42429
42430 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42431 for ac_func in _hypotf
42432 do :
42433 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42434 if test "x$ac_cv_func__hypotf" = x""yes; then :
42435 cat >>confdefs.h <<_ACEOF
42436 #define HAVE__HYPOTF 1
42437 _ACEOF
42438
42439 fi
42440 done
42441
42442 fi
42443 fi
42444
42445
42446
42447
42448
42449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42450 $as_echo_n "checking for ldexpf declaration... " >&6; }
42451 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42452 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42453 $as_echo_n "(cached) " >&6
42454 else
42455
42456
42457 ac_ext=cpp
42458 ac_cpp='$CXXCPP $CPPFLAGS'
42459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42462
42463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42464 /* end confdefs.h. */
42465 #include <math.h>
42466 int
42467 main ()
42468 {
42469 ldexpf(0, 0);
42470 ;
42471 return 0;
42472 }
42473 _ACEOF
42474 if ac_fn_cxx_try_compile "$LINENO"; then :
42475 glibcxx_cv_func_ldexpf_use=yes
42476 else
42477 glibcxx_cv_func_ldexpf_use=no
42478 fi
42479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42480 ac_ext=c
42481 ac_cpp='$CPP $CPPFLAGS'
42482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42485
42486
42487 fi
42488
42489 fi
42490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42491 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42492
42493 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42494 for ac_func in ldexpf
42495 do :
42496 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42497 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42498 cat >>confdefs.h <<_ACEOF
42499 #define HAVE_LDEXPF 1
42500 _ACEOF
42501
42502 fi
42503 done
42504
42505 else
42506
42507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42508 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42509 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42510 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42511 $as_echo_n "(cached) " >&6
42512 else
42513
42514
42515 ac_ext=cpp
42516 ac_cpp='$CXXCPP $CPPFLAGS'
42517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42520
42521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42522 /* end confdefs.h. */
42523 #include <math.h>
42524 int
42525 main ()
42526 {
42527 _ldexpf(0, 0);
42528 ;
42529 return 0;
42530 }
42531 _ACEOF
42532 if ac_fn_cxx_try_compile "$LINENO"; then :
42533 glibcxx_cv_func__ldexpf_use=yes
42534 else
42535 glibcxx_cv_func__ldexpf_use=no
42536 fi
42537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42538 ac_ext=c
42539 ac_cpp='$CPP $CPPFLAGS'
42540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42543
42544
42545 fi
42546
42547 fi
42548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42549 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42550
42551 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42552 for ac_func in _ldexpf
42553 do :
42554 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42555 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42556 cat >>confdefs.h <<_ACEOF
42557 #define HAVE__LDEXPF 1
42558 _ACEOF
42559
42560 fi
42561 done
42562
42563 fi
42564 fi
42565
42566
42567
42568
42569
42570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42571 $as_echo_n "checking for logf declaration... " >&6; }
42572 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42573 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42574 $as_echo_n "(cached) " >&6
42575 else
42576
42577
42578 ac_ext=cpp
42579 ac_cpp='$CXXCPP $CPPFLAGS'
42580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42583
42584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42585 /* end confdefs.h. */
42586 #include <math.h>
42587 #ifdef HAVE_IEEEFP_H
42588 #include <ieeefp.h>
42589 #endif
42590
42591 int
42592 main ()
42593 {
42594 logf(0);
42595 ;
42596 return 0;
42597 }
42598 _ACEOF
42599 if ac_fn_cxx_try_compile "$LINENO"; then :
42600 glibcxx_cv_func_logf_use=yes
42601 else
42602 glibcxx_cv_func_logf_use=no
42603 fi
42604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42605 ac_ext=c
42606 ac_cpp='$CPP $CPPFLAGS'
42607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42610
42611
42612 fi
42613
42614 fi
42615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42616 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42617
42618 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42619 for ac_func in logf
42620 do :
42621 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42622 if test "x$ac_cv_func_logf" = x""yes; then :
42623 cat >>confdefs.h <<_ACEOF
42624 #define HAVE_LOGF 1
42625 _ACEOF
42626
42627 fi
42628 done
42629
42630 else
42631
42632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42633 $as_echo_n "checking for _logf declaration... " >&6; }
42634 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42635 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42636 $as_echo_n "(cached) " >&6
42637 else
42638
42639
42640 ac_ext=cpp
42641 ac_cpp='$CXXCPP $CPPFLAGS'
42642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42645
42646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42647 /* end confdefs.h. */
42648 #include <math.h>
42649 #ifdef HAVE_IEEEFP_H
42650 #include <ieeefp.h>
42651 #endif
42652
42653 int
42654 main ()
42655 {
42656 _logf(0);
42657 ;
42658 return 0;
42659 }
42660 _ACEOF
42661 if ac_fn_cxx_try_compile "$LINENO"; then :
42662 glibcxx_cv_func__logf_use=yes
42663 else
42664 glibcxx_cv_func__logf_use=no
42665 fi
42666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42667 ac_ext=c
42668 ac_cpp='$CPP $CPPFLAGS'
42669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42672
42673
42674 fi
42675
42676 fi
42677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42678 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42679
42680 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42681 for ac_func in _logf
42682 do :
42683 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42684 if test "x$ac_cv_func__logf" = x""yes; then :
42685 cat >>confdefs.h <<_ACEOF
42686 #define HAVE__LOGF 1
42687 _ACEOF
42688
42689 fi
42690 done
42691
42692 fi
42693 fi
42694
42695
42696
42697
42698
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42700 $as_echo_n "checking for log10f declaration... " >&6; }
42701 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42702 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42703 $as_echo_n "(cached) " >&6
42704 else
42705
42706
42707 ac_ext=cpp
42708 ac_cpp='$CXXCPP $CPPFLAGS'
42709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42712
42713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42714 /* end confdefs.h. */
42715 #include <math.h>
42716 #ifdef HAVE_IEEEFP_H
42717 #include <ieeefp.h>
42718 #endif
42719
42720 int
42721 main ()
42722 {
42723 log10f(0);
42724 ;
42725 return 0;
42726 }
42727 _ACEOF
42728 if ac_fn_cxx_try_compile "$LINENO"; then :
42729 glibcxx_cv_func_log10f_use=yes
42730 else
42731 glibcxx_cv_func_log10f_use=no
42732 fi
42733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42734 ac_ext=c
42735 ac_cpp='$CPP $CPPFLAGS'
42736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42739
42740
42741 fi
42742
42743 fi
42744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42745 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42746
42747 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42748 for ac_func in log10f
42749 do :
42750 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42751 if test "x$ac_cv_func_log10f" = x""yes; then :
42752 cat >>confdefs.h <<_ACEOF
42753 #define HAVE_LOG10F 1
42754 _ACEOF
42755
42756 fi
42757 done
42758
42759 else
42760
42761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42762 $as_echo_n "checking for _log10f declaration... " >&6; }
42763 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42764 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42765 $as_echo_n "(cached) " >&6
42766 else
42767
42768
42769 ac_ext=cpp
42770 ac_cpp='$CXXCPP $CPPFLAGS'
42771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42774
42775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42776 /* end confdefs.h. */
42777 #include <math.h>
42778 #ifdef HAVE_IEEEFP_H
42779 #include <ieeefp.h>
42780 #endif
42781
42782 int
42783 main ()
42784 {
42785 _log10f(0);
42786 ;
42787 return 0;
42788 }
42789 _ACEOF
42790 if ac_fn_cxx_try_compile "$LINENO"; then :
42791 glibcxx_cv_func__log10f_use=yes
42792 else
42793 glibcxx_cv_func__log10f_use=no
42794 fi
42795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42796 ac_ext=c
42797 ac_cpp='$CPP $CPPFLAGS'
42798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42801
42802
42803 fi
42804
42805 fi
42806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42807 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42808
42809 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42810 for ac_func in _log10f
42811 do :
42812 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42813 if test "x$ac_cv_func__log10f" = x""yes; then :
42814 cat >>confdefs.h <<_ACEOF
42815 #define HAVE__LOG10F 1
42816 _ACEOF
42817
42818 fi
42819 done
42820
42821 fi
42822 fi
42823
42824
42825
42826
42827
42828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42829 $as_echo_n "checking for modff declaration... " >&6; }
42830 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42831 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42832 $as_echo_n "(cached) " >&6
42833 else
42834
42835
42836 ac_ext=cpp
42837 ac_cpp='$CXXCPP $CPPFLAGS'
42838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42841
42842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42843 /* end confdefs.h. */
42844 #include <math.h>
42845 int
42846 main ()
42847 {
42848 modff(0, 0);
42849 ;
42850 return 0;
42851 }
42852 _ACEOF
42853 if ac_fn_cxx_try_compile "$LINENO"; then :
42854 glibcxx_cv_func_modff_use=yes
42855 else
42856 glibcxx_cv_func_modff_use=no
42857 fi
42858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42859 ac_ext=c
42860 ac_cpp='$CPP $CPPFLAGS'
42861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42864
42865
42866 fi
42867
42868 fi
42869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42870 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42871
42872 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42873 for ac_func in modff
42874 do :
42875 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42876 if test "x$ac_cv_func_modff" = x""yes; then :
42877 cat >>confdefs.h <<_ACEOF
42878 #define HAVE_MODFF 1
42879 _ACEOF
42880
42881 fi
42882 done
42883
42884 else
42885
42886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42887 $as_echo_n "checking for _modff declaration... " >&6; }
42888 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42889 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42890 $as_echo_n "(cached) " >&6
42891 else
42892
42893
42894 ac_ext=cpp
42895 ac_cpp='$CXXCPP $CPPFLAGS'
42896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42899
42900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42901 /* end confdefs.h. */
42902 #include <math.h>
42903 int
42904 main ()
42905 {
42906 _modff(0, 0);
42907 ;
42908 return 0;
42909 }
42910 _ACEOF
42911 if ac_fn_cxx_try_compile "$LINENO"; then :
42912 glibcxx_cv_func__modff_use=yes
42913 else
42914 glibcxx_cv_func__modff_use=no
42915 fi
42916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42917 ac_ext=c
42918 ac_cpp='$CPP $CPPFLAGS'
42919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42922
42923
42924 fi
42925
42926 fi
42927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42928 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42929
42930 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42931 for ac_func in _modff
42932 do :
42933 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42934 if test "x$ac_cv_func__modff" = x""yes; then :
42935 cat >>confdefs.h <<_ACEOF
42936 #define HAVE__MODFF 1
42937 _ACEOF
42938
42939 fi
42940 done
42941
42942 fi
42943 fi
42944
42945
42946
42947
42948
42949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42950 $as_echo_n "checking for modf declaration... " >&6; }
42951 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42952 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42953 $as_echo_n "(cached) " >&6
42954 else
42955
42956
42957 ac_ext=cpp
42958 ac_cpp='$CXXCPP $CPPFLAGS'
42959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42962
42963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42964 /* end confdefs.h. */
42965 #include <math.h>
42966 int
42967 main ()
42968 {
42969 modf(0, 0);
42970 ;
42971 return 0;
42972 }
42973 _ACEOF
42974 if ac_fn_cxx_try_compile "$LINENO"; then :
42975 glibcxx_cv_func_modf_use=yes
42976 else
42977 glibcxx_cv_func_modf_use=no
42978 fi
42979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42980 ac_ext=c
42981 ac_cpp='$CPP $CPPFLAGS'
42982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42985
42986
42987 fi
42988
42989 fi
42990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42991 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42992
42993 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42994 for ac_func in modf
42995 do :
42996 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42997 if test "x$ac_cv_func_modf" = x""yes; then :
42998 cat >>confdefs.h <<_ACEOF
42999 #define HAVE_MODF 1
43000 _ACEOF
43001
43002 fi
43003 done
43004
43005 else
43006
43007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43008 $as_echo_n "checking for _modf declaration... " >&6; }
43009 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43010 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43011 $as_echo_n "(cached) " >&6
43012 else
43013
43014
43015 ac_ext=cpp
43016 ac_cpp='$CXXCPP $CPPFLAGS'
43017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43020
43021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43022 /* end confdefs.h. */
43023 #include <math.h>
43024 int
43025 main ()
43026 {
43027 _modf(0, 0);
43028 ;
43029 return 0;
43030 }
43031 _ACEOF
43032 if ac_fn_cxx_try_compile "$LINENO"; then :
43033 glibcxx_cv_func__modf_use=yes
43034 else
43035 glibcxx_cv_func__modf_use=no
43036 fi
43037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43038 ac_ext=c
43039 ac_cpp='$CPP $CPPFLAGS'
43040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43043
43044
43045 fi
43046
43047 fi
43048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43049 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43050
43051 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43052 for ac_func in _modf
43053 do :
43054 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43055 if test "x$ac_cv_func__modf" = x""yes; then :
43056 cat >>confdefs.h <<_ACEOF
43057 #define HAVE__MODF 1
43058 _ACEOF
43059
43060 fi
43061 done
43062
43063 fi
43064 fi
43065
43066
43067
43068
43069
43070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43071 $as_echo_n "checking for powf declaration... " >&6; }
43072 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43073 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43074 $as_echo_n "(cached) " >&6
43075 else
43076
43077
43078 ac_ext=cpp
43079 ac_cpp='$CXXCPP $CPPFLAGS'
43080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43083
43084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43085 /* end confdefs.h. */
43086 #include <math.h>
43087 int
43088 main ()
43089 {
43090 powf(0, 0);
43091 ;
43092 return 0;
43093 }
43094 _ACEOF
43095 if ac_fn_cxx_try_compile "$LINENO"; then :
43096 glibcxx_cv_func_powf_use=yes
43097 else
43098 glibcxx_cv_func_powf_use=no
43099 fi
43100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43101 ac_ext=c
43102 ac_cpp='$CPP $CPPFLAGS'
43103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43106
43107
43108 fi
43109
43110 fi
43111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43112 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43113
43114 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43115 for ac_func in powf
43116 do :
43117 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43118 if test "x$ac_cv_func_powf" = x""yes; then :
43119 cat >>confdefs.h <<_ACEOF
43120 #define HAVE_POWF 1
43121 _ACEOF
43122
43123 fi
43124 done
43125
43126 else
43127
43128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
43129 $as_echo_n "checking for _powf declaration... " >&6; }
43130 if test x${glibcxx_cv_func__powf_use+set} != xset; then
43131 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
43132 $as_echo_n "(cached) " >&6
43133 else
43134
43135
43136 ac_ext=cpp
43137 ac_cpp='$CXXCPP $CPPFLAGS'
43138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43141
43142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43143 /* end confdefs.h. */
43144 #include <math.h>
43145 int
43146 main ()
43147 {
43148 _powf(0, 0);
43149 ;
43150 return 0;
43151 }
43152 _ACEOF
43153 if ac_fn_cxx_try_compile "$LINENO"; then :
43154 glibcxx_cv_func__powf_use=yes
43155 else
43156 glibcxx_cv_func__powf_use=no
43157 fi
43158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43159 ac_ext=c
43160 ac_cpp='$CPP $CPPFLAGS'
43161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43164
43165
43166 fi
43167
43168 fi
43169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43170 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43171
43172 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43173 for ac_func in _powf
43174 do :
43175 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43176 if test "x$ac_cv_func__powf" = x""yes; then :
43177 cat >>confdefs.h <<_ACEOF
43178 #define HAVE__POWF 1
43179 _ACEOF
43180
43181 fi
43182 done
43183
43184 fi
43185 fi
43186
43187
43188
43189
43190
43191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43192 $as_echo_n "checking for sqrtf declaration... " >&6; }
43193 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43194 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43195 $as_echo_n "(cached) " >&6
43196 else
43197
43198
43199 ac_ext=cpp
43200 ac_cpp='$CXXCPP $CPPFLAGS'
43201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43204
43205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43206 /* end confdefs.h. */
43207 #include <math.h>
43208 #ifdef HAVE_IEEEFP_H
43209 #include <ieeefp.h>
43210 #endif
43211
43212 int
43213 main ()
43214 {
43215 sqrtf(0);
43216 ;
43217 return 0;
43218 }
43219 _ACEOF
43220 if ac_fn_cxx_try_compile "$LINENO"; then :
43221 glibcxx_cv_func_sqrtf_use=yes
43222 else
43223 glibcxx_cv_func_sqrtf_use=no
43224 fi
43225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43226 ac_ext=c
43227 ac_cpp='$CPP $CPPFLAGS'
43228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43231
43232
43233 fi
43234
43235 fi
43236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43237 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43238
43239 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43240 for ac_func in sqrtf
43241 do :
43242 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43243 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43244 cat >>confdefs.h <<_ACEOF
43245 #define HAVE_SQRTF 1
43246 _ACEOF
43247
43248 fi
43249 done
43250
43251 else
43252
43253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43254 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43255 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43256 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43257 $as_echo_n "(cached) " >&6
43258 else
43259
43260
43261 ac_ext=cpp
43262 ac_cpp='$CXXCPP $CPPFLAGS'
43263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43266
43267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43268 /* end confdefs.h. */
43269 #include <math.h>
43270 #ifdef HAVE_IEEEFP_H
43271 #include <ieeefp.h>
43272 #endif
43273
43274 int
43275 main ()
43276 {
43277 _sqrtf(0);
43278 ;
43279 return 0;
43280 }
43281 _ACEOF
43282 if ac_fn_cxx_try_compile "$LINENO"; then :
43283 glibcxx_cv_func__sqrtf_use=yes
43284 else
43285 glibcxx_cv_func__sqrtf_use=no
43286 fi
43287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43288 ac_ext=c
43289 ac_cpp='$CPP $CPPFLAGS'
43290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43293
43294
43295 fi
43296
43297 fi
43298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43299 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43300
43301 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43302 for ac_func in _sqrtf
43303 do :
43304 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43305 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43306 cat >>confdefs.h <<_ACEOF
43307 #define HAVE__SQRTF 1
43308 _ACEOF
43309
43310 fi
43311 done
43312
43313 fi
43314 fi
43315
43316
43317
43318
43319
43320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43321 $as_echo_n "checking for sincosf declaration... " >&6; }
43322 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43323 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43324 $as_echo_n "(cached) " >&6
43325 else
43326
43327
43328 ac_ext=cpp
43329 ac_cpp='$CXXCPP $CPPFLAGS'
43330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43333
43334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43335 /* end confdefs.h. */
43336 #include <math.h>
43337 int
43338 main ()
43339 {
43340 sincosf(0, 0, 0);
43341 ;
43342 return 0;
43343 }
43344 _ACEOF
43345 if ac_fn_cxx_try_compile "$LINENO"; then :
43346 glibcxx_cv_func_sincosf_use=yes
43347 else
43348 glibcxx_cv_func_sincosf_use=no
43349 fi
43350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43351 ac_ext=c
43352 ac_cpp='$CPP $CPPFLAGS'
43353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43356
43357
43358 fi
43359
43360 fi
43361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43362 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43363
43364 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43365 for ac_func in sincosf
43366 do :
43367 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43368 if test "x$ac_cv_func_sincosf" = x""yes; then :
43369 cat >>confdefs.h <<_ACEOF
43370 #define HAVE_SINCOSF 1
43371 _ACEOF
43372
43373 fi
43374 done
43375
43376 else
43377
43378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43379 $as_echo_n "checking for _sincosf declaration... " >&6; }
43380 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43381 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43382 $as_echo_n "(cached) " >&6
43383 else
43384
43385
43386 ac_ext=cpp
43387 ac_cpp='$CXXCPP $CPPFLAGS'
43388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43391
43392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43393 /* end confdefs.h. */
43394 #include <math.h>
43395 int
43396 main ()
43397 {
43398 _sincosf(0, 0, 0);
43399 ;
43400 return 0;
43401 }
43402 _ACEOF
43403 if ac_fn_cxx_try_compile "$LINENO"; then :
43404 glibcxx_cv_func__sincosf_use=yes
43405 else
43406 glibcxx_cv_func__sincosf_use=no
43407 fi
43408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43409 ac_ext=c
43410 ac_cpp='$CPP $CPPFLAGS'
43411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43414
43415
43416 fi
43417
43418 fi
43419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43420 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43421
43422 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43423 for ac_func in _sincosf
43424 do :
43425 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43426 if test "x$ac_cv_func__sincosf" = x""yes; then :
43427 cat >>confdefs.h <<_ACEOF
43428 #define HAVE__SINCOSF 1
43429 _ACEOF
43430
43431 fi
43432 done
43433
43434 fi
43435 fi
43436
43437
43438
43439
43440
43441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43442 $as_echo_n "checking for finitef declaration... " >&6; }
43443 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43444 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43445 $as_echo_n "(cached) " >&6
43446 else
43447
43448
43449 ac_ext=cpp
43450 ac_cpp='$CXXCPP $CPPFLAGS'
43451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43454
43455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43456 /* end confdefs.h. */
43457 #include <math.h>
43458 #ifdef HAVE_IEEEFP_H
43459 #include <ieeefp.h>
43460 #endif
43461
43462 int
43463 main ()
43464 {
43465 finitef(0);
43466 ;
43467 return 0;
43468 }
43469 _ACEOF
43470 if ac_fn_cxx_try_compile "$LINENO"; then :
43471 glibcxx_cv_func_finitef_use=yes
43472 else
43473 glibcxx_cv_func_finitef_use=no
43474 fi
43475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43476 ac_ext=c
43477 ac_cpp='$CPP $CPPFLAGS'
43478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43481
43482
43483 fi
43484
43485 fi
43486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43487 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43488
43489 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43490 for ac_func in finitef
43491 do :
43492 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43493 if test "x$ac_cv_func_finitef" = x""yes; then :
43494 cat >>confdefs.h <<_ACEOF
43495 #define HAVE_FINITEF 1
43496 _ACEOF
43497
43498 fi
43499 done
43500
43501 else
43502
43503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43504 $as_echo_n "checking for _finitef declaration... " >&6; }
43505 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43506 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43507 $as_echo_n "(cached) " >&6
43508 else
43509
43510
43511 ac_ext=cpp
43512 ac_cpp='$CXXCPP $CPPFLAGS'
43513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43516
43517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43518 /* end confdefs.h. */
43519 #include <math.h>
43520 #ifdef HAVE_IEEEFP_H
43521 #include <ieeefp.h>
43522 #endif
43523
43524 int
43525 main ()
43526 {
43527 _finitef(0);
43528 ;
43529 return 0;
43530 }
43531 _ACEOF
43532 if ac_fn_cxx_try_compile "$LINENO"; then :
43533 glibcxx_cv_func__finitef_use=yes
43534 else
43535 glibcxx_cv_func__finitef_use=no
43536 fi
43537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43538 ac_ext=c
43539 ac_cpp='$CPP $CPPFLAGS'
43540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43543
43544
43545 fi
43546
43547 fi
43548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43549 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43550
43551 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43552 for ac_func in _finitef
43553 do :
43554 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43555 if test "x$ac_cv_func__finitef" = x""yes; then :
43556 cat >>confdefs.h <<_ACEOF
43557 #define HAVE__FINITEF 1
43558 _ACEOF
43559
43560 fi
43561 done
43562
43563 fi
43564 fi
43565
43566
43567
43568
43569
43570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43571 $as_echo_n "checking for long double trig functions... " >&6; }
43572 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43573 $as_echo_n "(cached) " >&6
43574 else
43575
43576
43577 ac_ext=cpp
43578 ac_cpp='$CXXCPP $CPPFLAGS'
43579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43582
43583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43584 /* end confdefs.h. */
43585 #include <math.h>
43586 int
43587 main ()
43588 {
43589 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43590 ;
43591 return 0;
43592 }
43593 _ACEOF
43594 if ac_fn_cxx_try_compile "$LINENO"; then :
43595 glibcxx_cv_func_long_double_trig_use=yes
43596 else
43597 glibcxx_cv_func_long_double_trig_use=no
43598 fi
43599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43600 ac_ext=c
43601 ac_cpp='$CPP $CPPFLAGS'
43602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43605
43606 fi
43607
43608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43609 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43610 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43611 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43612 do :
43613 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43614 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43615 eval as_val=\$$as_ac_var
43616 if test "x$as_val" = x""yes; then :
43617 cat >>confdefs.h <<_ACEOF
43618 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43619 _ACEOF
43620
43621 fi
43622 done
43623
43624 else
43625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43626 $as_echo_n "checking for _long double trig functions... " >&6; }
43627 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43628 $as_echo_n "(cached) " >&6
43629 else
43630
43631
43632 ac_ext=cpp
43633 ac_cpp='$CXXCPP $CPPFLAGS'
43634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43637
43638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43639 /* end confdefs.h. */
43640 #include <math.h>
43641 int
43642 main ()
43643 {
43644 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43645 ;
43646 return 0;
43647 }
43648 _ACEOF
43649 if ac_fn_cxx_try_compile "$LINENO"; then :
43650 glibcxx_cv_func__long_double_trig_use=yes
43651 else
43652 glibcxx_cv_func__long_double_trig_use=no
43653 fi
43654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43655 ac_ext=c
43656 ac_cpp='$CPP $CPPFLAGS'
43657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43660
43661 fi
43662
43663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43664 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43665 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43666 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43667 do :
43668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43670 eval as_val=\$$as_ac_var
43671 if test "x$as_val" = x""yes; then :
43672 cat >>confdefs.h <<_ACEOF
43673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43674 _ACEOF
43675
43676 fi
43677 done
43678
43679 fi
43680 fi
43681
43682
43683
43684
43685
43686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43687 $as_echo_n "checking for long double round functions... " >&6; }
43688 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43689 $as_echo_n "(cached) " >&6
43690 else
43691
43692
43693 ac_ext=cpp
43694 ac_cpp='$CXXCPP $CPPFLAGS'
43695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43698
43699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43700 /* end confdefs.h. */
43701 #include <math.h>
43702 int
43703 main ()
43704 {
43705 ceill (0); floorl (0);
43706 ;
43707 return 0;
43708 }
43709 _ACEOF
43710 if ac_fn_cxx_try_compile "$LINENO"; then :
43711 glibcxx_cv_func_long_double_round_use=yes
43712 else
43713 glibcxx_cv_func_long_double_round_use=no
43714 fi
43715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43716 ac_ext=c
43717 ac_cpp='$CPP $CPPFLAGS'
43718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43721
43722 fi
43723
43724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43725 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43726 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43727 for ac_func in ceill floorl
43728 do :
43729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43731 eval as_val=\$$as_ac_var
43732 if test "x$as_val" = x""yes; then :
43733 cat >>confdefs.h <<_ACEOF
43734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43735 _ACEOF
43736
43737 fi
43738 done
43739
43740 else
43741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43742 $as_echo_n "checking for _long double round functions... " >&6; }
43743 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43744 $as_echo_n "(cached) " >&6
43745 else
43746
43747
43748 ac_ext=cpp
43749 ac_cpp='$CXXCPP $CPPFLAGS'
43750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43753
43754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43755 /* end confdefs.h. */
43756 #include <math.h>
43757 int
43758 main ()
43759 {
43760 _ceill (0); _floorl (0);
43761 ;
43762 return 0;
43763 }
43764 _ACEOF
43765 if ac_fn_cxx_try_compile "$LINENO"; then :
43766 glibcxx_cv_func__long_double_round_use=yes
43767 else
43768 glibcxx_cv_func__long_double_round_use=no
43769 fi
43770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43771 ac_ext=c
43772 ac_cpp='$CPP $CPPFLAGS'
43773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43776
43777 fi
43778
43779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43780 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43781 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43782 for ac_func in _ceill _floorl
43783 do :
43784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43786 eval as_val=\$$as_ac_var
43787 if test "x$as_val" = x""yes; then :
43788 cat >>confdefs.h <<_ACEOF
43789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43790 _ACEOF
43791
43792 fi
43793 done
43794
43795 fi
43796 fi
43797
43798
43799
43800
43801
43802
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43804 $as_echo_n "checking for isnanl declaration... " >&6; }
43805 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43806 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43807 $as_echo_n "(cached) " >&6
43808 else
43809
43810
43811 ac_ext=cpp
43812 ac_cpp='$CXXCPP $CPPFLAGS'
43813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43816
43817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43818 /* end confdefs.h. */
43819 #include <math.h>
43820 #ifdef HAVE_IEEEFP_H
43821 #include <ieeefp.h>
43822 #endif
43823
43824 int
43825 main ()
43826 {
43827 isnanl(0);
43828 ;
43829 return 0;
43830 }
43831 _ACEOF
43832 if ac_fn_cxx_try_compile "$LINENO"; then :
43833 glibcxx_cv_func_isnanl_use=yes
43834 else
43835 glibcxx_cv_func_isnanl_use=no
43836 fi
43837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43838 ac_ext=c
43839 ac_cpp='$CPP $CPPFLAGS'
43840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43843
43844
43845 fi
43846
43847 fi
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43849 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43850
43851 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43852 for ac_func in isnanl
43853 do :
43854 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43855 if test "x$ac_cv_func_isnanl" = x""yes; then :
43856 cat >>confdefs.h <<_ACEOF
43857 #define HAVE_ISNANL 1
43858 _ACEOF
43859
43860 fi
43861 done
43862
43863 else
43864
43865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43866 $as_echo_n "checking for _isnanl declaration... " >&6; }
43867 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43868 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43869 $as_echo_n "(cached) " >&6
43870 else
43871
43872
43873 ac_ext=cpp
43874 ac_cpp='$CXXCPP $CPPFLAGS'
43875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43878
43879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43880 /* end confdefs.h. */
43881 #include <math.h>
43882 #ifdef HAVE_IEEEFP_H
43883 #include <ieeefp.h>
43884 #endif
43885
43886 int
43887 main ()
43888 {
43889 _isnanl(0);
43890 ;
43891 return 0;
43892 }
43893 _ACEOF
43894 if ac_fn_cxx_try_compile "$LINENO"; then :
43895 glibcxx_cv_func__isnanl_use=yes
43896 else
43897 glibcxx_cv_func__isnanl_use=no
43898 fi
43899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43900 ac_ext=c
43901 ac_cpp='$CPP $CPPFLAGS'
43902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43905
43906
43907 fi
43908
43909 fi
43910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43911 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43912
43913 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43914 for ac_func in _isnanl
43915 do :
43916 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43917 if test "x$ac_cv_func__isnanl" = x""yes; then :
43918 cat >>confdefs.h <<_ACEOF
43919 #define HAVE__ISNANL 1
43920 _ACEOF
43921
43922 fi
43923 done
43924
43925 fi
43926 fi
43927
43928
43929
43930
43931
43932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43933 $as_echo_n "checking for isinfl declaration... " >&6; }
43934 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43935 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43936 $as_echo_n "(cached) " >&6
43937 else
43938
43939
43940 ac_ext=cpp
43941 ac_cpp='$CXXCPP $CPPFLAGS'
43942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43945
43946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43947 /* end confdefs.h. */
43948 #include <math.h>
43949 #ifdef HAVE_IEEEFP_H
43950 #include <ieeefp.h>
43951 #endif
43952
43953 int
43954 main ()
43955 {
43956 isinfl(0);
43957 ;
43958 return 0;
43959 }
43960 _ACEOF
43961 if ac_fn_cxx_try_compile "$LINENO"; then :
43962 glibcxx_cv_func_isinfl_use=yes
43963 else
43964 glibcxx_cv_func_isinfl_use=no
43965 fi
43966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43967 ac_ext=c
43968 ac_cpp='$CPP $CPPFLAGS'
43969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43972
43973
43974 fi
43975
43976 fi
43977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43978 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43979
43980 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43981 for ac_func in isinfl
43982 do :
43983 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43984 if test "x$ac_cv_func_isinfl" = x""yes; then :
43985 cat >>confdefs.h <<_ACEOF
43986 #define HAVE_ISINFL 1
43987 _ACEOF
43988
43989 fi
43990 done
43991
43992 else
43993
43994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43995 $as_echo_n "checking for _isinfl declaration... " >&6; }
43996 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43997 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43998 $as_echo_n "(cached) " >&6
43999 else
44000
44001
44002 ac_ext=cpp
44003 ac_cpp='$CXXCPP $CPPFLAGS'
44004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44007
44008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44009 /* end confdefs.h. */
44010 #include <math.h>
44011 #ifdef HAVE_IEEEFP_H
44012 #include <ieeefp.h>
44013 #endif
44014
44015 int
44016 main ()
44017 {
44018 _isinfl(0);
44019 ;
44020 return 0;
44021 }
44022 _ACEOF
44023 if ac_fn_cxx_try_compile "$LINENO"; then :
44024 glibcxx_cv_func__isinfl_use=yes
44025 else
44026 glibcxx_cv_func__isinfl_use=no
44027 fi
44028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44029 ac_ext=c
44030 ac_cpp='$CPP $CPPFLAGS'
44031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44034
44035
44036 fi
44037
44038 fi
44039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44040 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44041
44042 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44043 for ac_func in _isinfl
44044 do :
44045 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44046 if test "x$ac_cv_func__isinfl" = x""yes; then :
44047 cat >>confdefs.h <<_ACEOF
44048 #define HAVE__ISINFL 1
44049 _ACEOF
44050
44051 fi
44052 done
44053
44054 fi
44055 fi
44056
44057
44058
44059
44060
44061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44062 $as_echo_n "checking for atan2l declaration... " >&6; }
44063 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44064 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44065 $as_echo_n "(cached) " >&6
44066 else
44067
44068
44069 ac_ext=cpp
44070 ac_cpp='$CXXCPP $CPPFLAGS'
44071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44074
44075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44076 /* end confdefs.h. */
44077 #include <math.h>
44078 int
44079 main ()
44080 {
44081 atan2l(0, 0);
44082 ;
44083 return 0;
44084 }
44085 _ACEOF
44086 if ac_fn_cxx_try_compile "$LINENO"; then :
44087 glibcxx_cv_func_atan2l_use=yes
44088 else
44089 glibcxx_cv_func_atan2l_use=no
44090 fi
44091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44092 ac_ext=c
44093 ac_cpp='$CPP $CPPFLAGS'
44094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44097
44098
44099 fi
44100
44101 fi
44102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44103 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44104
44105 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44106 for ac_func in atan2l
44107 do :
44108 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44109 if test "x$ac_cv_func_atan2l" = x""yes; then :
44110 cat >>confdefs.h <<_ACEOF
44111 #define HAVE_ATAN2L 1
44112 _ACEOF
44113
44114 fi
44115 done
44116
44117 else
44118
44119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
44120 $as_echo_n "checking for _atan2l declaration... " >&6; }
44121 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
44122 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
44123 $as_echo_n "(cached) " >&6
44124 else
44125
44126
44127 ac_ext=cpp
44128 ac_cpp='$CXXCPP $CPPFLAGS'
44129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44132
44133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44134 /* end confdefs.h. */
44135 #include <math.h>
44136 int
44137 main ()
44138 {
44139 _atan2l(0, 0);
44140 ;
44141 return 0;
44142 }
44143 _ACEOF
44144 if ac_fn_cxx_try_compile "$LINENO"; then :
44145 glibcxx_cv_func__atan2l_use=yes
44146 else
44147 glibcxx_cv_func__atan2l_use=no
44148 fi
44149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44150 ac_ext=c
44151 ac_cpp='$CPP $CPPFLAGS'
44152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44155
44156
44157 fi
44158
44159 fi
44160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44161 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44162
44163 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44164 for ac_func in _atan2l
44165 do :
44166 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44167 if test "x$ac_cv_func__atan2l" = x""yes; then :
44168 cat >>confdefs.h <<_ACEOF
44169 #define HAVE__ATAN2L 1
44170 _ACEOF
44171
44172 fi
44173 done
44174
44175 fi
44176 fi
44177
44178
44179
44180
44181
44182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44183 $as_echo_n "checking for expl declaration... " >&6; }
44184 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44185 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44186 $as_echo_n "(cached) " >&6
44187 else
44188
44189
44190 ac_ext=cpp
44191 ac_cpp='$CXXCPP $CPPFLAGS'
44192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44195
44196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44197 /* end confdefs.h. */
44198 #include <math.h>
44199 #ifdef HAVE_IEEEFP_H
44200 #include <ieeefp.h>
44201 #endif
44202
44203 int
44204 main ()
44205 {
44206 expl(0);
44207 ;
44208 return 0;
44209 }
44210 _ACEOF
44211 if ac_fn_cxx_try_compile "$LINENO"; then :
44212 glibcxx_cv_func_expl_use=yes
44213 else
44214 glibcxx_cv_func_expl_use=no
44215 fi
44216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44217 ac_ext=c
44218 ac_cpp='$CPP $CPPFLAGS'
44219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44222
44223
44224 fi
44225
44226 fi
44227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44228 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44229
44230 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44231 for ac_func in expl
44232 do :
44233 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44234 if test "x$ac_cv_func_expl" = x""yes; then :
44235 cat >>confdefs.h <<_ACEOF
44236 #define HAVE_EXPL 1
44237 _ACEOF
44238
44239 fi
44240 done
44241
44242 else
44243
44244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44245 $as_echo_n "checking for _expl declaration... " >&6; }
44246 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44247 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44248 $as_echo_n "(cached) " >&6
44249 else
44250
44251
44252 ac_ext=cpp
44253 ac_cpp='$CXXCPP $CPPFLAGS'
44254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44257
44258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44259 /* end confdefs.h. */
44260 #include <math.h>
44261 #ifdef HAVE_IEEEFP_H
44262 #include <ieeefp.h>
44263 #endif
44264
44265 int
44266 main ()
44267 {
44268 _expl(0);
44269 ;
44270 return 0;
44271 }
44272 _ACEOF
44273 if ac_fn_cxx_try_compile "$LINENO"; then :
44274 glibcxx_cv_func__expl_use=yes
44275 else
44276 glibcxx_cv_func__expl_use=no
44277 fi
44278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44279 ac_ext=c
44280 ac_cpp='$CPP $CPPFLAGS'
44281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44284
44285
44286 fi
44287
44288 fi
44289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44290 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44291
44292 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44293 for ac_func in _expl
44294 do :
44295 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44296 if test "x$ac_cv_func__expl" = x""yes; then :
44297 cat >>confdefs.h <<_ACEOF
44298 #define HAVE__EXPL 1
44299 _ACEOF
44300
44301 fi
44302 done
44303
44304 fi
44305 fi
44306
44307
44308
44309
44310
44311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44312 $as_echo_n "checking for fabsl declaration... " >&6; }
44313 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44314 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44315 $as_echo_n "(cached) " >&6
44316 else
44317
44318
44319 ac_ext=cpp
44320 ac_cpp='$CXXCPP $CPPFLAGS'
44321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44324
44325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44326 /* end confdefs.h. */
44327 #include <math.h>
44328 #ifdef HAVE_IEEEFP_H
44329 #include <ieeefp.h>
44330 #endif
44331
44332 int
44333 main ()
44334 {
44335 fabsl(0);
44336 ;
44337 return 0;
44338 }
44339 _ACEOF
44340 if ac_fn_cxx_try_compile "$LINENO"; then :
44341 glibcxx_cv_func_fabsl_use=yes
44342 else
44343 glibcxx_cv_func_fabsl_use=no
44344 fi
44345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44346 ac_ext=c
44347 ac_cpp='$CPP $CPPFLAGS'
44348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44351
44352
44353 fi
44354
44355 fi
44356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44357 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44358
44359 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44360 for ac_func in fabsl
44361 do :
44362 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44363 if test "x$ac_cv_func_fabsl" = x""yes; then :
44364 cat >>confdefs.h <<_ACEOF
44365 #define HAVE_FABSL 1
44366 _ACEOF
44367
44368 fi
44369 done
44370
44371 else
44372
44373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44374 $as_echo_n "checking for _fabsl declaration... " >&6; }
44375 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44376 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44377 $as_echo_n "(cached) " >&6
44378 else
44379
44380
44381 ac_ext=cpp
44382 ac_cpp='$CXXCPP $CPPFLAGS'
44383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44386
44387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44388 /* end confdefs.h. */
44389 #include <math.h>
44390 #ifdef HAVE_IEEEFP_H
44391 #include <ieeefp.h>
44392 #endif
44393
44394 int
44395 main ()
44396 {
44397 _fabsl(0);
44398 ;
44399 return 0;
44400 }
44401 _ACEOF
44402 if ac_fn_cxx_try_compile "$LINENO"; then :
44403 glibcxx_cv_func__fabsl_use=yes
44404 else
44405 glibcxx_cv_func__fabsl_use=no
44406 fi
44407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44408 ac_ext=c
44409 ac_cpp='$CPP $CPPFLAGS'
44410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44413
44414
44415 fi
44416
44417 fi
44418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44419 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44420
44421 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44422 for ac_func in _fabsl
44423 do :
44424 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44425 if test "x$ac_cv_func__fabsl" = x""yes; then :
44426 cat >>confdefs.h <<_ACEOF
44427 #define HAVE__FABSL 1
44428 _ACEOF
44429
44430 fi
44431 done
44432
44433 fi
44434 fi
44435
44436
44437
44438
44439
44440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44441 $as_echo_n "checking for fmodl declaration... " >&6; }
44442 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44443 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44444 $as_echo_n "(cached) " >&6
44445 else
44446
44447
44448 ac_ext=cpp
44449 ac_cpp='$CXXCPP $CPPFLAGS'
44450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44453
44454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44455 /* end confdefs.h. */
44456 #include <math.h>
44457 int
44458 main ()
44459 {
44460 fmodl(0, 0);
44461 ;
44462 return 0;
44463 }
44464 _ACEOF
44465 if ac_fn_cxx_try_compile "$LINENO"; then :
44466 glibcxx_cv_func_fmodl_use=yes
44467 else
44468 glibcxx_cv_func_fmodl_use=no
44469 fi
44470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44471 ac_ext=c
44472 ac_cpp='$CPP $CPPFLAGS'
44473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44476
44477
44478 fi
44479
44480 fi
44481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44482 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44483
44484 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44485 for ac_func in fmodl
44486 do :
44487 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44488 if test "x$ac_cv_func_fmodl" = x""yes; then :
44489 cat >>confdefs.h <<_ACEOF
44490 #define HAVE_FMODL 1
44491 _ACEOF
44492
44493 fi
44494 done
44495
44496 else
44497
44498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44499 $as_echo_n "checking for _fmodl declaration... " >&6; }
44500 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44501 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44502 $as_echo_n "(cached) " >&6
44503 else
44504
44505
44506 ac_ext=cpp
44507 ac_cpp='$CXXCPP $CPPFLAGS'
44508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44511
44512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44513 /* end confdefs.h. */
44514 #include <math.h>
44515 int
44516 main ()
44517 {
44518 _fmodl(0, 0);
44519 ;
44520 return 0;
44521 }
44522 _ACEOF
44523 if ac_fn_cxx_try_compile "$LINENO"; then :
44524 glibcxx_cv_func__fmodl_use=yes
44525 else
44526 glibcxx_cv_func__fmodl_use=no
44527 fi
44528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44529 ac_ext=c
44530 ac_cpp='$CPP $CPPFLAGS'
44531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44534
44535
44536 fi
44537
44538 fi
44539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44540 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44541
44542 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44543 for ac_func in _fmodl
44544 do :
44545 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44546 if test "x$ac_cv_func__fmodl" = x""yes; then :
44547 cat >>confdefs.h <<_ACEOF
44548 #define HAVE__FMODL 1
44549 _ACEOF
44550
44551 fi
44552 done
44553
44554 fi
44555 fi
44556
44557
44558
44559
44560
44561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44562 $as_echo_n "checking for frexpl declaration... " >&6; }
44563 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44564 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44565 $as_echo_n "(cached) " >&6
44566 else
44567
44568
44569 ac_ext=cpp
44570 ac_cpp='$CXXCPP $CPPFLAGS'
44571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44574
44575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44576 /* end confdefs.h. */
44577 #include <math.h>
44578 int
44579 main ()
44580 {
44581 frexpl(0, 0);
44582 ;
44583 return 0;
44584 }
44585 _ACEOF
44586 if ac_fn_cxx_try_compile "$LINENO"; then :
44587 glibcxx_cv_func_frexpl_use=yes
44588 else
44589 glibcxx_cv_func_frexpl_use=no
44590 fi
44591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44592 ac_ext=c
44593 ac_cpp='$CPP $CPPFLAGS'
44594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44597
44598
44599 fi
44600
44601 fi
44602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44603 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44604
44605 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44606 for ac_func in frexpl
44607 do :
44608 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44609 if test "x$ac_cv_func_frexpl" = x""yes; then :
44610 cat >>confdefs.h <<_ACEOF
44611 #define HAVE_FREXPL 1
44612 _ACEOF
44613
44614 fi
44615 done
44616
44617 else
44618
44619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44620 $as_echo_n "checking for _frexpl declaration... " >&6; }
44621 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44622 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44623 $as_echo_n "(cached) " >&6
44624 else
44625
44626
44627 ac_ext=cpp
44628 ac_cpp='$CXXCPP $CPPFLAGS'
44629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44632
44633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44634 /* end confdefs.h. */
44635 #include <math.h>
44636 int
44637 main ()
44638 {
44639 _frexpl(0, 0);
44640 ;
44641 return 0;
44642 }
44643 _ACEOF
44644 if ac_fn_cxx_try_compile "$LINENO"; then :
44645 glibcxx_cv_func__frexpl_use=yes
44646 else
44647 glibcxx_cv_func__frexpl_use=no
44648 fi
44649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44650 ac_ext=c
44651 ac_cpp='$CPP $CPPFLAGS'
44652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44655
44656
44657 fi
44658
44659 fi
44660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44661 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44662
44663 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44664 for ac_func in _frexpl
44665 do :
44666 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44667 if test "x$ac_cv_func__frexpl" = x""yes; then :
44668 cat >>confdefs.h <<_ACEOF
44669 #define HAVE__FREXPL 1
44670 _ACEOF
44671
44672 fi
44673 done
44674
44675 fi
44676 fi
44677
44678
44679
44680
44681
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44683 $as_echo_n "checking for hypotl declaration... " >&6; }
44684 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44685 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44686 $as_echo_n "(cached) " >&6
44687 else
44688
44689
44690 ac_ext=cpp
44691 ac_cpp='$CXXCPP $CPPFLAGS'
44692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44695
44696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44697 /* end confdefs.h. */
44698 #include <math.h>
44699 int
44700 main ()
44701 {
44702 hypotl(0, 0);
44703 ;
44704 return 0;
44705 }
44706 _ACEOF
44707 if ac_fn_cxx_try_compile "$LINENO"; then :
44708 glibcxx_cv_func_hypotl_use=yes
44709 else
44710 glibcxx_cv_func_hypotl_use=no
44711 fi
44712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44713 ac_ext=c
44714 ac_cpp='$CPP $CPPFLAGS'
44715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44718
44719
44720 fi
44721
44722 fi
44723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44724 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44725
44726 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44727 for ac_func in hypotl
44728 do :
44729 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44730 if test "x$ac_cv_func_hypotl" = x""yes; then :
44731 cat >>confdefs.h <<_ACEOF
44732 #define HAVE_HYPOTL 1
44733 _ACEOF
44734
44735 fi
44736 done
44737
44738 else
44739
44740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44741 $as_echo_n "checking for _hypotl declaration... " >&6; }
44742 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44743 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44744 $as_echo_n "(cached) " >&6
44745 else
44746
44747
44748 ac_ext=cpp
44749 ac_cpp='$CXXCPP $CPPFLAGS'
44750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44753
44754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44755 /* end confdefs.h. */
44756 #include <math.h>
44757 int
44758 main ()
44759 {
44760 _hypotl(0, 0);
44761 ;
44762 return 0;
44763 }
44764 _ACEOF
44765 if ac_fn_cxx_try_compile "$LINENO"; then :
44766 glibcxx_cv_func__hypotl_use=yes
44767 else
44768 glibcxx_cv_func__hypotl_use=no
44769 fi
44770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44771 ac_ext=c
44772 ac_cpp='$CPP $CPPFLAGS'
44773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44776
44777
44778 fi
44779
44780 fi
44781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44782 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44783
44784 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44785 for ac_func in _hypotl
44786 do :
44787 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44788 if test "x$ac_cv_func__hypotl" = x""yes; then :
44789 cat >>confdefs.h <<_ACEOF
44790 #define HAVE__HYPOTL 1
44791 _ACEOF
44792
44793 fi
44794 done
44795
44796 fi
44797 fi
44798
44799
44800
44801
44802
44803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44804 $as_echo_n "checking for ldexpl declaration... " >&6; }
44805 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44806 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44807 $as_echo_n "(cached) " >&6
44808 else
44809
44810
44811 ac_ext=cpp
44812 ac_cpp='$CXXCPP $CPPFLAGS'
44813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44816
44817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44818 /* end confdefs.h. */
44819 #include <math.h>
44820 int
44821 main ()
44822 {
44823 ldexpl(0, 0);
44824 ;
44825 return 0;
44826 }
44827 _ACEOF
44828 if ac_fn_cxx_try_compile "$LINENO"; then :
44829 glibcxx_cv_func_ldexpl_use=yes
44830 else
44831 glibcxx_cv_func_ldexpl_use=no
44832 fi
44833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44834 ac_ext=c
44835 ac_cpp='$CPP $CPPFLAGS'
44836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44839
44840
44841 fi
44842
44843 fi
44844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44845 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44846
44847 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44848 for ac_func in ldexpl
44849 do :
44850 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44851 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44852 cat >>confdefs.h <<_ACEOF
44853 #define HAVE_LDEXPL 1
44854 _ACEOF
44855
44856 fi
44857 done
44858
44859 else
44860
44861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44862 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44863 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44864 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44865 $as_echo_n "(cached) " >&6
44866 else
44867
44868
44869 ac_ext=cpp
44870 ac_cpp='$CXXCPP $CPPFLAGS'
44871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44874
44875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44876 /* end confdefs.h. */
44877 #include <math.h>
44878 int
44879 main ()
44880 {
44881 _ldexpl(0, 0);
44882 ;
44883 return 0;
44884 }
44885 _ACEOF
44886 if ac_fn_cxx_try_compile "$LINENO"; then :
44887 glibcxx_cv_func__ldexpl_use=yes
44888 else
44889 glibcxx_cv_func__ldexpl_use=no
44890 fi
44891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44892 ac_ext=c
44893 ac_cpp='$CPP $CPPFLAGS'
44894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44897
44898
44899 fi
44900
44901 fi
44902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44903 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44904
44905 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44906 for ac_func in _ldexpl
44907 do :
44908 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44909 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44910 cat >>confdefs.h <<_ACEOF
44911 #define HAVE__LDEXPL 1
44912 _ACEOF
44913
44914 fi
44915 done
44916
44917 fi
44918 fi
44919
44920
44921
44922
44923
44924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44925 $as_echo_n "checking for logl declaration... " >&6; }
44926 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44927 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44928 $as_echo_n "(cached) " >&6
44929 else
44930
44931
44932 ac_ext=cpp
44933 ac_cpp='$CXXCPP $CPPFLAGS'
44934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44937
44938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44939 /* end confdefs.h. */
44940 #include <math.h>
44941 #ifdef HAVE_IEEEFP_H
44942 #include <ieeefp.h>
44943 #endif
44944
44945 int
44946 main ()
44947 {
44948 logl(0);
44949 ;
44950 return 0;
44951 }
44952 _ACEOF
44953 if ac_fn_cxx_try_compile "$LINENO"; then :
44954 glibcxx_cv_func_logl_use=yes
44955 else
44956 glibcxx_cv_func_logl_use=no
44957 fi
44958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44959 ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44964
44965
44966 fi
44967
44968 fi
44969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44970 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44971
44972 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44973 for ac_func in logl
44974 do :
44975 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44976 if test "x$ac_cv_func_logl" = x""yes; then :
44977 cat >>confdefs.h <<_ACEOF
44978 #define HAVE_LOGL 1
44979 _ACEOF
44980
44981 fi
44982 done
44983
44984 else
44985
44986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44987 $as_echo_n "checking for _logl declaration... " >&6; }
44988 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44989 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44990 $as_echo_n "(cached) " >&6
44991 else
44992
44993
44994 ac_ext=cpp
44995 ac_cpp='$CXXCPP $CPPFLAGS'
44996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44999
45000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45001 /* end confdefs.h. */
45002 #include <math.h>
45003 #ifdef HAVE_IEEEFP_H
45004 #include <ieeefp.h>
45005 #endif
45006
45007 int
45008 main ()
45009 {
45010 _logl(0);
45011 ;
45012 return 0;
45013 }
45014 _ACEOF
45015 if ac_fn_cxx_try_compile "$LINENO"; then :
45016 glibcxx_cv_func__logl_use=yes
45017 else
45018 glibcxx_cv_func__logl_use=no
45019 fi
45020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45021 ac_ext=c
45022 ac_cpp='$CPP $CPPFLAGS'
45023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45026
45027
45028 fi
45029
45030 fi
45031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45032 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45033
45034 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45035 for ac_func in _logl
45036 do :
45037 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45038 if test "x$ac_cv_func__logl" = x""yes; then :
45039 cat >>confdefs.h <<_ACEOF
45040 #define HAVE__LOGL 1
45041 _ACEOF
45042
45043 fi
45044 done
45045
45046 fi
45047 fi
45048
45049
45050
45051
45052
45053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45054 $as_echo_n "checking for log10l declaration... " >&6; }
45055 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45056 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45057 $as_echo_n "(cached) " >&6
45058 else
45059
45060
45061 ac_ext=cpp
45062 ac_cpp='$CXXCPP $CPPFLAGS'
45063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45066
45067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45068 /* end confdefs.h. */
45069 #include <math.h>
45070 #ifdef HAVE_IEEEFP_H
45071 #include <ieeefp.h>
45072 #endif
45073
45074 int
45075 main ()
45076 {
45077 log10l(0);
45078 ;
45079 return 0;
45080 }
45081 _ACEOF
45082 if ac_fn_cxx_try_compile "$LINENO"; then :
45083 glibcxx_cv_func_log10l_use=yes
45084 else
45085 glibcxx_cv_func_log10l_use=no
45086 fi
45087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45088 ac_ext=c
45089 ac_cpp='$CPP $CPPFLAGS'
45090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45093
45094
45095 fi
45096
45097 fi
45098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45099 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45100
45101 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45102 for ac_func in log10l
45103 do :
45104 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45105 if test "x$ac_cv_func_log10l" = x""yes; then :
45106 cat >>confdefs.h <<_ACEOF
45107 #define HAVE_LOG10L 1
45108 _ACEOF
45109
45110 fi
45111 done
45112
45113 else
45114
45115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45116 $as_echo_n "checking for _log10l declaration... " >&6; }
45117 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45118 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
45119 $as_echo_n "(cached) " >&6
45120 else
45121
45122
45123 ac_ext=cpp
45124 ac_cpp='$CXXCPP $CPPFLAGS'
45125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45128
45129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45130 /* end confdefs.h. */
45131 #include <math.h>
45132 #ifdef HAVE_IEEEFP_H
45133 #include <ieeefp.h>
45134 #endif
45135
45136 int
45137 main ()
45138 {
45139 _log10l(0);
45140 ;
45141 return 0;
45142 }
45143 _ACEOF
45144 if ac_fn_cxx_try_compile "$LINENO"; then :
45145 glibcxx_cv_func__log10l_use=yes
45146 else
45147 glibcxx_cv_func__log10l_use=no
45148 fi
45149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45150 ac_ext=c
45151 ac_cpp='$CPP $CPPFLAGS'
45152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45155
45156
45157 fi
45158
45159 fi
45160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45161 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45162
45163 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45164 for ac_func in _log10l
45165 do :
45166 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45167 if test "x$ac_cv_func__log10l" = x""yes; then :
45168 cat >>confdefs.h <<_ACEOF
45169 #define HAVE__LOG10L 1
45170 _ACEOF
45171
45172 fi
45173 done
45174
45175 fi
45176 fi
45177
45178
45179
45180
45181
45182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45183 $as_echo_n "checking for modfl declaration... " >&6; }
45184 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45185 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45186 $as_echo_n "(cached) " >&6
45187 else
45188
45189
45190 ac_ext=cpp
45191 ac_cpp='$CXXCPP $CPPFLAGS'
45192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45195
45196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45197 /* end confdefs.h. */
45198 #include <math.h>
45199 int
45200 main ()
45201 {
45202 modfl(0, 0);
45203 ;
45204 return 0;
45205 }
45206 _ACEOF
45207 if ac_fn_cxx_try_compile "$LINENO"; then :
45208 glibcxx_cv_func_modfl_use=yes
45209 else
45210 glibcxx_cv_func_modfl_use=no
45211 fi
45212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45213 ac_ext=c
45214 ac_cpp='$CPP $CPPFLAGS'
45215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45218
45219
45220 fi
45221
45222 fi
45223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45224 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45225
45226 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45227 for ac_func in modfl
45228 do :
45229 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45230 if test "x$ac_cv_func_modfl" = x""yes; then :
45231 cat >>confdefs.h <<_ACEOF
45232 #define HAVE_MODFL 1
45233 _ACEOF
45234
45235 fi
45236 done
45237
45238 else
45239
45240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45241 $as_echo_n "checking for _modfl declaration... " >&6; }
45242 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45243 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45244 $as_echo_n "(cached) " >&6
45245 else
45246
45247
45248 ac_ext=cpp
45249 ac_cpp='$CXXCPP $CPPFLAGS'
45250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45253
45254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45255 /* end confdefs.h. */
45256 #include <math.h>
45257 int
45258 main ()
45259 {
45260 _modfl(0, 0);
45261 ;
45262 return 0;
45263 }
45264 _ACEOF
45265 if ac_fn_cxx_try_compile "$LINENO"; then :
45266 glibcxx_cv_func__modfl_use=yes
45267 else
45268 glibcxx_cv_func__modfl_use=no
45269 fi
45270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45271 ac_ext=c
45272 ac_cpp='$CPP $CPPFLAGS'
45273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45276
45277
45278 fi
45279
45280 fi
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45282 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45283
45284 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45285 for ac_func in _modfl
45286 do :
45287 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45288 if test "x$ac_cv_func__modfl" = x""yes; then :
45289 cat >>confdefs.h <<_ACEOF
45290 #define HAVE__MODFL 1
45291 _ACEOF
45292
45293 fi
45294 done
45295
45296 fi
45297 fi
45298
45299
45300
45301
45302
45303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45304 $as_echo_n "checking for powl declaration... " >&6; }
45305 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45306 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45307 $as_echo_n "(cached) " >&6
45308 else
45309
45310
45311 ac_ext=cpp
45312 ac_cpp='$CXXCPP $CPPFLAGS'
45313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45316
45317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45318 /* end confdefs.h. */
45319 #include <math.h>
45320 int
45321 main ()
45322 {
45323 powl(0, 0);
45324 ;
45325 return 0;
45326 }
45327 _ACEOF
45328 if ac_fn_cxx_try_compile "$LINENO"; then :
45329 glibcxx_cv_func_powl_use=yes
45330 else
45331 glibcxx_cv_func_powl_use=no
45332 fi
45333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45334 ac_ext=c
45335 ac_cpp='$CPP $CPPFLAGS'
45336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45339
45340
45341 fi
45342
45343 fi
45344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45345 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45346
45347 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45348 for ac_func in powl
45349 do :
45350 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45351 if test "x$ac_cv_func_powl" = x""yes; then :
45352 cat >>confdefs.h <<_ACEOF
45353 #define HAVE_POWL 1
45354 _ACEOF
45355
45356 fi
45357 done
45358
45359 else
45360
45361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45362 $as_echo_n "checking for _powl declaration... " >&6; }
45363 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45364 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45365 $as_echo_n "(cached) " >&6
45366 else
45367
45368
45369 ac_ext=cpp
45370 ac_cpp='$CXXCPP $CPPFLAGS'
45371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45374
45375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45376 /* end confdefs.h. */
45377 #include <math.h>
45378 int
45379 main ()
45380 {
45381 _powl(0, 0);
45382 ;
45383 return 0;
45384 }
45385 _ACEOF
45386 if ac_fn_cxx_try_compile "$LINENO"; then :
45387 glibcxx_cv_func__powl_use=yes
45388 else
45389 glibcxx_cv_func__powl_use=no
45390 fi
45391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45392 ac_ext=c
45393 ac_cpp='$CPP $CPPFLAGS'
45394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45397
45398
45399 fi
45400
45401 fi
45402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45403 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45404
45405 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45406 for ac_func in _powl
45407 do :
45408 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45409 if test "x$ac_cv_func__powl" = x""yes; then :
45410 cat >>confdefs.h <<_ACEOF
45411 #define HAVE__POWL 1
45412 _ACEOF
45413
45414 fi
45415 done
45416
45417 fi
45418 fi
45419
45420
45421
45422
45423
45424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45425 $as_echo_n "checking for sqrtl declaration... " >&6; }
45426 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45427 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45428 $as_echo_n "(cached) " >&6
45429 else
45430
45431
45432 ac_ext=cpp
45433 ac_cpp='$CXXCPP $CPPFLAGS'
45434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45437
45438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45439 /* end confdefs.h. */
45440 #include <math.h>
45441 #ifdef HAVE_IEEEFP_H
45442 #include <ieeefp.h>
45443 #endif
45444
45445 int
45446 main ()
45447 {
45448 sqrtl(0);
45449 ;
45450 return 0;
45451 }
45452 _ACEOF
45453 if ac_fn_cxx_try_compile "$LINENO"; then :
45454 glibcxx_cv_func_sqrtl_use=yes
45455 else
45456 glibcxx_cv_func_sqrtl_use=no
45457 fi
45458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45459 ac_ext=c
45460 ac_cpp='$CPP $CPPFLAGS'
45461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45464
45465
45466 fi
45467
45468 fi
45469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45470 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45471
45472 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45473 for ac_func in sqrtl
45474 do :
45475 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45476 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45477 cat >>confdefs.h <<_ACEOF
45478 #define HAVE_SQRTL 1
45479 _ACEOF
45480
45481 fi
45482 done
45483
45484 else
45485
45486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45487 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45488 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45489 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45490 $as_echo_n "(cached) " >&6
45491 else
45492
45493
45494 ac_ext=cpp
45495 ac_cpp='$CXXCPP $CPPFLAGS'
45496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45499
45500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45501 /* end confdefs.h. */
45502 #include <math.h>
45503 #ifdef HAVE_IEEEFP_H
45504 #include <ieeefp.h>
45505 #endif
45506
45507 int
45508 main ()
45509 {
45510 _sqrtl(0);
45511 ;
45512 return 0;
45513 }
45514 _ACEOF
45515 if ac_fn_cxx_try_compile "$LINENO"; then :
45516 glibcxx_cv_func__sqrtl_use=yes
45517 else
45518 glibcxx_cv_func__sqrtl_use=no
45519 fi
45520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45521 ac_ext=c
45522 ac_cpp='$CPP $CPPFLAGS'
45523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45526
45527
45528 fi
45529
45530 fi
45531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45532 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45533
45534 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45535 for ac_func in _sqrtl
45536 do :
45537 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45538 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45539 cat >>confdefs.h <<_ACEOF
45540 #define HAVE__SQRTL 1
45541 _ACEOF
45542
45543 fi
45544 done
45545
45546 fi
45547 fi
45548
45549
45550
45551
45552
45553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45554 $as_echo_n "checking for sincosl declaration... " >&6; }
45555 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45556 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45557 $as_echo_n "(cached) " >&6
45558 else
45559
45560
45561 ac_ext=cpp
45562 ac_cpp='$CXXCPP $CPPFLAGS'
45563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45566
45567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45568 /* end confdefs.h. */
45569 #include <math.h>
45570 int
45571 main ()
45572 {
45573 sincosl(0, 0, 0);
45574 ;
45575 return 0;
45576 }
45577 _ACEOF
45578 if ac_fn_cxx_try_compile "$LINENO"; then :
45579 glibcxx_cv_func_sincosl_use=yes
45580 else
45581 glibcxx_cv_func_sincosl_use=no
45582 fi
45583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45584 ac_ext=c
45585 ac_cpp='$CPP $CPPFLAGS'
45586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45589
45590
45591 fi
45592
45593 fi
45594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45595 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45596
45597 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45598 for ac_func in sincosl
45599 do :
45600 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45601 if test "x$ac_cv_func_sincosl" = x""yes; then :
45602 cat >>confdefs.h <<_ACEOF
45603 #define HAVE_SINCOSL 1
45604 _ACEOF
45605
45606 fi
45607 done
45608
45609 else
45610
45611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45612 $as_echo_n "checking for _sincosl declaration... " >&6; }
45613 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45614 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45615 $as_echo_n "(cached) " >&6
45616 else
45617
45618
45619 ac_ext=cpp
45620 ac_cpp='$CXXCPP $CPPFLAGS'
45621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45624
45625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45626 /* end confdefs.h. */
45627 #include <math.h>
45628 int
45629 main ()
45630 {
45631 _sincosl(0, 0, 0);
45632 ;
45633 return 0;
45634 }
45635 _ACEOF
45636 if ac_fn_cxx_try_compile "$LINENO"; then :
45637 glibcxx_cv_func__sincosl_use=yes
45638 else
45639 glibcxx_cv_func__sincosl_use=no
45640 fi
45641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45642 ac_ext=c
45643 ac_cpp='$CPP $CPPFLAGS'
45644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45647
45648
45649 fi
45650
45651 fi
45652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45653 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45654
45655 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45656 for ac_func in _sincosl
45657 do :
45658 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45659 if test "x$ac_cv_func__sincosl" = x""yes; then :
45660 cat >>confdefs.h <<_ACEOF
45661 #define HAVE__SINCOSL 1
45662 _ACEOF
45663
45664 fi
45665 done
45666
45667 fi
45668 fi
45669
45670
45671
45672
45673
45674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45675 $as_echo_n "checking for finitel declaration... " >&6; }
45676 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45677 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45678 $as_echo_n "(cached) " >&6
45679 else
45680
45681
45682 ac_ext=cpp
45683 ac_cpp='$CXXCPP $CPPFLAGS'
45684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45687
45688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45689 /* end confdefs.h. */
45690 #include <math.h>
45691 #ifdef HAVE_IEEEFP_H
45692 #include <ieeefp.h>
45693 #endif
45694
45695 int
45696 main ()
45697 {
45698 finitel(0);
45699 ;
45700 return 0;
45701 }
45702 _ACEOF
45703 if ac_fn_cxx_try_compile "$LINENO"; then :
45704 glibcxx_cv_func_finitel_use=yes
45705 else
45706 glibcxx_cv_func_finitel_use=no
45707 fi
45708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45709 ac_ext=c
45710 ac_cpp='$CPP $CPPFLAGS'
45711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45714
45715
45716 fi
45717
45718 fi
45719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45720 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45721
45722 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45723 for ac_func in finitel
45724 do :
45725 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45726 if test "x$ac_cv_func_finitel" = x""yes; then :
45727 cat >>confdefs.h <<_ACEOF
45728 #define HAVE_FINITEL 1
45729 _ACEOF
45730
45731 fi
45732 done
45733
45734 else
45735
45736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45737 $as_echo_n "checking for _finitel declaration... " >&6; }
45738 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45739 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45740 $as_echo_n "(cached) " >&6
45741 else
45742
45743
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
45749
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
45756
45757 int
45758 main ()
45759 {
45760 _finitel(0);
45761 ;
45762 return 0;
45763 }
45764 _ACEOF
45765 if ac_fn_cxx_try_compile "$LINENO"; then :
45766 glibcxx_cv_func__finitel_use=yes
45767 else
45768 glibcxx_cv_func__finitel_use=no
45769 fi
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
45776
45777
45778 fi
45779
45780 fi
45781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45782 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45783
45784 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45785 for ac_func in _finitel
45786 do :
45787 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45788 if test "x$ac_cv_func__finitel" = x""yes; then :
45789 cat >>confdefs.h <<_ACEOF
45790 #define HAVE__FINITEL 1
45791 _ACEOF
45792
45793 fi
45794 done
45795
45796 fi
45797 fi
45798
45799
45800
45801
45802 LIBS="$ac_save_LIBS"
45803 CXXFLAGS="$ac_save_CXXFLAGS"
45804
45805
45806 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45807 ac_save_CXXFLAGS="$CXXFLAGS"
45808 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45809
45810
45811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45812 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45813 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45814 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45815 $as_echo_n "(cached) " >&6
45816 else
45817
45818
45819 ac_ext=cpp
45820 ac_cpp='$CXXCPP $CPPFLAGS'
45821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45824
45825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45826 /* end confdefs.h. */
45827 #include <stdlib.h>
45828 int
45829 main ()
45830 {
45831 at_quick_exit(0);
45832 ;
45833 return 0;
45834 }
45835 _ACEOF
45836 if ac_fn_cxx_try_compile "$LINENO"; then :
45837 glibcxx_cv_func_at_quick_exit_use=yes
45838 else
45839 glibcxx_cv_func_at_quick_exit_use=no
45840 fi
45841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45842 ac_ext=c
45843 ac_cpp='$CPP $CPPFLAGS'
45844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45847
45848
45849 fi
45850
45851 fi
45852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45853 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45854 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45855 for ac_func in at_quick_exit
45856 do :
45857 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45858 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45859 cat >>confdefs.h <<_ACEOF
45860 #define HAVE_AT_QUICK_EXIT 1
45861 _ACEOF
45862
45863 fi
45864 done
45865
45866 fi
45867
45868
45869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45870 $as_echo_n "checking for quick_exit declaration... " >&6; }
45871 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45872 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45873 $as_echo_n "(cached) " >&6
45874 else
45875
45876
45877 ac_ext=cpp
45878 ac_cpp='$CXXCPP $CPPFLAGS'
45879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45882
45883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45884 /* end confdefs.h. */
45885 #include <stdlib.h>
45886 int
45887 main ()
45888 {
45889 quick_exit(0);
45890 ;
45891 return 0;
45892 }
45893 _ACEOF
45894 if ac_fn_cxx_try_compile "$LINENO"; then :
45895 glibcxx_cv_func_quick_exit_use=yes
45896 else
45897 glibcxx_cv_func_quick_exit_use=no
45898 fi
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
45905
45906
45907 fi
45908
45909 fi
45910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45911 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45912 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45913 for ac_func in quick_exit
45914 do :
45915 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45916 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45917 cat >>confdefs.h <<_ACEOF
45918 #define HAVE_QUICK_EXIT 1
45919 _ACEOF
45920
45921 fi
45922 done
45923
45924 fi
45925
45926
45927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45928 $as_echo_n "checking for strtold declaration... " >&6; }
45929 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45930 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45931 $as_echo_n "(cached) " >&6
45932 else
45933
45934
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
45940
45941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45942 /* end confdefs.h. */
45943 #include <stdlib.h>
45944 int
45945 main ()
45946 {
45947 strtold(0, 0);
45948 ;
45949 return 0;
45950 }
45951 _ACEOF
45952 if ac_fn_cxx_try_compile "$LINENO"; then :
45953 glibcxx_cv_func_strtold_use=yes
45954 else
45955 glibcxx_cv_func_strtold_use=no
45956 fi
45957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45958 ac_ext=c
45959 ac_cpp='$CPP $CPPFLAGS'
45960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45963
45964
45965 fi
45966
45967 fi
45968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45969 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45970 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45971 for ac_func in strtold
45972 do :
45973 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45974 if test "x$ac_cv_func_strtold" = x""yes; then :
45975 cat >>confdefs.h <<_ACEOF
45976 #define HAVE_STRTOLD 1
45977 _ACEOF
45978
45979 fi
45980 done
45981
45982 fi
45983
45984
45985
45986
45987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45988 $as_echo_n "checking for strtof declaration... " >&6; }
45989 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45990 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45991 $as_echo_n "(cached) " >&6
45992 else
45993
45994
45995 ac_ext=cpp
45996 ac_cpp='$CXXCPP $CPPFLAGS'
45997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46000
46001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46002 /* end confdefs.h. */
46003 #include <stdlib.h>
46004 int
46005 main ()
46006 {
46007 strtof(0, 0);
46008 ;
46009 return 0;
46010 }
46011 _ACEOF
46012 if ac_fn_cxx_try_compile "$LINENO"; then :
46013 glibcxx_cv_func_strtof_use=yes
46014 else
46015 glibcxx_cv_func_strtof_use=no
46016 fi
46017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46018 ac_ext=c
46019 ac_cpp='$CPP $CPPFLAGS'
46020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46023
46024
46025 fi
46026
46027 fi
46028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46029 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46030 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46031 for ac_func in strtof
46032 do :
46033 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46034 if test "x$ac_cv_func_strtof" = x""yes; then :
46035 cat >>confdefs.h <<_ACEOF
46036 #define HAVE_STRTOF 1
46037 _ACEOF
46038
46039 fi
46040 done
46041
46042 fi
46043
46044
46045
46046
46047 CXXFLAGS="$ac_save_CXXFLAGS"
46048
46049 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46050
46051 # We don't yet support AIX's TLS ABI.
46052 #GCC_CHECK_TLS
46053
46054
46055
46056
46057
46058 am_save_CPPFLAGS="$CPPFLAGS"
46059
46060 for element in $INCICONV; do
46061 haveit=
46062 for x in $CPPFLAGS; do
46063
46064 acl_save_prefix="$prefix"
46065 prefix="$acl_final_prefix"
46066 acl_save_exec_prefix="$exec_prefix"
46067 exec_prefix="$acl_final_exec_prefix"
46068 eval x=\"$x\"
46069 exec_prefix="$acl_save_exec_prefix"
46070 prefix="$acl_save_prefix"
46071
46072 if test "X$x" = "X$element"; then
46073 haveit=yes
46074 break
46075 fi
46076 done
46077 if test -z "$haveit"; then
46078 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
46079 fi
46080 done
46081
46082
46083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46084 $as_echo_n "checking for iconv... " >&6; }
46085 if test "${am_cv_func_iconv+set}" = set; then :
46086 $as_echo_n "(cached) " >&6
46087 else
46088
46089 am_cv_func_iconv="no, consider installing GNU libiconv"
46090 am_cv_lib_iconv=no
46091 if test x$gcc_no_link = xyes; then
46092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46093 fi
46094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46095 /* end confdefs.h. */
46096 #include <stdlib.h>
46097 #include <iconv.h>
46098 int
46099 main ()
46100 {
46101 iconv_t cd = iconv_open("","");
46102 iconv(cd,NULL,NULL,NULL,NULL);
46103 iconv_close(cd);
46104 ;
46105 return 0;
46106 }
46107 _ACEOF
46108 if ac_fn_c_try_link "$LINENO"; then :
46109 am_cv_func_iconv=yes
46110 fi
46111 rm -f core conftest.err conftest.$ac_objext \
46112 conftest$ac_exeext conftest.$ac_ext
46113 if test "$am_cv_func_iconv" != yes; then
46114 am_save_LIBS="$LIBS"
46115 LIBS="$LIBS $LIBICONV"
46116 if test x$gcc_no_link = xyes; then
46117 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46118 fi
46119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46120 /* end confdefs.h. */
46121 #include <stdlib.h>
46122 #include <iconv.h>
46123 int
46124 main ()
46125 {
46126 iconv_t cd = iconv_open("","");
46127 iconv(cd,NULL,NULL,NULL,NULL);
46128 iconv_close(cd);
46129 ;
46130 return 0;
46131 }
46132 _ACEOF
46133 if ac_fn_c_try_link "$LINENO"; then :
46134 am_cv_lib_iconv=yes
46135 am_cv_func_iconv=yes
46136 fi
46137 rm -f core conftest.err conftest.$ac_objext \
46138 conftest$ac_exeext conftest.$ac_ext
46139 LIBS="$am_save_LIBS"
46140 fi
46141
46142 fi
46143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46144 $as_echo "$am_cv_func_iconv" >&6; }
46145 if test "$am_cv_func_iconv" = yes; then
46146
46147 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46148
46149 fi
46150 if test "$am_cv_lib_iconv" = yes; then
46151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46152 $as_echo_n "checking how to link with libiconv... " >&6; }
46153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46154 $as_echo "$LIBICONV" >&6; }
46155 else
46156 CPPFLAGS="$am_save_CPPFLAGS"
46157 LIBICONV=
46158 LTLIBICONV=
46159 fi
46160
46161
46162
46163 if test "$am_cv_func_iconv" = yes; then
46164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46165 $as_echo_n "checking for iconv declaration... " >&6; }
46166 if test "${am_cv_proto_iconv+set}" = set; then :
46167 $as_echo_n "(cached) " >&6
46168 else
46169
46170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46171 /* end confdefs.h. */
46172
46173 #include <stdlib.h>
46174 #include <iconv.h>
46175 extern
46176 #ifdef __cplusplus
46177 "C"
46178 #endif
46179 #if defined(__STDC__) || defined(__cplusplus)
46180 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46181 #else
46182 size_t iconv();
46183 #endif
46184
46185 int
46186 main ()
46187 {
46188
46189 ;
46190 return 0;
46191 }
46192 _ACEOF
46193 if ac_fn_c_try_compile "$LINENO"; then :
46194 am_cv_proto_iconv_arg1=""
46195 else
46196 am_cv_proto_iconv_arg1="const"
46197 fi
46198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46199 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);"
46200 fi
46201
46202 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46204 }$am_cv_proto_iconv" >&5
46205 $as_echo "${ac_t:-
46206 }$am_cv_proto_iconv" >&6; }
46207
46208 cat >>confdefs.h <<_ACEOF
46209 #define ICONV_CONST $am_cv_proto_iconv_arg1
46210 _ACEOF
46211
46212 fi
46213
46214 ;;
46215
46216 *-darwin*)
46217 # Darwin versions vary, but the linker should work in a cross environment,
46218 # so we just check for all the features here.
46219 # Check for available headers.
46220
46221 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46222
46223 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46224 ac_save_CXXFLAGS="$CXXFLAGS"
46225 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46226
46227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46228 $as_echo_n "checking for sin in -lm... " >&6; }
46229 if test "${ac_cv_lib_m_sin+set}" = set; then :
46230 $as_echo_n "(cached) " >&6
46231 else
46232 ac_check_lib_save_LIBS=$LIBS
46233 LIBS="-lm $LIBS"
46234 if test x$gcc_no_link = xyes; then
46235 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46236 fi
46237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46238 /* end confdefs.h. */
46239
46240 /* Override any GCC internal prototype to avoid an error.
46241 Use char because int might match the return type of a GCC
46242 builtin and then its argument prototype would still apply. */
46243 #ifdef __cplusplus
46244 extern "C"
46245 #endif
46246 char sin ();
46247 int
46248 main ()
46249 {
46250 return sin ();
46251 ;
46252 return 0;
46253 }
46254 _ACEOF
46255 if ac_fn_c_try_link "$LINENO"; then :
46256 ac_cv_lib_m_sin=yes
46257 else
46258 ac_cv_lib_m_sin=no
46259 fi
46260 rm -f core conftest.err conftest.$ac_objext \
46261 conftest$ac_exeext conftest.$ac_ext
46262 LIBS=$ac_check_lib_save_LIBS
46263 fi
46264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46265 $as_echo "$ac_cv_lib_m_sin" >&6; }
46266 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46267 libm="-lm"
46268 fi
46269
46270 ac_save_LIBS="$LIBS"
46271 LIBS="$LIBS $libm"
46272
46273
46274
46275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46276 $as_echo_n "checking for isinf declaration... " >&6; }
46277 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46278 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46279 $as_echo_n "(cached) " >&6
46280 else
46281
46282
46283 ac_ext=cpp
46284 ac_cpp='$CXXCPP $CPPFLAGS'
46285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46288
46289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46290 /* end confdefs.h. */
46291 #include <math.h>
46292 #ifdef HAVE_IEEEFP_H
46293 #include <ieeefp.h>
46294 #endif
46295
46296 int
46297 main ()
46298 {
46299 isinf(0);
46300 ;
46301 return 0;
46302 }
46303 _ACEOF
46304 if ac_fn_cxx_try_compile "$LINENO"; then :
46305 glibcxx_cv_func_isinf_use=yes
46306 else
46307 glibcxx_cv_func_isinf_use=no
46308 fi
46309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46310 ac_ext=c
46311 ac_cpp='$CPP $CPPFLAGS'
46312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46315
46316
46317 fi
46318
46319 fi
46320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46321 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46322
46323 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46324 for ac_func in isinf
46325 do :
46326 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46327 if test "x$ac_cv_func_isinf" = x""yes; then :
46328 cat >>confdefs.h <<_ACEOF
46329 #define HAVE_ISINF 1
46330 _ACEOF
46331
46332 fi
46333 done
46334
46335 else
46336
46337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46338 $as_echo_n "checking for _isinf declaration... " >&6; }
46339 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46340 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46341 $as_echo_n "(cached) " >&6
46342 else
46343
46344
46345 ac_ext=cpp
46346 ac_cpp='$CXXCPP $CPPFLAGS'
46347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46350
46351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46352 /* end confdefs.h. */
46353 #include <math.h>
46354 #ifdef HAVE_IEEEFP_H
46355 #include <ieeefp.h>
46356 #endif
46357
46358 int
46359 main ()
46360 {
46361 _isinf(0);
46362 ;
46363 return 0;
46364 }
46365 _ACEOF
46366 if ac_fn_cxx_try_compile "$LINENO"; then :
46367 glibcxx_cv_func__isinf_use=yes
46368 else
46369 glibcxx_cv_func__isinf_use=no
46370 fi
46371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46372 ac_ext=c
46373 ac_cpp='$CPP $CPPFLAGS'
46374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46377
46378
46379 fi
46380
46381 fi
46382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46383 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46384
46385 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46386 for ac_func in _isinf
46387 do :
46388 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46389 if test "x$ac_cv_func__isinf" = x""yes; then :
46390 cat >>confdefs.h <<_ACEOF
46391 #define HAVE__ISINF 1
46392 _ACEOF
46393
46394 fi
46395 done
46396
46397 fi
46398 fi
46399
46400
46401
46402
46403
46404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46405 $as_echo_n "checking for isnan declaration... " >&6; }
46406 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46407 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46408 $as_echo_n "(cached) " >&6
46409 else
46410
46411
46412 ac_ext=cpp
46413 ac_cpp='$CXXCPP $CPPFLAGS'
46414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46417
46418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46419 /* end confdefs.h. */
46420 #include <math.h>
46421 #ifdef HAVE_IEEEFP_H
46422 #include <ieeefp.h>
46423 #endif
46424
46425 int
46426 main ()
46427 {
46428 isnan(0);
46429 ;
46430 return 0;
46431 }
46432 _ACEOF
46433 if ac_fn_cxx_try_compile "$LINENO"; then :
46434 glibcxx_cv_func_isnan_use=yes
46435 else
46436 glibcxx_cv_func_isnan_use=no
46437 fi
46438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46439 ac_ext=c
46440 ac_cpp='$CPP $CPPFLAGS'
46441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46444
46445
46446 fi
46447
46448 fi
46449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46450 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46451
46452 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46453 for ac_func in isnan
46454 do :
46455 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46456 if test "x$ac_cv_func_isnan" = x""yes; then :
46457 cat >>confdefs.h <<_ACEOF
46458 #define HAVE_ISNAN 1
46459 _ACEOF
46460
46461 fi
46462 done
46463
46464 else
46465
46466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46467 $as_echo_n "checking for _isnan declaration... " >&6; }
46468 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46469 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46470 $as_echo_n "(cached) " >&6
46471 else
46472
46473
46474 ac_ext=cpp
46475 ac_cpp='$CXXCPP $CPPFLAGS'
46476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46479
46480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46481 /* end confdefs.h. */
46482 #include <math.h>
46483 #ifdef HAVE_IEEEFP_H
46484 #include <ieeefp.h>
46485 #endif
46486
46487 int
46488 main ()
46489 {
46490 _isnan(0);
46491 ;
46492 return 0;
46493 }
46494 _ACEOF
46495 if ac_fn_cxx_try_compile "$LINENO"; then :
46496 glibcxx_cv_func__isnan_use=yes
46497 else
46498 glibcxx_cv_func__isnan_use=no
46499 fi
46500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46501 ac_ext=c
46502 ac_cpp='$CPP $CPPFLAGS'
46503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46506
46507
46508 fi
46509
46510 fi
46511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46512 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46513
46514 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46515 for ac_func in _isnan
46516 do :
46517 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46518 if test "x$ac_cv_func__isnan" = x""yes; then :
46519 cat >>confdefs.h <<_ACEOF
46520 #define HAVE__ISNAN 1
46521 _ACEOF
46522
46523 fi
46524 done
46525
46526 fi
46527 fi
46528
46529
46530
46531
46532
46533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46534 $as_echo_n "checking for finite declaration... " >&6; }
46535 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46536 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46537 $as_echo_n "(cached) " >&6
46538 else
46539
46540
46541 ac_ext=cpp
46542 ac_cpp='$CXXCPP $CPPFLAGS'
46543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46546
46547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46548 /* end confdefs.h. */
46549 #include <math.h>
46550 #ifdef HAVE_IEEEFP_H
46551 #include <ieeefp.h>
46552 #endif
46553
46554 int
46555 main ()
46556 {
46557 finite(0);
46558 ;
46559 return 0;
46560 }
46561 _ACEOF
46562 if ac_fn_cxx_try_compile "$LINENO"; then :
46563 glibcxx_cv_func_finite_use=yes
46564 else
46565 glibcxx_cv_func_finite_use=no
46566 fi
46567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46568 ac_ext=c
46569 ac_cpp='$CPP $CPPFLAGS'
46570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46573
46574
46575 fi
46576
46577 fi
46578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46579 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46580
46581 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46582 for ac_func in finite
46583 do :
46584 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46585 if test "x$ac_cv_func_finite" = x""yes; then :
46586 cat >>confdefs.h <<_ACEOF
46587 #define HAVE_FINITE 1
46588 _ACEOF
46589
46590 fi
46591 done
46592
46593 else
46594
46595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46596 $as_echo_n "checking for _finite declaration... " >&6; }
46597 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46598 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46599 $as_echo_n "(cached) " >&6
46600 else
46601
46602
46603 ac_ext=cpp
46604 ac_cpp='$CXXCPP $CPPFLAGS'
46605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46608
46609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46610 /* end confdefs.h. */
46611 #include <math.h>
46612 #ifdef HAVE_IEEEFP_H
46613 #include <ieeefp.h>
46614 #endif
46615
46616 int
46617 main ()
46618 {
46619 _finite(0);
46620 ;
46621 return 0;
46622 }
46623 _ACEOF
46624 if ac_fn_cxx_try_compile "$LINENO"; then :
46625 glibcxx_cv_func__finite_use=yes
46626 else
46627 glibcxx_cv_func__finite_use=no
46628 fi
46629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46630 ac_ext=c
46631 ac_cpp='$CPP $CPPFLAGS'
46632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46635
46636
46637 fi
46638
46639 fi
46640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46641 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46642
46643 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46644 for ac_func in _finite
46645 do :
46646 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46647 if test "x$ac_cv_func__finite" = x""yes; then :
46648 cat >>confdefs.h <<_ACEOF
46649 #define HAVE__FINITE 1
46650 _ACEOF
46651
46652 fi
46653 done
46654
46655 fi
46656 fi
46657
46658
46659
46660
46661
46662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46663 $as_echo_n "checking for sincos declaration... " >&6; }
46664 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46665 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46666 $as_echo_n "(cached) " >&6
46667 else
46668
46669
46670 ac_ext=cpp
46671 ac_cpp='$CXXCPP $CPPFLAGS'
46672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46675
46676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46677 /* end confdefs.h. */
46678 #include <math.h>
46679 int
46680 main ()
46681 {
46682 sincos(0, 0, 0);
46683 ;
46684 return 0;
46685 }
46686 _ACEOF
46687 if ac_fn_cxx_try_compile "$LINENO"; then :
46688 glibcxx_cv_func_sincos_use=yes
46689 else
46690 glibcxx_cv_func_sincos_use=no
46691 fi
46692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46693 ac_ext=c
46694 ac_cpp='$CPP $CPPFLAGS'
46695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46698
46699
46700 fi
46701
46702 fi
46703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46704 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46705
46706 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46707 for ac_func in sincos
46708 do :
46709 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46710 if test "x$ac_cv_func_sincos" = x""yes; then :
46711 cat >>confdefs.h <<_ACEOF
46712 #define HAVE_SINCOS 1
46713 _ACEOF
46714
46715 fi
46716 done
46717
46718 else
46719
46720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46721 $as_echo_n "checking for _sincos declaration... " >&6; }
46722 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46723 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46724 $as_echo_n "(cached) " >&6
46725 else
46726
46727
46728 ac_ext=cpp
46729 ac_cpp='$CXXCPP $CPPFLAGS'
46730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46733
46734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46735 /* end confdefs.h. */
46736 #include <math.h>
46737 int
46738 main ()
46739 {
46740 _sincos(0, 0, 0);
46741 ;
46742 return 0;
46743 }
46744 _ACEOF
46745 if ac_fn_cxx_try_compile "$LINENO"; then :
46746 glibcxx_cv_func__sincos_use=yes
46747 else
46748 glibcxx_cv_func__sincos_use=no
46749 fi
46750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46751 ac_ext=c
46752 ac_cpp='$CPP $CPPFLAGS'
46753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46756
46757
46758 fi
46759
46760 fi
46761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46762 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46763
46764 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46765 for ac_func in _sincos
46766 do :
46767 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46768 if test "x$ac_cv_func__sincos" = x""yes; then :
46769 cat >>confdefs.h <<_ACEOF
46770 #define HAVE__SINCOS 1
46771 _ACEOF
46772
46773 fi
46774 done
46775
46776 fi
46777 fi
46778
46779
46780
46781
46782
46783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46784 $as_echo_n "checking for fpclass declaration... " >&6; }
46785 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46786 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46787 $as_echo_n "(cached) " >&6
46788 else
46789
46790
46791 ac_ext=cpp
46792 ac_cpp='$CXXCPP $CPPFLAGS'
46793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46796
46797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46798 /* end confdefs.h. */
46799 #include <math.h>
46800 #ifdef HAVE_IEEEFP_H
46801 #include <ieeefp.h>
46802 #endif
46803
46804 int
46805 main ()
46806 {
46807 fpclass(0);
46808 ;
46809 return 0;
46810 }
46811 _ACEOF
46812 if ac_fn_cxx_try_compile "$LINENO"; then :
46813 glibcxx_cv_func_fpclass_use=yes
46814 else
46815 glibcxx_cv_func_fpclass_use=no
46816 fi
46817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46818 ac_ext=c
46819 ac_cpp='$CPP $CPPFLAGS'
46820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46823
46824
46825 fi
46826
46827 fi
46828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46829 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46830
46831 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46832 for ac_func in fpclass
46833 do :
46834 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46835 if test "x$ac_cv_func_fpclass" = x""yes; then :
46836 cat >>confdefs.h <<_ACEOF
46837 #define HAVE_FPCLASS 1
46838 _ACEOF
46839
46840 fi
46841 done
46842
46843 else
46844
46845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46846 $as_echo_n "checking for _fpclass declaration... " >&6; }
46847 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46848 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46849 $as_echo_n "(cached) " >&6
46850 else
46851
46852
46853 ac_ext=cpp
46854 ac_cpp='$CXXCPP $CPPFLAGS'
46855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46858
46859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46860 /* end confdefs.h. */
46861 #include <math.h>
46862 #ifdef HAVE_IEEEFP_H
46863 #include <ieeefp.h>
46864 #endif
46865
46866 int
46867 main ()
46868 {
46869 _fpclass(0);
46870 ;
46871 return 0;
46872 }
46873 _ACEOF
46874 if ac_fn_cxx_try_compile "$LINENO"; then :
46875 glibcxx_cv_func__fpclass_use=yes
46876 else
46877 glibcxx_cv_func__fpclass_use=no
46878 fi
46879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46880 ac_ext=c
46881 ac_cpp='$CPP $CPPFLAGS'
46882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46885
46886
46887 fi
46888
46889 fi
46890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46891 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46892
46893 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46894 for ac_func in _fpclass
46895 do :
46896 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46897 if test "x$ac_cv_func__fpclass" = x""yes; then :
46898 cat >>confdefs.h <<_ACEOF
46899 #define HAVE__FPCLASS 1
46900 _ACEOF
46901
46902 fi
46903 done
46904
46905 fi
46906 fi
46907
46908
46909
46910
46911
46912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46913 $as_echo_n "checking for qfpclass declaration... " >&6; }
46914 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46915 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46916 $as_echo_n "(cached) " >&6
46917 else
46918
46919
46920 ac_ext=cpp
46921 ac_cpp='$CXXCPP $CPPFLAGS'
46922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46925
46926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46927 /* end confdefs.h. */
46928 #include <math.h>
46929 #ifdef HAVE_IEEEFP_H
46930 #include <ieeefp.h>
46931 #endif
46932
46933 int
46934 main ()
46935 {
46936 qfpclass(0);
46937 ;
46938 return 0;
46939 }
46940 _ACEOF
46941 if ac_fn_cxx_try_compile "$LINENO"; then :
46942 glibcxx_cv_func_qfpclass_use=yes
46943 else
46944 glibcxx_cv_func_qfpclass_use=no
46945 fi
46946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46947 ac_ext=c
46948 ac_cpp='$CPP $CPPFLAGS'
46949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46952
46953
46954 fi
46955
46956 fi
46957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46958 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46959
46960 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46961 for ac_func in qfpclass
46962 do :
46963 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46964 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46965 cat >>confdefs.h <<_ACEOF
46966 #define HAVE_QFPCLASS 1
46967 _ACEOF
46968
46969 fi
46970 done
46971
46972 else
46973
46974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46975 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46976 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46977 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46978 $as_echo_n "(cached) " >&6
46979 else
46980
46981
46982 ac_ext=cpp
46983 ac_cpp='$CXXCPP $CPPFLAGS'
46984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46987
46988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46989 /* end confdefs.h. */
46990 #include <math.h>
46991 #ifdef HAVE_IEEEFP_H
46992 #include <ieeefp.h>
46993 #endif
46994
46995 int
46996 main ()
46997 {
46998 _qfpclass(0);
46999 ;
47000 return 0;
47001 }
47002 _ACEOF
47003 if ac_fn_cxx_try_compile "$LINENO"; then :
47004 glibcxx_cv_func__qfpclass_use=yes
47005 else
47006 glibcxx_cv_func__qfpclass_use=no
47007 fi
47008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47009 ac_ext=c
47010 ac_cpp='$CPP $CPPFLAGS'
47011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47014
47015
47016 fi
47017
47018 fi
47019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47020 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47021
47022 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47023 for ac_func in _qfpclass
47024 do :
47025 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47026 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47027 cat >>confdefs.h <<_ACEOF
47028 #define HAVE__QFPCLASS 1
47029 _ACEOF
47030
47031 fi
47032 done
47033
47034 fi
47035 fi
47036
47037
47038
47039
47040
47041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47042 $as_echo_n "checking for hypot declaration... " >&6; }
47043 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47044 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47045 $as_echo_n "(cached) " >&6
47046 else
47047
47048
47049 ac_ext=cpp
47050 ac_cpp='$CXXCPP $CPPFLAGS'
47051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47054
47055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47056 /* end confdefs.h. */
47057 #include <math.h>
47058 int
47059 main ()
47060 {
47061 hypot(0, 0);
47062 ;
47063 return 0;
47064 }
47065 _ACEOF
47066 if ac_fn_cxx_try_compile "$LINENO"; then :
47067 glibcxx_cv_func_hypot_use=yes
47068 else
47069 glibcxx_cv_func_hypot_use=no
47070 fi
47071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47072 ac_ext=c
47073 ac_cpp='$CPP $CPPFLAGS'
47074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47077
47078
47079 fi
47080
47081 fi
47082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47083 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47084
47085 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47086 for ac_func in hypot
47087 do :
47088 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47089 if test "x$ac_cv_func_hypot" = x""yes; then :
47090 cat >>confdefs.h <<_ACEOF
47091 #define HAVE_HYPOT 1
47092 _ACEOF
47093
47094 fi
47095 done
47096
47097 else
47098
47099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47100 $as_echo_n "checking for _hypot declaration... " >&6; }
47101 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47102 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47103 $as_echo_n "(cached) " >&6
47104 else
47105
47106
47107 ac_ext=cpp
47108 ac_cpp='$CXXCPP $CPPFLAGS'
47109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47112
47113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47114 /* end confdefs.h. */
47115 #include <math.h>
47116 int
47117 main ()
47118 {
47119 _hypot(0, 0);
47120 ;
47121 return 0;
47122 }
47123 _ACEOF
47124 if ac_fn_cxx_try_compile "$LINENO"; then :
47125 glibcxx_cv_func__hypot_use=yes
47126 else
47127 glibcxx_cv_func__hypot_use=no
47128 fi
47129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47130 ac_ext=c
47131 ac_cpp='$CPP $CPPFLAGS'
47132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47135
47136
47137 fi
47138
47139 fi
47140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47141 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47142
47143 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47144 for ac_func in _hypot
47145 do :
47146 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47147 if test "x$ac_cv_func__hypot" = x""yes; then :
47148 cat >>confdefs.h <<_ACEOF
47149 #define HAVE__HYPOT 1
47150 _ACEOF
47151
47152 fi
47153 done
47154
47155 fi
47156 fi
47157
47158
47159
47160
47161
47162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47163 $as_echo_n "checking for float trig functions... " >&6; }
47164 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47165 $as_echo_n "(cached) " >&6
47166 else
47167
47168
47169 ac_ext=cpp
47170 ac_cpp='$CXXCPP $CPPFLAGS'
47171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47174
47175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47176 /* end confdefs.h. */
47177 #include <math.h>
47178 int
47179 main ()
47180 {
47181 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47182 ;
47183 return 0;
47184 }
47185 _ACEOF
47186 if ac_fn_cxx_try_compile "$LINENO"; then :
47187 glibcxx_cv_func_float_trig_use=yes
47188 else
47189 glibcxx_cv_func_float_trig_use=no
47190 fi
47191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47192 ac_ext=c
47193 ac_cpp='$CPP $CPPFLAGS'
47194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47197
47198 fi
47199
47200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47201 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47202 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47203 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47204 do :
47205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47207 eval as_val=\$$as_ac_var
47208 if test "x$as_val" = x""yes; then :
47209 cat >>confdefs.h <<_ACEOF
47210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47211 _ACEOF
47212
47213 fi
47214 done
47215
47216 else
47217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47218 $as_echo_n "checking for _float trig functions... " >&6; }
47219 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47220 $as_echo_n "(cached) " >&6
47221 else
47222
47223
47224 ac_ext=cpp
47225 ac_cpp='$CXXCPP $CPPFLAGS'
47226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47229
47230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47231 /* end confdefs.h. */
47232 #include <math.h>
47233 int
47234 main ()
47235 {
47236 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47237 ;
47238 return 0;
47239 }
47240 _ACEOF
47241 if ac_fn_cxx_try_compile "$LINENO"; then :
47242 glibcxx_cv_func__float_trig_use=yes
47243 else
47244 glibcxx_cv_func__float_trig_use=no
47245 fi
47246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47247 ac_ext=c
47248 ac_cpp='$CPP $CPPFLAGS'
47249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47252
47253 fi
47254
47255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47256 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47257 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47258 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47259 do :
47260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47262 eval as_val=\$$as_ac_var
47263 if test "x$as_val" = x""yes; then :
47264 cat >>confdefs.h <<_ACEOF
47265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47266 _ACEOF
47267
47268 fi
47269 done
47270
47271 fi
47272 fi
47273
47274
47275
47276
47277
47278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47279 $as_echo_n "checking for float round functions... " >&6; }
47280 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47281 $as_echo_n "(cached) " >&6
47282 else
47283
47284
47285 ac_ext=cpp
47286 ac_cpp='$CXXCPP $CPPFLAGS'
47287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47290
47291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47292 /* end confdefs.h. */
47293 #include <math.h>
47294 int
47295 main ()
47296 {
47297 ceilf (0); floorf (0);
47298 ;
47299 return 0;
47300 }
47301 _ACEOF
47302 if ac_fn_cxx_try_compile "$LINENO"; then :
47303 glibcxx_cv_func_float_round_use=yes
47304 else
47305 glibcxx_cv_func_float_round_use=no
47306 fi
47307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47308 ac_ext=c
47309 ac_cpp='$CPP $CPPFLAGS'
47310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47313
47314 fi
47315
47316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47317 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47318 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47319 for ac_func in ceilf floorf
47320 do :
47321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47323 eval as_val=\$$as_ac_var
47324 if test "x$as_val" = x""yes; then :
47325 cat >>confdefs.h <<_ACEOF
47326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47327 _ACEOF
47328
47329 fi
47330 done
47331
47332 else
47333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47334 $as_echo_n "checking for _float round functions... " >&6; }
47335 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47336 $as_echo_n "(cached) " >&6
47337 else
47338
47339
47340 ac_ext=cpp
47341 ac_cpp='$CXXCPP $CPPFLAGS'
47342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47345
47346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47347 /* end confdefs.h. */
47348 #include <math.h>
47349 int
47350 main ()
47351 {
47352 _ceilf (0); _floorf (0);
47353 ;
47354 return 0;
47355 }
47356 _ACEOF
47357 if ac_fn_cxx_try_compile "$LINENO"; then :
47358 glibcxx_cv_func__float_round_use=yes
47359 else
47360 glibcxx_cv_func__float_round_use=no
47361 fi
47362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47363 ac_ext=c
47364 ac_cpp='$CPP $CPPFLAGS'
47365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47368
47369 fi
47370
47371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47372 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47373 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47374 for ac_func in _ceilf _floorf
47375 do :
47376 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47377 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47378 eval as_val=\$$as_ac_var
47379 if test "x$as_val" = x""yes; then :
47380 cat >>confdefs.h <<_ACEOF
47381 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47382 _ACEOF
47383
47384 fi
47385 done
47386
47387 fi
47388 fi
47389
47390
47391
47392
47393
47394
47395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47396 $as_echo_n "checking for expf declaration... " >&6; }
47397 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47398 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47399 $as_echo_n "(cached) " >&6
47400 else
47401
47402
47403 ac_ext=cpp
47404 ac_cpp='$CXXCPP $CPPFLAGS'
47405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47408
47409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47410 /* end confdefs.h. */
47411 #include <math.h>
47412 #ifdef HAVE_IEEEFP_H
47413 #include <ieeefp.h>
47414 #endif
47415
47416 int
47417 main ()
47418 {
47419 expf(0);
47420 ;
47421 return 0;
47422 }
47423 _ACEOF
47424 if ac_fn_cxx_try_compile "$LINENO"; then :
47425 glibcxx_cv_func_expf_use=yes
47426 else
47427 glibcxx_cv_func_expf_use=no
47428 fi
47429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47430 ac_ext=c
47431 ac_cpp='$CPP $CPPFLAGS'
47432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47435
47436
47437 fi
47438
47439 fi
47440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47441 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47442
47443 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47444 for ac_func in expf
47445 do :
47446 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47447 if test "x$ac_cv_func_expf" = x""yes; then :
47448 cat >>confdefs.h <<_ACEOF
47449 #define HAVE_EXPF 1
47450 _ACEOF
47451
47452 fi
47453 done
47454
47455 else
47456
47457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47458 $as_echo_n "checking for _expf declaration... " >&6; }
47459 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47460 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47461 $as_echo_n "(cached) " >&6
47462 else
47463
47464
47465 ac_ext=cpp
47466 ac_cpp='$CXXCPP $CPPFLAGS'
47467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47470
47471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47472 /* end confdefs.h. */
47473 #include <math.h>
47474 #ifdef HAVE_IEEEFP_H
47475 #include <ieeefp.h>
47476 #endif
47477
47478 int
47479 main ()
47480 {
47481 _expf(0);
47482 ;
47483 return 0;
47484 }
47485 _ACEOF
47486 if ac_fn_cxx_try_compile "$LINENO"; then :
47487 glibcxx_cv_func__expf_use=yes
47488 else
47489 glibcxx_cv_func__expf_use=no
47490 fi
47491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47492 ac_ext=c
47493 ac_cpp='$CPP $CPPFLAGS'
47494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47497
47498
47499 fi
47500
47501 fi
47502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47503 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47504
47505 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47506 for ac_func in _expf
47507 do :
47508 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47509 if test "x$ac_cv_func__expf" = x""yes; then :
47510 cat >>confdefs.h <<_ACEOF
47511 #define HAVE__EXPF 1
47512 _ACEOF
47513
47514 fi
47515 done
47516
47517 fi
47518 fi
47519
47520
47521
47522
47523
47524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47525 $as_echo_n "checking for isnanf declaration... " >&6; }
47526 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47527 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47528 $as_echo_n "(cached) " >&6
47529 else
47530
47531
47532 ac_ext=cpp
47533 ac_cpp='$CXXCPP $CPPFLAGS'
47534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47537
47538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47539 /* end confdefs.h. */
47540 #include <math.h>
47541 #ifdef HAVE_IEEEFP_H
47542 #include <ieeefp.h>
47543 #endif
47544
47545 int
47546 main ()
47547 {
47548 isnanf(0);
47549 ;
47550 return 0;
47551 }
47552 _ACEOF
47553 if ac_fn_cxx_try_compile "$LINENO"; then :
47554 glibcxx_cv_func_isnanf_use=yes
47555 else
47556 glibcxx_cv_func_isnanf_use=no
47557 fi
47558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47559 ac_ext=c
47560 ac_cpp='$CPP $CPPFLAGS'
47561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47564
47565
47566 fi
47567
47568 fi
47569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47570 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47571
47572 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47573 for ac_func in isnanf
47574 do :
47575 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47576 if test "x$ac_cv_func_isnanf" = x""yes; then :
47577 cat >>confdefs.h <<_ACEOF
47578 #define HAVE_ISNANF 1
47579 _ACEOF
47580
47581 fi
47582 done
47583
47584 else
47585
47586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47587 $as_echo_n "checking for _isnanf declaration... " >&6; }
47588 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47589 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47590 $as_echo_n "(cached) " >&6
47591 else
47592
47593
47594 ac_ext=cpp
47595 ac_cpp='$CXXCPP $CPPFLAGS'
47596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47599
47600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47601 /* end confdefs.h. */
47602 #include <math.h>
47603 #ifdef HAVE_IEEEFP_H
47604 #include <ieeefp.h>
47605 #endif
47606
47607 int
47608 main ()
47609 {
47610 _isnanf(0);
47611 ;
47612 return 0;
47613 }
47614 _ACEOF
47615 if ac_fn_cxx_try_compile "$LINENO"; then :
47616 glibcxx_cv_func__isnanf_use=yes
47617 else
47618 glibcxx_cv_func__isnanf_use=no
47619 fi
47620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47621 ac_ext=c
47622 ac_cpp='$CPP $CPPFLAGS'
47623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47626
47627
47628 fi
47629
47630 fi
47631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47632 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47633
47634 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47635 for ac_func in _isnanf
47636 do :
47637 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47638 if test "x$ac_cv_func__isnanf" = x""yes; then :
47639 cat >>confdefs.h <<_ACEOF
47640 #define HAVE__ISNANF 1
47641 _ACEOF
47642
47643 fi
47644 done
47645
47646 fi
47647 fi
47648
47649
47650
47651
47652
47653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47654 $as_echo_n "checking for isinff declaration... " >&6; }
47655 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47656 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47657 $as_echo_n "(cached) " >&6
47658 else
47659
47660
47661 ac_ext=cpp
47662 ac_cpp='$CXXCPP $CPPFLAGS'
47663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47666
47667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47668 /* end confdefs.h. */
47669 #include <math.h>
47670 #ifdef HAVE_IEEEFP_H
47671 #include <ieeefp.h>
47672 #endif
47673
47674 int
47675 main ()
47676 {
47677 isinff(0);
47678 ;
47679 return 0;
47680 }
47681 _ACEOF
47682 if ac_fn_cxx_try_compile "$LINENO"; then :
47683 glibcxx_cv_func_isinff_use=yes
47684 else
47685 glibcxx_cv_func_isinff_use=no
47686 fi
47687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47688 ac_ext=c
47689 ac_cpp='$CPP $CPPFLAGS'
47690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47693
47694
47695 fi
47696
47697 fi
47698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47699 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47700
47701 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47702 for ac_func in isinff
47703 do :
47704 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47705 if test "x$ac_cv_func_isinff" = x""yes; then :
47706 cat >>confdefs.h <<_ACEOF
47707 #define HAVE_ISINFF 1
47708 _ACEOF
47709
47710 fi
47711 done
47712
47713 else
47714
47715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47716 $as_echo_n "checking for _isinff declaration... " >&6; }
47717 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47718 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47719 $as_echo_n "(cached) " >&6
47720 else
47721
47722
47723 ac_ext=cpp
47724 ac_cpp='$CXXCPP $CPPFLAGS'
47725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47728
47729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47730 /* end confdefs.h. */
47731 #include <math.h>
47732 #ifdef HAVE_IEEEFP_H
47733 #include <ieeefp.h>
47734 #endif
47735
47736 int
47737 main ()
47738 {
47739 _isinff(0);
47740 ;
47741 return 0;
47742 }
47743 _ACEOF
47744 if ac_fn_cxx_try_compile "$LINENO"; then :
47745 glibcxx_cv_func__isinff_use=yes
47746 else
47747 glibcxx_cv_func__isinff_use=no
47748 fi
47749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47750 ac_ext=c
47751 ac_cpp='$CPP $CPPFLAGS'
47752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47755
47756
47757 fi
47758
47759 fi
47760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47761 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47762
47763 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47764 for ac_func in _isinff
47765 do :
47766 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47767 if test "x$ac_cv_func__isinff" = x""yes; then :
47768 cat >>confdefs.h <<_ACEOF
47769 #define HAVE__ISINFF 1
47770 _ACEOF
47771
47772 fi
47773 done
47774
47775 fi
47776 fi
47777
47778
47779
47780
47781
47782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47783 $as_echo_n "checking for atan2f declaration... " >&6; }
47784 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47785 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47786 $as_echo_n "(cached) " >&6
47787 else
47788
47789
47790 ac_ext=cpp
47791 ac_cpp='$CXXCPP $CPPFLAGS'
47792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47795
47796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47797 /* end confdefs.h. */
47798 #include <math.h>
47799 int
47800 main ()
47801 {
47802 atan2f(0, 0);
47803 ;
47804 return 0;
47805 }
47806 _ACEOF
47807 if ac_fn_cxx_try_compile "$LINENO"; then :
47808 glibcxx_cv_func_atan2f_use=yes
47809 else
47810 glibcxx_cv_func_atan2f_use=no
47811 fi
47812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47813 ac_ext=c
47814 ac_cpp='$CPP $CPPFLAGS'
47815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47818
47819
47820 fi
47821
47822 fi
47823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47824 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47825
47826 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47827 for ac_func in atan2f
47828 do :
47829 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47830 if test "x$ac_cv_func_atan2f" = x""yes; then :
47831 cat >>confdefs.h <<_ACEOF
47832 #define HAVE_ATAN2F 1
47833 _ACEOF
47834
47835 fi
47836 done
47837
47838 else
47839
47840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47841 $as_echo_n "checking for _atan2f declaration... " >&6; }
47842 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47843 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47844 $as_echo_n "(cached) " >&6
47845 else
47846
47847
47848 ac_ext=cpp
47849 ac_cpp='$CXXCPP $CPPFLAGS'
47850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47853
47854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47855 /* end confdefs.h. */
47856 #include <math.h>
47857 int
47858 main ()
47859 {
47860 _atan2f(0, 0);
47861 ;
47862 return 0;
47863 }
47864 _ACEOF
47865 if ac_fn_cxx_try_compile "$LINENO"; then :
47866 glibcxx_cv_func__atan2f_use=yes
47867 else
47868 glibcxx_cv_func__atan2f_use=no
47869 fi
47870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47871 ac_ext=c
47872 ac_cpp='$CPP $CPPFLAGS'
47873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47876
47877
47878 fi
47879
47880 fi
47881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47882 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47883
47884 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47885 for ac_func in _atan2f
47886 do :
47887 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47888 if test "x$ac_cv_func__atan2f" = x""yes; then :
47889 cat >>confdefs.h <<_ACEOF
47890 #define HAVE__ATAN2F 1
47891 _ACEOF
47892
47893 fi
47894 done
47895
47896 fi
47897 fi
47898
47899
47900
47901
47902
47903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47904 $as_echo_n "checking for fabsf declaration... " >&6; }
47905 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47906 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47907 $as_echo_n "(cached) " >&6
47908 else
47909
47910
47911 ac_ext=cpp
47912 ac_cpp='$CXXCPP $CPPFLAGS'
47913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47916
47917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47918 /* end confdefs.h. */
47919 #include <math.h>
47920 #ifdef HAVE_IEEEFP_H
47921 #include <ieeefp.h>
47922 #endif
47923
47924 int
47925 main ()
47926 {
47927 fabsf(0);
47928 ;
47929 return 0;
47930 }
47931 _ACEOF
47932 if ac_fn_cxx_try_compile "$LINENO"; then :
47933 glibcxx_cv_func_fabsf_use=yes
47934 else
47935 glibcxx_cv_func_fabsf_use=no
47936 fi
47937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47938 ac_ext=c
47939 ac_cpp='$CPP $CPPFLAGS'
47940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47943
47944
47945 fi
47946
47947 fi
47948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47949 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47950
47951 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47952 for ac_func in fabsf
47953 do :
47954 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47955 if test "x$ac_cv_func_fabsf" = x""yes; then :
47956 cat >>confdefs.h <<_ACEOF
47957 #define HAVE_FABSF 1
47958 _ACEOF
47959
47960 fi
47961 done
47962
47963 else
47964
47965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47966 $as_echo_n "checking for _fabsf declaration... " >&6; }
47967 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47968 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47969 $as_echo_n "(cached) " >&6
47970 else
47971
47972
47973 ac_ext=cpp
47974 ac_cpp='$CXXCPP $CPPFLAGS'
47975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47978
47979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47980 /* end confdefs.h. */
47981 #include <math.h>
47982 #ifdef HAVE_IEEEFP_H
47983 #include <ieeefp.h>
47984 #endif
47985
47986 int
47987 main ()
47988 {
47989 _fabsf(0);
47990 ;
47991 return 0;
47992 }
47993 _ACEOF
47994 if ac_fn_cxx_try_compile "$LINENO"; then :
47995 glibcxx_cv_func__fabsf_use=yes
47996 else
47997 glibcxx_cv_func__fabsf_use=no
47998 fi
47999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48000 ac_ext=c
48001 ac_cpp='$CPP $CPPFLAGS'
48002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48005
48006
48007 fi
48008
48009 fi
48010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48011 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48012
48013 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48014 for ac_func in _fabsf
48015 do :
48016 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48017 if test "x$ac_cv_func__fabsf" = x""yes; then :
48018 cat >>confdefs.h <<_ACEOF
48019 #define HAVE__FABSF 1
48020 _ACEOF
48021
48022 fi
48023 done
48024
48025 fi
48026 fi
48027
48028
48029
48030
48031
48032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48033 $as_echo_n "checking for fmodf declaration... " >&6; }
48034 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48035 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48036 $as_echo_n "(cached) " >&6
48037 else
48038
48039
48040 ac_ext=cpp
48041 ac_cpp='$CXXCPP $CPPFLAGS'
48042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48045
48046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48047 /* end confdefs.h. */
48048 #include <math.h>
48049 int
48050 main ()
48051 {
48052 fmodf(0, 0);
48053 ;
48054 return 0;
48055 }
48056 _ACEOF
48057 if ac_fn_cxx_try_compile "$LINENO"; then :
48058 glibcxx_cv_func_fmodf_use=yes
48059 else
48060 glibcxx_cv_func_fmodf_use=no
48061 fi
48062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48063 ac_ext=c
48064 ac_cpp='$CPP $CPPFLAGS'
48065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48068
48069
48070 fi
48071
48072 fi
48073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48074 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48075
48076 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48077 for ac_func in fmodf
48078 do :
48079 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48080 if test "x$ac_cv_func_fmodf" = x""yes; then :
48081 cat >>confdefs.h <<_ACEOF
48082 #define HAVE_FMODF 1
48083 _ACEOF
48084
48085 fi
48086 done
48087
48088 else
48089
48090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48091 $as_echo_n "checking for _fmodf declaration... " >&6; }
48092 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48093 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48094 $as_echo_n "(cached) " >&6
48095 else
48096
48097
48098 ac_ext=cpp
48099 ac_cpp='$CXXCPP $CPPFLAGS'
48100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48103
48104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48105 /* end confdefs.h. */
48106 #include <math.h>
48107 int
48108 main ()
48109 {
48110 _fmodf(0, 0);
48111 ;
48112 return 0;
48113 }
48114 _ACEOF
48115 if ac_fn_cxx_try_compile "$LINENO"; then :
48116 glibcxx_cv_func__fmodf_use=yes
48117 else
48118 glibcxx_cv_func__fmodf_use=no
48119 fi
48120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48121 ac_ext=c
48122 ac_cpp='$CPP $CPPFLAGS'
48123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48126
48127
48128 fi
48129
48130 fi
48131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48132 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48133
48134 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48135 for ac_func in _fmodf
48136 do :
48137 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48138 if test "x$ac_cv_func__fmodf" = x""yes; then :
48139 cat >>confdefs.h <<_ACEOF
48140 #define HAVE__FMODF 1
48141 _ACEOF
48142
48143 fi
48144 done
48145
48146 fi
48147 fi
48148
48149
48150
48151
48152
48153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48154 $as_echo_n "checking for frexpf declaration... " >&6; }
48155 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48156 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48157 $as_echo_n "(cached) " >&6
48158 else
48159
48160
48161 ac_ext=cpp
48162 ac_cpp='$CXXCPP $CPPFLAGS'
48163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48166
48167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48168 /* end confdefs.h. */
48169 #include <math.h>
48170 int
48171 main ()
48172 {
48173 frexpf(0, 0);
48174 ;
48175 return 0;
48176 }
48177 _ACEOF
48178 if ac_fn_cxx_try_compile "$LINENO"; then :
48179 glibcxx_cv_func_frexpf_use=yes
48180 else
48181 glibcxx_cv_func_frexpf_use=no
48182 fi
48183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48184 ac_ext=c
48185 ac_cpp='$CPP $CPPFLAGS'
48186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48189
48190
48191 fi
48192
48193 fi
48194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48195 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48196
48197 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48198 for ac_func in frexpf
48199 do :
48200 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48201 if test "x$ac_cv_func_frexpf" = x""yes; then :
48202 cat >>confdefs.h <<_ACEOF
48203 #define HAVE_FREXPF 1
48204 _ACEOF
48205
48206 fi
48207 done
48208
48209 else
48210
48211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48212 $as_echo_n "checking for _frexpf declaration... " >&6; }
48213 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48214 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48215 $as_echo_n "(cached) " >&6
48216 else
48217
48218
48219 ac_ext=cpp
48220 ac_cpp='$CXXCPP $CPPFLAGS'
48221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48224
48225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48226 /* end confdefs.h. */
48227 #include <math.h>
48228 int
48229 main ()
48230 {
48231 _frexpf(0, 0);
48232 ;
48233 return 0;
48234 }
48235 _ACEOF
48236 if ac_fn_cxx_try_compile "$LINENO"; then :
48237 glibcxx_cv_func__frexpf_use=yes
48238 else
48239 glibcxx_cv_func__frexpf_use=no
48240 fi
48241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48242 ac_ext=c
48243 ac_cpp='$CPP $CPPFLAGS'
48244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48247
48248
48249 fi
48250
48251 fi
48252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48253 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48254
48255 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48256 for ac_func in _frexpf
48257 do :
48258 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48259 if test "x$ac_cv_func__frexpf" = x""yes; then :
48260 cat >>confdefs.h <<_ACEOF
48261 #define HAVE__FREXPF 1
48262 _ACEOF
48263
48264 fi
48265 done
48266
48267 fi
48268 fi
48269
48270
48271
48272
48273
48274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48275 $as_echo_n "checking for hypotf declaration... " >&6; }
48276 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48277 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48278 $as_echo_n "(cached) " >&6
48279 else
48280
48281
48282 ac_ext=cpp
48283 ac_cpp='$CXXCPP $CPPFLAGS'
48284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48287
48288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48289 /* end confdefs.h. */
48290 #include <math.h>
48291 int
48292 main ()
48293 {
48294 hypotf(0, 0);
48295 ;
48296 return 0;
48297 }
48298 _ACEOF
48299 if ac_fn_cxx_try_compile "$LINENO"; then :
48300 glibcxx_cv_func_hypotf_use=yes
48301 else
48302 glibcxx_cv_func_hypotf_use=no
48303 fi
48304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48305 ac_ext=c
48306 ac_cpp='$CPP $CPPFLAGS'
48307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48310
48311
48312 fi
48313
48314 fi
48315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48316 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48317
48318 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48319 for ac_func in hypotf
48320 do :
48321 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48322 if test "x$ac_cv_func_hypotf" = x""yes; then :
48323 cat >>confdefs.h <<_ACEOF
48324 #define HAVE_HYPOTF 1
48325 _ACEOF
48326
48327 fi
48328 done
48329
48330 else
48331
48332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48333 $as_echo_n "checking for _hypotf declaration... " >&6; }
48334 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48335 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48336 $as_echo_n "(cached) " >&6
48337 else
48338
48339
48340 ac_ext=cpp
48341 ac_cpp='$CXXCPP $CPPFLAGS'
48342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48345
48346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48347 /* end confdefs.h. */
48348 #include <math.h>
48349 int
48350 main ()
48351 {
48352 _hypotf(0, 0);
48353 ;
48354 return 0;
48355 }
48356 _ACEOF
48357 if ac_fn_cxx_try_compile "$LINENO"; then :
48358 glibcxx_cv_func__hypotf_use=yes
48359 else
48360 glibcxx_cv_func__hypotf_use=no
48361 fi
48362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48363 ac_ext=c
48364 ac_cpp='$CPP $CPPFLAGS'
48365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48368
48369
48370 fi
48371
48372 fi
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48374 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48375
48376 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48377 for ac_func in _hypotf
48378 do :
48379 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48380 if test "x$ac_cv_func__hypotf" = x""yes; then :
48381 cat >>confdefs.h <<_ACEOF
48382 #define HAVE__HYPOTF 1
48383 _ACEOF
48384
48385 fi
48386 done
48387
48388 fi
48389 fi
48390
48391
48392
48393
48394
48395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48396 $as_echo_n "checking for ldexpf declaration... " >&6; }
48397 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48398 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48399 $as_echo_n "(cached) " >&6
48400 else
48401
48402
48403 ac_ext=cpp
48404 ac_cpp='$CXXCPP $CPPFLAGS'
48405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48408
48409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48410 /* end confdefs.h. */
48411 #include <math.h>
48412 int
48413 main ()
48414 {
48415 ldexpf(0, 0);
48416 ;
48417 return 0;
48418 }
48419 _ACEOF
48420 if ac_fn_cxx_try_compile "$LINENO"; then :
48421 glibcxx_cv_func_ldexpf_use=yes
48422 else
48423 glibcxx_cv_func_ldexpf_use=no
48424 fi
48425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48426 ac_ext=c
48427 ac_cpp='$CPP $CPPFLAGS'
48428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48431
48432
48433 fi
48434
48435 fi
48436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48437 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48438
48439 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48440 for ac_func in ldexpf
48441 do :
48442 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48443 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48444 cat >>confdefs.h <<_ACEOF
48445 #define HAVE_LDEXPF 1
48446 _ACEOF
48447
48448 fi
48449 done
48450
48451 else
48452
48453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48454 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48455 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48456 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48457 $as_echo_n "(cached) " >&6
48458 else
48459
48460
48461 ac_ext=cpp
48462 ac_cpp='$CXXCPP $CPPFLAGS'
48463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48466
48467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48468 /* end confdefs.h. */
48469 #include <math.h>
48470 int
48471 main ()
48472 {
48473 _ldexpf(0, 0);
48474 ;
48475 return 0;
48476 }
48477 _ACEOF
48478 if ac_fn_cxx_try_compile "$LINENO"; then :
48479 glibcxx_cv_func__ldexpf_use=yes
48480 else
48481 glibcxx_cv_func__ldexpf_use=no
48482 fi
48483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48484 ac_ext=c
48485 ac_cpp='$CPP $CPPFLAGS'
48486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48489
48490
48491 fi
48492
48493 fi
48494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48495 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48496
48497 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48498 for ac_func in _ldexpf
48499 do :
48500 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48501 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48502 cat >>confdefs.h <<_ACEOF
48503 #define HAVE__LDEXPF 1
48504 _ACEOF
48505
48506 fi
48507 done
48508
48509 fi
48510 fi
48511
48512
48513
48514
48515
48516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48517 $as_echo_n "checking for logf declaration... " >&6; }
48518 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48519 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48520 $as_echo_n "(cached) " >&6
48521 else
48522
48523
48524 ac_ext=cpp
48525 ac_cpp='$CXXCPP $CPPFLAGS'
48526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48529
48530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48531 /* end confdefs.h. */
48532 #include <math.h>
48533 #ifdef HAVE_IEEEFP_H
48534 #include <ieeefp.h>
48535 #endif
48536
48537 int
48538 main ()
48539 {
48540 logf(0);
48541 ;
48542 return 0;
48543 }
48544 _ACEOF
48545 if ac_fn_cxx_try_compile "$LINENO"; then :
48546 glibcxx_cv_func_logf_use=yes
48547 else
48548 glibcxx_cv_func_logf_use=no
48549 fi
48550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48551 ac_ext=c
48552 ac_cpp='$CPP $CPPFLAGS'
48553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48556
48557
48558 fi
48559
48560 fi
48561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48562 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48563
48564 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48565 for ac_func in logf
48566 do :
48567 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48568 if test "x$ac_cv_func_logf" = x""yes; then :
48569 cat >>confdefs.h <<_ACEOF
48570 #define HAVE_LOGF 1
48571 _ACEOF
48572
48573 fi
48574 done
48575
48576 else
48577
48578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48579 $as_echo_n "checking for _logf declaration... " >&6; }
48580 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48581 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48582 $as_echo_n "(cached) " >&6
48583 else
48584
48585
48586 ac_ext=cpp
48587 ac_cpp='$CXXCPP $CPPFLAGS'
48588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48591
48592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48593 /* end confdefs.h. */
48594 #include <math.h>
48595 #ifdef HAVE_IEEEFP_H
48596 #include <ieeefp.h>
48597 #endif
48598
48599 int
48600 main ()
48601 {
48602 _logf(0);
48603 ;
48604 return 0;
48605 }
48606 _ACEOF
48607 if ac_fn_cxx_try_compile "$LINENO"; then :
48608 glibcxx_cv_func__logf_use=yes
48609 else
48610 glibcxx_cv_func__logf_use=no
48611 fi
48612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48613 ac_ext=c
48614 ac_cpp='$CPP $CPPFLAGS'
48615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48618
48619
48620 fi
48621
48622 fi
48623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48624 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48625
48626 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48627 for ac_func in _logf
48628 do :
48629 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48630 if test "x$ac_cv_func__logf" = x""yes; then :
48631 cat >>confdefs.h <<_ACEOF
48632 #define HAVE__LOGF 1
48633 _ACEOF
48634
48635 fi
48636 done
48637
48638 fi
48639 fi
48640
48641
48642
48643
48644
48645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48646 $as_echo_n "checking for log10f declaration... " >&6; }
48647 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48648 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48649 $as_echo_n "(cached) " >&6
48650 else
48651
48652
48653 ac_ext=cpp
48654 ac_cpp='$CXXCPP $CPPFLAGS'
48655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48658
48659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48660 /* end confdefs.h. */
48661 #include <math.h>
48662 #ifdef HAVE_IEEEFP_H
48663 #include <ieeefp.h>
48664 #endif
48665
48666 int
48667 main ()
48668 {
48669 log10f(0);
48670 ;
48671 return 0;
48672 }
48673 _ACEOF
48674 if ac_fn_cxx_try_compile "$LINENO"; then :
48675 glibcxx_cv_func_log10f_use=yes
48676 else
48677 glibcxx_cv_func_log10f_use=no
48678 fi
48679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48680 ac_ext=c
48681 ac_cpp='$CPP $CPPFLAGS'
48682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48685
48686
48687 fi
48688
48689 fi
48690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48691 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48692
48693 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48694 for ac_func in log10f
48695 do :
48696 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48697 if test "x$ac_cv_func_log10f" = x""yes; then :
48698 cat >>confdefs.h <<_ACEOF
48699 #define HAVE_LOG10F 1
48700 _ACEOF
48701
48702 fi
48703 done
48704
48705 else
48706
48707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48708 $as_echo_n "checking for _log10f declaration... " >&6; }
48709 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48710 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48711 $as_echo_n "(cached) " >&6
48712 else
48713
48714
48715 ac_ext=cpp
48716 ac_cpp='$CXXCPP $CPPFLAGS'
48717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48720
48721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48722 /* end confdefs.h. */
48723 #include <math.h>
48724 #ifdef HAVE_IEEEFP_H
48725 #include <ieeefp.h>
48726 #endif
48727
48728 int
48729 main ()
48730 {
48731 _log10f(0);
48732 ;
48733 return 0;
48734 }
48735 _ACEOF
48736 if ac_fn_cxx_try_compile "$LINENO"; then :
48737 glibcxx_cv_func__log10f_use=yes
48738 else
48739 glibcxx_cv_func__log10f_use=no
48740 fi
48741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48742 ac_ext=c
48743 ac_cpp='$CPP $CPPFLAGS'
48744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48747
48748
48749 fi
48750
48751 fi
48752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48753 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48754
48755 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48756 for ac_func in _log10f
48757 do :
48758 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48759 if test "x$ac_cv_func__log10f" = x""yes; then :
48760 cat >>confdefs.h <<_ACEOF
48761 #define HAVE__LOG10F 1
48762 _ACEOF
48763
48764 fi
48765 done
48766
48767 fi
48768 fi
48769
48770
48771
48772
48773
48774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48775 $as_echo_n "checking for modff declaration... " >&6; }
48776 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48777 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48778 $as_echo_n "(cached) " >&6
48779 else
48780
48781
48782 ac_ext=cpp
48783 ac_cpp='$CXXCPP $CPPFLAGS'
48784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48787
48788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48789 /* end confdefs.h. */
48790 #include <math.h>
48791 int
48792 main ()
48793 {
48794 modff(0, 0);
48795 ;
48796 return 0;
48797 }
48798 _ACEOF
48799 if ac_fn_cxx_try_compile "$LINENO"; then :
48800 glibcxx_cv_func_modff_use=yes
48801 else
48802 glibcxx_cv_func_modff_use=no
48803 fi
48804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48805 ac_ext=c
48806 ac_cpp='$CPP $CPPFLAGS'
48807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48810
48811
48812 fi
48813
48814 fi
48815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48816 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48817
48818 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48819 for ac_func in modff
48820 do :
48821 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48822 if test "x$ac_cv_func_modff" = x""yes; then :
48823 cat >>confdefs.h <<_ACEOF
48824 #define HAVE_MODFF 1
48825 _ACEOF
48826
48827 fi
48828 done
48829
48830 else
48831
48832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48833 $as_echo_n "checking for _modff declaration... " >&6; }
48834 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48835 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48836 $as_echo_n "(cached) " >&6
48837 else
48838
48839
48840 ac_ext=cpp
48841 ac_cpp='$CXXCPP $CPPFLAGS'
48842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48845
48846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48847 /* end confdefs.h. */
48848 #include <math.h>
48849 int
48850 main ()
48851 {
48852 _modff(0, 0);
48853 ;
48854 return 0;
48855 }
48856 _ACEOF
48857 if ac_fn_cxx_try_compile "$LINENO"; then :
48858 glibcxx_cv_func__modff_use=yes
48859 else
48860 glibcxx_cv_func__modff_use=no
48861 fi
48862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48863 ac_ext=c
48864 ac_cpp='$CPP $CPPFLAGS'
48865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48868
48869
48870 fi
48871
48872 fi
48873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48874 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48875
48876 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48877 for ac_func in _modff
48878 do :
48879 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48880 if test "x$ac_cv_func__modff" = x""yes; then :
48881 cat >>confdefs.h <<_ACEOF
48882 #define HAVE__MODFF 1
48883 _ACEOF
48884
48885 fi
48886 done
48887
48888 fi
48889 fi
48890
48891
48892
48893
48894
48895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48896 $as_echo_n "checking for modf declaration... " >&6; }
48897 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48898 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48899 $as_echo_n "(cached) " >&6
48900 else
48901
48902
48903 ac_ext=cpp
48904 ac_cpp='$CXXCPP $CPPFLAGS'
48905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48908
48909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48910 /* end confdefs.h. */
48911 #include <math.h>
48912 int
48913 main ()
48914 {
48915 modf(0, 0);
48916 ;
48917 return 0;
48918 }
48919 _ACEOF
48920 if ac_fn_cxx_try_compile "$LINENO"; then :
48921 glibcxx_cv_func_modf_use=yes
48922 else
48923 glibcxx_cv_func_modf_use=no
48924 fi
48925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48926 ac_ext=c
48927 ac_cpp='$CPP $CPPFLAGS'
48928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48931
48932
48933 fi
48934
48935 fi
48936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48937 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48938
48939 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48940 for ac_func in modf
48941 do :
48942 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48943 if test "x$ac_cv_func_modf" = x""yes; then :
48944 cat >>confdefs.h <<_ACEOF
48945 #define HAVE_MODF 1
48946 _ACEOF
48947
48948 fi
48949 done
48950
48951 else
48952
48953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48954 $as_echo_n "checking for _modf declaration... " >&6; }
48955 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48956 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48957 $as_echo_n "(cached) " >&6
48958 else
48959
48960
48961 ac_ext=cpp
48962 ac_cpp='$CXXCPP $CPPFLAGS'
48963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48966
48967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48968 /* end confdefs.h. */
48969 #include <math.h>
48970 int
48971 main ()
48972 {
48973 _modf(0, 0);
48974 ;
48975 return 0;
48976 }
48977 _ACEOF
48978 if ac_fn_cxx_try_compile "$LINENO"; then :
48979 glibcxx_cv_func__modf_use=yes
48980 else
48981 glibcxx_cv_func__modf_use=no
48982 fi
48983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48984 ac_ext=c
48985 ac_cpp='$CPP $CPPFLAGS'
48986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48989
48990
48991 fi
48992
48993 fi
48994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48995 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48996
48997 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48998 for ac_func in _modf
48999 do :
49000 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49001 if test "x$ac_cv_func__modf" = x""yes; then :
49002 cat >>confdefs.h <<_ACEOF
49003 #define HAVE__MODF 1
49004 _ACEOF
49005
49006 fi
49007 done
49008
49009 fi
49010 fi
49011
49012
49013
49014
49015
49016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49017 $as_echo_n "checking for powf declaration... " >&6; }
49018 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49019 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49020 $as_echo_n "(cached) " >&6
49021 else
49022
49023
49024 ac_ext=cpp
49025 ac_cpp='$CXXCPP $CPPFLAGS'
49026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49029
49030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49031 /* end confdefs.h. */
49032 #include <math.h>
49033 int
49034 main ()
49035 {
49036 powf(0, 0);
49037 ;
49038 return 0;
49039 }
49040 _ACEOF
49041 if ac_fn_cxx_try_compile "$LINENO"; then :
49042 glibcxx_cv_func_powf_use=yes
49043 else
49044 glibcxx_cv_func_powf_use=no
49045 fi
49046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49047 ac_ext=c
49048 ac_cpp='$CPP $CPPFLAGS'
49049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49052
49053
49054 fi
49055
49056 fi
49057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49058 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49059
49060 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49061 for ac_func in powf
49062 do :
49063 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49064 if test "x$ac_cv_func_powf" = x""yes; then :
49065 cat >>confdefs.h <<_ACEOF
49066 #define HAVE_POWF 1
49067 _ACEOF
49068
49069 fi
49070 done
49071
49072 else
49073
49074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49075 $as_echo_n "checking for _powf declaration... " >&6; }
49076 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49077 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49078 $as_echo_n "(cached) " >&6
49079 else
49080
49081
49082 ac_ext=cpp
49083 ac_cpp='$CXXCPP $CPPFLAGS'
49084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49087
49088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49089 /* end confdefs.h. */
49090 #include <math.h>
49091 int
49092 main ()
49093 {
49094 _powf(0, 0);
49095 ;
49096 return 0;
49097 }
49098 _ACEOF
49099 if ac_fn_cxx_try_compile "$LINENO"; then :
49100 glibcxx_cv_func__powf_use=yes
49101 else
49102 glibcxx_cv_func__powf_use=no
49103 fi
49104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49105 ac_ext=c
49106 ac_cpp='$CPP $CPPFLAGS'
49107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49110
49111
49112 fi
49113
49114 fi
49115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49116 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49117
49118 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49119 for ac_func in _powf
49120 do :
49121 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49122 if test "x$ac_cv_func__powf" = x""yes; then :
49123 cat >>confdefs.h <<_ACEOF
49124 #define HAVE__POWF 1
49125 _ACEOF
49126
49127 fi
49128 done
49129
49130 fi
49131 fi
49132
49133
49134
49135
49136
49137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49138 $as_echo_n "checking for sqrtf declaration... " >&6; }
49139 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49140 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49141 $as_echo_n "(cached) " >&6
49142 else
49143
49144
49145 ac_ext=cpp
49146 ac_cpp='$CXXCPP $CPPFLAGS'
49147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49150
49151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49152 /* end confdefs.h. */
49153 #include <math.h>
49154 #ifdef HAVE_IEEEFP_H
49155 #include <ieeefp.h>
49156 #endif
49157
49158 int
49159 main ()
49160 {
49161 sqrtf(0);
49162 ;
49163 return 0;
49164 }
49165 _ACEOF
49166 if ac_fn_cxx_try_compile "$LINENO"; then :
49167 glibcxx_cv_func_sqrtf_use=yes
49168 else
49169 glibcxx_cv_func_sqrtf_use=no
49170 fi
49171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49172 ac_ext=c
49173 ac_cpp='$CPP $CPPFLAGS'
49174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49177
49178
49179 fi
49180
49181 fi
49182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49183 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49184
49185 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49186 for ac_func in sqrtf
49187 do :
49188 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49189 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49190 cat >>confdefs.h <<_ACEOF
49191 #define HAVE_SQRTF 1
49192 _ACEOF
49193
49194 fi
49195 done
49196
49197 else
49198
49199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49200 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49201 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49202 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49203 $as_echo_n "(cached) " >&6
49204 else
49205
49206
49207 ac_ext=cpp
49208 ac_cpp='$CXXCPP $CPPFLAGS'
49209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49212
49213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49214 /* end confdefs.h. */
49215 #include <math.h>
49216 #ifdef HAVE_IEEEFP_H
49217 #include <ieeefp.h>
49218 #endif
49219
49220 int
49221 main ()
49222 {
49223 _sqrtf(0);
49224 ;
49225 return 0;
49226 }
49227 _ACEOF
49228 if ac_fn_cxx_try_compile "$LINENO"; then :
49229 glibcxx_cv_func__sqrtf_use=yes
49230 else
49231 glibcxx_cv_func__sqrtf_use=no
49232 fi
49233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49234 ac_ext=c
49235 ac_cpp='$CPP $CPPFLAGS'
49236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49239
49240
49241 fi
49242
49243 fi
49244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49245 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49246
49247 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49248 for ac_func in _sqrtf
49249 do :
49250 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49251 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49252 cat >>confdefs.h <<_ACEOF
49253 #define HAVE__SQRTF 1
49254 _ACEOF
49255
49256 fi
49257 done
49258
49259 fi
49260 fi
49261
49262
49263
49264
49265
49266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49267 $as_echo_n "checking for sincosf declaration... " >&6; }
49268 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49269 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49270 $as_echo_n "(cached) " >&6
49271 else
49272
49273
49274 ac_ext=cpp
49275 ac_cpp='$CXXCPP $CPPFLAGS'
49276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49279
49280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49281 /* end confdefs.h. */
49282 #include <math.h>
49283 int
49284 main ()
49285 {
49286 sincosf(0, 0, 0);
49287 ;
49288 return 0;
49289 }
49290 _ACEOF
49291 if ac_fn_cxx_try_compile "$LINENO"; then :
49292 glibcxx_cv_func_sincosf_use=yes
49293 else
49294 glibcxx_cv_func_sincosf_use=no
49295 fi
49296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49297 ac_ext=c
49298 ac_cpp='$CPP $CPPFLAGS'
49299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49302
49303
49304 fi
49305
49306 fi
49307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49308 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49309
49310 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49311 for ac_func in sincosf
49312 do :
49313 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49314 if test "x$ac_cv_func_sincosf" = x""yes; then :
49315 cat >>confdefs.h <<_ACEOF
49316 #define HAVE_SINCOSF 1
49317 _ACEOF
49318
49319 fi
49320 done
49321
49322 else
49323
49324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49325 $as_echo_n "checking for _sincosf declaration... " >&6; }
49326 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49327 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49328 $as_echo_n "(cached) " >&6
49329 else
49330
49331
49332 ac_ext=cpp
49333 ac_cpp='$CXXCPP $CPPFLAGS'
49334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49337
49338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49339 /* end confdefs.h. */
49340 #include <math.h>
49341 int
49342 main ()
49343 {
49344 _sincosf(0, 0, 0);
49345 ;
49346 return 0;
49347 }
49348 _ACEOF
49349 if ac_fn_cxx_try_compile "$LINENO"; then :
49350 glibcxx_cv_func__sincosf_use=yes
49351 else
49352 glibcxx_cv_func__sincosf_use=no
49353 fi
49354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49355 ac_ext=c
49356 ac_cpp='$CPP $CPPFLAGS'
49357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49360
49361
49362 fi
49363
49364 fi
49365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49366 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49367
49368 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49369 for ac_func in _sincosf
49370 do :
49371 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49372 if test "x$ac_cv_func__sincosf" = x""yes; then :
49373 cat >>confdefs.h <<_ACEOF
49374 #define HAVE__SINCOSF 1
49375 _ACEOF
49376
49377 fi
49378 done
49379
49380 fi
49381 fi
49382
49383
49384
49385
49386
49387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49388 $as_echo_n "checking for finitef declaration... " >&6; }
49389 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49390 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49391 $as_echo_n "(cached) " >&6
49392 else
49393
49394
49395 ac_ext=cpp
49396 ac_cpp='$CXXCPP $CPPFLAGS'
49397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49400
49401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49402 /* end confdefs.h. */
49403 #include <math.h>
49404 #ifdef HAVE_IEEEFP_H
49405 #include <ieeefp.h>
49406 #endif
49407
49408 int
49409 main ()
49410 {
49411 finitef(0);
49412 ;
49413 return 0;
49414 }
49415 _ACEOF
49416 if ac_fn_cxx_try_compile "$LINENO"; then :
49417 glibcxx_cv_func_finitef_use=yes
49418 else
49419 glibcxx_cv_func_finitef_use=no
49420 fi
49421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49422 ac_ext=c
49423 ac_cpp='$CPP $CPPFLAGS'
49424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49427
49428
49429 fi
49430
49431 fi
49432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49433 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49434
49435 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49436 for ac_func in finitef
49437 do :
49438 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49439 if test "x$ac_cv_func_finitef" = x""yes; then :
49440 cat >>confdefs.h <<_ACEOF
49441 #define HAVE_FINITEF 1
49442 _ACEOF
49443
49444 fi
49445 done
49446
49447 else
49448
49449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49450 $as_echo_n "checking for _finitef declaration... " >&6; }
49451 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49452 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49453 $as_echo_n "(cached) " >&6
49454 else
49455
49456
49457 ac_ext=cpp
49458 ac_cpp='$CXXCPP $CPPFLAGS'
49459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49462
49463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49464 /* end confdefs.h. */
49465 #include <math.h>
49466 #ifdef HAVE_IEEEFP_H
49467 #include <ieeefp.h>
49468 #endif
49469
49470 int
49471 main ()
49472 {
49473 _finitef(0);
49474 ;
49475 return 0;
49476 }
49477 _ACEOF
49478 if ac_fn_cxx_try_compile "$LINENO"; then :
49479 glibcxx_cv_func__finitef_use=yes
49480 else
49481 glibcxx_cv_func__finitef_use=no
49482 fi
49483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49484 ac_ext=c
49485 ac_cpp='$CPP $CPPFLAGS'
49486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49489
49490
49491 fi
49492
49493 fi
49494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49495 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49496
49497 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49498 for ac_func in _finitef
49499 do :
49500 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49501 if test "x$ac_cv_func__finitef" = x""yes; then :
49502 cat >>confdefs.h <<_ACEOF
49503 #define HAVE__FINITEF 1
49504 _ACEOF
49505
49506 fi
49507 done
49508
49509 fi
49510 fi
49511
49512
49513
49514
49515
49516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49517 $as_echo_n "checking for long double trig functions... " >&6; }
49518 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49519 $as_echo_n "(cached) " >&6
49520 else
49521
49522
49523 ac_ext=cpp
49524 ac_cpp='$CXXCPP $CPPFLAGS'
49525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49528
49529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49530 /* end confdefs.h. */
49531 #include <math.h>
49532 int
49533 main ()
49534 {
49535 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49536 ;
49537 return 0;
49538 }
49539 _ACEOF
49540 if ac_fn_cxx_try_compile "$LINENO"; then :
49541 glibcxx_cv_func_long_double_trig_use=yes
49542 else
49543 glibcxx_cv_func_long_double_trig_use=no
49544 fi
49545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49546 ac_ext=c
49547 ac_cpp='$CPP $CPPFLAGS'
49548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49551
49552 fi
49553
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49555 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49556 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49557 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49558 do :
49559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49561 eval as_val=\$$as_ac_var
49562 if test "x$as_val" = x""yes; then :
49563 cat >>confdefs.h <<_ACEOF
49564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49565 _ACEOF
49566
49567 fi
49568 done
49569
49570 else
49571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49572 $as_echo_n "checking for _long double trig functions... " >&6; }
49573 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49574 $as_echo_n "(cached) " >&6
49575 else
49576
49577
49578 ac_ext=cpp
49579 ac_cpp='$CXXCPP $CPPFLAGS'
49580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49583
49584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49585 /* end confdefs.h. */
49586 #include <math.h>
49587 int
49588 main ()
49589 {
49590 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49591 ;
49592 return 0;
49593 }
49594 _ACEOF
49595 if ac_fn_cxx_try_compile "$LINENO"; then :
49596 glibcxx_cv_func__long_double_trig_use=yes
49597 else
49598 glibcxx_cv_func__long_double_trig_use=no
49599 fi
49600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49601 ac_ext=c
49602 ac_cpp='$CPP $CPPFLAGS'
49603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49606
49607 fi
49608
49609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49610 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49611 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49612 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49613 do :
49614 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49615 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49616 eval as_val=\$$as_ac_var
49617 if test "x$as_val" = x""yes; then :
49618 cat >>confdefs.h <<_ACEOF
49619 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49620 _ACEOF
49621
49622 fi
49623 done
49624
49625 fi
49626 fi
49627
49628
49629
49630
49631
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49633 $as_echo_n "checking for long double round functions... " >&6; }
49634 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49635 $as_echo_n "(cached) " >&6
49636 else
49637
49638
49639 ac_ext=cpp
49640 ac_cpp='$CXXCPP $CPPFLAGS'
49641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49644
49645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49646 /* end confdefs.h. */
49647 #include <math.h>
49648 int
49649 main ()
49650 {
49651 ceill (0); floorl (0);
49652 ;
49653 return 0;
49654 }
49655 _ACEOF
49656 if ac_fn_cxx_try_compile "$LINENO"; then :
49657 glibcxx_cv_func_long_double_round_use=yes
49658 else
49659 glibcxx_cv_func_long_double_round_use=no
49660 fi
49661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49662 ac_ext=c
49663 ac_cpp='$CPP $CPPFLAGS'
49664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49667
49668 fi
49669
49670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49671 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49672 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49673 for ac_func in ceill floorl
49674 do :
49675 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49676 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49677 eval as_val=\$$as_ac_var
49678 if test "x$as_val" = x""yes; then :
49679 cat >>confdefs.h <<_ACEOF
49680 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49681 _ACEOF
49682
49683 fi
49684 done
49685
49686 else
49687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49688 $as_echo_n "checking for _long double round functions... " >&6; }
49689 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49690 $as_echo_n "(cached) " >&6
49691 else
49692
49693
49694 ac_ext=cpp
49695 ac_cpp='$CXXCPP $CPPFLAGS'
49696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49699
49700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49701 /* end confdefs.h. */
49702 #include <math.h>
49703 int
49704 main ()
49705 {
49706 _ceill (0); _floorl (0);
49707 ;
49708 return 0;
49709 }
49710 _ACEOF
49711 if ac_fn_cxx_try_compile "$LINENO"; then :
49712 glibcxx_cv_func__long_double_round_use=yes
49713 else
49714 glibcxx_cv_func__long_double_round_use=no
49715 fi
49716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49717 ac_ext=c
49718 ac_cpp='$CPP $CPPFLAGS'
49719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49722
49723 fi
49724
49725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49726 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49727 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49728 for ac_func in _ceill _floorl
49729 do :
49730 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49731 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49732 eval as_val=\$$as_ac_var
49733 if test "x$as_val" = x""yes; then :
49734 cat >>confdefs.h <<_ACEOF
49735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49736 _ACEOF
49737
49738 fi
49739 done
49740
49741 fi
49742 fi
49743
49744
49745
49746
49747
49748
49749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49750 $as_echo_n "checking for isnanl declaration... " >&6; }
49751 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49752 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49753 $as_echo_n "(cached) " >&6
49754 else
49755
49756
49757 ac_ext=cpp
49758 ac_cpp='$CXXCPP $CPPFLAGS'
49759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49762
49763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49764 /* end confdefs.h. */
49765 #include <math.h>
49766 #ifdef HAVE_IEEEFP_H
49767 #include <ieeefp.h>
49768 #endif
49769
49770 int
49771 main ()
49772 {
49773 isnanl(0);
49774 ;
49775 return 0;
49776 }
49777 _ACEOF
49778 if ac_fn_cxx_try_compile "$LINENO"; then :
49779 glibcxx_cv_func_isnanl_use=yes
49780 else
49781 glibcxx_cv_func_isnanl_use=no
49782 fi
49783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49784 ac_ext=c
49785 ac_cpp='$CPP $CPPFLAGS'
49786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49789
49790
49791 fi
49792
49793 fi
49794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49795 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49796
49797 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49798 for ac_func in isnanl
49799 do :
49800 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49801 if test "x$ac_cv_func_isnanl" = x""yes; then :
49802 cat >>confdefs.h <<_ACEOF
49803 #define HAVE_ISNANL 1
49804 _ACEOF
49805
49806 fi
49807 done
49808
49809 else
49810
49811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49812 $as_echo_n "checking for _isnanl declaration... " >&6; }
49813 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49814 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49815 $as_echo_n "(cached) " >&6
49816 else
49817
49818
49819 ac_ext=cpp
49820 ac_cpp='$CXXCPP $CPPFLAGS'
49821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49824
49825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49826 /* end confdefs.h. */
49827 #include <math.h>
49828 #ifdef HAVE_IEEEFP_H
49829 #include <ieeefp.h>
49830 #endif
49831
49832 int
49833 main ()
49834 {
49835 _isnanl(0);
49836 ;
49837 return 0;
49838 }
49839 _ACEOF
49840 if ac_fn_cxx_try_compile "$LINENO"; then :
49841 glibcxx_cv_func__isnanl_use=yes
49842 else
49843 glibcxx_cv_func__isnanl_use=no
49844 fi
49845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49846 ac_ext=c
49847 ac_cpp='$CPP $CPPFLAGS'
49848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49851
49852
49853 fi
49854
49855 fi
49856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49857 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49858
49859 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49860 for ac_func in _isnanl
49861 do :
49862 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49863 if test "x$ac_cv_func__isnanl" = x""yes; then :
49864 cat >>confdefs.h <<_ACEOF
49865 #define HAVE__ISNANL 1
49866 _ACEOF
49867
49868 fi
49869 done
49870
49871 fi
49872 fi
49873
49874
49875
49876
49877
49878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49879 $as_echo_n "checking for isinfl declaration... " >&6; }
49880 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49881 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49882 $as_echo_n "(cached) " >&6
49883 else
49884
49885
49886 ac_ext=cpp
49887 ac_cpp='$CXXCPP $CPPFLAGS'
49888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49891
49892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49893 /* end confdefs.h. */
49894 #include <math.h>
49895 #ifdef HAVE_IEEEFP_H
49896 #include <ieeefp.h>
49897 #endif
49898
49899 int
49900 main ()
49901 {
49902 isinfl(0);
49903 ;
49904 return 0;
49905 }
49906 _ACEOF
49907 if ac_fn_cxx_try_compile "$LINENO"; then :
49908 glibcxx_cv_func_isinfl_use=yes
49909 else
49910 glibcxx_cv_func_isinfl_use=no
49911 fi
49912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49913 ac_ext=c
49914 ac_cpp='$CPP $CPPFLAGS'
49915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918
49919
49920 fi
49921
49922 fi
49923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49924 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49925
49926 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49927 for ac_func in isinfl
49928 do :
49929 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49930 if test "x$ac_cv_func_isinfl" = x""yes; then :
49931 cat >>confdefs.h <<_ACEOF
49932 #define HAVE_ISINFL 1
49933 _ACEOF
49934
49935 fi
49936 done
49937
49938 else
49939
49940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49941 $as_echo_n "checking for _isinfl declaration... " >&6; }
49942 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49943 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49944 $as_echo_n "(cached) " >&6
49945 else
49946
49947
49948 ac_ext=cpp
49949 ac_cpp='$CXXCPP $CPPFLAGS'
49950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49953
49954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49955 /* end confdefs.h. */
49956 #include <math.h>
49957 #ifdef HAVE_IEEEFP_H
49958 #include <ieeefp.h>
49959 #endif
49960
49961 int
49962 main ()
49963 {
49964 _isinfl(0);
49965 ;
49966 return 0;
49967 }
49968 _ACEOF
49969 if ac_fn_cxx_try_compile "$LINENO"; then :
49970 glibcxx_cv_func__isinfl_use=yes
49971 else
49972 glibcxx_cv_func__isinfl_use=no
49973 fi
49974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49975 ac_ext=c
49976 ac_cpp='$CPP $CPPFLAGS'
49977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49980
49981
49982 fi
49983
49984 fi
49985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49986 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49987
49988 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49989 for ac_func in _isinfl
49990 do :
49991 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49992 if test "x$ac_cv_func__isinfl" = x""yes; then :
49993 cat >>confdefs.h <<_ACEOF
49994 #define HAVE__ISINFL 1
49995 _ACEOF
49996
49997 fi
49998 done
49999
50000 fi
50001 fi
50002
50003
50004
50005
50006
50007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50008 $as_echo_n "checking for atan2l declaration... " >&6; }
50009 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50010 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50011 $as_echo_n "(cached) " >&6
50012 else
50013
50014
50015 ac_ext=cpp
50016 ac_cpp='$CXXCPP $CPPFLAGS'
50017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50020
50021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50022 /* end confdefs.h. */
50023 #include <math.h>
50024 int
50025 main ()
50026 {
50027 atan2l(0, 0);
50028 ;
50029 return 0;
50030 }
50031 _ACEOF
50032 if ac_fn_cxx_try_compile "$LINENO"; then :
50033 glibcxx_cv_func_atan2l_use=yes
50034 else
50035 glibcxx_cv_func_atan2l_use=no
50036 fi
50037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50038 ac_ext=c
50039 ac_cpp='$CPP $CPPFLAGS'
50040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50043
50044
50045 fi
50046
50047 fi
50048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50049 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50050
50051 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50052 for ac_func in atan2l
50053 do :
50054 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50055 if test "x$ac_cv_func_atan2l" = x""yes; then :
50056 cat >>confdefs.h <<_ACEOF
50057 #define HAVE_ATAN2L 1
50058 _ACEOF
50059
50060 fi
50061 done
50062
50063 else
50064
50065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50066 $as_echo_n "checking for _atan2l declaration... " >&6; }
50067 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50068 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50069 $as_echo_n "(cached) " >&6
50070 else
50071
50072
50073 ac_ext=cpp
50074 ac_cpp='$CXXCPP $CPPFLAGS'
50075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50078
50079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50080 /* end confdefs.h. */
50081 #include <math.h>
50082 int
50083 main ()
50084 {
50085 _atan2l(0, 0);
50086 ;
50087 return 0;
50088 }
50089 _ACEOF
50090 if ac_fn_cxx_try_compile "$LINENO"; then :
50091 glibcxx_cv_func__atan2l_use=yes
50092 else
50093 glibcxx_cv_func__atan2l_use=no
50094 fi
50095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50096 ac_ext=c
50097 ac_cpp='$CPP $CPPFLAGS'
50098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50101
50102
50103 fi
50104
50105 fi
50106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50107 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50108
50109 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50110 for ac_func in _atan2l
50111 do :
50112 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50113 if test "x$ac_cv_func__atan2l" = x""yes; then :
50114 cat >>confdefs.h <<_ACEOF
50115 #define HAVE__ATAN2L 1
50116 _ACEOF
50117
50118 fi
50119 done
50120
50121 fi
50122 fi
50123
50124
50125
50126
50127
50128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50129 $as_echo_n "checking for expl declaration... " >&6; }
50130 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50131 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50132 $as_echo_n "(cached) " >&6
50133 else
50134
50135
50136 ac_ext=cpp
50137 ac_cpp='$CXXCPP $CPPFLAGS'
50138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50141
50142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50143 /* end confdefs.h. */
50144 #include <math.h>
50145 #ifdef HAVE_IEEEFP_H
50146 #include <ieeefp.h>
50147 #endif
50148
50149 int
50150 main ()
50151 {
50152 expl(0);
50153 ;
50154 return 0;
50155 }
50156 _ACEOF
50157 if ac_fn_cxx_try_compile "$LINENO"; then :
50158 glibcxx_cv_func_expl_use=yes
50159 else
50160 glibcxx_cv_func_expl_use=no
50161 fi
50162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50163 ac_ext=c
50164 ac_cpp='$CPP $CPPFLAGS'
50165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50168
50169
50170 fi
50171
50172 fi
50173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50174 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50175
50176 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50177 for ac_func in expl
50178 do :
50179 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50180 if test "x$ac_cv_func_expl" = x""yes; then :
50181 cat >>confdefs.h <<_ACEOF
50182 #define HAVE_EXPL 1
50183 _ACEOF
50184
50185 fi
50186 done
50187
50188 else
50189
50190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50191 $as_echo_n "checking for _expl declaration... " >&6; }
50192 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50193 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50194 $as_echo_n "(cached) " >&6
50195 else
50196
50197
50198 ac_ext=cpp
50199 ac_cpp='$CXXCPP $CPPFLAGS'
50200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50203
50204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50205 /* end confdefs.h. */
50206 #include <math.h>
50207 #ifdef HAVE_IEEEFP_H
50208 #include <ieeefp.h>
50209 #endif
50210
50211 int
50212 main ()
50213 {
50214 _expl(0);
50215 ;
50216 return 0;
50217 }
50218 _ACEOF
50219 if ac_fn_cxx_try_compile "$LINENO"; then :
50220 glibcxx_cv_func__expl_use=yes
50221 else
50222 glibcxx_cv_func__expl_use=no
50223 fi
50224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50225 ac_ext=c
50226 ac_cpp='$CPP $CPPFLAGS'
50227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50230
50231
50232 fi
50233
50234 fi
50235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50236 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50237
50238 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50239 for ac_func in _expl
50240 do :
50241 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50242 if test "x$ac_cv_func__expl" = x""yes; then :
50243 cat >>confdefs.h <<_ACEOF
50244 #define HAVE__EXPL 1
50245 _ACEOF
50246
50247 fi
50248 done
50249
50250 fi
50251 fi
50252
50253
50254
50255
50256
50257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50258 $as_echo_n "checking for fabsl declaration... " >&6; }
50259 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50260 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50261 $as_echo_n "(cached) " >&6
50262 else
50263
50264
50265 ac_ext=cpp
50266 ac_cpp='$CXXCPP $CPPFLAGS'
50267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50270
50271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50272 /* end confdefs.h. */
50273 #include <math.h>
50274 #ifdef HAVE_IEEEFP_H
50275 #include <ieeefp.h>
50276 #endif
50277
50278 int
50279 main ()
50280 {
50281 fabsl(0);
50282 ;
50283 return 0;
50284 }
50285 _ACEOF
50286 if ac_fn_cxx_try_compile "$LINENO"; then :
50287 glibcxx_cv_func_fabsl_use=yes
50288 else
50289 glibcxx_cv_func_fabsl_use=no
50290 fi
50291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50292 ac_ext=c
50293 ac_cpp='$CPP $CPPFLAGS'
50294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50297
50298
50299 fi
50300
50301 fi
50302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50303 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50304
50305 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50306 for ac_func in fabsl
50307 do :
50308 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50309 if test "x$ac_cv_func_fabsl" = x""yes; then :
50310 cat >>confdefs.h <<_ACEOF
50311 #define HAVE_FABSL 1
50312 _ACEOF
50313
50314 fi
50315 done
50316
50317 else
50318
50319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50320 $as_echo_n "checking for _fabsl declaration... " >&6; }
50321 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50322 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50323 $as_echo_n "(cached) " >&6
50324 else
50325
50326
50327 ac_ext=cpp
50328 ac_cpp='$CXXCPP $CPPFLAGS'
50329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50332
50333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50334 /* end confdefs.h. */
50335 #include <math.h>
50336 #ifdef HAVE_IEEEFP_H
50337 #include <ieeefp.h>
50338 #endif
50339
50340 int
50341 main ()
50342 {
50343 _fabsl(0);
50344 ;
50345 return 0;
50346 }
50347 _ACEOF
50348 if ac_fn_cxx_try_compile "$LINENO"; then :
50349 glibcxx_cv_func__fabsl_use=yes
50350 else
50351 glibcxx_cv_func__fabsl_use=no
50352 fi
50353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50354 ac_ext=c
50355 ac_cpp='$CPP $CPPFLAGS'
50356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50359
50360
50361 fi
50362
50363 fi
50364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50365 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50366
50367 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50368 for ac_func in _fabsl
50369 do :
50370 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50371 if test "x$ac_cv_func__fabsl" = x""yes; then :
50372 cat >>confdefs.h <<_ACEOF
50373 #define HAVE__FABSL 1
50374 _ACEOF
50375
50376 fi
50377 done
50378
50379 fi
50380 fi
50381
50382
50383
50384
50385
50386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50387 $as_echo_n "checking for fmodl declaration... " >&6; }
50388 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50389 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50390 $as_echo_n "(cached) " >&6
50391 else
50392
50393
50394 ac_ext=cpp
50395 ac_cpp='$CXXCPP $CPPFLAGS'
50396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50399
50400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50401 /* end confdefs.h. */
50402 #include <math.h>
50403 int
50404 main ()
50405 {
50406 fmodl(0, 0);
50407 ;
50408 return 0;
50409 }
50410 _ACEOF
50411 if ac_fn_cxx_try_compile "$LINENO"; then :
50412 glibcxx_cv_func_fmodl_use=yes
50413 else
50414 glibcxx_cv_func_fmodl_use=no
50415 fi
50416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50417 ac_ext=c
50418 ac_cpp='$CPP $CPPFLAGS'
50419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50422
50423
50424 fi
50425
50426 fi
50427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50428 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50429
50430 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50431 for ac_func in fmodl
50432 do :
50433 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50434 if test "x$ac_cv_func_fmodl" = x""yes; then :
50435 cat >>confdefs.h <<_ACEOF
50436 #define HAVE_FMODL 1
50437 _ACEOF
50438
50439 fi
50440 done
50441
50442 else
50443
50444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50445 $as_echo_n "checking for _fmodl declaration... " >&6; }
50446 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50447 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50448 $as_echo_n "(cached) " >&6
50449 else
50450
50451
50452 ac_ext=cpp
50453 ac_cpp='$CXXCPP $CPPFLAGS'
50454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50457
50458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50459 /* end confdefs.h. */
50460 #include <math.h>
50461 int
50462 main ()
50463 {
50464 _fmodl(0, 0);
50465 ;
50466 return 0;
50467 }
50468 _ACEOF
50469 if ac_fn_cxx_try_compile "$LINENO"; then :
50470 glibcxx_cv_func__fmodl_use=yes
50471 else
50472 glibcxx_cv_func__fmodl_use=no
50473 fi
50474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50475 ac_ext=c
50476 ac_cpp='$CPP $CPPFLAGS'
50477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50480
50481
50482 fi
50483
50484 fi
50485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50486 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50487
50488 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50489 for ac_func in _fmodl
50490 do :
50491 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50492 if test "x$ac_cv_func__fmodl" = x""yes; then :
50493 cat >>confdefs.h <<_ACEOF
50494 #define HAVE__FMODL 1
50495 _ACEOF
50496
50497 fi
50498 done
50499
50500 fi
50501 fi
50502
50503
50504
50505
50506
50507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50508 $as_echo_n "checking for frexpl declaration... " >&6; }
50509 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50510 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50511 $as_echo_n "(cached) " >&6
50512 else
50513
50514
50515 ac_ext=cpp
50516 ac_cpp='$CXXCPP $CPPFLAGS'
50517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50520
50521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50522 /* end confdefs.h. */
50523 #include <math.h>
50524 int
50525 main ()
50526 {
50527 frexpl(0, 0);
50528 ;
50529 return 0;
50530 }
50531 _ACEOF
50532 if ac_fn_cxx_try_compile "$LINENO"; then :
50533 glibcxx_cv_func_frexpl_use=yes
50534 else
50535 glibcxx_cv_func_frexpl_use=no
50536 fi
50537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50538 ac_ext=c
50539 ac_cpp='$CPP $CPPFLAGS'
50540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50543
50544
50545 fi
50546
50547 fi
50548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50549 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50550
50551 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50552 for ac_func in frexpl
50553 do :
50554 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50555 if test "x$ac_cv_func_frexpl" = x""yes; then :
50556 cat >>confdefs.h <<_ACEOF
50557 #define HAVE_FREXPL 1
50558 _ACEOF
50559
50560 fi
50561 done
50562
50563 else
50564
50565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50566 $as_echo_n "checking for _frexpl declaration... " >&6; }
50567 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50568 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50569 $as_echo_n "(cached) " >&6
50570 else
50571
50572
50573 ac_ext=cpp
50574 ac_cpp='$CXXCPP $CPPFLAGS'
50575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50578
50579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50580 /* end confdefs.h. */
50581 #include <math.h>
50582 int
50583 main ()
50584 {
50585 _frexpl(0, 0);
50586 ;
50587 return 0;
50588 }
50589 _ACEOF
50590 if ac_fn_cxx_try_compile "$LINENO"; then :
50591 glibcxx_cv_func__frexpl_use=yes
50592 else
50593 glibcxx_cv_func__frexpl_use=no
50594 fi
50595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50596 ac_ext=c
50597 ac_cpp='$CPP $CPPFLAGS'
50598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50601
50602
50603 fi
50604
50605 fi
50606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50607 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50608
50609 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50610 for ac_func in _frexpl
50611 do :
50612 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50613 if test "x$ac_cv_func__frexpl" = x""yes; then :
50614 cat >>confdefs.h <<_ACEOF
50615 #define HAVE__FREXPL 1
50616 _ACEOF
50617
50618 fi
50619 done
50620
50621 fi
50622 fi
50623
50624
50625
50626
50627
50628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50629 $as_echo_n "checking for hypotl declaration... " >&6; }
50630 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50631 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50632 $as_echo_n "(cached) " >&6
50633 else
50634
50635
50636 ac_ext=cpp
50637 ac_cpp='$CXXCPP $CPPFLAGS'
50638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50641
50642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50643 /* end confdefs.h. */
50644 #include <math.h>
50645 int
50646 main ()
50647 {
50648 hypotl(0, 0);
50649 ;
50650 return 0;
50651 }
50652 _ACEOF
50653 if ac_fn_cxx_try_compile "$LINENO"; then :
50654 glibcxx_cv_func_hypotl_use=yes
50655 else
50656 glibcxx_cv_func_hypotl_use=no
50657 fi
50658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50659 ac_ext=c
50660 ac_cpp='$CPP $CPPFLAGS'
50661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50664
50665
50666 fi
50667
50668 fi
50669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50670 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50671
50672 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50673 for ac_func in hypotl
50674 do :
50675 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50676 if test "x$ac_cv_func_hypotl" = x""yes; then :
50677 cat >>confdefs.h <<_ACEOF
50678 #define HAVE_HYPOTL 1
50679 _ACEOF
50680
50681 fi
50682 done
50683
50684 else
50685
50686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50687 $as_echo_n "checking for _hypotl declaration... " >&6; }
50688 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50689 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50690 $as_echo_n "(cached) " >&6
50691 else
50692
50693
50694 ac_ext=cpp
50695 ac_cpp='$CXXCPP $CPPFLAGS'
50696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50699
50700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50701 /* end confdefs.h. */
50702 #include <math.h>
50703 int
50704 main ()
50705 {
50706 _hypotl(0, 0);
50707 ;
50708 return 0;
50709 }
50710 _ACEOF
50711 if ac_fn_cxx_try_compile "$LINENO"; then :
50712 glibcxx_cv_func__hypotl_use=yes
50713 else
50714 glibcxx_cv_func__hypotl_use=no
50715 fi
50716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50717 ac_ext=c
50718 ac_cpp='$CPP $CPPFLAGS'
50719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50722
50723
50724 fi
50725
50726 fi
50727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50728 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50729
50730 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50731 for ac_func in _hypotl
50732 do :
50733 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50734 if test "x$ac_cv_func__hypotl" = x""yes; then :
50735 cat >>confdefs.h <<_ACEOF
50736 #define HAVE__HYPOTL 1
50737 _ACEOF
50738
50739 fi
50740 done
50741
50742 fi
50743 fi
50744
50745
50746
50747
50748
50749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50750 $as_echo_n "checking for ldexpl declaration... " >&6; }
50751 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50752 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50753 $as_echo_n "(cached) " >&6
50754 else
50755
50756
50757 ac_ext=cpp
50758 ac_cpp='$CXXCPP $CPPFLAGS'
50759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50762
50763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50764 /* end confdefs.h. */
50765 #include <math.h>
50766 int
50767 main ()
50768 {
50769 ldexpl(0, 0);
50770 ;
50771 return 0;
50772 }
50773 _ACEOF
50774 if ac_fn_cxx_try_compile "$LINENO"; then :
50775 glibcxx_cv_func_ldexpl_use=yes
50776 else
50777 glibcxx_cv_func_ldexpl_use=no
50778 fi
50779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50780 ac_ext=c
50781 ac_cpp='$CPP $CPPFLAGS'
50782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50785
50786
50787 fi
50788
50789 fi
50790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50791 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50792
50793 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50794 for ac_func in ldexpl
50795 do :
50796 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50797 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50798 cat >>confdefs.h <<_ACEOF
50799 #define HAVE_LDEXPL 1
50800 _ACEOF
50801
50802 fi
50803 done
50804
50805 else
50806
50807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50808 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50809 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50810 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50811 $as_echo_n "(cached) " >&6
50812 else
50813
50814
50815 ac_ext=cpp
50816 ac_cpp='$CXXCPP $CPPFLAGS'
50817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50820
50821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50822 /* end confdefs.h. */
50823 #include <math.h>
50824 int
50825 main ()
50826 {
50827 _ldexpl(0, 0);
50828 ;
50829 return 0;
50830 }
50831 _ACEOF
50832 if ac_fn_cxx_try_compile "$LINENO"; then :
50833 glibcxx_cv_func__ldexpl_use=yes
50834 else
50835 glibcxx_cv_func__ldexpl_use=no
50836 fi
50837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50838 ac_ext=c
50839 ac_cpp='$CPP $CPPFLAGS'
50840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50843
50844
50845 fi
50846
50847 fi
50848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50849 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50850
50851 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50852 for ac_func in _ldexpl
50853 do :
50854 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50855 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50856 cat >>confdefs.h <<_ACEOF
50857 #define HAVE__LDEXPL 1
50858 _ACEOF
50859
50860 fi
50861 done
50862
50863 fi
50864 fi
50865
50866
50867
50868
50869
50870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50871 $as_echo_n "checking for logl declaration... " >&6; }
50872 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50873 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50874 $as_echo_n "(cached) " >&6
50875 else
50876
50877
50878 ac_ext=cpp
50879 ac_cpp='$CXXCPP $CPPFLAGS'
50880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50883
50884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50885 /* end confdefs.h. */
50886 #include <math.h>
50887 #ifdef HAVE_IEEEFP_H
50888 #include <ieeefp.h>
50889 #endif
50890
50891 int
50892 main ()
50893 {
50894 logl(0);
50895 ;
50896 return 0;
50897 }
50898 _ACEOF
50899 if ac_fn_cxx_try_compile "$LINENO"; then :
50900 glibcxx_cv_func_logl_use=yes
50901 else
50902 glibcxx_cv_func_logl_use=no
50903 fi
50904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50905 ac_ext=c
50906 ac_cpp='$CPP $CPPFLAGS'
50907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50910
50911
50912 fi
50913
50914 fi
50915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50916 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50917
50918 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50919 for ac_func in logl
50920 do :
50921 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50922 if test "x$ac_cv_func_logl" = x""yes; then :
50923 cat >>confdefs.h <<_ACEOF
50924 #define HAVE_LOGL 1
50925 _ACEOF
50926
50927 fi
50928 done
50929
50930 else
50931
50932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50933 $as_echo_n "checking for _logl declaration... " >&6; }
50934 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50935 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50936 $as_echo_n "(cached) " >&6
50937 else
50938
50939
50940 ac_ext=cpp
50941 ac_cpp='$CXXCPP $CPPFLAGS'
50942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50945
50946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50947 /* end confdefs.h. */
50948 #include <math.h>
50949 #ifdef HAVE_IEEEFP_H
50950 #include <ieeefp.h>
50951 #endif
50952
50953 int
50954 main ()
50955 {
50956 _logl(0);
50957 ;
50958 return 0;
50959 }
50960 _ACEOF
50961 if ac_fn_cxx_try_compile "$LINENO"; then :
50962 glibcxx_cv_func__logl_use=yes
50963 else
50964 glibcxx_cv_func__logl_use=no
50965 fi
50966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50967 ac_ext=c
50968 ac_cpp='$CPP $CPPFLAGS'
50969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50972
50973
50974 fi
50975
50976 fi
50977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50978 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50979
50980 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50981 for ac_func in _logl
50982 do :
50983 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50984 if test "x$ac_cv_func__logl" = x""yes; then :
50985 cat >>confdefs.h <<_ACEOF
50986 #define HAVE__LOGL 1
50987 _ACEOF
50988
50989 fi
50990 done
50991
50992 fi
50993 fi
50994
50995
50996
50997
50998
50999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51000 $as_echo_n "checking for log10l declaration... " >&6; }
51001 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51002 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51003 $as_echo_n "(cached) " >&6
51004 else
51005
51006
51007 ac_ext=cpp
51008 ac_cpp='$CXXCPP $CPPFLAGS'
51009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51012
51013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51014 /* end confdefs.h. */
51015 #include <math.h>
51016 #ifdef HAVE_IEEEFP_H
51017 #include <ieeefp.h>
51018 #endif
51019
51020 int
51021 main ()
51022 {
51023 log10l(0);
51024 ;
51025 return 0;
51026 }
51027 _ACEOF
51028 if ac_fn_cxx_try_compile "$LINENO"; then :
51029 glibcxx_cv_func_log10l_use=yes
51030 else
51031 glibcxx_cv_func_log10l_use=no
51032 fi
51033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51034 ac_ext=c
51035 ac_cpp='$CPP $CPPFLAGS'
51036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51039
51040
51041 fi
51042
51043 fi
51044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51045 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51046
51047 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51048 for ac_func in log10l
51049 do :
51050 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51051 if test "x$ac_cv_func_log10l" = x""yes; then :
51052 cat >>confdefs.h <<_ACEOF
51053 #define HAVE_LOG10L 1
51054 _ACEOF
51055
51056 fi
51057 done
51058
51059 else
51060
51061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51062 $as_echo_n "checking for _log10l declaration... " >&6; }
51063 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51064 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51065 $as_echo_n "(cached) " >&6
51066 else
51067
51068
51069 ac_ext=cpp
51070 ac_cpp='$CXXCPP $CPPFLAGS'
51071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51074
51075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51076 /* end confdefs.h. */
51077 #include <math.h>
51078 #ifdef HAVE_IEEEFP_H
51079 #include <ieeefp.h>
51080 #endif
51081
51082 int
51083 main ()
51084 {
51085 _log10l(0);
51086 ;
51087 return 0;
51088 }
51089 _ACEOF
51090 if ac_fn_cxx_try_compile "$LINENO"; then :
51091 glibcxx_cv_func__log10l_use=yes
51092 else
51093 glibcxx_cv_func__log10l_use=no
51094 fi
51095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51096 ac_ext=c
51097 ac_cpp='$CPP $CPPFLAGS'
51098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51101
51102
51103 fi
51104
51105 fi
51106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51107 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51108
51109 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51110 for ac_func in _log10l
51111 do :
51112 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51113 if test "x$ac_cv_func__log10l" = x""yes; then :
51114 cat >>confdefs.h <<_ACEOF
51115 #define HAVE__LOG10L 1
51116 _ACEOF
51117
51118 fi
51119 done
51120
51121 fi
51122 fi
51123
51124
51125
51126
51127
51128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51129 $as_echo_n "checking for modfl declaration... " >&6; }
51130 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51131 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51132 $as_echo_n "(cached) " >&6
51133 else
51134
51135
51136 ac_ext=cpp
51137 ac_cpp='$CXXCPP $CPPFLAGS'
51138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51141
51142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51143 /* end confdefs.h. */
51144 #include <math.h>
51145 int
51146 main ()
51147 {
51148 modfl(0, 0);
51149 ;
51150 return 0;
51151 }
51152 _ACEOF
51153 if ac_fn_cxx_try_compile "$LINENO"; then :
51154 glibcxx_cv_func_modfl_use=yes
51155 else
51156 glibcxx_cv_func_modfl_use=no
51157 fi
51158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51159 ac_ext=c
51160 ac_cpp='$CPP $CPPFLAGS'
51161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51164
51165
51166 fi
51167
51168 fi
51169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51170 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51171
51172 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51173 for ac_func in modfl
51174 do :
51175 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51176 if test "x$ac_cv_func_modfl" = x""yes; then :
51177 cat >>confdefs.h <<_ACEOF
51178 #define HAVE_MODFL 1
51179 _ACEOF
51180
51181 fi
51182 done
51183
51184 else
51185
51186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51187 $as_echo_n "checking for _modfl declaration... " >&6; }
51188 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51189 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51190 $as_echo_n "(cached) " >&6
51191 else
51192
51193
51194 ac_ext=cpp
51195 ac_cpp='$CXXCPP $CPPFLAGS'
51196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51199
51200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51201 /* end confdefs.h. */
51202 #include <math.h>
51203 int
51204 main ()
51205 {
51206 _modfl(0, 0);
51207 ;
51208 return 0;
51209 }
51210 _ACEOF
51211 if ac_fn_cxx_try_compile "$LINENO"; then :
51212 glibcxx_cv_func__modfl_use=yes
51213 else
51214 glibcxx_cv_func__modfl_use=no
51215 fi
51216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51217 ac_ext=c
51218 ac_cpp='$CPP $CPPFLAGS'
51219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51222
51223
51224 fi
51225
51226 fi
51227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51228 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51229
51230 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51231 for ac_func in _modfl
51232 do :
51233 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51234 if test "x$ac_cv_func__modfl" = x""yes; then :
51235 cat >>confdefs.h <<_ACEOF
51236 #define HAVE__MODFL 1
51237 _ACEOF
51238
51239 fi
51240 done
51241
51242 fi
51243 fi
51244
51245
51246
51247
51248
51249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51250 $as_echo_n "checking for powl declaration... " >&6; }
51251 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51252 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51253 $as_echo_n "(cached) " >&6
51254 else
51255
51256
51257 ac_ext=cpp
51258 ac_cpp='$CXXCPP $CPPFLAGS'
51259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51262
51263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51264 /* end confdefs.h. */
51265 #include <math.h>
51266 int
51267 main ()
51268 {
51269 powl(0, 0);
51270 ;
51271 return 0;
51272 }
51273 _ACEOF
51274 if ac_fn_cxx_try_compile "$LINENO"; then :
51275 glibcxx_cv_func_powl_use=yes
51276 else
51277 glibcxx_cv_func_powl_use=no
51278 fi
51279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51280 ac_ext=c
51281 ac_cpp='$CPP $CPPFLAGS'
51282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51285
51286
51287 fi
51288
51289 fi
51290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51291 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51292
51293 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51294 for ac_func in powl
51295 do :
51296 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51297 if test "x$ac_cv_func_powl" = x""yes; then :
51298 cat >>confdefs.h <<_ACEOF
51299 #define HAVE_POWL 1
51300 _ACEOF
51301
51302 fi
51303 done
51304
51305 else
51306
51307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51308 $as_echo_n "checking for _powl declaration... " >&6; }
51309 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51310 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51311 $as_echo_n "(cached) " >&6
51312 else
51313
51314
51315 ac_ext=cpp
51316 ac_cpp='$CXXCPP $CPPFLAGS'
51317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51320
51321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51322 /* end confdefs.h. */
51323 #include <math.h>
51324 int
51325 main ()
51326 {
51327 _powl(0, 0);
51328 ;
51329 return 0;
51330 }
51331 _ACEOF
51332 if ac_fn_cxx_try_compile "$LINENO"; then :
51333 glibcxx_cv_func__powl_use=yes
51334 else
51335 glibcxx_cv_func__powl_use=no
51336 fi
51337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51338 ac_ext=c
51339 ac_cpp='$CPP $CPPFLAGS'
51340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51343
51344
51345 fi
51346
51347 fi
51348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51349 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51350
51351 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51352 for ac_func in _powl
51353 do :
51354 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51355 if test "x$ac_cv_func__powl" = x""yes; then :
51356 cat >>confdefs.h <<_ACEOF
51357 #define HAVE__POWL 1
51358 _ACEOF
51359
51360 fi
51361 done
51362
51363 fi
51364 fi
51365
51366
51367
51368
51369
51370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51371 $as_echo_n "checking for sqrtl declaration... " >&6; }
51372 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51373 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51374 $as_echo_n "(cached) " >&6
51375 else
51376
51377
51378 ac_ext=cpp
51379 ac_cpp='$CXXCPP $CPPFLAGS'
51380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51383
51384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51385 /* end confdefs.h. */
51386 #include <math.h>
51387 #ifdef HAVE_IEEEFP_H
51388 #include <ieeefp.h>
51389 #endif
51390
51391 int
51392 main ()
51393 {
51394 sqrtl(0);
51395 ;
51396 return 0;
51397 }
51398 _ACEOF
51399 if ac_fn_cxx_try_compile "$LINENO"; then :
51400 glibcxx_cv_func_sqrtl_use=yes
51401 else
51402 glibcxx_cv_func_sqrtl_use=no
51403 fi
51404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51405 ac_ext=c
51406 ac_cpp='$CPP $CPPFLAGS'
51407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51410
51411
51412 fi
51413
51414 fi
51415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51416 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51417
51418 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51419 for ac_func in sqrtl
51420 do :
51421 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51422 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51423 cat >>confdefs.h <<_ACEOF
51424 #define HAVE_SQRTL 1
51425 _ACEOF
51426
51427 fi
51428 done
51429
51430 else
51431
51432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51433 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51434 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51435 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51436 $as_echo_n "(cached) " >&6
51437 else
51438
51439
51440 ac_ext=cpp
51441 ac_cpp='$CXXCPP $CPPFLAGS'
51442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51445
51446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51447 /* end confdefs.h. */
51448 #include <math.h>
51449 #ifdef HAVE_IEEEFP_H
51450 #include <ieeefp.h>
51451 #endif
51452
51453 int
51454 main ()
51455 {
51456 _sqrtl(0);
51457 ;
51458 return 0;
51459 }
51460 _ACEOF
51461 if ac_fn_cxx_try_compile "$LINENO"; then :
51462 glibcxx_cv_func__sqrtl_use=yes
51463 else
51464 glibcxx_cv_func__sqrtl_use=no
51465 fi
51466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51467 ac_ext=c
51468 ac_cpp='$CPP $CPPFLAGS'
51469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51472
51473
51474 fi
51475
51476 fi
51477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51478 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51479
51480 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51481 for ac_func in _sqrtl
51482 do :
51483 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51484 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51485 cat >>confdefs.h <<_ACEOF
51486 #define HAVE__SQRTL 1
51487 _ACEOF
51488
51489 fi
51490 done
51491
51492 fi
51493 fi
51494
51495
51496
51497
51498
51499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51500 $as_echo_n "checking for sincosl declaration... " >&6; }
51501 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51502 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51503 $as_echo_n "(cached) " >&6
51504 else
51505
51506
51507 ac_ext=cpp
51508 ac_cpp='$CXXCPP $CPPFLAGS'
51509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51512
51513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51514 /* end confdefs.h. */
51515 #include <math.h>
51516 int
51517 main ()
51518 {
51519 sincosl(0, 0, 0);
51520 ;
51521 return 0;
51522 }
51523 _ACEOF
51524 if ac_fn_cxx_try_compile "$LINENO"; then :
51525 glibcxx_cv_func_sincosl_use=yes
51526 else
51527 glibcxx_cv_func_sincosl_use=no
51528 fi
51529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51530 ac_ext=c
51531 ac_cpp='$CPP $CPPFLAGS'
51532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51535
51536
51537 fi
51538
51539 fi
51540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51541 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51542
51543 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51544 for ac_func in sincosl
51545 do :
51546 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51547 if test "x$ac_cv_func_sincosl" = x""yes; then :
51548 cat >>confdefs.h <<_ACEOF
51549 #define HAVE_SINCOSL 1
51550 _ACEOF
51551
51552 fi
51553 done
51554
51555 else
51556
51557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51558 $as_echo_n "checking for _sincosl declaration... " >&6; }
51559 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51560 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51561 $as_echo_n "(cached) " >&6
51562 else
51563
51564
51565 ac_ext=cpp
51566 ac_cpp='$CXXCPP $CPPFLAGS'
51567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51570
51571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51572 /* end confdefs.h. */
51573 #include <math.h>
51574 int
51575 main ()
51576 {
51577 _sincosl(0, 0, 0);
51578 ;
51579 return 0;
51580 }
51581 _ACEOF
51582 if ac_fn_cxx_try_compile "$LINENO"; then :
51583 glibcxx_cv_func__sincosl_use=yes
51584 else
51585 glibcxx_cv_func__sincosl_use=no
51586 fi
51587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51588 ac_ext=c
51589 ac_cpp='$CPP $CPPFLAGS'
51590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51593
51594
51595 fi
51596
51597 fi
51598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51599 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51600
51601 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51602 for ac_func in _sincosl
51603 do :
51604 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51605 if test "x$ac_cv_func__sincosl" = x""yes; then :
51606 cat >>confdefs.h <<_ACEOF
51607 #define HAVE__SINCOSL 1
51608 _ACEOF
51609
51610 fi
51611 done
51612
51613 fi
51614 fi
51615
51616
51617
51618
51619
51620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51621 $as_echo_n "checking for finitel declaration... " >&6; }
51622 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51623 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51624 $as_echo_n "(cached) " >&6
51625 else
51626
51627
51628 ac_ext=cpp
51629 ac_cpp='$CXXCPP $CPPFLAGS'
51630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51633
51634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51635 /* end confdefs.h. */
51636 #include <math.h>
51637 #ifdef HAVE_IEEEFP_H
51638 #include <ieeefp.h>
51639 #endif
51640
51641 int
51642 main ()
51643 {
51644 finitel(0);
51645 ;
51646 return 0;
51647 }
51648 _ACEOF
51649 if ac_fn_cxx_try_compile "$LINENO"; then :
51650 glibcxx_cv_func_finitel_use=yes
51651 else
51652 glibcxx_cv_func_finitel_use=no
51653 fi
51654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51655 ac_ext=c
51656 ac_cpp='$CPP $CPPFLAGS'
51657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51660
51661
51662 fi
51663
51664 fi
51665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51666 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51667
51668 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51669 for ac_func in finitel
51670 do :
51671 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51672 if test "x$ac_cv_func_finitel" = x""yes; then :
51673 cat >>confdefs.h <<_ACEOF
51674 #define HAVE_FINITEL 1
51675 _ACEOF
51676
51677 fi
51678 done
51679
51680 else
51681
51682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51683 $as_echo_n "checking for _finitel declaration... " >&6; }
51684 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51685 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51686 $as_echo_n "(cached) " >&6
51687 else
51688
51689
51690 ac_ext=cpp
51691 ac_cpp='$CXXCPP $CPPFLAGS'
51692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51695
51696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51697 /* end confdefs.h. */
51698 #include <math.h>
51699 #ifdef HAVE_IEEEFP_H
51700 #include <ieeefp.h>
51701 #endif
51702
51703 int
51704 main ()
51705 {
51706 _finitel(0);
51707 ;
51708 return 0;
51709 }
51710 _ACEOF
51711 if ac_fn_cxx_try_compile "$LINENO"; then :
51712 glibcxx_cv_func__finitel_use=yes
51713 else
51714 glibcxx_cv_func__finitel_use=no
51715 fi
51716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51717 ac_ext=c
51718 ac_cpp='$CPP $CPPFLAGS'
51719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51722
51723
51724 fi
51725
51726 fi
51727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51728 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51729
51730 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51731 for ac_func in _finitel
51732 do :
51733 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51734 if test "x$ac_cv_func__finitel" = x""yes; then :
51735 cat >>confdefs.h <<_ACEOF
51736 #define HAVE__FINITEL 1
51737 _ACEOF
51738
51739 fi
51740 done
51741
51742 fi
51743 fi
51744
51745
51746
51747
51748 LIBS="$ac_save_LIBS"
51749 CXXFLAGS="$ac_save_CXXFLAGS"
51750
51751
51752 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51753 ac_save_CXXFLAGS="$CXXFLAGS"
51754 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51755
51756
51757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51758 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51759 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51760 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51761 $as_echo_n "(cached) " >&6
51762 else
51763
51764
51765 ac_ext=cpp
51766 ac_cpp='$CXXCPP $CPPFLAGS'
51767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51770
51771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51772 /* end confdefs.h. */
51773 #include <stdlib.h>
51774 int
51775 main ()
51776 {
51777 at_quick_exit(0);
51778 ;
51779 return 0;
51780 }
51781 _ACEOF
51782 if ac_fn_cxx_try_compile "$LINENO"; then :
51783 glibcxx_cv_func_at_quick_exit_use=yes
51784 else
51785 glibcxx_cv_func_at_quick_exit_use=no
51786 fi
51787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51788 ac_ext=c
51789 ac_cpp='$CPP $CPPFLAGS'
51790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51793
51794
51795 fi
51796
51797 fi
51798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51799 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51800 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51801 for ac_func in at_quick_exit
51802 do :
51803 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51804 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51805 cat >>confdefs.h <<_ACEOF
51806 #define HAVE_AT_QUICK_EXIT 1
51807 _ACEOF
51808
51809 fi
51810 done
51811
51812 fi
51813
51814
51815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51816 $as_echo_n "checking for quick_exit declaration... " >&6; }
51817 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51818 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51819 $as_echo_n "(cached) " >&6
51820 else
51821
51822
51823 ac_ext=cpp
51824 ac_cpp='$CXXCPP $CPPFLAGS'
51825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51828
51829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51830 /* end confdefs.h. */
51831 #include <stdlib.h>
51832 int
51833 main ()
51834 {
51835 quick_exit(0);
51836 ;
51837 return 0;
51838 }
51839 _ACEOF
51840 if ac_fn_cxx_try_compile "$LINENO"; then :
51841 glibcxx_cv_func_quick_exit_use=yes
51842 else
51843 glibcxx_cv_func_quick_exit_use=no
51844 fi
51845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51846 ac_ext=c
51847 ac_cpp='$CPP $CPPFLAGS'
51848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51851
51852
51853 fi
51854
51855 fi
51856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51857 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51858 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51859 for ac_func in quick_exit
51860 do :
51861 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51862 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51863 cat >>confdefs.h <<_ACEOF
51864 #define HAVE_QUICK_EXIT 1
51865 _ACEOF
51866
51867 fi
51868 done
51869
51870 fi
51871
51872
51873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51874 $as_echo_n "checking for strtold declaration... " >&6; }
51875 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51876 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51877 $as_echo_n "(cached) " >&6
51878 else
51879
51880
51881 ac_ext=cpp
51882 ac_cpp='$CXXCPP $CPPFLAGS'
51883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51886
51887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51888 /* end confdefs.h. */
51889 #include <stdlib.h>
51890 int
51891 main ()
51892 {
51893 strtold(0, 0);
51894 ;
51895 return 0;
51896 }
51897 _ACEOF
51898 if ac_fn_cxx_try_compile "$LINENO"; then :
51899 glibcxx_cv_func_strtold_use=yes
51900 else
51901 glibcxx_cv_func_strtold_use=no
51902 fi
51903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51904 ac_ext=c
51905 ac_cpp='$CPP $CPPFLAGS'
51906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51909
51910
51911 fi
51912
51913 fi
51914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51915 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51916 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51917 for ac_func in strtold
51918 do :
51919 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51920 if test "x$ac_cv_func_strtold" = x""yes; then :
51921 cat >>confdefs.h <<_ACEOF
51922 #define HAVE_STRTOLD 1
51923 _ACEOF
51924
51925 fi
51926 done
51927
51928 fi
51929
51930
51931
51932
51933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51934 $as_echo_n "checking for strtof declaration... " >&6; }
51935 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51936 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51937 $as_echo_n "(cached) " >&6
51938 else
51939
51940
51941 ac_ext=cpp
51942 ac_cpp='$CXXCPP $CPPFLAGS'
51943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51946
51947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51948 /* end confdefs.h. */
51949 #include <stdlib.h>
51950 int
51951 main ()
51952 {
51953 strtof(0, 0);
51954 ;
51955 return 0;
51956 }
51957 _ACEOF
51958 if ac_fn_cxx_try_compile "$LINENO"; then :
51959 glibcxx_cv_func_strtof_use=yes
51960 else
51961 glibcxx_cv_func_strtof_use=no
51962 fi
51963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51964 ac_ext=c
51965 ac_cpp='$CPP $CPPFLAGS'
51966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51969
51970
51971 fi
51972
51973 fi
51974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51975 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51976 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51977 for ac_func in strtof
51978 do :
51979 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51980 if test "x$ac_cv_func_strtof" = x""yes; then :
51981 cat >>confdefs.h <<_ACEOF
51982 #define HAVE_STRTOF 1
51983 _ACEOF
51984
51985 fi
51986 done
51987
51988 fi
51989
51990
51991
51992
51993 CXXFLAGS="$ac_save_CXXFLAGS"
51994
51995 ;;
51996
51997 *djgpp)
51998 # GLIBCXX_CHECK_MATH_SUPPORT
51999 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52000
52001 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52002
52003 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52004
52005 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52006
52007 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52008
52009 ;;
52010
52011 *-freebsd*)
52012 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52013
52014
52015 # If we're not using GNU ld, then there's no point in even trying these
52016 # tests. Check for that first. We should have already tested for gld
52017 # by now (in libtool), but require it now just to be safe...
52018 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52019 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52020
52021
52022
52023 # The name set by libtool depends on the version of libtool. Shame on us
52024 # for depending on an impl detail, but c'est la vie. Older versions used
52025 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52026 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52027 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52028 # set (hence we're using an older libtool), then set it.
52029 if test x${with_gnu_ld+set} != xset; then
52030 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52031 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52032 with_gnu_ld=no
52033 else
52034 with_gnu_ld=$ac_cv_prog_gnu_ld
52035 fi
52036 fi
52037
52038 # Start by getting the version number. I think the libtool test already
52039 # does some of this, but throws away the result.
52040 glibcxx_ld_is_gold=no
52041 if test x"$with_gnu_ld" = x"yes"; then
52042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52043 $as_echo_n "checking for ld version... " >&6; }
52044
52045 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52046 glibcxx_ld_is_gold=yes
52047 fi
52048 ldver=`$LD --version 2>/dev/null |
52049 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'`
52050
52051 glibcxx_gnu_ld_version=`echo $ldver | \
52052 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52054 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52055 fi
52056
52057 # Set --gc-sections.
52058 glibcxx_have_gc_sections=no
52059 if test "$glibcxx_ld_is_gold" = "yes"; then
52060 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52061 glibcxx_have_gc_sections=yes
52062 fi
52063 else
52064 glibcxx_gcsections_min_ld=21602
52065 if test x"$with_gnu_ld" = x"yes" &&
52066 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52067 glibcxx_have_gc_sections=yes
52068 fi
52069 fi
52070 if test "$glibcxx_have_gc_sections" = "yes"; then
52071 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52072 # NB: This flag only works reliably after 2.16.1. Configure tests
52073 # for this are difficult, so hard wire a value that should work.
52074
52075 ac_test_CFLAGS="${CFLAGS+set}"
52076 ac_save_CFLAGS="$CFLAGS"
52077 CFLAGS='-Wl,--gc-sections'
52078
52079 # Check for -Wl,--gc-sections
52080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52081 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52082 if test x$gcc_no_link = xyes; then
52083 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52084 fi
52085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52086 /* end confdefs.h. */
52087 int one(void) { return 1; }
52088 int two(void) { return 2; }
52089
52090 int
52091 main ()
52092 {
52093 two();
52094 ;
52095 return 0;
52096 }
52097 _ACEOF
52098 if ac_fn_c_try_link "$LINENO"; then :
52099 ac_gcsections=yes
52100 else
52101 ac_gcsections=no
52102 fi
52103 rm -f core conftest.err conftest.$ac_objext \
52104 conftest$ac_exeext conftest.$ac_ext
52105 if test "$ac_gcsections" = "yes"; then
52106 rm -f conftest.c
52107 touch conftest.c
52108 if $CC -c conftest.c; then
52109 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52110 grep "Warning: gc-sections option ignored" > /dev/null; then
52111 ac_gcsections=no
52112 fi
52113 fi
52114 rm -f conftest.c conftest.o conftest
52115 fi
52116 if test "$ac_gcsections" = "yes"; then
52117 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52118 fi
52119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52120 $as_echo "$ac_gcsections" >&6; }
52121
52122 if test "$ac_test_CFLAGS" = set; then
52123 CFLAGS="$ac_save_CFLAGS"
52124 else
52125 # this is the suspicious part
52126 CFLAGS=''
52127 fi
52128 fi
52129
52130 # Set -z,relro.
52131 # Note this is only for shared objects.
52132 ac_ld_relro=no
52133 if test x"$with_gnu_ld" = x"yes"; then
52134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52135 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52136 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52137 if test -n "$cxx_z_relo"; then
52138 OPT_LDFLAGS="-Wl,-z,relro"
52139 ac_ld_relro=yes
52140 fi
52141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52142 $as_echo "$ac_ld_relro" >&6; }
52143 fi
52144
52145 # Set linker optimization flags.
52146 if test x"$with_gnu_ld" = x"yes"; then
52147 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52148 fi
52149
52150
52151
52152
52153 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52154
52155 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52156
52157 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52158
52159 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52160
52161 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52162
52163 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52164
52165 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52166
52167 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52168
52169 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52170
52171
52172 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52173
52174 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52175
52176 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52177
52178 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52179
52180 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52181
52182 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52183
52184 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52185
52186 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52187
52188 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52189
52190 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52191
52192 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52193
52194 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52195
52196 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52197
52198 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52199
52200 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52201
52202 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52203
52204 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52205
52206 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52207
52208 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52209
52210 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52211
52212 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52213
52214 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52215
52216 if test x"long_double_math_on_this_cpu" = x"yes"; then
52217 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52218
52219 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52220
52221 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52222
52223 fi
52224 ;;
52225 *-hpux*)
52226 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52227
52228
52229 # If we're not using GNU ld, then there's no point in even trying these
52230 # tests. Check for that first. We should have already tested for gld
52231 # by now (in libtool), but require it now just to be safe...
52232 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52233 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52234
52235
52236
52237 # The name set by libtool depends on the version of libtool. Shame on us
52238 # for depending on an impl detail, but c'est la vie. Older versions used
52239 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52240 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52241 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52242 # set (hence we're using an older libtool), then set it.
52243 if test x${with_gnu_ld+set} != xset; then
52244 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52245 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52246 with_gnu_ld=no
52247 else
52248 with_gnu_ld=$ac_cv_prog_gnu_ld
52249 fi
52250 fi
52251
52252 # Start by getting the version number. I think the libtool test already
52253 # does some of this, but throws away the result.
52254 glibcxx_ld_is_gold=no
52255 if test x"$with_gnu_ld" = x"yes"; then
52256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52257 $as_echo_n "checking for ld version... " >&6; }
52258
52259 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52260 glibcxx_ld_is_gold=yes
52261 fi
52262 ldver=`$LD --version 2>/dev/null |
52263 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'`
52264
52265 glibcxx_gnu_ld_version=`echo $ldver | \
52266 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52268 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52269 fi
52270
52271 # Set --gc-sections.
52272 glibcxx_have_gc_sections=no
52273 if test "$glibcxx_ld_is_gold" = "yes"; then
52274 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52275 glibcxx_have_gc_sections=yes
52276 fi
52277 else
52278 glibcxx_gcsections_min_ld=21602
52279 if test x"$with_gnu_ld" = x"yes" &&
52280 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52281 glibcxx_have_gc_sections=yes
52282 fi
52283 fi
52284 if test "$glibcxx_have_gc_sections" = "yes"; then
52285 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52286 # NB: This flag only works reliably after 2.16.1. Configure tests
52287 # for this are difficult, so hard wire a value that should work.
52288
52289 ac_test_CFLAGS="${CFLAGS+set}"
52290 ac_save_CFLAGS="$CFLAGS"
52291 CFLAGS='-Wl,--gc-sections'
52292
52293 # Check for -Wl,--gc-sections
52294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52295 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52296 if test x$gcc_no_link = xyes; then
52297 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52298 fi
52299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52300 /* end confdefs.h. */
52301 int one(void) { return 1; }
52302 int two(void) { return 2; }
52303
52304 int
52305 main ()
52306 {
52307 two();
52308 ;
52309 return 0;
52310 }
52311 _ACEOF
52312 if ac_fn_c_try_link "$LINENO"; then :
52313 ac_gcsections=yes
52314 else
52315 ac_gcsections=no
52316 fi
52317 rm -f core conftest.err conftest.$ac_objext \
52318 conftest$ac_exeext conftest.$ac_ext
52319 if test "$ac_gcsections" = "yes"; then
52320 rm -f conftest.c
52321 touch conftest.c
52322 if $CC -c conftest.c; then
52323 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52324 grep "Warning: gc-sections option ignored" > /dev/null; then
52325 ac_gcsections=no
52326 fi
52327 fi
52328 rm -f conftest.c conftest.o conftest
52329 fi
52330 if test "$ac_gcsections" = "yes"; then
52331 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52332 fi
52333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52334 $as_echo "$ac_gcsections" >&6; }
52335
52336 if test "$ac_test_CFLAGS" = set; then
52337 CFLAGS="$ac_save_CFLAGS"
52338 else
52339 # this is the suspicious part
52340 CFLAGS=''
52341 fi
52342 fi
52343
52344 # Set -z,relro.
52345 # Note this is only for shared objects.
52346 ac_ld_relro=no
52347 if test x"$with_gnu_ld" = x"yes"; then
52348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52349 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52350 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52351 if test -n "$cxx_z_relo"; then
52352 OPT_LDFLAGS="-Wl,-z,relro"
52353 ac_ld_relro=yes
52354 fi
52355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52356 $as_echo "$ac_ld_relro" >&6; }
52357 fi
52358
52359 # Set linker optimization flags.
52360 if test x"$with_gnu_ld" = x"yes"; then
52361 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52362 fi
52363
52364
52365
52366
52367
52368 # GLIBCXX_CHECK_MATH_SUPPORT
52369 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52370
52371 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52372
52373 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52374
52375 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52376
52377 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52378
52379 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52380
52381 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52382
52383 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52384
52385 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52386
52387 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52388
52389 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52390
52391 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52392
52393 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52394
52395 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52396
52397 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52398
52399 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52400
52401 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52402
52403 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52404
52405 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52406
52407 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52408
52409 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52410
52411
52412 # GLIBCXX_CHECK_STDLIB_SUPPORT
52413 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52414
52415
52416
52417
52418 # Check whether --enable-tls was given.
52419 if test "${enable_tls+set}" = set; then :
52420 enableval=$enable_tls;
52421 case "$enableval" in
52422 yes|no) ;;
52423 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52424 esac
52425
52426 else
52427 enable_tls=yes
52428 fi
52429
52430
52431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52432 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52433 if test "${gcc_cv_have_tls+set}" = set; then :
52434 $as_echo_n "(cached) " >&6
52435 else
52436
52437 if test "$cross_compiling" = yes; then :
52438 if test x$gcc_no_link = xyes; then
52439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52440 fi
52441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52442 /* end confdefs.h. */
52443 __thread int a; int b; int main() { return a = b; }
52444 _ACEOF
52445 if ac_fn_c_try_link "$LINENO"; then :
52446 chktls_save_LDFLAGS="$LDFLAGS"
52447 case $host in
52448 *-*-linux*)
52449 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52450 ;;
52451 esac
52452 chktls_save_CFLAGS="$CFLAGS"
52453 CFLAGS="-fPIC $CFLAGS"
52454 if test x$gcc_no_link = xyes; then
52455 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52456 fi
52457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52458 /* end confdefs.h. */
52459 int f() { return 0; }
52460 _ACEOF
52461 if ac_fn_c_try_link "$LINENO"; then :
52462 if test x$gcc_no_link = xyes; then
52463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52464 fi
52465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52466 /* end confdefs.h. */
52467 __thread int a; int b; int f() { return a = b; }
52468 _ACEOF
52469 if ac_fn_c_try_link "$LINENO"; then :
52470 gcc_cv_have_tls=yes
52471 else
52472 gcc_cv_have_tls=no
52473 fi
52474 rm -f core conftest.err conftest.$ac_objext \
52475 conftest$ac_exeext conftest.$ac_ext
52476 else
52477 gcc_cv_have_tls=yes
52478 fi
52479 rm -f core conftest.err conftest.$ac_objext \
52480 conftest$ac_exeext conftest.$ac_ext
52481 CFLAGS="$chktls_save_CFLAGS"
52482 LDFLAGS="$chktls_save_LDFLAGS"
52483 else
52484 gcc_cv_have_tls=no
52485 fi
52486 rm -f core conftest.err conftest.$ac_objext \
52487 conftest$ac_exeext conftest.$ac_ext
52488
52489
52490 else
52491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52492 /* end confdefs.h. */
52493 __thread int a; int b; int main() { return a = b; }
52494 _ACEOF
52495 if ac_fn_c_try_run "$LINENO"; then :
52496 chktls_save_LDFLAGS="$LDFLAGS"
52497 LDFLAGS="-static $LDFLAGS"
52498 if test x$gcc_no_link = xyes; then
52499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52500 fi
52501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52502 /* end confdefs.h. */
52503 int main() { return 0; }
52504 _ACEOF
52505 if ac_fn_c_try_link "$LINENO"; then :
52506 if test "$cross_compiling" = yes; then :
52507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52509 as_fn_error "cannot run test program while cross compiling
52510 See \`config.log' for more details." "$LINENO" 5; }
52511 else
52512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52513 /* end confdefs.h. */
52514 __thread int a; int b; int main() { return a = b; }
52515 _ACEOF
52516 if ac_fn_c_try_run "$LINENO"; then :
52517 gcc_cv_have_tls=yes
52518 else
52519 gcc_cv_have_tls=no
52520 fi
52521 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52522 conftest.$ac_objext conftest.beam conftest.$ac_ext
52523 fi
52524
52525 else
52526 gcc_cv_have_tls=yes
52527 fi
52528 rm -f core conftest.err conftest.$ac_objext \
52529 conftest$ac_exeext conftest.$ac_ext
52530 LDFLAGS="$chktls_save_LDFLAGS"
52531 if test $gcc_cv_have_tls = yes; then
52532 chktls_save_CFLAGS="$CFLAGS"
52533 thread_CFLAGS=failed
52534 for flag in '' '-pthread' '-lpthread'; do
52535 CFLAGS="$flag $chktls_save_CFLAGS"
52536 if test x$gcc_no_link = xyes; then
52537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52538 fi
52539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52540 /* end confdefs.h. */
52541 #include <pthread.h>
52542 void *g(void *d) { return NULL; }
52543 int
52544 main ()
52545 {
52546 pthread_t t; pthread_create(&t,NULL,g,NULL);
52547 ;
52548 return 0;
52549 }
52550 _ACEOF
52551 if ac_fn_c_try_link "$LINENO"; then :
52552 thread_CFLAGS="$flag"
52553 fi
52554 rm -f core conftest.err conftest.$ac_objext \
52555 conftest$ac_exeext conftest.$ac_ext
52556 if test "X$thread_CFLAGS" != Xfailed; then
52557 break
52558 fi
52559 done
52560 CFLAGS="$chktls_save_CFLAGS"
52561 if test "X$thread_CFLAGS" != Xfailed; then
52562 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52563 if test "$cross_compiling" = yes; then :
52564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52566 as_fn_error "cannot run test program while cross compiling
52567 See \`config.log' for more details." "$LINENO" 5; }
52568 else
52569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52570 /* end confdefs.h. */
52571 #include <pthread.h>
52572 __thread int a;
52573 static int *volatile a_in_other_thread;
52574 static void *
52575 thread_func (void *arg)
52576 {
52577 a_in_other_thread = &a;
52578 return (void *)0;
52579 }
52580 int
52581 main ()
52582 {
52583 pthread_t thread;
52584 void *thread_retval;
52585 int *volatile a_in_main_thread;
52586 a_in_main_thread = &a;
52587 if (pthread_create (&thread, (pthread_attr_t *)0,
52588 thread_func, (void *)0))
52589 return 0;
52590 if (pthread_join (thread, &thread_retval))
52591 return 0;
52592 return (a_in_other_thread == a_in_main_thread);
52593 ;
52594 return 0;
52595 }
52596 _ACEOF
52597 if ac_fn_c_try_run "$LINENO"; then :
52598 gcc_cv_have_tls=yes
52599 else
52600 gcc_cv_have_tls=no
52601 fi
52602 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52603 conftest.$ac_objext conftest.beam conftest.$ac_ext
52604 fi
52605
52606 CFLAGS="$chktls_save_CFLAGS"
52607 fi
52608 fi
52609 else
52610 gcc_cv_have_tls=no
52611 fi
52612 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52613 conftest.$ac_objext conftest.beam conftest.$ac_ext
52614 fi
52615
52616 fi
52617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52618 $as_echo "$gcc_cv_have_tls" >&6; }
52619 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52620
52621 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52622
52623 fi
52624 case "$target" in
52625 *-hpux10*)
52626 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52627
52628 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52629
52630 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52631
52632 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52633
52634 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52635
52636 ;;
52637 esac
52638 ;;
52639 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52640
52641 # All these tests are for C++; save the language and the compiler flags.
52642 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52643 # found in GLIBCXX_CONFIGURE.
52644
52645 ac_ext=cpp
52646 ac_cpp='$CXXCPP $CPPFLAGS'
52647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52650
52651 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52652 ac_save_CXXFLAGS="$CXXFLAGS"
52653
52654 # Check for maintainer-mode bits.
52655 if test x"$USE_MAINTAINER_MODE" = xno; then
52656 WERROR=''
52657 else
52658 WERROR='-Werror'
52659 fi
52660
52661 # Check for -ffunction-sections -fdata-sections
52662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52663 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52664 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52666 /* end confdefs.h. */
52667 int foo; void bar() { };
52668 int
52669 main ()
52670 {
52671
52672 ;
52673 return 0;
52674 }
52675 _ACEOF
52676 if ac_fn_cxx_try_compile "$LINENO"; then :
52677 ac_fdsections=yes
52678 else
52679 ac_fdsections=no
52680 fi
52681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52682 if test "$ac_test_CXXFLAGS" = set; then
52683 CXXFLAGS="$ac_save_CXXFLAGS"
52684 else
52685 # this is the suspicious part
52686 CXXFLAGS=''
52687 fi
52688 if test x"$ac_fdsections" = x"yes"; then
52689 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52690 fi
52691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52692 $as_echo "$ac_fdsections" >&6; }
52693
52694 ac_ext=c
52695 ac_cpp='$CPP $CPPFLAGS'
52696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52699
52700
52701
52702
52703
52704 # If we're not using GNU ld, then there's no point in even trying these
52705 # tests. Check for that first. We should have already tested for gld
52706 # by now (in libtool), but require it now just to be safe...
52707 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52708 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52709
52710
52711
52712 # The name set by libtool depends on the version of libtool. Shame on us
52713 # for depending on an impl detail, but c'est la vie. Older versions used
52714 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52715 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52716 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52717 # set (hence we're using an older libtool), then set it.
52718 if test x${with_gnu_ld+set} != xset; then
52719 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52720 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52721 with_gnu_ld=no
52722 else
52723 with_gnu_ld=$ac_cv_prog_gnu_ld
52724 fi
52725 fi
52726
52727 # Start by getting the version number. I think the libtool test already
52728 # does some of this, but throws away the result.
52729 glibcxx_ld_is_gold=no
52730 if test x"$with_gnu_ld" = x"yes"; then
52731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52732 $as_echo_n "checking for ld version... " >&6; }
52733
52734 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52735 glibcxx_ld_is_gold=yes
52736 fi
52737 ldver=`$LD --version 2>/dev/null |
52738 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'`
52739
52740 glibcxx_gnu_ld_version=`echo $ldver | \
52741 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52743 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52744 fi
52745
52746 # Set --gc-sections.
52747 glibcxx_have_gc_sections=no
52748 if test "$glibcxx_ld_is_gold" = "yes"; then
52749 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52750 glibcxx_have_gc_sections=yes
52751 fi
52752 else
52753 glibcxx_gcsections_min_ld=21602
52754 if test x"$with_gnu_ld" = x"yes" &&
52755 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52756 glibcxx_have_gc_sections=yes
52757 fi
52758 fi
52759 if test "$glibcxx_have_gc_sections" = "yes"; then
52760 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52761 # NB: This flag only works reliably after 2.16.1. Configure tests
52762 # for this are difficult, so hard wire a value that should work.
52763
52764 ac_test_CFLAGS="${CFLAGS+set}"
52765 ac_save_CFLAGS="$CFLAGS"
52766 CFLAGS='-Wl,--gc-sections'
52767
52768 # Check for -Wl,--gc-sections
52769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52770 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52771 if test x$gcc_no_link = xyes; then
52772 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52773 fi
52774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52775 /* end confdefs.h. */
52776 int one(void) { return 1; }
52777 int two(void) { return 2; }
52778
52779 int
52780 main ()
52781 {
52782 two();
52783 ;
52784 return 0;
52785 }
52786 _ACEOF
52787 if ac_fn_c_try_link "$LINENO"; then :
52788 ac_gcsections=yes
52789 else
52790 ac_gcsections=no
52791 fi
52792 rm -f core conftest.err conftest.$ac_objext \
52793 conftest$ac_exeext conftest.$ac_ext
52794 if test "$ac_gcsections" = "yes"; then
52795 rm -f conftest.c
52796 touch conftest.c
52797 if $CC -c conftest.c; then
52798 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52799 grep "Warning: gc-sections option ignored" > /dev/null; then
52800 ac_gcsections=no
52801 fi
52802 fi
52803 rm -f conftest.c conftest.o conftest
52804 fi
52805 if test "$ac_gcsections" = "yes"; then
52806 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52807 fi
52808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52809 $as_echo "$ac_gcsections" >&6; }
52810
52811 if test "$ac_test_CFLAGS" = set; then
52812 CFLAGS="$ac_save_CFLAGS"
52813 else
52814 # this is the suspicious part
52815 CFLAGS=''
52816 fi
52817 fi
52818
52819 # Set -z,relro.
52820 # Note this is only for shared objects.
52821 ac_ld_relro=no
52822 if test x"$with_gnu_ld" = x"yes"; then
52823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52824 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52825 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52826 if test -n "$cxx_z_relo"; then
52827 OPT_LDFLAGS="-Wl,-z,relro"
52828 ac_ld_relro=yes
52829 fi
52830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52831 $as_echo "$ac_ld_relro" >&6; }
52832 fi
52833
52834 # Set linker optimization flags.
52835 if test x"$with_gnu_ld" = x"yes"; then
52836 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52837 fi
52838
52839
52840
52841
52842
52843 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52844 ac_save_CXXFLAGS="$CXXFLAGS"
52845 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52846
52847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52848 $as_echo_n "checking for sin in -lm... " >&6; }
52849 if test "${ac_cv_lib_m_sin+set}" = set; then :
52850 $as_echo_n "(cached) " >&6
52851 else
52852 ac_check_lib_save_LIBS=$LIBS
52853 LIBS="-lm $LIBS"
52854 if test x$gcc_no_link = xyes; then
52855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52856 fi
52857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52858 /* end confdefs.h. */
52859
52860 /* Override any GCC internal prototype to avoid an error.
52861 Use char because int might match the return type of a GCC
52862 builtin and then its argument prototype would still apply. */
52863 #ifdef __cplusplus
52864 extern "C"
52865 #endif
52866 char sin ();
52867 int
52868 main ()
52869 {
52870 return sin ();
52871 ;
52872 return 0;
52873 }
52874 _ACEOF
52875 if ac_fn_c_try_link "$LINENO"; then :
52876 ac_cv_lib_m_sin=yes
52877 else
52878 ac_cv_lib_m_sin=no
52879 fi
52880 rm -f core conftest.err conftest.$ac_objext \
52881 conftest$ac_exeext conftest.$ac_ext
52882 LIBS=$ac_check_lib_save_LIBS
52883 fi
52884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52885 $as_echo "$ac_cv_lib_m_sin" >&6; }
52886 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52887 libm="-lm"
52888 fi
52889
52890 ac_save_LIBS="$LIBS"
52891 LIBS="$LIBS $libm"
52892
52893
52894
52895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52896 $as_echo_n "checking for isinf declaration... " >&6; }
52897 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52898 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52899 $as_echo_n "(cached) " >&6
52900 else
52901
52902
52903 ac_ext=cpp
52904 ac_cpp='$CXXCPP $CPPFLAGS'
52905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52908
52909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52910 /* end confdefs.h. */
52911 #include <math.h>
52912 #ifdef HAVE_IEEEFP_H
52913 #include <ieeefp.h>
52914 #endif
52915
52916 int
52917 main ()
52918 {
52919 isinf(0);
52920 ;
52921 return 0;
52922 }
52923 _ACEOF
52924 if ac_fn_cxx_try_compile "$LINENO"; then :
52925 glibcxx_cv_func_isinf_use=yes
52926 else
52927 glibcxx_cv_func_isinf_use=no
52928 fi
52929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52930 ac_ext=c
52931 ac_cpp='$CPP $CPPFLAGS'
52932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52935
52936
52937 fi
52938
52939 fi
52940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52941 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52942
52943 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52944 for ac_func in isinf
52945 do :
52946 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52947 if test "x$ac_cv_func_isinf" = x""yes; then :
52948 cat >>confdefs.h <<_ACEOF
52949 #define HAVE_ISINF 1
52950 _ACEOF
52951
52952 fi
52953 done
52954
52955 else
52956
52957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52958 $as_echo_n "checking for _isinf declaration... " >&6; }
52959 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52960 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52961 $as_echo_n "(cached) " >&6
52962 else
52963
52964
52965 ac_ext=cpp
52966 ac_cpp='$CXXCPP $CPPFLAGS'
52967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52970
52971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52972 /* end confdefs.h. */
52973 #include <math.h>
52974 #ifdef HAVE_IEEEFP_H
52975 #include <ieeefp.h>
52976 #endif
52977
52978 int
52979 main ()
52980 {
52981 _isinf(0);
52982 ;
52983 return 0;
52984 }
52985 _ACEOF
52986 if ac_fn_cxx_try_compile "$LINENO"; then :
52987 glibcxx_cv_func__isinf_use=yes
52988 else
52989 glibcxx_cv_func__isinf_use=no
52990 fi
52991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52992 ac_ext=c
52993 ac_cpp='$CPP $CPPFLAGS'
52994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52997
52998
52999 fi
53000
53001 fi
53002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53003 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53004
53005 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53006 for ac_func in _isinf
53007 do :
53008 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53009 if test "x$ac_cv_func__isinf" = x""yes; then :
53010 cat >>confdefs.h <<_ACEOF
53011 #define HAVE__ISINF 1
53012 _ACEOF
53013
53014 fi
53015 done
53016
53017 fi
53018 fi
53019
53020
53021
53022
53023
53024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53025 $as_echo_n "checking for isnan declaration... " >&6; }
53026 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53027 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53028 $as_echo_n "(cached) " >&6
53029 else
53030
53031
53032 ac_ext=cpp
53033 ac_cpp='$CXXCPP $CPPFLAGS'
53034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53037
53038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53039 /* end confdefs.h. */
53040 #include <math.h>
53041 #ifdef HAVE_IEEEFP_H
53042 #include <ieeefp.h>
53043 #endif
53044
53045 int
53046 main ()
53047 {
53048 isnan(0);
53049 ;
53050 return 0;
53051 }
53052 _ACEOF
53053 if ac_fn_cxx_try_compile "$LINENO"; then :
53054 glibcxx_cv_func_isnan_use=yes
53055 else
53056 glibcxx_cv_func_isnan_use=no
53057 fi
53058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53059 ac_ext=c
53060 ac_cpp='$CPP $CPPFLAGS'
53061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53064
53065
53066 fi
53067
53068 fi
53069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53070 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53071
53072 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53073 for ac_func in isnan
53074 do :
53075 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
53076 if test "x$ac_cv_func_isnan" = x""yes; then :
53077 cat >>confdefs.h <<_ACEOF
53078 #define HAVE_ISNAN 1
53079 _ACEOF
53080
53081 fi
53082 done
53083
53084 else
53085
53086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
53087 $as_echo_n "checking for _isnan declaration... " >&6; }
53088 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
53089 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
53090 $as_echo_n "(cached) " >&6
53091 else
53092
53093
53094 ac_ext=cpp
53095 ac_cpp='$CXXCPP $CPPFLAGS'
53096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53099
53100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53101 /* end confdefs.h. */
53102 #include <math.h>
53103 #ifdef HAVE_IEEEFP_H
53104 #include <ieeefp.h>
53105 #endif
53106
53107 int
53108 main ()
53109 {
53110 _isnan(0);
53111 ;
53112 return 0;
53113 }
53114 _ACEOF
53115 if ac_fn_cxx_try_compile "$LINENO"; then :
53116 glibcxx_cv_func__isnan_use=yes
53117 else
53118 glibcxx_cv_func__isnan_use=no
53119 fi
53120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53121 ac_ext=c
53122 ac_cpp='$CPP $CPPFLAGS'
53123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53126
53127
53128 fi
53129
53130 fi
53131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53132 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53133
53134 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53135 for ac_func in _isnan
53136 do :
53137 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53138 if test "x$ac_cv_func__isnan" = x""yes; then :
53139 cat >>confdefs.h <<_ACEOF
53140 #define HAVE__ISNAN 1
53141 _ACEOF
53142
53143 fi
53144 done
53145
53146 fi
53147 fi
53148
53149
53150
53151
53152
53153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53154 $as_echo_n "checking for finite declaration... " >&6; }
53155 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53156 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53157 $as_echo_n "(cached) " >&6
53158 else
53159
53160
53161 ac_ext=cpp
53162 ac_cpp='$CXXCPP $CPPFLAGS'
53163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53166
53167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53168 /* end confdefs.h. */
53169 #include <math.h>
53170 #ifdef HAVE_IEEEFP_H
53171 #include <ieeefp.h>
53172 #endif
53173
53174 int
53175 main ()
53176 {
53177 finite(0);
53178 ;
53179 return 0;
53180 }
53181 _ACEOF
53182 if ac_fn_cxx_try_compile "$LINENO"; then :
53183 glibcxx_cv_func_finite_use=yes
53184 else
53185 glibcxx_cv_func_finite_use=no
53186 fi
53187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53188 ac_ext=c
53189 ac_cpp='$CPP $CPPFLAGS'
53190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53193
53194
53195 fi
53196
53197 fi
53198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53199 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53200
53201 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53202 for ac_func in finite
53203 do :
53204 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53205 if test "x$ac_cv_func_finite" = x""yes; then :
53206 cat >>confdefs.h <<_ACEOF
53207 #define HAVE_FINITE 1
53208 _ACEOF
53209
53210 fi
53211 done
53212
53213 else
53214
53215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53216 $as_echo_n "checking for _finite declaration... " >&6; }
53217 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53218 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53219 $as_echo_n "(cached) " >&6
53220 else
53221
53222
53223 ac_ext=cpp
53224 ac_cpp='$CXXCPP $CPPFLAGS'
53225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53228
53229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53230 /* end confdefs.h. */
53231 #include <math.h>
53232 #ifdef HAVE_IEEEFP_H
53233 #include <ieeefp.h>
53234 #endif
53235
53236 int
53237 main ()
53238 {
53239 _finite(0);
53240 ;
53241 return 0;
53242 }
53243 _ACEOF
53244 if ac_fn_cxx_try_compile "$LINENO"; then :
53245 glibcxx_cv_func__finite_use=yes
53246 else
53247 glibcxx_cv_func__finite_use=no
53248 fi
53249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53250 ac_ext=c
53251 ac_cpp='$CPP $CPPFLAGS'
53252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53255
53256
53257 fi
53258
53259 fi
53260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53261 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53262
53263 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53264 for ac_func in _finite
53265 do :
53266 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53267 if test "x$ac_cv_func__finite" = x""yes; then :
53268 cat >>confdefs.h <<_ACEOF
53269 #define HAVE__FINITE 1
53270 _ACEOF
53271
53272 fi
53273 done
53274
53275 fi
53276 fi
53277
53278
53279
53280
53281
53282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53283 $as_echo_n "checking for sincos declaration... " >&6; }
53284 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53285 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53286 $as_echo_n "(cached) " >&6
53287 else
53288
53289
53290 ac_ext=cpp
53291 ac_cpp='$CXXCPP $CPPFLAGS'
53292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53295
53296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53297 /* end confdefs.h. */
53298 #include <math.h>
53299 int
53300 main ()
53301 {
53302 sincos(0, 0, 0);
53303 ;
53304 return 0;
53305 }
53306 _ACEOF
53307 if ac_fn_cxx_try_compile "$LINENO"; then :
53308 glibcxx_cv_func_sincos_use=yes
53309 else
53310 glibcxx_cv_func_sincos_use=no
53311 fi
53312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53313 ac_ext=c
53314 ac_cpp='$CPP $CPPFLAGS'
53315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53318
53319
53320 fi
53321
53322 fi
53323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53324 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53325
53326 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53327 for ac_func in sincos
53328 do :
53329 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53330 if test "x$ac_cv_func_sincos" = x""yes; then :
53331 cat >>confdefs.h <<_ACEOF
53332 #define HAVE_SINCOS 1
53333 _ACEOF
53334
53335 fi
53336 done
53337
53338 else
53339
53340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53341 $as_echo_n "checking for _sincos declaration... " >&6; }
53342 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53343 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53344 $as_echo_n "(cached) " >&6
53345 else
53346
53347
53348 ac_ext=cpp
53349 ac_cpp='$CXXCPP $CPPFLAGS'
53350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53353
53354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53355 /* end confdefs.h. */
53356 #include <math.h>
53357 int
53358 main ()
53359 {
53360 _sincos(0, 0, 0);
53361 ;
53362 return 0;
53363 }
53364 _ACEOF
53365 if ac_fn_cxx_try_compile "$LINENO"; then :
53366 glibcxx_cv_func__sincos_use=yes
53367 else
53368 glibcxx_cv_func__sincos_use=no
53369 fi
53370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53371 ac_ext=c
53372 ac_cpp='$CPP $CPPFLAGS'
53373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53376
53377
53378 fi
53379
53380 fi
53381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53382 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53383
53384 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53385 for ac_func in _sincos
53386 do :
53387 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53388 if test "x$ac_cv_func__sincos" = x""yes; then :
53389 cat >>confdefs.h <<_ACEOF
53390 #define HAVE__SINCOS 1
53391 _ACEOF
53392
53393 fi
53394 done
53395
53396 fi
53397 fi
53398
53399
53400
53401
53402
53403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53404 $as_echo_n "checking for fpclass declaration... " >&6; }
53405 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53406 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53407 $as_echo_n "(cached) " >&6
53408 else
53409
53410
53411 ac_ext=cpp
53412 ac_cpp='$CXXCPP $CPPFLAGS'
53413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53416
53417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53418 /* end confdefs.h. */
53419 #include <math.h>
53420 #ifdef HAVE_IEEEFP_H
53421 #include <ieeefp.h>
53422 #endif
53423
53424 int
53425 main ()
53426 {
53427 fpclass(0);
53428 ;
53429 return 0;
53430 }
53431 _ACEOF
53432 if ac_fn_cxx_try_compile "$LINENO"; then :
53433 glibcxx_cv_func_fpclass_use=yes
53434 else
53435 glibcxx_cv_func_fpclass_use=no
53436 fi
53437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53438 ac_ext=c
53439 ac_cpp='$CPP $CPPFLAGS'
53440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53443
53444
53445 fi
53446
53447 fi
53448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53449 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53450
53451 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53452 for ac_func in fpclass
53453 do :
53454 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53455 if test "x$ac_cv_func_fpclass" = x""yes; then :
53456 cat >>confdefs.h <<_ACEOF
53457 #define HAVE_FPCLASS 1
53458 _ACEOF
53459
53460 fi
53461 done
53462
53463 else
53464
53465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53466 $as_echo_n "checking for _fpclass declaration... " >&6; }
53467 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53468 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53469 $as_echo_n "(cached) " >&6
53470 else
53471
53472
53473 ac_ext=cpp
53474 ac_cpp='$CXXCPP $CPPFLAGS'
53475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53478
53479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53480 /* end confdefs.h. */
53481 #include <math.h>
53482 #ifdef HAVE_IEEEFP_H
53483 #include <ieeefp.h>
53484 #endif
53485
53486 int
53487 main ()
53488 {
53489 _fpclass(0);
53490 ;
53491 return 0;
53492 }
53493 _ACEOF
53494 if ac_fn_cxx_try_compile "$LINENO"; then :
53495 glibcxx_cv_func__fpclass_use=yes
53496 else
53497 glibcxx_cv_func__fpclass_use=no
53498 fi
53499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53500 ac_ext=c
53501 ac_cpp='$CPP $CPPFLAGS'
53502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53505
53506
53507 fi
53508
53509 fi
53510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53511 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53512
53513 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53514 for ac_func in _fpclass
53515 do :
53516 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53517 if test "x$ac_cv_func__fpclass" = x""yes; then :
53518 cat >>confdefs.h <<_ACEOF
53519 #define HAVE__FPCLASS 1
53520 _ACEOF
53521
53522 fi
53523 done
53524
53525 fi
53526 fi
53527
53528
53529
53530
53531
53532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53533 $as_echo_n "checking for qfpclass declaration... " >&6; }
53534 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53535 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53536 $as_echo_n "(cached) " >&6
53537 else
53538
53539
53540 ac_ext=cpp
53541 ac_cpp='$CXXCPP $CPPFLAGS'
53542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53545
53546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53547 /* end confdefs.h. */
53548 #include <math.h>
53549 #ifdef HAVE_IEEEFP_H
53550 #include <ieeefp.h>
53551 #endif
53552
53553 int
53554 main ()
53555 {
53556 qfpclass(0);
53557 ;
53558 return 0;
53559 }
53560 _ACEOF
53561 if ac_fn_cxx_try_compile "$LINENO"; then :
53562 glibcxx_cv_func_qfpclass_use=yes
53563 else
53564 glibcxx_cv_func_qfpclass_use=no
53565 fi
53566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53567 ac_ext=c
53568 ac_cpp='$CPP $CPPFLAGS'
53569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53572
53573
53574 fi
53575
53576 fi
53577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53578 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53579
53580 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53581 for ac_func in qfpclass
53582 do :
53583 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53584 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53585 cat >>confdefs.h <<_ACEOF
53586 #define HAVE_QFPCLASS 1
53587 _ACEOF
53588
53589 fi
53590 done
53591
53592 else
53593
53594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53595 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53596 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53597 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53598 $as_echo_n "(cached) " >&6
53599 else
53600
53601
53602 ac_ext=cpp
53603 ac_cpp='$CXXCPP $CPPFLAGS'
53604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53607
53608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53609 /* end confdefs.h. */
53610 #include <math.h>
53611 #ifdef HAVE_IEEEFP_H
53612 #include <ieeefp.h>
53613 #endif
53614
53615 int
53616 main ()
53617 {
53618 _qfpclass(0);
53619 ;
53620 return 0;
53621 }
53622 _ACEOF
53623 if ac_fn_cxx_try_compile "$LINENO"; then :
53624 glibcxx_cv_func__qfpclass_use=yes
53625 else
53626 glibcxx_cv_func__qfpclass_use=no
53627 fi
53628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53629 ac_ext=c
53630 ac_cpp='$CPP $CPPFLAGS'
53631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53634
53635
53636 fi
53637
53638 fi
53639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53640 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53641
53642 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53643 for ac_func in _qfpclass
53644 do :
53645 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53646 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53647 cat >>confdefs.h <<_ACEOF
53648 #define HAVE__QFPCLASS 1
53649 _ACEOF
53650
53651 fi
53652 done
53653
53654 fi
53655 fi
53656
53657
53658
53659
53660
53661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53662 $as_echo_n "checking for hypot declaration... " >&6; }
53663 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53664 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53665 $as_echo_n "(cached) " >&6
53666 else
53667
53668
53669 ac_ext=cpp
53670 ac_cpp='$CXXCPP $CPPFLAGS'
53671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53674
53675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53676 /* end confdefs.h. */
53677 #include <math.h>
53678 int
53679 main ()
53680 {
53681 hypot(0, 0);
53682 ;
53683 return 0;
53684 }
53685 _ACEOF
53686 if ac_fn_cxx_try_compile "$LINENO"; then :
53687 glibcxx_cv_func_hypot_use=yes
53688 else
53689 glibcxx_cv_func_hypot_use=no
53690 fi
53691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53692 ac_ext=c
53693 ac_cpp='$CPP $CPPFLAGS'
53694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53697
53698
53699 fi
53700
53701 fi
53702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53703 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53704
53705 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53706 for ac_func in hypot
53707 do :
53708 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53709 if test "x$ac_cv_func_hypot" = x""yes; then :
53710 cat >>confdefs.h <<_ACEOF
53711 #define HAVE_HYPOT 1
53712 _ACEOF
53713
53714 fi
53715 done
53716
53717 else
53718
53719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53720 $as_echo_n "checking for _hypot declaration... " >&6; }
53721 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53722 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53723 $as_echo_n "(cached) " >&6
53724 else
53725
53726
53727 ac_ext=cpp
53728 ac_cpp='$CXXCPP $CPPFLAGS'
53729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53732
53733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53734 /* end confdefs.h. */
53735 #include <math.h>
53736 int
53737 main ()
53738 {
53739 _hypot(0, 0);
53740 ;
53741 return 0;
53742 }
53743 _ACEOF
53744 if ac_fn_cxx_try_compile "$LINENO"; then :
53745 glibcxx_cv_func__hypot_use=yes
53746 else
53747 glibcxx_cv_func__hypot_use=no
53748 fi
53749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53750 ac_ext=c
53751 ac_cpp='$CPP $CPPFLAGS'
53752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53755
53756
53757 fi
53758
53759 fi
53760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53761 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53762
53763 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53764 for ac_func in _hypot
53765 do :
53766 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53767 if test "x$ac_cv_func__hypot" = x""yes; then :
53768 cat >>confdefs.h <<_ACEOF
53769 #define HAVE__HYPOT 1
53770 _ACEOF
53771
53772 fi
53773 done
53774
53775 fi
53776 fi
53777
53778
53779
53780
53781
53782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53783 $as_echo_n "checking for float trig functions... " >&6; }
53784 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53785 $as_echo_n "(cached) " >&6
53786 else
53787
53788
53789 ac_ext=cpp
53790 ac_cpp='$CXXCPP $CPPFLAGS'
53791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53794
53795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53796 /* end confdefs.h. */
53797 #include <math.h>
53798 int
53799 main ()
53800 {
53801 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53802 ;
53803 return 0;
53804 }
53805 _ACEOF
53806 if ac_fn_cxx_try_compile "$LINENO"; then :
53807 glibcxx_cv_func_float_trig_use=yes
53808 else
53809 glibcxx_cv_func_float_trig_use=no
53810 fi
53811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53812 ac_ext=c
53813 ac_cpp='$CPP $CPPFLAGS'
53814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53817
53818 fi
53819
53820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53821 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53822 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53823 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53824 do :
53825 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53826 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53827 eval as_val=\$$as_ac_var
53828 if test "x$as_val" = x""yes; then :
53829 cat >>confdefs.h <<_ACEOF
53830 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53831 _ACEOF
53832
53833 fi
53834 done
53835
53836 else
53837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53838 $as_echo_n "checking for _float trig functions... " >&6; }
53839 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53840 $as_echo_n "(cached) " >&6
53841 else
53842
53843
53844 ac_ext=cpp
53845 ac_cpp='$CXXCPP $CPPFLAGS'
53846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53849
53850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53851 /* end confdefs.h. */
53852 #include <math.h>
53853 int
53854 main ()
53855 {
53856 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53857 ;
53858 return 0;
53859 }
53860 _ACEOF
53861 if ac_fn_cxx_try_compile "$LINENO"; then :
53862 glibcxx_cv_func__float_trig_use=yes
53863 else
53864 glibcxx_cv_func__float_trig_use=no
53865 fi
53866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53867 ac_ext=c
53868 ac_cpp='$CPP $CPPFLAGS'
53869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53872
53873 fi
53874
53875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53876 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53877 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53878 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53879 do :
53880 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53881 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53882 eval as_val=\$$as_ac_var
53883 if test "x$as_val" = x""yes; then :
53884 cat >>confdefs.h <<_ACEOF
53885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53886 _ACEOF
53887
53888 fi
53889 done
53890
53891 fi
53892 fi
53893
53894
53895
53896
53897
53898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53899 $as_echo_n "checking for float round functions... " >&6; }
53900 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53901 $as_echo_n "(cached) " >&6
53902 else
53903
53904
53905 ac_ext=cpp
53906 ac_cpp='$CXXCPP $CPPFLAGS'
53907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53910
53911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53912 /* end confdefs.h. */
53913 #include <math.h>
53914 int
53915 main ()
53916 {
53917 ceilf (0); floorf (0);
53918 ;
53919 return 0;
53920 }
53921 _ACEOF
53922 if ac_fn_cxx_try_compile "$LINENO"; then :
53923 glibcxx_cv_func_float_round_use=yes
53924 else
53925 glibcxx_cv_func_float_round_use=no
53926 fi
53927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53928 ac_ext=c
53929 ac_cpp='$CPP $CPPFLAGS'
53930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53933
53934 fi
53935
53936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53937 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53938 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53939 for ac_func in ceilf floorf
53940 do :
53941 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53942 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53943 eval as_val=\$$as_ac_var
53944 if test "x$as_val" = x""yes; then :
53945 cat >>confdefs.h <<_ACEOF
53946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53947 _ACEOF
53948
53949 fi
53950 done
53951
53952 else
53953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53954 $as_echo_n "checking for _float round functions... " >&6; }
53955 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53956 $as_echo_n "(cached) " >&6
53957 else
53958
53959
53960 ac_ext=cpp
53961 ac_cpp='$CXXCPP $CPPFLAGS'
53962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53965
53966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53967 /* end confdefs.h. */
53968 #include <math.h>
53969 int
53970 main ()
53971 {
53972 _ceilf (0); _floorf (0);
53973 ;
53974 return 0;
53975 }
53976 _ACEOF
53977 if ac_fn_cxx_try_compile "$LINENO"; then :
53978 glibcxx_cv_func__float_round_use=yes
53979 else
53980 glibcxx_cv_func__float_round_use=no
53981 fi
53982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53983 ac_ext=c
53984 ac_cpp='$CPP $CPPFLAGS'
53985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53988
53989 fi
53990
53991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53992 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53993 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53994 for ac_func in _ceilf _floorf
53995 do :
53996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53998 eval as_val=\$$as_ac_var
53999 if test "x$as_val" = x""yes; then :
54000 cat >>confdefs.h <<_ACEOF
54001 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54002 _ACEOF
54003
54004 fi
54005 done
54006
54007 fi
54008 fi
54009
54010
54011
54012
54013
54014
54015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54016 $as_echo_n "checking for expf declaration... " >&6; }
54017 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54018 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54019 $as_echo_n "(cached) " >&6
54020 else
54021
54022
54023 ac_ext=cpp
54024 ac_cpp='$CXXCPP $CPPFLAGS'
54025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54028
54029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54030 /* end confdefs.h. */
54031 #include <math.h>
54032 #ifdef HAVE_IEEEFP_H
54033 #include <ieeefp.h>
54034 #endif
54035
54036 int
54037 main ()
54038 {
54039 expf(0);
54040 ;
54041 return 0;
54042 }
54043 _ACEOF
54044 if ac_fn_cxx_try_compile "$LINENO"; then :
54045 glibcxx_cv_func_expf_use=yes
54046 else
54047 glibcxx_cv_func_expf_use=no
54048 fi
54049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54050 ac_ext=c
54051 ac_cpp='$CPP $CPPFLAGS'
54052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54055
54056
54057 fi
54058
54059 fi
54060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54061 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54062
54063 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54064 for ac_func in expf
54065 do :
54066 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54067 if test "x$ac_cv_func_expf" = x""yes; then :
54068 cat >>confdefs.h <<_ACEOF
54069 #define HAVE_EXPF 1
54070 _ACEOF
54071
54072 fi
54073 done
54074
54075 else
54076
54077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
54078 $as_echo_n "checking for _expf declaration... " >&6; }
54079 if test x${glibcxx_cv_func__expf_use+set} != xset; then
54080 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
54081 $as_echo_n "(cached) " >&6
54082 else
54083
54084
54085 ac_ext=cpp
54086 ac_cpp='$CXXCPP $CPPFLAGS'
54087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54090
54091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54092 /* end confdefs.h. */
54093 #include <math.h>
54094 #ifdef HAVE_IEEEFP_H
54095 #include <ieeefp.h>
54096 #endif
54097
54098 int
54099 main ()
54100 {
54101 _expf(0);
54102 ;
54103 return 0;
54104 }
54105 _ACEOF
54106 if ac_fn_cxx_try_compile "$LINENO"; then :
54107 glibcxx_cv_func__expf_use=yes
54108 else
54109 glibcxx_cv_func__expf_use=no
54110 fi
54111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54112 ac_ext=c
54113 ac_cpp='$CPP $CPPFLAGS'
54114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54117
54118
54119 fi
54120
54121 fi
54122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54123 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54124
54125 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54126 for ac_func in _expf
54127 do :
54128 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54129 if test "x$ac_cv_func__expf" = x""yes; then :
54130 cat >>confdefs.h <<_ACEOF
54131 #define HAVE__EXPF 1
54132 _ACEOF
54133
54134 fi
54135 done
54136
54137 fi
54138 fi
54139
54140
54141
54142
54143
54144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54145 $as_echo_n "checking for isnanf declaration... " >&6; }
54146 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54147 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54148 $as_echo_n "(cached) " >&6
54149 else
54150
54151
54152 ac_ext=cpp
54153 ac_cpp='$CXXCPP $CPPFLAGS'
54154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54157
54158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54159 /* end confdefs.h. */
54160 #include <math.h>
54161 #ifdef HAVE_IEEEFP_H
54162 #include <ieeefp.h>
54163 #endif
54164
54165 int
54166 main ()
54167 {
54168 isnanf(0);
54169 ;
54170 return 0;
54171 }
54172 _ACEOF
54173 if ac_fn_cxx_try_compile "$LINENO"; then :
54174 glibcxx_cv_func_isnanf_use=yes
54175 else
54176 glibcxx_cv_func_isnanf_use=no
54177 fi
54178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54179 ac_ext=c
54180 ac_cpp='$CPP $CPPFLAGS'
54181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54184
54185
54186 fi
54187
54188 fi
54189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54190 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54191
54192 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54193 for ac_func in isnanf
54194 do :
54195 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54196 if test "x$ac_cv_func_isnanf" = x""yes; then :
54197 cat >>confdefs.h <<_ACEOF
54198 #define HAVE_ISNANF 1
54199 _ACEOF
54200
54201 fi
54202 done
54203
54204 else
54205
54206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54207 $as_echo_n "checking for _isnanf declaration... " >&6; }
54208 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54209 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54210 $as_echo_n "(cached) " >&6
54211 else
54212
54213
54214 ac_ext=cpp
54215 ac_cpp='$CXXCPP $CPPFLAGS'
54216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54219
54220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54221 /* end confdefs.h. */
54222 #include <math.h>
54223 #ifdef HAVE_IEEEFP_H
54224 #include <ieeefp.h>
54225 #endif
54226
54227 int
54228 main ()
54229 {
54230 _isnanf(0);
54231 ;
54232 return 0;
54233 }
54234 _ACEOF
54235 if ac_fn_cxx_try_compile "$LINENO"; then :
54236 glibcxx_cv_func__isnanf_use=yes
54237 else
54238 glibcxx_cv_func__isnanf_use=no
54239 fi
54240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54241 ac_ext=c
54242 ac_cpp='$CPP $CPPFLAGS'
54243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54246
54247
54248 fi
54249
54250 fi
54251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54252 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54253
54254 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54255 for ac_func in _isnanf
54256 do :
54257 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54258 if test "x$ac_cv_func__isnanf" = x""yes; then :
54259 cat >>confdefs.h <<_ACEOF
54260 #define HAVE__ISNANF 1
54261 _ACEOF
54262
54263 fi
54264 done
54265
54266 fi
54267 fi
54268
54269
54270
54271
54272
54273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54274 $as_echo_n "checking for isinff declaration... " >&6; }
54275 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54276 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54277 $as_echo_n "(cached) " >&6
54278 else
54279
54280
54281 ac_ext=cpp
54282 ac_cpp='$CXXCPP $CPPFLAGS'
54283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54286
54287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54288 /* end confdefs.h. */
54289 #include <math.h>
54290 #ifdef HAVE_IEEEFP_H
54291 #include <ieeefp.h>
54292 #endif
54293
54294 int
54295 main ()
54296 {
54297 isinff(0);
54298 ;
54299 return 0;
54300 }
54301 _ACEOF
54302 if ac_fn_cxx_try_compile "$LINENO"; then :
54303 glibcxx_cv_func_isinff_use=yes
54304 else
54305 glibcxx_cv_func_isinff_use=no
54306 fi
54307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54308 ac_ext=c
54309 ac_cpp='$CPP $CPPFLAGS'
54310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54313
54314
54315 fi
54316
54317 fi
54318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54319 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54320
54321 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54322 for ac_func in isinff
54323 do :
54324 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54325 if test "x$ac_cv_func_isinff" = x""yes; then :
54326 cat >>confdefs.h <<_ACEOF
54327 #define HAVE_ISINFF 1
54328 _ACEOF
54329
54330 fi
54331 done
54332
54333 else
54334
54335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54336 $as_echo_n "checking for _isinff declaration... " >&6; }
54337 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54338 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54339 $as_echo_n "(cached) " >&6
54340 else
54341
54342
54343 ac_ext=cpp
54344 ac_cpp='$CXXCPP $CPPFLAGS'
54345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54348
54349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54350 /* end confdefs.h. */
54351 #include <math.h>
54352 #ifdef HAVE_IEEEFP_H
54353 #include <ieeefp.h>
54354 #endif
54355
54356 int
54357 main ()
54358 {
54359 _isinff(0);
54360 ;
54361 return 0;
54362 }
54363 _ACEOF
54364 if ac_fn_cxx_try_compile "$LINENO"; then :
54365 glibcxx_cv_func__isinff_use=yes
54366 else
54367 glibcxx_cv_func__isinff_use=no
54368 fi
54369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54370 ac_ext=c
54371 ac_cpp='$CPP $CPPFLAGS'
54372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54375
54376
54377 fi
54378
54379 fi
54380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54381 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54382
54383 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54384 for ac_func in _isinff
54385 do :
54386 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54387 if test "x$ac_cv_func__isinff" = x""yes; then :
54388 cat >>confdefs.h <<_ACEOF
54389 #define HAVE__ISINFF 1
54390 _ACEOF
54391
54392 fi
54393 done
54394
54395 fi
54396 fi
54397
54398
54399
54400
54401
54402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54403 $as_echo_n "checking for atan2f declaration... " >&6; }
54404 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54405 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54406 $as_echo_n "(cached) " >&6
54407 else
54408
54409
54410 ac_ext=cpp
54411 ac_cpp='$CXXCPP $CPPFLAGS'
54412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54415
54416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54417 /* end confdefs.h. */
54418 #include <math.h>
54419 int
54420 main ()
54421 {
54422 atan2f(0, 0);
54423 ;
54424 return 0;
54425 }
54426 _ACEOF
54427 if ac_fn_cxx_try_compile "$LINENO"; then :
54428 glibcxx_cv_func_atan2f_use=yes
54429 else
54430 glibcxx_cv_func_atan2f_use=no
54431 fi
54432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54433 ac_ext=c
54434 ac_cpp='$CPP $CPPFLAGS'
54435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54438
54439
54440 fi
54441
54442 fi
54443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54444 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54445
54446 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54447 for ac_func in atan2f
54448 do :
54449 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54450 if test "x$ac_cv_func_atan2f" = x""yes; then :
54451 cat >>confdefs.h <<_ACEOF
54452 #define HAVE_ATAN2F 1
54453 _ACEOF
54454
54455 fi
54456 done
54457
54458 else
54459
54460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54461 $as_echo_n "checking for _atan2f declaration... " >&6; }
54462 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54463 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54464 $as_echo_n "(cached) " >&6
54465 else
54466
54467
54468 ac_ext=cpp
54469 ac_cpp='$CXXCPP $CPPFLAGS'
54470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54473
54474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54475 /* end confdefs.h. */
54476 #include <math.h>
54477 int
54478 main ()
54479 {
54480 _atan2f(0, 0);
54481 ;
54482 return 0;
54483 }
54484 _ACEOF
54485 if ac_fn_cxx_try_compile "$LINENO"; then :
54486 glibcxx_cv_func__atan2f_use=yes
54487 else
54488 glibcxx_cv_func__atan2f_use=no
54489 fi
54490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54491 ac_ext=c
54492 ac_cpp='$CPP $CPPFLAGS'
54493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54496
54497
54498 fi
54499
54500 fi
54501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54502 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54503
54504 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54505 for ac_func in _atan2f
54506 do :
54507 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54508 if test "x$ac_cv_func__atan2f" = x""yes; then :
54509 cat >>confdefs.h <<_ACEOF
54510 #define HAVE__ATAN2F 1
54511 _ACEOF
54512
54513 fi
54514 done
54515
54516 fi
54517 fi
54518
54519
54520
54521
54522
54523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54524 $as_echo_n "checking for fabsf declaration... " >&6; }
54525 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54526 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54527 $as_echo_n "(cached) " >&6
54528 else
54529
54530
54531 ac_ext=cpp
54532 ac_cpp='$CXXCPP $CPPFLAGS'
54533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54536
54537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54538 /* end confdefs.h. */
54539 #include <math.h>
54540 #ifdef HAVE_IEEEFP_H
54541 #include <ieeefp.h>
54542 #endif
54543
54544 int
54545 main ()
54546 {
54547 fabsf(0);
54548 ;
54549 return 0;
54550 }
54551 _ACEOF
54552 if ac_fn_cxx_try_compile "$LINENO"; then :
54553 glibcxx_cv_func_fabsf_use=yes
54554 else
54555 glibcxx_cv_func_fabsf_use=no
54556 fi
54557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54558 ac_ext=c
54559 ac_cpp='$CPP $CPPFLAGS'
54560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54563
54564
54565 fi
54566
54567 fi
54568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54569 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54570
54571 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54572 for ac_func in fabsf
54573 do :
54574 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54575 if test "x$ac_cv_func_fabsf" = x""yes; then :
54576 cat >>confdefs.h <<_ACEOF
54577 #define HAVE_FABSF 1
54578 _ACEOF
54579
54580 fi
54581 done
54582
54583 else
54584
54585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54586 $as_echo_n "checking for _fabsf declaration... " >&6; }
54587 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54588 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54589 $as_echo_n "(cached) " >&6
54590 else
54591
54592
54593 ac_ext=cpp
54594 ac_cpp='$CXXCPP $CPPFLAGS'
54595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54598
54599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54600 /* end confdefs.h. */
54601 #include <math.h>
54602 #ifdef HAVE_IEEEFP_H
54603 #include <ieeefp.h>
54604 #endif
54605
54606 int
54607 main ()
54608 {
54609 _fabsf(0);
54610 ;
54611 return 0;
54612 }
54613 _ACEOF
54614 if ac_fn_cxx_try_compile "$LINENO"; then :
54615 glibcxx_cv_func__fabsf_use=yes
54616 else
54617 glibcxx_cv_func__fabsf_use=no
54618 fi
54619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54620 ac_ext=c
54621 ac_cpp='$CPP $CPPFLAGS'
54622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54625
54626
54627 fi
54628
54629 fi
54630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54631 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54632
54633 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54634 for ac_func in _fabsf
54635 do :
54636 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54637 if test "x$ac_cv_func__fabsf" = x""yes; then :
54638 cat >>confdefs.h <<_ACEOF
54639 #define HAVE__FABSF 1
54640 _ACEOF
54641
54642 fi
54643 done
54644
54645 fi
54646 fi
54647
54648
54649
54650
54651
54652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54653 $as_echo_n "checking for fmodf declaration... " >&6; }
54654 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54655 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54656 $as_echo_n "(cached) " >&6
54657 else
54658
54659
54660 ac_ext=cpp
54661 ac_cpp='$CXXCPP $CPPFLAGS'
54662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54665
54666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54667 /* end confdefs.h. */
54668 #include <math.h>
54669 int
54670 main ()
54671 {
54672 fmodf(0, 0);
54673 ;
54674 return 0;
54675 }
54676 _ACEOF
54677 if ac_fn_cxx_try_compile "$LINENO"; then :
54678 glibcxx_cv_func_fmodf_use=yes
54679 else
54680 glibcxx_cv_func_fmodf_use=no
54681 fi
54682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54683 ac_ext=c
54684 ac_cpp='$CPP $CPPFLAGS'
54685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54688
54689
54690 fi
54691
54692 fi
54693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54694 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54695
54696 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54697 for ac_func in fmodf
54698 do :
54699 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54700 if test "x$ac_cv_func_fmodf" = x""yes; then :
54701 cat >>confdefs.h <<_ACEOF
54702 #define HAVE_FMODF 1
54703 _ACEOF
54704
54705 fi
54706 done
54707
54708 else
54709
54710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54711 $as_echo_n "checking for _fmodf declaration... " >&6; }
54712 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54713 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54714 $as_echo_n "(cached) " >&6
54715 else
54716
54717
54718 ac_ext=cpp
54719 ac_cpp='$CXXCPP $CPPFLAGS'
54720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54723
54724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54725 /* end confdefs.h. */
54726 #include <math.h>
54727 int
54728 main ()
54729 {
54730 _fmodf(0, 0);
54731 ;
54732 return 0;
54733 }
54734 _ACEOF
54735 if ac_fn_cxx_try_compile "$LINENO"; then :
54736 glibcxx_cv_func__fmodf_use=yes
54737 else
54738 glibcxx_cv_func__fmodf_use=no
54739 fi
54740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54741 ac_ext=c
54742 ac_cpp='$CPP $CPPFLAGS'
54743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54746
54747
54748 fi
54749
54750 fi
54751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54752 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54753
54754 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54755 for ac_func in _fmodf
54756 do :
54757 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54758 if test "x$ac_cv_func__fmodf" = x""yes; then :
54759 cat >>confdefs.h <<_ACEOF
54760 #define HAVE__FMODF 1
54761 _ACEOF
54762
54763 fi
54764 done
54765
54766 fi
54767 fi
54768
54769
54770
54771
54772
54773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54774 $as_echo_n "checking for frexpf declaration... " >&6; }
54775 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54776 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54777 $as_echo_n "(cached) " >&6
54778 else
54779
54780
54781 ac_ext=cpp
54782 ac_cpp='$CXXCPP $CPPFLAGS'
54783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54786
54787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54788 /* end confdefs.h. */
54789 #include <math.h>
54790 int
54791 main ()
54792 {
54793 frexpf(0, 0);
54794 ;
54795 return 0;
54796 }
54797 _ACEOF
54798 if ac_fn_cxx_try_compile "$LINENO"; then :
54799 glibcxx_cv_func_frexpf_use=yes
54800 else
54801 glibcxx_cv_func_frexpf_use=no
54802 fi
54803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54804 ac_ext=c
54805 ac_cpp='$CPP $CPPFLAGS'
54806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54809
54810
54811 fi
54812
54813 fi
54814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54815 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54816
54817 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54818 for ac_func in frexpf
54819 do :
54820 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54821 if test "x$ac_cv_func_frexpf" = x""yes; then :
54822 cat >>confdefs.h <<_ACEOF
54823 #define HAVE_FREXPF 1
54824 _ACEOF
54825
54826 fi
54827 done
54828
54829 else
54830
54831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54832 $as_echo_n "checking for _frexpf declaration... " >&6; }
54833 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54834 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54835 $as_echo_n "(cached) " >&6
54836 else
54837
54838
54839 ac_ext=cpp
54840 ac_cpp='$CXXCPP $CPPFLAGS'
54841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54844
54845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54846 /* end confdefs.h. */
54847 #include <math.h>
54848 int
54849 main ()
54850 {
54851 _frexpf(0, 0);
54852 ;
54853 return 0;
54854 }
54855 _ACEOF
54856 if ac_fn_cxx_try_compile "$LINENO"; then :
54857 glibcxx_cv_func__frexpf_use=yes
54858 else
54859 glibcxx_cv_func__frexpf_use=no
54860 fi
54861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54862 ac_ext=c
54863 ac_cpp='$CPP $CPPFLAGS'
54864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54867
54868
54869 fi
54870
54871 fi
54872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54873 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54874
54875 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54876 for ac_func in _frexpf
54877 do :
54878 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54879 if test "x$ac_cv_func__frexpf" = x""yes; then :
54880 cat >>confdefs.h <<_ACEOF
54881 #define HAVE__FREXPF 1
54882 _ACEOF
54883
54884 fi
54885 done
54886
54887 fi
54888 fi
54889
54890
54891
54892
54893
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54895 $as_echo_n "checking for hypotf declaration... " >&6; }
54896 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54897 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54898 $as_echo_n "(cached) " >&6
54899 else
54900
54901
54902 ac_ext=cpp
54903 ac_cpp='$CXXCPP $CPPFLAGS'
54904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54907
54908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54909 /* end confdefs.h. */
54910 #include <math.h>
54911 int
54912 main ()
54913 {
54914 hypotf(0, 0);
54915 ;
54916 return 0;
54917 }
54918 _ACEOF
54919 if ac_fn_cxx_try_compile "$LINENO"; then :
54920 glibcxx_cv_func_hypotf_use=yes
54921 else
54922 glibcxx_cv_func_hypotf_use=no
54923 fi
54924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54925 ac_ext=c
54926 ac_cpp='$CPP $CPPFLAGS'
54927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54930
54931
54932 fi
54933
54934 fi
54935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54936 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54937
54938 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54939 for ac_func in hypotf
54940 do :
54941 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54942 if test "x$ac_cv_func_hypotf" = x""yes; then :
54943 cat >>confdefs.h <<_ACEOF
54944 #define HAVE_HYPOTF 1
54945 _ACEOF
54946
54947 fi
54948 done
54949
54950 else
54951
54952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54953 $as_echo_n "checking for _hypotf declaration... " >&6; }
54954 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54955 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54956 $as_echo_n "(cached) " >&6
54957 else
54958
54959
54960 ac_ext=cpp
54961 ac_cpp='$CXXCPP $CPPFLAGS'
54962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54965
54966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54967 /* end confdefs.h. */
54968 #include <math.h>
54969 int
54970 main ()
54971 {
54972 _hypotf(0, 0);
54973 ;
54974 return 0;
54975 }
54976 _ACEOF
54977 if ac_fn_cxx_try_compile "$LINENO"; then :
54978 glibcxx_cv_func__hypotf_use=yes
54979 else
54980 glibcxx_cv_func__hypotf_use=no
54981 fi
54982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54983 ac_ext=c
54984 ac_cpp='$CPP $CPPFLAGS'
54985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54988
54989
54990 fi
54991
54992 fi
54993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54994 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54995
54996 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54997 for ac_func in _hypotf
54998 do :
54999 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55000 if test "x$ac_cv_func__hypotf" = x""yes; then :
55001 cat >>confdefs.h <<_ACEOF
55002 #define HAVE__HYPOTF 1
55003 _ACEOF
55004
55005 fi
55006 done
55007
55008 fi
55009 fi
55010
55011
55012
55013
55014
55015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55016 $as_echo_n "checking for ldexpf declaration... " >&6; }
55017 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55018 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55019 $as_echo_n "(cached) " >&6
55020 else
55021
55022
55023 ac_ext=cpp
55024 ac_cpp='$CXXCPP $CPPFLAGS'
55025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55028
55029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55030 /* end confdefs.h. */
55031 #include <math.h>
55032 int
55033 main ()
55034 {
55035 ldexpf(0, 0);
55036 ;
55037 return 0;
55038 }
55039 _ACEOF
55040 if ac_fn_cxx_try_compile "$LINENO"; then :
55041 glibcxx_cv_func_ldexpf_use=yes
55042 else
55043 glibcxx_cv_func_ldexpf_use=no
55044 fi
55045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55046 ac_ext=c
55047 ac_cpp='$CPP $CPPFLAGS'
55048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55051
55052
55053 fi
55054
55055 fi
55056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55057 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55058
55059 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55060 for ac_func in ldexpf
55061 do :
55062 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55063 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55064 cat >>confdefs.h <<_ACEOF
55065 #define HAVE_LDEXPF 1
55066 _ACEOF
55067
55068 fi
55069 done
55070
55071 else
55072
55073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55074 $as_echo_n "checking for _ldexpf declaration... " >&6; }
55075 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
55076 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
55077 $as_echo_n "(cached) " >&6
55078 else
55079
55080
55081 ac_ext=cpp
55082 ac_cpp='$CXXCPP $CPPFLAGS'
55083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55086
55087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55088 /* end confdefs.h. */
55089 #include <math.h>
55090 int
55091 main ()
55092 {
55093 _ldexpf(0, 0);
55094 ;
55095 return 0;
55096 }
55097 _ACEOF
55098 if ac_fn_cxx_try_compile "$LINENO"; then :
55099 glibcxx_cv_func__ldexpf_use=yes
55100 else
55101 glibcxx_cv_func__ldexpf_use=no
55102 fi
55103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55104 ac_ext=c
55105 ac_cpp='$CPP $CPPFLAGS'
55106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55109
55110
55111 fi
55112
55113 fi
55114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
55115 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
55116
55117 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
55118 for ac_func in _ldexpf
55119 do :
55120 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55121 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55122 cat >>confdefs.h <<_ACEOF
55123 #define HAVE__LDEXPF 1
55124 _ACEOF
55125
55126 fi
55127 done
55128
55129 fi
55130 fi
55131
55132
55133
55134
55135
55136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55137 $as_echo_n "checking for logf declaration... " >&6; }
55138 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55139 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55140 $as_echo_n "(cached) " >&6
55141 else
55142
55143
55144 ac_ext=cpp
55145 ac_cpp='$CXXCPP $CPPFLAGS'
55146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55149
55150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55151 /* end confdefs.h. */
55152 #include <math.h>
55153 #ifdef HAVE_IEEEFP_H
55154 #include <ieeefp.h>
55155 #endif
55156
55157 int
55158 main ()
55159 {
55160 logf(0);
55161 ;
55162 return 0;
55163 }
55164 _ACEOF
55165 if ac_fn_cxx_try_compile "$LINENO"; then :
55166 glibcxx_cv_func_logf_use=yes
55167 else
55168 glibcxx_cv_func_logf_use=no
55169 fi
55170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55171 ac_ext=c
55172 ac_cpp='$CPP $CPPFLAGS'
55173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55176
55177
55178 fi
55179
55180 fi
55181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55182 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55183
55184 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55185 for ac_func in logf
55186 do :
55187 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55188 if test "x$ac_cv_func_logf" = x""yes; then :
55189 cat >>confdefs.h <<_ACEOF
55190 #define HAVE_LOGF 1
55191 _ACEOF
55192
55193 fi
55194 done
55195
55196 else
55197
55198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55199 $as_echo_n "checking for _logf declaration... " >&6; }
55200 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55201 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55202 $as_echo_n "(cached) " >&6
55203 else
55204
55205
55206 ac_ext=cpp
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55211
55212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55213 /* end confdefs.h. */
55214 #include <math.h>
55215 #ifdef HAVE_IEEEFP_H
55216 #include <ieeefp.h>
55217 #endif
55218
55219 int
55220 main ()
55221 {
55222 _logf(0);
55223 ;
55224 return 0;
55225 }
55226 _ACEOF
55227 if ac_fn_cxx_try_compile "$LINENO"; then :
55228 glibcxx_cv_func__logf_use=yes
55229 else
55230 glibcxx_cv_func__logf_use=no
55231 fi
55232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55233 ac_ext=c
55234 ac_cpp='$CPP $CPPFLAGS'
55235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55238
55239
55240 fi
55241
55242 fi
55243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55244 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55245
55246 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55247 for ac_func in _logf
55248 do :
55249 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55250 if test "x$ac_cv_func__logf" = x""yes; then :
55251 cat >>confdefs.h <<_ACEOF
55252 #define HAVE__LOGF 1
55253 _ACEOF
55254
55255 fi
55256 done
55257
55258 fi
55259 fi
55260
55261
55262
55263
55264
55265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55266 $as_echo_n "checking for log10f declaration... " >&6; }
55267 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55268 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55269 $as_echo_n "(cached) " >&6
55270 else
55271
55272
55273 ac_ext=cpp
55274 ac_cpp='$CXXCPP $CPPFLAGS'
55275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55278
55279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55280 /* end confdefs.h. */
55281 #include <math.h>
55282 #ifdef HAVE_IEEEFP_H
55283 #include <ieeefp.h>
55284 #endif
55285
55286 int
55287 main ()
55288 {
55289 log10f(0);
55290 ;
55291 return 0;
55292 }
55293 _ACEOF
55294 if ac_fn_cxx_try_compile "$LINENO"; then :
55295 glibcxx_cv_func_log10f_use=yes
55296 else
55297 glibcxx_cv_func_log10f_use=no
55298 fi
55299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55300 ac_ext=c
55301 ac_cpp='$CPP $CPPFLAGS'
55302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55305
55306
55307 fi
55308
55309 fi
55310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55311 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55312
55313 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55314 for ac_func in log10f
55315 do :
55316 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55317 if test "x$ac_cv_func_log10f" = x""yes; then :
55318 cat >>confdefs.h <<_ACEOF
55319 #define HAVE_LOG10F 1
55320 _ACEOF
55321
55322 fi
55323 done
55324
55325 else
55326
55327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55328 $as_echo_n "checking for _log10f declaration... " >&6; }
55329 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55330 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55331 $as_echo_n "(cached) " >&6
55332 else
55333
55334
55335 ac_ext=cpp
55336 ac_cpp='$CXXCPP $CPPFLAGS'
55337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55340
55341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55342 /* end confdefs.h. */
55343 #include <math.h>
55344 #ifdef HAVE_IEEEFP_H
55345 #include <ieeefp.h>
55346 #endif
55347
55348 int
55349 main ()
55350 {
55351 _log10f(0);
55352 ;
55353 return 0;
55354 }
55355 _ACEOF
55356 if ac_fn_cxx_try_compile "$LINENO"; then :
55357 glibcxx_cv_func__log10f_use=yes
55358 else
55359 glibcxx_cv_func__log10f_use=no
55360 fi
55361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55362 ac_ext=c
55363 ac_cpp='$CPP $CPPFLAGS'
55364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55367
55368
55369 fi
55370
55371 fi
55372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55373 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55374
55375 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55376 for ac_func in _log10f
55377 do :
55378 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55379 if test "x$ac_cv_func__log10f" = x""yes; then :
55380 cat >>confdefs.h <<_ACEOF
55381 #define HAVE__LOG10F 1
55382 _ACEOF
55383
55384 fi
55385 done
55386
55387 fi
55388 fi
55389
55390
55391
55392
55393
55394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55395 $as_echo_n "checking for modff declaration... " >&6; }
55396 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55397 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55398 $as_echo_n "(cached) " >&6
55399 else
55400
55401
55402 ac_ext=cpp
55403 ac_cpp='$CXXCPP $CPPFLAGS'
55404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55407
55408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55409 /* end confdefs.h. */
55410 #include <math.h>
55411 int
55412 main ()
55413 {
55414 modff(0, 0);
55415 ;
55416 return 0;
55417 }
55418 _ACEOF
55419 if ac_fn_cxx_try_compile "$LINENO"; then :
55420 glibcxx_cv_func_modff_use=yes
55421 else
55422 glibcxx_cv_func_modff_use=no
55423 fi
55424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55425 ac_ext=c
55426 ac_cpp='$CPP $CPPFLAGS'
55427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55430
55431
55432 fi
55433
55434 fi
55435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55436 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55437
55438 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55439 for ac_func in modff
55440 do :
55441 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55442 if test "x$ac_cv_func_modff" = x""yes; then :
55443 cat >>confdefs.h <<_ACEOF
55444 #define HAVE_MODFF 1
55445 _ACEOF
55446
55447 fi
55448 done
55449
55450 else
55451
55452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55453 $as_echo_n "checking for _modff declaration... " >&6; }
55454 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55455 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55456 $as_echo_n "(cached) " >&6
55457 else
55458
55459
55460 ac_ext=cpp
55461 ac_cpp='$CXXCPP $CPPFLAGS'
55462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55465
55466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55467 /* end confdefs.h. */
55468 #include <math.h>
55469 int
55470 main ()
55471 {
55472 _modff(0, 0);
55473 ;
55474 return 0;
55475 }
55476 _ACEOF
55477 if ac_fn_cxx_try_compile "$LINENO"; then :
55478 glibcxx_cv_func__modff_use=yes
55479 else
55480 glibcxx_cv_func__modff_use=no
55481 fi
55482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55483 ac_ext=c
55484 ac_cpp='$CPP $CPPFLAGS'
55485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55488
55489
55490 fi
55491
55492 fi
55493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55494 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55495
55496 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55497 for ac_func in _modff
55498 do :
55499 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55500 if test "x$ac_cv_func__modff" = x""yes; then :
55501 cat >>confdefs.h <<_ACEOF
55502 #define HAVE__MODFF 1
55503 _ACEOF
55504
55505 fi
55506 done
55507
55508 fi
55509 fi
55510
55511
55512
55513
55514
55515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55516 $as_echo_n "checking for modf declaration... " >&6; }
55517 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55518 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55519 $as_echo_n "(cached) " >&6
55520 else
55521
55522
55523 ac_ext=cpp
55524 ac_cpp='$CXXCPP $CPPFLAGS'
55525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55528
55529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55530 /* end confdefs.h. */
55531 #include <math.h>
55532 int
55533 main ()
55534 {
55535 modf(0, 0);
55536 ;
55537 return 0;
55538 }
55539 _ACEOF
55540 if ac_fn_cxx_try_compile "$LINENO"; then :
55541 glibcxx_cv_func_modf_use=yes
55542 else
55543 glibcxx_cv_func_modf_use=no
55544 fi
55545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55546 ac_ext=c
55547 ac_cpp='$CPP $CPPFLAGS'
55548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55551
55552
55553 fi
55554
55555 fi
55556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55557 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55558
55559 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55560 for ac_func in modf
55561 do :
55562 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55563 if test "x$ac_cv_func_modf" = x""yes; then :
55564 cat >>confdefs.h <<_ACEOF
55565 #define HAVE_MODF 1
55566 _ACEOF
55567
55568 fi
55569 done
55570
55571 else
55572
55573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55574 $as_echo_n "checking for _modf declaration... " >&6; }
55575 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55576 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55577 $as_echo_n "(cached) " >&6
55578 else
55579
55580
55581 ac_ext=cpp
55582 ac_cpp='$CXXCPP $CPPFLAGS'
55583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55586
55587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55588 /* end confdefs.h. */
55589 #include <math.h>
55590 int
55591 main ()
55592 {
55593 _modf(0, 0);
55594 ;
55595 return 0;
55596 }
55597 _ACEOF
55598 if ac_fn_cxx_try_compile "$LINENO"; then :
55599 glibcxx_cv_func__modf_use=yes
55600 else
55601 glibcxx_cv_func__modf_use=no
55602 fi
55603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55604 ac_ext=c
55605 ac_cpp='$CPP $CPPFLAGS'
55606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55609
55610
55611 fi
55612
55613 fi
55614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55615 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55616
55617 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55618 for ac_func in _modf
55619 do :
55620 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55621 if test "x$ac_cv_func__modf" = x""yes; then :
55622 cat >>confdefs.h <<_ACEOF
55623 #define HAVE__MODF 1
55624 _ACEOF
55625
55626 fi
55627 done
55628
55629 fi
55630 fi
55631
55632
55633
55634
55635
55636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55637 $as_echo_n "checking for powf declaration... " >&6; }
55638 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55639 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55640 $as_echo_n "(cached) " >&6
55641 else
55642
55643
55644 ac_ext=cpp
55645 ac_cpp='$CXXCPP $CPPFLAGS'
55646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55649
55650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55651 /* end confdefs.h. */
55652 #include <math.h>
55653 int
55654 main ()
55655 {
55656 powf(0, 0);
55657 ;
55658 return 0;
55659 }
55660 _ACEOF
55661 if ac_fn_cxx_try_compile "$LINENO"; then :
55662 glibcxx_cv_func_powf_use=yes
55663 else
55664 glibcxx_cv_func_powf_use=no
55665 fi
55666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55667 ac_ext=c
55668 ac_cpp='$CPP $CPPFLAGS'
55669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55672
55673
55674 fi
55675
55676 fi
55677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55678 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55679
55680 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55681 for ac_func in powf
55682 do :
55683 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55684 if test "x$ac_cv_func_powf" = x""yes; then :
55685 cat >>confdefs.h <<_ACEOF
55686 #define HAVE_POWF 1
55687 _ACEOF
55688
55689 fi
55690 done
55691
55692 else
55693
55694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55695 $as_echo_n "checking for _powf declaration... " >&6; }
55696 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55697 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55698 $as_echo_n "(cached) " >&6
55699 else
55700
55701
55702 ac_ext=cpp
55703 ac_cpp='$CXXCPP $CPPFLAGS'
55704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55707
55708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55709 /* end confdefs.h. */
55710 #include <math.h>
55711 int
55712 main ()
55713 {
55714 _powf(0, 0);
55715 ;
55716 return 0;
55717 }
55718 _ACEOF
55719 if ac_fn_cxx_try_compile "$LINENO"; then :
55720 glibcxx_cv_func__powf_use=yes
55721 else
55722 glibcxx_cv_func__powf_use=no
55723 fi
55724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55725 ac_ext=c
55726 ac_cpp='$CPP $CPPFLAGS'
55727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55730
55731
55732 fi
55733
55734 fi
55735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55736 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55737
55738 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55739 for ac_func in _powf
55740 do :
55741 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55742 if test "x$ac_cv_func__powf" = x""yes; then :
55743 cat >>confdefs.h <<_ACEOF
55744 #define HAVE__POWF 1
55745 _ACEOF
55746
55747 fi
55748 done
55749
55750 fi
55751 fi
55752
55753
55754
55755
55756
55757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55758 $as_echo_n "checking for sqrtf declaration... " >&6; }
55759 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55760 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55761 $as_echo_n "(cached) " >&6
55762 else
55763
55764
55765 ac_ext=cpp
55766 ac_cpp='$CXXCPP $CPPFLAGS'
55767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55770
55771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55772 /* end confdefs.h. */
55773 #include <math.h>
55774 #ifdef HAVE_IEEEFP_H
55775 #include <ieeefp.h>
55776 #endif
55777
55778 int
55779 main ()
55780 {
55781 sqrtf(0);
55782 ;
55783 return 0;
55784 }
55785 _ACEOF
55786 if ac_fn_cxx_try_compile "$LINENO"; then :
55787 glibcxx_cv_func_sqrtf_use=yes
55788 else
55789 glibcxx_cv_func_sqrtf_use=no
55790 fi
55791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55792 ac_ext=c
55793 ac_cpp='$CPP $CPPFLAGS'
55794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55797
55798
55799 fi
55800
55801 fi
55802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55803 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55804
55805 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55806 for ac_func in sqrtf
55807 do :
55808 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55809 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55810 cat >>confdefs.h <<_ACEOF
55811 #define HAVE_SQRTF 1
55812 _ACEOF
55813
55814 fi
55815 done
55816
55817 else
55818
55819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55820 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55821 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55822 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55823 $as_echo_n "(cached) " >&6
55824 else
55825
55826
55827 ac_ext=cpp
55828 ac_cpp='$CXXCPP $CPPFLAGS'
55829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55832
55833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55834 /* end confdefs.h. */
55835 #include <math.h>
55836 #ifdef HAVE_IEEEFP_H
55837 #include <ieeefp.h>
55838 #endif
55839
55840 int
55841 main ()
55842 {
55843 _sqrtf(0);
55844 ;
55845 return 0;
55846 }
55847 _ACEOF
55848 if ac_fn_cxx_try_compile "$LINENO"; then :
55849 glibcxx_cv_func__sqrtf_use=yes
55850 else
55851 glibcxx_cv_func__sqrtf_use=no
55852 fi
55853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55854 ac_ext=c
55855 ac_cpp='$CPP $CPPFLAGS'
55856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55859
55860
55861 fi
55862
55863 fi
55864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55865 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55866
55867 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55868 for ac_func in _sqrtf
55869 do :
55870 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55871 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55872 cat >>confdefs.h <<_ACEOF
55873 #define HAVE__SQRTF 1
55874 _ACEOF
55875
55876 fi
55877 done
55878
55879 fi
55880 fi
55881
55882
55883
55884
55885
55886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55887 $as_echo_n "checking for sincosf declaration... " >&6; }
55888 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55889 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55890 $as_echo_n "(cached) " >&6
55891 else
55892
55893
55894 ac_ext=cpp
55895 ac_cpp='$CXXCPP $CPPFLAGS'
55896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55899
55900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55901 /* end confdefs.h. */
55902 #include <math.h>
55903 int
55904 main ()
55905 {
55906 sincosf(0, 0, 0);
55907 ;
55908 return 0;
55909 }
55910 _ACEOF
55911 if ac_fn_cxx_try_compile "$LINENO"; then :
55912 glibcxx_cv_func_sincosf_use=yes
55913 else
55914 glibcxx_cv_func_sincosf_use=no
55915 fi
55916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55917 ac_ext=c
55918 ac_cpp='$CPP $CPPFLAGS'
55919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55922
55923
55924 fi
55925
55926 fi
55927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55928 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55929
55930 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55931 for ac_func in sincosf
55932 do :
55933 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55934 if test "x$ac_cv_func_sincosf" = x""yes; then :
55935 cat >>confdefs.h <<_ACEOF
55936 #define HAVE_SINCOSF 1
55937 _ACEOF
55938
55939 fi
55940 done
55941
55942 else
55943
55944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55945 $as_echo_n "checking for _sincosf declaration... " >&6; }
55946 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55947 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55948 $as_echo_n "(cached) " >&6
55949 else
55950
55951
55952 ac_ext=cpp
55953 ac_cpp='$CXXCPP $CPPFLAGS'
55954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55957
55958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55959 /* end confdefs.h. */
55960 #include <math.h>
55961 int
55962 main ()
55963 {
55964 _sincosf(0, 0, 0);
55965 ;
55966 return 0;
55967 }
55968 _ACEOF
55969 if ac_fn_cxx_try_compile "$LINENO"; then :
55970 glibcxx_cv_func__sincosf_use=yes
55971 else
55972 glibcxx_cv_func__sincosf_use=no
55973 fi
55974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55975 ac_ext=c
55976 ac_cpp='$CPP $CPPFLAGS'
55977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55980
55981
55982 fi
55983
55984 fi
55985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55986 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55987
55988 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55989 for ac_func in _sincosf
55990 do :
55991 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55992 if test "x$ac_cv_func__sincosf" = x""yes; then :
55993 cat >>confdefs.h <<_ACEOF
55994 #define HAVE__SINCOSF 1
55995 _ACEOF
55996
55997 fi
55998 done
55999
56000 fi
56001 fi
56002
56003
56004
56005
56006
56007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56008 $as_echo_n "checking for finitef declaration... " >&6; }
56009 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56010 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56011 $as_echo_n "(cached) " >&6
56012 else
56013
56014
56015 ac_ext=cpp
56016 ac_cpp='$CXXCPP $CPPFLAGS'
56017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56020
56021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56022 /* end confdefs.h. */
56023 #include <math.h>
56024 #ifdef HAVE_IEEEFP_H
56025 #include <ieeefp.h>
56026 #endif
56027
56028 int
56029 main ()
56030 {
56031 finitef(0);
56032 ;
56033 return 0;
56034 }
56035 _ACEOF
56036 if ac_fn_cxx_try_compile "$LINENO"; then :
56037 glibcxx_cv_func_finitef_use=yes
56038 else
56039 glibcxx_cv_func_finitef_use=no
56040 fi
56041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56042 ac_ext=c
56043 ac_cpp='$CPP $CPPFLAGS'
56044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56047
56048
56049 fi
56050
56051 fi
56052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56053 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56054
56055 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56056 for ac_func in finitef
56057 do :
56058 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56059 if test "x$ac_cv_func_finitef" = x""yes; then :
56060 cat >>confdefs.h <<_ACEOF
56061 #define HAVE_FINITEF 1
56062 _ACEOF
56063
56064 fi
56065 done
56066
56067 else
56068
56069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56070 $as_echo_n "checking for _finitef declaration... " >&6; }
56071 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56072 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56073 $as_echo_n "(cached) " >&6
56074 else
56075
56076
56077 ac_ext=cpp
56078 ac_cpp='$CXXCPP $CPPFLAGS'
56079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56082
56083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56084 /* end confdefs.h. */
56085 #include <math.h>
56086 #ifdef HAVE_IEEEFP_H
56087 #include <ieeefp.h>
56088 #endif
56089
56090 int
56091 main ()
56092 {
56093 _finitef(0);
56094 ;
56095 return 0;
56096 }
56097 _ACEOF
56098 if ac_fn_cxx_try_compile "$LINENO"; then :
56099 glibcxx_cv_func__finitef_use=yes
56100 else
56101 glibcxx_cv_func__finitef_use=no
56102 fi
56103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56104 ac_ext=c
56105 ac_cpp='$CPP $CPPFLAGS'
56106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56109
56110
56111 fi
56112
56113 fi
56114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
56115 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
56116
56117 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
56118 for ac_func in _finitef
56119 do :
56120 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56121 if test "x$ac_cv_func__finitef" = x""yes; then :
56122 cat >>confdefs.h <<_ACEOF
56123 #define HAVE__FINITEF 1
56124 _ACEOF
56125
56126 fi
56127 done
56128
56129 fi
56130 fi
56131
56132
56133
56134
56135
56136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56137 $as_echo_n "checking for long double trig functions... " >&6; }
56138 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56139 $as_echo_n "(cached) " >&6
56140 else
56141
56142
56143 ac_ext=cpp
56144 ac_cpp='$CXXCPP $CPPFLAGS'
56145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56148
56149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56150 /* end confdefs.h. */
56151 #include <math.h>
56152 int
56153 main ()
56154 {
56155 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56156 ;
56157 return 0;
56158 }
56159 _ACEOF
56160 if ac_fn_cxx_try_compile "$LINENO"; then :
56161 glibcxx_cv_func_long_double_trig_use=yes
56162 else
56163 glibcxx_cv_func_long_double_trig_use=no
56164 fi
56165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56166 ac_ext=c
56167 ac_cpp='$CPP $CPPFLAGS'
56168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56171
56172 fi
56173
56174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56175 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56176 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56177 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56178 do :
56179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56181 eval as_val=\$$as_ac_var
56182 if test "x$as_val" = x""yes; then :
56183 cat >>confdefs.h <<_ACEOF
56184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56185 _ACEOF
56186
56187 fi
56188 done
56189
56190 else
56191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56192 $as_echo_n "checking for _long double trig functions... " >&6; }
56193 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56194 $as_echo_n "(cached) " >&6
56195 else
56196
56197
56198 ac_ext=cpp
56199 ac_cpp='$CXXCPP $CPPFLAGS'
56200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56203
56204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56205 /* end confdefs.h. */
56206 #include <math.h>
56207 int
56208 main ()
56209 {
56210 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56211 ;
56212 return 0;
56213 }
56214 _ACEOF
56215 if ac_fn_cxx_try_compile "$LINENO"; then :
56216 glibcxx_cv_func__long_double_trig_use=yes
56217 else
56218 glibcxx_cv_func__long_double_trig_use=no
56219 fi
56220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56221 ac_ext=c
56222 ac_cpp='$CPP $CPPFLAGS'
56223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56226
56227 fi
56228
56229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56230 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56231 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56232 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56233 do :
56234 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56235 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56236 eval as_val=\$$as_ac_var
56237 if test "x$as_val" = x""yes; then :
56238 cat >>confdefs.h <<_ACEOF
56239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56240 _ACEOF
56241
56242 fi
56243 done
56244
56245 fi
56246 fi
56247
56248
56249
56250
56251
56252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56253 $as_echo_n "checking for long double round functions... " >&6; }
56254 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56255 $as_echo_n "(cached) " >&6
56256 else
56257
56258
56259 ac_ext=cpp
56260 ac_cpp='$CXXCPP $CPPFLAGS'
56261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56264
56265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56266 /* end confdefs.h. */
56267 #include <math.h>
56268 int
56269 main ()
56270 {
56271 ceill (0); floorl (0);
56272 ;
56273 return 0;
56274 }
56275 _ACEOF
56276 if ac_fn_cxx_try_compile "$LINENO"; then :
56277 glibcxx_cv_func_long_double_round_use=yes
56278 else
56279 glibcxx_cv_func_long_double_round_use=no
56280 fi
56281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56282 ac_ext=c
56283 ac_cpp='$CPP $CPPFLAGS'
56284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56287
56288 fi
56289
56290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56291 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56292 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56293 for ac_func in ceill floorl
56294 do :
56295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56297 eval as_val=\$$as_ac_var
56298 if test "x$as_val" = x""yes; then :
56299 cat >>confdefs.h <<_ACEOF
56300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56301 _ACEOF
56302
56303 fi
56304 done
56305
56306 else
56307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56308 $as_echo_n "checking for _long double round functions... " >&6; }
56309 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56310 $as_echo_n "(cached) " >&6
56311 else
56312
56313
56314 ac_ext=cpp
56315 ac_cpp='$CXXCPP $CPPFLAGS'
56316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56319
56320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56321 /* end confdefs.h. */
56322 #include <math.h>
56323 int
56324 main ()
56325 {
56326 _ceill (0); _floorl (0);
56327 ;
56328 return 0;
56329 }
56330 _ACEOF
56331 if ac_fn_cxx_try_compile "$LINENO"; then :
56332 glibcxx_cv_func__long_double_round_use=yes
56333 else
56334 glibcxx_cv_func__long_double_round_use=no
56335 fi
56336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56337 ac_ext=c
56338 ac_cpp='$CPP $CPPFLAGS'
56339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56342
56343 fi
56344
56345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56346 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56347 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56348 for ac_func in _ceill _floorl
56349 do :
56350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56352 eval as_val=\$$as_ac_var
56353 if test "x$as_val" = x""yes; then :
56354 cat >>confdefs.h <<_ACEOF
56355 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56356 _ACEOF
56357
56358 fi
56359 done
56360
56361 fi
56362 fi
56363
56364
56365
56366
56367
56368
56369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56370 $as_echo_n "checking for isnanl declaration... " >&6; }
56371 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56372 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56373 $as_echo_n "(cached) " >&6
56374 else
56375
56376
56377 ac_ext=cpp
56378 ac_cpp='$CXXCPP $CPPFLAGS'
56379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56382
56383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56384 /* end confdefs.h. */
56385 #include <math.h>
56386 #ifdef HAVE_IEEEFP_H
56387 #include <ieeefp.h>
56388 #endif
56389
56390 int
56391 main ()
56392 {
56393 isnanl(0);
56394 ;
56395 return 0;
56396 }
56397 _ACEOF
56398 if ac_fn_cxx_try_compile "$LINENO"; then :
56399 glibcxx_cv_func_isnanl_use=yes
56400 else
56401 glibcxx_cv_func_isnanl_use=no
56402 fi
56403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56404 ac_ext=c
56405 ac_cpp='$CPP $CPPFLAGS'
56406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56409
56410
56411 fi
56412
56413 fi
56414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56415 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56416
56417 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56418 for ac_func in isnanl
56419 do :
56420 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56421 if test "x$ac_cv_func_isnanl" = x""yes; then :
56422 cat >>confdefs.h <<_ACEOF
56423 #define HAVE_ISNANL 1
56424 _ACEOF
56425
56426 fi
56427 done
56428
56429 else
56430
56431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56432 $as_echo_n "checking for _isnanl declaration... " >&6; }
56433 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56434 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56435 $as_echo_n "(cached) " >&6
56436 else
56437
56438
56439 ac_ext=cpp
56440 ac_cpp='$CXXCPP $CPPFLAGS'
56441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56444
56445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56446 /* end confdefs.h. */
56447 #include <math.h>
56448 #ifdef HAVE_IEEEFP_H
56449 #include <ieeefp.h>
56450 #endif
56451
56452 int
56453 main ()
56454 {
56455 _isnanl(0);
56456 ;
56457 return 0;
56458 }
56459 _ACEOF
56460 if ac_fn_cxx_try_compile "$LINENO"; then :
56461 glibcxx_cv_func__isnanl_use=yes
56462 else
56463 glibcxx_cv_func__isnanl_use=no
56464 fi
56465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56466 ac_ext=c
56467 ac_cpp='$CPP $CPPFLAGS'
56468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56471
56472
56473 fi
56474
56475 fi
56476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56477 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56478
56479 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56480 for ac_func in _isnanl
56481 do :
56482 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56483 if test "x$ac_cv_func__isnanl" = x""yes; then :
56484 cat >>confdefs.h <<_ACEOF
56485 #define HAVE__ISNANL 1
56486 _ACEOF
56487
56488 fi
56489 done
56490
56491 fi
56492 fi
56493
56494
56495
56496
56497
56498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56499 $as_echo_n "checking for isinfl declaration... " >&6; }
56500 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56501 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56502 $as_echo_n "(cached) " >&6
56503 else
56504
56505
56506 ac_ext=cpp
56507 ac_cpp='$CXXCPP $CPPFLAGS'
56508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56511
56512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56513 /* end confdefs.h. */
56514 #include <math.h>
56515 #ifdef HAVE_IEEEFP_H
56516 #include <ieeefp.h>
56517 #endif
56518
56519 int
56520 main ()
56521 {
56522 isinfl(0);
56523 ;
56524 return 0;
56525 }
56526 _ACEOF
56527 if ac_fn_cxx_try_compile "$LINENO"; then :
56528 glibcxx_cv_func_isinfl_use=yes
56529 else
56530 glibcxx_cv_func_isinfl_use=no
56531 fi
56532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56533 ac_ext=c
56534 ac_cpp='$CPP $CPPFLAGS'
56535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56538
56539
56540 fi
56541
56542 fi
56543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56544 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56545
56546 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56547 for ac_func in isinfl
56548 do :
56549 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56550 if test "x$ac_cv_func_isinfl" = x""yes; then :
56551 cat >>confdefs.h <<_ACEOF
56552 #define HAVE_ISINFL 1
56553 _ACEOF
56554
56555 fi
56556 done
56557
56558 else
56559
56560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56561 $as_echo_n "checking for _isinfl declaration... " >&6; }
56562 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56563 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56564 $as_echo_n "(cached) " >&6
56565 else
56566
56567
56568 ac_ext=cpp
56569 ac_cpp='$CXXCPP $CPPFLAGS'
56570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56573
56574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56575 /* end confdefs.h. */
56576 #include <math.h>
56577 #ifdef HAVE_IEEEFP_H
56578 #include <ieeefp.h>
56579 #endif
56580
56581 int
56582 main ()
56583 {
56584 _isinfl(0);
56585 ;
56586 return 0;
56587 }
56588 _ACEOF
56589 if ac_fn_cxx_try_compile "$LINENO"; then :
56590 glibcxx_cv_func__isinfl_use=yes
56591 else
56592 glibcxx_cv_func__isinfl_use=no
56593 fi
56594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56595 ac_ext=c
56596 ac_cpp='$CPP $CPPFLAGS'
56597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56600
56601
56602 fi
56603
56604 fi
56605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56606 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56607
56608 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56609 for ac_func in _isinfl
56610 do :
56611 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56612 if test "x$ac_cv_func__isinfl" = x""yes; then :
56613 cat >>confdefs.h <<_ACEOF
56614 #define HAVE__ISINFL 1
56615 _ACEOF
56616
56617 fi
56618 done
56619
56620 fi
56621 fi
56622
56623
56624
56625
56626
56627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56628 $as_echo_n "checking for atan2l declaration... " >&6; }
56629 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56630 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56631 $as_echo_n "(cached) " >&6
56632 else
56633
56634
56635 ac_ext=cpp
56636 ac_cpp='$CXXCPP $CPPFLAGS'
56637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56640
56641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56642 /* end confdefs.h. */
56643 #include <math.h>
56644 int
56645 main ()
56646 {
56647 atan2l(0, 0);
56648 ;
56649 return 0;
56650 }
56651 _ACEOF
56652 if ac_fn_cxx_try_compile "$LINENO"; then :
56653 glibcxx_cv_func_atan2l_use=yes
56654 else
56655 glibcxx_cv_func_atan2l_use=no
56656 fi
56657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56658 ac_ext=c
56659 ac_cpp='$CPP $CPPFLAGS'
56660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56663
56664
56665 fi
56666
56667 fi
56668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56669 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56670
56671 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56672 for ac_func in atan2l
56673 do :
56674 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56675 if test "x$ac_cv_func_atan2l" = x""yes; then :
56676 cat >>confdefs.h <<_ACEOF
56677 #define HAVE_ATAN2L 1
56678 _ACEOF
56679
56680 fi
56681 done
56682
56683 else
56684
56685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56686 $as_echo_n "checking for _atan2l declaration... " >&6; }
56687 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56688 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56689 $as_echo_n "(cached) " >&6
56690 else
56691
56692
56693 ac_ext=cpp
56694 ac_cpp='$CXXCPP $CPPFLAGS'
56695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56698
56699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56700 /* end confdefs.h. */
56701 #include <math.h>
56702 int
56703 main ()
56704 {
56705 _atan2l(0, 0);
56706 ;
56707 return 0;
56708 }
56709 _ACEOF
56710 if ac_fn_cxx_try_compile "$LINENO"; then :
56711 glibcxx_cv_func__atan2l_use=yes
56712 else
56713 glibcxx_cv_func__atan2l_use=no
56714 fi
56715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56716 ac_ext=c
56717 ac_cpp='$CPP $CPPFLAGS'
56718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56721
56722
56723 fi
56724
56725 fi
56726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56727 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56728
56729 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56730 for ac_func in _atan2l
56731 do :
56732 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56733 if test "x$ac_cv_func__atan2l" = x""yes; then :
56734 cat >>confdefs.h <<_ACEOF
56735 #define HAVE__ATAN2L 1
56736 _ACEOF
56737
56738 fi
56739 done
56740
56741 fi
56742 fi
56743
56744
56745
56746
56747
56748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56749 $as_echo_n "checking for expl declaration... " >&6; }
56750 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56751 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56752 $as_echo_n "(cached) " >&6
56753 else
56754
56755
56756 ac_ext=cpp
56757 ac_cpp='$CXXCPP $CPPFLAGS'
56758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56761
56762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56763 /* end confdefs.h. */
56764 #include <math.h>
56765 #ifdef HAVE_IEEEFP_H
56766 #include <ieeefp.h>
56767 #endif
56768
56769 int
56770 main ()
56771 {
56772 expl(0);
56773 ;
56774 return 0;
56775 }
56776 _ACEOF
56777 if ac_fn_cxx_try_compile "$LINENO"; then :
56778 glibcxx_cv_func_expl_use=yes
56779 else
56780 glibcxx_cv_func_expl_use=no
56781 fi
56782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56783 ac_ext=c
56784 ac_cpp='$CPP $CPPFLAGS'
56785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56788
56789
56790 fi
56791
56792 fi
56793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56794 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56795
56796 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56797 for ac_func in expl
56798 do :
56799 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56800 if test "x$ac_cv_func_expl" = x""yes; then :
56801 cat >>confdefs.h <<_ACEOF
56802 #define HAVE_EXPL 1
56803 _ACEOF
56804
56805 fi
56806 done
56807
56808 else
56809
56810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56811 $as_echo_n "checking for _expl declaration... " >&6; }
56812 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56813 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56814 $as_echo_n "(cached) " >&6
56815 else
56816
56817
56818 ac_ext=cpp
56819 ac_cpp='$CXXCPP $CPPFLAGS'
56820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56823
56824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56825 /* end confdefs.h. */
56826 #include <math.h>
56827 #ifdef HAVE_IEEEFP_H
56828 #include <ieeefp.h>
56829 #endif
56830
56831 int
56832 main ()
56833 {
56834 _expl(0);
56835 ;
56836 return 0;
56837 }
56838 _ACEOF
56839 if ac_fn_cxx_try_compile "$LINENO"; then :
56840 glibcxx_cv_func__expl_use=yes
56841 else
56842 glibcxx_cv_func__expl_use=no
56843 fi
56844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56845 ac_ext=c
56846 ac_cpp='$CPP $CPPFLAGS'
56847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56850
56851
56852 fi
56853
56854 fi
56855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56856 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56857
56858 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56859 for ac_func in _expl
56860 do :
56861 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56862 if test "x$ac_cv_func__expl" = x""yes; then :
56863 cat >>confdefs.h <<_ACEOF
56864 #define HAVE__EXPL 1
56865 _ACEOF
56866
56867 fi
56868 done
56869
56870 fi
56871 fi
56872
56873
56874
56875
56876
56877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56878 $as_echo_n "checking for fabsl declaration... " >&6; }
56879 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56880 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56881 $as_echo_n "(cached) " >&6
56882 else
56883
56884
56885 ac_ext=cpp
56886 ac_cpp='$CXXCPP $CPPFLAGS'
56887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56890
56891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56892 /* end confdefs.h. */
56893 #include <math.h>
56894 #ifdef HAVE_IEEEFP_H
56895 #include <ieeefp.h>
56896 #endif
56897
56898 int
56899 main ()
56900 {
56901 fabsl(0);
56902 ;
56903 return 0;
56904 }
56905 _ACEOF
56906 if ac_fn_cxx_try_compile "$LINENO"; then :
56907 glibcxx_cv_func_fabsl_use=yes
56908 else
56909 glibcxx_cv_func_fabsl_use=no
56910 fi
56911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56912 ac_ext=c
56913 ac_cpp='$CPP $CPPFLAGS'
56914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56917
56918
56919 fi
56920
56921 fi
56922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56923 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56924
56925 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56926 for ac_func in fabsl
56927 do :
56928 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56929 if test "x$ac_cv_func_fabsl" = x""yes; then :
56930 cat >>confdefs.h <<_ACEOF
56931 #define HAVE_FABSL 1
56932 _ACEOF
56933
56934 fi
56935 done
56936
56937 else
56938
56939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56940 $as_echo_n "checking for _fabsl declaration... " >&6; }
56941 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56942 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56943 $as_echo_n "(cached) " >&6
56944 else
56945
56946
56947 ac_ext=cpp
56948 ac_cpp='$CXXCPP $CPPFLAGS'
56949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56952
56953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56954 /* end confdefs.h. */
56955 #include <math.h>
56956 #ifdef HAVE_IEEEFP_H
56957 #include <ieeefp.h>
56958 #endif
56959
56960 int
56961 main ()
56962 {
56963 _fabsl(0);
56964 ;
56965 return 0;
56966 }
56967 _ACEOF
56968 if ac_fn_cxx_try_compile "$LINENO"; then :
56969 glibcxx_cv_func__fabsl_use=yes
56970 else
56971 glibcxx_cv_func__fabsl_use=no
56972 fi
56973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56974 ac_ext=c
56975 ac_cpp='$CPP $CPPFLAGS'
56976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56979
56980
56981 fi
56982
56983 fi
56984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56985 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56986
56987 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56988 for ac_func in _fabsl
56989 do :
56990 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56991 if test "x$ac_cv_func__fabsl" = x""yes; then :
56992 cat >>confdefs.h <<_ACEOF
56993 #define HAVE__FABSL 1
56994 _ACEOF
56995
56996 fi
56997 done
56998
56999 fi
57000 fi
57001
57002
57003
57004
57005
57006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57007 $as_echo_n "checking for fmodl declaration... " >&6; }
57008 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57009 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57010 $as_echo_n "(cached) " >&6
57011 else
57012
57013
57014 ac_ext=cpp
57015 ac_cpp='$CXXCPP $CPPFLAGS'
57016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57019
57020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57021 /* end confdefs.h. */
57022 #include <math.h>
57023 int
57024 main ()
57025 {
57026 fmodl(0, 0);
57027 ;
57028 return 0;
57029 }
57030 _ACEOF
57031 if ac_fn_cxx_try_compile "$LINENO"; then :
57032 glibcxx_cv_func_fmodl_use=yes
57033 else
57034 glibcxx_cv_func_fmodl_use=no
57035 fi
57036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57037 ac_ext=c
57038 ac_cpp='$CPP $CPPFLAGS'
57039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57042
57043
57044 fi
57045
57046 fi
57047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57048 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57049
57050 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57051 for ac_func in fmodl
57052 do :
57053 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57054 if test "x$ac_cv_func_fmodl" = x""yes; then :
57055 cat >>confdefs.h <<_ACEOF
57056 #define HAVE_FMODL 1
57057 _ACEOF
57058
57059 fi
57060 done
57061
57062 else
57063
57064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57065 $as_echo_n "checking for _fmodl declaration... " >&6; }
57066 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57067 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57068 $as_echo_n "(cached) " >&6
57069 else
57070
57071
57072 ac_ext=cpp
57073 ac_cpp='$CXXCPP $CPPFLAGS'
57074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57077
57078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57079 /* end confdefs.h. */
57080 #include <math.h>
57081 int
57082 main ()
57083 {
57084 _fmodl(0, 0);
57085 ;
57086 return 0;
57087 }
57088 _ACEOF
57089 if ac_fn_cxx_try_compile "$LINENO"; then :
57090 glibcxx_cv_func__fmodl_use=yes
57091 else
57092 glibcxx_cv_func__fmodl_use=no
57093 fi
57094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57095 ac_ext=c
57096 ac_cpp='$CPP $CPPFLAGS'
57097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57100
57101
57102 fi
57103
57104 fi
57105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
57106 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
57107
57108 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57109 for ac_func in _fmodl
57110 do :
57111 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
57112 if test "x$ac_cv_func__fmodl" = x""yes; then :
57113 cat >>confdefs.h <<_ACEOF
57114 #define HAVE__FMODL 1
57115 _ACEOF
57116
57117 fi
57118 done
57119
57120 fi
57121 fi
57122
57123
57124
57125
57126
57127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57128 $as_echo_n "checking for frexpl declaration... " >&6; }
57129 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57130 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57131 $as_echo_n "(cached) " >&6
57132 else
57133
57134
57135 ac_ext=cpp
57136 ac_cpp='$CXXCPP $CPPFLAGS'
57137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57140
57141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57142 /* end confdefs.h. */
57143 #include <math.h>
57144 int
57145 main ()
57146 {
57147 frexpl(0, 0);
57148 ;
57149 return 0;
57150 }
57151 _ACEOF
57152 if ac_fn_cxx_try_compile "$LINENO"; then :
57153 glibcxx_cv_func_frexpl_use=yes
57154 else
57155 glibcxx_cv_func_frexpl_use=no
57156 fi
57157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57158 ac_ext=c
57159 ac_cpp='$CPP $CPPFLAGS'
57160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57163
57164
57165 fi
57166
57167 fi
57168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57169 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57170
57171 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57172 for ac_func in frexpl
57173 do :
57174 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57175 if test "x$ac_cv_func_frexpl" = x""yes; then :
57176 cat >>confdefs.h <<_ACEOF
57177 #define HAVE_FREXPL 1
57178 _ACEOF
57179
57180 fi
57181 done
57182
57183 else
57184
57185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57186 $as_echo_n "checking for _frexpl declaration... " >&6; }
57187 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57188 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57189 $as_echo_n "(cached) " >&6
57190 else
57191
57192
57193 ac_ext=cpp
57194 ac_cpp='$CXXCPP $CPPFLAGS'
57195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57198
57199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57200 /* end confdefs.h. */
57201 #include <math.h>
57202 int
57203 main ()
57204 {
57205 _frexpl(0, 0);
57206 ;
57207 return 0;
57208 }
57209 _ACEOF
57210 if ac_fn_cxx_try_compile "$LINENO"; then :
57211 glibcxx_cv_func__frexpl_use=yes
57212 else
57213 glibcxx_cv_func__frexpl_use=no
57214 fi
57215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57216 ac_ext=c
57217 ac_cpp='$CPP $CPPFLAGS'
57218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57221
57222
57223 fi
57224
57225 fi
57226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57227 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57228
57229 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57230 for ac_func in _frexpl
57231 do :
57232 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57233 if test "x$ac_cv_func__frexpl" = x""yes; then :
57234 cat >>confdefs.h <<_ACEOF
57235 #define HAVE__FREXPL 1
57236 _ACEOF
57237
57238 fi
57239 done
57240
57241 fi
57242 fi
57243
57244
57245
57246
57247
57248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57249 $as_echo_n "checking for hypotl declaration... " >&6; }
57250 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57251 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57252 $as_echo_n "(cached) " >&6
57253 else
57254
57255
57256 ac_ext=cpp
57257 ac_cpp='$CXXCPP $CPPFLAGS'
57258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57261
57262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57263 /* end confdefs.h. */
57264 #include <math.h>
57265 int
57266 main ()
57267 {
57268 hypotl(0, 0);
57269 ;
57270 return 0;
57271 }
57272 _ACEOF
57273 if ac_fn_cxx_try_compile "$LINENO"; then :
57274 glibcxx_cv_func_hypotl_use=yes
57275 else
57276 glibcxx_cv_func_hypotl_use=no
57277 fi
57278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57279 ac_ext=c
57280 ac_cpp='$CPP $CPPFLAGS'
57281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57284
57285
57286 fi
57287
57288 fi
57289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57290 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57291
57292 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57293 for ac_func in hypotl
57294 do :
57295 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57296 if test "x$ac_cv_func_hypotl" = x""yes; then :
57297 cat >>confdefs.h <<_ACEOF
57298 #define HAVE_HYPOTL 1
57299 _ACEOF
57300
57301 fi
57302 done
57303
57304 else
57305
57306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57307 $as_echo_n "checking for _hypotl declaration... " >&6; }
57308 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57309 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57310 $as_echo_n "(cached) " >&6
57311 else
57312
57313
57314 ac_ext=cpp
57315 ac_cpp='$CXXCPP $CPPFLAGS'
57316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57319
57320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57321 /* end confdefs.h. */
57322 #include <math.h>
57323 int
57324 main ()
57325 {
57326 _hypotl(0, 0);
57327 ;
57328 return 0;
57329 }
57330 _ACEOF
57331 if ac_fn_cxx_try_compile "$LINENO"; then :
57332 glibcxx_cv_func__hypotl_use=yes
57333 else
57334 glibcxx_cv_func__hypotl_use=no
57335 fi
57336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57337 ac_ext=c
57338 ac_cpp='$CPP $CPPFLAGS'
57339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57342
57343
57344 fi
57345
57346 fi
57347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57348 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57349
57350 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57351 for ac_func in _hypotl
57352 do :
57353 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57354 if test "x$ac_cv_func__hypotl" = x""yes; then :
57355 cat >>confdefs.h <<_ACEOF
57356 #define HAVE__HYPOTL 1
57357 _ACEOF
57358
57359 fi
57360 done
57361
57362 fi
57363 fi
57364
57365
57366
57367
57368
57369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57370 $as_echo_n "checking for ldexpl declaration... " >&6; }
57371 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57372 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57373 $as_echo_n "(cached) " >&6
57374 else
57375
57376
57377 ac_ext=cpp
57378 ac_cpp='$CXXCPP $CPPFLAGS'
57379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57382
57383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57384 /* end confdefs.h. */
57385 #include <math.h>
57386 int
57387 main ()
57388 {
57389 ldexpl(0, 0);
57390 ;
57391 return 0;
57392 }
57393 _ACEOF
57394 if ac_fn_cxx_try_compile "$LINENO"; then :
57395 glibcxx_cv_func_ldexpl_use=yes
57396 else
57397 glibcxx_cv_func_ldexpl_use=no
57398 fi
57399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57400 ac_ext=c
57401 ac_cpp='$CPP $CPPFLAGS'
57402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57405
57406
57407 fi
57408
57409 fi
57410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57411 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57412
57413 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57414 for ac_func in ldexpl
57415 do :
57416 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57417 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57418 cat >>confdefs.h <<_ACEOF
57419 #define HAVE_LDEXPL 1
57420 _ACEOF
57421
57422 fi
57423 done
57424
57425 else
57426
57427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57428 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57429 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57430 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57431 $as_echo_n "(cached) " >&6
57432 else
57433
57434
57435 ac_ext=cpp
57436 ac_cpp='$CXXCPP $CPPFLAGS'
57437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57440
57441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57442 /* end confdefs.h. */
57443 #include <math.h>
57444 int
57445 main ()
57446 {
57447 _ldexpl(0, 0);
57448 ;
57449 return 0;
57450 }
57451 _ACEOF
57452 if ac_fn_cxx_try_compile "$LINENO"; then :
57453 glibcxx_cv_func__ldexpl_use=yes
57454 else
57455 glibcxx_cv_func__ldexpl_use=no
57456 fi
57457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57458 ac_ext=c
57459 ac_cpp='$CPP $CPPFLAGS'
57460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57463
57464
57465 fi
57466
57467 fi
57468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57469 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57470
57471 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57472 for ac_func in _ldexpl
57473 do :
57474 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57475 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57476 cat >>confdefs.h <<_ACEOF
57477 #define HAVE__LDEXPL 1
57478 _ACEOF
57479
57480 fi
57481 done
57482
57483 fi
57484 fi
57485
57486
57487
57488
57489
57490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57491 $as_echo_n "checking for logl declaration... " >&6; }
57492 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57493 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57494 $as_echo_n "(cached) " >&6
57495 else
57496
57497
57498 ac_ext=cpp
57499 ac_cpp='$CXXCPP $CPPFLAGS'
57500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57503
57504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57505 /* end confdefs.h. */
57506 #include <math.h>
57507 #ifdef HAVE_IEEEFP_H
57508 #include <ieeefp.h>
57509 #endif
57510
57511 int
57512 main ()
57513 {
57514 logl(0);
57515 ;
57516 return 0;
57517 }
57518 _ACEOF
57519 if ac_fn_cxx_try_compile "$LINENO"; then :
57520 glibcxx_cv_func_logl_use=yes
57521 else
57522 glibcxx_cv_func_logl_use=no
57523 fi
57524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57525 ac_ext=c
57526 ac_cpp='$CPP $CPPFLAGS'
57527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57530
57531
57532 fi
57533
57534 fi
57535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57536 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57537
57538 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57539 for ac_func in logl
57540 do :
57541 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57542 if test "x$ac_cv_func_logl" = x""yes; then :
57543 cat >>confdefs.h <<_ACEOF
57544 #define HAVE_LOGL 1
57545 _ACEOF
57546
57547 fi
57548 done
57549
57550 else
57551
57552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57553 $as_echo_n "checking for _logl declaration... " >&6; }
57554 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57555 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57556 $as_echo_n "(cached) " >&6
57557 else
57558
57559
57560 ac_ext=cpp
57561 ac_cpp='$CXXCPP $CPPFLAGS'
57562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57565
57566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57567 /* end confdefs.h. */
57568 #include <math.h>
57569 #ifdef HAVE_IEEEFP_H
57570 #include <ieeefp.h>
57571 #endif
57572
57573 int
57574 main ()
57575 {
57576 _logl(0);
57577 ;
57578 return 0;
57579 }
57580 _ACEOF
57581 if ac_fn_cxx_try_compile "$LINENO"; then :
57582 glibcxx_cv_func__logl_use=yes
57583 else
57584 glibcxx_cv_func__logl_use=no
57585 fi
57586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57587 ac_ext=c
57588 ac_cpp='$CPP $CPPFLAGS'
57589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57592
57593
57594 fi
57595
57596 fi
57597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57598 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57599
57600 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57601 for ac_func in _logl
57602 do :
57603 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57604 if test "x$ac_cv_func__logl" = x""yes; then :
57605 cat >>confdefs.h <<_ACEOF
57606 #define HAVE__LOGL 1
57607 _ACEOF
57608
57609 fi
57610 done
57611
57612 fi
57613 fi
57614
57615
57616
57617
57618
57619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57620 $as_echo_n "checking for log10l declaration... " >&6; }
57621 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57622 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57623 $as_echo_n "(cached) " >&6
57624 else
57625
57626
57627 ac_ext=cpp
57628 ac_cpp='$CXXCPP $CPPFLAGS'
57629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57632
57633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57634 /* end confdefs.h. */
57635 #include <math.h>
57636 #ifdef HAVE_IEEEFP_H
57637 #include <ieeefp.h>
57638 #endif
57639
57640 int
57641 main ()
57642 {
57643 log10l(0);
57644 ;
57645 return 0;
57646 }
57647 _ACEOF
57648 if ac_fn_cxx_try_compile "$LINENO"; then :
57649 glibcxx_cv_func_log10l_use=yes
57650 else
57651 glibcxx_cv_func_log10l_use=no
57652 fi
57653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57654 ac_ext=c
57655 ac_cpp='$CPP $CPPFLAGS'
57656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57659
57660
57661 fi
57662
57663 fi
57664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57665 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57666
57667 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57668 for ac_func in log10l
57669 do :
57670 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57671 if test "x$ac_cv_func_log10l" = x""yes; then :
57672 cat >>confdefs.h <<_ACEOF
57673 #define HAVE_LOG10L 1
57674 _ACEOF
57675
57676 fi
57677 done
57678
57679 else
57680
57681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57682 $as_echo_n "checking for _log10l declaration... " >&6; }
57683 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57684 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57685 $as_echo_n "(cached) " >&6
57686 else
57687
57688
57689 ac_ext=cpp
57690 ac_cpp='$CXXCPP $CPPFLAGS'
57691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57694
57695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57696 /* end confdefs.h. */
57697 #include <math.h>
57698 #ifdef HAVE_IEEEFP_H
57699 #include <ieeefp.h>
57700 #endif
57701
57702 int
57703 main ()
57704 {
57705 _log10l(0);
57706 ;
57707 return 0;
57708 }
57709 _ACEOF
57710 if ac_fn_cxx_try_compile "$LINENO"; then :
57711 glibcxx_cv_func__log10l_use=yes
57712 else
57713 glibcxx_cv_func__log10l_use=no
57714 fi
57715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57716 ac_ext=c
57717 ac_cpp='$CPP $CPPFLAGS'
57718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57721
57722
57723 fi
57724
57725 fi
57726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57727 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57728
57729 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57730 for ac_func in _log10l
57731 do :
57732 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57733 if test "x$ac_cv_func__log10l" = x""yes; then :
57734 cat >>confdefs.h <<_ACEOF
57735 #define HAVE__LOG10L 1
57736 _ACEOF
57737
57738 fi
57739 done
57740
57741 fi
57742 fi
57743
57744
57745
57746
57747
57748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57749 $as_echo_n "checking for modfl declaration... " >&6; }
57750 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57751 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57752 $as_echo_n "(cached) " >&6
57753 else
57754
57755
57756 ac_ext=cpp
57757 ac_cpp='$CXXCPP $CPPFLAGS'
57758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57761
57762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57763 /* end confdefs.h. */
57764 #include <math.h>
57765 int
57766 main ()
57767 {
57768 modfl(0, 0);
57769 ;
57770 return 0;
57771 }
57772 _ACEOF
57773 if ac_fn_cxx_try_compile "$LINENO"; then :
57774 glibcxx_cv_func_modfl_use=yes
57775 else
57776 glibcxx_cv_func_modfl_use=no
57777 fi
57778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57779 ac_ext=c
57780 ac_cpp='$CPP $CPPFLAGS'
57781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57784
57785
57786 fi
57787
57788 fi
57789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57790 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57791
57792 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57793 for ac_func in modfl
57794 do :
57795 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57796 if test "x$ac_cv_func_modfl" = x""yes; then :
57797 cat >>confdefs.h <<_ACEOF
57798 #define HAVE_MODFL 1
57799 _ACEOF
57800
57801 fi
57802 done
57803
57804 else
57805
57806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57807 $as_echo_n "checking for _modfl declaration... " >&6; }
57808 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57809 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57810 $as_echo_n "(cached) " >&6
57811 else
57812
57813
57814 ac_ext=cpp
57815 ac_cpp='$CXXCPP $CPPFLAGS'
57816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57819
57820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57821 /* end confdefs.h. */
57822 #include <math.h>
57823 int
57824 main ()
57825 {
57826 _modfl(0, 0);
57827 ;
57828 return 0;
57829 }
57830 _ACEOF
57831 if ac_fn_cxx_try_compile "$LINENO"; then :
57832 glibcxx_cv_func__modfl_use=yes
57833 else
57834 glibcxx_cv_func__modfl_use=no
57835 fi
57836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57837 ac_ext=c
57838 ac_cpp='$CPP $CPPFLAGS'
57839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57842
57843
57844 fi
57845
57846 fi
57847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57848 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57849
57850 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57851 for ac_func in _modfl
57852 do :
57853 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57854 if test "x$ac_cv_func__modfl" = x""yes; then :
57855 cat >>confdefs.h <<_ACEOF
57856 #define HAVE__MODFL 1
57857 _ACEOF
57858
57859 fi
57860 done
57861
57862 fi
57863 fi
57864
57865
57866
57867
57868
57869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57870 $as_echo_n "checking for powl declaration... " >&6; }
57871 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57872 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57873 $as_echo_n "(cached) " >&6
57874 else
57875
57876
57877 ac_ext=cpp
57878 ac_cpp='$CXXCPP $CPPFLAGS'
57879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57882
57883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57884 /* end confdefs.h. */
57885 #include <math.h>
57886 int
57887 main ()
57888 {
57889 powl(0, 0);
57890 ;
57891 return 0;
57892 }
57893 _ACEOF
57894 if ac_fn_cxx_try_compile "$LINENO"; then :
57895 glibcxx_cv_func_powl_use=yes
57896 else
57897 glibcxx_cv_func_powl_use=no
57898 fi
57899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57900 ac_ext=c
57901 ac_cpp='$CPP $CPPFLAGS'
57902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57905
57906
57907 fi
57908
57909 fi
57910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57911 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57912
57913 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57914 for ac_func in powl
57915 do :
57916 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57917 if test "x$ac_cv_func_powl" = x""yes; then :
57918 cat >>confdefs.h <<_ACEOF
57919 #define HAVE_POWL 1
57920 _ACEOF
57921
57922 fi
57923 done
57924
57925 else
57926
57927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57928 $as_echo_n "checking for _powl declaration... " >&6; }
57929 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57930 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57931 $as_echo_n "(cached) " >&6
57932 else
57933
57934
57935 ac_ext=cpp
57936 ac_cpp='$CXXCPP $CPPFLAGS'
57937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57940
57941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57942 /* end confdefs.h. */
57943 #include <math.h>
57944 int
57945 main ()
57946 {
57947 _powl(0, 0);
57948 ;
57949 return 0;
57950 }
57951 _ACEOF
57952 if ac_fn_cxx_try_compile "$LINENO"; then :
57953 glibcxx_cv_func__powl_use=yes
57954 else
57955 glibcxx_cv_func__powl_use=no
57956 fi
57957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57958 ac_ext=c
57959 ac_cpp='$CPP $CPPFLAGS'
57960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57963
57964
57965 fi
57966
57967 fi
57968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57969 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57970
57971 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57972 for ac_func in _powl
57973 do :
57974 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57975 if test "x$ac_cv_func__powl" = x""yes; then :
57976 cat >>confdefs.h <<_ACEOF
57977 #define HAVE__POWL 1
57978 _ACEOF
57979
57980 fi
57981 done
57982
57983 fi
57984 fi
57985
57986
57987
57988
57989
57990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57991 $as_echo_n "checking for sqrtl declaration... " >&6; }
57992 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57993 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57994 $as_echo_n "(cached) " >&6
57995 else
57996
57997
57998 ac_ext=cpp
57999 ac_cpp='$CXXCPP $CPPFLAGS'
58000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58003
58004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58005 /* end confdefs.h. */
58006 #include <math.h>
58007 #ifdef HAVE_IEEEFP_H
58008 #include <ieeefp.h>
58009 #endif
58010
58011 int
58012 main ()
58013 {
58014 sqrtl(0);
58015 ;
58016 return 0;
58017 }
58018 _ACEOF
58019 if ac_fn_cxx_try_compile "$LINENO"; then :
58020 glibcxx_cv_func_sqrtl_use=yes
58021 else
58022 glibcxx_cv_func_sqrtl_use=no
58023 fi
58024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58025 ac_ext=c
58026 ac_cpp='$CPP $CPPFLAGS'
58027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58030
58031
58032 fi
58033
58034 fi
58035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58036 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58037
58038 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58039 for ac_func in sqrtl
58040 do :
58041 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58042 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58043 cat >>confdefs.h <<_ACEOF
58044 #define HAVE_SQRTL 1
58045 _ACEOF
58046
58047 fi
58048 done
58049
58050 else
58051
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58053 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58054 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58055 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58056 $as_echo_n "(cached) " >&6
58057 else
58058
58059
58060 ac_ext=cpp
58061 ac_cpp='$CXXCPP $CPPFLAGS'
58062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58065
58066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58067 /* end confdefs.h. */
58068 #include <math.h>
58069 #ifdef HAVE_IEEEFP_H
58070 #include <ieeefp.h>
58071 #endif
58072
58073 int
58074 main ()
58075 {
58076 _sqrtl(0);
58077 ;
58078 return 0;
58079 }
58080 _ACEOF
58081 if ac_fn_cxx_try_compile "$LINENO"; then :
58082 glibcxx_cv_func__sqrtl_use=yes
58083 else
58084 glibcxx_cv_func__sqrtl_use=no
58085 fi
58086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58087 ac_ext=c
58088 ac_cpp='$CPP $CPPFLAGS'
58089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58092
58093
58094 fi
58095
58096 fi
58097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
58098 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
58099
58100 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58101 for ac_func in _sqrtl
58102 do :
58103 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
58104 if test "x$ac_cv_func__sqrtl" = x""yes; then :
58105 cat >>confdefs.h <<_ACEOF
58106 #define HAVE__SQRTL 1
58107 _ACEOF
58108
58109 fi
58110 done
58111
58112 fi
58113 fi
58114
58115
58116
58117
58118
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58120 $as_echo_n "checking for sincosl declaration... " >&6; }
58121 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58122 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58123 $as_echo_n "(cached) " >&6
58124 else
58125
58126
58127 ac_ext=cpp
58128 ac_cpp='$CXXCPP $CPPFLAGS'
58129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58132
58133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58134 /* end confdefs.h. */
58135 #include <math.h>
58136 int
58137 main ()
58138 {
58139 sincosl(0, 0, 0);
58140 ;
58141 return 0;
58142 }
58143 _ACEOF
58144 if ac_fn_cxx_try_compile "$LINENO"; then :
58145 glibcxx_cv_func_sincosl_use=yes
58146 else
58147 glibcxx_cv_func_sincosl_use=no
58148 fi
58149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58150 ac_ext=c
58151 ac_cpp='$CPP $CPPFLAGS'
58152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58155
58156
58157 fi
58158
58159 fi
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58161 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58162
58163 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58164 for ac_func in sincosl
58165 do :
58166 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58167 if test "x$ac_cv_func_sincosl" = x""yes; then :
58168 cat >>confdefs.h <<_ACEOF
58169 #define HAVE_SINCOSL 1
58170 _ACEOF
58171
58172 fi
58173 done
58174
58175 else
58176
58177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58178 $as_echo_n "checking for _sincosl declaration... " >&6; }
58179 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58180 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58181 $as_echo_n "(cached) " >&6
58182 else
58183
58184
58185 ac_ext=cpp
58186 ac_cpp='$CXXCPP $CPPFLAGS'
58187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58190
58191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58192 /* end confdefs.h. */
58193 #include <math.h>
58194 int
58195 main ()
58196 {
58197 _sincosl(0, 0, 0);
58198 ;
58199 return 0;
58200 }
58201 _ACEOF
58202 if ac_fn_cxx_try_compile "$LINENO"; then :
58203 glibcxx_cv_func__sincosl_use=yes
58204 else
58205 glibcxx_cv_func__sincosl_use=no
58206 fi
58207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58208 ac_ext=c
58209 ac_cpp='$CPP $CPPFLAGS'
58210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58213
58214
58215 fi
58216
58217 fi
58218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58219 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58220
58221 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58222 for ac_func in _sincosl
58223 do :
58224 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58225 if test "x$ac_cv_func__sincosl" = x""yes; then :
58226 cat >>confdefs.h <<_ACEOF
58227 #define HAVE__SINCOSL 1
58228 _ACEOF
58229
58230 fi
58231 done
58232
58233 fi
58234 fi
58235
58236
58237
58238
58239
58240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58241 $as_echo_n "checking for finitel declaration... " >&6; }
58242 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58243 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58244 $as_echo_n "(cached) " >&6
58245 else
58246
58247
58248 ac_ext=cpp
58249 ac_cpp='$CXXCPP $CPPFLAGS'
58250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58253
58254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58255 /* end confdefs.h. */
58256 #include <math.h>
58257 #ifdef HAVE_IEEEFP_H
58258 #include <ieeefp.h>
58259 #endif
58260
58261 int
58262 main ()
58263 {
58264 finitel(0);
58265 ;
58266 return 0;
58267 }
58268 _ACEOF
58269 if ac_fn_cxx_try_compile "$LINENO"; then :
58270 glibcxx_cv_func_finitel_use=yes
58271 else
58272 glibcxx_cv_func_finitel_use=no
58273 fi
58274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58275 ac_ext=c
58276 ac_cpp='$CPP $CPPFLAGS'
58277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58280
58281
58282 fi
58283
58284 fi
58285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58286 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58287
58288 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58289 for ac_func in finitel
58290 do :
58291 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58292 if test "x$ac_cv_func_finitel" = x""yes; then :
58293 cat >>confdefs.h <<_ACEOF
58294 #define HAVE_FINITEL 1
58295 _ACEOF
58296
58297 fi
58298 done
58299
58300 else
58301
58302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58303 $as_echo_n "checking for _finitel declaration... " >&6; }
58304 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58305 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58306 $as_echo_n "(cached) " >&6
58307 else
58308
58309
58310 ac_ext=cpp
58311 ac_cpp='$CXXCPP $CPPFLAGS'
58312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58315
58316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58317 /* end confdefs.h. */
58318 #include <math.h>
58319 #ifdef HAVE_IEEEFP_H
58320 #include <ieeefp.h>
58321 #endif
58322
58323 int
58324 main ()
58325 {
58326 _finitel(0);
58327 ;
58328 return 0;
58329 }
58330 _ACEOF
58331 if ac_fn_cxx_try_compile "$LINENO"; then :
58332 glibcxx_cv_func__finitel_use=yes
58333 else
58334 glibcxx_cv_func__finitel_use=no
58335 fi
58336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58337 ac_ext=c
58338 ac_cpp='$CPP $CPPFLAGS'
58339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58342
58343
58344 fi
58345
58346 fi
58347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58348 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58349
58350 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58351 for ac_func in _finitel
58352 do :
58353 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58354 if test "x$ac_cv_func__finitel" = x""yes; then :
58355 cat >>confdefs.h <<_ACEOF
58356 #define HAVE__FINITEL 1
58357 _ACEOF
58358
58359 fi
58360 done
58361
58362 fi
58363 fi
58364
58365
58366
58367
58368 LIBS="$ac_save_LIBS"
58369 CXXFLAGS="$ac_save_CXXFLAGS"
58370
58371
58372 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58373 ac_save_CXXFLAGS="$CXXFLAGS"
58374 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58375
58376
58377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58378 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58379 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58380 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58381 $as_echo_n "(cached) " >&6
58382 else
58383
58384
58385 ac_ext=cpp
58386 ac_cpp='$CXXCPP $CPPFLAGS'
58387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58390
58391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58392 /* end confdefs.h. */
58393 #include <stdlib.h>
58394 int
58395 main ()
58396 {
58397 at_quick_exit(0);
58398 ;
58399 return 0;
58400 }
58401 _ACEOF
58402 if ac_fn_cxx_try_compile "$LINENO"; then :
58403 glibcxx_cv_func_at_quick_exit_use=yes
58404 else
58405 glibcxx_cv_func_at_quick_exit_use=no
58406 fi
58407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58408 ac_ext=c
58409 ac_cpp='$CPP $CPPFLAGS'
58410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58413
58414
58415 fi
58416
58417 fi
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58419 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58420 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58421 for ac_func in at_quick_exit
58422 do :
58423 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58424 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58425 cat >>confdefs.h <<_ACEOF
58426 #define HAVE_AT_QUICK_EXIT 1
58427 _ACEOF
58428
58429 fi
58430 done
58431
58432 fi
58433
58434
58435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58436 $as_echo_n "checking for quick_exit declaration... " >&6; }
58437 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58438 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58439 $as_echo_n "(cached) " >&6
58440 else
58441
58442
58443 ac_ext=cpp
58444 ac_cpp='$CXXCPP $CPPFLAGS'
58445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58448
58449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58450 /* end confdefs.h. */
58451 #include <stdlib.h>
58452 int
58453 main ()
58454 {
58455 quick_exit(0);
58456 ;
58457 return 0;
58458 }
58459 _ACEOF
58460 if ac_fn_cxx_try_compile "$LINENO"; then :
58461 glibcxx_cv_func_quick_exit_use=yes
58462 else
58463 glibcxx_cv_func_quick_exit_use=no
58464 fi
58465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58466 ac_ext=c
58467 ac_cpp='$CPP $CPPFLAGS'
58468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58471
58472
58473 fi
58474
58475 fi
58476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58477 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58478 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58479 for ac_func in quick_exit
58480 do :
58481 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58482 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58483 cat >>confdefs.h <<_ACEOF
58484 #define HAVE_QUICK_EXIT 1
58485 _ACEOF
58486
58487 fi
58488 done
58489
58490 fi
58491
58492
58493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58494 $as_echo_n "checking for strtold declaration... " >&6; }
58495 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58496 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58497 $as_echo_n "(cached) " >&6
58498 else
58499
58500
58501 ac_ext=cpp
58502 ac_cpp='$CXXCPP $CPPFLAGS'
58503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58506
58507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58508 /* end confdefs.h. */
58509 #include <stdlib.h>
58510 int
58511 main ()
58512 {
58513 strtold(0, 0);
58514 ;
58515 return 0;
58516 }
58517 _ACEOF
58518 if ac_fn_cxx_try_compile "$LINENO"; then :
58519 glibcxx_cv_func_strtold_use=yes
58520 else
58521 glibcxx_cv_func_strtold_use=no
58522 fi
58523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58524 ac_ext=c
58525 ac_cpp='$CPP $CPPFLAGS'
58526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58529
58530
58531 fi
58532
58533 fi
58534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58535 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58536 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58537 for ac_func in strtold
58538 do :
58539 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58540 if test "x$ac_cv_func_strtold" = x""yes; then :
58541 cat >>confdefs.h <<_ACEOF
58542 #define HAVE_STRTOLD 1
58543 _ACEOF
58544
58545 fi
58546 done
58547
58548 fi
58549
58550
58551
58552
58553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58554 $as_echo_n "checking for strtof declaration... " >&6; }
58555 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58556 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58557 $as_echo_n "(cached) " >&6
58558 else
58559
58560
58561 ac_ext=cpp
58562 ac_cpp='$CXXCPP $CPPFLAGS'
58563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58566
58567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58568 /* end confdefs.h. */
58569 #include <stdlib.h>
58570 int
58571 main ()
58572 {
58573 strtof(0, 0);
58574 ;
58575 return 0;
58576 }
58577 _ACEOF
58578 if ac_fn_cxx_try_compile "$LINENO"; then :
58579 glibcxx_cv_func_strtof_use=yes
58580 else
58581 glibcxx_cv_func_strtof_use=no
58582 fi
58583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58584 ac_ext=c
58585 ac_cpp='$CPP $CPPFLAGS'
58586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58589
58590
58591 fi
58592
58593 fi
58594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58595 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58596 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58597 for ac_func in strtof
58598 do :
58599 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58600 if test "x$ac_cv_func_strtof" = x""yes; then :
58601 cat >>confdefs.h <<_ACEOF
58602 #define HAVE_STRTOF 1
58603 _ACEOF
58604
58605 fi
58606 done
58607
58608 fi
58609
58610
58611
58612
58613 CXXFLAGS="$ac_save_CXXFLAGS"
58614
58615 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58616
58617
58618
58619 # Check whether --enable-tls was given.
58620 if test "${enable_tls+set}" = set; then :
58621 enableval=$enable_tls;
58622 case "$enableval" in
58623 yes|no) ;;
58624 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58625 esac
58626
58627 else
58628 enable_tls=yes
58629 fi
58630
58631
58632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58633 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58634 if test "${gcc_cv_have_tls+set}" = set; then :
58635 $as_echo_n "(cached) " >&6
58636 else
58637
58638 if test "$cross_compiling" = yes; then :
58639 if test x$gcc_no_link = xyes; then
58640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58641 fi
58642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58643 /* end confdefs.h. */
58644 __thread int a; int b; int main() { return a = b; }
58645 _ACEOF
58646 if ac_fn_c_try_link "$LINENO"; then :
58647 chktls_save_LDFLAGS="$LDFLAGS"
58648 case $host in
58649 *-*-linux*)
58650 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58651 ;;
58652 esac
58653 chktls_save_CFLAGS="$CFLAGS"
58654 CFLAGS="-fPIC $CFLAGS"
58655 if test x$gcc_no_link = xyes; then
58656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58657 fi
58658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58659 /* end confdefs.h. */
58660 int f() { return 0; }
58661 _ACEOF
58662 if ac_fn_c_try_link "$LINENO"; then :
58663 if test x$gcc_no_link = xyes; then
58664 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58665 fi
58666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58667 /* end confdefs.h. */
58668 __thread int a; int b; int f() { return a = b; }
58669 _ACEOF
58670 if ac_fn_c_try_link "$LINENO"; then :
58671 gcc_cv_have_tls=yes
58672 else
58673 gcc_cv_have_tls=no
58674 fi
58675 rm -f core conftest.err conftest.$ac_objext \
58676 conftest$ac_exeext conftest.$ac_ext
58677 else
58678 gcc_cv_have_tls=yes
58679 fi
58680 rm -f core conftest.err conftest.$ac_objext \
58681 conftest$ac_exeext conftest.$ac_ext
58682 CFLAGS="$chktls_save_CFLAGS"
58683 LDFLAGS="$chktls_save_LDFLAGS"
58684 else
58685 gcc_cv_have_tls=no
58686 fi
58687 rm -f core conftest.err conftest.$ac_objext \
58688 conftest$ac_exeext conftest.$ac_ext
58689
58690
58691 else
58692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58693 /* end confdefs.h. */
58694 __thread int a; int b; int main() { return a = b; }
58695 _ACEOF
58696 if ac_fn_c_try_run "$LINENO"; then :
58697 chktls_save_LDFLAGS="$LDFLAGS"
58698 LDFLAGS="-static $LDFLAGS"
58699 if test x$gcc_no_link = xyes; then
58700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58701 fi
58702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58703 /* end confdefs.h. */
58704 int main() { return 0; }
58705 _ACEOF
58706 if ac_fn_c_try_link "$LINENO"; then :
58707 if test "$cross_compiling" = yes; then :
58708 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58710 as_fn_error "cannot run test program while cross compiling
58711 See \`config.log' for more details." "$LINENO" 5; }
58712 else
58713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58714 /* end confdefs.h. */
58715 __thread int a; int b; int main() { return a = b; }
58716 _ACEOF
58717 if ac_fn_c_try_run "$LINENO"; then :
58718 gcc_cv_have_tls=yes
58719 else
58720 gcc_cv_have_tls=no
58721 fi
58722 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58723 conftest.$ac_objext conftest.beam conftest.$ac_ext
58724 fi
58725
58726 else
58727 gcc_cv_have_tls=yes
58728 fi
58729 rm -f core conftest.err conftest.$ac_objext \
58730 conftest$ac_exeext conftest.$ac_ext
58731 LDFLAGS="$chktls_save_LDFLAGS"
58732 if test $gcc_cv_have_tls = yes; then
58733 chktls_save_CFLAGS="$CFLAGS"
58734 thread_CFLAGS=failed
58735 for flag in '' '-pthread' '-lpthread'; do
58736 CFLAGS="$flag $chktls_save_CFLAGS"
58737 if test x$gcc_no_link = xyes; then
58738 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58739 fi
58740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58741 /* end confdefs.h. */
58742 #include <pthread.h>
58743 void *g(void *d) { return NULL; }
58744 int
58745 main ()
58746 {
58747 pthread_t t; pthread_create(&t,NULL,g,NULL);
58748 ;
58749 return 0;
58750 }
58751 _ACEOF
58752 if ac_fn_c_try_link "$LINENO"; then :
58753 thread_CFLAGS="$flag"
58754 fi
58755 rm -f core conftest.err conftest.$ac_objext \
58756 conftest$ac_exeext conftest.$ac_ext
58757 if test "X$thread_CFLAGS" != Xfailed; then
58758 break
58759 fi
58760 done
58761 CFLAGS="$chktls_save_CFLAGS"
58762 if test "X$thread_CFLAGS" != Xfailed; then
58763 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58764 if test "$cross_compiling" = yes; then :
58765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58767 as_fn_error "cannot run test program while cross compiling
58768 See \`config.log' for more details." "$LINENO" 5; }
58769 else
58770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58771 /* end confdefs.h. */
58772 #include <pthread.h>
58773 __thread int a;
58774 static int *volatile a_in_other_thread;
58775 static void *
58776 thread_func (void *arg)
58777 {
58778 a_in_other_thread = &a;
58779 return (void *)0;
58780 }
58781 int
58782 main ()
58783 {
58784 pthread_t thread;
58785 void *thread_retval;
58786 int *volatile a_in_main_thread;
58787 a_in_main_thread = &a;
58788 if (pthread_create (&thread, (pthread_attr_t *)0,
58789 thread_func, (void *)0))
58790 return 0;
58791 if (pthread_join (thread, &thread_retval))
58792 return 0;
58793 return (a_in_other_thread == a_in_main_thread);
58794 ;
58795 return 0;
58796 }
58797 _ACEOF
58798 if ac_fn_c_try_run "$LINENO"; then :
58799 gcc_cv_have_tls=yes
58800 else
58801 gcc_cv_have_tls=no
58802 fi
58803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58804 conftest.$ac_objext conftest.beam conftest.$ac_ext
58805 fi
58806
58807 CFLAGS="$chktls_save_CFLAGS"
58808 fi
58809 fi
58810 else
58811 gcc_cv_have_tls=no
58812 fi
58813 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58814 conftest.$ac_objext conftest.beam conftest.$ac_ext
58815 fi
58816
58817 fi
58818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58819 $as_echo "$gcc_cv_have_tls" >&6; }
58820 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58821
58822 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58823
58824 fi
58825
58826
58827
58828
58829
58830 am_save_CPPFLAGS="$CPPFLAGS"
58831
58832 for element in $INCICONV; do
58833 haveit=
58834 for x in $CPPFLAGS; do
58835
58836 acl_save_prefix="$prefix"
58837 prefix="$acl_final_prefix"
58838 acl_save_exec_prefix="$exec_prefix"
58839 exec_prefix="$acl_final_exec_prefix"
58840 eval x=\"$x\"
58841 exec_prefix="$acl_save_exec_prefix"
58842 prefix="$acl_save_prefix"
58843
58844 if test "X$x" = "X$element"; then
58845 haveit=yes
58846 break
58847 fi
58848 done
58849 if test -z "$haveit"; then
58850 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58851 fi
58852 done
58853
58854
58855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58856 $as_echo_n "checking for iconv... " >&6; }
58857 if test "${am_cv_func_iconv+set}" = set; then :
58858 $as_echo_n "(cached) " >&6
58859 else
58860
58861 am_cv_func_iconv="no, consider installing GNU libiconv"
58862 am_cv_lib_iconv=no
58863 if test x$gcc_no_link = xyes; then
58864 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58865 fi
58866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58867 /* end confdefs.h. */
58868 #include <stdlib.h>
58869 #include <iconv.h>
58870 int
58871 main ()
58872 {
58873 iconv_t cd = iconv_open("","");
58874 iconv(cd,NULL,NULL,NULL,NULL);
58875 iconv_close(cd);
58876 ;
58877 return 0;
58878 }
58879 _ACEOF
58880 if ac_fn_c_try_link "$LINENO"; then :
58881 am_cv_func_iconv=yes
58882 fi
58883 rm -f core conftest.err conftest.$ac_objext \
58884 conftest$ac_exeext conftest.$ac_ext
58885 if test "$am_cv_func_iconv" != yes; then
58886 am_save_LIBS="$LIBS"
58887 LIBS="$LIBS $LIBICONV"
58888 if test x$gcc_no_link = xyes; then
58889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58890 fi
58891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58892 /* end confdefs.h. */
58893 #include <stdlib.h>
58894 #include <iconv.h>
58895 int
58896 main ()
58897 {
58898 iconv_t cd = iconv_open("","");
58899 iconv(cd,NULL,NULL,NULL,NULL);
58900 iconv_close(cd);
58901 ;
58902 return 0;
58903 }
58904 _ACEOF
58905 if ac_fn_c_try_link "$LINENO"; then :
58906 am_cv_lib_iconv=yes
58907 am_cv_func_iconv=yes
58908 fi
58909 rm -f core conftest.err conftest.$ac_objext \
58910 conftest$ac_exeext conftest.$ac_ext
58911 LIBS="$am_save_LIBS"
58912 fi
58913
58914 fi
58915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58916 $as_echo "$am_cv_func_iconv" >&6; }
58917 if test "$am_cv_func_iconv" = yes; then
58918
58919 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58920
58921 fi
58922 if test "$am_cv_lib_iconv" = yes; then
58923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58924 $as_echo_n "checking how to link with libiconv... " >&6; }
58925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58926 $as_echo "$LIBICONV" >&6; }
58927 else
58928 CPPFLAGS="$am_save_CPPFLAGS"
58929 LIBICONV=
58930 LTLIBICONV=
58931 fi
58932
58933
58934
58935 if test "$am_cv_func_iconv" = yes; then
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58937 $as_echo_n "checking for iconv declaration... " >&6; }
58938 if test "${am_cv_proto_iconv+set}" = set; then :
58939 $as_echo_n "(cached) " >&6
58940 else
58941
58942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58943 /* end confdefs.h. */
58944
58945 #include <stdlib.h>
58946 #include <iconv.h>
58947 extern
58948 #ifdef __cplusplus
58949 "C"
58950 #endif
58951 #if defined(__STDC__) || defined(__cplusplus)
58952 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58953 #else
58954 size_t iconv();
58955 #endif
58956
58957 int
58958 main ()
58959 {
58960
58961 ;
58962 return 0;
58963 }
58964 _ACEOF
58965 if ac_fn_c_try_compile "$LINENO"; then :
58966 am_cv_proto_iconv_arg1=""
58967 else
58968 am_cv_proto_iconv_arg1="const"
58969 fi
58970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58971 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);"
58972 fi
58973
58974 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58976 }$am_cv_proto_iconv" >&5
58977 $as_echo "${ac_t:-
58978 }$am_cv_proto_iconv" >&6; }
58979
58980 cat >>confdefs.h <<_ACEOF
58981 #define ICONV_CONST $am_cv_proto_iconv_arg1
58982 _ACEOF
58983
58984 fi
58985
58986 ;;
58987 *-mingw32*)
58988
58989 # If we're not using GNU ld, then there's no point in even trying these
58990 # tests. Check for that first. We should have already tested for gld
58991 # by now (in libtool), but require it now just to be safe...
58992 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58993 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58994
58995
58996
58997 # The name set by libtool depends on the version of libtool. Shame on us
58998 # for depending on an impl detail, but c'est la vie. Older versions used
58999 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59000 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59001 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59002 # set (hence we're using an older libtool), then set it.
59003 if test x${with_gnu_ld+set} != xset; then
59004 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59005 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59006 with_gnu_ld=no
59007 else
59008 with_gnu_ld=$ac_cv_prog_gnu_ld
59009 fi
59010 fi
59011
59012 # Start by getting the version number. I think the libtool test already
59013 # does some of this, but throws away the result.
59014 glibcxx_ld_is_gold=no
59015 if test x"$with_gnu_ld" = x"yes"; then
59016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59017 $as_echo_n "checking for ld version... " >&6; }
59018
59019 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
59020 glibcxx_ld_is_gold=yes
59021 fi
59022 ldver=`$LD --version 2>/dev/null |
59023 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'`
59024
59025 glibcxx_gnu_ld_version=`echo $ldver | \
59026 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
59027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
59028 $as_echo "$glibcxx_gnu_ld_version" >&6; }
59029 fi
59030
59031 # Set --gc-sections.
59032 glibcxx_have_gc_sections=no
59033 if test "$glibcxx_ld_is_gold" = "yes"; then
59034 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
59035 glibcxx_have_gc_sections=yes
59036 fi
59037 else
59038 glibcxx_gcsections_min_ld=21602
59039 if test x"$with_gnu_ld" = x"yes" &&
59040 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
59041 glibcxx_have_gc_sections=yes
59042 fi
59043 fi
59044 if test "$glibcxx_have_gc_sections" = "yes"; then
59045 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
59046 # NB: This flag only works reliably after 2.16.1. Configure tests
59047 # for this are difficult, so hard wire a value that should work.
59048
59049 ac_test_CFLAGS="${CFLAGS+set}"
59050 ac_save_CFLAGS="$CFLAGS"
59051 CFLAGS='-Wl,--gc-sections'
59052
59053 # Check for -Wl,--gc-sections
59054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
59055 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
59056 if test x$gcc_no_link = xyes; then
59057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59058 fi
59059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h. */
59061 int one(void) { return 1; }
59062 int two(void) { return 2; }
59063
59064 int
59065 main ()
59066 {
59067 two();
59068 ;
59069 return 0;
59070 }
59071 _ACEOF
59072 if ac_fn_c_try_link "$LINENO"; then :
59073 ac_gcsections=yes
59074 else
59075 ac_gcsections=no
59076 fi
59077 rm -f core conftest.err conftest.$ac_objext \
59078 conftest$ac_exeext conftest.$ac_ext
59079 if test "$ac_gcsections" = "yes"; then
59080 rm -f conftest.c
59081 touch conftest.c
59082 if $CC -c conftest.c; then
59083 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
59084 grep "Warning: gc-sections option ignored" > /dev/null; then
59085 ac_gcsections=no
59086 fi
59087 fi
59088 rm -f conftest.c conftest.o conftest
59089 fi
59090 if test "$ac_gcsections" = "yes"; then
59091 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
59092 fi
59093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59094 $as_echo "$ac_gcsections" >&6; }
59095
59096 if test "$ac_test_CFLAGS" = set; then
59097 CFLAGS="$ac_save_CFLAGS"
59098 else
59099 # this is the suspicious part
59100 CFLAGS=''
59101 fi
59102 fi
59103
59104 # Set -z,relro.
59105 # Note this is only for shared objects.
59106 ac_ld_relro=no
59107 if test x"$with_gnu_ld" = x"yes"; then
59108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59109 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59110 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59111 if test -n "$cxx_z_relo"; then
59112 OPT_LDFLAGS="-Wl,-z,relro"
59113 ac_ld_relro=yes
59114 fi
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59116 $as_echo "$ac_ld_relro" >&6; }
59117 fi
59118
59119 # Set linker optimization flags.
59120 if test x"$with_gnu_ld" = x"yes"; then
59121 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59122 fi
59123
59124
59125
59126
59127
59128 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59129 ac_save_CXXFLAGS="$CXXFLAGS"
59130 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59131
59132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59133 $as_echo_n "checking for sin in -lm... " >&6; }
59134 if test "${ac_cv_lib_m_sin+set}" = set; then :
59135 $as_echo_n "(cached) " >&6
59136 else
59137 ac_check_lib_save_LIBS=$LIBS
59138 LIBS="-lm $LIBS"
59139 if test x$gcc_no_link = xyes; then
59140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59141 fi
59142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59143 /* end confdefs.h. */
59144
59145 /* Override any GCC internal prototype to avoid an error.
59146 Use char because int might match the return type of a GCC
59147 builtin and then its argument prototype would still apply. */
59148 #ifdef __cplusplus
59149 extern "C"
59150 #endif
59151 char sin ();
59152 int
59153 main ()
59154 {
59155 return sin ();
59156 ;
59157 return 0;
59158 }
59159 _ACEOF
59160 if ac_fn_c_try_link "$LINENO"; then :
59161 ac_cv_lib_m_sin=yes
59162 else
59163 ac_cv_lib_m_sin=no
59164 fi
59165 rm -f core conftest.err conftest.$ac_objext \
59166 conftest$ac_exeext conftest.$ac_ext
59167 LIBS=$ac_check_lib_save_LIBS
59168 fi
59169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59170 $as_echo "$ac_cv_lib_m_sin" >&6; }
59171 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59172 libm="-lm"
59173 fi
59174
59175 ac_save_LIBS="$LIBS"
59176 LIBS="$LIBS $libm"
59177
59178
59179
59180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59181 $as_echo_n "checking for isinf declaration... " >&6; }
59182 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59183 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59184 $as_echo_n "(cached) " >&6
59185 else
59186
59187
59188 ac_ext=cpp
59189 ac_cpp='$CXXCPP $CPPFLAGS'
59190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59193
59194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59195 /* end confdefs.h. */
59196 #include <math.h>
59197 #ifdef HAVE_IEEEFP_H
59198 #include <ieeefp.h>
59199 #endif
59200
59201 int
59202 main ()
59203 {
59204 isinf(0);
59205 ;
59206 return 0;
59207 }
59208 _ACEOF
59209 if ac_fn_cxx_try_compile "$LINENO"; then :
59210 glibcxx_cv_func_isinf_use=yes
59211 else
59212 glibcxx_cv_func_isinf_use=no
59213 fi
59214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59215 ac_ext=c
59216 ac_cpp='$CPP $CPPFLAGS'
59217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59220
59221
59222 fi
59223
59224 fi
59225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59226 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59227
59228 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59229 for ac_func in isinf
59230 do :
59231 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59232 if test "x$ac_cv_func_isinf" = x""yes; then :
59233 cat >>confdefs.h <<_ACEOF
59234 #define HAVE_ISINF 1
59235 _ACEOF
59236
59237 fi
59238 done
59239
59240 else
59241
59242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59243 $as_echo_n "checking for _isinf declaration... " >&6; }
59244 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59245 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59246 $as_echo_n "(cached) " >&6
59247 else
59248
59249
59250 ac_ext=cpp
59251 ac_cpp='$CXXCPP $CPPFLAGS'
59252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59255
59256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59257 /* end confdefs.h. */
59258 #include <math.h>
59259 #ifdef HAVE_IEEEFP_H
59260 #include <ieeefp.h>
59261 #endif
59262
59263 int
59264 main ()
59265 {
59266 _isinf(0);
59267 ;
59268 return 0;
59269 }
59270 _ACEOF
59271 if ac_fn_cxx_try_compile "$LINENO"; then :
59272 glibcxx_cv_func__isinf_use=yes
59273 else
59274 glibcxx_cv_func__isinf_use=no
59275 fi
59276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59277 ac_ext=c
59278 ac_cpp='$CPP $CPPFLAGS'
59279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59282
59283
59284 fi
59285
59286 fi
59287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59288 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59289
59290 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59291 for ac_func in _isinf
59292 do :
59293 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59294 if test "x$ac_cv_func__isinf" = x""yes; then :
59295 cat >>confdefs.h <<_ACEOF
59296 #define HAVE__ISINF 1
59297 _ACEOF
59298
59299 fi
59300 done
59301
59302 fi
59303 fi
59304
59305
59306
59307
59308
59309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59310 $as_echo_n "checking for isnan declaration... " >&6; }
59311 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59312 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59313 $as_echo_n "(cached) " >&6
59314 else
59315
59316
59317 ac_ext=cpp
59318 ac_cpp='$CXXCPP $CPPFLAGS'
59319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59322
59323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59324 /* end confdefs.h. */
59325 #include <math.h>
59326 #ifdef HAVE_IEEEFP_H
59327 #include <ieeefp.h>
59328 #endif
59329
59330 int
59331 main ()
59332 {
59333 isnan(0);
59334 ;
59335 return 0;
59336 }
59337 _ACEOF
59338 if ac_fn_cxx_try_compile "$LINENO"; then :
59339 glibcxx_cv_func_isnan_use=yes
59340 else
59341 glibcxx_cv_func_isnan_use=no
59342 fi
59343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59344 ac_ext=c
59345 ac_cpp='$CPP $CPPFLAGS'
59346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59349
59350
59351 fi
59352
59353 fi
59354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59355 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59356
59357 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59358 for ac_func in isnan
59359 do :
59360 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59361 if test "x$ac_cv_func_isnan" = x""yes; then :
59362 cat >>confdefs.h <<_ACEOF
59363 #define HAVE_ISNAN 1
59364 _ACEOF
59365
59366 fi
59367 done
59368
59369 else
59370
59371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59372 $as_echo_n "checking for _isnan declaration... " >&6; }
59373 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59374 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59375 $as_echo_n "(cached) " >&6
59376 else
59377
59378
59379 ac_ext=cpp
59380 ac_cpp='$CXXCPP $CPPFLAGS'
59381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59384
59385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59386 /* end confdefs.h. */
59387 #include <math.h>
59388 #ifdef HAVE_IEEEFP_H
59389 #include <ieeefp.h>
59390 #endif
59391
59392 int
59393 main ()
59394 {
59395 _isnan(0);
59396 ;
59397 return 0;
59398 }
59399 _ACEOF
59400 if ac_fn_cxx_try_compile "$LINENO"; then :
59401 glibcxx_cv_func__isnan_use=yes
59402 else
59403 glibcxx_cv_func__isnan_use=no
59404 fi
59405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59406 ac_ext=c
59407 ac_cpp='$CPP $CPPFLAGS'
59408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59411
59412
59413 fi
59414
59415 fi
59416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59417 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59418
59419 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59420 for ac_func in _isnan
59421 do :
59422 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59423 if test "x$ac_cv_func__isnan" = x""yes; then :
59424 cat >>confdefs.h <<_ACEOF
59425 #define HAVE__ISNAN 1
59426 _ACEOF
59427
59428 fi
59429 done
59430
59431 fi
59432 fi
59433
59434
59435
59436
59437
59438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59439 $as_echo_n "checking for finite declaration... " >&6; }
59440 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59441 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59442 $as_echo_n "(cached) " >&6
59443 else
59444
59445
59446 ac_ext=cpp
59447 ac_cpp='$CXXCPP $CPPFLAGS'
59448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59451
59452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59453 /* end confdefs.h. */
59454 #include <math.h>
59455 #ifdef HAVE_IEEEFP_H
59456 #include <ieeefp.h>
59457 #endif
59458
59459 int
59460 main ()
59461 {
59462 finite(0);
59463 ;
59464 return 0;
59465 }
59466 _ACEOF
59467 if ac_fn_cxx_try_compile "$LINENO"; then :
59468 glibcxx_cv_func_finite_use=yes
59469 else
59470 glibcxx_cv_func_finite_use=no
59471 fi
59472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59473 ac_ext=c
59474 ac_cpp='$CPP $CPPFLAGS'
59475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59478
59479
59480 fi
59481
59482 fi
59483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59484 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59485
59486 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59487 for ac_func in finite
59488 do :
59489 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59490 if test "x$ac_cv_func_finite" = x""yes; then :
59491 cat >>confdefs.h <<_ACEOF
59492 #define HAVE_FINITE 1
59493 _ACEOF
59494
59495 fi
59496 done
59497
59498 else
59499
59500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59501 $as_echo_n "checking for _finite declaration... " >&6; }
59502 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59503 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59504 $as_echo_n "(cached) " >&6
59505 else
59506
59507
59508 ac_ext=cpp
59509 ac_cpp='$CXXCPP $CPPFLAGS'
59510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59513
59514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59515 /* end confdefs.h. */
59516 #include <math.h>
59517 #ifdef HAVE_IEEEFP_H
59518 #include <ieeefp.h>
59519 #endif
59520
59521 int
59522 main ()
59523 {
59524 _finite(0);
59525 ;
59526 return 0;
59527 }
59528 _ACEOF
59529 if ac_fn_cxx_try_compile "$LINENO"; then :
59530 glibcxx_cv_func__finite_use=yes
59531 else
59532 glibcxx_cv_func__finite_use=no
59533 fi
59534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59535 ac_ext=c
59536 ac_cpp='$CPP $CPPFLAGS'
59537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59540
59541
59542 fi
59543
59544 fi
59545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59546 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59547
59548 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59549 for ac_func in _finite
59550 do :
59551 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59552 if test "x$ac_cv_func__finite" = x""yes; then :
59553 cat >>confdefs.h <<_ACEOF
59554 #define HAVE__FINITE 1
59555 _ACEOF
59556
59557 fi
59558 done
59559
59560 fi
59561 fi
59562
59563
59564
59565
59566
59567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59568 $as_echo_n "checking for sincos declaration... " >&6; }
59569 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59570 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59571 $as_echo_n "(cached) " >&6
59572 else
59573
59574
59575 ac_ext=cpp
59576 ac_cpp='$CXXCPP $CPPFLAGS'
59577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59580
59581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59582 /* end confdefs.h. */
59583 #include <math.h>
59584 int
59585 main ()
59586 {
59587 sincos(0, 0, 0);
59588 ;
59589 return 0;
59590 }
59591 _ACEOF
59592 if ac_fn_cxx_try_compile "$LINENO"; then :
59593 glibcxx_cv_func_sincos_use=yes
59594 else
59595 glibcxx_cv_func_sincos_use=no
59596 fi
59597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59598 ac_ext=c
59599 ac_cpp='$CPP $CPPFLAGS'
59600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59603
59604
59605 fi
59606
59607 fi
59608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59609 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59610
59611 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59612 for ac_func in sincos
59613 do :
59614 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59615 if test "x$ac_cv_func_sincos" = x""yes; then :
59616 cat >>confdefs.h <<_ACEOF
59617 #define HAVE_SINCOS 1
59618 _ACEOF
59619
59620 fi
59621 done
59622
59623 else
59624
59625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59626 $as_echo_n "checking for _sincos declaration... " >&6; }
59627 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59628 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59629 $as_echo_n "(cached) " >&6
59630 else
59631
59632
59633 ac_ext=cpp
59634 ac_cpp='$CXXCPP $CPPFLAGS'
59635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59638
59639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59640 /* end confdefs.h. */
59641 #include <math.h>
59642 int
59643 main ()
59644 {
59645 _sincos(0, 0, 0);
59646 ;
59647 return 0;
59648 }
59649 _ACEOF
59650 if ac_fn_cxx_try_compile "$LINENO"; then :
59651 glibcxx_cv_func__sincos_use=yes
59652 else
59653 glibcxx_cv_func__sincos_use=no
59654 fi
59655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59656 ac_ext=c
59657 ac_cpp='$CPP $CPPFLAGS'
59658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59661
59662
59663 fi
59664
59665 fi
59666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59667 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59668
59669 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59670 for ac_func in _sincos
59671 do :
59672 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59673 if test "x$ac_cv_func__sincos" = x""yes; then :
59674 cat >>confdefs.h <<_ACEOF
59675 #define HAVE__SINCOS 1
59676 _ACEOF
59677
59678 fi
59679 done
59680
59681 fi
59682 fi
59683
59684
59685
59686
59687
59688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59689 $as_echo_n "checking for fpclass declaration... " >&6; }
59690 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59691 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59692 $as_echo_n "(cached) " >&6
59693 else
59694
59695
59696 ac_ext=cpp
59697 ac_cpp='$CXXCPP $CPPFLAGS'
59698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59701
59702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703 /* end confdefs.h. */
59704 #include <math.h>
59705 #ifdef HAVE_IEEEFP_H
59706 #include <ieeefp.h>
59707 #endif
59708
59709 int
59710 main ()
59711 {
59712 fpclass(0);
59713 ;
59714 return 0;
59715 }
59716 _ACEOF
59717 if ac_fn_cxx_try_compile "$LINENO"; then :
59718 glibcxx_cv_func_fpclass_use=yes
59719 else
59720 glibcxx_cv_func_fpclass_use=no
59721 fi
59722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59723 ac_ext=c
59724 ac_cpp='$CPP $CPPFLAGS'
59725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59728
59729
59730 fi
59731
59732 fi
59733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59734 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59735
59736 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59737 for ac_func in fpclass
59738 do :
59739 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59740 if test "x$ac_cv_func_fpclass" = x""yes; then :
59741 cat >>confdefs.h <<_ACEOF
59742 #define HAVE_FPCLASS 1
59743 _ACEOF
59744
59745 fi
59746 done
59747
59748 else
59749
59750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59751 $as_echo_n "checking for _fpclass declaration... " >&6; }
59752 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59753 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59754 $as_echo_n "(cached) " >&6
59755 else
59756
59757
59758 ac_ext=cpp
59759 ac_cpp='$CXXCPP $CPPFLAGS'
59760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59763
59764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59765 /* end confdefs.h. */
59766 #include <math.h>
59767 #ifdef HAVE_IEEEFP_H
59768 #include <ieeefp.h>
59769 #endif
59770
59771 int
59772 main ()
59773 {
59774 _fpclass(0);
59775 ;
59776 return 0;
59777 }
59778 _ACEOF
59779 if ac_fn_cxx_try_compile "$LINENO"; then :
59780 glibcxx_cv_func__fpclass_use=yes
59781 else
59782 glibcxx_cv_func__fpclass_use=no
59783 fi
59784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59785 ac_ext=c
59786 ac_cpp='$CPP $CPPFLAGS'
59787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59790
59791
59792 fi
59793
59794 fi
59795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59796 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59797
59798 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59799 for ac_func in _fpclass
59800 do :
59801 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59802 if test "x$ac_cv_func__fpclass" = x""yes; then :
59803 cat >>confdefs.h <<_ACEOF
59804 #define HAVE__FPCLASS 1
59805 _ACEOF
59806
59807 fi
59808 done
59809
59810 fi
59811 fi
59812
59813
59814
59815
59816
59817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59818 $as_echo_n "checking for qfpclass declaration... " >&6; }
59819 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59820 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59821 $as_echo_n "(cached) " >&6
59822 else
59823
59824
59825 ac_ext=cpp
59826 ac_cpp='$CXXCPP $CPPFLAGS'
59827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59830
59831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59832 /* end confdefs.h. */
59833 #include <math.h>
59834 #ifdef HAVE_IEEEFP_H
59835 #include <ieeefp.h>
59836 #endif
59837
59838 int
59839 main ()
59840 {
59841 qfpclass(0);
59842 ;
59843 return 0;
59844 }
59845 _ACEOF
59846 if ac_fn_cxx_try_compile "$LINENO"; then :
59847 glibcxx_cv_func_qfpclass_use=yes
59848 else
59849 glibcxx_cv_func_qfpclass_use=no
59850 fi
59851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59852 ac_ext=c
59853 ac_cpp='$CPP $CPPFLAGS'
59854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59857
59858
59859 fi
59860
59861 fi
59862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59863 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59864
59865 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59866 for ac_func in qfpclass
59867 do :
59868 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59869 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59870 cat >>confdefs.h <<_ACEOF
59871 #define HAVE_QFPCLASS 1
59872 _ACEOF
59873
59874 fi
59875 done
59876
59877 else
59878
59879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59880 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59881 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59882 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59883 $as_echo_n "(cached) " >&6
59884 else
59885
59886
59887 ac_ext=cpp
59888 ac_cpp='$CXXCPP $CPPFLAGS'
59889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59892
59893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59894 /* end confdefs.h. */
59895 #include <math.h>
59896 #ifdef HAVE_IEEEFP_H
59897 #include <ieeefp.h>
59898 #endif
59899
59900 int
59901 main ()
59902 {
59903 _qfpclass(0);
59904 ;
59905 return 0;
59906 }
59907 _ACEOF
59908 if ac_fn_cxx_try_compile "$LINENO"; then :
59909 glibcxx_cv_func__qfpclass_use=yes
59910 else
59911 glibcxx_cv_func__qfpclass_use=no
59912 fi
59913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59914 ac_ext=c
59915 ac_cpp='$CPP $CPPFLAGS'
59916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59919
59920
59921 fi
59922
59923 fi
59924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59925 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59926
59927 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59928 for ac_func in _qfpclass
59929 do :
59930 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59931 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59932 cat >>confdefs.h <<_ACEOF
59933 #define HAVE__QFPCLASS 1
59934 _ACEOF
59935
59936 fi
59937 done
59938
59939 fi
59940 fi
59941
59942
59943
59944
59945
59946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59947 $as_echo_n "checking for hypot declaration... " >&6; }
59948 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59949 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59950 $as_echo_n "(cached) " >&6
59951 else
59952
59953
59954 ac_ext=cpp
59955 ac_cpp='$CXXCPP $CPPFLAGS'
59956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59959
59960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59961 /* end confdefs.h. */
59962 #include <math.h>
59963 int
59964 main ()
59965 {
59966 hypot(0, 0);
59967 ;
59968 return 0;
59969 }
59970 _ACEOF
59971 if ac_fn_cxx_try_compile "$LINENO"; then :
59972 glibcxx_cv_func_hypot_use=yes
59973 else
59974 glibcxx_cv_func_hypot_use=no
59975 fi
59976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59977 ac_ext=c
59978 ac_cpp='$CPP $CPPFLAGS'
59979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59982
59983
59984 fi
59985
59986 fi
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59988 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59989
59990 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59991 for ac_func in hypot
59992 do :
59993 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59994 if test "x$ac_cv_func_hypot" = x""yes; then :
59995 cat >>confdefs.h <<_ACEOF
59996 #define HAVE_HYPOT 1
59997 _ACEOF
59998
59999 fi
60000 done
60001
60002 else
60003
60004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60005 $as_echo_n "checking for _hypot declaration... " >&6; }
60006 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60007 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60008 $as_echo_n "(cached) " >&6
60009 else
60010
60011
60012 ac_ext=cpp
60013 ac_cpp='$CXXCPP $CPPFLAGS'
60014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60017
60018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60019 /* end confdefs.h. */
60020 #include <math.h>
60021 int
60022 main ()
60023 {
60024 _hypot(0, 0);
60025 ;
60026 return 0;
60027 }
60028 _ACEOF
60029 if ac_fn_cxx_try_compile "$LINENO"; then :
60030 glibcxx_cv_func__hypot_use=yes
60031 else
60032 glibcxx_cv_func__hypot_use=no
60033 fi
60034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60035 ac_ext=c
60036 ac_cpp='$CPP $CPPFLAGS'
60037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60040
60041
60042 fi
60043
60044 fi
60045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
60046 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
60047
60048 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
60049 for ac_func in _hypot
60050 do :
60051 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
60052 if test "x$ac_cv_func__hypot" = x""yes; then :
60053 cat >>confdefs.h <<_ACEOF
60054 #define HAVE__HYPOT 1
60055 _ACEOF
60056
60057 fi
60058 done
60059
60060 fi
60061 fi
60062
60063
60064
60065
60066
60067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
60068 $as_echo_n "checking for float trig functions... " >&6; }
60069 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
60070 $as_echo_n "(cached) " >&6
60071 else
60072
60073
60074 ac_ext=cpp
60075 ac_cpp='$CXXCPP $CPPFLAGS'
60076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60079
60080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60081 /* end confdefs.h. */
60082 #include <math.h>
60083 int
60084 main ()
60085 {
60086 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
60087 ;
60088 return 0;
60089 }
60090 _ACEOF
60091 if ac_fn_cxx_try_compile "$LINENO"; then :
60092 glibcxx_cv_func_float_trig_use=yes
60093 else
60094 glibcxx_cv_func_float_trig_use=no
60095 fi
60096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60097 ac_ext=c
60098 ac_cpp='$CPP $CPPFLAGS'
60099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60102
60103 fi
60104
60105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60106 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60107 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60108 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60109 do :
60110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60112 eval as_val=\$$as_ac_var
60113 if test "x$as_val" = x""yes; then :
60114 cat >>confdefs.h <<_ACEOF
60115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60116 _ACEOF
60117
60118 fi
60119 done
60120
60121 else
60122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60123 $as_echo_n "checking for _float trig functions... " >&6; }
60124 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60125 $as_echo_n "(cached) " >&6
60126 else
60127
60128
60129 ac_ext=cpp
60130 ac_cpp='$CXXCPP $CPPFLAGS'
60131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60134
60135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60136 /* end confdefs.h. */
60137 #include <math.h>
60138 int
60139 main ()
60140 {
60141 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60142 ;
60143 return 0;
60144 }
60145 _ACEOF
60146 if ac_fn_cxx_try_compile "$LINENO"; then :
60147 glibcxx_cv_func__float_trig_use=yes
60148 else
60149 glibcxx_cv_func__float_trig_use=no
60150 fi
60151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60152 ac_ext=c
60153 ac_cpp='$CPP $CPPFLAGS'
60154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60157
60158 fi
60159
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60161 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60162 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60163 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60164 do :
60165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60167 eval as_val=\$$as_ac_var
60168 if test "x$as_val" = x""yes; then :
60169 cat >>confdefs.h <<_ACEOF
60170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60171 _ACEOF
60172
60173 fi
60174 done
60175
60176 fi
60177 fi
60178
60179
60180
60181
60182
60183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60184 $as_echo_n "checking for float round functions... " >&6; }
60185 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60186 $as_echo_n "(cached) " >&6
60187 else
60188
60189
60190 ac_ext=cpp
60191 ac_cpp='$CXXCPP $CPPFLAGS'
60192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60195
60196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60197 /* end confdefs.h. */
60198 #include <math.h>
60199 int
60200 main ()
60201 {
60202 ceilf (0); floorf (0);
60203 ;
60204 return 0;
60205 }
60206 _ACEOF
60207 if ac_fn_cxx_try_compile "$LINENO"; then :
60208 glibcxx_cv_func_float_round_use=yes
60209 else
60210 glibcxx_cv_func_float_round_use=no
60211 fi
60212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60213 ac_ext=c
60214 ac_cpp='$CPP $CPPFLAGS'
60215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60218
60219 fi
60220
60221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60222 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60223 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60224 for ac_func in ceilf floorf
60225 do :
60226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60228 eval as_val=\$$as_ac_var
60229 if test "x$as_val" = x""yes; then :
60230 cat >>confdefs.h <<_ACEOF
60231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60232 _ACEOF
60233
60234 fi
60235 done
60236
60237 else
60238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60239 $as_echo_n "checking for _float round functions... " >&6; }
60240 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60241 $as_echo_n "(cached) " >&6
60242 else
60243
60244
60245 ac_ext=cpp
60246 ac_cpp='$CXXCPP $CPPFLAGS'
60247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60250
60251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60252 /* end confdefs.h. */
60253 #include <math.h>
60254 int
60255 main ()
60256 {
60257 _ceilf (0); _floorf (0);
60258 ;
60259 return 0;
60260 }
60261 _ACEOF
60262 if ac_fn_cxx_try_compile "$LINENO"; then :
60263 glibcxx_cv_func__float_round_use=yes
60264 else
60265 glibcxx_cv_func__float_round_use=no
60266 fi
60267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60268 ac_ext=c
60269 ac_cpp='$CPP $CPPFLAGS'
60270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60273
60274 fi
60275
60276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60277 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60278 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60279 for ac_func in _ceilf _floorf
60280 do :
60281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60283 eval as_val=\$$as_ac_var
60284 if test "x$as_val" = x""yes; then :
60285 cat >>confdefs.h <<_ACEOF
60286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60287 _ACEOF
60288
60289 fi
60290 done
60291
60292 fi
60293 fi
60294
60295
60296
60297
60298
60299
60300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60301 $as_echo_n "checking for expf declaration... " >&6; }
60302 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60303 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60304 $as_echo_n "(cached) " >&6
60305 else
60306
60307
60308 ac_ext=cpp
60309 ac_cpp='$CXXCPP $CPPFLAGS'
60310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60313
60314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60315 /* end confdefs.h. */
60316 #include <math.h>
60317 #ifdef HAVE_IEEEFP_H
60318 #include <ieeefp.h>
60319 #endif
60320
60321 int
60322 main ()
60323 {
60324 expf(0);
60325 ;
60326 return 0;
60327 }
60328 _ACEOF
60329 if ac_fn_cxx_try_compile "$LINENO"; then :
60330 glibcxx_cv_func_expf_use=yes
60331 else
60332 glibcxx_cv_func_expf_use=no
60333 fi
60334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60335 ac_ext=c
60336 ac_cpp='$CPP $CPPFLAGS'
60337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60340
60341
60342 fi
60343
60344 fi
60345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60346 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60347
60348 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60349 for ac_func in expf
60350 do :
60351 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60352 if test "x$ac_cv_func_expf" = x""yes; then :
60353 cat >>confdefs.h <<_ACEOF
60354 #define HAVE_EXPF 1
60355 _ACEOF
60356
60357 fi
60358 done
60359
60360 else
60361
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60363 $as_echo_n "checking for _expf declaration... " >&6; }
60364 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60365 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60366 $as_echo_n "(cached) " >&6
60367 else
60368
60369
60370 ac_ext=cpp
60371 ac_cpp='$CXXCPP $CPPFLAGS'
60372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60375
60376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60377 /* end confdefs.h. */
60378 #include <math.h>
60379 #ifdef HAVE_IEEEFP_H
60380 #include <ieeefp.h>
60381 #endif
60382
60383 int
60384 main ()
60385 {
60386 _expf(0);
60387 ;
60388 return 0;
60389 }
60390 _ACEOF
60391 if ac_fn_cxx_try_compile "$LINENO"; then :
60392 glibcxx_cv_func__expf_use=yes
60393 else
60394 glibcxx_cv_func__expf_use=no
60395 fi
60396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60397 ac_ext=c
60398 ac_cpp='$CPP $CPPFLAGS'
60399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60402
60403
60404 fi
60405
60406 fi
60407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60408 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60409
60410 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60411 for ac_func in _expf
60412 do :
60413 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60414 if test "x$ac_cv_func__expf" = x""yes; then :
60415 cat >>confdefs.h <<_ACEOF
60416 #define HAVE__EXPF 1
60417 _ACEOF
60418
60419 fi
60420 done
60421
60422 fi
60423 fi
60424
60425
60426
60427
60428
60429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60430 $as_echo_n "checking for isnanf declaration... " >&6; }
60431 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60432 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60433 $as_echo_n "(cached) " >&6
60434 else
60435
60436
60437 ac_ext=cpp
60438 ac_cpp='$CXXCPP $CPPFLAGS'
60439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60442
60443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60444 /* end confdefs.h. */
60445 #include <math.h>
60446 #ifdef HAVE_IEEEFP_H
60447 #include <ieeefp.h>
60448 #endif
60449
60450 int
60451 main ()
60452 {
60453 isnanf(0);
60454 ;
60455 return 0;
60456 }
60457 _ACEOF
60458 if ac_fn_cxx_try_compile "$LINENO"; then :
60459 glibcxx_cv_func_isnanf_use=yes
60460 else
60461 glibcxx_cv_func_isnanf_use=no
60462 fi
60463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60464 ac_ext=c
60465 ac_cpp='$CPP $CPPFLAGS'
60466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60469
60470
60471 fi
60472
60473 fi
60474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60475 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60476
60477 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60478 for ac_func in isnanf
60479 do :
60480 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60481 if test "x$ac_cv_func_isnanf" = x""yes; then :
60482 cat >>confdefs.h <<_ACEOF
60483 #define HAVE_ISNANF 1
60484 _ACEOF
60485
60486 fi
60487 done
60488
60489 else
60490
60491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60492 $as_echo_n "checking for _isnanf declaration... " >&6; }
60493 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60494 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60495 $as_echo_n "(cached) " >&6
60496 else
60497
60498
60499 ac_ext=cpp
60500 ac_cpp='$CXXCPP $CPPFLAGS'
60501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60504
60505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60506 /* end confdefs.h. */
60507 #include <math.h>
60508 #ifdef HAVE_IEEEFP_H
60509 #include <ieeefp.h>
60510 #endif
60511
60512 int
60513 main ()
60514 {
60515 _isnanf(0);
60516 ;
60517 return 0;
60518 }
60519 _ACEOF
60520 if ac_fn_cxx_try_compile "$LINENO"; then :
60521 glibcxx_cv_func__isnanf_use=yes
60522 else
60523 glibcxx_cv_func__isnanf_use=no
60524 fi
60525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60526 ac_ext=c
60527 ac_cpp='$CPP $CPPFLAGS'
60528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60531
60532
60533 fi
60534
60535 fi
60536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60537 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60538
60539 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60540 for ac_func in _isnanf
60541 do :
60542 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60543 if test "x$ac_cv_func__isnanf" = x""yes; then :
60544 cat >>confdefs.h <<_ACEOF
60545 #define HAVE__ISNANF 1
60546 _ACEOF
60547
60548 fi
60549 done
60550
60551 fi
60552 fi
60553
60554
60555
60556
60557
60558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60559 $as_echo_n "checking for isinff declaration... " >&6; }
60560 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60561 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60562 $as_echo_n "(cached) " >&6
60563 else
60564
60565
60566 ac_ext=cpp
60567 ac_cpp='$CXXCPP $CPPFLAGS'
60568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60571
60572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60573 /* end confdefs.h. */
60574 #include <math.h>
60575 #ifdef HAVE_IEEEFP_H
60576 #include <ieeefp.h>
60577 #endif
60578
60579 int
60580 main ()
60581 {
60582 isinff(0);
60583 ;
60584 return 0;
60585 }
60586 _ACEOF
60587 if ac_fn_cxx_try_compile "$LINENO"; then :
60588 glibcxx_cv_func_isinff_use=yes
60589 else
60590 glibcxx_cv_func_isinff_use=no
60591 fi
60592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60593 ac_ext=c
60594 ac_cpp='$CPP $CPPFLAGS'
60595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60598
60599
60600 fi
60601
60602 fi
60603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60604 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60605
60606 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60607 for ac_func in isinff
60608 do :
60609 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60610 if test "x$ac_cv_func_isinff" = x""yes; then :
60611 cat >>confdefs.h <<_ACEOF
60612 #define HAVE_ISINFF 1
60613 _ACEOF
60614
60615 fi
60616 done
60617
60618 else
60619
60620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60621 $as_echo_n "checking for _isinff declaration... " >&6; }
60622 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60623 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60624 $as_echo_n "(cached) " >&6
60625 else
60626
60627
60628 ac_ext=cpp
60629 ac_cpp='$CXXCPP $CPPFLAGS'
60630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60633
60634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60635 /* end confdefs.h. */
60636 #include <math.h>
60637 #ifdef HAVE_IEEEFP_H
60638 #include <ieeefp.h>
60639 #endif
60640
60641 int
60642 main ()
60643 {
60644 _isinff(0);
60645 ;
60646 return 0;
60647 }
60648 _ACEOF
60649 if ac_fn_cxx_try_compile "$LINENO"; then :
60650 glibcxx_cv_func__isinff_use=yes
60651 else
60652 glibcxx_cv_func__isinff_use=no
60653 fi
60654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60655 ac_ext=c
60656 ac_cpp='$CPP $CPPFLAGS'
60657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60660
60661
60662 fi
60663
60664 fi
60665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60666 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60667
60668 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60669 for ac_func in _isinff
60670 do :
60671 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60672 if test "x$ac_cv_func__isinff" = x""yes; then :
60673 cat >>confdefs.h <<_ACEOF
60674 #define HAVE__ISINFF 1
60675 _ACEOF
60676
60677 fi
60678 done
60679
60680 fi
60681 fi
60682
60683
60684
60685
60686
60687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60688 $as_echo_n "checking for atan2f declaration... " >&6; }
60689 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60690 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60691 $as_echo_n "(cached) " >&6
60692 else
60693
60694
60695 ac_ext=cpp
60696 ac_cpp='$CXXCPP $CPPFLAGS'
60697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60700
60701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60702 /* end confdefs.h. */
60703 #include <math.h>
60704 int
60705 main ()
60706 {
60707 atan2f(0, 0);
60708 ;
60709 return 0;
60710 }
60711 _ACEOF
60712 if ac_fn_cxx_try_compile "$LINENO"; then :
60713 glibcxx_cv_func_atan2f_use=yes
60714 else
60715 glibcxx_cv_func_atan2f_use=no
60716 fi
60717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60718 ac_ext=c
60719 ac_cpp='$CPP $CPPFLAGS'
60720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60723
60724
60725 fi
60726
60727 fi
60728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60729 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60730
60731 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60732 for ac_func in atan2f
60733 do :
60734 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60735 if test "x$ac_cv_func_atan2f" = x""yes; then :
60736 cat >>confdefs.h <<_ACEOF
60737 #define HAVE_ATAN2F 1
60738 _ACEOF
60739
60740 fi
60741 done
60742
60743 else
60744
60745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60746 $as_echo_n "checking for _atan2f declaration... " >&6; }
60747 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60748 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60749 $as_echo_n "(cached) " >&6
60750 else
60751
60752
60753 ac_ext=cpp
60754 ac_cpp='$CXXCPP $CPPFLAGS'
60755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60758
60759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60760 /* end confdefs.h. */
60761 #include <math.h>
60762 int
60763 main ()
60764 {
60765 _atan2f(0, 0);
60766 ;
60767 return 0;
60768 }
60769 _ACEOF
60770 if ac_fn_cxx_try_compile "$LINENO"; then :
60771 glibcxx_cv_func__atan2f_use=yes
60772 else
60773 glibcxx_cv_func__atan2f_use=no
60774 fi
60775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60776 ac_ext=c
60777 ac_cpp='$CPP $CPPFLAGS'
60778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60781
60782
60783 fi
60784
60785 fi
60786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60787 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60788
60789 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60790 for ac_func in _atan2f
60791 do :
60792 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60793 if test "x$ac_cv_func__atan2f" = x""yes; then :
60794 cat >>confdefs.h <<_ACEOF
60795 #define HAVE__ATAN2F 1
60796 _ACEOF
60797
60798 fi
60799 done
60800
60801 fi
60802 fi
60803
60804
60805
60806
60807
60808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60809 $as_echo_n "checking for fabsf declaration... " >&6; }
60810 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60811 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60812 $as_echo_n "(cached) " >&6
60813 else
60814
60815
60816 ac_ext=cpp
60817 ac_cpp='$CXXCPP $CPPFLAGS'
60818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60821
60822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60823 /* end confdefs.h. */
60824 #include <math.h>
60825 #ifdef HAVE_IEEEFP_H
60826 #include <ieeefp.h>
60827 #endif
60828
60829 int
60830 main ()
60831 {
60832 fabsf(0);
60833 ;
60834 return 0;
60835 }
60836 _ACEOF
60837 if ac_fn_cxx_try_compile "$LINENO"; then :
60838 glibcxx_cv_func_fabsf_use=yes
60839 else
60840 glibcxx_cv_func_fabsf_use=no
60841 fi
60842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60843 ac_ext=c
60844 ac_cpp='$CPP $CPPFLAGS'
60845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60848
60849
60850 fi
60851
60852 fi
60853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60854 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60855
60856 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60857 for ac_func in fabsf
60858 do :
60859 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60860 if test "x$ac_cv_func_fabsf" = x""yes; then :
60861 cat >>confdefs.h <<_ACEOF
60862 #define HAVE_FABSF 1
60863 _ACEOF
60864
60865 fi
60866 done
60867
60868 else
60869
60870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60871 $as_echo_n "checking for _fabsf declaration... " >&6; }
60872 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60873 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60874 $as_echo_n "(cached) " >&6
60875 else
60876
60877
60878 ac_ext=cpp
60879 ac_cpp='$CXXCPP $CPPFLAGS'
60880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60883
60884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60885 /* end confdefs.h. */
60886 #include <math.h>
60887 #ifdef HAVE_IEEEFP_H
60888 #include <ieeefp.h>
60889 #endif
60890
60891 int
60892 main ()
60893 {
60894 _fabsf(0);
60895 ;
60896 return 0;
60897 }
60898 _ACEOF
60899 if ac_fn_cxx_try_compile "$LINENO"; then :
60900 glibcxx_cv_func__fabsf_use=yes
60901 else
60902 glibcxx_cv_func__fabsf_use=no
60903 fi
60904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60905 ac_ext=c
60906 ac_cpp='$CPP $CPPFLAGS'
60907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60910
60911
60912 fi
60913
60914 fi
60915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60916 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60917
60918 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60919 for ac_func in _fabsf
60920 do :
60921 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60922 if test "x$ac_cv_func__fabsf" = x""yes; then :
60923 cat >>confdefs.h <<_ACEOF
60924 #define HAVE__FABSF 1
60925 _ACEOF
60926
60927 fi
60928 done
60929
60930 fi
60931 fi
60932
60933
60934
60935
60936
60937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60938 $as_echo_n "checking for fmodf declaration... " >&6; }
60939 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60940 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60941 $as_echo_n "(cached) " >&6
60942 else
60943
60944
60945 ac_ext=cpp
60946 ac_cpp='$CXXCPP $CPPFLAGS'
60947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60950
60951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60952 /* end confdefs.h. */
60953 #include <math.h>
60954 int
60955 main ()
60956 {
60957 fmodf(0, 0);
60958 ;
60959 return 0;
60960 }
60961 _ACEOF
60962 if ac_fn_cxx_try_compile "$LINENO"; then :
60963 glibcxx_cv_func_fmodf_use=yes
60964 else
60965 glibcxx_cv_func_fmodf_use=no
60966 fi
60967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60968 ac_ext=c
60969 ac_cpp='$CPP $CPPFLAGS'
60970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60973
60974
60975 fi
60976
60977 fi
60978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60979 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60980
60981 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60982 for ac_func in fmodf
60983 do :
60984 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60985 if test "x$ac_cv_func_fmodf" = x""yes; then :
60986 cat >>confdefs.h <<_ACEOF
60987 #define HAVE_FMODF 1
60988 _ACEOF
60989
60990 fi
60991 done
60992
60993 else
60994
60995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60996 $as_echo_n "checking for _fmodf declaration... " >&6; }
60997 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60998 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60999 $as_echo_n "(cached) " >&6
61000 else
61001
61002
61003 ac_ext=cpp
61004 ac_cpp='$CXXCPP $CPPFLAGS'
61005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61008
61009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61010 /* end confdefs.h. */
61011 #include <math.h>
61012 int
61013 main ()
61014 {
61015 _fmodf(0, 0);
61016 ;
61017 return 0;
61018 }
61019 _ACEOF
61020 if ac_fn_cxx_try_compile "$LINENO"; then :
61021 glibcxx_cv_func__fmodf_use=yes
61022 else
61023 glibcxx_cv_func__fmodf_use=no
61024 fi
61025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61026 ac_ext=c
61027 ac_cpp='$CPP $CPPFLAGS'
61028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61031
61032
61033 fi
61034
61035 fi
61036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
61037 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
61038
61039 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
61040 for ac_func in _fmodf
61041 do :
61042 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
61043 if test "x$ac_cv_func__fmodf" = x""yes; then :
61044 cat >>confdefs.h <<_ACEOF
61045 #define HAVE__FMODF 1
61046 _ACEOF
61047
61048 fi
61049 done
61050
61051 fi
61052 fi
61053
61054
61055
61056
61057
61058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
61059 $as_echo_n "checking for frexpf declaration... " >&6; }
61060 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
61061 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
61062 $as_echo_n "(cached) " >&6
61063 else
61064
61065
61066 ac_ext=cpp
61067 ac_cpp='$CXXCPP $CPPFLAGS'
61068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61071
61072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61073 /* end confdefs.h. */
61074 #include <math.h>
61075 int
61076 main ()
61077 {
61078 frexpf(0, 0);
61079 ;
61080 return 0;
61081 }
61082 _ACEOF
61083 if ac_fn_cxx_try_compile "$LINENO"; then :
61084 glibcxx_cv_func_frexpf_use=yes
61085 else
61086 glibcxx_cv_func_frexpf_use=no
61087 fi
61088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61089 ac_ext=c
61090 ac_cpp='$CPP $CPPFLAGS'
61091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61094
61095
61096 fi
61097
61098 fi
61099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61100 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61101
61102 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61103 for ac_func in frexpf
61104 do :
61105 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61106 if test "x$ac_cv_func_frexpf" = x""yes; then :
61107 cat >>confdefs.h <<_ACEOF
61108 #define HAVE_FREXPF 1
61109 _ACEOF
61110
61111 fi
61112 done
61113
61114 else
61115
61116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61117 $as_echo_n "checking for _frexpf declaration... " >&6; }
61118 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61119 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61120 $as_echo_n "(cached) " >&6
61121 else
61122
61123
61124 ac_ext=cpp
61125 ac_cpp='$CXXCPP $CPPFLAGS'
61126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61129
61130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61131 /* end confdefs.h. */
61132 #include <math.h>
61133 int
61134 main ()
61135 {
61136 _frexpf(0, 0);
61137 ;
61138 return 0;
61139 }
61140 _ACEOF
61141 if ac_fn_cxx_try_compile "$LINENO"; then :
61142 glibcxx_cv_func__frexpf_use=yes
61143 else
61144 glibcxx_cv_func__frexpf_use=no
61145 fi
61146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61147 ac_ext=c
61148 ac_cpp='$CPP $CPPFLAGS'
61149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61152
61153
61154 fi
61155
61156 fi
61157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61158 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61159
61160 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61161 for ac_func in _frexpf
61162 do :
61163 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61164 if test "x$ac_cv_func__frexpf" = x""yes; then :
61165 cat >>confdefs.h <<_ACEOF
61166 #define HAVE__FREXPF 1
61167 _ACEOF
61168
61169 fi
61170 done
61171
61172 fi
61173 fi
61174
61175
61176
61177
61178
61179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61180 $as_echo_n "checking for hypotf declaration... " >&6; }
61181 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61182 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61183 $as_echo_n "(cached) " >&6
61184 else
61185
61186
61187 ac_ext=cpp
61188 ac_cpp='$CXXCPP $CPPFLAGS'
61189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61192
61193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61194 /* end confdefs.h. */
61195 #include <math.h>
61196 int
61197 main ()
61198 {
61199 hypotf(0, 0);
61200 ;
61201 return 0;
61202 }
61203 _ACEOF
61204 if ac_fn_cxx_try_compile "$LINENO"; then :
61205 glibcxx_cv_func_hypotf_use=yes
61206 else
61207 glibcxx_cv_func_hypotf_use=no
61208 fi
61209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61210 ac_ext=c
61211 ac_cpp='$CPP $CPPFLAGS'
61212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61215
61216
61217 fi
61218
61219 fi
61220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61221 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61222
61223 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61224 for ac_func in hypotf
61225 do :
61226 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61227 if test "x$ac_cv_func_hypotf" = x""yes; then :
61228 cat >>confdefs.h <<_ACEOF
61229 #define HAVE_HYPOTF 1
61230 _ACEOF
61231
61232 fi
61233 done
61234
61235 else
61236
61237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61238 $as_echo_n "checking for _hypotf declaration... " >&6; }
61239 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61240 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61241 $as_echo_n "(cached) " >&6
61242 else
61243
61244
61245 ac_ext=cpp
61246 ac_cpp='$CXXCPP $CPPFLAGS'
61247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61250
61251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61252 /* end confdefs.h. */
61253 #include <math.h>
61254 int
61255 main ()
61256 {
61257 _hypotf(0, 0);
61258 ;
61259 return 0;
61260 }
61261 _ACEOF
61262 if ac_fn_cxx_try_compile "$LINENO"; then :
61263 glibcxx_cv_func__hypotf_use=yes
61264 else
61265 glibcxx_cv_func__hypotf_use=no
61266 fi
61267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61268 ac_ext=c
61269 ac_cpp='$CPP $CPPFLAGS'
61270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61273
61274
61275 fi
61276
61277 fi
61278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61279 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61280
61281 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61282 for ac_func in _hypotf
61283 do :
61284 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61285 if test "x$ac_cv_func__hypotf" = x""yes; then :
61286 cat >>confdefs.h <<_ACEOF
61287 #define HAVE__HYPOTF 1
61288 _ACEOF
61289
61290 fi
61291 done
61292
61293 fi
61294 fi
61295
61296
61297
61298
61299
61300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61301 $as_echo_n "checking for ldexpf declaration... " >&6; }
61302 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61303 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61304 $as_echo_n "(cached) " >&6
61305 else
61306
61307
61308 ac_ext=cpp
61309 ac_cpp='$CXXCPP $CPPFLAGS'
61310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61313
61314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61315 /* end confdefs.h. */
61316 #include <math.h>
61317 int
61318 main ()
61319 {
61320 ldexpf(0, 0);
61321 ;
61322 return 0;
61323 }
61324 _ACEOF
61325 if ac_fn_cxx_try_compile "$LINENO"; then :
61326 glibcxx_cv_func_ldexpf_use=yes
61327 else
61328 glibcxx_cv_func_ldexpf_use=no
61329 fi
61330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61331 ac_ext=c
61332 ac_cpp='$CPP $CPPFLAGS'
61333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61336
61337
61338 fi
61339
61340 fi
61341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61342 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61343
61344 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61345 for ac_func in ldexpf
61346 do :
61347 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61348 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61349 cat >>confdefs.h <<_ACEOF
61350 #define HAVE_LDEXPF 1
61351 _ACEOF
61352
61353 fi
61354 done
61355
61356 else
61357
61358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61359 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61360 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61361 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61362 $as_echo_n "(cached) " >&6
61363 else
61364
61365
61366 ac_ext=cpp
61367 ac_cpp='$CXXCPP $CPPFLAGS'
61368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61371
61372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61373 /* end confdefs.h. */
61374 #include <math.h>
61375 int
61376 main ()
61377 {
61378 _ldexpf(0, 0);
61379 ;
61380 return 0;
61381 }
61382 _ACEOF
61383 if ac_fn_cxx_try_compile "$LINENO"; then :
61384 glibcxx_cv_func__ldexpf_use=yes
61385 else
61386 glibcxx_cv_func__ldexpf_use=no
61387 fi
61388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61389 ac_ext=c
61390 ac_cpp='$CPP $CPPFLAGS'
61391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61394
61395
61396 fi
61397
61398 fi
61399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61400 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61401
61402 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61403 for ac_func in _ldexpf
61404 do :
61405 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61406 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61407 cat >>confdefs.h <<_ACEOF
61408 #define HAVE__LDEXPF 1
61409 _ACEOF
61410
61411 fi
61412 done
61413
61414 fi
61415 fi
61416
61417
61418
61419
61420
61421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61422 $as_echo_n "checking for logf declaration... " >&6; }
61423 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61424 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61425 $as_echo_n "(cached) " >&6
61426 else
61427
61428
61429 ac_ext=cpp
61430 ac_cpp='$CXXCPP $CPPFLAGS'
61431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61434
61435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61436 /* end confdefs.h. */
61437 #include <math.h>
61438 #ifdef HAVE_IEEEFP_H
61439 #include <ieeefp.h>
61440 #endif
61441
61442 int
61443 main ()
61444 {
61445 logf(0);
61446 ;
61447 return 0;
61448 }
61449 _ACEOF
61450 if ac_fn_cxx_try_compile "$LINENO"; then :
61451 glibcxx_cv_func_logf_use=yes
61452 else
61453 glibcxx_cv_func_logf_use=no
61454 fi
61455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61456 ac_ext=c
61457 ac_cpp='$CPP $CPPFLAGS'
61458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61461
61462
61463 fi
61464
61465 fi
61466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61467 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61468
61469 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61470 for ac_func in logf
61471 do :
61472 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61473 if test "x$ac_cv_func_logf" = x""yes; then :
61474 cat >>confdefs.h <<_ACEOF
61475 #define HAVE_LOGF 1
61476 _ACEOF
61477
61478 fi
61479 done
61480
61481 else
61482
61483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61484 $as_echo_n "checking for _logf declaration... " >&6; }
61485 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61486 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61487 $as_echo_n "(cached) " >&6
61488 else
61489
61490
61491 ac_ext=cpp
61492 ac_cpp='$CXXCPP $CPPFLAGS'
61493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61496
61497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61498 /* end confdefs.h. */
61499 #include <math.h>
61500 #ifdef HAVE_IEEEFP_H
61501 #include <ieeefp.h>
61502 #endif
61503
61504 int
61505 main ()
61506 {
61507 _logf(0);
61508 ;
61509 return 0;
61510 }
61511 _ACEOF
61512 if ac_fn_cxx_try_compile "$LINENO"; then :
61513 glibcxx_cv_func__logf_use=yes
61514 else
61515 glibcxx_cv_func__logf_use=no
61516 fi
61517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61518 ac_ext=c
61519 ac_cpp='$CPP $CPPFLAGS'
61520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61523
61524
61525 fi
61526
61527 fi
61528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61529 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61530
61531 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61532 for ac_func in _logf
61533 do :
61534 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61535 if test "x$ac_cv_func__logf" = x""yes; then :
61536 cat >>confdefs.h <<_ACEOF
61537 #define HAVE__LOGF 1
61538 _ACEOF
61539
61540 fi
61541 done
61542
61543 fi
61544 fi
61545
61546
61547
61548
61549
61550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61551 $as_echo_n "checking for log10f declaration... " >&6; }
61552 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61553 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61554 $as_echo_n "(cached) " >&6
61555 else
61556
61557
61558 ac_ext=cpp
61559 ac_cpp='$CXXCPP $CPPFLAGS'
61560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61563
61564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61565 /* end confdefs.h. */
61566 #include <math.h>
61567 #ifdef HAVE_IEEEFP_H
61568 #include <ieeefp.h>
61569 #endif
61570
61571 int
61572 main ()
61573 {
61574 log10f(0);
61575 ;
61576 return 0;
61577 }
61578 _ACEOF
61579 if ac_fn_cxx_try_compile "$LINENO"; then :
61580 glibcxx_cv_func_log10f_use=yes
61581 else
61582 glibcxx_cv_func_log10f_use=no
61583 fi
61584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61585 ac_ext=c
61586 ac_cpp='$CPP $CPPFLAGS'
61587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61590
61591
61592 fi
61593
61594 fi
61595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61596 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61597
61598 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61599 for ac_func in log10f
61600 do :
61601 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61602 if test "x$ac_cv_func_log10f" = x""yes; then :
61603 cat >>confdefs.h <<_ACEOF
61604 #define HAVE_LOG10F 1
61605 _ACEOF
61606
61607 fi
61608 done
61609
61610 else
61611
61612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61613 $as_echo_n "checking for _log10f declaration... " >&6; }
61614 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61615 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61616 $as_echo_n "(cached) " >&6
61617 else
61618
61619
61620 ac_ext=cpp
61621 ac_cpp='$CXXCPP $CPPFLAGS'
61622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61625
61626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61627 /* end confdefs.h. */
61628 #include <math.h>
61629 #ifdef HAVE_IEEEFP_H
61630 #include <ieeefp.h>
61631 #endif
61632
61633 int
61634 main ()
61635 {
61636 _log10f(0);
61637 ;
61638 return 0;
61639 }
61640 _ACEOF
61641 if ac_fn_cxx_try_compile "$LINENO"; then :
61642 glibcxx_cv_func__log10f_use=yes
61643 else
61644 glibcxx_cv_func__log10f_use=no
61645 fi
61646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61647 ac_ext=c
61648 ac_cpp='$CPP $CPPFLAGS'
61649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61652
61653
61654 fi
61655
61656 fi
61657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61658 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61659
61660 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61661 for ac_func in _log10f
61662 do :
61663 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61664 if test "x$ac_cv_func__log10f" = x""yes; then :
61665 cat >>confdefs.h <<_ACEOF
61666 #define HAVE__LOG10F 1
61667 _ACEOF
61668
61669 fi
61670 done
61671
61672 fi
61673 fi
61674
61675
61676
61677
61678
61679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61680 $as_echo_n "checking for modff declaration... " >&6; }
61681 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61682 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61683 $as_echo_n "(cached) " >&6
61684 else
61685
61686
61687 ac_ext=cpp
61688 ac_cpp='$CXXCPP $CPPFLAGS'
61689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61692
61693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61694 /* end confdefs.h. */
61695 #include <math.h>
61696 int
61697 main ()
61698 {
61699 modff(0, 0);
61700 ;
61701 return 0;
61702 }
61703 _ACEOF
61704 if ac_fn_cxx_try_compile "$LINENO"; then :
61705 glibcxx_cv_func_modff_use=yes
61706 else
61707 glibcxx_cv_func_modff_use=no
61708 fi
61709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61710 ac_ext=c
61711 ac_cpp='$CPP $CPPFLAGS'
61712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61715
61716
61717 fi
61718
61719 fi
61720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61721 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61722
61723 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61724 for ac_func in modff
61725 do :
61726 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61727 if test "x$ac_cv_func_modff" = x""yes; then :
61728 cat >>confdefs.h <<_ACEOF
61729 #define HAVE_MODFF 1
61730 _ACEOF
61731
61732 fi
61733 done
61734
61735 else
61736
61737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61738 $as_echo_n "checking for _modff declaration... " >&6; }
61739 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61740 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61741 $as_echo_n "(cached) " >&6
61742 else
61743
61744
61745 ac_ext=cpp
61746 ac_cpp='$CXXCPP $CPPFLAGS'
61747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61750
61751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61752 /* end confdefs.h. */
61753 #include <math.h>
61754 int
61755 main ()
61756 {
61757 _modff(0, 0);
61758 ;
61759 return 0;
61760 }
61761 _ACEOF
61762 if ac_fn_cxx_try_compile "$LINENO"; then :
61763 glibcxx_cv_func__modff_use=yes
61764 else
61765 glibcxx_cv_func__modff_use=no
61766 fi
61767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61768 ac_ext=c
61769 ac_cpp='$CPP $CPPFLAGS'
61770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61773
61774
61775 fi
61776
61777 fi
61778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61779 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61780
61781 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61782 for ac_func in _modff
61783 do :
61784 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61785 if test "x$ac_cv_func__modff" = x""yes; then :
61786 cat >>confdefs.h <<_ACEOF
61787 #define HAVE__MODFF 1
61788 _ACEOF
61789
61790 fi
61791 done
61792
61793 fi
61794 fi
61795
61796
61797
61798
61799
61800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61801 $as_echo_n "checking for modf declaration... " >&6; }
61802 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61803 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61804 $as_echo_n "(cached) " >&6
61805 else
61806
61807
61808 ac_ext=cpp
61809 ac_cpp='$CXXCPP $CPPFLAGS'
61810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61813
61814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61815 /* end confdefs.h. */
61816 #include <math.h>
61817 int
61818 main ()
61819 {
61820 modf(0, 0);
61821 ;
61822 return 0;
61823 }
61824 _ACEOF
61825 if ac_fn_cxx_try_compile "$LINENO"; then :
61826 glibcxx_cv_func_modf_use=yes
61827 else
61828 glibcxx_cv_func_modf_use=no
61829 fi
61830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61831 ac_ext=c
61832 ac_cpp='$CPP $CPPFLAGS'
61833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61836
61837
61838 fi
61839
61840 fi
61841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61842 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61843
61844 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61845 for ac_func in modf
61846 do :
61847 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61848 if test "x$ac_cv_func_modf" = x""yes; then :
61849 cat >>confdefs.h <<_ACEOF
61850 #define HAVE_MODF 1
61851 _ACEOF
61852
61853 fi
61854 done
61855
61856 else
61857
61858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61859 $as_echo_n "checking for _modf declaration... " >&6; }
61860 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61861 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61862 $as_echo_n "(cached) " >&6
61863 else
61864
61865
61866 ac_ext=cpp
61867 ac_cpp='$CXXCPP $CPPFLAGS'
61868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61871
61872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61873 /* end confdefs.h. */
61874 #include <math.h>
61875 int
61876 main ()
61877 {
61878 _modf(0, 0);
61879 ;
61880 return 0;
61881 }
61882 _ACEOF
61883 if ac_fn_cxx_try_compile "$LINENO"; then :
61884 glibcxx_cv_func__modf_use=yes
61885 else
61886 glibcxx_cv_func__modf_use=no
61887 fi
61888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61889 ac_ext=c
61890 ac_cpp='$CPP $CPPFLAGS'
61891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61894
61895
61896 fi
61897
61898 fi
61899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61900 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61901
61902 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61903 for ac_func in _modf
61904 do :
61905 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61906 if test "x$ac_cv_func__modf" = x""yes; then :
61907 cat >>confdefs.h <<_ACEOF
61908 #define HAVE__MODF 1
61909 _ACEOF
61910
61911 fi
61912 done
61913
61914 fi
61915 fi
61916
61917
61918
61919
61920
61921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61922 $as_echo_n "checking for powf declaration... " >&6; }
61923 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61924 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61925 $as_echo_n "(cached) " >&6
61926 else
61927
61928
61929 ac_ext=cpp
61930 ac_cpp='$CXXCPP $CPPFLAGS'
61931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61934
61935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61936 /* end confdefs.h. */
61937 #include <math.h>
61938 int
61939 main ()
61940 {
61941 powf(0, 0);
61942 ;
61943 return 0;
61944 }
61945 _ACEOF
61946 if ac_fn_cxx_try_compile "$LINENO"; then :
61947 glibcxx_cv_func_powf_use=yes
61948 else
61949 glibcxx_cv_func_powf_use=no
61950 fi
61951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61952 ac_ext=c
61953 ac_cpp='$CPP $CPPFLAGS'
61954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61957
61958
61959 fi
61960
61961 fi
61962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61963 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61964
61965 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61966 for ac_func in powf
61967 do :
61968 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61969 if test "x$ac_cv_func_powf" = x""yes; then :
61970 cat >>confdefs.h <<_ACEOF
61971 #define HAVE_POWF 1
61972 _ACEOF
61973
61974 fi
61975 done
61976
61977 else
61978
61979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61980 $as_echo_n "checking for _powf declaration... " >&6; }
61981 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61982 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61983 $as_echo_n "(cached) " >&6
61984 else
61985
61986
61987 ac_ext=cpp
61988 ac_cpp='$CXXCPP $CPPFLAGS'
61989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61992
61993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61994 /* end confdefs.h. */
61995 #include <math.h>
61996 int
61997 main ()
61998 {
61999 _powf(0, 0);
62000 ;
62001 return 0;
62002 }
62003 _ACEOF
62004 if ac_fn_cxx_try_compile "$LINENO"; then :
62005 glibcxx_cv_func__powf_use=yes
62006 else
62007 glibcxx_cv_func__powf_use=no
62008 fi
62009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62010 ac_ext=c
62011 ac_cpp='$CPP $CPPFLAGS'
62012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62015
62016
62017 fi
62018
62019 fi
62020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
62021 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
62022
62023 if test x$glibcxx_cv_func__powf_use = x"yes"; then
62024 for ac_func in _powf
62025 do :
62026 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
62027 if test "x$ac_cv_func__powf" = x""yes; then :
62028 cat >>confdefs.h <<_ACEOF
62029 #define HAVE__POWF 1
62030 _ACEOF
62031
62032 fi
62033 done
62034
62035 fi
62036 fi
62037
62038
62039
62040
62041
62042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
62043 $as_echo_n "checking for sqrtf declaration... " >&6; }
62044 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
62045 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
62046 $as_echo_n "(cached) " >&6
62047 else
62048
62049
62050 ac_ext=cpp
62051 ac_cpp='$CXXCPP $CPPFLAGS'
62052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62055
62056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62057 /* end confdefs.h. */
62058 #include <math.h>
62059 #ifdef HAVE_IEEEFP_H
62060 #include <ieeefp.h>
62061 #endif
62062
62063 int
62064 main ()
62065 {
62066 sqrtf(0);
62067 ;
62068 return 0;
62069 }
62070 _ACEOF
62071 if ac_fn_cxx_try_compile "$LINENO"; then :
62072 glibcxx_cv_func_sqrtf_use=yes
62073 else
62074 glibcxx_cv_func_sqrtf_use=no
62075 fi
62076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62077 ac_ext=c
62078 ac_cpp='$CPP $CPPFLAGS'
62079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62082
62083
62084 fi
62085
62086 fi
62087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
62088 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
62089
62090 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62091 for ac_func in sqrtf
62092 do :
62093 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62094 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62095 cat >>confdefs.h <<_ACEOF
62096 #define HAVE_SQRTF 1
62097 _ACEOF
62098
62099 fi
62100 done
62101
62102 else
62103
62104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62105 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62106 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62107 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62108 $as_echo_n "(cached) " >&6
62109 else
62110
62111
62112 ac_ext=cpp
62113 ac_cpp='$CXXCPP $CPPFLAGS'
62114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62117
62118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62119 /* end confdefs.h. */
62120 #include <math.h>
62121 #ifdef HAVE_IEEEFP_H
62122 #include <ieeefp.h>
62123 #endif
62124
62125 int
62126 main ()
62127 {
62128 _sqrtf(0);
62129 ;
62130 return 0;
62131 }
62132 _ACEOF
62133 if ac_fn_cxx_try_compile "$LINENO"; then :
62134 glibcxx_cv_func__sqrtf_use=yes
62135 else
62136 glibcxx_cv_func__sqrtf_use=no
62137 fi
62138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62139 ac_ext=c
62140 ac_cpp='$CPP $CPPFLAGS'
62141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62144
62145
62146 fi
62147
62148 fi
62149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62150 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62151
62152 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62153 for ac_func in _sqrtf
62154 do :
62155 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62156 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62157 cat >>confdefs.h <<_ACEOF
62158 #define HAVE__SQRTF 1
62159 _ACEOF
62160
62161 fi
62162 done
62163
62164 fi
62165 fi
62166
62167
62168
62169
62170
62171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62172 $as_echo_n "checking for sincosf declaration... " >&6; }
62173 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62174 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62175 $as_echo_n "(cached) " >&6
62176 else
62177
62178
62179 ac_ext=cpp
62180 ac_cpp='$CXXCPP $CPPFLAGS'
62181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62184
62185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62186 /* end confdefs.h. */
62187 #include <math.h>
62188 int
62189 main ()
62190 {
62191 sincosf(0, 0, 0);
62192 ;
62193 return 0;
62194 }
62195 _ACEOF
62196 if ac_fn_cxx_try_compile "$LINENO"; then :
62197 glibcxx_cv_func_sincosf_use=yes
62198 else
62199 glibcxx_cv_func_sincosf_use=no
62200 fi
62201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62202 ac_ext=c
62203 ac_cpp='$CPP $CPPFLAGS'
62204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62207
62208
62209 fi
62210
62211 fi
62212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62213 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62214
62215 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62216 for ac_func in sincosf
62217 do :
62218 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62219 if test "x$ac_cv_func_sincosf" = x""yes; then :
62220 cat >>confdefs.h <<_ACEOF
62221 #define HAVE_SINCOSF 1
62222 _ACEOF
62223
62224 fi
62225 done
62226
62227 else
62228
62229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62230 $as_echo_n "checking for _sincosf declaration... " >&6; }
62231 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62232 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62233 $as_echo_n "(cached) " >&6
62234 else
62235
62236
62237 ac_ext=cpp
62238 ac_cpp='$CXXCPP $CPPFLAGS'
62239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62242
62243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62244 /* end confdefs.h. */
62245 #include <math.h>
62246 int
62247 main ()
62248 {
62249 _sincosf(0, 0, 0);
62250 ;
62251 return 0;
62252 }
62253 _ACEOF
62254 if ac_fn_cxx_try_compile "$LINENO"; then :
62255 glibcxx_cv_func__sincosf_use=yes
62256 else
62257 glibcxx_cv_func__sincosf_use=no
62258 fi
62259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62260 ac_ext=c
62261 ac_cpp='$CPP $CPPFLAGS'
62262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62265
62266
62267 fi
62268
62269 fi
62270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62271 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62272
62273 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62274 for ac_func in _sincosf
62275 do :
62276 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62277 if test "x$ac_cv_func__sincosf" = x""yes; then :
62278 cat >>confdefs.h <<_ACEOF
62279 #define HAVE__SINCOSF 1
62280 _ACEOF
62281
62282 fi
62283 done
62284
62285 fi
62286 fi
62287
62288
62289
62290
62291
62292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62293 $as_echo_n "checking for finitef declaration... " >&6; }
62294 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62295 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62296 $as_echo_n "(cached) " >&6
62297 else
62298
62299
62300 ac_ext=cpp
62301 ac_cpp='$CXXCPP $CPPFLAGS'
62302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62305
62306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62307 /* end confdefs.h. */
62308 #include <math.h>
62309 #ifdef HAVE_IEEEFP_H
62310 #include <ieeefp.h>
62311 #endif
62312
62313 int
62314 main ()
62315 {
62316 finitef(0);
62317 ;
62318 return 0;
62319 }
62320 _ACEOF
62321 if ac_fn_cxx_try_compile "$LINENO"; then :
62322 glibcxx_cv_func_finitef_use=yes
62323 else
62324 glibcxx_cv_func_finitef_use=no
62325 fi
62326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62327 ac_ext=c
62328 ac_cpp='$CPP $CPPFLAGS'
62329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62332
62333
62334 fi
62335
62336 fi
62337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62338 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62339
62340 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62341 for ac_func in finitef
62342 do :
62343 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62344 if test "x$ac_cv_func_finitef" = x""yes; then :
62345 cat >>confdefs.h <<_ACEOF
62346 #define HAVE_FINITEF 1
62347 _ACEOF
62348
62349 fi
62350 done
62351
62352 else
62353
62354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62355 $as_echo_n "checking for _finitef declaration... " >&6; }
62356 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62357 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62358 $as_echo_n "(cached) " >&6
62359 else
62360
62361
62362 ac_ext=cpp
62363 ac_cpp='$CXXCPP $CPPFLAGS'
62364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62367
62368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62369 /* end confdefs.h. */
62370 #include <math.h>
62371 #ifdef HAVE_IEEEFP_H
62372 #include <ieeefp.h>
62373 #endif
62374
62375 int
62376 main ()
62377 {
62378 _finitef(0);
62379 ;
62380 return 0;
62381 }
62382 _ACEOF
62383 if ac_fn_cxx_try_compile "$LINENO"; then :
62384 glibcxx_cv_func__finitef_use=yes
62385 else
62386 glibcxx_cv_func__finitef_use=no
62387 fi
62388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62389 ac_ext=c
62390 ac_cpp='$CPP $CPPFLAGS'
62391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62394
62395
62396 fi
62397
62398 fi
62399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62400 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62401
62402 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62403 for ac_func in _finitef
62404 do :
62405 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62406 if test "x$ac_cv_func__finitef" = x""yes; then :
62407 cat >>confdefs.h <<_ACEOF
62408 #define HAVE__FINITEF 1
62409 _ACEOF
62410
62411 fi
62412 done
62413
62414 fi
62415 fi
62416
62417
62418
62419
62420
62421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62422 $as_echo_n "checking for long double trig functions... " >&6; }
62423 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62424 $as_echo_n "(cached) " >&6
62425 else
62426
62427
62428 ac_ext=cpp
62429 ac_cpp='$CXXCPP $CPPFLAGS'
62430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62433
62434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62435 /* end confdefs.h. */
62436 #include <math.h>
62437 int
62438 main ()
62439 {
62440 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62441 ;
62442 return 0;
62443 }
62444 _ACEOF
62445 if ac_fn_cxx_try_compile "$LINENO"; then :
62446 glibcxx_cv_func_long_double_trig_use=yes
62447 else
62448 glibcxx_cv_func_long_double_trig_use=no
62449 fi
62450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62451 ac_ext=c
62452 ac_cpp='$CPP $CPPFLAGS'
62453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62456
62457 fi
62458
62459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62460 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62461 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62462 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62463 do :
62464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62466 eval as_val=\$$as_ac_var
62467 if test "x$as_val" = x""yes; then :
62468 cat >>confdefs.h <<_ACEOF
62469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62470 _ACEOF
62471
62472 fi
62473 done
62474
62475 else
62476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62477 $as_echo_n "checking for _long double trig functions... " >&6; }
62478 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62479 $as_echo_n "(cached) " >&6
62480 else
62481
62482
62483 ac_ext=cpp
62484 ac_cpp='$CXXCPP $CPPFLAGS'
62485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62488
62489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62490 /* end confdefs.h. */
62491 #include <math.h>
62492 int
62493 main ()
62494 {
62495 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62496 ;
62497 return 0;
62498 }
62499 _ACEOF
62500 if ac_fn_cxx_try_compile "$LINENO"; then :
62501 glibcxx_cv_func__long_double_trig_use=yes
62502 else
62503 glibcxx_cv_func__long_double_trig_use=no
62504 fi
62505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62506 ac_ext=c
62507 ac_cpp='$CPP $CPPFLAGS'
62508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62511
62512 fi
62513
62514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62515 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62516 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62517 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62518 do :
62519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62521 eval as_val=\$$as_ac_var
62522 if test "x$as_val" = x""yes; then :
62523 cat >>confdefs.h <<_ACEOF
62524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62525 _ACEOF
62526
62527 fi
62528 done
62529
62530 fi
62531 fi
62532
62533
62534
62535
62536
62537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62538 $as_echo_n "checking for long double round functions... " >&6; }
62539 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62540 $as_echo_n "(cached) " >&6
62541 else
62542
62543
62544 ac_ext=cpp
62545 ac_cpp='$CXXCPP $CPPFLAGS'
62546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62549
62550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62551 /* end confdefs.h. */
62552 #include <math.h>
62553 int
62554 main ()
62555 {
62556 ceill (0); floorl (0);
62557 ;
62558 return 0;
62559 }
62560 _ACEOF
62561 if ac_fn_cxx_try_compile "$LINENO"; then :
62562 glibcxx_cv_func_long_double_round_use=yes
62563 else
62564 glibcxx_cv_func_long_double_round_use=no
62565 fi
62566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62567 ac_ext=c
62568 ac_cpp='$CPP $CPPFLAGS'
62569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62572
62573 fi
62574
62575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62576 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62577 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62578 for ac_func in ceill floorl
62579 do :
62580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62582 eval as_val=\$$as_ac_var
62583 if test "x$as_val" = x""yes; then :
62584 cat >>confdefs.h <<_ACEOF
62585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62586 _ACEOF
62587
62588 fi
62589 done
62590
62591 else
62592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62593 $as_echo_n "checking for _long double round functions... " >&6; }
62594 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62595 $as_echo_n "(cached) " >&6
62596 else
62597
62598
62599 ac_ext=cpp
62600 ac_cpp='$CXXCPP $CPPFLAGS'
62601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62604
62605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62606 /* end confdefs.h. */
62607 #include <math.h>
62608 int
62609 main ()
62610 {
62611 _ceill (0); _floorl (0);
62612 ;
62613 return 0;
62614 }
62615 _ACEOF
62616 if ac_fn_cxx_try_compile "$LINENO"; then :
62617 glibcxx_cv_func__long_double_round_use=yes
62618 else
62619 glibcxx_cv_func__long_double_round_use=no
62620 fi
62621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62622 ac_ext=c
62623 ac_cpp='$CPP $CPPFLAGS'
62624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62627
62628 fi
62629
62630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62631 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62632 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62633 for ac_func in _ceill _floorl
62634 do :
62635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62637 eval as_val=\$$as_ac_var
62638 if test "x$as_val" = x""yes; then :
62639 cat >>confdefs.h <<_ACEOF
62640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62641 _ACEOF
62642
62643 fi
62644 done
62645
62646 fi
62647 fi
62648
62649
62650
62651
62652
62653
62654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62655 $as_echo_n "checking for isnanl declaration... " >&6; }
62656 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62657 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62658 $as_echo_n "(cached) " >&6
62659 else
62660
62661
62662 ac_ext=cpp
62663 ac_cpp='$CXXCPP $CPPFLAGS'
62664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62667
62668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62669 /* end confdefs.h. */
62670 #include <math.h>
62671 #ifdef HAVE_IEEEFP_H
62672 #include <ieeefp.h>
62673 #endif
62674
62675 int
62676 main ()
62677 {
62678 isnanl(0);
62679 ;
62680 return 0;
62681 }
62682 _ACEOF
62683 if ac_fn_cxx_try_compile "$LINENO"; then :
62684 glibcxx_cv_func_isnanl_use=yes
62685 else
62686 glibcxx_cv_func_isnanl_use=no
62687 fi
62688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62689 ac_ext=c
62690 ac_cpp='$CPP $CPPFLAGS'
62691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62694
62695
62696 fi
62697
62698 fi
62699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62700 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62701
62702 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62703 for ac_func in isnanl
62704 do :
62705 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62706 if test "x$ac_cv_func_isnanl" = x""yes; then :
62707 cat >>confdefs.h <<_ACEOF
62708 #define HAVE_ISNANL 1
62709 _ACEOF
62710
62711 fi
62712 done
62713
62714 else
62715
62716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62717 $as_echo_n "checking for _isnanl declaration... " >&6; }
62718 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62719 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62720 $as_echo_n "(cached) " >&6
62721 else
62722
62723
62724 ac_ext=cpp
62725 ac_cpp='$CXXCPP $CPPFLAGS'
62726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62729
62730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62731 /* end confdefs.h. */
62732 #include <math.h>
62733 #ifdef HAVE_IEEEFP_H
62734 #include <ieeefp.h>
62735 #endif
62736
62737 int
62738 main ()
62739 {
62740 _isnanl(0);
62741 ;
62742 return 0;
62743 }
62744 _ACEOF
62745 if ac_fn_cxx_try_compile "$LINENO"; then :
62746 glibcxx_cv_func__isnanl_use=yes
62747 else
62748 glibcxx_cv_func__isnanl_use=no
62749 fi
62750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62751 ac_ext=c
62752 ac_cpp='$CPP $CPPFLAGS'
62753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62756
62757
62758 fi
62759
62760 fi
62761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62762 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62763
62764 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62765 for ac_func in _isnanl
62766 do :
62767 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62768 if test "x$ac_cv_func__isnanl" = x""yes; then :
62769 cat >>confdefs.h <<_ACEOF
62770 #define HAVE__ISNANL 1
62771 _ACEOF
62772
62773 fi
62774 done
62775
62776 fi
62777 fi
62778
62779
62780
62781
62782
62783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62784 $as_echo_n "checking for isinfl declaration... " >&6; }
62785 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62786 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62787 $as_echo_n "(cached) " >&6
62788 else
62789
62790
62791 ac_ext=cpp
62792 ac_cpp='$CXXCPP $CPPFLAGS'
62793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62796
62797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62798 /* end confdefs.h. */
62799 #include <math.h>
62800 #ifdef HAVE_IEEEFP_H
62801 #include <ieeefp.h>
62802 #endif
62803
62804 int
62805 main ()
62806 {
62807 isinfl(0);
62808 ;
62809 return 0;
62810 }
62811 _ACEOF
62812 if ac_fn_cxx_try_compile "$LINENO"; then :
62813 glibcxx_cv_func_isinfl_use=yes
62814 else
62815 glibcxx_cv_func_isinfl_use=no
62816 fi
62817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62818 ac_ext=c
62819 ac_cpp='$CPP $CPPFLAGS'
62820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62823
62824
62825 fi
62826
62827 fi
62828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62829 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62830
62831 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62832 for ac_func in isinfl
62833 do :
62834 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62835 if test "x$ac_cv_func_isinfl" = x""yes; then :
62836 cat >>confdefs.h <<_ACEOF
62837 #define HAVE_ISINFL 1
62838 _ACEOF
62839
62840 fi
62841 done
62842
62843 else
62844
62845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62846 $as_echo_n "checking for _isinfl declaration... " >&6; }
62847 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62848 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62849 $as_echo_n "(cached) " >&6
62850 else
62851
62852
62853 ac_ext=cpp
62854 ac_cpp='$CXXCPP $CPPFLAGS'
62855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62858
62859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62860 /* end confdefs.h. */
62861 #include <math.h>
62862 #ifdef HAVE_IEEEFP_H
62863 #include <ieeefp.h>
62864 #endif
62865
62866 int
62867 main ()
62868 {
62869 _isinfl(0);
62870 ;
62871 return 0;
62872 }
62873 _ACEOF
62874 if ac_fn_cxx_try_compile "$LINENO"; then :
62875 glibcxx_cv_func__isinfl_use=yes
62876 else
62877 glibcxx_cv_func__isinfl_use=no
62878 fi
62879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62880 ac_ext=c
62881 ac_cpp='$CPP $CPPFLAGS'
62882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62885
62886
62887 fi
62888
62889 fi
62890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62891 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62892
62893 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62894 for ac_func in _isinfl
62895 do :
62896 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62897 if test "x$ac_cv_func__isinfl" = x""yes; then :
62898 cat >>confdefs.h <<_ACEOF
62899 #define HAVE__ISINFL 1
62900 _ACEOF
62901
62902 fi
62903 done
62904
62905 fi
62906 fi
62907
62908
62909
62910
62911
62912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62913 $as_echo_n "checking for atan2l declaration... " >&6; }
62914 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62915 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62916 $as_echo_n "(cached) " >&6
62917 else
62918
62919
62920 ac_ext=cpp
62921 ac_cpp='$CXXCPP $CPPFLAGS'
62922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62925
62926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62927 /* end confdefs.h. */
62928 #include <math.h>
62929 int
62930 main ()
62931 {
62932 atan2l(0, 0);
62933 ;
62934 return 0;
62935 }
62936 _ACEOF
62937 if ac_fn_cxx_try_compile "$LINENO"; then :
62938 glibcxx_cv_func_atan2l_use=yes
62939 else
62940 glibcxx_cv_func_atan2l_use=no
62941 fi
62942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62943 ac_ext=c
62944 ac_cpp='$CPP $CPPFLAGS'
62945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62948
62949
62950 fi
62951
62952 fi
62953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62954 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62955
62956 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62957 for ac_func in atan2l
62958 do :
62959 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62960 if test "x$ac_cv_func_atan2l" = x""yes; then :
62961 cat >>confdefs.h <<_ACEOF
62962 #define HAVE_ATAN2L 1
62963 _ACEOF
62964
62965 fi
62966 done
62967
62968 else
62969
62970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62971 $as_echo_n "checking for _atan2l declaration... " >&6; }
62972 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62973 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62974 $as_echo_n "(cached) " >&6
62975 else
62976
62977
62978 ac_ext=cpp
62979 ac_cpp='$CXXCPP $CPPFLAGS'
62980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62983
62984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62985 /* end confdefs.h. */
62986 #include <math.h>
62987 int
62988 main ()
62989 {
62990 _atan2l(0, 0);
62991 ;
62992 return 0;
62993 }
62994 _ACEOF
62995 if ac_fn_cxx_try_compile "$LINENO"; then :
62996 glibcxx_cv_func__atan2l_use=yes
62997 else
62998 glibcxx_cv_func__atan2l_use=no
62999 fi
63000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63001 ac_ext=c
63002 ac_cpp='$CPP $CPPFLAGS'
63003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63006
63007
63008 fi
63009
63010 fi
63011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63012 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63013
63014 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63015 for ac_func in _atan2l
63016 do :
63017 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63018 if test "x$ac_cv_func__atan2l" = x""yes; then :
63019 cat >>confdefs.h <<_ACEOF
63020 #define HAVE__ATAN2L 1
63021 _ACEOF
63022
63023 fi
63024 done
63025
63026 fi
63027 fi
63028
63029
63030
63031
63032
63033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
63034 $as_echo_n "checking for expl declaration... " >&6; }
63035 if test x${glibcxx_cv_func_expl_use+set} != xset; then
63036 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
63037 $as_echo_n "(cached) " >&6
63038 else
63039
63040
63041 ac_ext=cpp
63042 ac_cpp='$CXXCPP $CPPFLAGS'
63043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63046
63047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63048 /* end confdefs.h. */
63049 #include <math.h>
63050 #ifdef HAVE_IEEEFP_H
63051 #include <ieeefp.h>
63052 #endif
63053
63054 int
63055 main ()
63056 {
63057 expl(0);
63058 ;
63059 return 0;
63060 }
63061 _ACEOF
63062 if ac_fn_cxx_try_compile "$LINENO"; then :
63063 glibcxx_cv_func_expl_use=yes
63064 else
63065 glibcxx_cv_func_expl_use=no
63066 fi
63067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63068 ac_ext=c
63069 ac_cpp='$CPP $CPPFLAGS'
63070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63073
63074
63075 fi
63076
63077 fi
63078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
63079 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
63080
63081 if test x$glibcxx_cv_func_expl_use = x"yes"; then
63082 for ac_func in expl
63083 do :
63084 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
63085 if test "x$ac_cv_func_expl" = x""yes; then :
63086 cat >>confdefs.h <<_ACEOF
63087 #define HAVE_EXPL 1
63088 _ACEOF
63089
63090 fi
63091 done
63092
63093 else
63094
63095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63096 $as_echo_n "checking for _expl declaration... " >&6; }
63097 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63098 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63099 $as_echo_n "(cached) " >&6
63100 else
63101
63102
63103 ac_ext=cpp
63104 ac_cpp='$CXXCPP $CPPFLAGS'
63105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63108
63109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63110 /* end confdefs.h. */
63111 #include <math.h>
63112 #ifdef HAVE_IEEEFP_H
63113 #include <ieeefp.h>
63114 #endif
63115
63116 int
63117 main ()
63118 {
63119 _expl(0);
63120 ;
63121 return 0;
63122 }
63123 _ACEOF
63124 if ac_fn_cxx_try_compile "$LINENO"; then :
63125 glibcxx_cv_func__expl_use=yes
63126 else
63127 glibcxx_cv_func__expl_use=no
63128 fi
63129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63130 ac_ext=c
63131 ac_cpp='$CPP $CPPFLAGS'
63132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63135
63136
63137 fi
63138
63139 fi
63140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63141 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63142
63143 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63144 for ac_func in _expl
63145 do :
63146 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63147 if test "x$ac_cv_func__expl" = x""yes; then :
63148 cat >>confdefs.h <<_ACEOF
63149 #define HAVE__EXPL 1
63150 _ACEOF
63151
63152 fi
63153 done
63154
63155 fi
63156 fi
63157
63158
63159
63160
63161
63162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63163 $as_echo_n "checking for fabsl declaration... " >&6; }
63164 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63165 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63166 $as_echo_n "(cached) " >&6
63167 else
63168
63169
63170 ac_ext=cpp
63171 ac_cpp='$CXXCPP $CPPFLAGS'
63172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63175
63176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63177 /* end confdefs.h. */
63178 #include <math.h>
63179 #ifdef HAVE_IEEEFP_H
63180 #include <ieeefp.h>
63181 #endif
63182
63183 int
63184 main ()
63185 {
63186 fabsl(0);
63187 ;
63188 return 0;
63189 }
63190 _ACEOF
63191 if ac_fn_cxx_try_compile "$LINENO"; then :
63192 glibcxx_cv_func_fabsl_use=yes
63193 else
63194 glibcxx_cv_func_fabsl_use=no
63195 fi
63196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63197 ac_ext=c
63198 ac_cpp='$CPP $CPPFLAGS'
63199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63202
63203
63204 fi
63205
63206 fi
63207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63208 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63209
63210 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63211 for ac_func in fabsl
63212 do :
63213 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63214 if test "x$ac_cv_func_fabsl" = x""yes; then :
63215 cat >>confdefs.h <<_ACEOF
63216 #define HAVE_FABSL 1
63217 _ACEOF
63218
63219 fi
63220 done
63221
63222 else
63223
63224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63225 $as_echo_n "checking for _fabsl declaration... " >&6; }
63226 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63227 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63228 $as_echo_n "(cached) " >&6
63229 else
63230
63231
63232 ac_ext=cpp
63233 ac_cpp='$CXXCPP $CPPFLAGS'
63234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63237
63238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63239 /* end confdefs.h. */
63240 #include <math.h>
63241 #ifdef HAVE_IEEEFP_H
63242 #include <ieeefp.h>
63243 #endif
63244
63245 int
63246 main ()
63247 {
63248 _fabsl(0);
63249 ;
63250 return 0;
63251 }
63252 _ACEOF
63253 if ac_fn_cxx_try_compile "$LINENO"; then :
63254 glibcxx_cv_func__fabsl_use=yes
63255 else
63256 glibcxx_cv_func__fabsl_use=no
63257 fi
63258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63259 ac_ext=c
63260 ac_cpp='$CPP $CPPFLAGS'
63261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63264
63265
63266 fi
63267
63268 fi
63269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63270 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63271
63272 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63273 for ac_func in _fabsl
63274 do :
63275 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63276 if test "x$ac_cv_func__fabsl" = x""yes; then :
63277 cat >>confdefs.h <<_ACEOF
63278 #define HAVE__FABSL 1
63279 _ACEOF
63280
63281 fi
63282 done
63283
63284 fi
63285 fi
63286
63287
63288
63289
63290
63291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63292 $as_echo_n "checking for fmodl declaration... " >&6; }
63293 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63294 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63295 $as_echo_n "(cached) " >&6
63296 else
63297
63298
63299 ac_ext=cpp
63300 ac_cpp='$CXXCPP $CPPFLAGS'
63301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63304
63305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63306 /* end confdefs.h. */
63307 #include <math.h>
63308 int
63309 main ()
63310 {
63311 fmodl(0, 0);
63312 ;
63313 return 0;
63314 }
63315 _ACEOF
63316 if ac_fn_cxx_try_compile "$LINENO"; then :
63317 glibcxx_cv_func_fmodl_use=yes
63318 else
63319 glibcxx_cv_func_fmodl_use=no
63320 fi
63321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63322 ac_ext=c
63323 ac_cpp='$CPP $CPPFLAGS'
63324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63327
63328
63329 fi
63330
63331 fi
63332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63333 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63334
63335 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63336 for ac_func in fmodl
63337 do :
63338 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63339 if test "x$ac_cv_func_fmodl" = x""yes; then :
63340 cat >>confdefs.h <<_ACEOF
63341 #define HAVE_FMODL 1
63342 _ACEOF
63343
63344 fi
63345 done
63346
63347 else
63348
63349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63350 $as_echo_n "checking for _fmodl declaration... " >&6; }
63351 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63352 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63353 $as_echo_n "(cached) " >&6
63354 else
63355
63356
63357 ac_ext=cpp
63358 ac_cpp='$CXXCPP $CPPFLAGS'
63359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63362
63363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63364 /* end confdefs.h. */
63365 #include <math.h>
63366 int
63367 main ()
63368 {
63369 _fmodl(0, 0);
63370 ;
63371 return 0;
63372 }
63373 _ACEOF
63374 if ac_fn_cxx_try_compile "$LINENO"; then :
63375 glibcxx_cv_func__fmodl_use=yes
63376 else
63377 glibcxx_cv_func__fmodl_use=no
63378 fi
63379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63380 ac_ext=c
63381 ac_cpp='$CPP $CPPFLAGS'
63382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63385
63386
63387 fi
63388
63389 fi
63390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63391 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63392
63393 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63394 for ac_func in _fmodl
63395 do :
63396 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63397 if test "x$ac_cv_func__fmodl" = x""yes; then :
63398 cat >>confdefs.h <<_ACEOF
63399 #define HAVE__FMODL 1
63400 _ACEOF
63401
63402 fi
63403 done
63404
63405 fi
63406 fi
63407
63408
63409
63410
63411
63412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63413 $as_echo_n "checking for frexpl declaration... " >&6; }
63414 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63415 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63416 $as_echo_n "(cached) " >&6
63417 else
63418
63419
63420 ac_ext=cpp
63421 ac_cpp='$CXXCPP $CPPFLAGS'
63422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63425
63426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63427 /* end confdefs.h. */
63428 #include <math.h>
63429 int
63430 main ()
63431 {
63432 frexpl(0, 0);
63433 ;
63434 return 0;
63435 }
63436 _ACEOF
63437 if ac_fn_cxx_try_compile "$LINENO"; then :
63438 glibcxx_cv_func_frexpl_use=yes
63439 else
63440 glibcxx_cv_func_frexpl_use=no
63441 fi
63442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63443 ac_ext=c
63444 ac_cpp='$CPP $CPPFLAGS'
63445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63448
63449
63450 fi
63451
63452 fi
63453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63454 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63455
63456 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63457 for ac_func in frexpl
63458 do :
63459 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63460 if test "x$ac_cv_func_frexpl" = x""yes; then :
63461 cat >>confdefs.h <<_ACEOF
63462 #define HAVE_FREXPL 1
63463 _ACEOF
63464
63465 fi
63466 done
63467
63468 else
63469
63470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63471 $as_echo_n "checking for _frexpl declaration... " >&6; }
63472 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63473 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63474 $as_echo_n "(cached) " >&6
63475 else
63476
63477
63478 ac_ext=cpp
63479 ac_cpp='$CXXCPP $CPPFLAGS'
63480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63483
63484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63485 /* end confdefs.h. */
63486 #include <math.h>
63487 int
63488 main ()
63489 {
63490 _frexpl(0, 0);
63491 ;
63492 return 0;
63493 }
63494 _ACEOF
63495 if ac_fn_cxx_try_compile "$LINENO"; then :
63496 glibcxx_cv_func__frexpl_use=yes
63497 else
63498 glibcxx_cv_func__frexpl_use=no
63499 fi
63500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63501 ac_ext=c
63502 ac_cpp='$CPP $CPPFLAGS'
63503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63506
63507
63508 fi
63509
63510 fi
63511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63512 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63513
63514 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63515 for ac_func in _frexpl
63516 do :
63517 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63518 if test "x$ac_cv_func__frexpl" = x""yes; then :
63519 cat >>confdefs.h <<_ACEOF
63520 #define HAVE__FREXPL 1
63521 _ACEOF
63522
63523 fi
63524 done
63525
63526 fi
63527 fi
63528
63529
63530
63531
63532
63533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63534 $as_echo_n "checking for hypotl declaration... " >&6; }
63535 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63536 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63537 $as_echo_n "(cached) " >&6
63538 else
63539
63540
63541 ac_ext=cpp
63542 ac_cpp='$CXXCPP $CPPFLAGS'
63543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63546
63547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63548 /* end confdefs.h. */
63549 #include <math.h>
63550 int
63551 main ()
63552 {
63553 hypotl(0, 0);
63554 ;
63555 return 0;
63556 }
63557 _ACEOF
63558 if ac_fn_cxx_try_compile "$LINENO"; then :
63559 glibcxx_cv_func_hypotl_use=yes
63560 else
63561 glibcxx_cv_func_hypotl_use=no
63562 fi
63563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63564 ac_ext=c
63565 ac_cpp='$CPP $CPPFLAGS'
63566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63569
63570
63571 fi
63572
63573 fi
63574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63575 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63576
63577 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63578 for ac_func in hypotl
63579 do :
63580 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63581 if test "x$ac_cv_func_hypotl" = x""yes; then :
63582 cat >>confdefs.h <<_ACEOF
63583 #define HAVE_HYPOTL 1
63584 _ACEOF
63585
63586 fi
63587 done
63588
63589 else
63590
63591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63592 $as_echo_n "checking for _hypotl declaration... " >&6; }
63593 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63594 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63595 $as_echo_n "(cached) " >&6
63596 else
63597
63598
63599 ac_ext=cpp
63600 ac_cpp='$CXXCPP $CPPFLAGS'
63601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63604
63605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63606 /* end confdefs.h. */
63607 #include <math.h>
63608 int
63609 main ()
63610 {
63611 _hypotl(0, 0);
63612 ;
63613 return 0;
63614 }
63615 _ACEOF
63616 if ac_fn_cxx_try_compile "$LINENO"; then :
63617 glibcxx_cv_func__hypotl_use=yes
63618 else
63619 glibcxx_cv_func__hypotl_use=no
63620 fi
63621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63622 ac_ext=c
63623 ac_cpp='$CPP $CPPFLAGS'
63624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63627
63628
63629 fi
63630
63631 fi
63632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63633 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63634
63635 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63636 for ac_func in _hypotl
63637 do :
63638 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63639 if test "x$ac_cv_func__hypotl" = x""yes; then :
63640 cat >>confdefs.h <<_ACEOF
63641 #define HAVE__HYPOTL 1
63642 _ACEOF
63643
63644 fi
63645 done
63646
63647 fi
63648 fi
63649
63650
63651
63652
63653
63654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63655 $as_echo_n "checking for ldexpl declaration... " >&6; }
63656 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63657 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63658 $as_echo_n "(cached) " >&6
63659 else
63660
63661
63662 ac_ext=cpp
63663 ac_cpp='$CXXCPP $CPPFLAGS'
63664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63667
63668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63669 /* end confdefs.h. */
63670 #include <math.h>
63671 int
63672 main ()
63673 {
63674 ldexpl(0, 0);
63675 ;
63676 return 0;
63677 }
63678 _ACEOF
63679 if ac_fn_cxx_try_compile "$LINENO"; then :
63680 glibcxx_cv_func_ldexpl_use=yes
63681 else
63682 glibcxx_cv_func_ldexpl_use=no
63683 fi
63684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63685 ac_ext=c
63686 ac_cpp='$CPP $CPPFLAGS'
63687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63690
63691
63692 fi
63693
63694 fi
63695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63696 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63697
63698 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63699 for ac_func in ldexpl
63700 do :
63701 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63702 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63703 cat >>confdefs.h <<_ACEOF
63704 #define HAVE_LDEXPL 1
63705 _ACEOF
63706
63707 fi
63708 done
63709
63710 else
63711
63712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63713 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63714 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63715 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63716 $as_echo_n "(cached) " >&6
63717 else
63718
63719
63720 ac_ext=cpp
63721 ac_cpp='$CXXCPP $CPPFLAGS'
63722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63725
63726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63727 /* end confdefs.h. */
63728 #include <math.h>
63729 int
63730 main ()
63731 {
63732 _ldexpl(0, 0);
63733 ;
63734 return 0;
63735 }
63736 _ACEOF
63737 if ac_fn_cxx_try_compile "$LINENO"; then :
63738 glibcxx_cv_func__ldexpl_use=yes
63739 else
63740 glibcxx_cv_func__ldexpl_use=no
63741 fi
63742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63743 ac_ext=c
63744 ac_cpp='$CPP $CPPFLAGS'
63745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63748
63749
63750 fi
63751
63752 fi
63753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63754 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63755
63756 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63757 for ac_func in _ldexpl
63758 do :
63759 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63760 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63761 cat >>confdefs.h <<_ACEOF
63762 #define HAVE__LDEXPL 1
63763 _ACEOF
63764
63765 fi
63766 done
63767
63768 fi
63769 fi
63770
63771
63772
63773
63774
63775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63776 $as_echo_n "checking for logl declaration... " >&6; }
63777 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63778 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63779 $as_echo_n "(cached) " >&6
63780 else
63781
63782
63783 ac_ext=cpp
63784 ac_cpp='$CXXCPP $CPPFLAGS'
63785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63788
63789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63790 /* end confdefs.h. */
63791 #include <math.h>
63792 #ifdef HAVE_IEEEFP_H
63793 #include <ieeefp.h>
63794 #endif
63795
63796 int
63797 main ()
63798 {
63799 logl(0);
63800 ;
63801 return 0;
63802 }
63803 _ACEOF
63804 if ac_fn_cxx_try_compile "$LINENO"; then :
63805 glibcxx_cv_func_logl_use=yes
63806 else
63807 glibcxx_cv_func_logl_use=no
63808 fi
63809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63810 ac_ext=c
63811 ac_cpp='$CPP $CPPFLAGS'
63812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63815
63816
63817 fi
63818
63819 fi
63820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63821 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63822
63823 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63824 for ac_func in logl
63825 do :
63826 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63827 if test "x$ac_cv_func_logl" = x""yes; then :
63828 cat >>confdefs.h <<_ACEOF
63829 #define HAVE_LOGL 1
63830 _ACEOF
63831
63832 fi
63833 done
63834
63835 else
63836
63837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63838 $as_echo_n "checking for _logl declaration... " >&6; }
63839 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63840 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63841 $as_echo_n "(cached) " >&6
63842 else
63843
63844
63845 ac_ext=cpp
63846 ac_cpp='$CXXCPP $CPPFLAGS'
63847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63850
63851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63852 /* end confdefs.h. */
63853 #include <math.h>
63854 #ifdef HAVE_IEEEFP_H
63855 #include <ieeefp.h>
63856 #endif
63857
63858 int
63859 main ()
63860 {
63861 _logl(0);
63862 ;
63863 return 0;
63864 }
63865 _ACEOF
63866 if ac_fn_cxx_try_compile "$LINENO"; then :
63867 glibcxx_cv_func__logl_use=yes
63868 else
63869 glibcxx_cv_func__logl_use=no
63870 fi
63871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63872 ac_ext=c
63873 ac_cpp='$CPP $CPPFLAGS'
63874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63877
63878
63879 fi
63880
63881 fi
63882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63883 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63884
63885 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63886 for ac_func in _logl
63887 do :
63888 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63889 if test "x$ac_cv_func__logl" = x""yes; then :
63890 cat >>confdefs.h <<_ACEOF
63891 #define HAVE__LOGL 1
63892 _ACEOF
63893
63894 fi
63895 done
63896
63897 fi
63898 fi
63899
63900
63901
63902
63903
63904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63905 $as_echo_n "checking for log10l declaration... " >&6; }
63906 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63907 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63908 $as_echo_n "(cached) " >&6
63909 else
63910
63911
63912 ac_ext=cpp
63913 ac_cpp='$CXXCPP $CPPFLAGS'
63914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63917
63918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63919 /* end confdefs.h. */
63920 #include <math.h>
63921 #ifdef HAVE_IEEEFP_H
63922 #include <ieeefp.h>
63923 #endif
63924
63925 int
63926 main ()
63927 {
63928 log10l(0);
63929 ;
63930 return 0;
63931 }
63932 _ACEOF
63933 if ac_fn_cxx_try_compile "$LINENO"; then :
63934 glibcxx_cv_func_log10l_use=yes
63935 else
63936 glibcxx_cv_func_log10l_use=no
63937 fi
63938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63939 ac_ext=c
63940 ac_cpp='$CPP $CPPFLAGS'
63941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63944
63945
63946 fi
63947
63948 fi
63949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63950 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63951
63952 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63953 for ac_func in log10l
63954 do :
63955 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63956 if test "x$ac_cv_func_log10l" = x""yes; then :
63957 cat >>confdefs.h <<_ACEOF
63958 #define HAVE_LOG10L 1
63959 _ACEOF
63960
63961 fi
63962 done
63963
63964 else
63965
63966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63967 $as_echo_n "checking for _log10l declaration... " >&6; }
63968 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63969 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63970 $as_echo_n "(cached) " >&6
63971 else
63972
63973
63974 ac_ext=cpp
63975 ac_cpp='$CXXCPP $CPPFLAGS'
63976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63979
63980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63981 /* end confdefs.h. */
63982 #include <math.h>
63983 #ifdef HAVE_IEEEFP_H
63984 #include <ieeefp.h>
63985 #endif
63986
63987 int
63988 main ()
63989 {
63990 _log10l(0);
63991 ;
63992 return 0;
63993 }
63994 _ACEOF
63995 if ac_fn_cxx_try_compile "$LINENO"; then :
63996 glibcxx_cv_func__log10l_use=yes
63997 else
63998 glibcxx_cv_func__log10l_use=no
63999 fi
64000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64001 ac_ext=c
64002 ac_cpp='$CPP $CPPFLAGS'
64003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64006
64007
64008 fi
64009
64010 fi
64011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64012 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64013
64014 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64015 for ac_func in _log10l
64016 do :
64017 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64018 if test "x$ac_cv_func__log10l" = x""yes; then :
64019 cat >>confdefs.h <<_ACEOF
64020 #define HAVE__LOG10L 1
64021 _ACEOF
64022
64023 fi
64024 done
64025
64026 fi
64027 fi
64028
64029
64030
64031
64032
64033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
64034 $as_echo_n "checking for modfl declaration... " >&6; }
64035 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
64036 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
64037 $as_echo_n "(cached) " >&6
64038 else
64039
64040
64041 ac_ext=cpp
64042 ac_cpp='$CXXCPP $CPPFLAGS'
64043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64046
64047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64048 /* end confdefs.h. */
64049 #include <math.h>
64050 int
64051 main ()
64052 {
64053 modfl(0, 0);
64054 ;
64055 return 0;
64056 }
64057 _ACEOF
64058 if ac_fn_cxx_try_compile "$LINENO"; then :
64059 glibcxx_cv_func_modfl_use=yes
64060 else
64061 glibcxx_cv_func_modfl_use=no
64062 fi
64063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64064 ac_ext=c
64065 ac_cpp='$CPP $CPPFLAGS'
64066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64069
64070
64071 fi
64072
64073 fi
64074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
64075 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
64076
64077 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
64078 for ac_func in modfl
64079 do :
64080 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
64081 if test "x$ac_cv_func_modfl" = x""yes; then :
64082 cat >>confdefs.h <<_ACEOF
64083 #define HAVE_MODFL 1
64084 _ACEOF
64085
64086 fi
64087 done
64088
64089 else
64090
64091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
64092 $as_echo_n "checking for _modfl declaration... " >&6; }
64093 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64094 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64095 $as_echo_n "(cached) " >&6
64096 else
64097
64098
64099 ac_ext=cpp
64100 ac_cpp='$CXXCPP $CPPFLAGS'
64101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64104
64105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64106 /* end confdefs.h. */
64107 #include <math.h>
64108 int
64109 main ()
64110 {
64111 _modfl(0, 0);
64112 ;
64113 return 0;
64114 }
64115 _ACEOF
64116 if ac_fn_cxx_try_compile "$LINENO"; then :
64117 glibcxx_cv_func__modfl_use=yes
64118 else
64119 glibcxx_cv_func__modfl_use=no
64120 fi
64121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64122 ac_ext=c
64123 ac_cpp='$CPP $CPPFLAGS'
64124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64127
64128
64129 fi
64130
64131 fi
64132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64133 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64134
64135 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64136 for ac_func in _modfl
64137 do :
64138 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64139 if test "x$ac_cv_func__modfl" = x""yes; then :
64140 cat >>confdefs.h <<_ACEOF
64141 #define HAVE__MODFL 1
64142 _ACEOF
64143
64144 fi
64145 done
64146
64147 fi
64148 fi
64149
64150
64151
64152
64153
64154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64155 $as_echo_n "checking for powl declaration... " >&6; }
64156 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64157 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64158 $as_echo_n "(cached) " >&6
64159 else
64160
64161
64162 ac_ext=cpp
64163 ac_cpp='$CXXCPP $CPPFLAGS'
64164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64167
64168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64169 /* end confdefs.h. */
64170 #include <math.h>
64171 int
64172 main ()
64173 {
64174 powl(0, 0);
64175 ;
64176 return 0;
64177 }
64178 _ACEOF
64179 if ac_fn_cxx_try_compile "$LINENO"; then :
64180 glibcxx_cv_func_powl_use=yes
64181 else
64182 glibcxx_cv_func_powl_use=no
64183 fi
64184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64185 ac_ext=c
64186 ac_cpp='$CPP $CPPFLAGS'
64187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64190
64191
64192 fi
64193
64194 fi
64195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64196 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64197
64198 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64199 for ac_func in powl
64200 do :
64201 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64202 if test "x$ac_cv_func_powl" = x""yes; then :
64203 cat >>confdefs.h <<_ACEOF
64204 #define HAVE_POWL 1
64205 _ACEOF
64206
64207 fi
64208 done
64209
64210 else
64211
64212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64213 $as_echo_n "checking for _powl declaration... " >&6; }
64214 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64215 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64216 $as_echo_n "(cached) " >&6
64217 else
64218
64219
64220 ac_ext=cpp
64221 ac_cpp='$CXXCPP $CPPFLAGS'
64222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64225
64226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64227 /* end confdefs.h. */
64228 #include <math.h>
64229 int
64230 main ()
64231 {
64232 _powl(0, 0);
64233 ;
64234 return 0;
64235 }
64236 _ACEOF
64237 if ac_fn_cxx_try_compile "$LINENO"; then :
64238 glibcxx_cv_func__powl_use=yes
64239 else
64240 glibcxx_cv_func__powl_use=no
64241 fi
64242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64243 ac_ext=c
64244 ac_cpp='$CPP $CPPFLAGS'
64245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64248
64249
64250 fi
64251
64252 fi
64253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64254 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64255
64256 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64257 for ac_func in _powl
64258 do :
64259 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64260 if test "x$ac_cv_func__powl" = x""yes; then :
64261 cat >>confdefs.h <<_ACEOF
64262 #define HAVE__POWL 1
64263 _ACEOF
64264
64265 fi
64266 done
64267
64268 fi
64269 fi
64270
64271
64272
64273
64274
64275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64276 $as_echo_n "checking for sqrtl declaration... " >&6; }
64277 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64278 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64279 $as_echo_n "(cached) " >&6
64280 else
64281
64282
64283 ac_ext=cpp
64284 ac_cpp='$CXXCPP $CPPFLAGS'
64285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64288
64289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64290 /* end confdefs.h. */
64291 #include <math.h>
64292 #ifdef HAVE_IEEEFP_H
64293 #include <ieeefp.h>
64294 #endif
64295
64296 int
64297 main ()
64298 {
64299 sqrtl(0);
64300 ;
64301 return 0;
64302 }
64303 _ACEOF
64304 if ac_fn_cxx_try_compile "$LINENO"; then :
64305 glibcxx_cv_func_sqrtl_use=yes
64306 else
64307 glibcxx_cv_func_sqrtl_use=no
64308 fi
64309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64310 ac_ext=c
64311 ac_cpp='$CPP $CPPFLAGS'
64312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64315
64316
64317 fi
64318
64319 fi
64320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64321 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64322
64323 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64324 for ac_func in sqrtl
64325 do :
64326 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64327 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64328 cat >>confdefs.h <<_ACEOF
64329 #define HAVE_SQRTL 1
64330 _ACEOF
64331
64332 fi
64333 done
64334
64335 else
64336
64337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64338 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64339 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64340 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64341 $as_echo_n "(cached) " >&6
64342 else
64343
64344
64345 ac_ext=cpp
64346 ac_cpp='$CXXCPP $CPPFLAGS'
64347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64350
64351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64352 /* end confdefs.h. */
64353 #include <math.h>
64354 #ifdef HAVE_IEEEFP_H
64355 #include <ieeefp.h>
64356 #endif
64357
64358 int
64359 main ()
64360 {
64361 _sqrtl(0);
64362 ;
64363 return 0;
64364 }
64365 _ACEOF
64366 if ac_fn_cxx_try_compile "$LINENO"; then :
64367 glibcxx_cv_func__sqrtl_use=yes
64368 else
64369 glibcxx_cv_func__sqrtl_use=no
64370 fi
64371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64372 ac_ext=c
64373 ac_cpp='$CPP $CPPFLAGS'
64374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64377
64378
64379 fi
64380
64381 fi
64382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64383 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64384
64385 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64386 for ac_func in _sqrtl
64387 do :
64388 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64389 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64390 cat >>confdefs.h <<_ACEOF
64391 #define HAVE__SQRTL 1
64392 _ACEOF
64393
64394 fi
64395 done
64396
64397 fi
64398 fi
64399
64400
64401
64402
64403
64404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64405 $as_echo_n "checking for sincosl declaration... " >&6; }
64406 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64407 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64408 $as_echo_n "(cached) " >&6
64409 else
64410
64411
64412 ac_ext=cpp
64413 ac_cpp='$CXXCPP $CPPFLAGS'
64414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64417
64418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64419 /* end confdefs.h. */
64420 #include <math.h>
64421 int
64422 main ()
64423 {
64424 sincosl(0, 0, 0);
64425 ;
64426 return 0;
64427 }
64428 _ACEOF
64429 if ac_fn_cxx_try_compile "$LINENO"; then :
64430 glibcxx_cv_func_sincosl_use=yes
64431 else
64432 glibcxx_cv_func_sincosl_use=no
64433 fi
64434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64435 ac_ext=c
64436 ac_cpp='$CPP $CPPFLAGS'
64437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64440
64441
64442 fi
64443
64444 fi
64445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64446 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64447
64448 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64449 for ac_func in sincosl
64450 do :
64451 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64452 if test "x$ac_cv_func_sincosl" = x""yes; then :
64453 cat >>confdefs.h <<_ACEOF
64454 #define HAVE_SINCOSL 1
64455 _ACEOF
64456
64457 fi
64458 done
64459
64460 else
64461
64462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64463 $as_echo_n "checking for _sincosl declaration... " >&6; }
64464 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64465 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64466 $as_echo_n "(cached) " >&6
64467 else
64468
64469
64470 ac_ext=cpp
64471 ac_cpp='$CXXCPP $CPPFLAGS'
64472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64475
64476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64477 /* end confdefs.h. */
64478 #include <math.h>
64479 int
64480 main ()
64481 {
64482 _sincosl(0, 0, 0);
64483 ;
64484 return 0;
64485 }
64486 _ACEOF
64487 if ac_fn_cxx_try_compile "$LINENO"; then :
64488 glibcxx_cv_func__sincosl_use=yes
64489 else
64490 glibcxx_cv_func__sincosl_use=no
64491 fi
64492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64493 ac_ext=c
64494 ac_cpp='$CPP $CPPFLAGS'
64495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64498
64499
64500 fi
64501
64502 fi
64503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64504 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64505
64506 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64507 for ac_func in _sincosl
64508 do :
64509 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64510 if test "x$ac_cv_func__sincosl" = x""yes; then :
64511 cat >>confdefs.h <<_ACEOF
64512 #define HAVE__SINCOSL 1
64513 _ACEOF
64514
64515 fi
64516 done
64517
64518 fi
64519 fi
64520
64521
64522
64523
64524
64525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64526 $as_echo_n "checking for finitel declaration... " >&6; }
64527 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64528 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64529 $as_echo_n "(cached) " >&6
64530 else
64531
64532
64533 ac_ext=cpp
64534 ac_cpp='$CXXCPP $CPPFLAGS'
64535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64538
64539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64540 /* end confdefs.h. */
64541 #include <math.h>
64542 #ifdef HAVE_IEEEFP_H
64543 #include <ieeefp.h>
64544 #endif
64545
64546 int
64547 main ()
64548 {
64549 finitel(0);
64550 ;
64551 return 0;
64552 }
64553 _ACEOF
64554 if ac_fn_cxx_try_compile "$LINENO"; then :
64555 glibcxx_cv_func_finitel_use=yes
64556 else
64557 glibcxx_cv_func_finitel_use=no
64558 fi
64559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64560 ac_ext=c
64561 ac_cpp='$CPP $CPPFLAGS'
64562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64565
64566
64567 fi
64568
64569 fi
64570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64571 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64572
64573 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64574 for ac_func in finitel
64575 do :
64576 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64577 if test "x$ac_cv_func_finitel" = x""yes; then :
64578 cat >>confdefs.h <<_ACEOF
64579 #define HAVE_FINITEL 1
64580 _ACEOF
64581
64582 fi
64583 done
64584
64585 else
64586
64587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64588 $as_echo_n "checking for _finitel declaration... " >&6; }
64589 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64590 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64591 $as_echo_n "(cached) " >&6
64592 else
64593
64594
64595 ac_ext=cpp
64596 ac_cpp='$CXXCPP $CPPFLAGS'
64597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64600
64601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64602 /* end confdefs.h. */
64603 #include <math.h>
64604 #ifdef HAVE_IEEEFP_H
64605 #include <ieeefp.h>
64606 #endif
64607
64608 int
64609 main ()
64610 {
64611 _finitel(0);
64612 ;
64613 return 0;
64614 }
64615 _ACEOF
64616 if ac_fn_cxx_try_compile "$LINENO"; then :
64617 glibcxx_cv_func__finitel_use=yes
64618 else
64619 glibcxx_cv_func__finitel_use=no
64620 fi
64621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64622 ac_ext=c
64623 ac_cpp='$CPP $CPPFLAGS'
64624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64627
64628
64629 fi
64630
64631 fi
64632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64633 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64634
64635 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64636 for ac_func in _finitel
64637 do :
64638 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64639 if test "x$ac_cv_func__finitel" = x""yes; then :
64640 cat >>confdefs.h <<_ACEOF
64641 #define HAVE__FINITEL 1
64642 _ACEOF
64643
64644 fi
64645 done
64646
64647 fi
64648 fi
64649
64650
64651
64652
64653 LIBS="$ac_save_LIBS"
64654 CXXFLAGS="$ac_save_CXXFLAGS"
64655
64656
64657 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64658 ac_save_CXXFLAGS="$CXXFLAGS"
64659 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64660
64661
64662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64663 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64664 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64665 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64666 $as_echo_n "(cached) " >&6
64667 else
64668
64669
64670 ac_ext=cpp
64671 ac_cpp='$CXXCPP $CPPFLAGS'
64672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64675
64676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64677 /* end confdefs.h. */
64678 #include <stdlib.h>
64679 int
64680 main ()
64681 {
64682 at_quick_exit(0);
64683 ;
64684 return 0;
64685 }
64686 _ACEOF
64687 if ac_fn_cxx_try_compile "$LINENO"; then :
64688 glibcxx_cv_func_at_quick_exit_use=yes
64689 else
64690 glibcxx_cv_func_at_quick_exit_use=no
64691 fi
64692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64693 ac_ext=c
64694 ac_cpp='$CPP $CPPFLAGS'
64695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64698
64699
64700 fi
64701
64702 fi
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64704 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64705 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64706 for ac_func in at_quick_exit
64707 do :
64708 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64709 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64710 cat >>confdefs.h <<_ACEOF
64711 #define HAVE_AT_QUICK_EXIT 1
64712 _ACEOF
64713
64714 fi
64715 done
64716
64717 fi
64718
64719
64720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64721 $as_echo_n "checking for quick_exit declaration... " >&6; }
64722 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64723 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64724 $as_echo_n "(cached) " >&6
64725 else
64726
64727
64728 ac_ext=cpp
64729 ac_cpp='$CXXCPP $CPPFLAGS'
64730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64733
64734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64735 /* end confdefs.h. */
64736 #include <stdlib.h>
64737 int
64738 main ()
64739 {
64740 quick_exit(0);
64741 ;
64742 return 0;
64743 }
64744 _ACEOF
64745 if ac_fn_cxx_try_compile "$LINENO"; then :
64746 glibcxx_cv_func_quick_exit_use=yes
64747 else
64748 glibcxx_cv_func_quick_exit_use=no
64749 fi
64750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64751 ac_ext=c
64752 ac_cpp='$CPP $CPPFLAGS'
64753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64756
64757
64758 fi
64759
64760 fi
64761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64762 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64763 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64764 for ac_func in quick_exit
64765 do :
64766 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64767 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64768 cat >>confdefs.h <<_ACEOF
64769 #define HAVE_QUICK_EXIT 1
64770 _ACEOF
64771
64772 fi
64773 done
64774
64775 fi
64776
64777
64778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64779 $as_echo_n "checking for strtold declaration... " >&6; }
64780 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64781 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64782 $as_echo_n "(cached) " >&6
64783 else
64784
64785
64786 ac_ext=cpp
64787 ac_cpp='$CXXCPP $CPPFLAGS'
64788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64791
64792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64793 /* end confdefs.h. */
64794 #include <stdlib.h>
64795 int
64796 main ()
64797 {
64798 strtold(0, 0);
64799 ;
64800 return 0;
64801 }
64802 _ACEOF
64803 if ac_fn_cxx_try_compile "$LINENO"; then :
64804 glibcxx_cv_func_strtold_use=yes
64805 else
64806 glibcxx_cv_func_strtold_use=no
64807 fi
64808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64809 ac_ext=c
64810 ac_cpp='$CPP $CPPFLAGS'
64811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64814
64815
64816 fi
64817
64818 fi
64819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64820 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64821 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64822 for ac_func in strtold
64823 do :
64824 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64825 if test "x$ac_cv_func_strtold" = x""yes; then :
64826 cat >>confdefs.h <<_ACEOF
64827 #define HAVE_STRTOLD 1
64828 _ACEOF
64829
64830 fi
64831 done
64832
64833 fi
64834
64835
64836
64837
64838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64839 $as_echo_n "checking for strtof declaration... " >&6; }
64840 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64841 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64842 $as_echo_n "(cached) " >&6
64843 else
64844
64845
64846 ac_ext=cpp
64847 ac_cpp='$CXXCPP $CPPFLAGS'
64848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64851
64852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64853 /* end confdefs.h. */
64854 #include <stdlib.h>
64855 int
64856 main ()
64857 {
64858 strtof(0, 0);
64859 ;
64860 return 0;
64861 }
64862 _ACEOF
64863 if ac_fn_cxx_try_compile "$LINENO"; then :
64864 glibcxx_cv_func_strtof_use=yes
64865 else
64866 glibcxx_cv_func_strtof_use=no
64867 fi
64868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64869 ac_ext=c
64870 ac_cpp='$CPP $CPPFLAGS'
64871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64874
64875
64876 fi
64877
64878 fi
64879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64880 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64881 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64882 for ac_func in strtof
64883 do :
64884 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64885 if test "x$ac_cv_func_strtof" = x""yes; then :
64886 cat >>confdefs.h <<_ACEOF
64887 #define HAVE_STRTOF 1
64888 _ACEOF
64889
64890 fi
64891 done
64892
64893 fi
64894
64895
64896
64897
64898 CXXFLAGS="$ac_save_CXXFLAGS"
64899
64900 ;;
64901 *-netbsd*)
64902 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64903
64904
64905 # If we're not using GNU ld, then there's no point in even trying these
64906 # tests. Check for that first. We should have already tested for gld
64907 # by now (in libtool), but require it now just to be safe...
64908 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64909 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64910
64911
64912
64913 # The name set by libtool depends on the version of libtool. Shame on us
64914 # for depending on an impl detail, but c'est la vie. Older versions used
64915 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64916 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64917 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64918 # set (hence we're using an older libtool), then set it.
64919 if test x${with_gnu_ld+set} != xset; then
64920 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64921 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64922 with_gnu_ld=no
64923 else
64924 with_gnu_ld=$ac_cv_prog_gnu_ld
64925 fi
64926 fi
64927
64928 # Start by getting the version number. I think the libtool test already
64929 # does some of this, but throws away the result.
64930 glibcxx_ld_is_gold=no
64931 if test x"$with_gnu_ld" = x"yes"; then
64932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64933 $as_echo_n "checking for ld version... " >&6; }
64934
64935 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64936 glibcxx_ld_is_gold=yes
64937 fi
64938 ldver=`$LD --version 2>/dev/null |
64939 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'`
64940
64941 glibcxx_gnu_ld_version=`echo $ldver | \
64942 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64944 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64945 fi
64946
64947 # Set --gc-sections.
64948 glibcxx_have_gc_sections=no
64949 if test "$glibcxx_ld_is_gold" = "yes"; then
64950 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64951 glibcxx_have_gc_sections=yes
64952 fi
64953 else
64954 glibcxx_gcsections_min_ld=21602
64955 if test x"$with_gnu_ld" = x"yes" &&
64956 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64957 glibcxx_have_gc_sections=yes
64958 fi
64959 fi
64960 if test "$glibcxx_have_gc_sections" = "yes"; then
64961 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64962 # NB: This flag only works reliably after 2.16.1. Configure tests
64963 # for this are difficult, so hard wire a value that should work.
64964
64965 ac_test_CFLAGS="${CFLAGS+set}"
64966 ac_save_CFLAGS="$CFLAGS"
64967 CFLAGS='-Wl,--gc-sections'
64968
64969 # Check for -Wl,--gc-sections
64970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64971 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64972 if test x$gcc_no_link = xyes; then
64973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64974 fi
64975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64976 /* end confdefs.h. */
64977 int one(void) { return 1; }
64978 int two(void) { return 2; }
64979
64980 int
64981 main ()
64982 {
64983 two();
64984 ;
64985 return 0;
64986 }
64987 _ACEOF
64988 if ac_fn_c_try_link "$LINENO"; then :
64989 ac_gcsections=yes
64990 else
64991 ac_gcsections=no
64992 fi
64993 rm -f core conftest.err conftest.$ac_objext \
64994 conftest$ac_exeext conftest.$ac_ext
64995 if test "$ac_gcsections" = "yes"; then
64996 rm -f conftest.c
64997 touch conftest.c
64998 if $CC -c conftest.c; then
64999 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65000 grep "Warning: gc-sections option ignored" > /dev/null; then
65001 ac_gcsections=no
65002 fi
65003 fi
65004 rm -f conftest.c conftest.o conftest
65005 fi
65006 if test "$ac_gcsections" = "yes"; then
65007 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65008 fi
65009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65010 $as_echo "$ac_gcsections" >&6; }
65011
65012 if test "$ac_test_CFLAGS" = set; then
65013 CFLAGS="$ac_save_CFLAGS"
65014 else
65015 # this is the suspicious part
65016 CFLAGS=''
65017 fi
65018 fi
65019
65020 # Set -z,relro.
65021 # Note this is only for shared objects.
65022 ac_ld_relro=no
65023 if test x"$with_gnu_ld" = x"yes"; then
65024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65025 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65026 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65027 if test -n "$cxx_z_relo"; then
65028 OPT_LDFLAGS="-Wl,-z,relro"
65029 ac_ld_relro=yes
65030 fi
65031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65032 $as_echo "$ac_ld_relro" >&6; }
65033 fi
65034
65035 # Set linker optimization flags.
65036 if test x"$with_gnu_ld" = x"yes"; then
65037 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65038 fi
65039
65040
65041
65042
65043 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
65044
65045 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
65046
65047 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
65048
65049 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
65050
65051 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
65052
65053 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
65054
65055 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
65056
65057 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
65058
65059 if test x"long_double_math_on_this_cpu" = x"yes"; then
65060 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65061
65062 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65063
65064 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65065
65066 fi
65067 ;;
65068 *-qnx6.1* | *-qnx6.2*)
65069 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65070
65071
65072 # If we're not using GNU ld, then there's no point in even trying these
65073 # tests. Check for that first. We should have already tested for gld
65074 # by now (in libtool), but require it now just to be safe...
65075 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65076 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65077
65078
65079
65080 # The name set by libtool depends on the version of libtool. Shame on us
65081 # for depending on an impl detail, but c'est la vie. Older versions used
65082 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65083 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65084 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65085 # set (hence we're using an older libtool), then set it.
65086 if test x${with_gnu_ld+set} != xset; then
65087 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65088 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65089 with_gnu_ld=no
65090 else
65091 with_gnu_ld=$ac_cv_prog_gnu_ld
65092 fi
65093 fi
65094
65095 # Start by getting the version number. I think the libtool test already
65096 # does some of this, but throws away the result.
65097 glibcxx_ld_is_gold=no
65098 if test x"$with_gnu_ld" = x"yes"; then
65099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65100 $as_echo_n "checking for ld version... " >&6; }
65101
65102 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65103 glibcxx_ld_is_gold=yes
65104 fi
65105 ldver=`$LD --version 2>/dev/null |
65106 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'`
65107
65108 glibcxx_gnu_ld_version=`echo $ldver | \
65109 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65111 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65112 fi
65113
65114 # Set --gc-sections.
65115 glibcxx_have_gc_sections=no
65116 if test "$glibcxx_ld_is_gold" = "yes"; then
65117 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65118 glibcxx_have_gc_sections=yes
65119 fi
65120 else
65121 glibcxx_gcsections_min_ld=21602
65122 if test x"$with_gnu_ld" = x"yes" &&
65123 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65124 glibcxx_have_gc_sections=yes
65125 fi
65126 fi
65127 if test "$glibcxx_have_gc_sections" = "yes"; then
65128 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65129 # NB: This flag only works reliably after 2.16.1. Configure tests
65130 # for this are difficult, so hard wire a value that should work.
65131
65132 ac_test_CFLAGS="${CFLAGS+set}"
65133 ac_save_CFLAGS="$CFLAGS"
65134 CFLAGS='-Wl,--gc-sections'
65135
65136 # Check for -Wl,--gc-sections
65137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65138 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65139 if test x$gcc_no_link = xyes; then
65140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65141 fi
65142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65143 /* end confdefs.h. */
65144 int one(void) { return 1; }
65145 int two(void) { return 2; }
65146
65147 int
65148 main ()
65149 {
65150 two();
65151 ;
65152 return 0;
65153 }
65154 _ACEOF
65155 if ac_fn_c_try_link "$LINENO"; then :
65156 ac_gcsections=yes
65157 else
65158 ac_gcsections=no
65159 fi
65160 rm -f core conftest.err conftest.$ac_objext \
65161 conftest$ac_exeext conftest.$ac_ext
65162 if test "$ac_gcsections" = "yes"; then
65163 rm -f conftest.c
65164 touch conftest.c
65165 if $CC -c conftest.c; then
65166 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65167 grep "Warning: gc-sections option ignored" > /dev/null; then
65168 ac_gcsections=no
65169 fi
65170 fi
65171 rm -f conftest.c conftest.o conftest
65172 fi
65173 if test "$ac_gcsections" = "yes"; then
65174 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65175 fi
65176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65177 $as_echo "$ac_gcsections" >&6; }
65178
65179 if test "$ac_test_CFLAGS" = set; then
65180 CFLAGS="$ac_save_CFLAGS"
65181 else
65182 # this is the suspicious part
65183 CFLAGS=''
65184 fi
65185 fi
65186
65187 # Set -z,relro.
65188 # Note this is only for shared objects.
65189 ac_ld_relro=no
65190 if test x"$with_gnu_ld" = x"yes"; then
65191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65192 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65193 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65194 if test -n "$cxx_z_relo"; then
65195 OPT_LDFLAGS="-Wl,-z,relro"
65196 ac_ld_relro=yes
65197 fi
65198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65199 $as_echo "$ac_ld_relro" >&6; }
65200 fi
65201
65202 # Set linker optimization flags.
65203 if test x"$with_gnu_ld" = x"yes"; then
65204 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65205 fi
65206
65207
65208
65209
65210 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65211
65212 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65213
65214 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65215
65216 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65217
65218 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65219
65220 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65221
65222 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65223
65224 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65225
65226 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65227
65228 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65229
65230 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65231
65232 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65233
65234 ;;
65235 *-rtems*)
65236
65237 # All these tests are for C++; save the language and the compiler flags.
65238 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65239 # found in GLIBCXX_CONFIGURE.
65240
65241 ac_ext=cpp
65242 ac_cpp='$CXXCPP $CPPFLAGS'
65243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65246
65247 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65248 ac_save_CXXFLAGS="$CXXFLAGS"
65249
65250 # Check for maintainer-mode bits.
65251 if test x"$USE_MAINTAINER_MODE" = xno; then
65252 WERROR=''
65253 else
65254 WERROR='-Werror'
65255 fi
65256
65257 # Check for -ffunction-sections -fdata-sections
65258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65259 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65260 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65262 /* end confdefs.h. */
65263 int foo; void bar() { };
65264 int
65265 main ()
65266 {
65267
65268 ;
65269 return 0;
65270 }
65271 _ACEOF
65272 if ac_fn_cxx_try_compile "$LINENO"; then :
65273 ac_fdsections=yes
65274 else
65275 ac_fdsections=no
65276 fi
65277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65278 if test "$ac_test_CXXFLAGS" = set; then
65279 CXXFLAGS="$ac_save_CXXFLAGS"
65280 else
65281 # this is the suspicious part
65282 CXXFLAGS=''
65283 fi
65284 if test x"$ac_fdsections" = x"yes"; then
65285 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65286 fi
65287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65288 $as_echo "$ac_fdsections" >&6; }
65289
65290 ac_ext=c
65291 ac_cpp='$CPP $CPPFLAGS'
65292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65295
65296
65297
65298
65299
65300 # If we're not using GNU ld, then there's no point in even trying these
65301 # tests. Check for that first. We should have already tested for gld
65302 # by now (in libtool), but require it now just to be safe...
65303 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65304 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65305
65306
65307
65308 # The name set by libtool depends on the version of libtool. Shame on us
65309 # for depending on an impl detail, but c'est la vie. Older versions used
65310 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65311 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65312 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65313 # set (hence we're using an older libtool), then set it.
65314 if test x${with_gnu_ld+set} != xset; then
65315 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65316 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65317 with_gnu_ld=no
65318 else
65319 with_gnu_ld=$ac_cv_prog_gnu_ld
65320 fi
65321 fi
65322
65323 # Start by getting the version number. I think the libtool test already
65324 # does some of this, but throws away the result.
65325 glibcxx_ld_is_gold=no
65326 if test x"$with_gnu_ld" = x"yes"; then
65327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65328 $as_echo_n "checking for ld version... " >&6; }
65329
65330 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65331 glibcxx_ld_is_gold=yes
65332 fi
65333 ldver=`$LD --version 2>/dev/null |
65334 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'`
65335
65336 glibcxx_gnu_ld_version=`echo $ldver | \
65337 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65339 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65340 fi
65341
65342 # Set --gc-sections.
65343 glibcxx_have_gc_sections=no
65344 if test "$glibcxx_ld_is_gold" = "yes"; then
65345 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65346 glibcxx_have_gc_sections=yes
65347 fi
65348 else
65349 glibcxx_gcsections_min_ld=21602
65350 if test x"$with_gnu_ld" = x"yes" &&
65351 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65352 glibcxx_have_gc_sections=yes
65353 fi
65354 fi
65355 if test "$glibcxx_have_gc_sections" = "yes"; then
65356 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65357 # NB: This flag only works reliably after 2.16.1. Configure tests
65358 # for this are difficult, so hard wire a value that should work.
65359
65360 ac_test_CFLAGS="${CFLAGS+set}"
65361 ac_save_CFLAGS="$CFLAGS"
65362 CFLAGS='-Wl,--gc-sections'
65363
65364 # Check for -Wl,--gc-sections
65365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65366 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65367 if test x$gcc_no_link = xyes; then
65368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65369 fi
65370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65371 /* end confdefs.h. */
65372 int one(void) { return 1; }
65373 int two(void) { return 2; }
65374
65375 int
65376 main ()
65377 {
65378 two();
65379 ;
65380 return 0;
65381 }
65382 _ACEOF
65383 if ac_fn_c_try_link "$LINENO"; then :
65384 ac_gcsections=yes
65385 else
65386 ac_gcsections=no
65387 fi
65388 rm -f core conftest.err conftest.$ac_objext \
65389 conftest$ac_exeext conftest.$ac_ext
65390 if test "$ac_gcsections" = "yes"; then
65391 rm -f conftest.c
65392 touch conftest.c
65393 if $CC -c conftest.c; then
65394 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65395 grep "Warning: gc-sections option ignored" > /dev/null; then
65396 ac_gcsections=no
65397 fi
65398 fi
65399 rm -f conftest.c conftest.o conftest
65400 fi
65401 if test "$ac_gcsections" = "yes"; then
65402 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65403 fi
65404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65405 $as_echo "$ac_gcsections" >&6; }
65406
65407 if test "$ac_test_CFLAGS" = set; then
65408 CFLAGS="$ac_save_CFLAGS"
65409 else
65410 # this is the suspicious part
65411 CFLAGS=''
65412 fi
65413 fi
65414
65415 # Set -z,relro.
65416 # Note this is only for shared objects.
65417 ac_ld_relro=no
65418 if test x"$with_gnu_ld" = x"yes"; then
65419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65420 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65421 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65422 if test -n "$cxx_z_relo"; then
65423 OPT_LDFLAGS="-Wl,-z,relro"
65424 ac_ld_relro=yes
65425 fi
65426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65427 $as_echo "$ac_ld_relro" >&6; }
65428 fi
65429
65430 # Set linker optimization flags.
65431 if test x"$with_gnu_ld" = x"yes"; then
65432 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65433 fi
65434
65435
65436
65437
65438
65439 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65440 ac_save_CXXFLAGS="$CXXFLAGS"
65441 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65442
65443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65444 $as_echo_n "checking for sin in -lm... " >&6; }
65445 if test "${ac_cv_lib_m_sin+set}" = set; then :
65446 $as_echo_n "(cached) " >&6
65447 else
65448 ac_check_lib_save_LIBS=$LIBS
65449 LIBS="-lm $LIBS"
65450 if test x$gcc_no_link = xyes; then
65451 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65452 fi
65453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65454 /* end confdefs.h. */
65455
65456 /* Override any GCC internal prototype to avoid an error.
65457 Use char because int might match the return type of a GCC
65458 builtin and then its argument prototype would still apply. */
65459 #ifdef __cplusplus
65460 extern "C"
65461 #endif
65462 char sin ();
65463 int
65464 main ()
65465 {
65466 return sin ();
65467 ;
65468 return 0;
65469 }
65470 _ACEOF
65471 if ac_fn_c_try_link "$LINENO"; then :
65472 ac_cv_lib_m_sin=yes
65473 else
65474 ac_cv_lib_m_sin=no
65475 fi
65476 rm -f core conftest.err conftest.$ac_objext \
65477 conftest$ac_exeext conftest.$ac_ext
65478 LIBS=$ac_check_lib_save_LIBS
65479 fi
65480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65481 $as_echo "$ac_cv_lib_m_sin" >&6; }
65482 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65483 libm="-lm"
65484 fi
65485
65486 ac_save_LIBS="$LIBS"
65487 LIBS="$LIBS $libm"
65488
65489
65490
65491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65492 $as_echo_n "checking for isinf declaration... " >&6; }
65493 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65494 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65495 $as_echo_n "(cached) " >&6
65496 else
65497
65498
65499 ac_ext=cpp
65500 ac_cpp='$CXXCPP $CPPFLAGS'
65501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65504
65505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65506 /* end confdefs.h. */
65507 #include <math.h>
65508 #ifdef HAVE_IEEEFP_H
65509 #include <ieeefp.h>
65510 #endif
65511
65512 int
65513 main ()
65514 {
65515 isinf(0);
65516 ;
65517 return 0;
65518 }
65519 _ACEOF
65520 if ac_fn_cxx_try_compile "$LINENO"; then :
65521 glibcxx_cv_func_isinf_use=yes
65522 else
65523 glibcxx_cv_func_isinf_use=no
65524 fi
65525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65526 ac_ext=c
65527 ac_cpp='$CPP $CPPFLAGS'
65528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65531
65532
65533 fi
65534
65535 fi
65536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65537 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65538
65539 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65540 for ac_func in isinf
65541 do :
65542 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65543 if test "x$ac_cv_func_isinf" = x""yes; then :
65544 cat >>confdefs.h <<_ACEOF
65545 #define HAVE_ISINF 1
65546 _ACEOF
65547
65548 fi
65549 done
65550
65551 else
65552
65553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65554 $as_echo_n "checking for _isinf declaration... " >&6; }
65555 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65556 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65557 $as_echo_n "(cached) " >&6
65558 else
65559
65560
65561 ac_ext=cpp
65562 ac_cpp='$CXXCPP $CPPFLAGS'
65563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65566
65567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65568 /* end confdefs.h. */
65569 #include <math.h>
65570 #ifdef HAVE_IEEEFP_H
65571 #include <ieeefp.h>
65572 #endif
65573
65574 int
65575 main ()
65576 {
65577 _isinf(0);
65578 ;
65579 return 0;
65580 }
65581 _ACEOF
65582 if ac_fn_cxx_try_compile "$LINENO"; then :
65583 glibcxx_cv_func__isinf_use=yes
65584 else
65585 glibcxx_cv_func__isinf_use=no
65586 fi
65587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65588 ac_ext=c
65589 ac_cpp='$CPP $CPPFLAGS'
65590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65593
65594
65595 fi
65596
65597 fi
65598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65599 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65600
65601 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65602 for ac_func in _isinf
65603 do :
65604 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65605 if test "x$ac_cv_func__isinf" = x""yes; then :
65606 cat >>confdefs.h <<_ACEOF
65607 #define HAVE__ISINF 1
65608 _ACEOF
65609
65610 fi
65611 done
65612
65613 fi
65614 fi
65615
65616
65617
65618
65619
65620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65621 $as_echo_n "checking for isnan declaration... " >&6; }
65622 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65623 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65624 $as_echo_n "(cached) " >&6
65625 else
65626
65627
65628 ac_ext=cpp
65629 ac_cpp='$CXXCPP $CPPFLAGS'
65630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65633
65634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65635 /* end confdefs.h. */
65636 #include <math.h>
65637 #ifdef HAVE_IEEEFP_H
65638 #include <ieeefp.h>
65639 #endif
65640
65641 int
65642 main ()
65643 {
65644 isnan(0);
65645 ;
65646 return 0;
65647 }
65648 _ACEOF
65649 if ac_fn_cxx_try_compile "$LINENO"; then :
65650 glibcxx_cv_func_isnan_use=yes
65651 else
65652 glibcxx_cv_func_isnan_use=no
65653 fi
65654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65655 ac_ext=c
65656 ac_cpp='$CPP $CPPFLAGS'
65657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65660
65661
65662 fi
65663
65664 fi
65665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65666 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65667
65668 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65669 for ac_func in isnan
65670 do :
65671 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65672 if test "x$ac_cv_func_isnan" = x""yes; then :
65673 cat >>confdefs.h <<_ACEOF
65674 #define HAVE_ISNAN 1
65675 _ACEOF
65676
65677 fi
65678 done
65679
65680 else
65681
65682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65683 $as_echo_n "checking for _isnan declaration... " >&6; }
65684 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65685 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65686 $as_echo_n "(cached) " >&6
65687 else
65688
65689
65690 ac_ext=cpp
65691 ac_cpp='$CXXCPP $CPPFLAGS'
65692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65695
65696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65697 /* end confdefs.h. */
65698 #include <math.h>
65699 #ifdef HAVE_IEEEFP_H
65700 #include <ieeefp.h>
65701 #endif
65702
65703 int
65704 main ()
65705 {
65706 _isnan(0);
65707 ;
65708 return 0;
65709 }
65710 _ACEOF
65711 if ac_fn_cxx_try_compile "$LINENO"; then :
65712 glibcxx_cv_func__isnan_use=yes
65713 else
65714 glibcxx_cv_func__isnan_use=no
65715 fi
65716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65717 ac_ext=c
65718 ac_cpp='$CPP $CPPFLAGS'
65719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65722
65723
65724 fi
65725
65726 fi
65727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65728 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65729
65730 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65731 for ac_func in _isnan
65732 do :
65733 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65734 if test "x$ac_cv_func__isnan" = x""yes; then :
65735 cat >>confdefs.h <<_ACEOF
65736 #define HAVE__ISNAN 1
65737 _ACEOF
65738
65739 fi
65740 done
65741
65742 fi
65743 fi
65744
65745
65746
65747
65748
65749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65750 $as_echo_n "checking for finite declaration... " >&6; }
65751 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65752 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65753 $as_echo_n "(cached) " >&6
65754 else
65755
65756
65757 ac_ext=cpp
65758 ac_cpp='$CXXCPP $CPPFLAGS'
65759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65762
65763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65764 /* end confdefs.h. */
65765 #include <math.h>
65766 #ifdef HAVE_IEEEFP_H
65767 #include <ieeefp.h>
65768 #endif
65769
65770 int
65771 main ()
65772 {
65773 finite(0);
65774 ;
65775 return 0;
65776 }
65777 _ACEOF
65778 if ac_fn_cxx_try_compile "$LINENO"; then :
65779 glibcxx_cv_func_finite_use=yes
65780 else
65781 glibcxx_cv_func_finite_use=no
65782 fi
65783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65784 ac_ext=c
65785 ac_cpp='$CPP $CPPFLAGS'
65786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65789
65790
65791 fi
65792
65793 fi
65794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65795 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65796
65797 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65798 for ac_func in finite
65799 do :
65800 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65801 if test "x$ac_cv_func_finite" = x""yes; then :
65802 cat >>confdefs.h <<_ACEOF
65803 #define HAVE_FINITE 1
65804 _ACEOF
65805
65806 fi
65807 done
65808
65809 else
65810
65811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65812 $as_echo_n "checking for _finite declaration... " >&6; }
65813 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65814 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65815 $as_echo_n "(cached) " >&6
65816 else
65817
65818
65819 ac_ext=cpp
65820 ac_cpp='$CXXCPP $CPPFLAGS'
65821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65824
65825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65826 /* end confdefs.h. */
65827 #include <math.h>
65828 #ifdef HAVE_IEEEFP_H
65829 #include <ieeefp.h>
65830 #endif
65831
65832 int
65833 main ()
65834 {
65835 _finite(0);
65836 ;
65837 return 0;
65838 }
65839 _ACEOF
65840 if ac_fn_cxx_try_compile "$LINENO"; then :
65841 glibcxx_cv_func__finite_use=yes
65842 else
65843 glibcxx_cv_func__finite_use=no
65844 fi
65845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65846 ac_ext=c
65847 ac_cpp='$CPP $CPPFLAGS'
65848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65851
65852
65853 fi
65854
65855 fi
65856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65857 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65858
65859 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65860 for ac_func in _finite
65861 do :
65862 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65863 if test "x$ac_cv_func__finite" = x""yes; then :
65864 cat >>confdefs.h <<_ACEOF
65865 #define HAVE__FINITE 1
65866 _ACEOF
65867
65868 fi
65869 done
65870
65871 fi
65872 fi
65873
65874
65875
65876
65877
65878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65879 $as_echo_n "checking for sincos declaration... " >&6; }
65880 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65881 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65882 $as_echo_n "(cached) " >&6
65883 else
65884
65885
65886 ac_ext=cpp
65887 ac_cpp='$CXXCPP $CPPFLAGS'
65888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65891
65892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65893 /* end confdefs.h. */
65894 #include <math.h>
65895 int
65896 main ()
65897 {
65898 sincos(0, 0, 0);
65899 ;
65900 return 0;
65901 }
65902 _ACEOF
65903 if ac_fn_cxx_try_compile "$LINENO"; then :
65904 glibcxx_cv_func_sincos_use=yes
65905 else
65906 glibcxx_cv_func_sincos_use=no
65907 fi
65908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65909 ac_ext=c
65910 ac_cpp='$CPP $CPPFLAGS'
65911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65914
65915
65916 fi
65917
65918 fi
65919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65920 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65921
65922 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65923 for ac_func in sincos
65924 do :
65925 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65926 if test "x$ac_cv_func_sincos" = x""yes; then :
65927 cat >>confdefs.h <<_ACEOF
65928 #define HAVE_SINCOS 1
65929 _ACEOF
65930
65931 fi
65932 done
65933
65934 else
65935
65936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65937 $as_echo_n "checking for _sincos declaration... " >&6; }
65938 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65939 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65940 $as_echo_n "(cached) " >&6
65941 else
65942
65943
65944 ac_ext=cpp
65945 ac_cpp='$CXXCPP $CPPFLAGS'
65946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65949
65950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65951 /* end confdefs.h. */
65952 #include <math.h>
65953 int
65954 main ()
65955 {
65956 _sincos(0, 0, 0);
65957 ;
65958 return 0;
65959 }
65960 _ACEOF
65961 if ac_fn_cxx_try_compile "$LINENO"; then :
65962 glibcxx_cv_func__sincos_use=yes
65963 else
65964 glibcxx_cv_func__sincos_use=no
65965 fi
65966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65967 ac_ext=c
65968 ac_cpp='$CPP $CPPFLAGS'
65969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65972
65973
65974 fi
65975
65976 fi
65977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65978 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65979
65980 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65981 for ac_func in _sincos
65982 do :
65983 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65984 if test "x$ac_cv_func__sincos" = x""yes; then :
65985 cat >>confdefs.h <<_ACEOF
65986 #define HAVE__SINCOS 1
65987 _ACEOF
65988
65989 fi
65990 done
65991
65992 fi
65993 fi
65994
65995
65996
65997
65998
65999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66000 $as_echo_n "checking for fpclass declaration... " >&6; }
66001 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66002 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66003 $as_echo_n "(cached) " >&6
66004 else
66005
66006
66007 ac_ext=cpp
66008 ac_cpp='$CXXCPP $CPPFLAGS'
66009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66012
66013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66014 /* end confdefs.h. */
66015 #include <math.h>
66016 #ifdef HAVE_IEEEFP_H
66017 #include <ieeefp.h>
66018 #endif
66019
66020 int
66021 main ()
66022 {
66023 fpclass(0);
66024 ;
66025 return 0;
66026 }
66027 _ACEOF
66028 if ac_fn_cxx_try_compile "$LINENO"; then :
66029 glibcxx_cv_func_fpclass_use=yes
66030 else
66031 glibcxx_cv_func_fpclass_use=no
66032 fi
66033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66034 ac_ext=c
66035 ac_cpp='$CPP $CPPFLAGS'
66036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66039
66040
66041 fi
66042
66043 fi
66044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
66045 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
66046
66047 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
66048 for ac_func in fpclass
66049 do :
66050 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
66051 if test "x$ac_cv_func_fpclass" = x""yes; then :
66052 cat >>confdefs.h <<_ACEOF
66053 #define HAVE_FPCLASS 1
66054 _ACEOF
66055
66056 fi
66057 done
66058
66059 else
66060
66061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
66062 $as_echo_n "checking for _fpclass declaration... " >&6; }
66063 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
66064 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
66065 $as_echo_n "(cached) " >&6
66066 else
66067
66068
66069 ac_ext=cpp
66070 ac_cpp='$CXXCPP $CPPFLAGS'
66071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66074
66075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66076 /* end confdefs.h. */
66077 #include <math.h>
66078 #ifdef HAVE_IEEEFP_H
66079 #include <ieeefp.h>
66080 #endif
66081
66082 int
66083 main ()
66084 {
66085 _fpclass(0);
66086 ;
66087 return 0;
66088 }
66089 _ACEOF
66090 if ac_fn_cxx_try_compile "$LINENO"; then :
66091 glibcxx_cv_func__fpclass_use=yes
66092 else
66093 glibcxx_cv_func__fpclass_use=no
66094 fi
66095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66096 ac_ext=c
66097 ac_cpp='$CPP $CPPFLAGS'
66098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66101
66102
66103 fi
66104
66105 fi
66106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
66107 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
66108
66109 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
66110 for ac_func in _fpclass
66111 do :
66112 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
66113 if test "x$ac_cv_func__fpclass" = x""yes; then :
66114 cat >>confdefs.h <<_ACEOF
66115 #define HAVE__FPCLASS 1
66116 _ACEOF
66117
66118 fi
66119 done
66120
66121 fi
66122 fi
66123
66124
66125
66126
66127
66128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
66129 $as_echo_n "checking for qfpclass declaration... " >&6; }
66130 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
66131 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
66132 $as_echo_n "(cached) " >&6
66133 else
66134
66135
66136 ac_ext=cpp
66137 ac_cpp='$CXXCPP $CPPFLAGS'
66138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66141
66142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66143 /* end confdefs.h. */
66144 #include <math.h>
66145 #ifdef HAVE_IEEEFP_H
66146 #include <ieeefp.h>
66147 #endif
66148
66149 int
66150 main ()
66151 {
66152 qfpclass(0);
66153 ;
66154 return 0;
66155 }
66156 _ACEOF
66157 if ac_fn_cxx_try_compile "$LINENO"; then :
66158 glibcxx_cv_func_qfpclass_use=yes
66159 else
66160 glibcxx_cv_func_qfpclass_use=no
66161 fi
66162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66163 ac_ext=c
66164 ac_cpp='$CPP $CPPFLAGS'
66165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66168
66169
66170 fi
66171
66172 fi
66173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66174 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66175
66176 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66177 for ac_func in qfpclass
66178 do :
66179 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66180 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66181 cat >>confdefs.h <<_ACEOF
66182 #define HAVE_QFPCLASS 1
66183 _ACEOF
66184
66185 fi
66186 done
66187
66188 else
66189
66190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66191 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66192 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66193 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66194 $as_echo_n "(cached) " >&6
66195 else
66196
66197
66198 ac_ext=cpp
66199 ac_cpp='$CXXCPP $CPPFLAGS'
66200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66203
66204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66205 /* end confdefs.h. */
66206 #include <math.h>
66207 #ifdef HAVE_IEEEFP_H
66208 #include <ieeefp.h>
66209 #endif
66210
66211 int
66212 main ()
66213 {
66214 _qfpclass(0);
66215 ;
66216 return 0;
66217 }
66218 _ACEOF
66219 if ac_fn_cxx_try_compile "$LINENO"; then :
66220 glibcxx_cv_func__qfpclass_use=yes
66221 else
66222 glibcxx_cv_func__qfpclass_use=no
66223 fi
66224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66225 ac_ext=c
66226 ac_cpp='$CPP $CPPFLAGS'
66227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66230
66231
66232 fi
66233
66234 fi
66235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66236 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66237
66238 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66239 for ac_func in _qfpclass
66240 do :
66241 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66242 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66243 cat >>confdefs.h <<_ACEOF
66244 #define HAVE__QFPCLASS 1
66245 _ACEOF
66246
66247 fi
66248 done
66249
66250 fi
66251 fi
66252
66253
66254
66255
66256
66257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66258 $as_echo_n "checking for hypot declaration... " >&6; }
66259 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66260 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66261 $as_echo_n "(cached) " >&6
66262 else
66263
66264
66265 ac_ext=cpp
66266 ac_cpp='$CXXCPP $CPPFLAGS'
66267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66270
66271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66272 /* end confdefs.h. */
66273 #include <math.h>
66274 int
66275 main ()
66276 {
66277 hypot(0, 0);
66278 ;
66279 return 0;
66280 }
66281 _ACEOF
66282 if ac_fn_cxx_try_compile "$LINENO"; then :
66283 glibcxx_cv_func_hypot_use=yes
66284 else
66285 glibcxx_cv_func_hypot_use=no
66286 fi
66287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66288 ac_ext=c
66289 ac_cpp='$CPP $CPPFLAGS'
66290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66293
66294
66295 fi
66296
66297 fi
66298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66299 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66300
66301 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66302 for ac_func in hypot
66303 do :
66304 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66305 if test "x$ac_cv_func_hypot" = x""yes; then :
66306 cat >>confdefs.h <<_ACEOF
66307 #define HAVE_HYPOT 1
66308 _ACEOF
66309
66310 fi
66311 done
66312
66313 else
66314
66315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66316 $as_echo_n "checking for _hypot declaration... " >&6; }
66317 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66318 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66319 $as_echo_n "(cached) " >&6
66320 else
66321
66322
66323 ac_ext=cpp
66324 ac_cpp='$CXXCPP $CPPFLAGS'
66325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66328
66329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66330 /* end confdefs.h. */
66331 #include <math.h>
66332 int
66333 main ()
66334 {
66335 _hypot(0, 0);
66336 ;
66337 return 0;
66338 }
66339 _ACEOF
66340 if ac_fn_cxx_try_compile "$LINENO"; then :
66341 glibcxx_cv_func__hypot_use=yes
66342 else
66343 glibcxx_cv_func__hypot_use=no
66344 fi
66345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66346 ac_ext=c
66347 ac_cpp='$CPP $CPPFLAGS'
66348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66351
66352
66353 fi
66354
66355 fi
66356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66357 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66358
66359 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66360 for ac_func in _hypot
66361 do :
66362 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66363 if test "x$ac_cv_func__hypot" = x""yes; then :
66364 cat >>confdefs.h <<_ACEOF
66365 #define HAVE__HYPOT 1
66366 _ACEOF
66367
66368 fi
66369 done
66370
66371 fi
66372 fi
66373
66374
66375
66376
66377
66378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66379 $as_echo_n "checking for float trig functions... " >&6; }
66380 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66381 $as_echo_n "(cached) " >&6
66382 else
66383
66384
66385 ac_ext=cpp
66386 ac_cpp='$CXXCPP $CPPFLAGS'
66387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66390
66391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66392 /* end confdefs.h. */
66393 #include <math.h>
66394 int
66395 main ()
66396 {
66397 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66398 ;
66399 return 0;
66400 }
66401 _ACEOF
66402 if ac_fn_cxx_try_compile "$LINENO"; then :
66403 glibcxx_cv_func_float_trig_use=yes
66404 else
66405 glibcxx_cv_func_float_trig_use=no
66406 fi
66407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66408 ac_ext=c
66409 ac_cpp='$CPP $CPPFLAGS'
66410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66413
66414 fi
66415
66416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66417 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66418 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66419 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66420 do :
66421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66423 eval as_val=\$$as_ac_var
66424 if test "x$as_val" = x""yes; then :
66425 cat >>confdefs.h <<_ACEOF
66426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66427 _ACEOF
66428
66429 fi
66430 done
66431
66432 else
66433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66434 $as_echo_n "checking for _float trig functions... " >&6; }
66435 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66436 $as_echo_n "(cached) " >&6
66437 else
66438
66439
66440 ac_ext=cpp
66441 ac_cpp='$CXXCPP $CPPFLAGS'
66442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66445
66446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66447 /* end confdefs.h. */
66448 #include <math.h>
66449 int
66450 main ()
66451 {
66452 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66453 ;
66454 return 0;
66455 }
66456 _ACEOF
66457 if ac_fn_cxx_try_compile "$LINENO"; then :
66458 glibcxx_cv_func__float_trig_use=yes
66459 else
66460 glibcxx_cv_func__float_trig_use=no
66461 fi
66462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66463 ac_ext=c
66464 ac_cpp='$CPP $CPPFLAGS'
66465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66468
66469 fi
66470
66471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66472 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66473 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66474 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66475 do :
66476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66478 eval as_val=\$$as_ac_var
66479 if test "x$as_val" = x""yes; then :
66480 cat >>confdefs.h <<_ACEOF
66481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66482 _ACEOF
66483
66484 fi
66485 done
66486
66487 fi
66488 fi
66489
66490
66491
66492
66493
66494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66495 $as_echo_n "checking for float round functions... " >&6; }
66496 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66497 $as_echo_n "(cached) " >&6
66498 else
66499
66500
66501 ac_ext=cpp
66502 ac_cpp='$CXXCPP $CPPFLAGS'
66503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66506
66507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66508 /* end confdefs.h. */
66509 #include <math.h>
66510 int
66511 main ()
66512 {
66513 ceilf (0); floorf (0);
66514 ;
66515 return 0;
66516 }
66517 _ACEOF
66518 if ac_fn_cxx_try_compile "$LINENO"; then :
66519 glibcxx_cv_func_float_round_use=yes
66520 else
66521 glibcxx_cv_func_float_round_use=no
66522 fi
66523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66524 ac_ext=c
66525 ac_cpp='$CPP $CPPFLAGS'
66526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66529
66530 fi
66531
66532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66533 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66534 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66535 for ac_func in ceilf floorf
66536 do :
66537 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66538 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66539 eval as_val=\$$as_ac_var
66540 if test "x$as_val" = x""yes; then :
66541 cat >>confdefs.h <<_ACEOF
66542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66543 _ACEOF
66544
66545 fi
66546 done
66547
66548 else
66549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66550 $as_echo_n "checking for _float round functions... " >&6; }
66551 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66552 $as_echo_n "(cached) " >&6
66553 else
66554
66555
66556 ac_ext=cpp
66557 ac_cpp='$CXXCPP $CPPFLAGS'
66558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66561
66562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66563 /* end confdefs.h. */
66564 #include <math.h>
66565 int
66566 main ()
66567 {
66568 _ceilf (0); _floorf (0);
66569 ;
66570 return 0;
66571 }
66572 _ACEOF
66573 if ac_fn_cxx_try_compile "$LINENO"; then :
66574 glibcxx_cv_func__float_round_use=yes
66575 else
66576 glibcxx_cv_func__float_round_use=no
66577 fi
66578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66579 ac_ext=c
66580 ac_cpp='$CPP $CPPFLAGS'
66581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66584
66585 fi
66586
66587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66588 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66589 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66590 for ac_func in _ceilf _floorf
66591 do :
66592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66594 eval as_val=\$$as_ac_var
66595 if test "x$as_val" = x""yes; then :
66596 cat >>confdefs.h <<_ACEOF
66597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66598 _ACEOF
66599
66600 fi
66601 done
66602
66603 fi
66604 fi
66605
66606
66607
66608
66609
66610
66611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66612 $as_echo_n "checking for expf declaration... " >&6; }
66613 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66614 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66615 $as_echo_n "(cached) " >&6
66616 else
66617
66618
66619 ac_ext=cpp
66620 ac_cpp='$CXXCPP $CPPFLAGS'
66621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66624
66625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66626 /* end confdefs.h. */
66627 #include <math.h>
66628 #ifdef HAVE_IEEEFP_H
66629 #include <ieeefp.h>
66630 #endif
66631
66632 int
66633 main ()
66634 {
66635 expf(0);
66636 ;
66637 return 0;
66638 }
66639 _ACEOF
66640 if ac_fn_cxx_try_compile "$LINENO"; then :
66641 glibcxx_cv_func_expf_use=yes
66642 else
66643 glibcxx_cv_func_expf_use=no
66644 fi
66645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66646 ac_ext=c
66647 ac_cpp='$CPP $CPPFLAGS'
66648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66651
66652
66653 fi
66654
66655 fi
66656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66657 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66658
66659 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66660 for ac_func in expf
66661 do :
66662 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66663 if test "x$ac_cv_func_expf" = x""yes; then :
66664 cat >>confdefs.h <<_ACEOF
66665 #define HAVE_EXPF 1
66666 _ACEOF
66667
66668 fi
66669 done
66670
66671 else
66672
66673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66674 $as_echo_n "checking for _expf declaration... " >&6; }
66675 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66676 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66677 $as_echo_n "(cached) " >&6
66678 else
66679
66680
66681 ac_ext=cpp
66682 ac_cpp='$CXXCPP $CPPFLAGS'
66683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66686
66687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66688 /* end confdefs.h. */
66689 #include <math.h>
66690 #ifdef HAVE_IEEEFP_H
66691 #include <ieeefp.h>
66692 #endif
66693
66694 int
66695 main ()
66696 {
66697 _expf(0);
66698 ;
66699 return 0;
66700 }
66701 _ACEOF
66702 if ac_fn_cxx_try_compile "$LINENO"; then :
66703 glibcxx_cv_func__expf_use=yes
66704 else
66705 glibcxx_cv_func__expf_use=no
66706 fi
66707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66708 ac_ext=c
66709 ac_cpp='$CPP $CPPFLAGS'
66710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66713
66714
66715 fi
66716
66717 fi
66718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66719 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66720
66721 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66722 for ac_func in _expf
66723 do :
66724 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66725 if test "x$ac_cv_func__expf" = x""yes; then :
66726 cat >>confdefs.h <<_ACEOF
66727 #define HAVE__EXPF 1
66728 _ACEOF
66729
66730 fi
66731 done
66732
66733 fi
66734 fi
66735
66736
66737
66738
66739
66740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66741 $as_echo_n "checking for isnanf declaration... " >&6; }
66742 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66743 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66744 $as_echo_n "(cached) " >&6
66745 else
66746
66747
66748 ac_ext=cpp
66749 ac_cpp='$CXXCPP $CPPFLAGS'
66750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66753
66754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66755 /* end confdefs.h. */
66756 #include <math.h>
66757 #ifdef HAVE_IEEEFP_H
66758 #include <ieeefp.h>
66759 #endif
66760
66761 int
66762 main ()
66763 {
66764 isnanf(0);
66765 ;
66766 return 0;
66767 }
66768 _ACEOF
66769 if ac_fn_cxx_try_compile "$LINENO"; then :
66770 glibcxx_cv_func_isnanf_use=yes
66771 else
66772 glibcxx_cv_func_isnanf_use=no
66773 fi
66774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66775 ac_ext=c
66776 ac_cpp='$CPP $CPPFLAGS'
66777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66780
66781
66782 fi
66783
66784 fi
66785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66786 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66787
66788 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66789 for ac_func in isnanf
66790 do :
66791 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66792 if test "x$ac_cv_func_isnanf" = x""yes; then :
66793 cat >>confdefs.h <<_ACEOF
66794 #define HAVE_ISNANF 1
66795 _ACEOF
66796
66797 fi
66798 done
66799
66800 else
66801
66802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66803 $as_echo_n "checking for _isnanf declaration... " >&6; }
66804 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66805 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66806 $as_echo_n "(cached) " >&6
66807 else
66808
66809
66810 ac_ext=cpp
66811 ac_cpp='$CXXCPP $CPPFLAGS'
66812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66815
66816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66817 /* end confdefs.h. */
66818 #include <math.h>
66819 #ifdef HAVE_IEEEFP_H
66820 #include <ieeefp.h>
66821 #endif
66822
66823 int
66824 main ()
66825 {
66826 _isnanf(0);
66827 ;
66828 return 0;
66829 }
66830 _ACEOF
66831 if ac_fn_cxx_try_compile "$LINENO"; then :
66832 glibcxx_cv_func__isnanf_use=yes
66833 else
66834 glibcxx_cv_func__isnanf_use=no
66835 fi
66836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66837 ac_ext=c
66838 ac_cpp='$CPP $CPPFLAGS'
66839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66842
66843
66844 fi
66845
66846 fi
66847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66848 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66849
66850 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66851 for ac_func in _isnanf
66852 do :
66853 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66854 if test "x$ac_cv_func__isnanf" = x""yes; then :
66855 cat >>confdefs.h <<_ACEOF
66856 #define HAVE__ISNANF 1
66857 _ACEOF
66858
66859 fi
66860 done
66861
66862 fi
66863 fi
66864
66865
66866
66867
66868
66869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66870 $as_echo_n "checking for isinff declaration... " >&6; }
66871 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66872 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66873 $as_echo_n "(cached) " >&6
66874 else
66875
66876
66877 ac_ext=cpp
66878 ac_cpp='$CXXCPP $CPPFLAGS'
66879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66882
66883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66884 /* end confdefs.h. */
66885 #include <math.h>
66886 #ifdef HAVE_IEEEFP_H
66887 #include <ieeefp.h>
66888 #endif
66889
66890 int
66891 main ()
66892 {
66893 isinff(0);
66894 ;
66895 return 0;
66896 }
66897 _ACEOF
66898 if ac_fn_cxx_try_compile "$LINENO"; then :
66899 glibcxx_cv_func_isinff_use=yes
66900 else
66901 glibcxx_cv_func_isinff_use=no
66902 fi
66903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66904 ac_ext=c
66905 ac_cpp='$CPP $CPPFLAGS'
66906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66909
66910
66911 fi
66912
66913 fi
66914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66915 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66916
66917 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66918 for ac_func in isinff
66919 do :
66920 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66921 if test "x$ac_cv_func_isinff" = x""yes; then :
66922 cat >>confdefs.h <<_ACEOF
66923 #define HAVE_ISINFF 1
66924 _ACEOF
66925
66926 fi
66927 done
66928
66929 else
66930
66931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66932 $as_echo_n "checking for _isinff declaration... " >&6; }
66933 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66934 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66935 $as_echo_n "(cached) " >&6
66936 else
66937
66938
66939 ac_ext=cpp
66940 ac_cpp='$CXXCPP $CPPFLAGS'
66941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66944
66945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66946 /* end confdefs.h. */
66947 #include <math.h>
66948 #ifdef HAVE_IEEEFP_H
66949 #include <ieeefp.h>
66950 #endif
66951
66952 int
66953 main ()
66954 {
66955 _isinff(0);
66956 ;
66957 return 0;
66958 }
66959 _ACEOF
66960 if ac_fn_cxx_try_compile "$LINENO"; then :
66961 glibcxx_cv_func__isinff_use=yes
66962 else
66963 glibcxx_cv_func__isinff_use=no
66964 fi
66965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66966 ac_ext=c
66967 ac_cpp='$CPP $CPPFLAGS'
66968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66971
66972
66973 fi
66974
66975 fi
66976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66977 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66978
66979 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66980 for ac_func in _isinff
66981 do :
66982 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66983 if test "x$ac_cv_func__isinff" = x""yes; then :
66984 cat >>confdefs.h <<_ACEOF
66985 #define HAVE__ISINFF 1
66986 _ACEOF
66987
66988 fi
66989 done
66990
66991 fi
66992 fi
66993
66994
66995
66996
66997
66998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66999 $as_echo_n "checking for atan2f declaration... " >&6; }
67000 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67001 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67002 $as_echo_n "(cached) " >&6
67003 else
67004
67005
67006 ac_ext=cpp
67007 ac_cpp='$CXXCPP $CPPFLAGS'
67008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67011
67012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67013 /* end confdefs.h. */
67014 #include <math.h>
67015 int
67016 main ()
67017 {
67018 atan2f(0, 0);
67019 ;
67020 return 0;
67021 }
67022 _ACEOF
67023 if ac_fn_cxx_try_compile "$LINENO"; then :
67024 glibcxx_cv_func_atan2f_use=yes
67025 else
67026 glibcxx_cv_func_atan2f_use=no
67027 fi
67028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67029 ac_ext=c
67030 ac_cpp='$CPP $CPPFLAGS'
67031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67034
67035
67036 fi
67037
67038 fi
67039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
67040 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
67041
67042 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
67043 for ac_func in atan2f
67044 do :
67045 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
67046 if test "x$ac_cv_func_atan2f" = x""yes; then :
67047 cat >>confdefs.h <<_ACEOF
67048 #define HAVE_ATAN2F 1
67049 _ACEOF
67050
67051 fi
67052 done
67053
67054 else
67055
67056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
67057 $as_echo_n "checking for _atan2f declaration... " >&6; }
67058 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
67059 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
67060 $as_echo_n "(cached) " >&6
67061 else
67062
67063
67064 ac_ext=cpp
67065 ac_cpp='$CXXCPP $CPPFLAGS'
67066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67069
67070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67071 /* end confdefs.h. */
67072 #include <math.h>
67073 int
67074 main ()
67075 {
67076 _atan2f(0, 0);
67077 ;
67078 return 0;
67079 }
67080 _ACEOF
67081 if ac_fn_cxx_try_compile "$LINENO"; then :
67082 glibcxx_cv_func__atan2f_use=yes
67083 else
67084 glibcxx_cv_func__atan2f_use=no
67085 fi
67086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67087 ac_ext=c
67088 ac_cpp='$CPP $CPPFLAGS'
67089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67092
67093
67094 fi
67095
67096 fi
67097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
67098 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
67099
67100 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
67101 for ac_func in _atan2f
67102 do :
67103 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
67104 if test "x$ac_cv_func__atan2f" = x""yes; then :
67105 cat >>confdefs.h <<_ACEOF
67106 #define HAVE__ATAN2F 1
67107 _ACEOF
67108
67109 fi
67110 done
67111
67112 fi
67113 fi
67114
67115
67116
67117
67118
67119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
67120 $as_echo_n "checking for fabsf declaration... " >&6; }
67121 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
67122 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
67123 $as_echo_n "(cached) " >&6
67124 else
67125
67126
67127 ac_ext=cpp
67128 ac_cpp='$CXXCPP $CPPFLAGS'
67129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67132
67133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67134 /* end confdefs.h. */
67135 #include <math.h>
67136 #ifdef HAVE_IEEEFP_H
67137 #include <ieeefp.h>
67138 #endif
67139
67140 int
67141 main ()
67142 {
67143 fabsf(0);
67144 ;
67145 return 0;
67146 }
67147 _ACEOF
67148 if ac_fn_cxx_try_compile "$LINENO"; then :
67149 glibcxx_cv_func_fabsf_use=yes
67150 else
67151 glibcxx_cv_func_fabsf_use=no
67152 fi
67153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67154 ac_ext=c
67155 ac_cpp='$CPP $CPPFLAGS'
67156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67159
67160
67161 fi
67162
67163 fi
67164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67165 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67166
67167 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67168 for ac_func in fabsf
67169 do :
67170 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67171 if test "x$ac_cv_func_fabsf" = x""yes; then :
67172 cat >>confdefs.h <<_ACEOF
67173 #define HAVE_FABSF 1
67174 _ACEOF
67175
67176 fi
67177 done
67178
67179 else
67180
67181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67182 $as_echo_n "checking for _fabsf declaration... " >&6; }
67183 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67184 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67185 $as_echo_n "(cached) " >&6
67186 else
67187
67188
67189 ac_ext=cpp
67190 ac_cpp='$CXXCPP $CPPFLAGS'
67191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67194
67195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67196 /* end confdefs.h. */
67197 #include <math.h>
67198 #ifdef HAVE_IEEEFP_H
67199 #include <ieeefp.h>
67200 #endif
67201
67202 int
67203 main ()
67204 {
67205 _fabsf(0);
67206 ;
67207 return 0;
67208 }
67209 _ACEOF
67210 if ac_fn_cxx_try_compile "$LINENO"; then :
67211 glibcxx_cv_func__fabsf_use=yes
67212 else
67213 glibcxx_cv_func__fabsf_use=no
67214 fi
67215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67216 ac_ext=c
67217 ac_cpp='$CPP $CPPFLAGS'
67218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67221
67222
67223 fi
67224
67225 fi
67226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67227 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67228
67229 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67230 for ac_func in _fabsf
67231 do :
67232 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67233 if test "x$ac_cv_func__fabsf" = x""yes; then :
67234 cat >>confdefs.h <<_ACEOF
67235 #define HAVE__FABSF 1
67236 _ACEOF
67237
67238 fi
67239 done
67240
67241 fi
67242 fi
67243
67244
67245
67246
67247
67248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67249 $as_echo_n "checking for fmodf declaration... " >&6; }
67250 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67251 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67252 $as_echo_n "(cached) " >&6
67253 else
67254
67255
67256 ac_ext=cpp
67257 ac_cpp='$CXXCPP $CPPFLAGS'
67258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67261
67262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67263 /* end confdefs.h. */
67264 #include <math.h>
67265 int
67266 main ()
67267 {
67268 fmodf(0, 0);
67269 ;
67270 return 0;
67271 }
67272 _ACEOF
67273 if ac_fn_cxx_try_compile "$LINENO"; then :
67274 glibcxx_cv_func_fmodf_use=yes
67275 else
67276 glibcxx_cv_func_fmodf_use=no
67277 fi
67278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67279 ac_ext=c
67280 ac_cpp='$CPP $CPPFLAGS'
67281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67284
67285
67286 fi
67287
67288 fi
67289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67290 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67291
67292 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67293 for ac_func in fmodf
67294 do :
67295 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67296 if test "x$ac_cv_func_fmodf" = x""yes; then :
67297 cat >>confdefs.h <<_ACEOF
67298 #define HAVE_FMODF 1
67299 _ACEOF
67300
67301 fi
67302 done
67303
67304 else
67305
67306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67307 $as_echo_n "checking for _fmodf declaration... " >&6; }
67308 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67309 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67310 $as_echo_n "(cached) " >&6
67311 else
67312
67313
67314 ac_ext=cpp
67315 ac_cpp='$CXXCPP $CPPFLAGS'
67316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67319
67320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67321 /* end confdefs.h. */
67322 #include <math.h>
67323 int
67324 main ()
67325 {
67326 _fmodf(0, 0);
67327 ;
67328 return 0;
67329 }
67330 _ACEOF
67331 if ac_fn_cxx_try_compile "$LINENO"; then :
67332 glibcxx_cv_func__fmodf_use=yes
67333 else
67334 glibcxx_cv_func__fmodf_use=no
67335 fi
67336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67337 ac_ext=c
67338 ac_cpp='$CPP $CPPFLAGS'
67339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67342
67343
67344 fi
67345
67346 fi
67347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67348 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67349
67350 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67351 for ac_func in _fmodf
67352 do :
67353 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67354 if test "x$ac_cv_func__fmodf" = x""yes; then :
67355 cat >>confdefs.h <<_ACEOF
67356 #define HAVE__FMODF 1
67357 _ACEOF
67358
67359 fi
67360 done
67361
67362 fi
67363 fi
67364
67365
67366
67367
67368
67369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67370 $as_echo_n "checking for frexpf declaration... " >&6; }
67371 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67372 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67373 $as_echo_n "(cached) " >&6
67374 else
67375
67376
67377 ac_ext=cpp
67378 ac_cpp='$CXXCPP $CPPFLAGS'
67379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67382
67383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67384 /* end confdefs.h. */
67385 #include <math.h>
67386 int
67387 main ()
67388 {
67389 frexpf(0, 0);
67390 ;
67391 return 0;
67392 }
67393 _ACEOF
67394 if ac_fn_cxx_try_compile "$LINENO"; then :
67395 glibcxx_cv_func_frexpf_use=yes
67396 else
67397 glibcxx_cv_func_frexpf_use=no
67398 fi
67399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67400 ac_ext=c
67401 ac_cpp='$CPP $CPPFLAGS'
67402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67405
67406
67407 fi
67408
67409 fi
67410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67411 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67412
67413 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67414 for ac_func in frexpf
67415 do :
67416 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67417 if test "x$ac_cv_func_frexpf" = x""yes; then :
67418 cat >>confdefs.h <<_ACEOF
67419 #define HAVE_FREXPF 1
67420 _ACEOF
67421
67422 fi
67423 done
67424
67425 else
67426
67427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67428 $as_echo_n "checking for _frexpf declaration... " >&6; }
67429 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67430 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67431 $as_echo_n "(cached) " >&6
67432 else
67433
67434
67435 ac_ext=cpp
67436 ac_cpp='$CXXCPP $CPPFLAGS'
67437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67440
67441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67442 /* end confdefs.h. */
67443 #include <math.h>
67444 int
67445 main ()
67446 {
67447 _frexpf(0, 0);
67448 ;
67449 return 0;
67450 }
67451 _ACEOF
67452 if ac_fn_cxx_try_compile "$LINENO"; then :
67453 glibcxx_cv_func__frexpf_use=yes
67454 else
67455 glibcxx_cv_func__frexpf_use=no
67456 fi
67457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67458 ac_ext=c
67459 ac_cpp='$CPP $CPPFLAGS'
67460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67463
67464
67465 fi
67466
67467 fi
67468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67469 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67470
67471 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67472 for ac_func in _frexpf
67473 do :
67474 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67475 if test "x$ac_cv_func__frexpf" = x""yes; then :
67476 cat >>confdefs.h <<_ACEOF
67477 #define HAVE__FREXPF 1
67478 _ACEOF
67479
67480 fi
67481 done
67482
67483 fi
67484 fi
67485
67486
67487
67488
67489
67490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67491 $as_echo_n "checking for hypotf declaration... " >&6; }
67492 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67493 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67494 $as_echo_n "(cached) " >&6
67495 else
67496
67497
67498 ac_ext=cpp
67499 ac_cpp='$CXXCPP $CPPFLAGS'
67500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67503
67504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67505 /* end confdefs.h. */
67506 #include <math.h>
67507 int
67508 main ()
67509 {
67510 hypotf(0, 0);
67511 ;
67512 return 0;
67513 }
67514 _ACEOF
67515 if ac_fn_cxx_try_compile "$LINENO"; then :
67516 glibcxx_cv_func_hypotf_use=yes
67517 else
67518 glibcxx_cv_func_hypotf_use=no
67519 fi
67520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67521 ac_ext=c
67522 ac_cpp='$CPP $CPPFLAGS'
67523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67526
67527
67528 fi
67529
67530 fi
67531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67532 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67533
67534 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67535 for ac_func in hypotf
67536 do :
67537 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67538 if test "x$ac_cv_func_hypotf" = x""yes; then :
67539 cat >>confdefs.h <<_ACEOF
67540 #define HAVE_HYPOTF 1
67541 _ACEOF
67542
67543 fi
67544 done
67545
67546 else
67547
67548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67549 $as_echo_n "checking for _hypotf declaration... " >&6; }
67550 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67551 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67552 $as_echo_n "(cached) " >&6
67553 else
67554
67555
67556 ac_ext=cpp
67557 ac_cpp='$CXXCPP $CPPFLAGS'
67558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67561
67562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67563 /* end confdefs.h. */
67564 #include <math.h>
67565 int
67566 main ()
67567 {
67568 _hypotf(0, 0);
67569 ;
67570 return 0;
67571 }
67572 _ACEOF
67573 if ac_fn_cxx_try_compile "$LINENO"; then :
67574 glibcxx_cv_func__hypotf_use=yes
67575 else
67576 glibcxx_cv_func__hypotf_use=no
67577 fi
67578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67579 ac_ext=c
67580 ac_cpp='$CPP $CPPFLAGS'
67581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67584
67585
67586 fi
67587
67588 fi
67589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67590 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67591
67592 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67593 for ac_func in _hypotf
67594 do :
67595 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67596 if test "x$ac_cv_func__hypotf" = x""yes; then :
67597 cat >>confdefs.h <<_ACEOF
67598 #define HAVE__HYPOTF 1
67599 _ACEOF
67600
67601 fi
67602 done
67603
67604 fi
67605 fi
67606
67607
67608
67609
67610
67611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67612 $as_echo_n "checking for ldexpf declaration... " >&6; }
67613 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67614 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67615 $as_echo_n "(cached) " >&6
67616 else
67617
67618
67619 ac_ext=cpp
67620 ac_cpp='$CXXCPP $CPPFLAGS'
67621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67624
67625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67626 /* end confdefs.h. */
67627 #include <math.h>
67628 int
67629 main ()
67630 {
67631 ldexpf(0, 0);
67632 ;
67633 return 0;
67634 }
67635 _ACEOF
67636 if ac_fn_cxx_try_compile "$LINENO"; then :
67637 glibcxx_cv_func_ldexpf_use=yes
67638 else
67639 glibcxx_cv_func_ldexpf_use=no
67640 fi
67641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67642 ac_ext=c
67643 ac_cpp='$CPP $CPPFLAGS'
67644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67647
67648
67649 fi
67650
67651 fi
67652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67653 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67654
67655 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67656 for ac_func in ldexpf
67657 do :
67658 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67659 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67660 cat >>confdefs.h <<_ACEOF
67661 #define HAVE_LDEXPF 1
67662 _ACEOF
67663
67664 fi
67665 done
67666
67667 else
67668
67669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67670 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67671 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67672 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67673 $as_echo_n "(cached) " >&6
67674 else
67675
67676
67677 ac_ext=cpp
67678 ac_cpp='$CXXCPP $CPPFLAGS'
67679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67682
67683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67684 /* end confdefs.h. */
67685 #include <math.h>
67686 int
67687 main ()
67688 {
67689 _ldexpf(0, 0);
67690 ;
67691 return 0;
67692 }
67693 _ACEOF
67694 if ac_fn_cxx_try_compile "$LINENO"; then :
67695 glibcxx_cv_func__ldexpf_use=yes
67696 else
67697 glibcxx_cv_func__ldexpf_use=no
67698 fi
67699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67700 ac_ext=c
67701 ac_cpp='$CPP $CPPFLAGS'
67702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67705
67706
67707 fi
67708
67709 fi
67710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67711 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67712
67713 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67714 for ac_func in _ldexpf
67715 do :
67716 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67717 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67718 cat >>confdefs.h <<_ACEOF
67719 #define HAVE__LDEXPF 1
67720 _ACEOF
67721
67722 fi
67723 done
67724
67725 fi
67726 fi
67727
67728
67729
67730
67731
67732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67733 $as_echo_n "checking for logf declaration... " >&6; }
67734 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67735 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67736 $as_echo_n "(cached) " >&6
67737 else
67738
67739
67740 ac_ext=cpp
67741 ac_cpp='$CXXCPP $CPPFLAGS'
67742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67745
67746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67747 /* end confdefs.h. */
67748 #include <math.h>
67749 #ifdef HAVE_IEEEFP_H
67750 #include <ieeefp.h>
67751 #endif
67752
67753 int
67754 main ()
67755 {
67756 logf(0);
67757 ;
67758 return 0;
67759 }
67760 _ACEOF
67761 if ac_fn_cxx_try_compile "$LINENO"; then :
67762 glibcxx_cv_func_logf_use=yes
67763 else
67764 glibcxx_cv_func_logf_use=no
67765 fi
67766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67767 ac_ext=c
67768 ac_cpp='$CPP $CPPFLAGS'
67769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67772
67773
67774 fi
67775
67776 fi
67777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67778 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67779
67780 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67781 for ac_func in logf
67782 do :
67783 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67784 if test "x$ac_cv_func_logf" = x""yes; then :
67785 cat >>confdefs.h <<_ACEOF
67786 #define HAVE_LOGF 1
67787 _ACEOF
67788
67789 fi
67790 done
67791
67792 else
67793
67794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67795 $as_echo_n "checking for _logf declaration... " >&6; }
67796 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67797 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67798 $as_echo_n "(cached) " >&6
67799 else
67800
67801
67802 ac_ext=cpp
67803 ac_cpp='$CXXCPP $CPPFLAGS'
67804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67807
67808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67809 /* end confdefs.h. */
67810 #include <math.h>
67811 #ifdef HAVE_IEEEFP_H
67812 #include <ieeefp.h>
67813 #endif
67814
67815 int
67816 main ()
67817 {
67818 _logf(0);
67819 ;
67820 return 0;
67821 }
67822 _ACEOF
67823 if ac_fn_cxx_try_compile "$LINENO"; then :
67824 glibcxx_cv_func__logf_use=yes
67825 else
67826 glibcxx_cv_func__logf_use=no
67827 fi
67828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67829 ac_ext=c
67830 ac_cpp='$CPP $CPPFLAGS'
67831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67834
67835
67836 fi
67837
67838 fi
67839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67840 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67841
67842 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67843 for ac_func in _logf
67844 do :
67845 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67846 if test "x$ac_cv_func__logf" = x""yes; then :
67847 cat >>confdefs.h <<_ACEOF
67848 #define HAVE__LOGF 1
67849 _ACEOF
67850
67851 fi
67852 done
67853
67854 fi
67855 fi
67856
67857
67858
67859
67860
67861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67862 $as_echo_n "checking for log10f declaration... " >&6; }
67863 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67864 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67865 $as_echo_n "(cached) " >&6
67866 else
67867
67868
67869 ac_ext=cpp
67870 ac_cpp='$CXXCPP $CPPFLAGS'
67871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67874
67875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67876 /* end confdefs.h. */
67877 #include <math.h>
67878 #ifdef HAVE_IEEEFP_H
67879 #include <ieeefp.h>
67880 #endif
67881
67882 int
67883 main ()
67884 {
67885 log10f(0);
67886 ;
67887 return 0;
67888 }
67889 _ACEOF
67890 if ac_fn_cxx_try_compile "$LINENO"; then :
67891 glibcxx_cv_func_log10f_use=yes
67892 else
67893 glibcxx_cv_func_log10f_use=no
67894 fi
67895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67896 ac_ext=c
67897 ac_cpp='$CPP $CPPFLAGS'
67898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67901
67902
67903 fi
67904
67905 fi
67906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67907 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67908
67909 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67910 for ac_func in log10f
67911 do :
67912 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67913 if test "x$ac_cv_func_log10f" = x""yes; then :
67914 cat >>confdefs.h <<_ACEOF
67915 #define HAVE_LOG10F 1
67916 _ACEOF
67917
67918 fi
67919 done
67920
67921 else
67922
67923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67924 $as_echo_n "checking for _log10f declaration... " >&6; }
67925 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67926 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67927 $as_echo_n "(cached) " >&6
67928 else
67929
67930
67931 ac_ext=cpp
67932 ac_cpp='$CXXCPP $CPPFLAGS'
67933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67936
67937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67938 /* end confdefs.h. */
67939 #include <math.h>
67940 #ifdef HAVE_IEEEFP_H
67941 #include <ieeefp.h>
67942 #endif
67943
67944 int
67945 main ()
67946 {
67947 _log10f(0);
67948 ;
67949 return 0;
67950 }
67951 _ACEOF
67952 if ac_fn_cxx_try_compile "$LINENO"; then :
67953 glibcxx_cv_func__log10f_use=yes
67954 else
67955 glibcxx_cv_func__log10f_use=no
67956 fi
67957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67958 ac_ext=c
67959 ac_cpp='$CPP $CPPFLAGS'
67960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67963
67964
67965 fi
67966
67967 fi
67968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67969 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67970
67971 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67972 for ac_func in _log10f
67973 do :
67974 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67975 if test "x$ac_cv_func__log10f" = x""yes; then :
67976 cat >>confdefs.h <<_ACEOF
67977 #define HAVE__LOG10F 1
67978 _ACEOF
67979
67980 fi
67981 done
67982
67983 fi
67984 fi
67985
67986
67987
67988
67989
67990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67991 $as_echo_n "checking for modff declaration... " >&6; }
67992 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67993 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67994 $as_echo_n "(cached) " >&6
67995 else
67996
67997
67998 ac_ext=cpp
67999 ac_cpp='$CXXCPP $CPPFLAGS'
68000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68003
68004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68005 /* end confdefs.h. */
68006 #include <math.h>
68007 int
68008 main ()
68009 {
68010 modff(0, 0);
68011 ;
68012 return 0;
68013 }
68014 _ACEOF
68015 if ac_fn_cxx_try_compile "$LINENO"; then :
68016 glibcxx_cv_func_modff_use=yes
68017 else
68018 glibcxx_cv_func_modff_use=no
68019 fi
68020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68021 ac_ext=c
68022 ac_cpp='$CPP $CPPFLAGS'
68023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68026
68027
68028 fi
68029
68030 fi
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68032 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68033
68034 if test x$glibcxx_cv_func_modff_use = x"yes"; then
68035 for ac_func in modff
68036 do :
68037 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
68038 if test "x$ac_cv_func_modff" = x""yes; then :
68039 cat >>confdefs.h <<_ACEOF
68040 #define HAVE_MODFF 1
68041 _ACEOF
68042
68043 fi
68044 done
68045
68046 else
68047
68048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
68049 $as_echo_n "checking for _modff declaration... " >&6; }
68050 if test x${glibcxx_cv_func__modff_use+set} != xset; then
68051 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
68052 $as_echo_n "(cached) " >&6
68053 else
68054
68055
68056 ac_ext=cpp
68057 ac_cpp='$CXXCPP $CPPFLAGS'
68058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68061
68062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68063 /* end confdefs.h. */
68064 #include <math.h>
68065 int
68066 main ()
68067 {
68068 _modff(0, 0);
68069 ;
68070 return 0;
68071 }
68072 _ACEOF
68073 if ac_fn_cxx_try_compile "$LINENO"; then :
68074 glibcxx_cv_func__modff_use=yes
68075 else
68076 glibcxx_cv_func__modff_use=no
68077 fi
68078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68079 ac_ext=c
68080 ac_cpp='$CPP $CPPFLAGS'
68081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68084
68085
68086 fi
68087
68088 fi
68089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
68090 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
68091
68092 if test x$glibcxx_cv_func__modff_use = x"yes"; then
68093 for ac_func in _modff
68094 do :
68095 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
68096 if test "x$ac_cv_func__modff" = x""yes; then :
68097 cat >>confdefs.h <<_ACEOF
68098 #define HAVE__MODFF 1
68099 _ACEOF
68100
68101 fi
68102 done
68103
68104 fi
68105 fi
68106
68107
68108
68109
68110
68111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
68112 $as_echo_n "checking for modf declaration... " >&6; }
68113 if test x${glibcxx_cv_func_modf_use+set} != xset; then
68114 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
68115 $as_echo_n "(cached) " >&6
68116 else
68117
68118
68119 ac_ext=cpp
68120 ac_cpp='$CXXCPP $CPPFLAGS'
68121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68124
68125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68126 /* end confdefs.h. */
68127 #include <math.h>
68128 int
68129 main ()
68130 {
68131 modf(0, 0);
68132 ;
68133 return 0;
68134 }
68135 _ACEOF
68136 if ac_fn_cxx_try_compile "$LINENO"; then :
68137 glibcxx_cv_func_modf_use=yes
68138 else
68139 glibcxx_cv_func_modf_use=no
68140 fi
68141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68142 ac_ext=c
68143 ac_cpp='$CPP $CPPFLAGS'
68144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68147
68148
68149 fi
68150
68151 fi
68152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68153 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68154
68155 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68156 for ac_func in modf
68157 do :
68158 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68159 if test "x$ac_cv_func_modf" = x""yes; then :
68160 cat >>confdefs.h <<_ACEOF
68161 #define HAVE_MODF 1
68162 _ACEOF
68163
68164 fi
68165 done
68166
68167 else
68168
68169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68170 $as_echo_n "checking for _modf declaration... " >&6; }
68171 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68172 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68173 $as_echo_n "(cached) " >&6
68174 else
68175
68176
68177 ac_ext=cpp
68178 ac_cpp='$CXXCPP $CPPFLAGS'
68179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68182
68183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68184 /* end confdefs.h. */
68185 #include <math.h>
68186 int
68187 main ()
68188 {
68189 _modf(0, 0);
68190 ;
68191 return 0;
68192 }
68193 _ACEOF
68194 if ac_fn_cxx_try_compile "$LINENO"; then :
68195 glibcxx_cv_func__modf_use=yes
68196 else
68197 glibcxx_cv_func__modf_use=no
68198 fi
68199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68200 ac_ext=c
68201 ac_cpp='$CPP $CPPFLAGS'
68202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68205
68206
68207 fi
68208
68209 fi
68210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68211 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68212
68213 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68214 for ac_func in _modf
68215 do :
68216 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68217 if test "x$ac_cv_func__modf" = x""yes; then :
68218 cat >>confdefs.h <<_ACEOF
68219 #define HAVE__MODF 1
68220 _ACEOF
68221
68222 fi
68223 done
68224
68225 fi
68226 fi
68227
68228
68229
68230
68231
68232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68233 $as_echo_n "checking for powf declaration... " >&6; }
68234 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68235 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68236 $as_echo_n "(cached) " >&6
68237 else
68238
68239
68240 ac_ext=cpp
68241 ac_cpp='$CXXCPP $CPPFLAGS'
68242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68245
68246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68247 /* end confdefs.h. */
68248 #include <math.h>
68249 int
68250 main ()
68251 {
68252 powf(0, 0);
68253 ;
68254 return 0;
68255 }
68256 _ACEOF
68257 if ac_fn_cxx_try_compile "$LINENO"; then :
68258 glibcxx_cv_func_powf_use=yes
68259 else
68260 glibcxx_cv_func_powf_use=no
68261 fi
68262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68263 ac_ext=c
68264 ac_cpp='$CPP $CPPFLAGS'
68265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68268
68269
68270 fi
68271
68272 fi
68273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68274 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68275
68276 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68277 for ac_func in powf
68278 do :
68279 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68280 if test "x$ac_cv_func_powf" = x""yes; then :
68281 cat >>confdefs.h <<_ACEOF
68282 #define HAVE_POWF 1
68283 _ACEOF
68284
68285 fi
68286 done
68287
68288 else
68289
68290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68291 $as_echo_n "checking for _powf declaration... " >&6; }
68292 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68293 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68294 $as_echo_n "(cached) " >&6
68295 else
68296
68297
68298 ac_ext=cpp
68299 ac_cpp='$CXXCPP $CPPFLAGS'
68300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68303
68304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68305 /* end confdefs.h. */
68306 #include <math.h>
68307 int
68308 main ()
68309 {
68310 _powf(0, 0);
68311 ;
68312 return 0;
68313 }
68314 _ACEOF
68315 if ac_fn_cxx_try_compile "$LINENO"; then :
68316 glibcxx_cv_func__powf_use=yes
68317 else
68318 glibcxx_cv_func__powf_use=no
68319 fi
68320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68321 ac_ext=c
68322 ac_cpp='$CPP $CPPFLAGS'
68323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68326
68327
68328 fi
68329
68330 fi
68331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68332 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68333
68334 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68335 for ac_func in _powf
68336 do :
68337 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68338 if test "x$ac_cv_func__powf" = x""yes; then :
68339 cat >>confdefs.h <<_ACEOF
68340 #define HAVE__POWF 1
68341 _ACEOF
68342
68343 fi
68344 done
68345
68346 fi
68347 fi
68348
68349
68350
68351
68352
68353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68354 $as_echo_n "checking for sqrtf declaration... " >&6; }
68355 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68356 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68357 $as_echo_n "(cached) " >&6
68358 else
68359
68360
68361 ac_ext=cpp
68362 ac_cpp='$CXXCPP $CPPFLAGS'
68363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68366
68367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68368 /* end confdefs.h. */
68369 #include <math.h>
68370 #ifdef HAVE_IEEEFP_H
68371 #include <ieeefp.h>
68372 #endif
68373
68374 int
68375 main ()
68376 {
68377 sqrtf(0);
68378 ;
68379 return 0;
68380 }
68381 _ACEOF
68382 if ac_fn_cxx_try_compile "$LINENO"; then :
68383 glibcxx_cv_func_sqrtf_use=yes
68384 else
68385 glibcxx_cv_func_sqrtf_use=no
68386 fi
68387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68388 ac_ext=c
68389 ac_cpp='$CPP $CPPFLAGS'
68390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68393
68394
68395 fi
68396
68397 fi
68398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68399 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68400
68401 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68402 for ac_func in sqrtf
68403 do :
68404 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68405 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68406 cat >>confdefs.h <<_ACEOF
68407 #define HAVE_SQRTF 1
68408 _ACEOF
68409
68410 fi
68411 done
68412
68413 else
68414
68415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68416 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68417 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68418 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68419 $as_echo_n "(cached) " >&6
68420 else
68421
68422
68423 ac_ext=cpp
68424 ac_cpp='$CXXCPP $CPPFLAGS'
68425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68428
68429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68430 /* end confdefs.h. */
68431 #include <math.h>
68432 #ifdef HAVE_IEEEFP_H
68433 #include <ieeefp.h>
68434 #endif
68435
68436 int
68437 main ()
68438 {
68439 _sqrtf(0);
68440 ;
68441 return 0;
68442 }
68443 _ACEOF
68444 if ac_fn_cxx_try_compile "$LINENO"; then :
68445 glibcxx_cv_func__sqrtf_use=yes
68446 else
68447 glibcxx_cv_func__sqrtf_use=no
68448 fi
68449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68450 ac_ext=c
68451 ac_cpp='$CPP $CPPFLAGS'
68452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68455
68456
68457 fi
68458
68459 fi
68460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68461 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68462
68463 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68464 for ac_func in _sqrtf
68465 do :
68466 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68467 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68468 cat >>confdefs.h <<_ACEOF
68469 #define HAVE__SQRTF 1
68470 _ACEOF
68471
68472 fi
68473 done
68474
68475 fi
68476 fi
68477
68478
68479
68480
68481
68482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68483 $as_echo_n "checking for sincosf declaration... " >&6; }
68484 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68485 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68486 $as_echo_n "(cached) " >&6
68487 else
68488
68489
68490 ac_ext=cpp
68491 ac_cpp='$CXXCPP $CPPFLAGS'
68492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68495
68496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68497 /* end confdefs.h. */
68498 #include <math.h>
68499 int
68500 main ()
68501 {
68502 sincosf(0, 0, 0);
68503 ;
68504 return 0;
68505 }
68506 _ACEOF
68507 if ac_fn_cxx_try_compile "$LINENO"; then :
68508 glibcxx_cv_func_sincosf_use=yes
68509 else
68510 glibcxx_cv_func_sincosf_use=no
68511 fi
68512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68513 ac_ext=c
68514 ac_cpp='$CPP $CPPFLAGS'
68515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68518
68519
68520 fi
68521
68522 fi
68523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68524 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68525
68526 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68527 for ac_func in sincosf
68528 do :
68529 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68530 if test "x$ac_cv_func_sincosf" = x""yes; then :
68531 cat >>confdefs.h <<_ACEOF
68532 #define HAVE_SINCOSF 1
68533 _ACEOF
68534
68535 fi
68536 done
68537
68538 else
68539
68540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68541 $as_echo_n "checking for _sincosf declaration... " >&6; }
68542 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68543 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68544 $as_echo_n "(cached) " >&6
68545 else
68546
68547
68548 ac_ext=cpp
68549 ac_cpp='$CXXCPP $CPPFLAGS'
68550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68553
68554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68555 /* end confdefs.h. */
68556 #include <math.h>
68557 int
68558 main ()
68559 {
68560 _sincosf(0, 0, 0);
68561 ;
68562 return 0;
68563 }
68564 _ACEOF
68565 if ac_fn_cxx_try_compile "$LINENO"; then :
68566 glibcxx_cv_func__sincosf_use=yes
68567 else
68568 glibcxx_cv_func__sincosf_use=no
68569 fi
68570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68571 ac_ext=c
68572 ac_cpp='$CPP $CPPFLAGS'
68573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68576
68577
68578 fi
68579
68580 fi
68581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68582 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68583
68584 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68585 for ac_func in _sincosf
68586 do :
68587 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68588 if test "x$ac_cv_func__sincosf" = x""yes; then :
68589 cat >>confdefs.h <<_ACEOF
68590 #define HAVE__SINCOSF 1
68591 _ACEOF
68592
68593 fi
68594 done
68595
68596 fi
68597 fi
68598
68599
68600
68601
68602
68603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68604 $as_echo_n "checking for finitef declaration... " >&6; }
68605 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68606 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68607 $as_echo_n "(cached) " >&6
68608 else
68609
68610
68611 ac_ext=cpp
68612 ac_cpp='$CXXCPP $CPPFLAGS'
68613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68616
68617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68618 /* end confdefs.h. */
68619 #include <math.h>
68620 #ifdef HAVE_IEEEFP_H
68621 #include <ieeefp.h>
68622 #endif
68623
68624 int
68625 main ()
68626 {
68627 finitef(0);
68628 ;
68629 return 0;
68630 }
68631 _ACEOF
68632 if ac_fn_cxx_try_compile "$LINENO"; then :
68633 glibcxx_cv_func_finitef_use=yes
68634 else
68635 glibcxx_cv_func_finitef_use=no
68636 fi
68637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68638 ac_ext=c
68639 ac_cpp='$CPP $CPPFLAGS'
68640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68643
68644
68645 fi
68646
68647 fi
68648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68649 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68650
68651 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68652 for ac_func in finitef
68653 do :
68654 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68655 if test "x$ac_cv_func_finitef" = x""yes; then :
68656 cat >>confdefs.h <<_ACEOF
68657 #define HAVE_FINITEF 1
68658 _ACEOF
68659
68660 fi
68661 done
68662
68663 else
68664
68665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68666 $as_echo_n "checking for _finitef declaration... " >&6; }
68667 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68668 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68669 $as_echo_n "(cached) " >&6
68670 else
68671
68672
68673 ac_ext=cpp
68674 ac_cpp='$CXXCPP $CPPFLAGS'
68675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68678
68679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68680 /* end confdefs.h. */
68681 #include <math.h>
68682 #ifdef HAVE_IEEEFP_H
68683 #include <ieeefp.h>
68684 #endif
68685
68686 int
68687 main ()
68688 {
68689 _finitef(0);
68690 ;
68691 return 0;
68692 }
68693 _ACEOF
68694 if ac_fn_cxx_try_compile "$LINENO"; then :
68695 glibcxx_cv_func__finitef_use=yes
68696 else
68697 glibcxx_cv_func__finitef_use=no
68698 fi
68699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68700 ac_ext=c
68701 ac_cpp='$CPP $CPPFLAGS'
68702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68705
68706
68707 fi
68708
68709 fi
68710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68711 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68712
68713 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68714 for ac_func in _finitef
68715 do :
68716 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68717 if test "x$ac_cv_func__finitef" = x""yes; then :
68718 cat >>confdefs.h <<_ACEOF
68719 #define HAVE__FINITEF 1
68720 _ACEOF
68721
68722 fi
68723 done
68724
68725 fi
68726 fi
68727
68728
68729
68730
68731
68732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68733 $as_echo_n "checking for long double trig functions... " >&6; }
68734 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68735 $as_echo_n "(cached) " >&6
68736 else
68737
68738
68739 ac_ext=cpp
68740 ac_cpp='$CXXCPP $CPPFLAGS'
68741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68744
68745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68746 /* end confdefs.h. */
68747 #include <math.h>
68748 int
68749 main ()
68750 {
68751 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68752 ;
68753 return 0;
68754 }
68755 _ACEOF
68756 if ac_fn_cxx_try_compile "$LINENO"; then :
68757 glibcxx_cv_func_long_double_trig_use=yes
68758 else
68759 glibcxx_cv_func_long_double_trig_use=no
68760 fi
68761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68762 ac_ext=c
68763 ac_cpp='$CPP $CPPFLAGS'
68764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68767
68768 fi
68769
68770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68771 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68772 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68773 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68774 do :
68775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68777 eval as_val=\$$as_ac_var
68778 if test "x$as_val" = x""yes; then :
68779 cat >>confdefs.h <<_ACEOF
68780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68781 _ACEOF
68782
68783 fi
68784 done
68785
68786 else
68787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68788 $as_echo_n "checking for _long double trig functions... " >&6; }
68789 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68790 $as_echo_n "(cached) " >&6
68791 else
68792
68793
68794 ac_ext=cpp
68795 ac_cpp='$CXXCPP $CPPFLAGS'
68796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68799
68800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68801 /* end confdefs.h. */
68802 #include <math.h>
68803 int
68804 main ()
68805 {
68806 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68807 ;
68808 return 0;
68809 }
68810 _ACEOF
68811 if ac_fn_cxx_try_compile "$LINENO"; then :
68812 glibcxx_cv_func__long_double_trig_use=yes
68813 else
68814 glibcxx_cv_func__long_double_trig_use=no
68815 fi
68816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68817 ac_ext=c
68818 ac_cpp='$CPP $CPPFLAGS'
68819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68822
68823 fi
68824
68825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68826 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68827 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68828 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68829 do :
68830 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68831 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68832 eval as_val=\$$as_ac_var
68833 if test "x$as_val" = x""yes; then :
68834 cat >>confdefs.h <<_ACEOF
68835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68836 _ACEOF
68837
68838 fi
68839 done
68840
68841 fi
68842 fi
68843
68844
68845
68846
68847
68848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68849 $as_echo_n "checking for long double round functions... " >&6; }
68850 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68851 $as_echo_n "(cached) " >&6
68852 else
68853
68854
68855 ac_ext=cpp
68856 ac_cpp='$CXXCPP $CPPFLAGS'
68857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68860
68861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68862 /* end confdefs.h. */
68863 #include <math.h>
68864 int
68865 main ()
68866 {
68867 ceill (0); floorl (0);
68868 ;
68869 return 0;
68870 }
68871 _ACEOF
68872 if ac_fn_cxx_try_compile "$LINENO"; then :
68873 glibcxx_cv_func_long_double_round_use=yes
68874 else
68875 glibcxx_cv_func_long_double_round_use=no
68876 fi
68877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68878 ac_ext=c
68879 ac_cpp='$CPP $CPPFLAGS'
68880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68883
68884 fi
68885
68886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68887 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68888 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68889 for ac_func in ceill floorl
68890 do :
68891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68892 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68893 eval as_val=\$$as_ac_var
68894 if test "x$as_val" = x""yes; then :
68895 cat >>confdefs.h <<_ACEOF
68896 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68897 _ACEOF
68898
68899 fi
68900 done
68901
68902 else
68903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68904 $as_echo_n "checking for _long double round functions... " >&6; }
68905 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68906 $as_echo_n "(cached) " >&6
68907 else
68908
68909
68910 ac_ext=cpp
68911 ac_cpp='$CXXCPP $CPPFLAGS'
68912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68915
68916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68917 /* end confdefs.h. */
68918 #include <math.h>
68919 int
68920 main ()
68921 {
68922 _ceill (0); _floorl (0);
68923 ;
68924 return 0;
68925 }
68926 _ACEOF
68927 if ac_fn_cxx_try_compile "$LINENO"; then :
68928 glibcxx_cv_func__long_double_round_use=yes
68929 else
68930 glibcxx_cv_func__long_double_round_use=no
68931 fi
68932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68933 ac_ext=c
68934 ac_cpp='$CPP $CPPFLAGS'
68935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68938
68939 fi
68940
68941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68942 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68943 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68944 for ac_func in _ceill _floorl
68945 do :
68946 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68947 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68948 eval as_val=\$$as_ac_var
68949 if test "x$as_val" = x""yes; then :
68950 cat >>confdefs.h <<_ACEOF
68951 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68952 _ACEOF
68953
68954 fi
68955 done
68956
68957 fi
68958 fi
68959
68960
68961
68962
68963
68964
68965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68966 $as_echo_n "checking for isnanl declaration... " >&6; }
68967 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68968 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68969 $as_echo_n "(cached) " >&6
68970 else
68971
68972
68973 ac_ext=cpp
68974 ac_cpp='$CXXCPP $CPPFLAGS'
68975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68978
68979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68980 /* end confdefs.h. */
68981 #include <math.h>
68982 #ifdef HAVE_IEEEFP_H
68983 #include <ieeefp.h>
68984 #endif
68985
68986 int
68987 main ()
68988 {
68989 isnanl(0);
68990 ;
68991 return 0;
68992 }
68993 _ACEOF
68994 if ac_fn_cxx_try_compile "$LINENO"; then :
68995 glibcxx_cv_func_isnanl_use=yes
68996 else
68997 glibcxx_cv_func_isnanl_use=no
68998 fi
68999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69000 ac_ext=c
69001 ac_cpp='$CPP $CPPFLAGS'
69002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69005
69006
69007 fi
69008
69009 fi
69010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69011 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69012
69013 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69014 for ac_func in isnanl
69015 do :
69016 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69017 if test "x$ac_cv_func_isnanl" = x""yes; then :
69018 cat >>confdefs.h <<_ACEOF
69019 #define HAVE_ISNANL 1
69020 _ACEOF
69021
69022 fi
69023 done
69024
69025 else
69026
69027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
69028 $as_echo_n "checking for _isnanl declaration... " >&6; }
69029 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
69030 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
69031 $as_echo_n "(cached) " >&6
69032 else
69033
69034
69035 ac_ext=cpp
69036 ac_cpp='$CXXCPP $CPPFLAGS'
69037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69040
69041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69042 /* end confdefs.h. */
69043 #include <math.h>
69044 #ifdef HAVE_IEEEFP_H
69045 #include <ieeefp.h>
69046 #endif
69047
69048 int
69049 main ()
69050 {
69051 _isnanl(0);
69052 ;
69053 return 0;
69054 }
69055 _ACEOF
69056 if ac_fn_cxx_try_compile "$LINENO"; then :
69057 glibcxx_cv_func__isnanl_use=yes
69058 else
69059 glibcxx_cv_func__isnanl_use=no
69060 fi
69061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69062 ac_ext=c
69063 ac_cpp='$CPP $CPPFLAGS'
69064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69067
69068
69069 fi
69070
69071 fi
69072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
69073 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
69074
69075 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
69076 for ac_func in _isnanl
69077 do :
69078 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
69079 if test "x$ac_cv_func__isnanl" = x""yes; then :
69080 cat >>confdefs.h <<_ACEOF
69081 #define HAVE__ISNANL 1
69082 _ACEOF
69083
69084 fi
69085 done
69086
69087 fi
69088 fi
69089
69090
69091
69092
69093
69094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
69095 $as_echo_n "checking for isinfl declaration... " >&6; }
69096 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
69097 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
69098 $as_echo_n "(cached) " >&6
69099 else
69100
69101
69102 ac_ext=cpp
69103 ac_cpp='$CXXCPP $CPPFLAGS'
69104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69107
69108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69109 /* end confdefs.h. */
69110 #include <math.h>
69111 #ifdef HAVE_IEEEFP_H
69112 #include <ieeefp.h>
69113 #endif
69114
69115 int
69116 main ()
69117 {
69118 isinfl(0);
69119 ;
69120 return 0;
69121 }
69122 _ACEOF
69123 if ac_fn_cxx_try_compile "$LINENO"; then :
69124 glibcxx_cv_func_isinfl_use=yes
69125 else
69126 glibcxx_cv_func_isinfl_use=no
69127 fi
69128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69129 ac_ext=c
69130 ac_cpp='$CPP $CPPFLAGS'
69131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69134
69135
69136 fi
69137
69138 fi
69139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69140 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69141
69142 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69143 for ac_func in isinfl
69144 do :
69145 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69146 if test "x$ac_cv_func_isinfl" = x""yes; then :
69147 cat >>confdefs.h <<_ACEOF
69148 #define HAVE_ISINFL 1
69149 _ACEOF
69150
69151 fi
69152 done
69153
69154 else
69155
69156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69157 $as_echo_n "checking for _isinfl declaration... " >&6; }
69158 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69159 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69160 $as_echo_n "(cached) " >&6
69161 else
69162
69163
69164 ac_ext=cpp
69165 ac_cpp='$CXXCPP $CPPFLAGS'
69166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69169
69170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69171 /* end confdefs.h. */
69172 #include <math.h>
69173 #ifdef HAVE_IEEEFP_H
69174 #include <ieeefp.h>
69175 #endif
69176
69177 int
69178 main ()
69179 {
69180 _isinfl(0);
69181 ;
69182 return 0;
69183 }
69184 _ACEOF
69185 if ac_fn_cxx_try_compile "$LINENO"; then :
69186 glibcxx_cv_func__isinfl_use=yes
69187 else
69188 glibcxx_cv_func__isinfl_use=no
69189 fi
69190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69191 ac_ext=c
69192 ac_cpp='$CPP $CPPFLAGS'
69193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69196
69197
69198 fi
69199
69200 fi
69201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69202 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69203
69204 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69205 for ac_func in _isinfl
69206 do :
69207 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69208 if test "x$ac_cv_func__isinfl" = x""yes; then :
69209 cat >>confdefs.h <<_ACEOF
69210 #define HAVE__ISINFL 1
69211 _ACEOF
69212
69213 fi
69214 done
69215
69216 fi
69217 fi
69218
69219
69220
69221
69222
69223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69224 $as_echo_n "checking for atan2l declaration... " >&6; }
69225 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69226 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69227 $as_echo_n "(cached) " >&6
69228 else
69229
69230
69231 ac_ext=cpp
69232 ac_cpp='$CXXCPP $CPPFLAGS'
69233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69236
69237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69238 /* end confdefs.h. */
69239 #include <math.h>
69240 int
69241 main ()
69242 {
69243 atan2l(0, 0);
69244 ;
69245 return 0;
69246 }
69247 _ACEOF
69248 if ac_fn_cxx_try_compile "$LINENO"; then :
69249 glibcxx_cv_func_atan2l_use=yes
69250 else
69251 glibcxx_cv_func_atan2l_use=no
69252 fi
69253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69254 ac_ext=c
69255 ac_cpp='$CPP $CPPFLAGS'
69256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69259
69260
69261 fi
69262
69263 fi
69264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69265 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69266
69267 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69268 for ac_func in atan2l
69269 do :
69270 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69271 if test "x$ac_cv_func_atan2l" = x""yes; then :
69272 cat >>confdefs.h <<_ACEOF
69273 #define HAVE_ATAN2L 1
69274 _ACEOF
69275
69276 fi
69277 done
69278
69279 else
69280
69281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69282 $as_echo_n "checking for _atan2l declaration... " >&6; }
69283 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69284 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69285 $as_echo_n "(cached) " >&6
69286 else
69287
69288
69289 ac_ext=cpp
69290 ac_cpp='$CXXCPP $CPPFLAGS'
69291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69294
69295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69296 /* end confdefs.h. */
69297 #include <math.h>
69298 int
69299 main ()
69300 {
69301 _atan2l(0, 0);
69302 ;
69303 return 0;
69304 }
69305 _ACEOF
69306 if ac_fn_cxx_try_compile "$LINENO"; then :
69307 glibcxx_cv_func__atan2l_use=yes
69308 else
69309 glibcxx_cv_func__atan2l_use=no
69310 fi
69311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69312 ac_ext=c
69313 ac_cpp='$CPP $CPPFLAGS'
69314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69317
69318
69319 fi
69320
69321 fi
69322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69323 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69324
69325 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69326 for ac_func in _atan2l
69327 do :
69328 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69329 if test "x$ac_cv_func__atan2l" = x""yes; then :
69330 cat >>confdefs.h <<_ACEOF
69331 #define HAVE__ATAN2L 1
69332 _ACEOF
69333
69334 fi
69335 done
69336
69337 fi
69338 fi
69339
69340
69341
69342
69343
69344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69345 $as_echo_n "checking for expl declaration... " >&6; }
69346 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69347 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69348 $as_echo_n "(cached) " >&6
69349 else
69350
69351
69352 ac_ext=cpp
69353 ac_cpp='$CXXCPP $CPPFLAGS'
69354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69357
69358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69359 /* end confdefs.h. */
69360 #include <math.h>
69361 #ifdef HAVE_IEEEFP_H
69362 #include <ieeefp.h>
69363 #endif
69364
69365 int
69366 main ()
69367 {
69368 expl(0);
69369 ;
69370 return 0;
69371 }
69372 _ACEOF
69373 if ac_fn_cxx_try_compile "$LINENO"; then :
69374 glibcxx_cv_func_expl_use=yes
69375 else
69376 glibcxx_cv_func_expl_use=no
69377 fi
69378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69379 ac_ext=c
69380 ac_cpp='$CPP $CPPFLAGS'
69381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69384
69385
69386 fi
69387
69388 fi
69389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69390 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69391
69392 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69393 for ac_func in expl
69394 do :
69395 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69396 if test "x$ac_cv_func_expl" = x""yes; then :
69397 cat >>confdefs.h <<_ACEOF
69398 #define HAVE_EXPL 1
69399 _ACEOF
69400
69401 fi
69402 done
69403
69404 else
69405
69406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69407 $as_echo_n "checking for _expl declaration... " >&6; }
69408 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69409 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69410 $as_echo_n "(cached) " >&6
69411 else
69412
69413
69414 ac_ext=cpp
69415 ac_cpp='$CXXCPP $CPPFLAGS'
69416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69419
69420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69421 /* end confdefs.h. */
69422 #include <math.h>
69423 #ifdef HAVE_IEEEFP_H
69424 #include <ieeefp.h>
69425 #endif
69426
69427 int
69428 main ()
69429 {
69430 _expl(0);
69431 ;
69432 return 0;
69433 }
69434 _ACEOF
69435 if ac_fn_cxx_try_compile "$LINENO"; then :
69436 glibcxx_cv_func__expl_use=yes
69437 else
69438 glibcxx_cv_func__expl_use=no
69439 fi
69440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69441 ac_ext=c
69442 ac_cpp='$CPP $CPPFLAGS'
69443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69446
69447
69448 fi
69449
69450 fi
69451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69452 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69453
69454 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69455 for ac_func in _expl
69456 do :
69457 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69458 if test "x$ac_cv_func__expl" = x""yes; then :
69459 cat >>confdefs.h <<_ACEOF
69460 #define HAVE__EXPL 1
69461 _ACEOF
69462
69463 fi
69464 done
69465
69466 fi
69467 fi
69468
69469
69470
69471
69472
69473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69474 $as_echo_n "checking for fabsl declaration... " >&6; }
69475 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69476 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69477 $as_echo_n "(cached) " >&6
69478 else
69479
69480
69481 ac_ext=cpp
69482 ac_cpp='$CXXCPP $CPPFLAGS'
69483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69486
69487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69488 /* end confdefs.h. */
69489 #include <math.h>
69490 #ifdef HAVE_IEEEFP_H
69491 #include <ieeefp.h>
69492 #endif
69493
69494 int
69495 main ()
69496 {
69497 fabsl(0);
69498 ;
69499 return 0;
69500 }
69501 _ACEOF
69502 if ac_fn_cxx_try_compile "$LINENO"; then :
69503 glibcxx_cv_func_fabsl_use=yes
69504 else
69505 glibcxx_cv_func_fabsl_use=no
69506 fi
69507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69508 ac_ext=c
69509 ac_cpp='$CPP $CPPFLAGS'
69510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69513
69514
69515 fi
69516
69517 fi
69518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69519 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69520
69521 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69522 for ac_func in fabsl
69523 do :
69524 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69525 if test "x$ac_cv_func_fabsl" = x""yes; then :
69526 cat >>confdefs.h <<_ACEOF
69527 #define HAVE_FABSL 1
69528 _ACEOF
69529
69530 fi
69531 done
69532
69533 else
69534
69535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69536 $as_echo_n "checking for _fabsl declaration... " >&6; }
69537 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69538 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69539 $as_echo_n "(cached) " >&6
69540 else
69541
69542
69543 ac_ext=cpp
69544 ac_cpp='$CXXCPP $CPPFLAGS'
69545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69548
69549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69550 /* end confdefs.h. */
69551 #include <math.h>
69552 #ifdef HAVE_IEEEFP_H
69553 #include <ieeefp.h>
69554 #endif
69555
69556 int
69557 main ()
69558 {
69559 _fabsl(0);
69560 ;
69561 return 0;
69562 }
69563 _ACEOF
69564 if ac_fn_cxx_try_compile "$LINENO"; then :
69565 glibcxx_cv_func__fabsl_use=yes
69566 else
69567 glibcxx_cv_func__fabsl_use=no
69568 fi
69569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69570 ac_ext=c
69571 ac_cpp='$CPP $CPPFLAGS'
69572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69575
69576
69577 fi
69578
69579 fi
69580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69581 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69582
69583 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69584 for ac_func in _fabsl
69585 do :
69586 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69587 if test "x$ac_cv_func__fabsl" = x""yes; then :
69588 cat >>confdefs.h <<_ACEOF
69589 #define HAVE__FABSL 1
69590 _ACEOF
69591
69592 fi
69593 done
69594
69595 fi
69596 fi
69597
69598
69599
69600
69601
69602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69603 $as_echo_n "checking for fmodl declaration... " >&6; }
69604 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69605 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69606 $as_echo_n "(cached) " >&6
69607 else
69608
69609
69610 ac_ext=cpp
69611 ac_cpp='$CXXCPP $CPPFLAGS'
69612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69615
69616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69617 /* end confdefs.h. */
69618 #include <math.h>
69619 int
69620 main ()
69621 {
69622 fmodl(0, 0);
69623 ;
69624 return 0;
69625 }
69626 _ACEOF
69627 if ac_fn_cxx_try_compile "$LINENO"; then :
69628 glibcxx_cv_func_fmodl_use=yes
69629 else
69630 glibcxx_cv_func_fmodl_use=no
69631 fi
69632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69633 ac_ext=c
69634 ac_cpp='$CPP $CPPFLAGS'
69635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69638
69639
69640 fi
69641
69642 fi
69643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69644 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69645
69646 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69647 for ac_func in fmodl
69648 do :
69649 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69650 if test "x$ac_cv_func_fmodl" = x""yes; then :
69651 cat >>confdefs.h <<_ACEOF
69652 #define HAVE_FMODL 1
69653 _ACEOF
69654
69655 fi
69656 done
69657
69658 else
69659
69660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69661 $as_echo_n "checking for _fmodl declaration... " >&6; }
69662 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69663 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69664 $as_echo_n "(cached) " >&6
69665 else
69666
69667
69668 ac_ext=cpp
69669 ac_cpp='$CXXCPP $CPPFLAGS'
69670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69673
69674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69675 /* end confdefs.h. */
69676 #include <math.h>
69677 int
69678 main ()
69679 {
69680 _fmodl(0, 0);
69681 ;
69682 return 0;
69683 }
69684 _ACEOF
69685 if ac_fn_cxx_try_compile "$LINENO"; then :
69686 glibcxx_cv_func__fmodl_use=yes
69687 else
69688 glibcxx_cv_func__fmodl_use=no
69689 fi
69690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69691 ac_ext=c
69692 ac_cpp='$CPP $CPPFLAGS'
69693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69696
69697
69698 fi
69699
69700 fi
69701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69702 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69703
69704 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69705 for ac_func in _fmodl
69706 do :
69707 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69708 if test "x$ac_cv_func__fmodl" = x""yes; then :
69709 cat >>confdefs.h <<_ACEOF
69710 #define HAVE__FMODL 1
69711 _ACEOF
69712
69713 fi
69714 done
69715
69716 fi
69717 fi
69718
69719
69720
69721
69722
69723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69724 $as_echo_n "checking for frexpl declaration... " >&6; }
69725 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69726 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69727 $as_echo_n "(cached) " >&6
69728 else
69729
69730
69731 ac_ext=cpp
69732 ac_cpp='$CXXCPP $CPPFLAGS'
69733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69736
69737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69738 /* end confdefs.h. */
69739 #include <math.h>
69740 int
69741 main ()
69742 {
69743 frexpl(0, 0);
69744 ;
69745 return 0;
69746 }
69747 _ACEOF
69748 if ac_fn_cxx_try_compile "$LINENO"; then :
69749 glibcxx_cv_func_frexpl_use=yes
69750 else
69751 glibcxx_cv_func_frexpl_use=no
69752 fi
69753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69754 ac_ext=c
69755 ac_cpp='$CPP $CPPFLAGS'
69756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69759
69760
69761 fi
69762
69763 fi
69764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69765 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69766
69767 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69768 for ac_func in frexpl
69769 do :
69770 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69771 if test "x$ac_cv_func_frexpl" = x""yes; then :
69772 cat >>confdefs.h <<_ACEOF
69773 #define HAVE_FREXPL 1
69774 _ACEOF
69775
69776 fi
69777 done
69778
69779 else
69780
69781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69782 $as_echo_n "checking for _frexpl declaration... " >&6; }
69783 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69784 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69785 $as_echo_n "(cached) " >&6
69786 else
69787
69788
69789 ac_ext=cpp
69790 ac_cpp='$CXXCPP $CPPFLAGS'
69791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69794
69795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69796 /* end confdefs.h. */
69797 #include <math.h>
69798 int
69799 main ()
69800 {
69801 _frexpl(0, 0);
69802 ;
69803 return 0;
69804 }
69805 _ACEOF
69806 if ac_fn_cxx_try_compile "$LINENO"; then :
69807 glibcxx_cv_func__frexpl_use=yes
69808 else
69809 glibcxx_cv_func__frexpl_use=no
69810 fi
69811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69812 ac_ext=c
69813 ac_cpp='$CPP $CPPFLAGS'
69814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69817
69818
69819 fi
69820
69821 fi
69822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69823 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69824
69825 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69826 for ac_func in _frexpl
69827 do :
69828 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69829 if test "x$ac_cv_func__frexpl" = x""yes; then :
69830 cat >>confdefs.h <<_ACEOF
69831 #define HAVE__FREXPL 1
69832 _ACEOF
69833
69834 fi
69835 done
69836
69837 fi
69838 fi
69839
69840
69841
69842
69843
69844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69845 $as_echo_n "checking for hypotl declaration... " >&6; }
69846 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69847 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69848 $as_echo_n "(cached) " >&6
69849 else
69850
69851
69852 ac_ext=cpp
69853 ac_cpp='$CXXCPP $CPPFLAGS'
69854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69857
69858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69859 /* end confdefs.h. */
69860 #include <math.h>
69861 int
69862 main ()
69863 {
69864 hypotl(0, 0);
69865 ;
69866 return 0;
69867 }
69868 _ACEOF
69869 if ac_fn_cxx_try_compile "$LINENO"; then :
69870 glibcxx_cv_func_hypotl_use=yes
69871 else
69872 glibcxx_cv_func_hypotl_use=no
69873 fi
69874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69875 ac_ext=c
69876 ac_cpp='$CPP $CPPFLAGS'
69877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69880
69881
69882 fi
69883
69884 fi
69885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69886 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69887
69888 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69889 for ac_func in hypotl
69890 do :
69891 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69892 if test "x$ac_cv_func_hypotl" = x""yes; then :
69893 cat >>confdefs.h <<_ACEOF
69894 #define HAVE_HYPOTL 1
69895 _ACEOF
69896
69897 fi
69898 done
69899
69900 else
69901
69902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69903 $as_echo_n "checking for _hypotl declaration... " >&6; }
69904 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69905 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69906 $as_echo_n "(cached) " >&6
69907 else
69908
69909
69910 ac_ext=cpp
69911 ac_cpp='$CXXCPP $CPPFLAGS'
69912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69915
69916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69917 /* end confdefs.h. */
69918 #include <math.h>
69919 int
69920 main ()
69921 {
69922 _hypotl(0, 0);
69923 ;
69924 return 0;
69925 }
69926 _ACEOF
69927 if ac_fn_cxx_try_compile "$LINENO"; then :
69928 glibcxx_cv_func__hypotl_use=yes
69929 else
69930 glibcxx_cv_func__hypotl_use=no
69931 fi
69932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69933 ac_ext=c
69934 ac_cpp='$CPP $CPPFLAGS'
69935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69938
69939
69940 fi
69941
69942 fi
69943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69944 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69945
69946 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69947 for ac_func in _hypotl
69948 do :
69949 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69950 if test "x$ac_cv_func__hypotl" = x""yes; then :
69951 cat >>confdefs.h <<_ACEOF
69952 #define HAVE__HYPOTL 1
69953 _ACEOF
69954
69955 fi
69956 done
69957
69958 fi
69959 fi
69960
69961
69962
69963
69964
69965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69966 $as_echo_n "checking for ldexpl declaration... " >&6; }
69967 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69968 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69969 $as_echo_n "(cached) " >&6
69970 else
69971
69972
69973 ac_ext=cpp
69974 ac_cpp='$CXXCPP $CPPFLAGS'
69975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69978
69979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69980 /* end confdefs.h. */
69981 #include <math.h>
69982 int
69983 main ()
69984 {
69985 ldexpl(0, 0);
69986 ;
69987 return 0;
69988 }
69989 _ACEOF
69990 if ac_fn_cxx_try_compile "$LINENO"; then :
69991 glibcxx_cv_func_ldexpl_use=yes
69992 else
69993 glibcxx_cv_func_ldexpl_use=no
69994 fi
69995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69996 ac_ext=c
69997 ac_cpp='$CPP $CPPFLAGS'
69998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70001
70002
70003 fi
70004
70005 fi
70006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70007 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70008
70009 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70010 for ac_func in ldexpl
70011 do :
70012 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70013 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70014 cat >>confdefs.h <<_ACEOF
70015 #define HAVE_LDEXPL 1
70016 _ACEOF
70017
70018 fi
70019 done
70020
70021 else
70022
70023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
70024 $as_echo_n "checking for _ldexpl declaration... " >&6; }
70025 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
70026 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
70027 $as_echo_n "(cached) " >&6
70028 else
70029
70030
70031 ac_ext=cpp
70032 ac_cpp='$CXXCPP $CPPFLAGS'
70033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70036
70037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70038 /* end confdefs.h. */
70039 #include <math.h>
70040 int
70041 main ()
70042 {
70043 _ldexpl(0, 0);
70044 ;
70045 return 0;
70046 }
70047 _ACEOF
70048 if ac_fn_cxx_try_compile "$LINENO"; then :
70049 glibcxx_cv_func__ldexpl_use=yes
70050 else
70051 glibcxx_cv_func__ldexpl_use=no
70052 fi
70053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70054 ac_ext=c
70055 ac_cpp='$CPP $CPPFLAGS'
70056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70059
70060
70061 fi
70062
70063 fi
70064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
70065 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
70066
70067 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
70068 for ac_func in _ldexpl
70069 do :
70070 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
70071 if test "x$ac_cv_func__ldexpl" = x""yes; then :
70072 cat >>confdefs.h <<_ACEOF
70073 #define HAVE__LDEXPL 1
70074 _ACEOF
70075
70076 fi
70077 done
70078
70079 fi
70080 fi
70081
70082
70083
70084
70085
70086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
70087 $as_echo_n "checking for logl declaration... " >&6; }
70088 if test x${glibcxx_cv_func_logl_use+set} != xset; then
70089 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
70090 $as_echo_n "(cached) " >&6
70091 else
70092
70093
70094 ac_ext=cpp
70095 ac_cpp='$CXXCPP $CPPFLAGS'
70096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70099
70100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70101 /* end confdefs.h. */
70102 #include <math.h>
70103 #ifdef HAVE_IEEEFP_H
70104 #include <ieeefp.h>
70105 #endif
70106
70107 int
70108 main ()
70109 {
70110 logl(0);
70111 ;
70112 return 0;
70113 }
70114 _ACEOF
70115 if ac_fn_cxx_try_compile "$LINENO"; then :
70116 glibcxx_cv_func_logl_use=yes
70117 else
70118 glibcxx_cv_func_logl_use=no
70119 fi
70120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70121 ac_ext=c
70122 ac_cpp='$CPP $CPPFLAGS'
70123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70126
70127
70128 fi
70129
70130 fi
70131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
70132 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
70133
70134 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70135 for ac_func in logl
70136 do :
70137 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70138 if test "x$ac_cv_func_logl" = x""yes; then :
70139 cat >>confdefs.h <<_ACEOF
70140 #define HAVE_LOGL 1
70141 _ACEOF
70142
70143 fi
70144 done
70145
70146 else
70147
70148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70149 $as_echo_n "checking for _logl declaration... " >&6; }
70150 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70151 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70152 $as_echo_n "(cached) " >&6
70153 else
70154
70155
70156 ac_ext=cpp
70157 ac_cpp='$CXXCPP $CPPFLAGS'
70158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70161
70162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70163 /* end confdefs.h. */
70164 #include <math.h>
70165 #ifdef HAVE_IEEEFP_H
70166 #include <ieeefp.h>
70167 #endif
70168
70169 int
70170 main ()
70171 {
70172 _logl(0);
70173 ;
70174 return 0;
70175 }
70176 _ACEOF
70177 if ac_fn_cxx_try_compile "$LINENO"; then :
70178 glibcxx_cv_func__logl_use=yes
70179 else
70180 glibcxx_cv_func__logl_use=no
70181 fi
70182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70183 ac_ext=c
70184 ac_cpp='$CPP $CPPFLAGS'
70185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70188
70189
70190 fi
70191
70192 fi
70193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70194 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70195
70196 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70197 for ac_func in _logl
70198 do :
70199 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70200 if test "x$ac_cv_func__logl" = x""yes; then :
70201 cat >>confdefs.h <<_ACEOF
70202 #define HAVE__LOGL 1
70203 _ACEOF
70204
70205 fi
70206 done
70207
70208 fi
70209 fi
70210
70211
70212
70213
70214
70215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70216 $as_echo_n "checking for log10l declaration... " >&6; }
70217 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70218 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70219 $as_echo_n "(cached) " >&6
70220 else
70221
70222
70223 ac_ext=cpp
70224 ac_cpp='$CXXCPP $CPPFLAGS'
70225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70228
70229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70230 /* end confdefs.h. */
70231 #include <math.h>
70232 #ifdef HAVE_IEEEFP_H
70233 #include <ieeefp.h>
70234 #endif
70235
70236 int
70237 main ()
70238 {
70239 log10l(0);
70240 ;
70241 return 0;
70242 }
70243 _ACEOF
70244 if ac_fn_cxx_try_compile "$LINENO"; then :
70245 glibcxx_cv_func_log10l_use=yes
70246 else
70247 glibcxx_cv_func_log10l_use=no
70248 fi
70249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70250 ac_ext=c
70251 ac_cpp='$CPP $CPPFLAGS'
70252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70255
70256
70257 fi
70258
70259 fi
70260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70261 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70262
70263 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70264 for ac_func in log10l
70265 do :
70266 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70267 if test "x$ac_cv_func_log10l" = x""yes; then :
70268 cat >>confdefs.h <<_ACEOF
70269 #define HAVE_LOG10L 1
70270 _ACEOF
70271
70272 fi
70273 done
70274
70275 else
70276
70277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70278 $as_echo_n "checking for _log10l declaration... " >&6; }
70279 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70280 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70281 $as_echo_n "(cached) " >&6
70282 else
70283
70284
70285 ac_ext=cpp
70286 ac_cpp='$CXXCPP $CPPFLAGS'
70287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70290
70291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70292 /* end confdefs.h. */
70293 #include <math.h>
70294 #ifdef HAVE_IEEEFP_H
70295 #include <ieeefp.h>
70296 #endif
70297
70298 int
70299 main ()
70300 {
70301 _log10l(0);
70302 ;
70303 return 0;
70304 }
70305 _ACEOF
70306 if ac_fn_cxx_try_compile "$LINENO"; then :
70307 glibcxx_cv_func__log10l_use=yes
70308 else
70309 glibcxx_cv_func__log10l_use=no
70310 fi
70311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70312 ac_ext=c
70313 ac_cpp='$CPP $CPPFLAGS'
70314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70317
70318
70319 fi
70320
70321 fi
70322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70323 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70324
70325 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70326 for ac_func in _log10l
70327 do :
70328 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70329 if test "x$ac_cv_func__log10l" = x""yes; then :
70330 cat >>confdefs.h <<_ACEOF
70331 #define HAVE__LOG10L 1
70332 _ACEOF
70333
70334 fi
70335 done
70336
70337 fi
70338 fi
70339
70340
70341
70342
70343
70344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70345 $as_echo_n "checking for modfl declaration... " >&6; }
70346 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70347 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70348 $as_echo_n "(cached) " >&6
70349 else
70350
70351
70352 ac_ext=cpp
70353 ac_cpp='$CXXCPP $CPPFLAGS'
70354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70357
70358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70359 /* end confdefs.h. */
70360 #include <math.h>
70361 int
70362 main ()
70363 {
70364 modfl(0, 0);
70365 ;
70366 return 0;
70367 }
70368 _ACEOF
70369 if ac_fn_cxx_try_compile "$LINENO"; then :
70370 glibcxx_cv_func_modfl_use=yes
70371 else
70372 glibcxx_cv_func_modfl_use=no
70373 fi
70374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70375 ac_ext=c
70376 ac_cpp='$CPP $CPPFLAGS'
70377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70380
70381
70382 fi
70383
70384 fi
70385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70386 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70387
70388 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70389 for ac_func in modfl
70390 do :
70391 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70392 if test "x$ac_cv_func_modfl" = x""yes; then :
70393 cat >>confdefs.h <<_ACEOF
70394 #define HAVE_MODFL 1
70395 _ACEOF
70396
70397 fi
70398 done
70399
70400 else
70401
70402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70403 $as_echo_n "checking for _modfl declaration... " >&6; }
70404 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70405 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70406 $as_echo_n "(cached) " >&6
70407 else
70408
70409
70410 ac_ext=cpp
70411 ac_cpp='$CXXCPP $CPPFLAGS'
70412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70415
70416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70417 /* end confdefs.h. */
70418 #include <math.h>
70419 int
70420 main ()
70421 {
70422 _modfl(0, 0);
70423 ;
70424 return 0;
70425 }
70426 _ACEOF
70427 if ac_fn_cxx_try_compile "$LINENO"; then :
70428 glibcxx_cv_func__modfl_use=yes
70429 else
70430 glibcxx_cv_func__modfl_use=no
70431 fi
70432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70433 ac_ext=c
70434 ac_cpp='$CPP $CPPFLAGS'
70435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70438
70439
70440 fi
70441
70442 fi
70443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70444 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70445
70446 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70447 for ac_func in _modfl
70448 do :
70449 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70450 if test "x$ac_cv_func__modfl" = x""yes; then :
70451 cat >>confdefs.h <<_ACEOF
70452 #define HAVE__MODFL 1
70453 _ACEOF
70454
70455 fi
70456 done
70457
70458 fi
70459 fi
70460
70461
70462
70463
70464
70465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70466 $as_echo_n "checking for powl declaration... " >&6; }
70467 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70468 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70469 $as_echo_n "(cached) " >&6
70470 else
70471
70472
70473 ac_ext=cpp
70474 ac_cpp='$CXXCPP $CPPFLAGS'
70475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70478
70479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70480 /* end confdefs.h. */
70481 #include <math.h>
70482 int
70483 main ()
70484 {
70485 powl(0, 0);
70486 ;
70487 return 0;
70488 }
70489 _ACEOF
70490 if ac_fn_cxx_try_compile "$LINENO"; then :
70491 glibcxx_cv_func_powl_use=yes
70492 else
70493 glibcxx_cv_func_powl_use=no
70494 fi
70495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70496 ac_ext=c
70497 ac_cpp='$CPP $CPPFLAGS'
70498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70501
70502
70503 fi
70504
70505 fi
70506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70507 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70508
70509 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70510 for ac_func in powl
70511 do :
70512 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70513 if test "x$ac_cv_func_powl" = x""yes; then :
70514 cat >>confdefs.h <<_ACEOF
70515 #define HAVE_POWL 1
70516 _ACEOF
70517
70518 fi
70519 done
70520
70521 else
70522
70523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70524 $as_echo_n "checking for _powl declaration... " >&6; }
70525 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70526 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70527 $as_echo_n "(cached) " >&6
70528 else
70529
70530
70531 ac_ext=cpp
70532 ac_cpp='$CXXCPP $CPPFLAGS'
70533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70536
70537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70538 /* end confdefs.h. */
70539 #include <math.h>
70540 int
70541 main ()
70542 {
70543 _powl(0, 0);
70544 ;
70545 return 0;
70546 }
70547 _ACEOF
70548 if ac_fn_cxx_try_compile "$LINENO"; then :
70549 glibcxx_cv_func__powl_use=yes
70550 else
70551 glibcxx_cv_func__powl_use=no
70552 fi
70553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70554 ac_ext=c
70555 ac_cpp='$CPP $CPPFLAGS'
70556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70559
70560
70561 fi
70562
70563 fi
70564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70565 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70566
70567 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70568 for ac_func in _powl
70569 do :
70570 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70571 if test "x$ac_cv_func__powl" = x""yes; then :
70572 cat >>confdefs.h <<_ACEOF
70573 #define HAVE__POWL 1
70574 _ACEOF
70575
70576 fi
70577 done
70578
70579 fi
70580 fi
70581
70582
70583
70584
70585
70586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70587 $as_echo_n "checking for sqrtl declaration... " >&6; }
70588 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70589 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70590 $as_echo_n "(cached) " >&6
70591 else
70592
70593
70594 ac_ext=cpp
70595 ac_cpp='$CXXCPP $CPPFLAGS'
70596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70599
70600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70601 /* end confdefs.h. */
70602 #include <math.h>
70603 #ifdef HAVE_IEEEFP_H
70604 #include <ieeefp.h>
70605 #endif
70606
70607 int
70608 main ()
70609 {
70610 sqrtl(0);
70611 ;
70612 return 0;
70613 }
70614 _ACEOF
70615 if ac_fn_cxx_try_compile "$LINENO"; then :
70616 glibcxx_cv_func_sqrtl_use=yes
70617 else
70618 glibcxx_cv_func_sqrtl_use=no
70619 fi
70620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70621 ac_ext=c
70622 ac_cpp='$CPP $CPPFLAGS'
70623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70626
70627
70628 fi
70629
70630 fi
70631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70632 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70633
70634 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70635 for ac_func in sqrtl
70636 do :
70637 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70638 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70639 cat >>confdefs.h <<_ACEOF
70640 #define HAVE_SQRTL 1
70641 _ACEOF
70642
70643 fi
70644 done
70645
70646 else
70647
70648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70649 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70650 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70651 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70652 $as_echo_n "(cached) " >&6
70653 else
70654
70655
70656 ac_ext=cpp
70657 ac_cpp='$CXXCPP $CPPFLAGS'
70658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70661
70662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70663 /* end confdefs.h. */
70664 #include <math.h>
70665 #ifdef HAVE_IEEEFP_H
70666 #include <ieeefp.h>
70667 #endif
70668
70669 int
70670 main ()
70671 {
70672 _sqrtl(0);
70673 ;
70674 return 0;
70675 }
70676 _ACEOF
70677 if ac_fn_cxx_try_compile "$LINENO"; then :
70678 glibcxx_cv_func__sqrtl_use=yes
70679 else
70680 glibcxx_cv_func__sqrtl_use=no
70681 fi
70682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70683 ac_ext=c
70684 ac_cpp='$CPP $CPPFLAGS'
70685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70688
70689
70690 fi
70691
70692 fi
70693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70694 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70695
70696 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70697 for ac_func in _sqrtl
70698 do :
70699 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70700 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70701 cat >>confdefs.h <<_ACEOF
70702 #define HAVE__SQRTL 1
70703 _ACEOF
70704
70705 fi
70706 done
70707
70708 fi
70709 fi
70710
70711
70712
70713
70714
70715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70716 $as_echo_n "checking for sincosl declaration... " >&6; }
70717 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70718 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70719 $as_echo_n "(cached) " >&6
70720 else
70721
70722
70723 ac_ext=cpp
70724 ac_cpp='$CXXCPP $CPPFLAGS'
70725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70728
70729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70730 /* end confdefs.h. */
70731 #include <math.h>
70732 int
70733 main ()
70734 {
70735 sincosl(0, 0, 0);
70736 ;
70737 return 0;
70738 }
70739 _ACEOF
70740 if ac_fn_cxx_try_compile "$LINENO"; then :
70741 glibcxx_cv_func_sincosl_use=yes
70742 else
70743 glibcxx_cv_func_sincosl_use=no
70744 fi
70745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70746 ac_ext=c
70747 ac_cpp='$CPP $CPPFLAGS'
70748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70751
70752
70753 fi
70754
70755 fi
70756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70757 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70758
70759 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70760 for ac_func in sincosl
70761 do :
70762 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70763 if test "x$ac_cv_func_sincosl" = x""yes; then :
70764 cat >>confdefs.h <<_ACEOF
70765 #define HAVE_SINCOSL 1
70766 _ACEOF
70767
70768 fi
70769 done
70770
70771 else
70772
70773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70774 $as_echo_n "checking for _sincosl declaration... " >&6; }
70775 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70776 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70777 $as_echo_n "(cached) " >&6
70778 else
70779
70780
70781 ac_ext=cpp
70782 ac_cpp='$CXXCPP $CPPFLAGS'
70783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70786
70787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70788 /* end confdefs.h. */
70789 #include <math.h>
70790 int
70791 main ()
70792 {
70793 _sincosl(0, 0, 0);
70794 ;
70795 return 0;
70796 }
70797 _ACEOF
70798 if ac_fn_cxx_try_compile "$LINENO"; then :
70799 glibcxx_cv_func__sincosl_use=yes
70800 else
70801 glibcxx_cv_func__sincosl_use=no
70802 fi
70803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70804 ac_ext=c
70805 ac_cpp='$CPP $CPPFLAGS'
70806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70809
70810
70811 fi
70812
70813 fi
70814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70815 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70816
70817 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70818 for ac_func in _sincosl
70819 do :
70820 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70821 if test "x$ac_cv_func__sincosl" = x""yes; then :
70822 cat >>confdefs.h <<_ACEOF
70823 #define HAVE__SINCOSL 1
70824 _ACEOF
70825
70826 fi
70827 done
70828
70829 fi
70830 fi
70831
70832
70833
70834
70835
70836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70837 $as_echo_n "checking for finitel declaration... " >&6; }
70838 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70839 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70840 $as_echo_n "(cached) " >&6
70841 else
70842
70843
70844 ac_ext=cpp
70845 ac_cpp='$CXXCPP $CPPFLAGS'
70846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70849
70850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70851 /* end confdefs.h. */
70852 #include <math.h>
70853 #ifdef HAVE_IEEEFP_H
70854 #include <ieeefp.h>
70855 #endif
70856
70857 int
70858 main ()
70859 {
70860 finitel(0);
70861 ;
70862 return 0;
70863 }
70864 _ACEOF
70865 if ac_fn_cxx_try_compile "$LINENO"; then :
70866 glibcxx_cv_func_finitel_use=yes
70867 else
70868 glibcxx_cv_func_finitel_use=no
70869 fi
70870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70871 ac_ext=c
70872 ac_cpp='$CPP $CPPFLAGS'
70873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70876
70877
70878 fi
70879
70880 fi
70881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70882 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70883
70884 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70885 for ac_func in finitel
70886 do :
70887 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70888 if test "x$ac_cv_func_finitel" = x""yes; then :
70889 cat >>confdefs.h <<_ACEOF
70890 #define HAVE_FINITEL 1
70891 _ACEOF
70892
70893 fi
70894 done
70895
70896 else
70897
70898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70899 $as_echo_n "checking for _finitel declaration... " >&6; }
70900 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70901 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70902 $as_echo_n "(cached) " >&6
70903 else
70904
70905
70906 ac_ext=cpp
70907 ac_cpp='$CXXCPP $CPPFLAGS'
70908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70911
70912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70913 /* end confdefs.h. */
70914 #include <math.h>
70915 #ifdef HAVE_IEEEFP_H
70916 #include <ieeefp.h>
70917 #endif
70918
70919 int
70920 main ()
70921 {
70922 _finitel(0);
70923 ;
70924 return 0;
70925 }
70926 _ACEOF
70927 if ac_fn_cxx_try_compile "$LINENO"; then :
70928 glibcxx_cv_func__finitel_use=yes
70929 else
70930 glibcxx_cv_func__finitel_use=no
70931 fi
70932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70933 ac_ext=c
70934 ac_cpp='$CPP $CPPFLAGS'
70935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70938
70939
70940 fi
70941
70942 fi
70943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70944 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70945
70946 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70947 for ac_func in _finitel
70948 do :
70949 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70950 if test "x$ac_cv_func__finitel" = x""yes; then :
70951 cat >>confdefs.h <<_ACEOF
70952 #define HAVE__FINITEL 1
70953 _ACEOF
70954
70955 fi
70956 done
70957
70958 fi
70959 fi
70960
70961
70962
70963
70964 LIBS="$ac_save_LIBS"
70965 CXXFLAGS="$ac_save_CXXFLAGS"
70966
70967
70968 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70969 ac_save_CXXFLAGS="$CXXFLAGS"
70970 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70971
70972
70973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70974 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70975 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70976 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70977 $as_echo_n "(cached) " >&6
70978 else
70979
70980
70981 ac_ext=cpp
70982 ac_cpp='$CXXCPP $CPPFLAGS'
70983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70986
70987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70988 /* end confdefs.h. */
70989 #include <stdlib.h>
70990 int
70991 main ()
70992 {
70993 at_quick_exit(0);
70994 ;
70995 return 0;
70996 }
70997 _ACEOF
70998 if ac_fn_cxx_try_compile "$LINENO"; then :
70999 glibcxx_cv_func_at_quick_exit_use=yes
71000 else
71001 glibcxx_cv_func_at_quick_exit_use=no
71002 fi
71003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71004 ac_ext=c
71005 ac_cpp='$CPP $CPPFLAGS'
71006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71009
71010
71011 fi
71012
71013 fi
71014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71015 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71016 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71017 for ac_func in at_quick_exit
71018 do :
71019 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
71020 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
71021 cat >>confdefs.h <<_ACEOF
71022 #define HAVE_AT_QUICK_EXIT 1
71023 _ACEOF
71024
71025 fi
71026 done
71027
71028 fi
71029
71030
71031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
71032 $as_echo_n "checking for quick_exit declaration... " >&6; }
71033 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
71034 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
71035 $as_echo_n "(cached) " >&6
71036 else
71037
71038
71039 ac_ext=cpp
71040 ac_cpp='$CXXCPP $CPPFLAGS'
71041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71044
71045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71046 /* end confdefs.h. */
71047 #include <stdlib.h>
71048 int
71049 main ()
71050 {
71051 quick_exit(0);
71052 ;
71053 return 0;
71054 }
71055 _ACEOF
71056 if ac_fn_cxx_try_compile "$LINENO"; then :
71057 glibcxx_cv_func_quick_exit_use=yes
71058 else
71059 glibcxx_cv_func_quick_exit_use=no
71060 fi
71061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71062 ac_ext=c
71063 ac_cpp='$CPP $CPPFLAGS'
71064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71067
71068
71069 fi
71070
71071 fi
71072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
71073 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
71074 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
71075 for ac_func in quick_exit
71076 do :
71077 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
71078 if test "x$ac_cv_func_quick_exit" = x""yes; then :
71079 cat >>confdefs.h <<_ACEOF
71080 #define HAVE_QUICK_EXIT 1
71081 _ACEOF
71082
71083 fi
71084 done
71085
71086 fi
71087
71088
71089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
71090 $as_echo_n "checking for strtold declaration... " >&6; }
71091 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
71092 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
71093 $as_echo_n "(cached) " >&6
71094 else
71095
71096
71097 ac_ext=cpp
71098 ac_cpp='$CXXCPP $CPPFLAGS'
71099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71102
71103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71104 /* end confdefs.h. */
71105 #include <stdlib.h>
71106 int
71107 main ()
71108 {
71109 strtold(0, 0);
71110 ;
71111 return 0;
71112 }
71113 _ACEOF
71114 if ac_fn_cxx_try_compile "$LINENO"; then :
71115 glibcxx_cv_func_strtold_use=yes
71116 else
71117 glibcxx_cv_func_strtold_use=no
71118 fi
71119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71120 ac_ext=c
71121 ac_cpp='$CPP $CPPFLAGS'
71122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71125
71126
71127 fi
71128
71129 fi
71130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
71131 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
71132 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
71133 for ac_func in strtold
71134 do :
71135 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71136 if test "x$ac_cv_func_strtold" = x""yes; then :
71137 cat >>confdefs.h <<_ACEOF
71138 #define HAVE_STRTOLD 1
71139 _ACEOF
71140
71141 fi
71142 done
71143
71144 fi
71145
71146
71147
71148
71149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71150 $as_echo_n "checking for strtof declaration... " >&6; }
71151 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71152 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71153 $as_echo_n "(cached) " >&6
71154 else
71155
71156
71157 ac_ext=cpp
71158 ac_cpp='$CXXCPP $CPPFLAGS'
71159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71162
71163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71164 /* end confdefs.h. */
71165 #include <stdlib.h>
71166 int
71167 main ()
71168 {
71169 strtof(0, 0);
71170 ;
71171 return 0;
71172 }
71173 _ACEOF
71174 if ac_fn_cxx_try_compile "$LINENO"; then :
71175 glibcxx_cv_func_strtof_use=yes
71176 else
71177 glibcxx_cv_func_strtof_use=no
71178 fi
71179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71180 ac_ext=c
71181 ac_cpp='$CPP $CPPFLAGS'
71182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71185
71186
71187 fi
71188
71189 fi
71190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71191 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71192 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71193 for ac_func in strtof
71194 do :
71195 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71196 if test "x$ac_cv_func_strtof" = x""yes; then :
71197 cat >>confdefs.h <<_ACEOF
71198 #define HAVE_STRTOF 1
71199 _ACEOF
71200
71201 fi
71202 done
71203
71204 fi
71205
71206
71207
71208
71209 CXXFLAGS="$ac_save_CXXFLAGS"
71210
71211 ;;
71212 *-solaris*)
71213
71214 # If we're not using GNU ld, then there's no point in even trying these
71215 # tests. Check for that first. We should have already tested for gld
71216 # by now (in libtool), but require it now just to be safe...
71217 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71218 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71219
71220
71221
71222 # The name set by libtool depends on the version of libtool. Shame on us
71223 # for depending on an impl detail, but c'est la vie. Older versions used
71224 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71225 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71226 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71227 # set (hence we're using an older libtool), then set it.
71228 if test x${with_gnu_ld+set} != xset; then
71229 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71230 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71231 with_gnu_ld=no
71232 else
71233 with_gnu_ld=$ac_cv_prog_gnu_ld
71234 fi
71235 fi
71236
71237 # Start by getting the version number. I think the libtool test already
71238 # does some of this, but throws away the result.
71239 glibcxx_ld_is_gold=no
71240 if test x"$with_gnu_ld" = x"yes"; then
71241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71242 $as_echo_n "checking for ld version... " >&6; }
71243
71244 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71245 glibcxx_ld_is_gold=yes
71246 fi
71247 ldver=`$LD --version 2>/dev/null |
71248 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'`
71249
71250 glibcxx_gnu_ld_version=`echo $ldver | \
71251 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71253 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71254 fi
71255
71256 # Set --gc-sections.
71257 glibcxx_have_gc_sections=no
71258 if test "$glibcxx_ld_is_gold" = "yes"; then
71259 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71260 glibcxx_have_gc_sections=yes
71261 fi
71262 else
71263 glibcxx_gcsections_min_ld=21602
71264 if test x"$with_gnu_ld" = x"yes" &&
71265 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71266 glibcxx_have_gc_sections=yes
71267 fi
71268 fi
71269 if test "$glibcxx_have_gc_sections" = "yes"; then
71270 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71271 # NB: This flag only works reliably after 2.16.1. Configure tests
71272 # for this are difficult, so hard wire a value that should work.
71273
71274 ac_test_CFLAGS="${CFLAGS+set}"
71275 ac_save_CFLAGS="$CFLAGS"
71276 CFLAGS='-Wl,--gc-sections'
71277
71278 # Check for -Wl,--gc-sections
71279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71280 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71281 if test x$gcc_no_link = xyes; then
71282 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71283 fi
71284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71285 /* end confdefs.h. */
71286 int one(void) { return 1; }
71287 int two(void) { return 2; }
71288
71289 int
71290 main ()
71291 {
71292 two();
71293 ;
71294 return 0;
71295 }
71296 _ACEOF
71297 if ac_fn_c_try_link "$LINENO"; then :
71298 ac_gcsections=yes
71299 else
71300 ac_gcsections=no
71301 fi
71302 rm -f core conftest.err conftest.$ac_objext \
71303 conftest$ac_exeext conftest.$ac_ext
71304 if test "$ac_gcsections" = "yes"; then
71305 rm -f conftest.c
71306 touch conftest.c
71307 if $CC -c conftest.c; then
71308 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71309 grep "Warning: gc-sections option ignored" > /dev/null; then
71310 ac_gcsections=no
71311 fi
71312 fi
71313 rm -f conftest.c conftest.o conftest
71314 fi
71315 if test "$ac_gcsections" = "yes"; then
71316 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71317 fi
71318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71319 $as_echo "$ac_gcsections" >&6; }
71320
71321 if test "$ac_test_CFLAGS" = set; then
71322 CFLAGS="$ac_save_CFLAGS"
71323 else
71324 # this is the suspicious part
71325 CFLAGS=''
71326 fi
71327 fi
71328
71329 # Set -z,relro.
71330 # Note this is only for shared objects.
71331 ac_ld_relro=no
71332 if test x"$with_gnu_ld" = x"yes"; then
71333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71334 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71335 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71336 if test -n "$cxx_z_relo"; then
71337 OPT_LDFLAGS="-Wl,-z,relro"
71338 ac_ld_relro=yes
71339 fi
71340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71341 $as_echo "$ac_ld_relro" >&6; }
71342 fi
71343
71344 # Set linker optimization flags.
71345 if test x"$with_gnu_ld" = x"yes"; then
71346 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71347 fi
71348
71349
71350
71351
71352 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71353
71354 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71355
71356 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71357
71358 # All of the dependencies for wide character support are here, so
71359 # turn it on.
71360 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71361
71362 # These two C99 functions are present only in Solaris >= 10
71363 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71364
71365 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71366
71367 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71368
71369 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71370
71371 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71372
71373 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71374
71375 ;;
71376 *-tpf)
71377 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71378 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71379
71380 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71381
71382 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71383
71384 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71385
71386 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71387
71388 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71389
71390 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71391
71392 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71393
71394 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71395
71396 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71397
71398 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71399
71400 if test x"long_double_math_on_this_cpu" = x"yes"; then
71401 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71402
71403 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71404
71405 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71406
71407 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71408
71409 fi
71410 ;;
71411 *-*vms*)
71412 # Check for available headers.
71413 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71414
71415 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71416 ac_save_CXXFLAGS="$CXXFLAGS"
71417 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71418
71419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71420 $as_echo_n "checking for sin in -lm... " >&6; }
71421 if test "${ac_cv_lib_m_sin+set}" = set; then :
71422 $as_echo_n "(cached) " >&6
71423 else
71424 ac_check_lib_save_LIBS=$LIBS
71425 LIBS="-lm $LIBS"
71426 if test x$gcc_no_link = xyes; then
71427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71428 fi
71429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71430 /* end confdefs.h. */
71431
71432 /* Override any GCC internal prototype to avoid an error.
71433 Use char because int might match the return type of a GCC
71434 builtin and then its argument prototype would still apply. */
71435 #ifdef __cplusplus
71436 extern "C"
71437 #endif
71438 char sin ();
71439 int
71440 main ()
71441 {
71442 return sin ();
71443 ;
71444 return 0;
71445 }
71446 _ACEOF
71447 if ac_fn_c_try_link "$LINENO"; then :
71448 ac_cv_lib_m_sin=yes
71449 else
71450 ac_cv_lib_m_sin=no
71451 fi
71452 rm -f core conftest.err conftest.$ac_objext \
71453 conftest$ac_exeext conftest.$ac_ext
71454 LIBS=$ac_check_lib_save_LIBS
71455 fi
71456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71457 $as_echo "$ac_cv_lib_m_sin" >&6; }
71458 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71459 libm="-lm"
71460 fi
71461
71462 ac_save_LIBS="$LIBS"
71463 LIBS="$LIBS $libm"
71464
71465
71466
71467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71468 $as_echo_n "checking for isinf declaration... " >&6; }
71469 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71470 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71471 $as_echo_n "(cached) " >&6
71472 else
71473
71474
71475 ac_ext=cpp
71476 ac_cpp='$CXXCPP $CPPFLAGS'
71477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71480
71481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71482 /* end confdefs.h. */
71483 #include <math.h>
71484 #ifdef HAVE_IEEEFP_H
71485 #include <ieeefp.h>
71486 #endif
71487
71488 int
71489 main ()
71490 {
71491 isinf(0);
71492 ;
71493 return 0;
71494 }
71495 _ACEOF
71496 if ac_fn_cxx_try_compile "$LINENO"; then :
71497 glibcxx_cv_func_isinf_use=yes
71498 else
71499 glibcxx_cv_func_isinf_use=no
71500 fi
71501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71502 ac_ext=c
71503 ac_cpp='$CPP $CPPFLAGS'
71504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71507
71508
71509 fi
71510
71511 fi
71512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71513 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71514
71515 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71516 for ac_func in isinf
71517 do :
71518 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71519 if test "x$ac_cv_func_isinf" = x""yes; then :
71520 cat >>confdefs.h <<_ACEOF
71521 #define HAVE_ISINF 1
71522 _ACEOF
71523
71524 fi
71525 done
71526
71527 else
71528
71529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71530 $as_echo_n "checking for _isinf declaration... " >&6; }
71531 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71532 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71533 $as_echo_n "(cached) " >&6
71534 else
71535
71536
71537 ac_ext=cpp
71538 ac_cpp='$CXXCPP $CPPFLAGS'
71539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71542
71543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71544 /* end confdefs.h. */
71545 #include <math.h>
71546 #ifdef HAVE_IEEEFP_H
71547 #include <ieeefp.h>
71548 #endif
71549
71550 int
71551 main ()
71552 {
71553 _isinf(0);
71554 ;
71555 return 0;
71556 }
71557 _ACEOF
71558 if ac_fn_cxx_try_compile "$LINENO"; then :
71559 glibcxx_cv_func__isinf_use=yes
71560 else
71561 glibcxx_cv_func__isinf_use=no
71562 fi
71563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71564 ac_ext=c
71565 ac_cpp='$CPP $CPPFLAGS'
71566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71569
71570
71571 fi
71572
71573 fi
71574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71575 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71576
71577 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71578 for ac_func in _isinf
71579 do :
71580 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71581 if test "x$ac_cv_func__isinf" = x""yes; then :
71582 cat >>confdefs.h <<_ACEOF
71583 #define HAVE__ISINF 1
71584 _ACEOF
71585
71586 fi
71587 done
71588
71589 fi
71590 fi
71591
71592
71593
71594
71595
71596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71597 $as_echo_n "checking for isnan declaration... " >&6; }
71598 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71599 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71600 $as_echo_n "(cached) " >&6
71601 else
71602
71603
71604 ac_ext=cpp
71605 ac_cpp='$CXXCPP $CPPFLAGS'
71606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71609
71610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71611 /* end confdefs.h. */
71612 #include <math.h>
71613 #ifdef HAVE_IEEEFP_H
71614 #include <ieeefp.h>
71615 #endif
71616
71617 int
71618 main ()
71619 {
71620 isnan(0);
71621 ;
71622 return 0;
71623 }
71624 _ACEOF
71625 if ac_fn_cxx_try_compile "$LINENO"; then :
71626 glibcxx_cv_func_isnan_use=yes
71627 else
71628 glibcxx_cv_func_isnan_use=no
71629 fi
71630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71631 ac_ext=c
71632 ac_cpp='$CPP $CPPFLAGS'
71633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71636
71637
71638 fi
71639
71640 fi
71641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71642 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71643
71644 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71645 for ac_func in isnan
71646 do :
71647 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71648 if test "x$ac_cv_func_isnan" = x""yes; then :
71649 cat >>confdefs.h <<_ACEOF
71650 #define HAVE_ISNAN 1
71651 _ACEOF
71652
71653 fi
71654 done
71655
71656 else
71657
71658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71659 $as_echo_n "checking for _isnan declaration... " >&6; }
71660 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71661 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71662 $as_echo_n "(cached) " >&6
71663 else
71664
71665
71666 ac_ext=cpp
71667 ac_cpp='$CXXCPP $CPPFLAGS'
71668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71671
71672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71673 /* end confdefs.h. */
71674 #include <math.h>
71675 #ifdef HAVE_IEEEFP_H
71676 #include <ieeefp.h>
71677 #endif
71678
71679 int
71680 main ()
71681 {
71682 _isnan(0);
71683 ;
71684 return 0;
71685 }
71686 _ACEOF
71687 if ac_fn_cxx_try_compile "$LINENO"; then :
71688 glibcxx_cv_func__isnan_use=yes
71689 else
71690 glibcxx_cv_func__isnan_use=no
71691 fi
71692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71693 ac_ext=c
71694 ac_cpp='$CPP $CPPFLAGS'
71695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71698
71699
71700 fi
71701
71702 fi
71703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71704 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71705
71706 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71707 for ac_func in _isnan
71708 do :
71709 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71710 if test "x$ac_cv_func__isnan" = x""yes; then :
71711 cat >>confdefs.h <<_ACEOF
71712 #define HAVE__ISNAN 1
71713 _ACEOF
71714
71715 fi
71716 done
71717
71718 fi
71719 fi
71720
71721
71722
71723
71724
71725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71726 $as_echo_n "checking for finite declaration... " >&6; }
71727 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71728 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71729 $as_echo_n "(cached) " >&6
71730 else
71731
71732
71733 ac_ext=cpp
71734 ac_cpp='$CXXCPP $CPPFLAGS'
71735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71738
71739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71740 /* end confdefs.h. */
71741 #include <math.h>
71742 #ifdef HAVE_IEEEFP_H
71743 #include <ieeefp.h>
71744 #endif
71745
71746 int
71747 main ()
71748 {
71749 finite(0);
71750 ;
71751 return 0;
71752 }
71753 _ACEOF
71754 if ac_fn_cxx_try_compile "$LINENO"; then :
71755 glibcxx_cv_func_finite_use=yes
71756 else
71757 glibcxx_cv_func_finite_use=no
71758 fi
71759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71760 ac_ext=c
71761 ac_cpp='$CPP $CPPFLAGS'
71762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71765
71766
71767 fi
71768
71769 fi
71770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71771 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71772
71773 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71774 for ac_func in finite
71775 do :
71776 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71777 if test "x$ac_cv_func_finite" = x""yes; then :
71778 cat >>confdefs.h <<_ACEOF
71779 #define HAVE_FINITE 1
71780 _ACEOF
71781
71782 fi
71783 done
71784
71785 else
71786
71787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71788 $as_echo_n "checking for _finite declaration... " >&6; }
71789 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71790 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71791 $as_echo_n "(cached) " >&6
71792 else
71793
71794
71795 ac_ext=cpp
71796 ac_cpp='$CXXCPP $CPPFLAGS'
71797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71800
71801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71802 /* end confdefs.h. */
71803 #include <math.h>
71804 #ifdef HAVE_IEEEFP_H
71805 #include <ieeefp.h>
71806 #endif
71807
71808 int
71809 main ()
71810 {
71811 _finite(0);
71812 ;
71813 return 0;
71814 }
71815 _ACEOF
71816 if ac_fn_cxx_try_compile "$LINENO"; then :
71817 glibcxx_cv_func__finite_use=yes
71818 else
71819 glibcxx_cv_func__finite_use=no
71820 fi
71821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71822 ac_ext=c
71823 ac_cpp='$CPP $CPPFLAGS'
71824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71827
71828
71829 fi
71830
71831 fi
71832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71833 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71834
71835 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71836 for ac_func in _finite
71837 do :
71838 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71839 if test "x$ac_cv_func__finite" = x""yes; then :
71840 cat >>confdefs.h <<_ACEOF
71841 #define HAVE__FINITE 1
71842 _ACEOF
71843
71844 fi
71845 done
71846
71847 fi
71848 fi
71849
71850
71851
71852
71853
71854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71855 $as_echo_n "checking for sincos declaration... " >&6; }
71856 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71857 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71858 $as_echo_n "(cached) " >&6
71859 else
71860
71861
71862 ac_ext=cpp
71863 ac_cpp='$CXXCPP $CPPFLAGS'
71864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71867
71868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71869 /* end confdefs.h. */
71870 #include <math.h>
71871 int
71872 main ()
71873 {
71874 sincos(0, 0, 0);
71875 ;
71876 return 0;
71877 }
71878 _ACEOF
71879 if ac_fn_cxx_try_compile "$LINENO"; then :
71880 glibcxx_cv_func_sincos_use=yes
71881 else
71882 glibcxx_cv_func_sincos_use=no
71883 fi
71884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71885 ac_ext=c
71886 ac_cpp='$CPP $CPPFLAGS'
71887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71890
71891
71892 fi
71893
71894 fi
71895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71896 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71897
71898 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71899 for ac_func in sincos
71900 do :
71901 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71902 if test "x$ac_cv_func_sincos" = x""yes; then :
71903 cat >>confdefs.h <<_ACEOF
71904 #define HAVE_SINCOS 1
71905 _ACEOF
71906
71907 fi
71908 done
71909
71910 else
71911
71912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71913 $as_echo_n "checking for _sincos declaration... " >&6; }
71914 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71915 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71916 $as_echo_n "(cached) " >&6
71917 else
71918
71919
71920 ac_ext=cpp
71921 ac_cpp='$CXXCPP $CPPFLAGS'
71922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71925
71926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71927 /* end confdefs.h. */
71928 #include <math.h>
71929 int
71930 main ()
71931 {
71932 _sincos(0, 0, 0);
71933 ;
71934 return 0;
71935 }
71936 _ACEOF
71937 if ac_fn_cxx_try_compile "$LINENO"; then :
71938 glibcxx_cv_func__sincos_use=yes
71939 else
71940 glibcxx_cv_func__sincos_use=no
71941 fi
71942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71943 ac_ext=c
71944 ac_cpp='$CPP $CPPFLAGS'
71945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71948
71949
71950 fi
71951
71952 fi
71953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71954 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71955
71956 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71957 for ac_func in _sincos
71958 do :
71959 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71960 if test "x$ac_cv_func__sincos" = x""yes; then :
71961 cat >>confdefs.h <<_ACEOF
71962 #define HAVE__SINCOS 1
71963 _ACEOF
71964
71965 fi
71966 done
71967
71968 fi
71969 fi
71970
71971
71972
71973
71974
71975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71976 $as_echo_n "checking for fpclass declaration... " >&6; }
71977 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71978 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71979 $as_echo_n "(cached) " >&6
71980 else
71981
71982
71983 ac_ext=cpp
71984 ac_cpp='$CXXCPP $CPPFLAGS'
71985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71988
71989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71990 /* end confdefs.h. */
71991 #include <math.h>
71992 #ifdef HAVE_IEEEFP_H
71993 #include <ieeefp.h>
71994 #endif
71995
71996 int
71997 main ()
71998 {
71999 fpclass(0);
72000 ;
72001 return 0;
72002 }
72003 _ACEOF
72004 if ac_fn_cxx_try_compile "$LINENO"; then :
72005 glibcxx_cv_func_fpclass_use=yes
72006 else
72007 glibcxx_cv_func_fpclass_use=no
72008 fi
72009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72010 ac_ext=c
72011 ac_cpp='$CPP $CPPFLAGS'
72012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72015
72016
72017 fi
72018
72019 fi
72020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
72021 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
72022
72023 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
72024 for ac_func in fpclass
72025 do :
72026 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
72027 if test "x$ac_cv_func_fpclass" = x""yes; then :
72028 cat >>confdefs.h <<_ACEOF
72029 #define HAVE_FPCLASS 1
72030 _ACEOF
72031
72032 fi
72033 done
72034
72035 else
72036
72037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
72038 $as_echo_n "checking for _fpclass declaration... " >&6; }
72039 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
72040 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
72041 $as_echo_n "(cached) " >&6
72042 else
72043
72044
72045 ac_ext=cpp
72046 ac_cpp='$CXXCPP $CPPFLAGS'
72047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72050
72051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72052 /* end confdefs.h. */
72053 #include <math.h>
72054 #ifdef HAVE_IEEEFP_H
72055 #include <ieeefp.h>
72056 #endif
72057
72058 int
72059 main ()
72060 {
72061 _fpclass(0);
72062 ;
72063 return 0;
72064 }
72065 _ACEOF
72066 if ac_fn_cxx_try_compile "$LINENO"; then :
72067 glibcxx_cv_func__fpclass_use=yes
72068 else
72069 glibcxx_cv_func__fpclass_use=no
72070 fi
72071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72072 ac_ext=c
72073 ac_cpp='$CPP $CPPFLAGS'
72074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72077
72078
72079 fi
72080
72081 fi
72082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
72083 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
72084
72085 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
72086 for ac_func in _fpclass
72087 do :
72088 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
72089 if test "x$ac_cv_func__fpclass" = x""yes; then :
72090 cat >>confdefs.h <<_ACEOF
72091 #define HAVE__FPCLASS 1
72092 _ACEOF
72093
72094 fi
72095 done
72096
72097 fi
72098 fi
72099
72100
72101
72102
72103
72104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
72105 $as_echo_n "checking for qfpclass declaration... " >&6; }
72106 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
72107 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
72108 $as_echo_n "(cached) " >&6
72109 else
72110
72111
72112 ac_ext=cpp
72113 ac_cpp='$CXXCPP $CPPFLAGS'
72114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72117
72118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72119 /* end confdefs.h. */
72120 #include <math.h>
72121 #ifdef HAVE_IEEEFP_H
72122 #include <ieeefp.h>
72123 #endif
72124
72125 int
72126 main ()
72127 {
72128 qfpclass(0);
72129 ;
72130 return 0;
72131 }
72132 _ACEOF
72133 if ac_fn_cxx_try_compile "$LINENO"; then :
72134 glibcxx_cv_func_qfpclass_use=yes
72135 else
72136 glibcxx_cv_func_qfpclass_use=no
72137 fi
72138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72139 ac_ext=c
72140 ac_cpp='$CPP $CPPFLAGS'
72141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72144
72145
72146 fi
72147
72148 fi
72149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72150 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72151
72152 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72153 for ac_func in qfpclass
72154 do :
72155 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72156 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72157 cat >>confdefs.h <<_ACEOF
72158 #define HAVE_QFPCLASS 1
72159 _ACEOF
72160
72161 fi
72162 done
72163
72164 else
72165
72166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72167 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72168 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72169 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72170 $as_echo_n "(cached) " >&6
72171 else
72172
72173
72174 ac_ext=cpp
72175 ac_cpp='$CXXCPP $CPPFLAGS'
72176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72179
72180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72181 /* end confdefs.h. */
72182 #include <math.h>
72183 #ifdef HAVE_IEEEFP_H
72184 #include <ieeefp.h>
72185 #endif
72186
72187 int
72188 main ()
72189 {
72190 _qfpclass(0);
72191 ;
72192 return 0;
72193 }
72194 _ACEOF
72195 if ac_fn_cxx_try_compile "$LINENO"; then :
72196 glibcxx_cv_func__qfpclass_use=yes
72197 else
72198 glibcxx_cv_func__qfpclass_use=no
72199 fi
72200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72201 ac_ext=c
72202 ac_cpp='$CPP $CPPFLAGS'
72203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72206
72207
72208 fi
72209
72210 fi
72211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72212 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72213
72214 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72215 for ac_func in _qfpclass
72216 do :
72217 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72218 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72219 cat >>confdefs.h <<_ACEOF
72220 #define HAVE__QFPCLASS 1
72221 _ACEOF
72222
72223 fi
72224 done
72225
72226 fi
72227 fi
72228
72229
72230
72231
72232
72233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72234 $as_echo_n "checking for hypot declaration... " >&6; }
72235 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72236 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72237 $as_echo_n "(cached) " >&6
72238 else
72239
72240
72241 ac_ext=cpp
72242 ac_cpp='$CXXCPP $CPPFLAGS'
72243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72246
72247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72248 /* end confdefs.h. */
72249 #include <math.h>
72250 int
72251 main ()
72252 {
72253 hypot(0, 0);
72254 ;
72255 return 0;
72256 }
72257 _ACEOF
72258 if ac_fn_cxx_try_compile "$LINENO"; then :
72259 glibcxx_cv_func_hypot_use=yes
72260 else
72261 glibcxx_cv_func_hypot_use=no
72262 fi
72263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72264 ac_ext=c
72265 ac_cpp='$CPP $CPPFLAGS'
72266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72269
72270
72271 fi
72272
72273 fi
72274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72275 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72276
72277 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72278 for ac_func in hypot
72279 do :
72280 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72281 if test "x$ac_cv_func_hypot" = x""yes; then :
72282 cat >>confdefs.h <<_ACEOF
72283 #define HAVE_HYPOT 1
72284 _ACEOF
72285
72286 fi
72287 done
72288
72289 else
72290
72291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72292 $as_echo_n "checking for _hypot declaration... " >&6; }
72293 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72294 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72295 $as_echo_n "(cached) " >&6
72296 else
72297
72298
72299 ac_ext=cpp
72300 ac_cpp='$CXXCPP $CPPFLAGS'
72301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72304
72305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72306 /* end confdefs.h. */
72307 #include <math.h>
72308 int
72309 main ()
72310 {
72311 _hypot(0, 0);
72312 ;
72313 return 0;
72314 }
72315 _ACEOF
72316 if ac_fn_cxx_try_compile "$LINENO"; then :
72317 glibcxx_cv_func__hypot_use=yes
72318 else
72319 glibcxx_cv_func__hypot_use=no
72320 fi
72321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72322 ac_ext=c
72323 ac_cpp='$CPP $CPPFLAGS'
72324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72327
72328
72329 fi
72330
72331 fi
72332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72333 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72334
72335 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72336 for ac_func in _hypot
72337 do :
72338 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72339 if test "x$ac_cv_func__hypot" = x""yes; then :
72340 cat >>confdefs.h <<_ACEOF
72341 #define HAVE__HYPOT 1
72342 _ACEOF
72343
72344 fi
72345 done
72346
72347 fi
72348 fi
72349
72350
72351
72352
72353
72354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72355 $as_echo_n "checking for float trig functions... " >&6; }
72356 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72357 $as_echo_n "(cached) " >&6
72358 else
72359
72360
72361 ac_ext=cpp
72362 ac_cpp='$CXXCPP $CPPFLAGS'
72363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72366
72367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72368 /* end confdefs.h. */
72369 #include <math.h>
72370 int
72371 main ()
72372 {
72373 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72374 ;
72375 return 0;
72376 }
72377 _ACEOF
72378 if ac_fn_cxx_try_compile "$LINENO"; then :
72379 glibcxx_cv_func_float_trig_use=yes
72380 else
72381 glibcxx_cv_func_float_trig_use=no
72382 fi
72383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72384 ac_ext=c
72385 ac_cpp='$CPP $CPPFLAGS'
72386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72389
72390 fi
72391
72392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72393 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72394 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72395 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72396 do :
72397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72399 eval as_val=\$$as_ac_var
72400 if test "x$as_val" = x""yes; then :
72401 cat >>confdefs.h <<_ACEOF
72402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72403 _ACEOF
72404
72405 fi
72406 done
72407
72408 else
72409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72410 $as_echo_n "checking for _float trig functions... " >&6; }
72411 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72412 $as_echo_n "(cached) " >&6
72413 else
72414
72415
72416 ac_ext=cpp
72417 ac_cpp='$CXXCPP $CPPFLAGS'
72418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72421
72422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72423 /* end confdefs.h. */
72424 #include <math.h>
72425 int
72426 main ()
72427 {
72428 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72429 ;
72430 return 0;
72431 }
72432 _ACEOF
72433 if ac_fn_cxx_try_compile "$LINENO"; then :
72434 glibcxx_cv_func__float_trig_use=yes
72435 else
72436 glibcxx_cv_func__float_trig_use=no
72437 fi
72438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72439 ac_ext=c
72440 ac_cpp='$CPP $CPPFLAGS'
72441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72444
72445 fi
72446
72447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72448 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72449 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72450 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72451 do :
72452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72454 eval as_val=\$$as_ac_var
72455 if test "x$as_val" = x""yes; then :
72456 cat >>confdefs.h <<_ACEOF
72457 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72458 _ACEOF
72459
72460 fi
72461 done
72462
72463 fi
72464 fi
72465
72466
72467
72468
72469
72470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72471 $as_echo_n "checking for float round functions... " >&6; }
72472 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72473 $as_echo_n "(cached) " >&6
72474 else
72475
72476
72477 ac_ext=cpp
72478 ac_cpp='$CXXCPP $CPPFLAGS'
72479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72482
72483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72484 /* end confdefs.h. */
72485 #include <math.h>
72486 int
72487 main ()
72488 {
72489 ceilf (0); floorf (0);
72490 ;
72491 return 0;
72492 }
72493 _ACEOF
72494 if ac_fn_cxx_try_compile "$LINENO"; then :
72495 glibcxx_cv_func_float_round_use=yes
72496 else
72497 glibcxx_cv_func_float_round_use=no
72498 fi
72499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72500 ac_ext=c
72501 ac_cpp='$CPP $CPPFLAGS'
72502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72505
72506 fi
72507
72508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72509 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72510 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72511 for ac_func in ceilf floorf
72512 do :
72513 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72514 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72515 eval as_val=\$$as_ac_var
72516 if test "x$as_val" = x""yes; then :
72517 cat >>confdefs.h <<_ACEOF
72518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72519 _ACEOF
72520
72521 fi
72522 done
72523
72524 else
72525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72526 $as_echo_n "checking for _float round functions... " >&6; }
72527 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72528 $as_echo_n "(cached) " >&6
72529 else
72530
72531
72532 ac_ext=cpp
72533 ac_cpp='$CXXCPP $CPPFLAGS'
72534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72537
72538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72539 /* end confdefs.h. */
72540 #include <math.h>
72541 int
72542 main ()
72543 {
72544 _ceilf (0); _floorf (0);
72545 ;
72546 return 0;
72547 }
72548 _ACEOF
72549 if ac_fn_cxx_try_compile "$LINENO"; then :
72550 glibcxx_cv_func__float_round_use=yes
72551 else
72552 glibcxx_cv_func__float_round_use=no
72553 fi
72554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72555 ac_ext=c
72556 ac_cpp='$CPP $CPPFLAGS'
72557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72560
72561 fi
72562
72563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72564 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72565 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72566 for ac_func in _ceilf _floorf
72567 do :
72568 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72569 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72570 eval as_val=\$$as_ac_var
72571 if test "x$as_val" = x""yes; then :
72572 cat >>confdefs.h <<_ACEOF
72573 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72574 _ACEOF
72575
72576 fi
72577 done
72578
72579 fi
72580 fi
72581
72582
72583
72584
72585
72586
72587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72588 $as_echo_n "checking for expf declaration... " >&6; }
72589 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72590 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72591 $as_echo_n "(cached) " >&6
72592 else
72593
72594
72595 ac_ext=cpp
72596 ac_cpp='$CXXCPP $CPPFLAGS'
72597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72600
72601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72602 /* end confdefs.h. */
72603 #include <math.h>
72604 #ifdef HAVE_IEEEFP_H
72605 #include <ieeefp.h>
72606 #endif
72607
72608 int
72609 main ()
72610 {
72611 expf(0);
72612 ;
72613 return 0;
72614 }
72615 _ACEOF
72616 if ac_fn_cxx_try_compile "$LINENO"; then :
72617 glibcxx_cv_func_expf_use=yes
72618 else
72619 glibcxx_cv_func_expf_use=no
72620 fi
72621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72622 ac_ext=c
72623 ac_cpp='$CPP $CPPFLAGS'
72624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72627
72628
72629 fi
72630
72631 fi
72632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72633 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72634
72635 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72636 for ac_func in expf
72637 do :
72638 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72639 if test "x$ac_cv_func_expf" = x""yes; then :
72640 cat >>confdefs.h <<_ACEOF
72641 #define HAVE_EXPF 1
72642 _ACEOF
72643
72644 fi
72645 done
72646
72647 else
72648
72649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72650 $as_echo_n "checking for _expf declaration... " >&6; }
72651 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72652 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72653 $as_echo_n "(cached) " >&6
72654 else
72655
72656
72657 ac_ext=cpp
72658 ac_cpp='$CXXCPP $CPPFLAGS'
72659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72662
72663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72664 /* end confdefs.h. */
72665 #include <math.h>
72666 #ifdef HAVE_IEEEFP_H
72667 #include <ieeefp.h>
72668 #endif
72669
72670 int
72671 main ()
72672 {
72673 _expf(0);
72674 ;
72675 return 0;
72676 }
72677 _ACEOF
72678 if ac_fn_cxx_try_compile "$LINENO"; then :
72679 glibcxx_cv_func__expf_use=yes
72680 else
72681 glibcxx_cv_func__expf_use=no
72682 fi
72683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72684 ac_ext=c
72685 ac_cpp='$CPP $CPPFLAGS'
72686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72689
72690
72691 fi
72692
72693 fi
72694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72695 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72696
72697 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72698 for ac_func in _expf
72699 do :
72700 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72701 if test "x$ac_cv_func__expf" = x""yes; then :
72702 cat >>confdefs.h <<_ACEOF
72703 #define HAVE__EXPF 1
72704 _ACEOF
72705
72706 fi
72707 done
72708
72709 fi
72710 fi
72711
72712
72713
72714
72715
72716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72717 $as_echo_n "checking for isnanf declaration... " >&6; }
72718 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72719 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72720 $as_echo_n "(cached) " >&6
72721 else
72722
72723
72724 ac_ext=cpp
72725 ac_cpp='$CXXCPP $CPPFLAGS'
72726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72729
72730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72731 /* end confdefs.h. */
72732 #include <math.h>
72733 #ifdef HAVE_IEEEFP_H
72734 #include <ieeefp.h>
72735 #endif
72736
72737 int
72738 main ()
72739 {
72740 isnanf(0);
72741 ;
72742 return 0;
72743 }
72744 _ACEOF
72745 if ac_fn_cxx_try_compile "$LINENO"; then :
72746 glibcxx_cv_func_isnanf_use=yes
72747 else
72748 glibcxx_cv_func_isnanf_use=no
72749 fi
72750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72751 ac_ext=c
72752 ac_cpp='$CPP $CPPFLAGS'
72753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72756
72757
72758 fi
72759
72760 fi
72761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72762 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72763
72764 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72765 for ac_func in isnanf
72766 do :
72767 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72768 if test "x$ac_cv_func_isnanf" = x""yes; then :
72769 cat >>confdefs.h <<_ACEOF
72770 #define HAVE_ISNANF 1
72771 _ACEOF
72772
72773 fi
72774 done
72775
72776 else
72777
72778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72779 $as_echo_n "checking for _isnanf declaration... " >&6; }
72780 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72781 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72782 $as_echo_n "(cached) " >&6
72783 else
72784
72785
72786 ac_ext=cpp
72787 ac_cpp='$CXXCPP $CPPFLAGS'
72788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72791
72792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72793 /* end confdefs.h. */
72794 #include <math.h>
72795 #ifdef HAVE_IEEEFP_H
72796 #include <ieeefp.h>
72797 #endif
72798
72799 int
72800 main ()
72801 {
72802 _isnanf(0);
72803 ;
72804 return 0;
72805 }
72806 _ACEOF
72807 if ac_fn_cxx_try_compile "$LINENO"; then :
72808 glibcxx_cv_func__isnanf_use=yes
72809 else
72810 glibcxx_cv_func__isnanf_use=no
72811 fi
72812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72813 ac_ext=c
72814 ac_cpp='$CPP $CPPFLAGS'
72815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72818
72819
72820 fi
72821
72822 fi
72823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72824 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72825
72826 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72827 for ac_func in _isnanf
72828 do :
72829 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72830 if test "x$ac_cv_func__isnanf" = x""yes; then :
72831 cat >>confdefs.h <<_ACEOF
72832 #define HAVE__ISNANF 1
72833 _ACEOF
72834
72835 fi
72836 done
72837
72838 fi
72839 fi
72840
72841
72842
72843
72844
72845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72846 $as_echo_n "checking for isinff declaration... " >&6; }
72847 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72848 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72849 $as_echo_n "(cached) " >&6
72850 else
72851
72852
72853 ac_ext=cpp
72854 ac_cpp='$CXXCPP $CPPFLAGS'
72855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72858
72859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72860 /* end confdefs.h. */
72861 #include <math.h>
72862 #ifdef HAVE_IEEEFP_H
72863 #include <ieeefp.h>
72864 #endif
72865
72866 int
72867 main ()
72868 {
72869 isinff(0);
72870 ;
72871 return 0;
72872 }
72873 _ACEOF
72874 if ac_fn_cxx_try_compile "$LINENO"; then :
72875 glibcxx_cv_func_isinff_use=yes
72876 else
72877 glibcxx_cv_func_isinff_use=no
72878 fi
72879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72880 ac_ext=c
72881 ac_cpp='$CPP $CPPFLAGS'
72882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72885
72886
72887 fi
72888
72889 fi
72890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72891 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72892
72893 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72894 for ac_func in isinff
72895 do :
72896 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72897 if test "x$ac_cv_func_isinff" = x""yes; then :
72898 cat >>confdefs.h <<_ACEOF
72899 #define HAVE_ISINFF 1
72900 _ACEOF
72901
72902 fi
72903 done
72904
72905 else
72906
72907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72908 $as_echo_n "checking for _isinff declaration... " >&6; }
72909 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72910 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72911 $as_echo_n "(cached) " >&6
72912 else
72913
72914
72915 ac_ext=cpp
72916 ac_cpp='$CXXCPP $CPPFLAGS'
72917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72920
72921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72922 /* end confdefs.h. */
72923 #include <math.h>
72924 #ifdef HAVE_IEEEFP_H
72925 #include <ieeefp.h>
72926 #endif
72927
72928 int
72929 main ()
72930 {
72931 _isinff(0);
72932 ;
72933 return 0;
72934 }
72935 _ACEOF
72936 if ac_fn_cxx_try_compile "$LINENO"; then :
72937 glibcxx_cv_func__isinff_use=yes
72938 else
72939 glibcxx_cv_func__isinff_use=no
72940 fi
72941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72942 ac_ext=c
72943 ac_cpp='$CPP $CPPFLAGS'
72944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72947
72948
72949 fi
72950
72951 fi
72952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72953 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72954
72955 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72956 for ac_func in _isinff
72957 do :
72958 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72959 if test "x$ac_cv_func__isinff" = x""yes; then :
72960 cat >>confdefs.h <<_ACEOF
72961 #define HAVE__ISINFF 1
72962 _ACEOF
72963
72964 fi
72965 done
72966
72967 fi
72968 fi
72969
72970
72971
72972
72973
72974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72975 $as_echo_n "checking for atan2f declaration... " >&6; }
72976 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72977 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72978 $as_echo_n "(cached) " >&6
72979 else
72980
72981
72982 ac_ext=cpp
72983 ac_cpp='$CXXCPP $CPPFLAGS'
72984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72987
72988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72989 /* end confdefs.h. */
72990 #include <math.h>
72991 int
72992 main ()
72993 {
72994 atan2f(0, 0);
72995 ;
72996 return 0;
72997 }
72998 _ACEOF
72999 if ac_fn_cxx_try_compile "$LINENO"; then :
73000 glibcxx_cv_func_atan2f_use=yes
73001 else
73002 glibcxx_cv_func_atan2f_use=no
73003 fi
73004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73005 ac_ext=c
73006 ac_cpp='$CPP $CPPFLAGS'
73007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73010
73011
73012 fi
73013
73014 fi
73015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73016 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73017
73018 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73019 for ac_func in atan2f
73020 do :
73021 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
73022 if test "x$ac_cv_func_atan2f" = x""yes; then :
73023 cat >>confdefs.h <<_ACEOF
73024 #define HAVE_ATAN2F 1
73025 _ACEOF
73026
73027 fi
73028 done
73029
73030 else
73031
73032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
73033 $as_echo_n "checking for _atan2f declaration... " >&6; }
73034 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
73035 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
73036 $as_echo_n "(cached) " >&6
73037 else
73038
73039
73040 ac_ext=cpp
73041 ac_cpp='$CXXCPP $CPPFLAGS'
73042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73045
73046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73047 /* end confdefs.h. */
73048 #include <math.h>
73049 int
73050 main ()
73051 {
73052 _atan2f(0, 0);
73053 ;
73054 return 0;
73055 }
73056 _ACEOF
73057 if ac_fn_cxx_try_compile "$LINENO"; then :
73058 glibcxx_cv_func__atan2f_use=yes
73059 else
73060 glibcxx_cv_func__atan2f_use=no
73061 fi
73062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73063 ac_ext=c
73064 ac_cpp='$CPP $CPPFLAGS'
73065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73068
73069
73070 fi
73071
73072 fi
73073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
73074 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
73075
73076 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
73077 for ac_func in _atan2f
73078 do :
73079 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
73080 if test "x$ac_cv_func__atan2f" = x""yes; then :
73081 cat >>confdefs.h <<_ACEOF
73082 #define HAVE__ATAN2F 1
73083 _ACEOF
73084
73085 fi
73086 done
73087
73088 fi
73089 fi
73090
73091
73092
73093
73094
73095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
73096 $as_echo_n "checking for fabsf declaration... " >&6; }
73097 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
73098 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
73099 $as_echo_n "(cached) " >&6
73100 else
73101
73102
73103 ac_ext=cpp
73104 ac_cpp='$CXXCPP $CPPFLAGS'
73105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73108
73109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73110 /* end confdefs.h. */
73111 #include <math.h>
73112 #ifdef HAVE_IEEEFP_H
73113 #include <ieeefp.h>
73114 #endif
73115
73116 int
73117 main ()
73118 {
73119 fabsf(0);
73120 ;
73121 return 0;
73122 }
73123 _ACEOF
73124 if ac_fn_cxx_try_compile "$LINENO"; then :
73125 glibcxx_cv_func_fabsf_use=yes
73126 else
73127 glibcxx_cv_func_fabsf_use=no
73128 fi
73129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73130 ac_ext=c
73131 ac_cpp='$CPP $CPPFLAGS'
73132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73135
73136
73137 fi
73138
73139 fi
73140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73141 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73142
73143 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73144 for ac_func in fabsf
73145 do :
73146 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73147 if test "x$ac_cv_func_fabsf" = x""yes; then :
73148 cat >>confdefs.h <<_ACEOF
73149 #define HAVE_FABSF 1
73150 _ACEOF
73151
73152 fi
73153 done
73154
73155 else
73156
73157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73158 $as_echo_n "checking for _fabsf declaration... " >&6; }
73159 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73160 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73161 $as_echo_n "(cached) " >&6
73162 else
73163
73164
73165 ac_ext=cpp
73166 ac_cpp='$CXXCPP $CPPFLAGS'
73167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73170
73171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73172 /* end confdefs.h. */
73173 #include <math.h>
73174 #ifdef HAVE_IEEEFP_H
73175 #include <ieeefp.h>
73176 #endif
73177
73178 int
73179 main ()
73180 {
73181 _fabsf(0);
73182 ;
73183 return 0;
73184 }
73185 _ACEOF
73186 if ac_fn_cxx_try_compile "$LINENO"; then :
73187 glibcxx_cv_func__fabsf_use=yes
73188 else
73189 glibcxx_cv_func__fabsf_use=no
73190 fi
73191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73192 ac_ext=c
73193 ac_cpp='$CPP $CPPFLAGS'
73194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73197
73198
73199 fi
73200
73201 fi
73202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73203 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73204
73205 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73206 for ac_func in _fabsf
73207 do :
73208 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73209 if test "x$ac_cv_func__fabsf" = x""yes; then :
73210 cat >>confdefs.h <<_ACEOF
73211 #define HAVE__FABSF 1
73212 _ACEOF
73213
73214 fi
73215 done
73216
73217 fi
73218 fi
73219
73220
73221
73222
73223
73224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73225 $as_echo_n "checking for fmodf declaration... " >&6; }
73226 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73227 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73228 $as_echo_n "(cached) " >&6
73229 else
73230
73231
73232 ac_ext=cpp
73233 ac_cpp='$CXXCPP $CPPFLAGS'
73234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73237
73238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73239 /* end confdefs.h. */
73240 #include <math.h>
73241 int
73242 main ()
73243 {
73244 fmodf(0, 0);
73245 ;
73246 return 0;
73247 }
73248 _ACEOF
73249 if ac_fn_cxx_try_compile "$LINENO"; then :
73250 glibcxx_cv_func_fmodf_use=yes
73251 else
73252 glibcxx_cv_func_fmodf_use=no
73253 fi
73254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73255 ac_ext=c
73256 ac_cpp='$CPP $CPPFLAGS'
73257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73260
73261
73262 fi
73263
73264 fi
73265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73266 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73267
73268 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73269 for ac_func in fmodf
73270 do :
73271 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73272 if test "x$ac_cv_func_fmodf" = x""yes; then :
73273 cat >>confdefs.h <<_ACEOF
73274 #define HAVE_FMODF 1
73275 _ACEOF
73276
73277 fi
73278 done
73279
73280 else
73281
73282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73283 $as_echo_n "checking for _fmodf declaration... " >&6; }
73284 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73285 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73286 $as_echo_n "(cached) " >&6
73287 else
73288
73289
73290 ac_ext=cpp
73291 ac_cpp='$CXXCPP $CPPFLAGS'
73292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73295
73296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73297 /* end confdefs.h. */
73298 #include <math.h>
73299 int
73300 main ()
73301 {
73302 _fmodf(0, 0);
73303 ;
73304 return 0;
73305 }
73306 _ACEOF
73307 if ac_fn_cxx_try_compile "$LINENO"; then :
73308 glibcxx_cv_func__fmodf_use=yes
73309 else
73310 glibcxx_cv_func__fmodf_use=no
73311 fi
73312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73313 ac_ext=c
73314 ac_cpp='$CPP $CPPFLAGS'
73315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73318
73319
73320 fi
73321
73322 fi
73323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73324 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73325
73326 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73327 for ac_func in _fmodf
73328 do :
73329 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73330 if test "x$ac_cv_func__fmodf" = x""yes; then :
73331 cat >>confdefs.h <<_ACEOF
73332 #define HAVE__FMODF 1
73333 _ACEOF
73334
73335 fi
73336 done
73337
73338 fi
73339 fi
73340
73341
73342
73343
73344
73345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73346 $as_echo_n "checking for frexpf declaration... " >&6; }
73347 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73348 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73349 $as_echo_n "(cached) " >&6
73350 else
73351
73352
73353 ac_ext=cpp
73354 ac_cpp='$CXXCPP $CPPFLAGS'
73355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73358
73359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73360 /* end confdefs.h. */
73361 #include <math.h>
73362 int
73363 main ()
73364 {
73365 frexpf(0, 0);
73366 ;
73367 return 0;
73368 }
73369 _ACEOF
73370 if ac_fn_cxx_try_compile "$LINENO"; then :
73371 glibcxx_cv_func_frexpf_use=yes
73372 else
73373 glibcxx_cv_func_frexpf_use=no
73374 fi
73375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73376 ac_ext=c
73377 ac_cpp='$CPP $CPPFLAGS'
73378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73381
73382
73383 fi
73384
73385 fi
73386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73387 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73388
73389 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73390 for ac_func in frexpf
73391 do :
73392 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73393 if test "x$ac_cv_func_frexpf" = x""yes; then :
73394 cat >>confdefs.h <<_ACEOF
73395 #define HAVE_FREXPF 1
73396 _ACEOF
73397
73398 fi
73399 done
73400
73401 else
73402
73403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73404 $as_echo_n "checking for _frexpf declaration... " >&6; }
73405 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73406 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73407 $as_echo_n "(cached) " >&6
73408 else
73409
73410
73411 ac_ext=cpp
73412 ac_cpp='$CXXCPP $CPPFLAGS'
73413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73416
73417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73418 /* end confdefs.h. */
73419 #include <math.h>
73420 int
73421 main ()
73422 {
73423 _frexpf(0, 0);
73424 ;
73425 return 0;
73426 }
73427 _ACEOF
73428 if ac_fn_cxx_try_compile "$LINENO"; then :
73429 glibcxx_cv_func__frexpf_use=yes
73430 else
73431 glibcxx_cv_func__frexpf_use=no
73432 fi
73433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73434 ac_ext=c
73435 ac_cpp='$CPP $CPPFLAGS'
73436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73439
73440
73441 fi
73442
73443 fi
73444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73445 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73446
73447 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73448 for ac_func in _frexpf
73449 do :
73450 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73451 if test "x$ac_cv_func__frexpf" = x""yes; then :
73452 cat >>confdefs.h <<_ACEOF
73453 #define HAVE__FREXPF 1
73454 _ACEOF
73455
73456 fi
73457 done
73458
73459 fi
73460 fi
73461
73462
73463
73464
73465
73466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73467 $as_echo_n "checking for hypotf declaration... " >&6; }
73468 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73469 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73470 $as_echo_n "(cached) " >&6
73471 else
73472
73473
73474 ac_ext=cpp
73475 ac_cpp='$CXXCPP $CPPFLAGS'
73476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73479
73480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73481 /* end confdefs.h. */
73482 #include <math.h>
73483 int
73484 main ()
73485 {
73486 hypotf(0, 0);
73487 ;
73488 return 0;
73489 }
73490 _ACEOF
73491 if ac_fn_cxx_try_compile "$LINENO"; then :
73492 glibcxx_cv_func_hypotf_use=yes
73493 else
73494 glibcxx_cv_func_hypotf_use=no
73495 fi
73496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73497 ac_ext=c
73498 ac_cpp='$CPP $CPPFLAGS'
73499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73502
73503
73504 fi
73505
73506 fi
73507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73508 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73509
73510 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73511 for ac_func in hypotf
73512 do :
73513 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73514 if test "x$ac_cv_func_hypotf" = x""yes; then :
73515 cat >>confdefs.h <<_ACEOF
73516 #define HAVE_HYPOTF 1
73517 _ACEOF
73518
73519 fi
73520 done
73521
73522 else
73523
73524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73525 $as_echo_n "checking for _hypotf declaration... " >&6; }
73526 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73527 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73528 $as_echo_n "(cached) " >&6
73529 else
73530
73531
73532 ac_ext=cpp
73533 ac_cpp='$CXXCPP $CPPFLAGS'
73534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73537
73538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73539 /* end confdefs.h. */
73540 #include <math.h>
73541 int
73542 main ()
73543 {
73544 _hypotf(0, 0);
73545 ;
73546 return 0;
73547 }
73548 _ACEOF
73549 if ac_fn_cxx_try_compile "$LINENO"; then :
73550 glibcxx_cv_func__hypotf_use=yes
73551 else
73552 glibcxx_cv_func__hypotf_use=no
73553 fi
73554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73555 ac_ext=c
73556 ac_cpp='$CPP $CPPFLAGS'
73557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73560
73561
73562 fi
73563
73564 fi
73565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73566 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73567
73568 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73569 for ac_func in _hypotf
73570 do :
73571 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73572 if test "x$ac_cv_func__hypotf" = x""yes; then :
73573 cat >>confdefs.h <<_ACEOF
73574 #define HAVE__HYPOTF 1
73575 _ACEOF
73576
73577 fi
73578 done
73579
73580 fi
73581 fi
73582
73583
73584
73585
73586
73587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73588 $as_echo_n "checking for ldexpf declaration... " >&6; }
73589 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73590 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73591 $as_echo_n "(cached) " >&6
73592 else
73593
73594
73595 ac_ext=cpp
73596 ac_cpp='$CXXCPP $CPPFLAGS'
73597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73600
73601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73602 /* end confdefs.h. */
73603 #include <math.h>
73604 int
73605 main ()
73606 {
73607 ldexpf(0, 0);
73608 ;
73609 return 0;
73610 }
73611 _ACEOF
73612 if ac_fn_cxx_try_compile "$LINENO"; then :
73613 glibcxx_cv_func_ldexpf_use=yes
73614 else
73615 glibcxx_cv_func_ldexpf_use=no
73616 fi
73617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73618 ac_ext=c
73619 ac_cpp='$CPP $CPPFLAGS'
73620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73623
73624
73625 fi
73626
73627 fi
73628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73629 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73630
73631 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73632 for ac_func in ldexpf
73633 do :
73634 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73635 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73636 cat >>confdefs.h <<_ACEOF
73637 #define HAVE_LDEXPF 1
73638 _ACEOF
73639
73640 fi
73641 done
73642
73643 else
73644
73645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73646 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73647 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73648 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73649 $as_echo_n "(cached) " >&6
73650 else
73651
73652
73653 ac_ext=cpp
73654 ac_cpp='$CXXCPP $CPPFLAGS'
73655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73658
73659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73660 /* end confdefs.h. */
73661 #include <math.h>
73662 int
73663 main ()
73664 {
73665 _ldexpf(0, 0);
73666 ;
73667 return 0;
73668 }
73669 _ACEOF
73670 if ac_fn_cxx_try_compile "$LINENO"; then :
73671 glibcxx_cv_func__ldexpf_use=yes
73672 else
73673 glibcxx_cv_func__ldexpf_use=no
73674 fi
73675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73676 ac_ext=c
73677 ac_cpp='$CPP $CPPFLAGS'
73678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73681
73682
73683 fi
73684
73685 fi
73686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73687 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73688
73689 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73690 for ac_func in _ldexpf
73691 do :
73692 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73693 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73694 cat >>confdefs.h <<_ACEOF
73695 #define HAVE__LDEXPF 1
73696 _ACEOF
73697
73698 fi
73699 done
73700
73701 fi
73702 fi
73703
73704
73705
73706
73707
73708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73709 $as_echo_n "checking for logf declaration... " >&6; }
73710 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73711 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73712 $as_echo_n "(cached) " >&6
73713 else
73714
73715
73716 ac_ext=cpp
73717 ac_cpp='$CXXCPP $CPPFLAGS'
73718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73721
73722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73723 /* end confdefs.h. */
73724 #include <math.h>
73725 #ifdef HAVE_IEEEFP_H
73726 #include <ieeefp.h>
73727 #endif
73728
73729 int
73730 main ()
73731 {
73732 logf(0);
73733 ;
73734 return 0;
73735 }
73736 _ACEOF
73737 if ac_fn_cxx_try_compile "$LINENO"; then :
73738 glibcxx_cv_func_logf_use=yes
73739 else
73740 glibcxx_cv_func_logf_use=no
73741 fi
73742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73743 ac_ext=c
73744 ac_cpp='$CPP $CPPFLAGS'
73745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73748
73749
73750 fi
73751
73752 fi
73753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73754 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73755
73756 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73757 for ac_func in logf
73758 do :
73759 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73760 if test "x$ac_cv_func_logf" = x""yes; then :
73761 cat >>confdefs.h <<_ACEOF
73762 #define HAVE_LOGF 1
73763 _ACEOF
73764
73765 fi
73766 done
73767
73768 else
73769
73770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73771 $as_echo_n "checking for _logf declaration... " >&6; }
73772 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73773 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73774 $as_echo_n "(cached) " >&6
73775 else
73776
73777
73778 ac_ext=cpp
73779 ac_cpp='$CXXCPP $CPPFLAGS'
73780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73783
73784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73785 /* end confdefs.h. */
73786 #include <math.h>
73787 #ifdef HAVE_IEEEFP_H
73788 #include <ieeefp.h>
73789 #endif
73790
73791 int
73792 main ()
73793 {
73794 _logf(0);
73795 ;
73796 return 0;
73797 }
73798 _ACEOF
73799 if ac_fn_cxx_try_compile "$LINENO"; then :
73800 glibcxx_cv_func__logf_use=yes
73801 else
73802 glibcxx_cv_func__logf_use=no
73803 fi
73804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73805 ac_ext=c
73806 ac_cpp='$CPP $CPPFLAGS'
73807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73810
73811
73812 fi
73813
73814 fi
73815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73816 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73817
73818 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73819 for ac_func in _logf
73820 do :
73821 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73822 if test "x$ac_cv_func__logf" = x""yes; then :
73823 cat >>confdefs.h <<_ACEOF
73824 #define HAVE__LOGF 1
73825 _ACEOF
73826
73827 fi
73828 done
73829
73830 fi
73831 fi
73832
73833
73834
73835
73836
73837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73838 $as_echo_n "checking for log10f declaration... " >&6; }
73839 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73840 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73841 $as_echo_n "(cached) " >&6
73842 else
73843
73844
73845 ac_ext=cpp
73846 ac_cpp='$CXXCPP $CPPFLAGS'
73847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73850
73851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73852 /* end confdefs.h. */
73853 #include <math.h>
73854 #ifdef HAVE_IEEEFP_H
73855 #include <ieeefp.h>
73856 #endif
73857
73858 int
73859 main ()
73860 {
73861 log10f(0);
73862 ;
73863 return 0;
73864 }
73865 _ACEOF
73866 if ac_fn_cxx_try_compile "$LINENO"; then :
73867 glibcxx_cv_func_log10f_use=yes
73868 else
73869 glibcxx_cv_func_log10f_use=no
73870 fi
73871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73872 ac_ext=c
73873 ac_cpp='$CPP $CPPFLAGS'
73874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73877
73878
73879 fi
73880
73881 fi
73882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73883 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73884
73885 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73886 for ac_func in log10f
73887 do :
73888 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73889 if test "x$ac_cv_func_log10f" = x""yes; then :
73890 cat >>confdefs.h <<_ACEOF
73891 #define HAVE_LOG10F 1
73892 _ACEOF
73893
73894 fi
73895 done
73896
73897 else
73898
73899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73900 $as_echo_n "checking for _log10f declaration... " >&6; }
73901 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73902 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73903 $as_echo_n "(cached) " >&6
73904 else
73905
73906
73907 ac_ext=cpp
73908 ac_cpp='$CXXCPP $CPPFLAGS'
73909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73912
73913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73914 /* end confdefs.h. */
73915 #include <math.h>
73916 #ifdef HAVE_IEEEFP_H
73917 #include <ieeefp.h>
73918 #endif
73919
73920 int
73921 main ()
73922 {
73923 _log10f(0);
73924 ;
73925 return 0;
73926 }
73927 _ACEOF
73928 if ac_fn_cxx_try_compile "$LINENO"; then :
73929 glibcxx_cv_func__log10f_use=yes
73930 else
73931 glibcxx_cv_func__log10f_use=no
73932 fi
73933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73934 ac_ext=c
73935 ac_cpp='$CPP $CPPFLAGS'
73936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73939
73940
73941 fi
73942
73943 fi
73944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73945 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73946
73947 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73948 for ac_func in _log10f
73949 do :
73950 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73951 if test "x$ac_cv_func__log10f" = x""yes; then :
73952 cat >>confdefs.h <<_ACEOF
73953 #define HAVE__LOG10F 1
73954 _ACEOF
73955
73956 fi
73957 done
73958
73959 fi
73960 fi
73961
73962
73963
73964
73965
73966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73967 $as_echo_n "checking for modff declaration... " >&6; }
73968 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73969 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73970 $as_echo_n "(cached) " >&6
73971 else
73972
73973
73974 ac_ext=cpp
73975 ac_cpp='$CXXCPP $CPPFLAGS'
73976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73979
73980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73981 /* end confdefs.h. */
73982 #include <math.h>
73983 int
73984 main ()
73985 {
73986 modff(0, 0);
73987 ;
73988 return 0;
73989 }
73990 _ACEOF
73991 if ac_fn_cxx_try_compile "$LINENO"; then :
73992 glibcxx_cv_func_modff_use=yes
73993 else
73994 glibcxx_cv_func_modff_use=no
73995 fi
73996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73997 ac_ext=c
73998 ac_cpp='$CPP $CPPFLAGS'
73999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74002
74003
74004 fi
74005
74006 fi
74007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74008 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74009
74010 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74011 for ac_func in modff
74012 do :
74013 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74014 if test "x$ac_cv_func_modff" = x""yes; then :
74015 cat >>confdefs.h <<_ACEOF
74016 #define HAVE_MODFF 1
74017 _ACEOF
74018
74019 fi
74020 done
74021
74022 else
74023
74024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
74025 $as_echo_n "checking for _modff declaration... " >&6; }
74026 if test x${glibcxx_cv_func__modff_use+set} != xset; then
74027 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
74028 $as_echo_n "(cached) " >&6
74029 else
74030
74031
74032 ac_ext=cpp
74033 ac_cpp='$CXXCPP $CPPFLAGS'
74034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74037
74038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74039 /* end confdefs.h. */
74040 #include <math.h>
74041 int
74042 main ()
74043 {
74044 _modff(0, 0);
74045 ;
74046 return 0;
74047 }
74048 _ACEOF
74049 if ac_fn_cxx_try_compile "$LINENO"; then :
74050 glibcxx_cv_func__modff_use=yes
74051 else
74052 glibcxx_cv_func__modff_use=no
74053 fi
74054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74055 ac_ext=c
74056 ac_cpp='$CPP $CPPFLAGS'
74057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74060
74061
74062 fi
74063
74064 fi
74065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
74066 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
74067
74068 if test x$glibcxx_cv_func__modff_use = x"yes"; then
74069 for ac_func in _modff
74070 do :
74071 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
74072 if test "x$ac_cv_func__modff" = x""yes; then :
74073 cat >>confdefs.h <<_ACEOF
74074 #define HAVE__MODFF 1
74075 _ACEOF
74076
74077 fi
74078 done
74079
74080 fi
74081 fi
74082
74083
74084
74085
74086
74087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
74088 $as_echo_n "checking for modf declaration... " >&6; }
74089 if test x${glibcxx_cv_func_modf_use+set} != xset; then
74090 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
74091 $as_echo_n "(cached) " >&6
74092 else
74093
74094
74095 ac_ext=cpp
74096 ac_cpp='$CXXCPP $CPPFLAGS'
74097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74100
74101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74102 /* end confdefs.h. */
74103 #include <math.h>
74104 int
74105 main ()
74106 {
74107 modf(0, 0);
74108 ;
74109 return 0;
74110 }
74111 _ACEOF
74112 if ac_fn_cxx_try_compile "$LINENO"; then :
74113 glibcxx_cv_func_modf_use=yes
74114 else
74115 glibcxx_cv_func_modf_use=no
74116 fi
74117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74118 ac_ext=c
74119 ac_cpp='$CPP $CPPFLAGS'
74120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74123
74124
74125 fi
74126
74127 fi
74128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
74129 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
74130
74131 if test x$glibcxx_cv_func_modf_use = x"yes"; then
74132 for ac_func in modf
74133 do :
74134 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74135 if test "x$ac_cv_func_modf" = x""yes; then :
74136 cat >>confdefs.h <<_ACEOF
74137 #define HAVE_MODF 1
74138 _ACEOF
74139
74140 fi
74141 done
74142
74143 else
74144
74145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74146 $as_echo_n "checking for _modf declaration... " >&6; }
74147 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74148 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74149 $as_echo_n "(cached) " >&6
74150 else
74151
74152
74153 ac_ext=cpp
74154 ac_cpp='$CXXCPP $CPPFLAGS'
74155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74158
74159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74160 /* end confdefs.h. */
74161 #include <math.h>
74162 int
74163 main ()
74164 {
74165 _modf(0, 0);
74166 ;
74167 return 0;
74168 }
74169 _ACEOF
74170 if ac_fn_cxx_try_compile "$LINENO"; then :
74171 glibcxx_cv_func__modf_use=yes
74172 else
74173 glibcxx_cv_func__modf_use=no
74174 fi
74175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74176 ac_ext=c
74177 ac_cpp='$CPP $CPPFLAGS'
74178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74181
74182
74183 fi
74184
74185 fi
74186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74187 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74188
74189 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74190 for ac_func in _modf
74191 do :
74192 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74193 if test "x$ac_cv_func__modf" = x""yes; then :
74194 cat >>confdefs.h <<_ACEOF
74195 #define HAVE__MODF 1
74196 _ACEOF
74197
74198 fi
74199 done
74200
74201 fi
74202 fi
74203
74204
74205
74206
74207
74208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74209 $as_echo_n "checking for powf declaration... " >&6; }
74210 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74211 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74212 $as_echo_n "(cached) " >&6
74213 else
74214
74215
74216 ac_ext=cpp
74217 ac_cpp='$CXXCPP $CPPFLAGS'
74218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74221
74222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74223 /* end confdefs.h. */
74224 #include <math.h>
74225 int
74226 main ()
74227 {
74228 powf(0, 0);
74229 ;
74230 return 0;
74231 }
74232 _ACEOF
74233 if ac_fn_cxx_try_compile "$LINENO"; then :
74234 glibcxx_cv_func_powf_use=yes
74235 else
74236 glibcxx_cv_func_powf_use=no
74237 fi
74238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74239 ac_ext=c
74240 ac_cpp='$CPP $CPPFLAGS'
74241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74244
74245
74246 fi
74247
74248 fi
74249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74250 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74251
74252 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74253 for ac_func in powf
74254 do :
74255 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74256 if test "x$ac_cv_func_powf" = x""yes; then :
74257 cat >>confdefs.h <<_ACEOF
74258 #define HAVE_POWF 1
74259 _ACEOF
74260
74261 fi
74262 done
74263
74264 else
74265
74266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74267 $as_echo_n "checking for _powf declaration... " >&6; }
74268 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74269 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74270 $as_echo_n "(cached) " >&6
74271 else
74272
74273
74274 ac_ext=cpp
74275 ac_cpp='$CXXCPP $CPPFLAGS'
74276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74279
74280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74281 /* end confdefs.h. */
74282 #include <math.h>
74283 int
74284 main ()
74285 {
74286 _powf(0, 0);
74287 ;
74288 return 0;
74289 }
74290 _ACEOF
74291 if ac_fn_cxx_try_compile "$LINENO"; then :
74292 glibcxx_cv_func__powf_use=yes
74293 else
74294 glibcxx_cv_func__powf_use=no
74295 fi
74296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74297 ac_ext=c
74298 ac_cpp='$CPP $CPPFLAGS'
74299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74302
74303
74304 fi
74305
74306 fi
74307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74308 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74309
74310 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74311 for ac_func in _powf
74312 do :
74313 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74314 if test "x$ac_cv_func__powf" = x""yes; then :
74315 cat >>confdefs.h <<_ACEOF
74316 #define HAVE__POWF 1
74317 _ACEOF
74318
74319 fi
74320 done
74321
74322 fi
74323 fi
74324
74325
74326
74327
74328
74329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74330 $as_echo_n "checking for sqrtf declaration... " >&6; }
74331 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74332 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74333 $as_echo_n "(cached) " >&6
74334 else
74335
74336
74337 ac_ext=cpp
74338 ac_cpp='$CXXCPP $CPPFLAGS'
74339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74342
74343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74344 /* end confdefs.h. */
74345 #include <math.h>
74346 #ifdef HAVE_IEEEFP_H
74347 #include <ieeefp.h>
74348 #endif
74349
74350 int
74351 main ()
74352 {
74353 sqrtf(0);
74354 ;
74355 return 0;
74356 }
74357 _ACEOF
74358 if ac_fn_cxx_try_compile "$LINENO"; then :
74359 glibcxx_cv_func_sqrtf_use=yes
74360 else
74361 glibcxx_cv_func_sqrtf_use=no
74362 fi
74363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74364 ac_ext=c
74365 ac_cpp='$CPP $CPPFLAGS'
74366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74369
74370
74371 fi
74372
74373 fi
74374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74375 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74376
74377 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74378 for ac_func in sqrtf
74379 do :
74380 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74381 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74382 cat >>confdefs.h <<_ACEOF
74383 #define HAVE_SQRTF 1
74384 _ACEOF
74385
74386 fi
74387 done
74388
74389 else
74390
74391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74392 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74393 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74394 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74395 $as_echo_n "(cached) " >&6
74396 else
74397
74398
74399 ac_ext=cpp
74400 ac_cpp='$CXXCPP $CPPFLAGS'
74401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74404
74405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74406 /* end confdefs.h. */
74407 #include <math.h>
74408 #ifdef HAVE_IEEEFP_H
74409 #include <ieeefp.h>
74410 #endif
74411
74412 int
74413 main ()
74414 {
74415 _sqrtf(0);
74416 ;
74417 return 0;
74418 }
74419 _ACEOF
74420 if ac_fn_cxx_try_compile "$LINENO"; then :
74421 glibcxx_cv_func__sqrtf_use=yes
74422 else
74423 glibcxx_cv_func__sqrtf_use=no
74424 fi
74425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74426 ac_ext=c
74427 ac_cpp='$CPP $CPPFLAGS'
74428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74431
74432
74433 fi
74434
74435 fi
74436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74437 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74438
74439 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74440 for ac_func in _sqrtf
74441 do :
74442 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74443 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74444 cat >>confdefs.h <<_ACEOF
74445 #define HAVE__SQRTF 1
74446 _ACEOF
74447
74448 fi
74449 done
74450
74451 fi
74452 fi
74453
74454
74455
74456
74457
74458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74459 $as_echo_n "checking for sincosf declaration... " >&6; }
74460 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74461 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74462 $as_echo_n "(cached) " >&6
74463 else
74464
74465
74466 ac_ext=cpp
74467 ac_cpp='$CXXCPP $CPPFLAGS'
74468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74471
74472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74473 /* end confdefs.h. */
74474 #include <math.h>
74475 int
74476 main ()
74477 {
74478 sincosf(0, 0, 0);
74479 ;
74480 return 0;
74481 }
74482 _ACEOF
74483 if ac_fn_cxx_try_compile "$LINENO"; then :
74484 glibcxx_cv_func_sincosf_use=yes
74485 else
74486 glibcxx_cv_func_sincosf_use=no
74487 fi
74488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74489 ac_ext=c
74490 ac_cpp='$CPP $CPPFLAGS'
74491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74494
74495
74496 fi
74497
74498 fi
74499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74500 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74501
74502 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74503 for ac_func in sincosf
74504 do :
74505 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74506 if test "x$ac_cv_func_sincosf" = x""yes; then :
74507 cat >>confdefs.h <<_ACEOF
74508 #define HAVE_SINCOSF 1
74509 _ACEOF
74510
74511 fi
74512 done
74513
74514 else
74515
74516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74517 $as_echo_n "checking for _sincosf declaration... " >&6; }
74518 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74519 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74520 $as_echo_n "(cached) " >&6
74521 else
74522
74523
74524 ac_ext=cpp
74525 ac_cpp='$CXXCPP $CPPFLAGS'
74526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74529
74530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74531 /* end confdefs.h. */
74532 #include <math.h>
74533 int
74534 main ()
74535 {
74536 _sincosf(0, 0, 0);
74537 ;
74538 return 0;
74539 }
74540 _ACEOF
74541 if ac_fn_cxx_try_compile "$LINENO"; then :
74542 glibcxx_cv_func__sincosf_use=yes
74543 else
74544 glibcxx_cv_func__sincosf_use=no
74545 fi
74546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74547 ac_ext=c
74548 ac_cpp='$CPP $CPPFLAGS'
74549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74552
74553
74554 fi
74555
74556 fi
74557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74558 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74559
74560 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74561 for ac_func in _sincosf
74562 do :
74563 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74564 if test "x$ac_cv_func__sincosf" = x""yes; then :
74565 cat >>confdefs.h <<_ACEOF
74566 #define HAVE__SINCOSF 1
74567 _ACEOF
74568
74569 fi
74570 done
74571
74572 fi
74573 fi
74574
74575
74576
74577
74578
74579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74580 $as_echo_n "checking for finitef declaration... " >&6; }
74581 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74582 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74583 $as_echo_n "(cached) " >&6
74584 else
74585
74586
74587 ac_ext=cpp
74588 ac_cpp='$CXXCPP $CPPFLAGS'
74589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74592
74593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74594 /* end confdefs.h. */
74595 #include <math.h>
74596 #ifdef HAVE_IEEEFP_H
74597 #include <ieeefp.h>
74598 #endif
74599
74600 int
74601 main ()
74602 {
74603 finitef(0);
74604 ;
74605 return 0;
74606 }
74607 _ACEOF
74608 if ac_fn_cxx_try_compile "$LINENO"; then :
74609 glibcxx_cv_func_finitef_use=yes
74610 else
74611 glibcxx_cv_func_finitef_use=no
74612 fi
74613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74614 ac_ext=c
74615 ac_cpp='$CPP $CPPFLAGS'
74616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74619
74620
74621 fi
74622
74623 fi
74624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74625 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74626
74627 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74628 for ac_func in finitef
74629 do :
74630 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74631 if test "x$ac_cv_func_finitef" = x""yes; then :
74632 cat >>confdefs.h <<_ACEOF
74633 #define HAVE_FINITEF 1
74634 _ACEOF
74635
74636 fi
74637 done
74638
74639 else
74640
74641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74642 $as_echo_n "checking for _finitef declaration... " >&6; }
74643 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74644 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74645 $as_echo_n "(cached) " >&6
74646 else
74647
74648
74649 ac_ext=cpp
74650 ac_cpp='$CXXCPP $CPPFLAGS'
74651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74654
74655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74656 /* end confdefs.h. */
74657 #include <math.h>
74658 #ifdef HAVE_IEEEFP_H
74659 #include <ieeefp.h>
74660 #endif
74661
74662 int
74663 main ()
74664 {
74665 _finitef(0);
74666 ;
74667 return 0;
74668 }
74669 _ACEOF
74670 if ac_fn_cxx_try_compile "$LINENO"; then :
74671 glibcxx_cv_func__finitef_use=yes
74672 else
74673 glibcxx_cv_func__finitef_use=no
74674 fi
74675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74676 ac_ext=c
74677 ac_cpp='$CPP $CPPFLAGS'
74678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74681
74682
74683 fi
74684
74685 fi
74686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74687 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74688
74689 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74690 for ac_func in _finitef
74691 do :
74692 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74693 if test "x$ac_cv_func__finitef" = x""yes; then :
74694 cat >>confdefs.h <<_ACEOF
74695 #define HAVE__FINITEF 1
74696 _ACEOF
74697
74698 fi
74699 done
74700
74701 fi
74702 fi
74703
74704
74705
74706
74707
74708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74709 $as_echo_n "checking for long double trig functions... " >&6; }
74710 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74711 $as_echo_n "(cached) " >&6
74712 else
74713
74714
74715 ac_ext=cpp
74716 ac_cpp='$CXXCPP $CPPFLAGS'
74717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74720
74721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74722 /* end confdefs.h. */
74723 #include <math.h>
74724 int
74725 main ()
74726 {
74727 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74728 ;
74729 return 0;
74730 }
74731 _ACEOF
74732 if ac_fn_cxx_try_compile "$LINENO"; then :
74733 glibcxx_cv_func_long_double_trig_use=yes
74734 else
74735 glibcxx_cv_func_long_double_trig_use=no
74736 fi
74737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74738 ac_ext=c
74739 ac_cpp='$CPP $CPPFLAGS'
74740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74743
74744 fi
74745
74746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74747 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74748 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74749 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74750 do :
74751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74753 eval as_val=\$$as_ac_var
74754 if test "x$as_val" = x""yes; then :
74755 cat >>confdefs.h <<_ACEOF
74756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74757 _ACEOF
74758
74759 fi
74760 done
74761
74762 else
74763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74764 $as_echo_n "checking for _long double trig functions... " >&6; }
74765 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74766 $as_echo_n "(cached) " >&6
74767 else
74768
74769
74770 ac_ext=cpp
74771 ac_cpp='$CXXCPP $CPPFLAGS'
74772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74775
74776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74777 /* end confdefs.h. */
74778 #include <math.h>
74779 int
74780 main ()
74781 {
74782 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74783 ;
74784 return 0;
74785 }
74786 _ACEOF
74787 if ac_fn_cxx_try_compile "$LINENO"; then :
74788 glibcxx_cv_func__long_double_trig_use=yes
74789 else
74790 glibcxx_cv_func__long_double_trig_use=no
74791 fi
74792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74793 ac_ext=c
74794 ac_cpp='$CPP $CPPFLAGS'
74795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74798
74799 fi
74800
74801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74802 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74803 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74804 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74805 do :
74806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74808 eval as_val=\$$as_ac_var
74809 if test "x$as_val" = x""yes; then :
74810 cat >>confdefs.h <<_ACEOF
74811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74812 _ACEOF
74813
74814 fi
74815 done
74816
74817 fi
74818 fi
74819
74820
74821
74822
74823
74824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74825 $as_echo_n "checking for long double round functions... " >&6; }
74826 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74827 $as_echo_n "(cached) " >&6
74828 else
74829
74830
74831 ac_ext=cpp
74832 ac_cpp='$CXXCPP $CPPFLAGS'
74833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74836
74837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74838 /* end confdefs.h. */
74839 #include <math.h>
74840 int
74841 main ()
74842 {
74843 ceill (0); floorl (0);
74844 ;
74845 return 0;
74846 }
74847 _ACEOF
74848 if ac_fn_cxx_try_compile "$LINENO"; then :
74849 glibcxx_cv_func_long_double_round_use=yes
74850 else
74851 glibcxx_cv_func_long_double_round_use=no
74852 fi
74853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74854 ac_ext=c
74855 ac_cpp='$CPP $CPPFLAGS'
74856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74859
74860 fi
74861
74862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74863 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74864 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74865 for ac_func in ceill floorl
74866 do :
74867 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74868 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74869 eval as_val=\$$as_ac_var
74870 if test "x$as_val" = x""yes; then :
74871 cat >>confdefs.h <<_ACEOF
74872 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74873 _ACEOF
74874
74875 fi
74876 done
74877
74878 else
74879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74880 $as_echo_n "checking for _long double round functions... " >&6; }
74881 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74882 $as_echo_n "(cached) " >&6
74883 else
74884
74885
74886 ac_ext=cpp
74887 ac_cpp='$CXXCPP $CPPFLAGS'
74888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74891
74892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74893 /* end confdefs.h. */
74894 #include <math.h>
74895 int
74896 main ()
74897 {
74898 _ceill (0); _floorl (0);
74899 ;
74900 return 0;
74901 }
74902 _ACEOF
74903 if ac_fn_cxx_try_compile "$LINENO"; then :
74904 glibcxx_cv_func__long_double_round_use=yes
74905 else
74906 glibcxx_cv_func__long_double_round_use=no
74907 fi
74908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74909 ac_ext=c
74910 ac_cpp='$CPP $CPPFLAGS'
74911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74914
74915 fi
74916
74917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74918 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74919 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74920 for ac_func in _ceill _floorl
74921 do :
74922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74923 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74924 eval as_val=\$$as_ac_var
74925 if test "x$as_val" = x""yes; then :
74926 cat >>confdefs.h <<_ACEOF
74927 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74928 _ACEOF
74929
74930 fi
74931 done
74932
74933 fi
74934 fi
74935
74936
74937
74938
74939
74940
74941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74942 $as_echo_n "checking for isnanl declaration... " >&6; }
74943 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74944 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74945 $as_echo_n "(cached) " >&6
74946 else
74947
74948
74949 ac_ext=cpp
74950 ac_cpp='$CXXCPP $CPPFLAGS'
74951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74954
74955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74956 /* end confdefs.h. */
74957 #include <math.h>
74958 #ifdef HAVE_IEEEFP_H
74959 #include <ieeefp.h>
74960 #endif
74961
74962 int
74963 main ()
74964 {
74965 isnanl(0);
74966 ;
74967 return 0;
74968 }
74969 _ACEOF
74970 if ac_fn_cxx_try_compile "$LINENO"; then :
74971 glibcxx_cv_func_isnanl_use=yes
74972 else
74973 glibcxx_cv_func_isnanl_use=no
74974 fi
74975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74976 ac_ext=c
74977 ac_cpp='$CPP $CPPFLAGS'
74978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74981
74982
74983 fi
74984
74985 fi
74986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74987 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74988
74989 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74990 for ac_func in isnanl
74991 do :
74992 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74993 if test "x$ac_cv_func_isnanl" = x""yes; then :
74994 cat >>confdefs.h <<_ACEOF
74995 #define HAVE_ISNANL 1
74996 _ACEOF
74997
74998 fi
74999 done
75000
75001 else
75002
75003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75004 $as_echo_n "checking for _isnanl declaration... " >&6; }
75005 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75006 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75007 $as_echo_n "(cached) " >&6
75008 else
75009
75010
75011 ac_ext=cpp
75012 ac_cpp='$CXXCPP $CPPFLAGS'
75013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75016
75017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75018 /* end confdefs.h. */
75019 #include <math.h>
75020 #ifdef HAVE_IEEEFP_H
75021 #include <ieeefp.h>
75022 #endif
75023
75024 int
75025 main ()
75026 {
75027 _isnanl(0);
75028 ;
75029 return 0;
75030 }
75031 _ACEOF
75032 if ac_fn_cxx_try_compile "$LINENO"; then :
75033 glibcxx_cv_func__isnanl_use=yes
75034 else
75035 glibcxx_cv_func__isnanl_use=no
75036 fi
75037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75038 ac_ext=c
75039 ac_cpp='$CPP $CPPFLAGS'
75040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75043
75044
75045 fi
75046
75047 fi
75048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
75049 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
75050
75051 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
75052 for ac_func in _isnanl
75053 do :
75054 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
75055 if test "x$ac_cv_func__isnanl" = x""yes; then :
75056 cat >>confdefs.h <<_ACEOF
75057 #define HAVE__ISNANL 1
75058 _ACEOF
75059
75060 fi
75061 done
75062
75063 fi
75064 fi
75065
75066
75067
75068
75069
75070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
75071 $as_echo_n "checking for isinfl declaration... " >&6; }
75072 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
75073 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
75074 $as_echo_n "(cached) " >&6
75075 else
75076
75077
75078 ac_ext=cpp
75079 ac_cpp='$CXXCPP $CPPFLAGS'
75080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75083
75084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75085 /* end confdefs.h. */
75086 #include <math.h>
75087 #ifdef HAVE_IEEEFP_H
75088 #include <ieeefp.h>
75089 #endif
75090
75091 int
75092 main ()
75093 {
75094 isinfl(0);
75095 ;
75096 return 0;
75097 }
75098 _ACEOF
75099 if ac_fn_cxx_try_compile "$LINENO"; then :
75100 glibcxx_cv_func_isinfl_use=yes
75101 else
75102 glibcxx_cv_func_isinfl_use=no
75103 fi
75104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75105 ac_ext=c
75106 ac_cpp='$CPP $CPPFLAGS'
75107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75110
75111
75112 fi
75113
75114 fi
75115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
75116 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
75117
75118 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
75119 for ac_func in isinfl
75120 do :
75121 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
75122 if test "x$ac_cv_func_isinfl" = x""yes; then :
75123 cat >>confdefs.h <<_ACEOF
75124 #define HAVE_ISINFL 1
75125 _ACEOF
75126
75127 fi
75128 done
75129
75130 else
75131
75132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
75133 $as_echo_n "checking for _isinfl declaration... " >&6; }
75134 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75135 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75136 $as_echo_n "(cached) " >&6
75137 else
75138
75139
75140 ac_ext=cpp
75141 ac_cpp='$CXXCPP $CPPFLAGS'
75142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75145
75146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75147 /* end confdefs.h. */
75148 #include <math.h>
75149 #ifdef HAVE_IEEEFP_H
75150 #include <ieeefp.h>
75151 #endif
75152
75153 int
75154 main ()
75155 {
75156 _isinfl(0);
75157 ;
75158 return 0;
75159 }
75160 _ACEOF
75161 if ac_fn_cxx_try_compile "$LINENO"; then :
75162 glibcxx_cv_func__isinfl_use=yes
75163 else
75164 glibcxx_cv_func__isinfl_use=no
75165 fi
75166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75167 ac_ext=c
75168 ac_cpp='$CPP $CPPFLAGS'
75169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75172
75173
75174 fi
75175
75176 fi
75177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75178 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75179
75180 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75181 for ac_func in _isinfl
75182 do :
75183 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75184 if test "x$ac_cv_func__isinfl" = x""yes; then :
75185 cat >>confdefs.h <<_ACEOF
75186 #define HAVE__ISINFL 1
75187 _ACEOF
75188
75189 fi
75190 done
75191
75192 fi
75193 fi
75194
75195
75196
75197
75198
75199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75200 $as_echo_n "checking for atan2l declaration... " >&6; }
75201 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75202 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75203 $as_echo_n "(cached) " >&6
75204 else
75205
75206
75207 ac_ext=cpp
75208 ac_cpp='$CXXCPP $CPPFLAGS'
75209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75212
75213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75214 /* end confdefs.h. */
75215 #include <math.h>
75216 int
75217 main ()
75218 {
75219 atan2l(0, 0);
75220 ;
75221 return 0;
75222 }
75223 _ACEOF
75224 if ac_fn_cxx_try_compile "$LINENO"; then :
75225 glibcxx_cv_func_atan2l_use=yes
75226 else
75227 glibcxx_cv_func_atan2l_use=no
75228 fi
75229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75230 ac_ext=c
75231 ac_cpp='$CPP $CPPFLAGS'
75232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75235
75236
75237 fi
75238
75239 fi
75240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75241 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75242
75243 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75244 for ac_func in atan2l
75245 do :
75246 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75247 if test "x$ac_cv_func_atan2l" = x""yes; then :
75248 cat >>confdefs.h <<_ACEOF
75249 #define HAVE_ATAN2L 1
75250 _ACEOF
75251
75252 fi
75253 done
75254
75255 else
75256
75257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75258 $as_echo_n "checking for _atan2l declaration... " >&6; }
75259 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75260 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75261 $as_echo_n "(cached) " >&6
75262 else
75263
75264
75265 ac_ext=cpp
75266 ac_cpp='$CXXCPP $CPPFLAGS'
75267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75270
75271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75272 /* end confdefs.h. */
75273 #include <math.h>
75274 int
75275 main ()
75276 {
75277 _atan2l(0, 0);
75278 ;
75279 return 0;
75280 }
75281 _ACEOF
75282 if ac_fn_cxx_try_compile "$LINENO"; then :
75283 glibcxx_cv_func__atan2l_use=yes
75284 else
75285 glibcxx_cv_func__atan2l_use=no
75286 fi
75287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75288 ac_ext=c
75289 ac_cpp='$CPP $CPPFLAGS'
75290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75293
75294
75295 fi
75296
75297 fi
75298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75299 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75300
75301 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75302 for ac_func in _atan2l
75303 do :
75304 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75305 if test "x$ac_cv_func__atan2l" = x""yes; then :
75306 cat >>confdefs.h <<_ACEOF
75307 #define HAVE__ATAN2L 1
75308 _ACEOF
75309
75310 fi
75311 done
75312
75313 fi
75314 fi
75315
75316
75317
75318
75319
75320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75321 $as_echo_n "checking for expl declaration... " >&6; }
75322 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75323 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75324 $as_echo_n "(cached) " >&6
75325 else
75326
75327
75328 ac_ext=cpp
75329 ac_cpp='$CXXCPP $CPPFLAGS'
75330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75333
75334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75335 /* end confdefs.h. */
75336 #include <math.h>
75337 #ifdef HAVE_IEEEFP_H
75338 #include <ieeefp.h>
75339 #endif
75340
75341 int
75342 main ()
75343 {
75344 expl(0);
75345 ;
75346 return 0;
75347 }
75348 _ACEOF
75349 if ac_fn_cxx_try_compile "$LINENO"; then :
75350 glibcxx_cv_func_expl_use=yes
75351 else
75352 glibcxx_cv_func_expl_use=no
75353 fi
75354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75355 ac_ext=c
75356 ac_cpp='$CPP $CPPFLAGS'
75357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75360
75361
75362 fi
75363
75364 fi
75365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75366 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75367
75368 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75369 for ac_func in expl
75370 do :
75371 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75372 if test "x$ac_cv_func_expl" = x""yes; then :
75373 cat >>confdefs.h <<_ACEOF
75374 #define HAVE_EXPL 1
75375 _ACEOF
75376
75377 fi
75378 done
75379
75380 else
75381
75382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75383 $as_echo_n "checking for _expl declaration... " >&6; }
75384 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75385 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75386 $as_echo_n "(cached) " >&6
75387 else
75388
75389
75390 ac_ext=cpp
75391 ac_cpp='$CXXCPP $CPPFLAGS'
75392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75395
75396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75397 /* end confdefs.h. */
75398 #include <math.h>
75399 #ifdef HAVE_IEEEFP_H
75400 #include <ieeefp.h>
75401 #endif
75402
75403 int
75404 main ()
75405 {
75406 _expl(0);
75407 ;
75408 return 0;
75409 }
75410 _ACEOF
75411 if ac_fn_cxx_try_compile "$LINENO"; then :
75412 glibcxx_cv_func__expl_use=yes
75413 else
75414 glibcxx_cv_func__expl_use=no
75415 fi
75416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75417 ac_ext=c
75418 ac_cpp='$CPP $CPPFLAGS'
75419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75422
75423
75424 fi
75425
75426 fi
75427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75428 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75429
75430 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75431 for ac_func in _expl
75432 do :
75433 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75434 if test "x$ac_cv_func__expl" = x""yes; then :
75435 cat >>confdefs.h <<_ACEOF
75436 #define HAVE__EXPL 1
75437 _ACEOF
75438
75439 fi
75440 done
75441
75442 fi
75443 fi
75444
75445
75446
75447
75448
75449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75450 $as_echo_n "checking for fabsl declaration... " >&6; }
75451 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75452 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75453 $as_echo_n "(cached) " >&6
75454 else
75455
75456
75457 ac_ext=cpp
75458 ac_cpp='$CXXCPP $CPPFLAGS'
75459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75462
75463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75464 /* end confdefs.h. */
75465 #include <math.h>
75466 #ifdef HAVE_IEEEFP_H
75467 #include <ieeefp.h>
75468 #endif
75469
75470 int
75471 main ()
75472 {
75473 fabsl(0);
75474 ;
75475 return 0;
75476 }
75477 _ACEOF
75478 if ac_fn_cxx_try_compile "$LINENO"; then :
75479 glibcxx_cv_func_fabsl_use=yes
75480 else
75481 glibcxx_cv_func_fabsl_use=no
75482 fi
75483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75484 ac_ext=c
75485 ac_cpp='$CPP $CPPFLAGS'
75486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75489
75490
75491 fi
75492
75493 fi
75494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75495 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75496
75497 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75498 for ac_func in fabsl
75499 do :
75500 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75501 if test "x$ac_cv_func_fabsl" = x""yes; then :
75502 cat >>confdefs.h <<_ACEOF
75503 #define HAVE_FABSL 1
75504 _ACEOF
75505
75506 fi
75507 done
75508
75509 else
75510
75511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75512 $as_echo_n "checking for _fabsl declaration... " >&6; }
75513 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75514 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75515 $as_echo_n "(cached) " >&6
75516 else
75517
75518
75519 ac_ext=cpp
75520 ac_cpp='$CXXCPP $CPPFLAGS'
75521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75524
75525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75526 /* end confdefs.h. */
75527 #include <math.h>
75528 #ifdef HAVE_IEEEFP_H
75529 #include <ieeefp.h>
75530 #endif
75531
75532 int
75533 main ()
75534 {
75535 _fabsl(0);
75536 ;
75537 return 0;
75538 }
75539 _ACEOF
75540 if ac_fn_cxx_try_compile "$LINENO"; then :
75541 glibcxx_cv_func__fabsl_use=yes
75542 else
75543 glibcxx_cv_func__fabsl_use=no
75544 fi
75545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75546 ac_ext=c
75547 ac_cpp='$CPP $CPPFLAGS'
75548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75551
75552
75553 fi
75554
75555 fi
75556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75557 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75558
75559 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75560 for ac_func in _fabsl
75561 do :
75562 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75563 if test "x$ac_cv_func__fabsl" = x""yes; then :
75564 cat >>confdefs.h <<_ACEOF
75565 #define HAVE__FABSL 1
75566 _ACEOF
75567
75568 fi
75569 done
75570
75571 fi
75572 fi
75573
75574
75575
75576
75577
75578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75579 $as_echo_n "checking for fmodl declaration... " >&6; }
75580 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75581 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75582 $as_echo_n "(cached) " >&6
75583 else
75584
75585
75586 ac_ext=cpp
75587 ac_cpp='$CXXCPP $CPPFLAGS'
75588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75591
75592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75593 /* end confdefs.h. */
75594 #include <math.h>
75595 int
75596 main ()
75597 {
75598 fmodl(0, 0);
75599 ;
75600 return 0;
75601 }
75602 _ACEOF
75603 if ac_fn_cxx_try_compile "$LINENO"; then :
75604 glibcxx_cv_func_fmodl_use=yes
75605 else
75606 glibcxx_cv_func_fmodl_use=no
75607 fi
75608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75609 ac_ext=c
75610 ac_cpp='$CPP $CPPFLAGS'
75611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75614
75615
75616 fi
75617
75618 fi
75619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75620 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75621
75622 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75623 for ac_func in fmodl
75624 do :
75625 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75626 if test "x$ac_cv_func_fmodl" = x""yes; then :
75627 cat >>confdefs.h <<_ACEOF
75628 #define HAVE_FMODL 1
75629 _ACEOF
75630
75631 fi
75632 done
75633
75634 else
75635
75636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75637 $as_echo_n "checking for _fmodl declaration... " >&6; }
75638 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75639 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75640 $as_echo_n "(cached) " >&6
75641 else
75642
75643
75644 ac_ext=cpp
75645 ac_cpp='$CXXCPP $CPPFLAGS'
75646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75649
75650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75651 /* end confdefs.h. */
75652 #include <math.h>
75653 int
75654 main ()
75655 {
75656 _fmodl(0, 0);
75657 ;
75658 return 0;
75659 }
75660 _ACEOF
75661 if ac_fn_cxx_try_compile "$LINENO"; then :
75662 glibcxx_cv_func__fmodl_use=yes
75663 else
75664 glibcxx_cv_func__fmodl_use=no
75665 fi
75666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75667 ac_ext=c
75668 ac_cpp='$CPP $CPPFLAGS'
75669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75672
75673
75674 fi
75675
75676 fi
75677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75678 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75679
75680 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75681 for ac_func in _fmodl
75682 do :
75683 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75684 if test "x$ac_cv_func__fmodl" = x""yes; then :
75685 cat >>confdefs.h <<_ACEOF
75686 #define HAVE__FMODL 1
75687 _ACEOF
75688
75689 fi
75690 done
75691
75692 fi
75693 fi
75694
75695
75696
75697
75698
75699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75700 $as_echo_n "checking for frexpl declaration... " >&6; }
75701 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75702 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75703 $as_echo_n "(cached) " >&6
75704 else
75705
75706
75707 ac_ext=cpp
75708 ac_cpp='$CXXCPP $CPPFLAGS'
75709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75712
75713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75714 /* end confdefs.h. */
75715 #include <math.h>
75716 int
75717 main ()
75718 {
75719 frexpl(0, 0);
75720 ;
75721 return 0;
75722 }
75723 _ACEOF
75724 if ac_fn_cxx_try_compile "$LINENO"; then :
75725 glibcxx_cv_func_frexpl_use=yes
75726 else
75727 glibcxx_cv_func_frexpl_use=no
75728 fi
75729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75730 ac_ext=c
75731 ac_cpp='$CPP $CPPFLAGS'
75732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75735
75736
75737 fi
75738
75739 fi
75740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75741 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75742
75743 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75744 for ac_func in frexpl
75745 do :
75746 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75747 if test "x$ac_cv_func_frexpl" = x""yes; then :
75748 cat >>confdefs.h <<_ACEOF
75749 #define HAVE_FREXPL 1
75750 _ACEOF
75751
75752 fi
75753 done
75754
75755 else
75756
75757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75758 $as_echo_n "checking for _frexpl declaration... " >&6; }
75759 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75760 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75761 $as_echo_n "(cached) " >&6
75762 else
75763
75764
75765 ac_ext=cpp
75766 ac_cpp='$CXXCPP $CPPFLAGS'
75767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75770
75771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75772 /* end confdefs.h. */
75773 #include <math.h>
75774 int
75775 main ()
75776 {
75777 _frexpl(0, 0);
75778 ;
75779 return 0;
75780 }
75781 _ACEOF
75782 if ac_fn_cxx_try_compile "$LINENO"; then :
75783 glibcxx_cv_func__frexpl_use=yes
75784 else
75785 glibcxx_cv_func__frexpl_use=no
75786 fi
75787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75788 ac_ext=c
75789 ac_cpp='$CPP $CPPFLAGS'
75790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75793
75794
75795 fi
75796
75797 fi
75798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75799 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75800
75801 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75802 for ac_func in _frexpl
75803 do :
75804 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75805 if test "x$ac_cv_func__frexpl" = x""yes; then :
75806 cat >>confdefs.h <<_ACEOF
75807 #define HAVE__FREXPL 1
75808 _ACEOF
75809
75810 fi
75811 done
75812
75813 fi
75814 fi
75815
75816
75817
75818
75819
75820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75821 $as_echo_n "checking for hypotl declaration... " >&6; }
75822 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75823 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75824 $as_echo_n "(cached) " >&6
75825 else
75826
75827
75828 ac_ext=cpp
75829 ac_cpp='$CXXCPP $CPPFLAGS'
75830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75833
75834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75835 /* end confdefs.h. */
75836 #include <math.h>
75837 int
75838 main ()
75839 {
75840 hypotl(0, 0);
75841 ;
75842 return 0;
75843 }
75844 _ACEOF
75845 if ac_fn_cxx_try_compile "$LINENO"; then :
75846 glibcxx_cv_func_hypotl_use=yes
75847 else
75848 glibcxx_cv_func_hypotl_use=no
75849 fi
75850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75851 ac_ext=c
75852 ac_cpp='$CPP $CPPFLAGS'
75853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75856
75857
75858 fi
75859
75860 fi
75861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75862 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75863
75864 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75865 for ac_func in hypotl
75866 do :
75867 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75868 if test "x$ac_cv_func_hypotl" = x""yes; then :
75869 cat >>confdefs.h <<_ACEOF
75870 #define HAVE_HYPOTL 1
75871 _ACEOF
75872
75873 fi
75874 done
75875
75876 else
75877
75878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75879 $as_echo_n "checking for _hypotl declaration... " >&6; }
75880 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75881 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75882 $as_echo_n "(cached) " >&6
75883 else
75884
75885
75886 ac_ext=cpp
75887 ac_cpp='$CXXCPP $CPPFLAGS'
75888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75891
75892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75893 /* end confdefs.h. */
75894 #include <math.h>
75895 int
75896 main ()
75897 {
75898 _hypotl(0, 0);
75899 ;
75900 return 0;
75901 }
75902 _ACEOF
75903 if ac_fn_cxx_try_compile "$LINENO"; then :
75904 glibcxx_cv_func__hypotl_use=yes
75905 else
75906 glibcxx_cv_func__hypotl_use=no
75907 fi
75908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75909 ac_ext=c
75910 ac_cpp='$CPP $CPPFLAGS'
75911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75914
75915
75916 fi
75917
75918 fi
75919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75920 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75921
75922 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75923 for ac_func in _hypotl
75924 do :
75925 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75926 if test "x$ac_cv_func__hypotl" = x""yes; then :
75927 cat >>confdefs.h <<_ACEOF
75928 #define HAVE__HYPOTL 1
75929 _ACEOF
75930
75931 fi
75932 done
75933
75934 fi
75935 fi
75936
75937
75938
75939
75940
75941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75942 $as_echo_n "checking for ldexpl declaration... " >&6; }
75943 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75944 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75945 $as_echo_n "(cached) " >&6
75946 else
75947
75948
75949 ac_ext=cpp
75950 ac_cpp='$CXXCPP $CPPFLAGS'
75951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75954
75955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75956 /* end confdefs.h. */
75957 #include <math.h>
75958 int
75959 main ()
75960 {
75961 ldexpl(0, 0);
75962 ;
75963 return 0;
75964 }
75965 _ACEOF
75966 if ac_fn_cxx_try_compile "$LINENO"; then :
75967 glibcxx_cv_func_ldexpl_use=yes
75968 else
75969 glibcxx_cv_func_ldexpl_use=no
75970 fi
75971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75972 ac_ext=c
75973 ac_cpp='$CPP $CPPFLAGS'
75974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75977
75978
75979 fi
75980
75981 fi
75982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75983 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75984
75985 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75986 for ac_func in ldexpl
75987 do :
75988 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75989 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75990 cat >>confdefs.h <<_ACEOF
75991 #define HAVE_LDEXPL 1
75992 _ACEOF
75993
75994 fi
75995 done
75996
75997 else
75998
75999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76000 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76001 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76002 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76003 $as_echo_n "(cached) " >&6
76004 else
76005
76006
76007 ac_ext=cpp
76008 ac_cpp='$CXXCPP $CPPFLAGS'
76009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76012
76013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76014 /* end confdefs.h. */
76015 #include <math.h>
76016 int
76017 main ()
76018 {
76019 _ldexpl(0, 0);
76020 ;
76021 return 0;
76022 }
76023 _ACEOF
76024 if ac_fn_cxx_try_compile "$LINENO"; then :
76025 glibcxx_cv_func__ldexpl_use=yes
76026 else
76027 glibcxx_cv_func__ldexpl_use=no
76028 fi
76029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76030 ac_ext=c
76031 ac_cpp='$CPP $CPPFLAGS'
76032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76035
76036
76037 fi
76038
76039 fi
76040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
76041 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
76042
76043 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
76044 for ac_func in _ldexpl
76045 do :
76046 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
76047 if test "x$ac_cv_func__ldexpl" = x""yes; then :
76048 cat >>confdefs.h <<_ACEOF
76049 #define HAVE__LDEXPL 1
76050 _ACEOF
76051
76052 fi
76053 done
76054
76055 fi
76056 fi
76057
76058
76059
76060
76061
76062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
76063 $as_echo_n "checking for logl declaration... " >&6; }
76064 if test x${glibcxx_cv_func_logl_use+set} != xset; then
76065 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
76066 $as_echo_n "(cached) " >&6
76067 else
76068
76069
76070 ac_ext=cpp
76071 ac_cpp='$CXXCPP $CPPFLAGS'
76072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76075
76076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76077 /* end confdefs.h. */
76078 #include <math.h>
76079 #ifdef HAVE_IEEEFP_H
76080 #include <ieeefp.h>
76081 #endif
76082
76083 int
76084 main ()
76085 {
76086 logl(0);
76087 ;
76088 return 0;
76089 }
76090 _ACEOF
76091 if ac_fn_cxx_try_compile "$LINENO"; then :
76092 glibcxx_cv_func_logl_use=yes
76093 else
76094 glibcxx_cv_func_logl_use=no
76095 fi
76096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76097 ac_ext=c
76098 ac_cpp='$CPP $CPPFLAGS'
76099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76102
76103
76104 fi
76105
76106 fi
76107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
76108 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
76109
76110 if test x$glibcxx_cv_func_logl_use = x"yes"; then
76111 for ac_func in logl
76112 do :
76113 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
76114 if test "x$ac_cv_func_logl" = x""yes; then :
76115 cat >>confdefs.h <<_ACEOF
76116 #define HAVE_LOGL 1
76117 _ACEOF
76118
76119 fi
76120 done
76121
76122 else
76123
76124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
76125 $as_echo_n "checking for _logl declaration... " >&6; }
76126 if test x${glibcxx_cv_func__logl_use+set} != xset; then
76127 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
76128 $as_echo_n "(cached) " >&6
76129 else
76130
76131
76132 ac_ext=cpp
76133 ac_cpp='$CXXCPP $CPPFLAGS'
76134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76137
76138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76139 /* end confdefs.h. */
76140 #include <math.h>
76141 #ifdef HAVE_IEEEFP_H
76142 #include <ieeefp.h>
76143 #endif
76144
76145 int
76146 main ()
76147 {
76148 _logl(0);
76149 ;
76150 return 0;
76151 }
76152 _ACEOF
76153 if ac_fn_cxx_try_compile "$LINENO"; then :
76154 glibcxx_cv_func__logl_use=yes
76155 else
76156 glibcxx_cv_func__logl_use=no
76157 fi
76158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76159 ac_ext=c
76160 ac_cpp='$CPP $CPPFLAGS'
76161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76164
76165
76166 fi
76167
76168 fi
76169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76170 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76171
76172 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76173 for ac_func in _logl
76174 do :
76175 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76176 if test "x$ac_cv_func__logl" = x""yes; then :
76177 cat >>confdefs.h <<_ACEOF
76178 #define HAVE__LOGL 1
76179 _ACEOF
76180
76181 fi
76182 done
76183
76184 fi
76185 fi
76186
76187
76188
76189
76190
76191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76192 $as_echo_n "checking for log10l declaration... " >&6; }
76193 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76194 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76195 $as_echo_n "(cached) " >&6
76196 else
76197
76198
76199 ac_ext=cpp
76200 ac_cpp='$CXXCPP $CPPFLAGS'
76201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76204
76205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76206 /* end confdefs.h. */
76207 #include <math.h>
76208 #ifdef HAVE_IEEEFP_H
76209 #include <ieeefp.h>
76210 #endif
76211
76212 int
76213 main ()
76214 {
76215 log10l(0);
76216 ;
76217 return 0;
76218 }
76219 _ACEOF
76220 if ac_fn_cxx_try_compile "$LINENO"; then :
76221 glibcxx_cv_func_log10l_use=yes
76222 else
76223 glibcxx_cv_func_log10l_use=no
76224 fi
76225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76226 ac_ext=c
76227 ac_cpp='$CPP $CPPFLAGS'
76228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76231
76232
76233 fi
76234
76235 fi
76236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76237 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76238
76239 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76240 for ac_func in log10l
76241 do :
76242 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76243 if test "x$ac_cv_func_log10l" = x""yes; then :
76244 cat >>confdefs.h <<_ACEOF
76245 #define HAVE_LOG10L 1
76246 _ACEOF
76247
76248 fi
76249 done
76250
76251 else
76252
76253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76254 $as_echo_n "checking for _log10l declaration... " >&6; }
76255 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76256 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76257 $as_echo_n "(cached) " >&6
76258 else
76259
76260
76261 ac_ext=cpp
76262 ac_cpp='$CXXCPP $CPPFLAGS'
76263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76266
76267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76268 /* end confdefs.h. */
76269 #include <math.h>
76270 #ifdef HAVE_IEEEFP_H
76271 #include <ieeefp.h>
76272 #endif
76273
76274 int
76275 main ()
76276 {
76277 _log10l(0);
76278 ;
76279 return 0;
76280 }
76281 _ACEOF
76282 if ac_fn_cxx_try_compile "$LINENO"; then :
76283 glibcxx_cv_func__log10l_use=yes
76284 else
76285 glibcxx_cv_func__log10l_use=no
76286 fi
76287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76288 ac_ext=c
76289 ac_cpp='$CPP $CPPFLAGS'
76290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76293
76294
76295 fi
76296
76297 fi
76298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76299 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76300
76301 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76302 for ac_func in _log10l
76303 do :
76304 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76305 if test "x$ac_cv_func__log10l" = x""yes; then :
76306 cat >>confdefs.h <<_ACEOF
76307 #define HAVE__LOG10L 1
76308 _ACEOF
76309
76310 fi
76311 done
76312
76313 fi
76314 fi
76315
76316
76317
76318
76319
76320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76321 $as_echo_n "checking for modfl declaration... " >&6; }
76322 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76323 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76324 $as_echo_n "(cached) " >&6
76325 else
76326
76327
76328 ac_ext=cpp
76329 ac_cpp='$CXXCPP $CPPFLAGS'
76330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76333
76334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76335 /* end confdefs.h. */
76336 #include <math.h>
76337 int
76338 main ()
76339 {
76340 modfl(0, 0);
76341 ;
76342 return 0;
76343 }
76344 _ACEOF
76345 if ac_fn_cxx_try_compile "$LINENO"; then :
76346 glibcxx_cv_func_modfl_use=yes
76347 else
76348 glibcxx_cv_func_modfl_use=no
76349 fi
76350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76351 ac_ext=c
76352 ac_cpp='$CPP $CPPFLAGS'
76353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76356
76357
76358 fi
76359
76360 fi
76361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76362 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76363
76364 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76365 for ac_func in modfl
76366 do :
76367 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76368 if test "x$ac_cv_func_modfl" = x""yes; then :
76369 cat >>confdefs.h <<_ACEOF
76370 #define HAVE_MODFL 1
76371 _ACEOF
76372
76373 fi
76374 done
76375
76376 else
76377
76378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76379 $as_echo_n "checking for _modfl declaration... " >&6; }
76380 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76381 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76382 $as_echo_n "(cached) " >&6
76383 else
76384
76385
76386 ac_ext=cpp
76387 ac_cpp='$CXXCPP $CPPFLAGS'
76388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76391
76392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76393 /* end confdefs.h. */
76394 #include <math.h>
76395 int
76396 main ()
76397 {
76398 _modfl(0, 0);
76399 ;
76400 return 0;
76401 }
76402 _ACEOF
76403 if ac_fn_cxx_try_compile "$LINENO"; then :
76404 glibcxx_cv_func__modfl_use=yes
76405 else
76406 glibcxx_cv_func__modfl_use=no
76407 fi
76408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76409 ac_ext=c
76410 ac_cpp='$CPP $CPPFLAGS'
76411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76414
76415
76416 fi
76417
76418 fi
76419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76420 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76421
76422 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76423 for ac_func in _modfl
76424 do :
76425 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76426 if test "x$ac_cv_func__modfl" = x""yes; then :
76427 cat >>confdefs.h <<_ACEOF
76428 #define HAVE__MODFL 1
76429 _ACEOF
76430
76431 fi
76432 done
76433
76434 fi
76435 fi
76436
76437
76438
76439
76440
76441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76442 $as_echo_n "checking for powl declaration... " >&6; }
76443 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76444 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76445 $as_echo_n "(cached) " >&6
76446 else
76447
76448
76449 ac_ext=cpp
76450 ac_cpp='$CXXCPP $CPPFLAGS'
76451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76454
76455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76456 /* end confdefs.h. */
76457 #include <math.h>
76458 int
76459 main ()
76460 {
76461 powl(0, 0);
76462 ;
76463 return 0;
76464 }
76465 _ACEOF
76466 if ac_fn_cxx_try_compile "$LINENO"; then :
76467 glibcxx_cv_func_powl_use=yes
76468 else
76469 glibcxx_cv_func_powl_use=no
76470 fi
76471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76472 ac_ext=c
76473 ac_cpp='$CPP $CPPFLAGS'
76474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76477
76478
76479 fi
76480
76481 fi
76482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76483 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76484
76485 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76486 for ac_func in powl
76487 do :
76488 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76489 if test "x$ac_cv_func_powl" = x""yes; then :
76490 cat >>confdefs.h <<_ACEOF
76491 #define HAVE_POWL 1
76492 _ACEOF
76493
76494 fi
76495 done
76496
76497 else
76498
76499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76500 $as_echo_n "checking for _powl declaration... " >&6; }
76501 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76502 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76503 $as_echo_n "(cached) " >&6
76504 else
76505
76506
76507 ac_ext=cpp
76508 ac_cpp='$CXXCPP $CPPFLAGS'
76509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76512
76513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76514 /* end confdefs.h. */
76515 #include <math.h>
76516 int
76517 main ()
76518 {
76519 _powl(0, 0);
76520 ;
76521 return 0;
76522 }
76523 _ACEOF
76524 if ac_fn_cxx_try_compile "$LINENO"; then :
76525 glibcxx_cv_func__powl_use=yes
76526 else
76527 glibcxx_cv_func__powl_use=no
76528 fi
76529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76530 ac_ext=c
76531 ac_cpp='$CPP $CPPFLAGS'
76532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76535
76536
76537 fi
76538
76539 fi
76540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76541 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76542
76543 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76544 for ac_func in _powl
76545 do :
76546 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76547 if test "x$ac_cv_func__powl" = x""yes; then :
76548 cat >>confdefs.h <<_ACEOF
76549 #define HAVE__POWL 1
76550 _ACEOF
76551
76552 fi
76553 done
76554
76555 fi
76556 fi
76557
76558
76559
76560
76561
76562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76563 $as_echo_n "checking for sqrtl declaration... " >&6; }
76564 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76565 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76566 $as_echo_n "(cached) " >&6
76567 else
76568
76569
76570 ac_ext=cpp
76571 ac_cpp='$CXXCPP $CPPFLAGS'
76572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76575
76576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76577 /* end confdefs.h. */
76578 #include <math.h>
76579 #ifdef HAVE_IEEEFP_H
76580 #include <ieeefp.h>
76581 #endif
76582
76583 int
76584 main ()
76585 {
76586 sqrtl(0);
76587 ;
76588 return 0;
76589 }
76590 _ACEOF
76591 if ac_fn_cxx_try_compile "$LINENO"; then :
76592 glibcxx_cv_func_sqrtl_use=yes
76593 else
76594 glibcxx_cv_func_sqrtl_use=no
76595 fi
76596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76597 ac_ext=c
76598 ac_cpp='$CPP $CPPFLAGS'
76599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76602
76603
76604 fi
76605
76606 fi
76607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76608 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76609
76610 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76611 for ac_func in sqrtl
76612 do :
76613 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76614 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76615 cat >>confdefs.h <<_ACEOF
76616 #define HAVE_SQRTL 1
76617 _ACEOF
76618
76619 fi
76620 done
76621
76622 else
76623
76624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76625 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76626 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76627 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76628 $as_echo_n "(cached) " >&6
76629 else
76630
76631
76632 ac_ext=cpp
76633 ac_cpp='$CXXCPP $CPPFLAGS'
76634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76637
76638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76639 /* end confdefs.h. */
76640 #include <math.h>
76641 #ifdef HAVE_IEEEFP_H
76642 #include <ieeefp.h>
76643 #endif
76644
76645 int
76646 main ()
76647 {
76648 _sqrtl(0);
76649 ;
76650 return 0;
76651 }
76652 _ACEOF
76653 if ac_fn_cxx_try_compile "$LINENO"; then :
76654 glibcxx_cv_func__sqrtl_use=yes
76655 else
76656 glibcxx_cv_func__sqrtl_use=no
76657 fi
76658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76659 ac_ext=c
76660 ac_cpp='$CPP $CPPFLAGS'
76661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76664
76665
76666 fi
76667
76668 fi
76669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76670 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76671
76672 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76673 for ac_func in _sqrtl
76674 do :
76675 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76676 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76677 cat >>confdefs.h <<_ACEOF
76678 #define HAVE__SQRTL 1
76679 _ACEOF
76680
76681 fi
76682 done
76683
76684 fi
76685 fi
76686
76687
76688
76689
76690
76691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76692 $as_echo_n "checking for sincosl declaration... " >&6; }
76693 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76694 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76695 $as_echo_n "(cached) " >&6
76696 else
76697
76698
76699 ac_ext=cpp
76700 ac_cpp='$CXXCPP $CPPFLAGS'
76701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76704
76705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76706 /* end confdefs.h. */
76707 #include <math.h>
76708 int
76709 main ()
76710 {
76711 sincosl(0, 0, 0);
76712 ;
76713 return 0;
76714 }
76715 _ACEOF
76716 if ac_fn_cxx_try_compile "$LINENO"; then :
76717 glibcxx_cv_func_sincosl_use=yes
76718 else
76719 glibcxx_cv_func_sincosl_use=no
76720 fi
76721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76722 ac_ext=c
76723 ac_cpp='$CPP $CPPFLAGS'
76724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76727
76728
76729 fi
76730
76731 fi
76732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76733 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76734
76735 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76736 for ac_func in sincosl
76737 do :
76738 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76739 if test "x$ac_cv_func_sincosl" = x""yes; then :
76740 cat >>confdefs.h <<_ACEOF
76741 #define HAVE_SINCOSL 1
76742 _ACEOF
76743
76744 fi
76745 done
76746
76747 else
76748
76749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76750 $as_echo_n "checking for _sincosl declaration... " >&6; }
76751 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76752 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76753 $as_echo_n "(cached) " >&6
76754 else
76755
76756
76757 ac_ext=cpp
76758 ac_cpp='$CXXCPP $CPPFLAGS'
76759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76762
76763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76764 /* end confdefs.h. */
76765 #include <math.h>
76766 int
76767 main ()
76768 {
76769 _sincosl(0, 0, 0);
76770 ;
76771 return 0;
76772 }
76773 _ACEOF
76774 if ac_fn_cxx_try_compile "$LINENO"; then :
76775 glibcxx_cv_func__sincosl_use=yes
76776 else
76777 glibcxx_cv_func__sincosl_use=no
76778 fi
76779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76780 ac_ext=c
76781 ac_cpp='$CPP $CPPFLAGS'
76782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76785
76786
76787 fi
76788
76789 fi
76790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76791 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76792
76793 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76794 for ac_func in _sincosl
76795 do :
76796 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76797 if test "x$ac_cv_func__sincosl" = x""yes; then :
76798 cat >>confdefs.h <<_ACEOF
76799 #define HAVE__SINCOSL 1
76800 _ACEOF
76801
76802 fi
76803 done
76804
76805 fi
76806 fi
76807
76808
76809
76810
76811
76812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76813 $as_echo_n "checking for finitel declaration... " >&6; }
76814 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76815 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76816 $as_echo_n "(cached) " >&6
76817 else
76818
76819
76820 ac_ext=cpp
76821 ac_cpp='$CXXCPP $CPPFLAGS'
76822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76825
76826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76827 /* end confdefs.h. */
76828 #include <math.h>
76829 #ifdef HAVE_IEEEFP_H
76830 #include <ieeefp.h>
76831 #endif
76832
76833 int
76834 main ()
76835 {
76836 finitel(0);
76837 ;
76838 return 0;
76839 }
76840 _ACEOF
76841 if ac_fn_cxx_try_compile "$LINENO"; then :
76842 glibcxx_cv_func_finitel_use=yes
76843 else
76844 glibcxx_cv_func_finitel_use=no
76845 fi
76846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76847 ac_ext=c
76848 ac_cpp='$CPP $CPPFLAGS'
76849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76852
76853
76854 fi
76855
76856 fi
76857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76858 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76859
76860 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76861 for ac_func in finitel
76862 do :
76863 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76864 if test "x$ac_cv_func_finitel" = x""yes; then :
76865 cat >>confdefs.h <<_ACEOF
76866 #define HAVE_FINITEL 1
76867 _ACEOF
76868
76869 fi
76870 done
76871
76872 else
76873
76874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76875 $as_echo_n "checking for _finitel declaration... " >&6; }
76876 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76877 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76878 $as_echo_n "(cached) " >&6
76879 else
76880
76881
76882 ac_ext=cpp
76883 ac_cpp='$CXXCPP $CPPFLAGS'
76884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76887
76888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76889 /* end confdefs.h. */
76890 #include <math.h>
76891 #ifdef HAVE_IEEEFP_H
76892 #include <ieeefp.h>
76893 #endif
76894
76895 int
76896 main ()
76897 {
76898 _finitel(0);
76899 ;
76900 return 0;
76901 }
76902 _ACEOF
76903 if ac_fn_cxx_try_compile "$LINENO"; then :
76904 glibcxx_cv_func__finitel_use=yes
76905 else
76906 glibcxx_cv_func__finitel_use=no
76907 fi
76908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76909 ac_ext=c
76910 ac_cpp='$CPP $CPPFLAGS'
76911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76914
76915
76916 fi
76917
76918 fi
76919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76920 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76921
76922 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76923 for ac_func in _finitel
76924 do :
76925 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76926 if test "x$ac_cv_func__finitel" = x""yes; then :
76927 cat >>confdefs.h <<_ACEOF
76928 #define HAVE__FINITEL 1
76929 _ACEOF
76930
76931 fi
76932 done
76933
76934 fi
76935 fi
76936
76937
76938
76939
76940 LIBS="$ac_save_LIBS"
76941 CXXFLAGS="$ac_save_CXXFLAGS"
76942
76943
76944 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76945 ac_save_CXXFLAGS="$CXXFLAGS"
76946 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76947
76948
76949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76950 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76951 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76952 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76953 $as_echo_n "(cached) " >&6
76954 else
76955
76956
76957 ac_ext=cpp
76958 ac_cpp='$CXXCPP $CPPFLAGS'
76959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76962
76963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76964 /* end confdefs.h. */
76965 #include <stdlib.h>
76966 int
76967 main ()
76968 {
76969 at_quick_exit(0);
76970 ;
76971 return 0;
76972 }
76973 _ACEOF
76974 if ac_fn_cxx_try_compile "$LINENO"; then :
76975 glibcxx_cv_func_at_quick_exit_use=yes
76976 else
76977 glibcxx_cv_func_at_quick_exit_use=no
76978 fi
76979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76980 ac_ext=c
76981 ac_cpp='$CPP $CPPFLAGS'
76982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76985
76986
76987 fi
76988
76989 fi
76990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76991 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76992 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76993 for ac_func in at_quick_exit
76994 do :
76995 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76996 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76997 cat >>confdefs.h <<_ACEOF
76998 #define HAVE_AT_QUICK_EXIT 1
76999 _ACEOF
77000
77001 fi
77002 done
77003
77004 fi
77005
77006
77007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77008 $as_echo_n "checking for quick_exit declaration... " >&6; }
77009 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77010 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77011 $as_echo_n "(cached) " >&6
77012 else
77013
77014
77015 ac_ext=cpp
77016 ac_cpp='$CXXCPP $CPPFLAGS'
77017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77020
77021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77022 /* end confdefs.h. */
77023 #include <stdlib.h>
77024 int
77025 main ()
77026 {
77027 quick_exit(0);
77028 ;
77029 return 0;
77030 }
77031 _ACEOF
77032 if ac_fn_cxx_try_compile "$LINENO"; then :
77033 glibcxx_cv_func_quick_exit_use=yes
77034 else
77035 glibcxx_cv_func_quick_exit_use=no
77036 fi
77037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77038 ac_ext=c
77039 ac_cpp='$CPP $CPPFLAGS'
77040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77043
77044
77045 fi
77046
77047 fi
77048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
77049 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
77050 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
77051 for ac_func in quick_exit
77052 do :
77053 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
77054 if test "x$ac_cv_func_quick_exit" = x""yes; then :
77055 cat >>confdefs.h <<_ACEOF
77056 #define HAVE_QUICK_EXIT 1
77057 _ACEOF
77058
77059 fi
77060 done
77061
77062 fi
77063
77064
77065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
77066 $as_echo_n "checking for strtold declaration... " >&6; }
77067 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
77068 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
77069 $as_echo_n "(cached) " >&6
77070 else
77071
77072
77073 ac_ext=cpp
77074 ac_cpp='$CXXCPP $CPPFLAGS'
77075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77078
77079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77080 /* end confdefs.h. */
77081 #include <stdlib.h>
77082 int
77083 main ()
77084 {
77085 strtold(0, 0);
77086 ;
77087 return 0;
77088 }
77089 _ACEOF
77090 if ac_fn_cxx_try_compile "$LINENO"; then :
77091 glibcxx_cv_func_strtold_use=yes
77092 else
77093 glibcxx_cv_func_strtold_use=no
77094 fi
77095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77096 ac_ext=c
77097 ac_cpp='$CPP $CPPFLAGS'
77098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77101
77102
77103 fi
77104
77105 fi
77106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
77107 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
77108 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
77109 for ac_func in strtold
77110 do :
77111 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
77112 if test "x$ac_cv_func_strtold" = x""yes; then :
77113 cat >>confdefs.h <<_ACEOF
77114 #define HAVE_STRTOLD 1
77115 _ACEOF
77116
77117 fi
77118 done
77119
77120 fi
77121
77122
77123
77124
77125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
77126 $as_echo_n "checking for strtof declaration... " >&6; }
77127 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
77128 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
77129 $as_echo_n "(cached) " >&6
77130 else
77131
77132
77133 ac_ext=cpp
77134 ac_cpp='$CXXCPP $CPPFLAGS'
77135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77138
77139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77140 /* end confdefs.h. */
77141 #include <stdlib.h>
77142 int
77143 main ()
77144 {
77145 strtof(0, 0);
77146 ;
77147 return 0;
77148 }
77149 _ACEOF
77150 if ac_fn_cxx_try_compile "$LINENO"; then :
77151 glibcxx_cv_func_strtof_use=yes
77152 else
77153 glibcxx_cv_func_strtof_use=no
77154 fi
77155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77156 ac_ext=c
77157 ac_cpp='$CPP $CPPFLAGS'
77158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77161
77162
77163 fi
77164
77165 fi
77166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77167 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77168 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77169 for ac_func in strtof
77170 do :
77171 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77172 if test "x$ac_cv_func_strtof" = x""yes; then :
77173 cat >>confdefs.h <<_ACEOF
77174 #define HAVE_STRTOF 1
77175 _ACEOF
77176
77177 fi
77178 done
77179
77180 fi
77181
77182
77183
77184
77185 CXXFLAGS="$ac_save_CXXFLAGS"
77186
77187 ;;
77188 *-vxworks)
77189 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77190
77191 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77192
77193 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77194
77195 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77196
77197 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77198
77199 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77200
77201 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77202
77203 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77204
77205 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77206
77207 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77208
77209 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77210
77211 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77212
77213 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77214
77215 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77216
77217 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77218
77219 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77220
77221 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77222
77223 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77224
77225 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77226
77227 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77228
77229 ;;
77230 *)
77231 as_fn_error "No support for this host/target combination." "$LINENO" 5
77232 ;;
77233 esac
77234
77235 fi
77236
77237 # At some point, we should differentiate between architectures
77238 # like x86, which have long double versions, and alpha/powerpc/etc.,
77239 # which don't. For the time being, punt.
77240 if test x"long_double_math_on_this_cpu" = x"yes"; then
77241 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77242
77243 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77244
77245 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77246
77247 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77248
77249 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77250
77251 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77252
77253 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77254
77255 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77256
77257 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77258
77259 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77260
77261 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77262
77263 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77264
77265 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77266
77267 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77268
77269 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77270
77271 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77272
77273 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77274
77275 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77276
77277 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77278
77279 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77280
77281 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77282
77283 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77284
77285 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77286
77287 fi
77288 fi
77289
77290 # Check for _Unwind_GetIPInfo.
77291
77292
77293 # Check whether --with-system-libunwind was given.
77294 if test "${with_system_libunwind+set}" = set; then :
77295 withval=$with_system_libunwind;
77296 fi
77297
77298 # If system-libunwind was not specifically set, pick a default setting.
77299 if test x$with_system_libunwind = x; then
77300 case ${target} in
77301 ia64-*-hpux*) with_system_libunwind=yes ;;
77302 *) with_system_libunwind=no ;;
77303 esac
77304 fi
77305 # Based on system-libunwind and target, do we have ipinfo?
77306 if test x$with_system_libunwind = xyes; then
77307 case ${target} in
77308 ia64-*-*) have_unwind_getipinfo=no ;;
77309 *) have_unwind_getipinfo=yes ;;
77310 esac
77311 else
77312 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77313
77314 case ${target} in
77315 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77316 *) have_unwind_getipinfo=yes ;;
77317 esac
77318
77319 fi
77320
77321 if test x$have_unwind_getipinfo = xyes; then
77322
77323 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77324
77325 fi
77326
77327
77328 # Check whether --enable-linux-futex was given.
77329 if test "${enable_linux_futex+set}" = set; then :
77330 enableval=$enable_linux_futex;
77331 case "$enableval" in
77332 yes|no|default) ;;
77333 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77334 esac
77335
77336 else
77337 enable_linux_futex=default
77338 fi
77339
77340
77341 case "$target" in
77342 *-linux*)
77343 case "$enable_linux_futex" in
77344 default)
77345 # If headers don't have gettid/futex syscalls definition, then
77346 # default to no, otherwise there will be compile time failures.
77347 # Otherwise, default to yes. If we don't detect we are
77348 # compiled/linked against NPTL and not cross-compiling, check
77349 # if programs are run by default against NPTL and if not, issue
77350 # a warning.
77351 enable_linux_futex=no
77352 if test x$gcc_no_link = xyes; then
77353 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77354 fi
77355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77356 /* end confdefs.h. */
77357 #include <sys/syscall.h>
77358 int lk;
77359 int
77360 main ()
77361 {
77362 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77363 ;
77364 return 0;
77365 }
77366 _ACEOF
77367 if ac_fn_c_try_link "$LINENO"; then :
77368 save_LIBS="$LIBS"
77369 LIBS="-lpthread $LIBS"
77370 if test x$gcc_no_link = xyes; then
77371 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77372 fi
77373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77374 /* end confdefs.h. */
77375 #ifndef _GNU_SOURCE
77376 #define _GNU_SOURCE 1
77377 #endif
77378 #include <pthread.h>
77379 pthread_t th; void *status;
77380 int
77381 main ()
77382 {
77383 pthread_tryjoin_np (th, &status);
77384 ;
77385 return 0;
77386 }
77387 _ACEOF
77388 if ac_fn_c_try_link "$LINENO"; then :
77389 enable_linux_futex=yes
77390 else
77391 if test x$cross_compiling = xno; then
77392 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77393 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77395 If so, please configure with --disable-linux-futex" >&5
77396 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77397 If so, please configure with --disable-linux-futex" >&2;}
77398 fi
77399 fi
77400 enable_linux_futex=yes
77401 fi
77402 rm -f core conftest.err conftest.$ac_objext \
77403 conftest$ac_exeext conftest.$ac_ext
77404 LIBS="$save_LIBS"
77405 fi
77406 rm -f core conftest.err conftest.$ac_objext \
77407 conftest$ac_exeext conftest.$ac_ext
77408 ;;
77409 yes)
77410 if test x$gcc_no_link = xyes; then
77411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77412 fi
77413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77414 /* end confdefs.h. */
77415 #include <sys/syscall.h>
77416 int lk;
77417 int
77418 main ()
77419 {
77420 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77421 ;
77422 return 0;
77423 }
77424 _ACEOF
77425 if ac_fn_c_try_link "$LINENO"; then :
77426
77427 else
77428 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77429 fi
77430 rm -f core conftest.err conftest.$ac_objext \
77431 conftest$ac_exeext conftest.$ac_ext
77432 ;;
77433 esac
77434 ;;
77435 *)
77436 enable_linux_futex=no
77437 ;;
77438 esac
77439 if test x$enable_linux_futex = xyes; then
77440
77441 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77442
77443 fi
77444
77445
77446
77447
77448 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77449
77450 acx_cv_header_stdint=stddef.h
77451 acx_cv_header_stdint_kind="(already complete)"
77452 for i in stdint.h $inttype_headers; do
77453 unset ac_cv_type_uintptr_t
77454 unset ac_cv_type_uintmax_t
77455 unset ac_cv_type_int_least32_t
77456 unset ac_cv_type_int_fast32_t
77457 unset ac_cv_type_uint64_t
77458 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77459 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77460 #include <$i>
77461 "
77462 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77463 acx_cv_header_stdint=$i
77464 else
77465 continue
77466 fi
77467
77468 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77469 #include <$i>
77470 "
77471 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77472
77473 else
77474 acx_cv_header_stdint_kind="(mostly complete)"
77475 fi
77476
77477 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77478 #include <$i>
77479 "
77480 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77481
77482 else
77483 acx_cv_header_stdint_kind="(mostly complete)"
77484 fi
77485
77486 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77487 #include <$i>
77488 "
77489 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77490
77491 else
77492 acx_cv_header_stdint_kind="(mostly complete)"
77493 fi
77494
77495 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77496 #include <$i>
77497 "
77498 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77499
77500 else
77501 acx_cv_header_stdint_kind="(lacks uint64_t)"
77502 fi
77503
77504 break
77505 done
77506 if test "$acx_cv_header_stdint" = stddef.h; then
77507 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77508 for i in stdint.h $inttype_headers; do
77509 unset ac_cv_type_uintptr_t
77510 unset ac_cv_type_uint32_t
77511 unset ac_cv_type_uint64_t
77512 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77513 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77514 #include <$i>
77515 "
77516 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77517 acx_cv_header_stdint=$i
77518 else
77519 continue
77520 fi
77521
77522 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77523 #include <$i>
77524 "
77525 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77526
77527 fi
77528
77529 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77530 #include <$i>
77531 "
77532 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77533
77534 fi
77535
77536 break
77537 done
77538 fi
77539 if test "$acx_cv_header_stdint" = stddef.h; then
77540 acx_cv_header_stdint_kind="(u_intXX_t style)"
77541 for i in sys/types.h $inttype_headers; do
77542 unset ac_cv_type_u_int32_t
77543 unset ac_cv_type_u_int64_t
77544 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77545 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77546 #include <$i>
77547 "
77548 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77549 acx_cv_header_stdint=$i
77550 else
77551 continue
77552 fi
77553
77554 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77555 #include <$i>
77556 "
77557 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77558
77559 fi
77560
77561 break
77562 done
77563 fi
77564 if test "$acx_cv_header_stdint" = stddef.h; then
77565 acx_cv_header_stdint_kind="(using manual detection)"
77566 fi
77567
77568 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77569 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77570 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77571 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77572 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77573
77574 # ----------------- Summarize what we found so far
77575
77576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77577 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77578
77579 case `$as_basename -- include/gstdint.h ||
77580 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77581 Xinclude/gstdint.h : 'X\(//\)$' \| \
77582 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77583 $as_echo X/include/gstdint.h |
77584 sed '/^.*\/\([^/][^/]*\)\/*$/{
77585 s//\1/
77586 q
77587 }
77588 /^X\/\(\/\/\)$/{
77589 s//\1/
77590 q
77591 }
77592 /^X\/\(\/\).*/{
77593 s//\1/
77594 q
77595 }
77596 s/.*/./; q'` in
77597 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77598 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77599 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77600 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77601 *) ;;
77602 esac
77603
77604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77605 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77606
77607 # ----------------- done included file, check C basic types --------
77608
77609 # Lacking an uintptr_t? Test size of void *
77610 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77611 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77612 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77613 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77614 # This bug is HP SR number 8606223364.
77615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77616 $as_echo_n "checking size of void *... " >&6; }
77617 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77618 $as_echo_n "(cached) " >&6
77619 else
77620 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77621
77622 else
77623 if test "$ac_cv_type_void_p" = yes; then
77624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77626 { as_fn_set_status 77
77627 as_fn_error "cannot compute sizeof (void *)
77628 See \`config.log' for more details." "$LINENO" 5; }; }
77629 else
77630 ac_cv_sizeof_void_p=0
77631 fi
77632 fi
77633
77634 fi
77635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77636 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77637
77638
77639
77640 cat >>confdefs.h <<_ACEOF
77641 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77642 _ACEOF
77643
77644 ;;
77645 esac
77646
77647 # Lacking an uint64_t? Test size of long
77648 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77649 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77650 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77651 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77652 # This bug is HP SR number 8606223364.
77653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77654 $as_echo_n "checking size of long... " >&6; }
77655 if test "${ac_cv_sizeof_long+set}" = set; then :
77656 $as_echo_n "(cached) " >&6
77657 else
77658 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77659
77660 else
77661 if test "$ac_cv_type_long" = yes; then
77662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77664 { as_fn_set_status 77
77665 as_fn_error "cannot compute sizeof (long)
77666 See \`config.log' for more details." "$LINENO" 5; }; }
77667 else
77668 ac_cv_sizeof_long=0
77669 fi
77670 fi
77671
77672 fi
77673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77674 $as_echo "$ac_cv_sizeof_long" >&6; }
77675
77676
77677
77678 cat >>confdefs.h <<_ACEOF
77679 #define SIZEOF_LONG $ac_cv_sizeof_long
77680 _ACEOF
77681
77682 ;;
77683 esac
77684
77685 if test $acx_cv_header_stdint = stddef.h; then
77686 # Lacking a good header? Test size of everything and deduce all types.
77687 # The cast to long int works around a bug in the HP C Compiler
77688 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77689 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77690 # This bug is HP SR number 8606223364.
77691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77692 $as_echo_n "checking size of int... " >&6; }
77693 if test "${ac_cv_sizeof_int+set}" = set; then :
77694 $as_echo_n "(cached) " >&6
77695 else
77696 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77697
77698 else
77699 if test "$ac_cv_type_int" = yes; then
77700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77702 { as_fn_set_status 77
77703 as_fn_error "cannot compute sizeof (int)
77704 See \`config.log' for more details." "$LINENO" 5; }; }
77705 else
77706 ac_cv_sizeof_int=0
77707 fi
77708 fi
77709
77710 fi
77711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77712 $as_echo "$ac_cv_sizeof_int" >&6; }
77713
77714
77715
77716 cat >>confdefs.h <<_ACEOF
77717 #define SIZEOF_INT $ac_cv_sizeof_int
77718 _ACEOF
77719
77720
77721 # The cast to long int works around a bug in the HP C Compiler
77722 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77723 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77724 # This bug is HP SR number 8606223364.
77725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77726 $as_echo_n "checking size of short... " >&6; }
77727 if test "${ac_cv_sizeof_short+set}" = set; then :
77728 $as_echo_n "(cached) " >&6
77729 else
77730 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77731
77732 else
77733 if test "$ac_cv_type_short" = yes; then
77734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77736 { as_fn_set_status 77
77737 as_fn_error "cannot compute sizeof (short)
77738 See \`config.log' for more details." "$LINENO" 5; }; }
77739 else
77740 ac_cv_sizeof_short=0
77741 fi
77742 fi
77743
77744 fi
77745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77746 $as_echo "$ac_cv_sizeof_short" >&6; }
77747
77748
77749
77750 cat >>confdefs.h <<_ACEOF
77751 #define SIZEOF_SHORT $ac_cv_sizeof_short
77752 _ACEOF
77753
77754
77755 # The cast to long int works around a bug in the HP C Compiler
77756 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77757 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77758 # This bug is HP SR number 8606223364.
77759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77760 $as_echo_n "checking size of char... " >&6; }
77761 if test "${ac_cv_sizeof_char+set}" = set; then :
77762 $as_echo_n "(cached) " >&6
77763 else
77764 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77765
77766 else
77767 if test "$ac_cv_type_char" = yes; then
77768 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77769 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77770 { as_fn_set_status 77
77771 as_fn_error "cannot compute sizeof (char)
77772 See \`config.log' for more details." "$LINENO" 5; }; }
77773 else
77774 ac_cv_sizeof_char=0
77775 fi
77776 fi
77777
77778 fi
77779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77780 $as_echo "$ac_cv_sizeof_char" >&6; }
77781
77782
77783
77784 cat >>confdefs.h <<_ACEOF
77785 #define SIZEOF_CHAR $ac_cv_sizeof_char
77786 _ACEOF
77787
77788
77789
77790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77791 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77792 case "$ac_cv_sizeof_char" in
77793 1) acx_cv_type_int8_t=char ;;
77794 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77795 esac
77796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77797 $as_echo "$acx_cv_type_int8_t" >&6; }
77798
77799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77800 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77801 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77802 2:*) acx_cv_type_int16_t=int ;;
77803 *:2) acx_cv_type_int16_t=short ;;
77804 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77805 esac
77806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77807 $as_echo "$acx_cv_type_int16_t" >&6; }
77808
77809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77810 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77811 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77812 4:*) acx_cv_type_int32_t=int ;;
77813 *:4) acx_cv_type_int32_t=long ;;
77814 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77815 esac
77816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77817 $as_echo "$acx_cv_type_int32_t" >&6; }
77818 fi
77819
77820 # These tests are here to make the output prettier
77821
77822 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77823 case "$ac_cv_sizeof_long" in
77824 8) acx_cv_type_int64_t=long ;;
77825 esac
77826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77827 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77829 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77830 fi
77831
77832 # Now we can use the above types
77833
77834 if test "$ac_cv_type_uintptr_t" != yes; then
77835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77836 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77837 case $ac_cv_sizeof_void_p in
77838 2) acx_cv_type_intptr_t=int16_t ;;
77839 4) acx_cv_type_intptr_t=int32_t ;;
77840 8) acx_cv_type_intptr_t=int64_t ;;
77841 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77842 esac
77843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77844 $as_echo "$acx_cv_type_intptr_t" >&6; }
77845 fi
77846
77847 # ----------------- done all checks, emit header -------------
77848 ac_config_commands="$ac_config_commands include/gstdint.h"
77849
77850
77851
77852
77853
77854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77855 $as_echo_n "checking for GNU c++filt... " >&6; }
77856 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77857 $as_echo_n "(cached) " >&6
77858 else
77859 if test -z "$CXXFILT"; then
77860 ac_path_CXXFILT_found=false
77861 # Loop through the user's path and test for each of PROGNAME-LIST
77862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77863 for as_dir in $PATH
77864 do
77865 IFS=$as_save_IFS
77866 test -z "$as_dir" && as_dir=.
77867 for ac_prog in c++filt gc++filt; do
77868 for ac_exec_ext in '' $ac_executable_extensions; do
77869 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77870 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77871 # Check for GNU $ac_path_CXXFILT
77872 case `"$ac_path_CXXFILT" --version 2>&1` in
77873 *GNU*)
77874 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77875 esac
77876
77877 $ac_path_CXXFILT_found && break 3
77878 done
77879 done
77880 done
77881 IFS=$as_save_IFS
77882 if test -z "$ac_cv_path_CXXFILT"; then
77883 :
77884 fi
77885 else
77886 ac_cv_path_CXXFILT=$CXXFILT
77887 fi
77888
77889 fi
77890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77891 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77892 CXXFILT=$ac_cv_path_CXXFILT
77893
77894
77895
77896 # Check whether --enable-symvers was given.
77897 if test "${enable_symvers+set}" = set; then :
77898 enableval=$enable_symvers;
77899 case "$enableval" in
77900 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77901 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77902 esac
77903
77904 else
77905 enable_symvers=yes
77906 fi
77907
77908
77909
77910 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77911 # don't know enough about $LD to do tricks...
77912
77913 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77914 # with extern "C++" in version scripts.
77915
77916
77917 # Turn a 'yes' into a suitable default.
77918 if test x$enable_symvers = xyes ; then
77919 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77920 enable_symvers=no
77921 else
77922 if test $with_gnu_ld = yes ; then
77923 case ${target_os} in
77924 hpux*)
77925 enable_symvers=no ;;
77926 *)
77927 enable_symvers=gnu ;;
77928 esac
77929 else
77930 case ${target_os} in
77931 darwin*)
77932 enable_symvers=darwin ;;
77933 # Sun symbol versioning exists since Solaris 2.5.
77934 solaris2.[5-9]* | solaris2.1[0-9]*)
77935 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77936 # version scripts, so disable symbol versioning if none can be
77937 # found.
77938 if test -z "$ac_cv_path_CXXFILT"; then
77939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77940 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77942 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77944 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77945 enable_symvers=no
77946 else
77947 enable_symvers=sun
77948 fi
77949 ;;
77950 *)
77951 enable_symvers=no ;;
77952 esac
77953 fi
77954 fi
77955 fi
77956
77957 # Check to see if 'darwin' or 'darwin-export' can win.
77958 if test x$enable_symvers = xdarwin-export ; then
77959 enable_symvers=darwin
77960 fi
77961
77962 # Check if 'sun' was requested on non-Solaris 2 platforms.
77963 if test x$enable_symvers = xsun ; then
77964 case ${target_os} in
77965 solaris2*)
77966 # All fine.
77967 ;;
77968 *)
77969 # Unlikely to work.
77970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77971 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77972 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77973 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77975 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77976 enable_symvers=no
77977 ;;
77978 esac
77979 fi
77980
77981 # Check to see if 'gnu' can win.
77982 if test $enable_symvers = gnu ||
77983 test $enable_symvers = gnu-versioned-namespace ||
77984 test $enable_symvers = sun; then
77985 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77987 $as_echo_n "checking for shared libgcc... " >&6; }
77988 ac_save_CFLAGS="$CFLAGS"
77989 CFLAGS=' -lgcc_s'
77990 if test x$gcc_no_link = xyes; then
77991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77992 fi
77993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77994 /* end confdefs.h. */
77995
77996 int
77997 main ()
77998 {
77999 return 0;
78000 ;
78001 return 0;
78002 }
78003 _ACEOF
78004 if ac_fn_c_try_link "$LINENO"; then :
78005 glibcxx_shared_libgcc=yes
78006 else
78007 glibcxx_shared_libgcc=no
78008 fi
78009 rm -f core conftest.err conftest.$ac_objext \
78010 conftest$ac_exeext conftest.$ac_ext
78011 CFLAGS="$ac_save_CFLAGS"
78012 if test $glibcxx_shared_libgcc = no; then
78013 cat > conftest.c <<EOF
78014 int main (void) { return 0; }
78015 EOF
78016 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78017 -shared -shared-libgcc -o conftest.so \
78018 conftest.c -v 2>&1 >/dev/null \
78019 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
78020 rm -f conftest.c conftest.so
78021 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
78022 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
78023 if test x$gcc_no_link = xyes; then
78024 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78025 fi
78026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78027 /* end confdefs.h. */
78028
78029 int
78030 main ()
78031 {
78032 return 0;
78033 ;
78034 return 0;
78035 }
78036 _ACEOF
78037 if ac_fn_c_try_link "$LINENO"; then :
78038 glibcxx_shared_libgcc=yes
78039 fi
78040 rm -f core conftest.err conftest.$ac_objext \
78041 conftest$ac_exeext conftest.$ac_ext
78042 CFLAGS="$ac_save_CFLAGS"
78043 fi
78044 fi
78045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
78046 $as_echo "$glibcxx_shared_libgcc" >&6; }
78047
78048 # For GNU ld, we need at least this version. The format is described in
78049 # GLIBCXX_CHECK_LINKER_FEATURES above.
78050 glibcxx_min_gnu_ld_version=21400
78051
78052 # If no shared libgcc, can't win.
78053 if test $glibcxx_shared_libgcc != yes; then
78054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78055 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
78057 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
78058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78059 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78060 enable_symvers=no
78061 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
78062 : All interesting versions of Sun ld support sun style symbol versioning.
78063 elif test $with_gnu_ld != yes ; then
78064 # just fail for now
78065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
78066 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
78067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
78068 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
78069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78070 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78071 enable_symvers=no
78072 elif test $glibcxx_ld_is_gold = yes ; then
78073 : All versions of gold support symbol versioning.
78074 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
78075 # The right tools, the right setup, but too old. Fallbacks?
78076 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
78077 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
78078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
78079 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
78080 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
78081 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
78082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
78083 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
78084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78085 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78086 enable_symvers=no
78087 fi
78088 fi
78089
78090 # For libtool versioning info, format is CURRENT:REVISION:AGE
78091 libtool_VERSION=6:22:0
78092
78093 # Everything parsed; figure out what files and settings to use.
78094 case $enable_symvers in
78095 no)
78096 SYMVER_FILE=config/abi/pre/none.ver
78097 ;;
78098 gnu)
78099 SYMVER_FILE=config/abi/pre/gnu.ver
78100
78101 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
78102
78103 ;;
78104 gnu-versioned-namespace)
78105 libtool_VERSION=7:0:0
78106 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
78107
78108 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
78109
78110 ;;
78111 darwin)
78112 SYMVER_FILE=config/abi/pre/gnu.ver
78113
78114 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
78115
78116 ;;
78117 sun)
78118 SYMVER_FILE=config/abi/pre/gnu.ver
78119
78120 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
78121
78122 ;;
78123 esac
78124
78125 if test x$enable_symvers != xno ; then
78126
78127 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
78128
78129 fi
78130
78131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
78132 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
78133 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
78134 $as_echo_n "(cached) " >&6
78135 else
78136
78137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78138 /* end confdefs.h. */
78139 void foo (void); __asm (".symver foo, bar@SYMVER");
78140 int
78141 main ()
78142 {
78143
78144 ;
78145 return 0;
78146 }
78147 _ACEOF
78148 if ac_fn_c_try_compile "$LINENO"; then :
78149 glibcxx_cv_have_as_symver_directive=yes
78150 else
78151 glibcxx_cv_have_as_symver_directive=no
78152 fi
78153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78154 fi
78155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78156 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78157 if test $glibcxx_cv_have_as_symver_directive = yes; then
78158
78159 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78160
78161 fi
78162
78163
78164
78165
78166
78167
78168
78169
78170 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78171 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78172
78173 if test $enable_symvers != no ; then
78174 case ${target_os} in
78175 # The Solaris 2 runtime linker doesn't support the GNU extension of
78176 # binding the same symbol to different versions
78177 solaris2*)
78178 ;;
78179 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78180 *)
78181
78182 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78183
78184 ;;
78185 esac
78186 fi
78187
78188 # Now, set up compatibility support, if any.
78189 # In addition, need this to deal with std::size_t mangling in
78190 # src/compatibility.cc. In a perfect world, could use
78191 # typeid(std::size_t).name()[0] to do direct substitution.
78192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78193 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78194 ac_save_CFLAGS="$CFLAGS"
78195 CFLAGS="-Werror"
78196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78197 /* end confdefs.h. */
78198
78199 int
78200 main ()
78201 {
78202 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78203 ;
78204 return 0;
78205 }
78206 _ACEOF
78207 if ac_fn_c_try_compile "$LINENO"; then :
78208 glibcxx_size_t_is_i=yes
78209 else
78210 glibcxx_size_t_is_i=no
78211 fi
78212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78213 CFLAGS=$ac_save_CFLAGS
78214 if test "$glibcxx_size_t_is_i" = yes; then
78215
78216 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78217
78218 fi
78219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78220 $as_echo "$glibcxx_size_t_is_i" >&6; }
78221
78222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78223 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78224 ac_save_CFLAGS="$CFLAGS"
78225 CFLAGS="-Werror"
78226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78227 /* end confdefs.h. */
78228
78229 int
78230 main ()
78231 {
78232 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78233 ;
78234 return 0;
78235 }
78236 _ACEOF
78237 if ac_fn_c_try_compile "$LINENO"; then :
78238 glibcxx_ptrdiff_t_is_i=yes
78239 else
78240 glibcxx_ptrdiff_t_is_i=no
78241 fi
78242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78243 CFLAGS=$ac_save_CFLAGS
78244 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78245
78246 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78247
78248 fi
78249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78250 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78251
78252
78253
78254
78255 # Check whether --enable-libstdcxx-visibility was given.
78256 if test "${enable_libstdcxx_visibility+set}" = set; then :
78257 enableval=$enable_libstdcxx_visibility;
78258 case "$enableval" in
78259 yes|no) ;;
78260 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78261 esac
78262
78263 else
78264 enable_libstdcxx_visibility=yes
78265 fi
78266
78267
78268
78269 if test x$enable_libstdcxx_visibility = xyes ; then
78270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78271 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78272 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78273 $as_echo_n "(cached) " >&6
78274 else
78275
78276 save_CFLAGS="$CFLAGS"
78277 CFLAGS="$CFLAGS -Werror"
78278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78279 /* end confdefs.h. */
78280 void __attribute__((visibility("hidden"))) foo(void) { }
78281 int
78282 main ()
78283 {
78284
78285 ;
78286 return 0;
78287 }
78288 _ACEOF
78289 if ac_fn_c_try_compile "$LINENO"; then :
78290 glibcxx_cv_have_attribute_visibility=yes
78291 else
78292 glibcxx_cv_have_attribute_visibility=no
78293 fi
78294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78295 CFLAGS="$save_CFLAGS"
78296 fi
78297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78298 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78299 if test $glibcxx_cv_have_attribute_visibility = no; then
78300 enable_libstdcxx_visibility=no
78301 fi
78302 fi
78303
78304
78305 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78306 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78307
78308
78309
78310 # Check whether --enable-libstdcxx-dual-abi was given.
78311 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78312 enableval=$enable_libstdcxx_dual_abi;
78313 case "$enableval" in
78314 yes|no) ;;
78315 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78316 esac
78317
78318 else
78319 enable_libstdcxx_dual_abi=yes
78320 fi
78321
78322
78323 if test x$enable_symvers = xgnu-versioned-namespace; then
78324 # gnu-versioned-namespace is incompatible with the dual ABI.
78325 enable_libstdcxx_dual_abi="no"
78326 fi
78327 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78328 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78329 $as_echo "$as_me: dual ABI is disabled" >&6;}
78330 default_libstdcxx_abi="c++98"
78331 fi
78332
78333
78334
78335 if test x$enable_libstdcxx_dual_abi = xyes; then
78336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78337 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78338
78339 # Check whether --with-default-libstdcxx-abi was given.
78340 if test "${with_default_libstdcxx_abi+set}" = set; then :
78341 withval=$with_default_libstdcxx_abi; case "$withval" in
78342 c++98|gnu++98|c++03|gnu++03) default_libstdcxx_abi="c++98" ;;
78343 c++1?|gnu++1?) default_libstdcxx_abi="c++11" ;;
78344 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78345 esac
78346 else
78347 default_libstdcxx_abi="c++11"
78348 fi
78349
78350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78351 $as_echo "${default_libstdcxx_abi}" >&6; }
78352 fi
78353 if test $default_libstdcxx_abi = "c++11"; then
78354 glibcxx_cxx11_abi=1
78355 glibcxx_cxx98_abi=0
78356 else
78357 glibcxx_cxx11_abi=0
78358 glibcxx_cxx98_abi=1
78359 fi
78360
78361
78362
78363
78364 ac_ldbl_compat=no
78365 case "$target" in
78366 powerpc*-*-linux* | \
78367 sparc*-*-linux* | \
78368 s390*-*-linux* | \
78369 alpha*-*-linux*)
78370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78371 /* end confdefs.h. */
78372
78373 int
78374 main ()
78375 {
78376
78377 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78378 #error no need for long double compatibility
78379 #endif
78380
78381 ;
78382 return 0;
78383 }
78384 _ACEOF
78385 if ac_fn_c_try_compile "$LINENO"; then :
78386 ac_ldbl_compat=yes
78387 else
78388 ac_ldbl_compat=no
78389 fi
78390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78391 if test "$ac_ldbl_compat" = yes; then
78392
78393 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78394
78395 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78396 fi
78397 esac
78398
78399
78400 # Check if assembler supports disabling hardware capability support.
78401
78402 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78403
78404 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78405 # with a different meaning.
78406 case ${target_os} in
78407 solaris2*)
78408 ac_save_CFLAGS="$CFLAGS"
78409 CFLAGS="$CFLAGS -Wa,-nH"
78410
78411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78412 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78414 /* end confdefs.h. */
78415
78416 int
78417 main ()
78418 {
78419 return 0;
78420 ;
78421 return 0;
78422 }
78423 _ACEOF
78424 if ac_fn_c_try_compile "$LINENO"; then :
78425 ac_hwcap_flags=yes
78426 else
78427 ac_hwcap_flags=no
78428 fi
78429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78430 if test "$ac_hwcap_flags" = "yes"; then
78431 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78432 fi
78433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78434 $as_echo "$ac_hwcap_flags" >&6; }
78435
78436 CFLAGS="$ac_save_CFLAGS"
78437 ;;
78438 esac
78439
78440
78441
78442
78443 # Check if assembler supports rdrand opcode.
78444
78445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78446 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78447 if test "${ac_cv_x86_rdrand+set}" = set; then :
78448 $as_echo_n "(cached) " >&6
78449 else
78450
78451 ac_cv_x86_rdrand=no
78452 case "$target" in
78453 i?86-*-* | \
78454 x86_64-*-*)
78455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78456 /* end confdefs.h. */
78457
78458 int
78459 main ()
78460 {
78461 asm("rdrand %eax");
78462 ;
78463 return 0;
78464 }
78465 _ACEOF
78466 if ac_fn_c_try_compile "$LINENO"; then :
78467 ac_cv_x86_rdrand=yes
78468 else
78469 ac_cv_x86_rdrand=no
78470 fi
78471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78472 esac
78473
78474 fi
78475
78476 if test $ac_cv_x86_rdrand = yes; then
78477
78478 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78479
78480 fi
78481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78482 $as_echo "$ac_cv_x86_rdrand" >&6; }
78483
78484
78485 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78486
78487 if $GLIBCXX_IS_NATIVE ; then
78488 # Do checks for resource limit functions.
78489
78490 setrlimit_have_headers=yes
78491 for ac_header in unistd.h sys/time.h sys/resource.h
78492 do :
78493 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78494 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78495 eval as_val=\$$as_ac_Header
78496 if test "x$as_val" = x""yes; then :
78497 cat >>confdefs.h <<_ACEOF
78498 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78499 _ACEOF
78500
78501 else
78502 setrlimit_have_headers=no
78503 fi
78504
78505 done
78506
78507 # If don't have the headers, then we can't run the tests now, and we
78508 # won't be seeing any of these during testsuite compilation.
78509 if test $setrlimit_have_headers = yes; then
78510 # Can't do these in a loop, else the resulting syntax is wrong.
78511
78512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78513 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78515 /* end confdefs.h. */
78516 #include <unistd.h>
78517 #include <sys/time.h>
78518 #include <sys/resource.h>
78519
78520 int
78521 main ()
78522 {
78523 int f = RLIMIT_DATA ;
78524 ;
78525 return 0;
78526 }
78527 _ACEOF
78528 if ac_fn_c_try_compile "$LINENO"; then :
78529 glibcxx_mresult=1
78530 else
78531 glibcxx_mresult=0
78532 fi
78533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78534
78535 cat >>confdefs.h <<_ACEOF
78536 #define HAVE_LIMIT_DATA $glibcxx_mresult
78537 _ACEOF
78538
78539 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78541 $as_echo "$res" >&6; }
78542
78543
78544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78545 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78547 /* end confdefs.h. */
78548 #include <unistd.h>
78549 #include <sys/time.h>
78550 #include <sys/resource.h>
78551
78552 int
78553 main ()
78554 {
78555 int f = RLIMIT_RSS ;
78556 ;
78557 return 0;
78558 }
78559 _ACEOF
78560 if ac_fn_c_try_compile "$LINENO"; then :
78561 glibcxx_mresult=1
78562 else
78563 glibcxx_mresult=0
78564 fi
78565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78566
78567 cat >>confdefs.h <<_ACEOF
78568 #define HAVE_LIMIT_RSS $glibcxx_mresult
78569 _ACEOF
78570
78571 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78573 $as_echo "$res" >&6; }
78574
78575
78576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78577 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78579 /* end confdefs.h. */
78580 #include <unistd.h>
78581 #include <sys/time.h>
78582 #include <sys/resource.h>
78583
78584 int
78585 main ()
78586 {
78587 int f = RLIMIT_VMEM ;
78588 ;
78589 return 0;
78590 }
78591 _ACEOF
78592 if ac_fn_c_try_compile "$LINENO"; then :
78593 glibcxx_mresult=1
78594 else
78595 glibcxx_mresult=0
78596 fi
78597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78598
78599 cat >>confdefs.h <<_ACEOF
78600 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78601 _ACEOF
78602
78603 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78605 $as_echo "$res" >&6; }
78606
78607
78608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78609 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78611 /* end confdefs.h. */
78612 #include <unistd.h>
78613 #include <sys/time.h>
78614 #include <sys/resource.h>
78615
78616 int
78617 main ()
78618 {
78619 int f = RLIMIT_AS ;
78620 ;
78621 return 0;
78622 }
78623 _ACEOF
78624 if ac_fn_c_try_compile "$LINENO"; then :
78625 glibcxx_mresult=1
78626 else
78627 glibcxx_mresult=0
78628 fi
78629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78630
78631 cat >>confdefs.h <<_ACEOF
78632 #define HAVE_LIMIT_AS $glibcxx_mresult
78633 _ACEOF
78634
78635 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78637 $as_echo "$res" >&6; }
78638
78639
78640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78641 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78643 /* end confdefs.h. */
78644 #include <unistd.h>
78645 #include <sys/time.h>
78646 #include <sys/resource.h>
78647
78648 int
78649 main ()
78650 {
78651 int f = RLIMIT_FSIZE ;
78652 ;
78653 return 0;
78654 }
78655 _ACEOF
78656 if ac_fn_c_try_compile "$LINENO"; then :
78657 glibcxx_mresult=1
78658 else
78659 glibcxx_mresult=0
78660 fi
78661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78662
78663 cat >>confdefs.h <<_ACEOF
78664 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78665 _ACEOF
78666
78667 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78669 $as_echo "$res" >&6; }
78670
78671
78672 # Check for rlimit, setrlimit.
78673 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78674 $as_echo_n "(cached) " >&6
78675 else
78676
78677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78678 /* end confdefs.h. */
78679 #include <unistd.h>
78680 #include <sys/time.h>
78681 #include <sys/resource.h>
78682
78683 int
78684 main ()
78685 {
78686 struct rlimit r;
78687 setrlimit(0, &r);
78688 ;
78689 return 0;
78690 }
78691 _ACEOF
78692 if ac_fn_c_try_compile "$LINENO"; then :
78693 glibcxx_cv_setrlimit=yes
78694 else
78695 glibcxx_cv_setrlimit=no
78696 fi
78697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78698
78699 fi
78700
78701 fi
78702
78703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78704 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78705 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78706 ac_res_limits=yes
78707
78708 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78709
78710 else
78711 ac_res_limits=no
78712 fi
78713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78714 $as_echo "$ac_res_limits" >&6; }
78715
78716
78717 # Look for setenv, so that extended locale tests can be performed.
78718
78719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78720 $as_echo_n "checking for setenv declaration... " >&6; }
78721 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78722 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78723 $as_echo_n "(cached) " >&6
78724 else
78725
78726
78727 ac_ext=cpp
78728 ac_cpp='$CXXCPP $CPPFLAGS'
78729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78732
78733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78734 /* end confdefs.h. */
78735 #include <stdlib.h>
78736 int
78737 main ()
78738 {
78739 setenv(0, 0, 0);
78740 ;
78741 return 0;
78742 }
78743 _ACEOF
78744 if ac_fn_cxx_try_compile "$LINENO"; then :
78745 glibcxx_cv_func_setenv_use=yes
78746 else
78747 glibcxx_cv_func_setenv_use=no
78748 fi
78749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78750 ac_ext=c
78751 ac_cpp='$CPP $CPPFLAGS'
78752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78755
78756
78757 fi
78758
78759 fi
78760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78761 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78762 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78763 for ac_func in setenv
78764 do :
78765 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78766 if test "x$ac_cv_func_setenv" = x""yes; then :
78767 cat >>confdefs.h <<_ACEOF
78768 #define HAVE_SETENV 1
78769 _ACEOF
78770
78771 fi
78772 done
78773
78774 fi
78775
78776 fi
78777
78778 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78779 test $enable_symvers != no; then
78780 case "$host" in
78781 *-*-cygwin*)
78782 enable_abi_check=no ;;
78783 *)
78784 enable_abi_check=yes ;;
78785 esac
78786 else
78787 # Only build this as native, since automake does not understand
78788 # CXX_FOR_BUILD.
78789 enable_abi_check=no
78790 fi
78791
78792 # Export file names for ABI checking.
78793 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78794
78795 baseline_subdir_switch="$abi_baseline_subdir_switch"
78796
78797
78798
78799 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78800
78801 # Check whether --enable-libstdcxx-threads was given.
78802 if test "${enable_libstdcxx_threads+set}" = set; then :
78803 enableval=$enable_libstdcxx_threads;
78804 case "$enableval" in
78805 yes|no) ;;
78806 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78807 esac
78808
78809 else
78810 enable_libstdcxx_threads=auto
78811 fi
78812
78813
78814
78815 if test x$enable_libstdcxx_threads = xauto ||
78816 test x$enable_libstdcxx_threads = xyes; then
78817
78818
78819 ac_ext=cpp
78820 ac_cpp='$CXXCPP $CPPFLAGS'
78821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78824
78825
78826 ac_save_CXXFLAGS="$CXXFLAGS"
78827 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78828 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78829
78830 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78831 case $target_thread_file in
78832 posix)
78833 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78834 esac
78835
78836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78837 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78838
78839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78840 /* end confdefs.h. */
78841 #include <unistd.h>
78842 int
78843 main ()
78844 {
78845
78846 // In case of POSIX threads check _POSIX_TIMEOUTS.
78847 #if (defined(_PTHREADS) \
78848 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78849 #error
78850 #endif
78851
78852 ;
78853 return 0;
78854 }
78855 _ACEOF
78856 if ac_fn_cxx_try_compile "$LINENO"; then :
78857 ac_gthread_use_mutex_timedlock=1
78858 else
78859 ac_gthread_use_mutex_timedlock=0
78860 fi
78861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78862
78863
78864 cat >>confdefs.h <<_ACEOF
78865 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78866 _ACEOF
78867
78868
78869 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78870 else res_mutex_timedlock=no ; fi
78871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78872 $as_echo "$res_mutex_timedlock" >&6; }
78873
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78875 $as_echo_n "checking for gthreads library... " >&6; }
78876
78877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78878 /* end confdefs.h. */
78879 #include "gthr.h"
78880 int
78881 main ()
78882 {
78883
78884 #ifndef __GTHREADS_CXX0X
78885 #error
78886 #endif
78887
78888 ;
78889 return 0;
78890 }
78891 _ACEOF
78892 if ac_fn_cxx_try_compile "$LINENO"; then :
78893 ac_has_gthreads=yes
78894 else
78895 ac_has_gthreads=no
78896 fi
78897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78898 else
78899 ac_has_gthreads=no
78900 fi
78901
78902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78903 $as_echo "$ac_has_gthreads" >&6; }
78904
78905 if test x"$ac_has_gthreads" = x"yes"; then
78906
78907 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78908
78909
78910 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
78911 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
78912 "
78913 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
78914
78915 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
78916
78917 fi
78918
78919 fi
78920
78921 CXXFLAGS="$ac_save_CXXFLAGS"
78922 ac_ext=c
78923 ac_cpp='$CPP $CPPFLAGS'
78924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78927
78928
78929
78930 # For Filesystem TS.
78931 for ac_header in fcntl.h dirent.h sys/statvfs.h
78932 do :
78933 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78934 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78935 eval as_val=\$$as_ac_Header
78936 if test "x$as_val" = x""yes; then :
78937 cat >>confdefs.h <<_ACEOF
78938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78939 _ACEOF
78940
78941 fi
78942
78943 done
78944
78945 ac_header_dirent=no
78946 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
78947 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
78948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
78949 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
78950 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then :
78951 $as_echo_n "(cached) " >&6
78952 else
78953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78954 /* end confdefs.h. */
78955 #include <sys/types.h>
78956 #include <$ac_hdr>
78957
78958 int
78959 main ()
78960 {
78961 if ((DIR *) 0)
78962 return 0;
78963 ;
78964 return 0;
78965 }
78966 _ACEOF
78967 if ac_fn_c_try_compile "$LINENO"; then :
78968 eval "$as_ac_Header=yes"
78969 else
78970 eval "$as_ac_Header=no"
78971 fi
78972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78973 fi
78974 eval ac_res=\$$as_ac_Header
78975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
78976 $as_echo "$ac_res" >&6; }
78977 eval as_val=\$$as_ac_Header
78978 if test "x$as_val" = x""yes; then :
78979 cat >>confdefs.h <<_ACEOF
78980 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
78981 _ACEOF
78982
78983 ac_header_dirent=$ac_hdr; break
78984 fi
78985
78986 done
78987 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
78988 if test $ac_header_dirent = dirent.h; then
78989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
78990 $as_echo_n "checking for library containing opendir... " >&6; }
78991 if test "${ac_cv_search_opendir+set}" = set; then :
78992 $as_echo_n "(cached) " >&6
78993 else
78994 ac_func_search_save_LIBS=$LIBS
78995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78996 /* end confdefs.h. */
78997
78998 /* Override any GCC internal prototype to avoid an error.
78999 Use char because int might match the return type of a GCC
79000 builtin and then its argument prototype would still apply. */
79001 #ifdef __cplusplus
79002 extern "C"
79003 #endif
79004 char opendir ();
79005 int
79006 main ()
79007 {
79008 return opendir ();
79009 ;
79010 return 0;
79011 }
79012 _ACEOF
79013 for ac_lib in '' dir; do
79014 if test -z "$ac_lib"; then
79015 ac_res="none required"
79016 else
79017 ac_res=-l$ac_lib
79018 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
79019 fi
79020 if test x$gcc_no_link = xyes; then
79021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79022 fi
79023 if ac_fn_c_try_link "$LINENO"; then :
79024 ac_cv_search_opendir=$ac_res
79025 fi
79026 rm -f core conftest.err conftest.$ac_objext \
79027 conftest$ac_exeext
79028 if test "${ac_cv_search_opendir+set}" = set; then :
79029 break
79030 fi
79031 done
79032 if test "${ac_cv_search_opendir+set}" = set; then :
79033
79034 else
79035 ac_cv_search_opendir=no
79036 fi
79037 rm conftest.$ac_ext
79038 LIBS=$ac_func_search_save_LIBS
79039 fi
79040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
79041 $as_echo "$ac_cv_search_opendir" >&6; }
79042 ac_res=$ac_cv_search_opendir
79043 if test "$ac_res" != no; then :
79044 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
79045
79046 fi
79047
79048 else
79049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
79050 $as_echo_n "checking for library containing opendir... " >&6; }
79051 if test "${ac_cv_search_opendir+set}" = set; then :
79052 $as_echo_n "(cached) " >&6
79053 else
79054 ac_func_search_save_LIBS=$LIBS
79055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79056 /* end confdefs.h. */
79057
79058 /* Override any GCC internal prototype to avoid an error.
79059 Use char because int might match the return type of a GCC
79060 builtin and then its argument prototype would still apply. */
79061 #ifdef __cplusplus
79062 extern "C"
79063 #endif
79064 char opendir ();
79065 int
79066 main ()
79067 {
79068 return opendir ();
79069 ;
79070 return 0;
79071 }
79072 _ACEOF
79073 for ac_lib in '' x; do
79074 if test -z "$ac_lib"; then
79075 ac_res="none required"
79076 else
79077 ac_res=-l$ac_lib
79078 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
79079 fi
79080 if test x$gcc_no_link = xyes; then
79081 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79082 fi
79083 if ac_fn_c_try_link "$LINENO"; then :
79084 ac_cv_search_opendir=$ac_res
79085 fi
79086 rm -f core conftest.err conftest.$ac_objext \
79087 conftest$ac_exeext
79088 if test "${ac_cv_search_opendir+set}" = set; then :
79089 break
79090 fi
79091 done
79092 if test "${ac_cv_search_opendir+set}" = set; then :
79093
79094 else
79095 ac_cv_search_opendir=no
79096 fi
79097 rm conftest.$ac_ext
79098 LIBS=$ac_func_search_save_LIBS
79099 fi
79100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
79101 $as_echo "$ac_cv_search_opendir" >&6; }
79102 ac_res=$ac_cv_search_opendir
79103 if test "$ac_res" != no; then :
79104 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
79105
79106 fi
79107
79108 fi
79109
79110
79111
79112 ac_fn_c_check_member "$LINENO" "struct dirent" "d_type" "ac_cv_member_struct_dirent_d_type" "
79113 #include <sys/types.h>
79114 #ifdef HAVE_DIRENT_H
79115 # include <dirent.h>
79116 #else
79117 # define dirent direct
79118 # ifdef HAVE_SYS_NDIR_H
79119 # include <sys/ndir.h>
79120 # endif
79121 # ifdef HAVE_SYS_DIR_H
79122 # include <sys/dir.h>
79123 # endif
79124 # ifdef HAVE_NDIR_H
79125 # include <ndir.h>
79126 # endif
79127 #endif
79128
79129 "
79130 if test "x$ac_cv_member_struct_dirent_d_type" = x""yes; then :
79131
79132 cat >>confdefs.h <<_ACEOF
79133 #define HAVE_STRUCT_DIRENT_D_TYPE 1
79134 _ACEOF
79135
79136
79137 fi
79138
79139
79140
79141 # Check whether --enable-libstdcxx-filesystem-ts was given.
79142 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79143 enableval=$enable_libstdcxx_filesystem_ts;
79144 case "$enableval" in
79145 yes|no|auto) ;;
79146 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79147 esac
79148
79149 else
79150 enable_libstdcxx_filesystem_ts=auto
79151 fi
79152
79153
79154
79155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79156 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79157 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79158 case "${target_os}" in
79159 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79160 enable_libstdcxx_filesystem_ts=yes
79161 ;;
79162 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79163 enable_libstdcxx_filesystem_ts=yes
79164 ;;
79165 solaris*)
79166 enable_libstdcxx_filesystem_ts=no
79167 ;;
79168 *)
79169 enable_libstdcxx_filesystem_ts=no
79170 ;;
79171 esac
79172 fi
79173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79174 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79175
79176
79177
79178 ac_ext=cpp
79179 ac_cpp='$CXXCPP $CPPFLAGS'
79180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79183
79184 ac_save_CXXFLAGS="$CXXFLAGS"
79185 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
79187 $as_echo_n "checking for realpath... " >&6; }
79188 if test "${glibcxx_cv_realpath+set}" = set; then :
79189 $as_echo_n "(cached) " >&6
79190 else
79191 if test x$gcc_no_link = xyes; then
79192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79193 /* end confdefs.h. */
79194 #include <stdlib.h>
79195 int
79196 main ()
79197 {
79198 char *tmp = realpath((const char*)NULL, (char*)NULL);
79199 ;
79200 return 0;
79201 }
79202 _ACEOF
79203 if ac_fn_cxx_try_compile "$LINENO"; then :
79204 glibcxx_cv_realpath=yes
79205 else
79206 glibcxx_cv_realpath=no
79207 fi
79208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79209 else
79210 if test x$gcc_no_link = xyes; then
79211 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79212 fi
79213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79214 /* end confdefs.h. */
79215 #include <stdlib.h>
79216 int
79217 main ()
79218 {
79219 char *tmp = realpath((const char*)NULL, (char*)NULL);
79220 ;
79221 return 0;
79222 }
79223 _ACEOF
79224 if ac_fn_cxx_try_link "$LINENO"; then :
79225 glibcxx_cv_realpath=yes
79226 else
79227 glibcxx_cv_realpath=no
79228 fi
79229 rm -f core conftest.err conftest.$ac_objext \
79230 conftest$ac_exeext conftest.$ac_ext
79231 fi
79232
79233 fi
79234
79235 if test $glibcxx_cv_realpath = yes; then
79236
79237 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
79238
79239 fi
79240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
79241 $as_echo "$glibcxx_cv_realpath" >&6; }
79242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
79243 $as_echo_n "checking for utimensat... " >&6; }
79244 if test "${glibcxx_cv_utimensat+set}" = set; then :
79245 $as_echo_n "(cached) " >&6
79246 else
79247 if test x$gcc_no_link = xyes; then
79248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79249 /* end confdefs.h. */
79250
79251 #include <fcntl.h>
79252 #include <sys/stat.h>
79253
79254 int
79255 main ()
79256 {
79257
79258 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79259 int i = utimensat(AT_FDCWD, "path", ts, 0);
79260
79261 ;
79262 return 0;
79263 }
79264 _ACEOF
79265 if ac_fn_cxx_try_compile "$LINENO"; then :
79266 glibcxx_cv_utimensat=yes
79267 else
79268 glibcxx_cv_utimensat=no
79269 fi
79270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79271 else
79272 if test x$gcc_no_link = xyes; then
79273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79274 fi
79275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79276 /* end confdefs.h. */
79277
79278 #include <fcntl.h>
79279 #include <sys/stat.h>
79280
79281 int
79282 main ()
79283 {
79284
79285 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79286 int i = utimensat(AT_FDCWD, "path", ts, 0);
79287
79288 ;
79289 return 0;
79290 }
79291 _ACEOF
79292 if ac_fn_cxx_try_link "$LINENO"; then :
79293 glibcxx_cv_utimensat=yes
79294 else
79295 glibcxx_cv_utimensat=no
79296 fi
79297 rm -f core conftest.err conftest.$ac_objext \
79298 conftest$ac_exeext conftest.$ac_ext
79299 fi
79300
79301 fi
79302
79303 if test $glibcxx_cv_utimensat = yes; then
79304
79305 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
79306
79307 fi
79308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
79309 $as_echo "$glibcxx_cv_utimensat" >&6; }
79310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
79311 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
79312 if test "${glibcxx_cv_st_mtim+set}" = set; then :
79313 $as_echo_n "(cached) " >&6
79314 else
79315 if test x$gcc_no_link = xyes; then
79316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79317 /* end confdefs.h. */
79318 #include <sys/stat.h>
79319 int
79320 main ()
79321 {
79322
79323 struct stat st;
79324 return st.st_mtim.tv_nsec;
79325
79326 ;
79327 return 0;
79328 }
79329 _ACEOF
79330 if ac_fn_cxx_try_compile "$LINENO"; then :
79331 glibcxx_cv_st_mtim=yes
79332 else
79333 glibcxx_cv_st_mtim=no
79334 fi
79335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79336 else
79337 if test x$gcc_no_link = xyes; then
79338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79339 fi
79340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79341 /* end confdefs.h. */
79342 #include <sys/stat.h>
79343 int
79344 main ()
79345 {
79346
79347 struct stat st;
79348 return st.st_mtim.tv_nsec;
79349
79350 ;
79351 return 0;
79352 }
79353 _ACEOF
79354 if ac_fn_cxx_try_link "$LINENO"; then :
79355 glibcxx_cv_st_mtim=yes
79356 else
79357 glibcxx_cv_st_mtim=no
79358 fi
79359 rm -f core conftest.err conftest.$ac_objext \
79360 conftest$ac_exeext conftest.$ac_ext
79361 fi
79362
79363 fi
79364
79365 if test $glibcxx_cv_st_mtim = yes; then
79366
79367 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
79368
79369 fi
79370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
79371 $as_echo "$glibcxx_cv_st_mtim" >&6; }
79372 CXXFLAGS="$ac_save_CXXFLAGS"
79373 ac_ext=c
79374 ac_cpp='$CPP $CPPFLAGS'
79375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79378
79379
79380
79381 # Define documentation rules conditionally.
79382
79383 # See if makeinfo has been installed and is modern enough
79384 # that we can use it.
79385
79386 # Extract the first word of "makeinfo", so it can be a program name with args.
79387 set dummy makeinfo; ac_word=$2
79388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79389 $as_echo_n "checking for $ac_word... " >&6; }
79390 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
79391 $as_echo_n "(cached) " >&6
79392 else
79393 if test -n "$MAKEINFO"; then
79394 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
79395 else
79396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79397 for as_dir in $PATH
79398 do
79399 IFS=$as_save_IFS
79400 test -z "$as_dir" && as_dir=.
79401 for ac_exec_ext in '' $ac_executable_extensions; do
79402 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79403 ac_cv_prog_MAKEINFO="makeinfo"
79404 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79405 break 2
79406 fi
79407 done
79408 done
79409 IFS=$as_save_IFS
79410
79411 fi
79412 fi
79413 MAKEINFO=$ac_cv_prog_MAKEINFO
79414 if test -n "$MAKEINFO"; then
79415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
79416 $as_echo "$MAKEINFO" >&6; }
79417 else
79418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79419 $as_echo "no" >&6; }
79420 fi
79421
79422
79423 if test -n "$MAKEINFO"; then
79424 # Found it, now check the version.
79425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
79426 $as_echo_n "checking for modern makeinfo... " >&6; }
79427 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
79428 $as_echo_n "(cached) " >&6
79429 else
79430 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
79431 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
79432
79433 case $ac_prog_version in
79434 '') gcc_cv_prog_makeinfo_modern=no;;
79435 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
79436 *) gcc_cv_prog_makeinfo_modern=no;;
79437 esac
79438
79439 fi
79440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
79441 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
79442 else
79443 gcc_cv_prog_makeinfo_modern=no
79444 fi
79445 if test $gcc_cv_prog_makeinfo_modern = no; then
79446 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
79447 fi
79448
79449 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
79450 BUILD_INFO_TRUE=
79451 BUILD_INFO_FALSE='#'
79452 else
79453 BUILD_INFO_TRUE='#'
79454 BUILD_INFO_FALSE=
79455 fi
79456
79457
79458 # Check for doxygen
79459 # Extract the first word of "doxygen", so it can be a program name with args.
79460 set dummy doxygen; ac_word=$2
79461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79462 $as_echo_n "checking for $ac_word... " >&6; }
79463 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
79464 $as_echo_n "(cached) " >&6
79465 else
79466 if test -n "$DOXYGEN"; then
79467 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
79468 else
79469 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79470 for as_dir in $PATH
79471 do
79472 IFS=$as_save_IFS
79473 test -z "$as_dir" && as_dir=.
79474 for ac_exec_ext in '' $ac_executable_extensions; do
79475 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79476 ac_cv_prog_DOXYGEN="yes"
79477 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79478 break 2
79479 fi
79480 done
79481 done
79482 IFS=$as_save_IFS
79483
79484 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
79485 fi
79486 fi
79487 DOXYGEN=$ac_cv_prog_DOXYGEN
79488 if test -n "$DOXYGEN"; then
79489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
79490 $as_echo "$DOXYGEN" >&6; }
79491 else
79492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79493 $as_echo "no" >&6; }
79494 fi
79495
79496
79497 # Extract the first word of "dot", so it can be a program name with args.
79498 set dummy dot; ac_word=$2
79499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79500 $as_echo_n "checking for $ac_word... " >&6; }
79501 if test "${ac_cv_prog_DOT+set}" = set; then :
79502 $as_echo_n "(cached) " >&6
79503 else
79504 if test -n "$DOT"; then
79505 ac_cv_prog_DOT="$DOT" # Let the user override the test.
79506 else
79507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79508 for as_dir in $PATH
79509 do
79510 IFS=$as_save_IFS
79511 test -z "$as_dir" && as_dir=.
79512 for ac_exec_ext in '' $ac_executable_extensions; do
79513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79514 ac_cv_prog_DOT="yes"
79515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79516 break 2
79517 fi
79518 done
79519 done
79520 IFS=$as_save_IFS
79521
79522 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
79523 fi
79524 fi
79525 DOT=$ac_cv_prog_DOT
79526 if test -n "$DOT"; then
79527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
79528 $as_echo "$DOT" >&6; }
79529 else
79530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79531 $as_echo "no" >&6; }
79532 fi
79533
79534
79535
79536 # Check for docbook
79537 # Extract the first word of "xsltproc", so it can be a program name with args.
79538 set dummy xsltproc; ac_word=$2
79539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79540 $as_echo_n "checking for $ac_word... " >&6; }
79541 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
79542 $as_echo_n "(cached) " >&6
79543 else
79544 if test -n "$XSLTPROC"; then
79545 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
79546 else
79547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79548 for as_dir in $PATH
79549 do
79550 IFS=$as_save_IFS
79551 test -z "$as_dir" && as_dir=.
79552 for ac_exec_ext in '' $ac_executable_extensions; do
79553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79554 ac_cv_prog_XSLTPROC="yes"
79555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79556 break 2
79557 fi
79558 done
79559 done
79560 IFS=$as_save_IFS
79561
79562 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
79563 fi
79564 fi
79565 XSLTPROC=$ac_cv_prog_XSLTPROC
79566 if test -n "$XSLTPROC"; then
79567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
79568 $as_echo "$XSLTPROC" >&6; }
79569 else
79570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79571 $as_echo "no" >&6; }
79572 fi
79573
79574
79575 # Extract the first word of "xmllint", so it can be a program name with args.
79576 set dummy xmllint; ac_word=$2
79577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79578 $as_echo_n "checking for $ac_word... " >&6; }
79579 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
79580 $as_echo_n "(cached) " >&6
79581 else
79582 if test -n "$XMLLINT"; then
79583 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79584 else
79585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79586 for as_dir in $PATH
79587 do
79588 IFS=$as_save_IFS
79589 test -z "$as_dir" && as_dir=.
79590 for ac_exec_ext in '' $ac_executable_extensions; do
79591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79592 ac_cv_prog_XMLLINT="yes"
79593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79594 break 2
79595 fi
79596 done
79597 done
79598 IFS=$as_save_IFS
79599
79600 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79601 fi
79602 fi
79603 XMLLINT=$ac_cv_prog_XMLLINT
79604 if test -n "$XMLLINT"; then
79605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79606 $as_echo "$XMLLINT" >&6; }
79607 else
79608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79609 $as_echo "no" >&6; }
79610 fi
79611
79612
79613
79614
79615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79616 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79617 glibcxx_stylesheets=no
79618 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
79619 glibcxx_stylesheets=yes
79620 fi
79621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79622 $as_echo "$glibcxx_stylesheets" >&6; }
79623
79624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79625 $as_echo_n "checking for local stylesheet directory... " >&6; }
79626 glibcxx_local_stylesheets=no
79627 if test x"$glibcxx_stylesheets" = x"yes"; then
79628 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79629 glibcxx_local_stylesheets=yes
79630 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79631 fi
79632 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79633 glibcxx_local_stylesheets=yes
79634 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79635 fi
79636 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79637 glibcxx_local_stylesheets=yes
79638 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79639 fi
79640 fi
79641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79642 $as_echo "$glibcxx_local_stylesheets" >&6; }
79643
79644 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79645
79646 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79647 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79648 else
79649 glibcxx_stylesheets=no
79650 fi
79651
79652 # Check for epub3 dependencies.
79653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79654 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79655 glibcxx_epub_stylesheets=no
79656 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79657 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79658 glibcxx_epub_stylesheets=yes
79659 fi
79660 fi
79661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79662 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79663 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79664 BUILD_EPUB_TRUE=
79665 BUILD_EPUB_FALSE='#'
79666 else
79667 BUILD_EPUB_TRUE='#'
79668 BUILD_EPUB_FALSE=
79669 fi
79670
79671
79672
79673
79674 # Check for xml/html dependencies.
79675 if test $ac_cv_prog_DOXYGEN = "yes" &&
79676 test $ac_cv_prog_DOT = "yes" &&
79677 test $ac_cv_prog_XSLTPROC = "yes" &&
79678 test $ac_cv_prog_XMLLINT = "yes" &&
79679 test $glibcxx_stylesheets = "yes"; then
79680 BUILD_XML_TRUE=
79681 BUILD_XML_FALSE='#'
79682 else
79683 BUILD_XML_TRUE='#'
79684 BUILD_XML_FALSE=
79685 fi
79686
79687
79688 if test $ac_cv_prog_DOXYGEN = "yes" &&
79689 test $ac_cv_prog_DOT = "yes" &&
79690 test $ac_cv_prog_XSLTPROC = "yes" &&
79691 test $ac_cv_prog_XMLLINT = "yes" &&
79692 test $glibcxx_stylesheets = "yes"; then
79693 BUILD_HTML_TRUE=
79694 BUILD_HTML_FALSE='#'
79695 else
79696 BUILD_HTML_TRUE='#'
79697 BUILD_HTML_FALSE=
79698 fi
79699
79700
79701 # Check for man dependencies.
79702 if test $ac_cv_prog_DOXYGEN = "yes" &&
79703 test $ac_cv_prog_DOT = "yes"; then
79704 BUILD_MAN_TRUE=
79705 BUILD_MAN_FALSE='#'
79706 else
79707 BUILD_MAN_TRUE='#'
79708 BUILD_MAN_FALSE=
79709 fi
79710
79711
79712 # Check for pdf dependencies.
79713 # Extract the first word of "dblatex", so it can be a program name with args.
79714 set dummy dblatex; ac_word=$2
79715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79716 $as_echo_n "checking for $ac_word... " >&6; }
79717 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79718 $as_echo_n "(cached) " >&6
79719 else
79720 if test -n "$DBLATEX"; then
79721 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79722 else
79723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79724 for as_dir in $PATH
79725 do
79726 IFS=$as_save_IFS
79727 test -z "$as_dir" && as_dir=.
79728 for ac_exec_ext in '' $ac_executable_extensions; do
79729 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79730 ac_cv_prog_DBLATEX="yes"
79731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79732 break 2
79733 fi
79734 done
79735 done
79736 IFS=$as_save_IFS
79737
79738 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79739 fi
79740 fi
79741 DBLATEX=$ac_cv_prog_DBLATEX
79742 if test -n "$DBLATEX"; then
79743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79744 $as_echo "$DBLATEX" >&6; }
79745 else
79746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79747 $as_echo "no" >&6; }
79748 fi
79749
79750
79751 # Extract the first word of "pdflatex", so it can be a program name with args.
79752 set dummy pdflatex; ac_word=$2
79753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79754 $as_echo_n "checking for $ac_word... " >&6; }
79755 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79756 $as_echo_n "(cached) " >&6
79757 else
79758 if test -n "$PDFLATEX"; then
79759 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79760 else
79761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79762 for as_dir in $PATH
79763 do
79764 IFS=$as_save_IFS
79765 test -z "$as_dir" && as_dir=.
79766 for ac_exec_ext in '' $ac_executable_extensions; do
79767 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79768 ac_cv_prog_PDFLATEX="yes"
79769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79770 break 2
79771 fi
79772 done
79773 done
79774 IFS=$as_save_IFS
79775
79776 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79777 fi
79778 fi
79779 PDFLATEX=$ac_cv_prog_PDFLATEX
79780 if test -n "$PDFLATEX"; then
79781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79782 $as_echo "$PDFLATEX" >&6; }
79783 else
79784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79785 $as_echo "no" >&6; }
79786 fi
79787
79788
79789 if test $ac_cv_prog_DBLATEX = "yes" &&
79790 test $ac_cv_prog_PDFLATEX = "yes"; then
79791 BUILD_PDF_TRUE=
79792 BUILD_PDF_FALSE='#'
79793 else
79794 BUILD_PDF_TRUE='#'
79795 BUILD_PDF_FALSE=
79796 fi
79797
79798
79799
79800 # Propagate the target-specific source directories through the build chain.
79801 ATOMICITY_SRCDIR=config/${atomicity_dir}
79802 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79803 ATOMIC_FLAGS=${atomic_flags}
79804 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79805 OS_INC_SRCDIR=config/${os_include_dir}
79806 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79807 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79808 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79809 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79810
79811
79812
79813
79814
79815
79816
79817
79818
79819
79820
79821 # Determine cross-compile flags and AM_CONDITIONALs.
79822 #AC_SUBST(GLIBCXX_IS_NATIVE)
79823 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79824 if test $is_hosted = yes; then
79825 GLIBCXX_HOSTED_TRUE=
79826 GLIBCXX_HOSTED_FALSE='#'
79827 else
79828 GLIBCXX_HOSTED_TRUE='#'
79829 GLIBCXX_HOSTED_FALSE=
79830 fi
79831
79832
79833 if test $enable_libstdcxx_pch = yes; then
79834 GLIBCXX_BUILD_PCH_TRUE=
79835 GLIBCXX_BUILD_PCH_FALSE='#'
79836 else
79837 GLIBCXX_BUILD_PCH_TRUE='#'
79838 GLIBCXX_BUILD_PCH_FALSE=
79839 fi
79840
79841
79842 if test $enable_cheaders = c; then
79843 GLIBCXX_C_HEADERS_C_TRUE=
79844 GLIBCXX_C_HEADERS_C_FALSE='#'
79845 else
79846 GLIBCXX_C_HEADERS_C_TRUE='#'
79847 GLIBCXX_C_HEADERS_C_FALSE=
79848 fi
79849
79850
79851 if test $enable_cheaders = c_std; then
79852 GLIBCXX_C_HEADERS_C_STD_TRUE=
79853 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79854 else
79855 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79856 GLIBCXX_C_HEADERS_C_STD_FALSE=
79857 fi
79858
79859
79860 if test $enable_cheaders = c_global; then
79861 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79862 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79863 else
79864 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79865 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79866 fi
79867
79868
79869 if test $c_compatibility = yes; then
79870 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79871 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79872 else
79873 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79874 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79875 fi
79876
79877
79878 if test $enable_libstdcxx_debug = yes; then
79879 GLIBCXX_BUILD_DEBUG_TRUE=
79880 GLIBCXX_BUILD_DEBUG_FALSE='#'
79881 else
79882 GLIBCXX_BUILD_DEBUG_TRUE='#'
79883 GLIBCXX_BUILD_DEBUG_FALSE=
79884 fi
79885
79886
79887 if test $enable_extern_template = yes; then
79888 ENABLE_EXTERN_TEMPLATE_TRUE=
79889 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79890 else
79891 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79892 ENABLE_EXTERN_TEMPLATE_FALSE=
79893 fi
79894
79895
79896 if test $python_mod_dir != no; then
79897 ENABLE_PYTHONDIR_TRUE=
79898 ENABLE_PYTHONDIR_FALSE='#'
79899 else
79900 ENABLE_PYTHONDIR_TRUE='#'
79901 ENABLE_PYTHONDIR_FALSE=
79902 fi
79903
79904
79905 if test $enable_werror = yes; then
79906 ENABLE_WERROR_TRUE=
79907 ENABLE_WERROR_FALSE='#'
79908 else
79909 ENABLE_WERROR_TRUE='#'
79910 ENABLE_WERROR_FALSE=
79911 fi
79912
79913
79914 if test $enable_vtable_verify = yes; then
79915 ENABLE_VTABLE_VERIFY_TRUE=
79916 ENABLE_VTABLE_VERIFY_FALSE='#'
79917 else
79918 ENABLE_VTABLE_VERIFY_TRUE='#'
79919 ENABLE_VTABLE_VERIFY_FALSE=
79920 fi
79921
79922
79923 if test $enable_symvers != no; then
79924 ENABLE_SYMVERS_TRUE=
79925 ENABLE_SYMVERS_FALSE='#'
79926 else
79927 ENABLE_SYMVERS_TRUE='#'
79928 ENABLE_SYMVERS_FALSE=
79929 fi
79930
79931
79932 if test $enable_symvers = gnu; then
79933 ENABLE_SYMVERS_GNU_TRUE=
79934 ENABLE_SYMVERS_GNU_FALSE='#'
79935 else
79936 ENABLE_SYMVERS_GNU_TRUE='#'
79937 ENABLE_SYMVERS_GNU_FALSE=
79938 fi
79939
79940
79941 if test $enable_symvers = gnu-versioned-namespace; then
79942 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79943 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79944 else
79945 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79946 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79947 fi
79948
79949
79950 if test $enable_symvers = darwin; then
79951 ENABLE_SYMVERS_DARWIN_TRUE=
79952 ENABLE_SYMVERS_DARWIN_FALSE='#'
79953 else
79954 ENABLE_SYMVERS_DARWIN_TRUE='#'
79955 ENABLE_SYMVERS_DARWIN_FALSE=
79956 fi
79957
79958
79959 if test $enable_symvers = sun; then
79960 ENABLE_SYMVERS_SUN_TRUE=
79961 ENABLE_SYMVERS_SUN_FALSE='#'
79962 else
79963 ENABLE_SYMVERS_SUN_TRUE='#'
79964 ENABLE_SYMVERS_SUN_FALSE=
79965 fi
79966
79967
79968 if test $enable_libstdcxx_visibility = yes; then
79969 ENABLE_VISIBILITY_TRUE=
79970 ENABLE_VISIBILITY_FALSE='#'
79971 else
79972 ENABLE_VISIBILITY_TRUE='#'
79973 ENABLE_VISIBILITY_FALSE=
79974 fi
79975
79976
79977 if test $enable_libstdcxx_dual_abi = yes; then
79978 ENABLE_DUAL_ABI_TRUE=
79979 ENABLE_DUAL_ABI_FALSE='#'
79980 else
79981 ENABLE_DUAL_ABI_TRUE='#'
79982 ENABLE_DUAL_ABI_FALSE=
79983 fi
79984
79985
79986 if test $glibcxx_cxx11_abi = 1; then
79987 ENABLE_CXX11_ABI_TRUE=
79988 ENABLE_CXX11_ABI_FALSE='#'
79989 else
79990 ENABLE_CXX11_ABI_TRUE='#'
79991 ENABLE_CXX11_ABI_FALSE=
79992 fi
79993
79994
79995 if test $ac_ldbl_compat = yes; then
79996 GLIBCXX_LDBL_COMPAT_TRUE=
79997 GLIBCXX_LDBL_COMPAT_FALSE='#'
79998 else
79999 GLIBCXX_LDBL_COMPAT_TRUE='#'
80000 GLIBCXX_LDBL_COMPAT_FALSE=
80001 fi
80002
80003
80004 if test $enable_libstdcxx_filesystem_ts = yes; then
80005 ENABLE_FILESYSTEM_TS_TRUE=
80006 ENABLE_FILESYSTEM_TS_FALSE='#'
80007 else
80008 ENABLE_FILESYSTEM_TS_TRUE='#'
80009 ENABLE_FILESYSTEM_TS_FALSE=
80010 fi
80011
80012
80013
80014
80015 cat >confcache <<\_ACEOF
80016 # This file is a shell script that caches the results of configure
80017 # tests run on this system so they can be shared between configure
80018 # scripts and configure runs, see configure's option --config-cache.
80019 # It is not useful on other systems. If it contains results you don't
80020 # want to keep, you may remove or edit it.
80021 #
80022 # config.status only pays attention to the cache file if you give it
80023 # the --recheck option to rerun configure.
80024 #
80025 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80026 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80027 # following values.
80028
80029 _ACEOF
80030
80031 # The following way of writing the cache mishandles newlines in values,
80032 # but we know of no workaround that is simple, portable, and efficient.
80033 # So, we kill variables containing newlines.
80034 # Ultrix sh set writes to stderr and can't be redirected directly,
80035 # and sets the high bit in the cache file unless we assign to the vars.
80036 (
80037 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80038 eval ac_val=\$$ac_var
80039 case $ac_val in #(
80040 *${as_nl}*)
80041 case $ac_var in #(
80042 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80043 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80044 esac
80045 case $ac_var in #(
80046 _ | IFS | as_nl) ;; #(
80047 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80048 *) { eval $ac_var=; unset $ac_var;} ;;
80049 esac ;;
80050 esac
80051 done
80052
80053 (set) 2>&1 |
80054 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80055 *${as_nl}ac_space=\ *)
80056 # `set' does not quote correctly, so add quotes: double-quote
80057 # substitution turns \\\\ into \\, and sed turns \\ into \.
80058 sed -n \
80059 "s/'/'\\\\''/g;
80060 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80061 ;; #(
80062 *)
80063 # `set' quotes correctly as required by POSIX, so do not add quotes.
80064 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80065 ;;
80066 esac |
80067 sort
80068 ) |
80069 sed '
80070 /^ac_cv_env_/b end
80071 t clear
80072 :clear
80073 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80074 t end
80075 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80076 :end' >>confcache
80077 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80078 if test -w "$cache_file"; then
80079 test "x$cache_file" != "x/dev/null" &&
80080 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80081 $as_echo "$as_me: updating cache $cache_file" >&6;}
80082 cat confcache >$cache_file
80083 else
80084 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80085 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80086 fi
80087 fi
80088 rm -f confcache
80089
80090 if test ${multilib} = yes; then
80091 multilib_arg="--enable-multilib"
80092 else
80093 multilib_arg=
80094 fi
80095
80096 # Export all the install information.
80097
80098 glibcxx_toolexecdir=no
80099 glibcxx_toolexeclibdir=no
80100 glibcxx_prefixdir=$prefix
80101
80102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
80103 $as_echo_n "checking for gxx-include-dir... " >&6; }
80104
80105 # Check whether --with-gxx-include-dir was given.
80106 if test "${with_gxx_include_dir+set}" = set; then :
80107 withval=$with_gxx_include_dir; case "$withval" in
80108 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
80109 no) gxx_include_dir=no ;;
80110 *) gxx_include_dir=$withval ;;
80111 esac
80112 else
80113 gxx_include_dir=no
80114 fi
80115
80116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80117 $as_echo "$gxx_include_dir" >&6; }
80118
80119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
80120 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
80121 # Check whether --enable-version-specific-runtime-libs was given.
80122 if test "${enable_version_specific_runtime_libs+set}" = set; then :
80123 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
80124 yes) version_specific_libs=yes ;;
80125 no) version_specific_libs=no ;;
80126 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
80127 esac
80128 else
80129 version_specific_libs=no
80130 fi
80131
80132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
80133 $as_echo "$version_specific_libs" >&6; }
80134
80135 # Default case for install directory for include files.
80136 if test $version_specific_libs = no && test $gxx_include_dir = no; then
80137 gxx_include_dir='include/c++/${gcc_version}'
80138 if test -n "$with_cross_host" &&
80139 test x"$with_cross_host" != x"no"; then
80140 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
80141 else
80142 gxx_include_dir='${prefix}/'"$gxx_include_dir"
80143 fi
80144 fi
80145
80146 # Version-specific runtime libs processing.
80147 if test $version_specific_libs = yes; then
80148 # Need the gcc compiler version to know where to install libraries
80149 # and header files if --enable-version-specific-runtime-libs option
80150 # is selected. FIXME: these variables are misnamed, there are
80151 # no executables installed in _toolexecdir or _toolexeclibdir.
80152 if test x"$gxx_include_dir" = x"no"; then
80153 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
80154 fi
80155 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80156 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
80157 fi
80158
80159 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
80160 # Install a library built with a cross compiler in tooldir, not libdir.
80161 if test x"$glibcxx_toolexecdir" = x"no"; then
80162 if test -n "$with_cross_host" &&
80163 test x"$with_cross_host" != x"no"; then
80164 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
80165 glibcxx_toolexeclibdir='${toolexecdir}/lib'
80166 else
80167 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80168 glibcxx_toolexeclibdir='${libdir}'
80169 fi
80170 multi_os_directory=`$CXX -print-multi-os-directory`
80171 case $multi_os_directory in
80172 .) ;; # Avoid trailing /.
80173 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
80174 esac
80175 fi
80176
80177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
80178 $as_echo_n "checking for install location... " >&6; }
80179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80180 $as_echo "$gxx_include_dir" >&6; }
80181
80182
80183
80184
80185
80186
80187
80188 # Export all the include and flag information to Makefiles.
80189
80190 # Used for every C++ compile we perform.
80191 GLIBCXX_INCLUDES="\
80192 -I$glibcxx_builddir/include/$host_alias \
80193 -I$glibcxx_builddir/include \
80194 -I$glibcxx_srcdir/libsupc++"
80195
80196 # For Canadian crosses, pick this up too.
80197 if test $CANADIAN = yes; then
80198 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
80199 fi
80200
80201 # Stuff in the actual top level. Currently only used by libsupc++ to
80202 # get unwind* headers from the libgcc dir.
80203 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
80204 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
80205
80206 # Now, export this to all the little Makefiles....
80207
80208
80209
80210
80211 # Optimization flags that are probably a good idea for thrill-seekers. Just
80212 # uncomment the lines below and make, everything else is ready to go...
80213 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
80214 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
80215
80216
80217 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
80218
80219
80220
80221 ac_config_files="$ac_config_files Makefile"
80222
80223 ac_config_files="$ac_config_files scripts/testsuite_flags"
80224
80225 ac_config_files="$ac_config_files scripts/extract_symvers"
80226
80227 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
80228
80229
80230 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
80231 # that multilib installs will end up installed in the correct place.
80232 # The testsuite needs it for multilib-aware ABI baseline files.
80233 # To work around this not being passed down from config-ml.in ->
80234 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
80235 # append it here. Only modify Makefiles that have just been created.
80236 #
80237 # Also, get rid of this simulated-VPATH thing that automake does.
80238 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
80239
80240
80241 ac_config_commands="$ac_config_commands generate-headers"
80242
80243
80244 cat >confcache <<\_ACEOF
80245 # This file is a shell script that caches the results of configure
80246 # tests run on this system so they can be shared between configure
80247 # scripts and configure runs, see configure's option --config-cache.
80248 # It is not useful on other systems. If it contains results you don't
80249 # want to keep, you may remove or edit it.
80250 #
80251 # config.status only pays attention to the cache file if you give it
80252 # the --recheck option to rerun configure.
80253 #
80254 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80255 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80256 # following values.
80257
80258 _ACEOF
80259
80260 # The following way of writing the cache mishandles newlines in values,
80261 # but we know of no workaround that is simple, portable, and efficient.
80262 # So, we kill variables containing newlines.
80263 # Ultrix sh set writes to stderr and can't be redirected directly,
80264 # and sets the high bit in the cache file unless we assign to the vars.
80265 (
80266 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80267 eval ac_val=\$$ac_var
80268 case $ac_val in #(
80269 *${as_nl}*)
80270 case $ac_var in #(
80271 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80272 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80273 esac
80274 case $ac_var in #(
80275 _ | IFS | as_nl) ;; #(
80276 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80277 *) { eval $ac_var=; unset $ac_var;} ;;
80278 esac ;;
80279 esac
80280 done
80281
80282 (set) 2>&1 |
80283 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80284 *${as_nl}ac_space=\ *)
80285 # `set' does not quote correctly, so add quotes: double-quote
80286 # substitution turns \\\\ into \\, and sed turns \\ into \.
80287 sed -n \
80288 "s/'/'\\\\''/g;
80289 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80290 ;; #(
80291 *)
80292 # `set' quotes correctly as required by POSIX, so do not add quotes.
80293 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80294 ;;
80295 esac |
80296 sort
80297 ) |
80298 sed '
80299 /^ac_cv_env_/b end
80300 t clear
80301 :clear
80302 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80303 t end
80304 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80305 :end' >>confcache
80306 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80307 if test -w "$cache_file"; then
80308 test "x$cache_file" != "x/dev/null" &&
80309 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80310 $as_echo "$as_me: updating cache $cache_file" >&6;}
80311 cat confcache >$cache_file
80312 else
80313 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80314 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80315 fi
80316 fi
80317 rm -f confcache
80318
80319 test "x$prefix" = xNONE && prefix=$ac_default_prefix
80320 # Let make expand exec_prefix.
80321 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
80322
80323 DEFS=-DHAVE_CONFIG_H
80324
80325 ac_libobjs=
80326 ac_ltlibobjs=
80327 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
80328 # 1. Remove the extension, and $U if already installed.
80329 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
80330 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
80331 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
80332 # will be set to the directory where LIBOBJS objects are built.
80333 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
80334 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
80335 done
80336 LIBOBJS=$ac_libobjs
80337
80338 LTLIBOBJS=$ac_ltlibobjs
80339
80340
80341 if test -n "$EXEEXT"; then
80342 am__EXEEXT_TRUE=
80343 am__EXEEXT_FALSE='#'
80344 else
80345 am__EXEEXT_TRUE='#'
80346 am__EXEEXT_FALSE=
80347 fi
80348
80349 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
80350 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
80351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80352 fi
80353 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
80354 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
80355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80356 fi
80357 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
80358 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
80359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80360 fi
80361 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
80362 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
80363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80364 fi
80365 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
80366 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
80367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80368 fi
80369 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
80370 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
80371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80372 fi
80373 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
80374 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
80375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80376 fi
80377 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
80378 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
80379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80380 fi
80381 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
80382 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
80383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80384 fi
80385 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
80386 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
80387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80388 fi
80389 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
80390 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
80391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80392 fi
80393 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
80394 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
80395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80396 fi
80397 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
80398 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
80399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80400 fi
80401 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
80402 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
80403 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80404 fi
80405 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
80406 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
80407 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80408 fi
80409 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
80410 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
80411 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80412 fi
80413 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
80414 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
80415 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80416 fi
80417 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
80418 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
80419 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80420 fi
80421 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
80422 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
80423 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80424 fi
80425 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
80426 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
80427 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80428 fi
80429 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
80430 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
80431 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80432 fi
80433 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
80434 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
80435 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80436 fi
80437 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
80438 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
80439 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80440 fi
80441 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
80442 as_fn_error "conditional \"BUILD_INFO\" was never defined.
80443 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80444 fi
80445 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
80446 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
80447 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80448 fi
80449 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
80450 as_fn_error "conditional \"BUILD_XML\" was never defined.
80451 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80452 fi
80453 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
80454 as_fn_error "conditional \"BUILD_HTML\" was never defined.
80455 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80456 fi
80457 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
80458 as_fn_error "conditional \"BUILD_MAN\" was never defined.
80459 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80460 fi
80461 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
80462 as_fn_error "conditional \"BUILD_PDF\" was never defined.
80463 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80464 fi
80465
80466 : ${CONFIG_STATUS=./config.status}
80467 ac_write_fail=0
80468 ac_clean_files_save=$ac_clean_files
80469 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
80470 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
80471 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
80472 as_write_fail=0
80473 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
80474 #! $SHELL
80475 # Generated by $as_me.
80476 # Run this file to recreate the current configuration.
80477 # Compiler output produced by configure, useful for debugging
80478 # configure, is in config.log if it exists.
80479
80480 debug=false
80481 ac_cs_recheck=false
80482 ac_cs_silent=false
80483
80484 SHELL=\${CONFIG_SHELL-$SHELL}
80485 export SHELL
80486 _ASEOF
80487 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
80488 ## -------------------- ##
80489 ## M4sh Initialization. ##
80490 ## -------------------- ##
80491
80492 # Be more Bourne compatible
80493 DUALCASE=1; export DUALCASE # for MKS sh
80494 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
80495 emulate sh
80496 NULLCMD=:
80497 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
80498 # is contrary to our usage. Disable this feature.
80499 alias -g '${1+"$@"}'='"$@"'
80500 setopt NO_GLOB_SUBST
80501 else
80502 case `(set -o) 2>/dev/null` in #(
80503 *posix*) :
80504 set -o posix ;; #(
80505 *) :
80506 ;;
80507 esac
80508 fi
80509
80510
80511 as_nl='
80512 '
80513 export as_nl
80514 # Printing a long string crashes Solaris 7 /usr/bin/printf.
80515 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
80516 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
80517 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
80518 # Prefer a ksh shell builtin over an external printf program on Solaris,
80519 # but without wasting forks for bash or zsh.
80520 if test -z "$BASH_VERSION$ZSH_VERSION" \
80521 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
80522 as_echo='print -r --'
80523 as_echo_n='print -rn --'
80524 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
80525 as_echo='printf %s\n'
80526 as_echo_n='printf %s'
80527 else
80528 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
80529 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
80530 as_echo_n='/usr/ucb/echo -n'
80531 else
80532 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
80533 as_echo_n_body='eval
80534 arg=$1;
80535 case $arg in #(
80536 *"$as_nl"*)
80537 expr "X$arg" : "X\\(.*\\)$as_nl";
80538 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80539 esac;
80540 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
80541 '
80542 export as_echo_n_body
80543 as_echo_n='sh -c $as_echo_n_body as_echo'
80544 fi
80545 export as_echo_body
80546 as_echo='sh -c $as_echo_body as_echo'
80547 fi
80548
80549 # The user is always right.
80550 if test "${PATH_SEPARATOR+set}" != set; then
80551 PATH_SEPARATOR=:
80552 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80553 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80554 PATH_SEPARATOR=';'
80555 }
80556 fi
80557
80558
80559 # IFS
80560 # We need space, tab and new line, in precisely that order. Quoting is
80561 # there to prevent editors from complaining about space-tab.
80562 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
80563 # splitting by setting IFS to empty value.)
80564 IFS=" "" $as_nl"
80565
80566 # Find who we are. Look in the path if we contain no directory separator.
80567 case $0 in #((
80568 *[\\/]* ) as_myself=$0 ;;
80569 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80570 for as_dir in $PATH
80571 do
80572 IFS=$as_save_IFS
80573 test -z "$as_dir" && as_dir=.
80574 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80575 done
80576 IFS=$as_save_IFS
80577
80578 ;;
80579 esac
80580 # We did not find ourselves, most probably we were run as `sh COMMAND'
80581 # in which case we are not to be found in the path.
80582 if test "x$as_myself" = x; then
80583 as_myself=$0
80584 fi
80585 if test ! -f "$as_myself"; then
80586 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
80587 exit 1
80588 fi
80589
80590 # Unset variables that we do not need and which cause bugs (e.g. in
80591 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
80592 # suppresses any "Segmentation fault" message there. '((' could
80593 # trigger a bug in pdksh 5.2.14.
80594 for as_var in BASH_ENV ENV MAIL MAILPATH
80595 do eval test x\${$as_var+set} = xset \
80596 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80597 done
80598 PS1='$ '
80599 PS2='> '
80600 PS4='+ '
80601
80602 # NLS nuisances.
80603 LC_ALL=C
80604 export LC_ALL
80605 LANGUAGE=C
80606 export LANGUAGE
80607
80608 # CDPATH.
80609 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80610
80611
80612 # as_fn_error ERROR [LINENO LOG_FD]
80613 # ---------------------------------
80614 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80615 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80616 # script with status $?, using 1 if that was 0.
80617 as_fn_error ()
80618 {
80619 as_status=$?; test $as_status -eq 0 && as_status=1
80620 if test "$3"; then
80621 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80622 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80623 fi
80624 $as_echo "$as_me: error: $1" >&2
80625 as_fn_exit $as_status
80626 } # as_fn_error
80627
80628
80629 # as_fn_set_status STATUS
80630 # -----------------------
80631 # Set $? to STATUS, without forking.
80632 as_fn_set_status ()
80633 {
80634 return $1
80635 } # as_fn_set_status
80636
80637 # as_fn_exit STATUS
80638 # -----------------
80639 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80640 as_fn_exit ()
80641 {
80642 set +e
80643 as_fn_set_status $1
80644 exit $1
80645 } # as_fn_exit
80646
80647 # as_fn_unset VAR
80648 # ---------------
80649 # Portably unset VAR.
80650 as_fn_unset ()
80651 {
80652 { eval $1=; unset $1;}
80653 }
80654 as_unset=as_fn_unset
80655 # as_fn_append VAR VALUE
80656 # ----------------------
80657 # Append the text in VALUE to the end of the definition contained in VAR. Take
80658 # advantage of any shell optimizations that allow amortized linear growth over
80659 # repeated appends, instead of the typical quadratic growth present in naive
80660 # implementations.
80661 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80662 eval 'as_fn_append ()
80663 {
80664 eval $1+=\$2
80665 }'
80666 else
80667 as_fn_append ()
80668 {
80669 eval $1=\$$1\$2
80670 }
80671 fi # as_fn_append
80672
80673 # as_fn_arith ARG...
80674 # ------------------
80675 # Perform arithmetic evaluation on the ARGs, and store the result in the
80676 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80677 # must be portable across $(()) and expr.
80678 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80679 eval 'as_fn_arith ()
80680 {
80681 as_val=$(( $* ))
80682 }'
80683 else
80684 as_fn_arith ()
80685 {
80686 as_val=`expr "$@" || test $? -eq 1`
80687 }
80688 fi # as_fn_arith
80689
80690
80691 if expr a : '\(a\)' >/dev/null 2>&1 &&
80692 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80693 as_expr=expr
80694 else
80695 as_expr=false
80696 fi
80697
80698 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80699 as_basename=basename
80700 else
80701 as_basename=false
80702 fi
80703
80704 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80705 as_dirname=dirname
80706 else
80707 as_dirname=false
80708 fi
80709
80710 as_me=`$as_basename -- "$0" ||
80711 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80712 X"$0" : 'X\(//\)$' \| \
80713 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80714 $as_echo X/"$0" |
80715 sed '/^.*\/\([^/][^/]*\)\/*$/{
80716 s//\1/
80717 q
80718 }
80719 /^X\/\(\/\/\)$/{
80720 s//\1/
80721 q
80722 }
80723 /^X\/\(\/\).*/{
80724 s//\1/
80725 q
80726 }
80727 s/.*/./; q'`
80728
80729 # Avoid depending upon Character Ranges.
80730 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80731 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80732 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80733 as_cr_digits='0123456789'
80734 as_cr_alnum=$as_cr_Letters$as_cr_digits
80735
80736 ECHO_C= ECHO_N= ECHO_T=
80737 case `echo -n x` in #(((((
80738 -n*)
80739 case `echo 'xy\c'` in
80740 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80741 xy) ECHO_C='\c';;
80742 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80743 ECHO_T=' ';;
80744 esac;;
80745 *)
80746 ECHO_N='-n';;
80747 esac
80748
80749 rm -f conf$$ conf$$.exe conf$$.file
80750 if test -d conf$$.dir; then
80751 rm -f conf$$.dir/conf$$.file
80752 else
80753 rm -f conf$$.dir
80754 mkdir conf$$.dir 2>/dev/null
80755 fi
80756 if (echo >conf$$.file) 2>/dev/null; then
80757 if ln -s conf$$.file conf$$ 2>/dev/null; then
80758 as_ln_s='ln -s'
80759 # ... but there are two gotchas:
80760 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80761 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80762 # In both cases, we have to default to `cp -p'.
80763 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80764 as_ln_s='cp -p'
80765 elif ln conf$$.file conf$$ 2>/dev/null; then
80766 as_ln_s=ln
80767 else
80768 as_ln_s='cp -p'
80769 fi
80770 else
80771 as_ln_s='cp -p'
80772 fi
80773 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80774 rmdir conf$$.dir 2>/dev/null
80775
80776
80777 # as_fn_mkdir_p
80778 # -------------
80779 # Create "$as_dir" as a directory, including parents if necessary.
80780 as_fn_mkdir_p ()
80781 {
80782
80783 case $as_dir in #(
80784 -*) as_dir=./$as_dir;;
80785 esac
80786 test -d "$as_dir" || eval $as_mkdir_p || {
80787 as_dirs=
80788 while :; do
80789 case $as_dir in #(
80790 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80791 *) as_qdir=$as_dir;;
80792 esac
80793 as_dirs="'$as_qdir' $as_dirs"
80794 as_dir=`$as_dirname -- "$as_dir" ||
80795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80796 X"$as_dir" : 'X\(//\)[^/]' \| \
80797 X"$as_dir" : 'X\(//\)$' \| \
80798 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80799 $as_echo X"$as_dir" |
80800 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80801 s//\1/
80802 q
80803 }
80804 /^X\(\/\/\)[^/].*/{
80805 s//\1/
80806 q
80807 }
80808 /^X\(\/\/\)$/{
80809 s//\1/
80810 q
80811 }
80812 /^X\(\/\).*/{
80813 s//\1/
80814 q
80815 }
80816 s/.*/./; q'`
80817 test -d "$as_dir" && break
80818 done
80819 test -z "$as_dirs" || eval "mkdir $as_dirs"
80820 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80821
80822
80823 } # as_fn_mkdir_p
80824 if mkdir -p . 2>/dev/null; then
80825 as_mkdir_p='mkdir -p "$as_dir"'
80826 else
80827 test -d ./-p && rmdir ./-p
80828 as_mkdir_p=false
80829 fi
80830
80831 if test -x / >/dev/null 2>&1; then
80832 as_test_x='test -x'
80833 else
80834 if ls -dL / >/dev/null 2>&1; then
80835 as_ls_L_option=L
80836 else
80837 as_ls_L_option=
80838 fi
80839 as_test_x='
80840 eval sh -c '\''
80841 if test -d "$1"; then
80842 test -d "$1/.";
80843 else
80844 case $1 in #(
80845 -*)set "./$1";;
80846 esac;
80847 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80848 ???[sx]*):;;*)false;;esac;fi
80849 '\'' sh
80850 '
80851 fi
80852 as_executable_p=$as_test_x
80853
80854 # Sed expression to map a string onto a valid CPP name.
80855 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80856
80857 # Sed expression to map a string onto a valid variable name.
80858 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80859
80860
80861 exec 6>&1
80862 ## ----------------------------------- ##
80863 ## Main body of $CONFIG_STATUS script. ##
80864 ## ----------------------------------- ##
80865 _ASEOF
80866 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80867
80868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80869 # Save the log message, to keep $0 and so on meaningful, and to
80870 # report actual input values of CONFIG_FILES etc. instead of their
80871 # values after options handling.
80872 ac_log="
80873 This file was extended by package-unused $as_me version-unused, which was
80874 generated by GNU Autoconf 2.64. Invocation command line was
80875
80876 CONFIG_FILES = $CONFIG_FILES
80877 CONFIG_HEADERS = $CONFIG_HEADERS
80878 CONFIG_LINKS = $CONFIG_LINKS
80879 CONFIG_COMMANDS = $CONFIG_COMMANDS
80880 $ $0 $@
80881
80882 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80883 "
80884
80885 _ACEOF
80886
80887 case $ac_config_files in *"
80888 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80889 esac
80890
80891 case $ac_config_headers in *"
80892 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80893 esac
80894
80895
80896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80897 # Files that config.status was made for.
80898 config_files="$ac_config_files"
80899 config_headers="$ac_config_headers"
80900 config_commands="$ac_config_commands"
80901
80902 _ACEOF
80903
80904 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80905 ac_cs_usage="\
80906 \`$as_me' instantiates files and other configuration actions
80907 from templates according to the current configuration. Unless the files
80908 and actions are specified as TAGs, all are instantiated by default.
80909
80910 Usage: $0 [OPTION]... [TAG]...
80911
80912 -h, --help print this help, then exit
80913 -V, --version print version number and configuration settings, then exit
80914 -q, --quiet, --silent
80915 do not print progress messages
80916 -d, --debug don't remove temporary files
80917 --recheck update $as_me by reconfiguring in the same conditions
80918 --file=FILE[:TEMPLATE]
80919 instantiate the configuration file FILE
80920 --header=FILE[:TEMPLATE]
80921 instantiate the configuration header FILE
80922
80923 Configuration files:
80924 $config_files
80925
80926 Configuration headers:
80927 $config_headers
80928
80929 Configuration commands:
80930 $config_commands
80931
80932 Report bugs to the package provider."
80933
80934 _ACEOF
80935 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80936 ac_cs_version="\\
80937 package-unused config.status version-unused
80938 configured by $0, generated by GNU Autoconf 2.64,
80939 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80940
80941 Copyright (C) 2009 Free Software Foundation, Inc.
80942 This config.status script is free software; the Free Software Foundation
80943 gives unlimited permission to copy, distribute and modify it."
80944
80945 ac_pwd='$ac_pwd'
80946 srcdir='$srcdir'
80947 INSTALL='$INSTALL'
80948 MKDIR_P='$MKDIR_P'
80949 AWK='$AWK'
80950 test -n "\$AWK" || AWK=awk
80951 _ACEOF
80952
80953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80954 # The default lists apply if the user does not specify any file.
80955 ac_need_defaults=:
80956 while test $# != 0
80957 do
80958 case $1 in
80959 --*=*)
80960 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80961 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80962 ac_shift=:
80963 ;;
80964 *)
80965 ac_option=$1
80966 ac_optarg=$2
80967 ac_shift=shift
80968 ;;
80969 esac
80970
80971 case $ac_option in
80972 # Handling of the options.
80973 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80974 ac_cs_recheck=: ;;
80975 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80976 $as_echo "$ac_cs_version"; exit ;;
80977 --debug | --debu | --deb | --de | --d | -d )
80978 debug=: ;;
80979 --file | --fil | --fi | --f )
80980 $ac_shift
80981 case $ac_optarg in
80982 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80983 esac
80984 as_fn_append CONFIG_FILES " '$ac_optarg'"
80985 ac_need_defaults=false;;
80986 --header | --heade | --head | --hea )
80987 $ac_shift
80988 case $ac_optarg in
80989 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80990 esac
80991 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80992 ac_need_defaults=false;;
80993 --he | --h)
80994 # Conflict between --help and --header
80995 as_fn_error "ambiguous option: \`$1'
80996 Try \`$0 --help' for more information.";;
80997 --help | --hel | -h )
80998 $as_echo "$ac_cs_usage"; exit ;;
80999 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
81000 | -silent | --silent | --silen | --sile | --sil | --si | --s)
81001 ac_cs_silent=: ;;
81002
81003 # This is an error.
81004 -*) as_fn_error "unrecognized option: \`$1'
81005 Try \`$0 --help' for more information." ;;
81006
81007 *) as_fn_append ac_config_targets " $1"
81008 ac_need_defaults=false ;;
81009
81010 esac
81011 shift
81012 done
81013
81014 ac_configure_extra_args=
81015
81016 if $ac_cs_silent; then
81017 exec 6>/dev/null
81018 ac_configure_extra_args="$ac_configure_extra_args --silent"
81019 fi
81020
81021 _ACEOF
81022 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81023 if \$ac_cs_recheck; then
81024 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
81025 shift
81026 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
81027 CONFIG_SHELL='$SHELL'
81028 export CONFIG_SHELL
81029 exec "\$@"
81030 fi
81031
81032 _ACEOF
81033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81034 exec 5>>config.log
81035 {
81036 echo
81037 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
81038 ## Running $as_me. ##
81039 _ASBOX
81040 $as_echo "$ac_log"
81041 } >&5
81042
81043 _ACEOF
81044 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81045 #
81046 # INIT-COMMANDS
81047 #
81048
81049 srcdir="$srcdir"
81050 host="$host"
81051 target="$target"
81052 with_multisubdir="$with_multisubdir"
81053 with_multisrctop="$with_multisrctop"
81054 with_target_subdir="$with_target_subdir"
81055 ac_configure_args="${multilib_arg} ${ac_configure_args}"
81056 multi_basedir="$multi_basedir"
81057 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
81058 CC="$CC"
81059 CXX="$CXX"
81060 GFORTRAN="$GFORTRAN"
81061 GCJ="$GCJ"
81062
81063
81064 # The HP-UX ksh and POSIX shell print the target directory to stdout
81065 # if CDPATH is set.
81066 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81067
81068 sed_quote_subst='$sed_quote_subst'
81069 double_quote_subst='$double_quote_subst'
81070 delay_variable_subst='$delay_variable_subst'
81071 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
81072 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
81073 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
81074 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
81075 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
81076 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
81077 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
81078 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
81079 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
81080 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
81081 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
81082 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
81083 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
81084 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
81085 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
81086 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
81087 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
81088 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
81089 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
81090 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
81091 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
81092 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
81093 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
81094 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
81095 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
81096 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
81097 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
81098 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
81099 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
81100 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
81101 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
81102 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
81103 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
81104 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
81105 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
81106 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
81107 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
81108 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81109 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81110 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
81111 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
81112 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
81113 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
81114 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
81115 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
81116 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
81117 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
81118 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
81119 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"`'
81120 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
81121 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
81122 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
81123 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
81124 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
81125 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
81126 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
81127 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
81128 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
81129 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
81130 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
81131 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
81132 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
81133 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
81134 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
81135 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81136 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
81137 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
81138 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
81139 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
81140 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
81141 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
81142 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81143 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
81144 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81145 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
81146 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81147 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
81148 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
81149 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
81150 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
81151 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
81152 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
81153 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
81154 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
81155 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
81156 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
81157 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
81158 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
81159 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
81160 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
81161 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
81162 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
81163 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
81164 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
81165 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
81166 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
81167 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
81168 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
81169 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
81170 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
81171 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
81172 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
81173 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
81174 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
81175 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
81176 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
81177 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
81178 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81179 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81180 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
81181 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
81182 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
81183 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
81184 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
81185 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
81186 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
81187 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
81188 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
81189 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
81190 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
81191 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
81192 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
81193 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
81194 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
81195 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
81196 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
81197 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
81198 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
81199 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81200 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81201 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
81202 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
81203 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
81204 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
81205 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
81206 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
81207 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
81208 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
81209 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
81210 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81211 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81212 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
81213 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81214 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81215 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81216 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81217 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81218 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81219 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
81220 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81221 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81222 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81223 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
81224 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
81225 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
81226 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
81227 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
81228 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
81229 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
81230 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
81231 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
81232 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
81233 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
81234 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81235 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81236 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81237 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81238 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
81239 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
81240 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
81241 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81242 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81243 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
81244 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
81245 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
81246
81247 LTCC='$LTCC'
81248 LTCFLAGS='$LTCFLAGS'
81249 compiler='$compiler_DEFAULT'
81250
81251 # A function that is used when there is no print builtin or printf.
81252 func_fallback_echo ()
81253 {
81254 eval 'cat <<_LTECHO_EOF
81255 \$1
81256 _LTECHO_EOF'
81257 }
81258
81259 # Quote evaled strings.
81260 for var in SHELL \
81261 ECHO \
81262 SED \
81263 GREP \
81264 EGREP \
81265 FGREP \
81266 LD \
81267 NM \
81268 LN_S \
81269 lt_SP2NL \
81270 lt_NL2SP \
81271 reload_flag \
81272 OBJDUMP \
81273 deplibs_check_method \
81274 file_magic_cmd \
81275 AR \
81276 AR_FLAGS \
81277 STRIP \
81278 RANLIB \
81279 CC \
81280 CFLAGS \
81281 compiler \
81282 lt_cv_sys_global_symbol_pipe \
81283 lt_cv_sys_global_symbol_to_cdecl \
81284 lt_cv_sys_global_symbol_to_c_name_address \
81285 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
81286 lt_prog_compiler_no_builtin_flag \
81287 lt_prog_compiler_wl \
81288 lt_prog_compiler_pic \
81289 lt_prog_compiler_static \
81290 lt_cv_prog_compiler_c_o \
81291 need_locks \
81292 DSYMUTIL \
81293 NMEDIT \
81294 LIPO \
81295 OTOOL \
81296 OTOOL64 \
81297 shrext_cmds \
81298 export_dynamic_flag_spec \
81299 whole_archive_flag_spec \
81300 compiler_needs_object \
81301 with_gnu_ld \
81302 allow_undefined_flag \
81303 no_undefined_flag \
81304 hardcode_libdir_flag_spec \
81305 hardcode_libdir_flag_spec_ld \
81306 hardcode_libdir_separator \
81307 fix_srcfile_path \
81308 exclude_expsyms \
81309 include_expsyms \
81310 file_list_spec \
81311 variables_saved_for_relink \
81312 libname_spec \
81313 library_names_spec \
81314 soname_spec \
81315 install_override_mode \
81316 finish_eval \
81317 old_striplib \
81318 striplib \
81319 compiler_lib_search_dirs \
81320 predep_objects \
81321 postdep_objects \
81322 predeps \
81323 postdeps \
81324 compiler_lib_search_path \
81325 LD_CXX \
81326 reload_flag_CXX \
81327 compiler_CXX \
81328 lt_prog_compiler_no_builtin_flag_CXX \
81329 lt_prog_compiler_wl_CXX \
81330 lt_prog_compiler_pic_CXX \
81331 lt_prog_compiler_static_CXX \
81332 lt_cv_prog_compiler_c_o_CXX \
81333 export_dynamic_flag_spec_CXX \
81334 whole_archive_flag_spec_CXX \
81335 compiler_needs_object_CXX \
81336 with_gnu_ld_CXX \
81337 allow_undefined_flag_CXX \
81338 no_undefined_flag_CXX \
81339 hardcode_libdir_flag_spec_CXX \
81340 hardcode_libdir_flag_spec_ld_CXX \
81341 hardcode_libdir_separator_CXX \
81342 fix_srcfile_path_CXX \
81343 exclude_expsyms_CXX \
81344 include_expsyms_CXX \
81345 file_list_spec_CXX \
81346 compiler_lib_search_dirs_CXX \
81347 predep_objects_CXX \
81348 postdep_objects_CXX \
81349 predeps_CXX \
81350 postdeps_CXX \
81351 compiler_lib_search_path_CXX; do
81352 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81353 *[\\\\\\\`\\"\\\$]*)
81354 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
81355 ;;
81356 *)
81357 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81358 ;;
81359 esac
81360 done
81361
81362 # Double-quote double-evaled strings.
81363 for var in reload_cmds \
81364 old_postinstall_cmds \
81365 old_postuninstall_cmds \
81366 old_archive_cmds \
81367 extract_expsyms_cmds \
81368 old_archive_from_new_cmds \
81369 old_archive_from_expsyms_cmds \
81370 archive_cmds \
81371 archive_expsym_cmds \
81372 module_cmds \
81373 module_expsym_cmds \
81374 export_symbols_cmds \
81375 prelink_cmds \
81376 postinstall_cmds \
81377 postuninstall_cmds \
81378 finish_cmds \
81379 sys_lib_search_path_spec \
81380 sys_lib_dlsearch_path_spec \
81381 reload_cmds_CXX \
81382 old_archive_cmds_CXX \
81383 old_archive_from_new_cmds_CXX \
81384 old_archive_from_expsyms_cmds_CXX \
81385 archive_cmds_CXX \
81386 archive_expsym_cmds_CXX \
81387 module_cmds_CXX \
81388 module_expsym_cmds_CXX \
81389 export_symbols_cmds_CXX \
81390 prelink_cmds_CXX; do
81391 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81392 *[\\\\\\\`\\"\\\$]*)
81393 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
81394 ;;
81395 *)
81396 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81397 ;;
81398 esac
81399 done
81400
81401 ac_aux_dir='$ac_aux_dir'
81402 xsi_shell='$xsi_shell'
81403 lt_shell_append='$lt_shell_append'
81404
81405 # See if we are running on zsh, and set the options which allow our
81406 # commands through without removal of \ escapes INIT.
81407 if test -n "\${ZSH_VERSION+set}" ; then
81408 setopt NO_GLOB_SUBST
81409 fi
81410
81411
81412 PACKAGE='$PACKAGE'
81413 VERSION='$VERSION'
81414 TIMESTAMP='$TIMESTAMP'
81415 RM='$RM'
81416 ofile='$ofile'
81417
81418
81419
81420
81421
81422
81423 GCC="$GCC"
81424 CC="$CC"
81425 acx_cv_header_stdint="$acx_cv_header_stdint"
81426 acx_cv_type_int8_t="$acx_cv_type_int8_t"
81427 acx_cv_type_int16_t="$acx_cv_type_int16_t"
81428 acx_cv_type_int32_t="$acx_cv_type_int32_t"
81429 acx_cv_type_int64_t="$acx_cv_type_int64_t"
81430 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
81431 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
81432 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
81433 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
81434 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
81435 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
81436 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
81437 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
81438 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
81439
81440
81441 _ACEOF
81442
81443 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81444
81445 # Handling of arguments.
81446 for ac_config_target in $ac_config_targets
81447 do
81448 case $ac_config_target in
81449 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
81450 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
81451 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
81452 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
81453 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
81454 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
81455 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
81456 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
81457 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
81458 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
81459 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
81460 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
81461 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
81462 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
81463 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
81464 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
81465 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
81466 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
81467 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
81468
81469 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
81470 esac
81471 done
81472
81473
81474 # If the user did not use the arguments to specify the items to instantiate,
81475 # then the envvar interface is used. Set only those that are not.
81476 # We use the long form for the default assignment because of an extremely
81477 # bizarre bug on SunOS 4.1.3.
81478 if $ac_need_defaults; then
81479 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
81480 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
81481 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
81482 fi
81483
81484 # Have a temporary directory for convenience. Make it in the build tree
81485 # simply because there is no reason against having it here, and in addition,
81486 # creating and moving files from /tmp can sometimes cause problems.
81487 # Hook for its removal unless debugging.
81488 # Note that there is a small window in which the directory will not be cleaned:
81489 # after its creation but before its name has been assigned to `$tmp'.
81490 $debug ||
81491 {
81492 tmp=
81493 trap 'exit_status=$?
81494 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
81495 ' 0
81496 trap 'as_fn_exit 1' 1 2 13 15
81497 }
81498 # Create a (secure) tmp directory for tmp files.
81499
81500 {
81501 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
81502 test -n "$tmp" && test -d "$tmp"
81503 } ||
81504 {
81505 tmp=./conf$$-$RANDOM
81506 (umask 077 && mkdir "$tmp")
81507 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
81508
81509 # Set up the scripts for CONFIG_FILES section.
81510 # No need to generate them if there are no CONFIG_FILES.
81511 # This happens for instance with `./config.status config.h'.
81512 if test -n "$CONFIG_FILES"; then
81513
81514
81515 ac_cr=`echo X | tr X '\015'`
81516 # On cygwin, bash can eat \r inside `` if the user requested igncr.
81517 # But we know of no other shell where ac_cr would be empty at this
81518 # point, so we can use a bashism as a fallback.
81519 if test "x$ac_cr" = x; then
81520 eval ac_cr=\$\'\\r\'
81521 fi
81522 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
81523 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
81524 ac_cs_awk_cr='\r'
81525 else
81526 ac_cs_awk_cr=$ac_cr
81527 fi
81528
81529 echo 'BEGIN {' >"$tmp/subs1.awk" &&
81530 _ACEOF
81531
81532
81533 {
81534 echo "cat >conf$$subs.awk <<_ACEOF" &&
81535 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
81536 echo "_ACEOF"
81537 } >conf$$subs.sh ||
81538 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81539 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
81540 ac_delim='%!_!# '
81541 for ac_last_try in false false false false false :; do
81542 . ./conf$$subs.sh ||
81543 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81544
81545 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
81546 if test $ac_delim_n = $ac_delim_num; then
81547 break
81548 elif $ac_last_try; then
81549 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81550 else
81551 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81552 fi
81553 done
81554 rm -f conf$$subs.sh
81555
81556 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81557 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
81558 _ACEOF
81559 sed -n '
81560 h
81561 s/^/S["/; s/!.*/"]=/
81562 p
81563 g
81564 s/^[^!]*!//
81565 :repl
81566 t repl
81567 s/'"$ac_delim"'$//
81568 t delim
81569 :nl
81570 h
81571 s/\(.\{148\}\).*/\1/
81572 t more1
81573 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
81574 p
81575 n
81576 b repl
81577 :more1
81578 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81579 p
81580 g
81581 s/.\{148\}//
81582 t nl
81583 :delim
81584 h
81585 s/\(.\{148\}\).*/\1/
81586 t more2
81587 s/["\\]/\\&/g; s/^/"/; s/$/"/
81588 p
81589 b
81590 :more2
81591 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81592 p
81593 g
81594 s/.\{148\}//
81595 t delim
81596 ' <conf$$subs.awk | sed '
81597 /^[^""]/{
81598 N
81599 s/\n//
81600 }
81601 ' >>$CONFIG_STATUS || ac_write_fail=1
81602 rm -f conf$$subs.awk
81603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81604 _ACAWK
81605 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81606 for (key in S) S_is_set[key] = 1
81607 FS = "\a"
81608
81609 }
81610 {
81611 line = $ 0
81612 nfields = split(line, field, "@")
81613 substed = 0
81614 len = length(field[1])
81615 for (i = 2; i < nfields; i++) {
81616 key = field[i]
81617 keylen = length(key)
81618 if (S_is_set[key]) {
81619 value = S[key]
81620 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81621 len += length(value) + length(field[++i])
81622 substed = 1
81623 } else
81624 len += 1 + keylen
81625 }
81626
81627 print line
81628 }
81629
81630 _ACAWK
81631 _ACEOF
81632 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81633 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81634 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81635 else
81636 cat
81637 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81638 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81639 _ACEOF
81640
81641 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81642 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81643 # trailing colons and then remove the whole line if VPATH becomes empty
81644 # (actually we leave an empty line to preserve line numbers).
81645 if test "x$srcdir" = x.; then
81646 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81647 s/:*\$(srcdir):*/:/
81648 s/:*\${srcdir}:*/:/
81649 s/:*@srcdir@:*/:/
81650 s/^\([^=]*=[ ]*\):*/\1/
81651 s/:*$//
81652 s/^[^=]*=[ ]*$//
81653 }'
81654 fi
81655
81656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81657 fi # test -n "$CONFIG_FILES"
81658
81659 # Set up the scripts for CONFIG_HEADERS section.
81660 # No need to generate them if there are no CONFIG_HEADERS.
81661 # This happens for instance with `./config.status Makefile'.
81662 if test -n "$CONFIG_HEADERS"; then
81663 cat >"$tmp/defines.awk" <<\_ACAWK ||
81664 BEGIN {
81665 _ACEOF
81666
81667 # Transform confdefs.h into an awk script `defines.awk', embedded as
81668 # here-document in config.status, that substitutes the proper values into
81669 # config.h.in to produce config.h.
81670
81671 # Create a delimiter string that does not exist in confdefs.h, to ease
81672 # handling of long lines.
81673 ac_delim='%!_!# '
81674 for ac_last_try in false false :; do
81675 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81676 if test -z "$ac_t"; then
81677 break
81678 elif $ac_last_try; then
81679 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81680 else
81681 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81682 fi
81683 done
81684
81685 # For the awk script, D is an array of macro values keyed by name,
81686 # likewise P contains macro parameters if any. Preserve backslash
81687 # newline sequences.
81688
81689 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81690 sed -n '
81691 s/.\{148\}/&'"$ac_delim"'/g
81692 t rset
81693 :rset
81694 s/^[ ]*#[ ]*define[ ][ ]*/ /
81695 t def
81696 d
81697 :def
81698 s/\\$//
81699 t bsnl
81700 s/["\\]/\\&/g
81701 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81702 D["\1"]=" \3"/p
81703 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81704 d
81705 :bsnl
81706 s/["\\]/\\&/g
81707 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81708 D["\1"]=" \3\\\\\\n"\\/p
81709 t cont
81710 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81711 t cont
81712 d
81713 :cont
81714 n
81715 s/.\{148\}/&'"$ac_delim"'/g
81716 t clear
81717 :clear
81718 s/\\$//
81719 t bsnlc
81720 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81721 d
81722 :bsnlc
81723 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81724 b cont
81725 ' <confdefs.h | sed '
81726 s/'"$ac_delim"'/"\\\
81727 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81728
81729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81730 for (key in D) D_is_set[key] = 1
81731 FS = "\a"
81732 }
81733 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81734 line = \$ 0
81735 split(line, arg, " ")
81736 if (arg[1] == "#") {
81737 defundef = arg[2]
81738 mac1 = arg[3]
81739 } else {
81740 defundef = substr(arg[1], 2)
81741 mac1 = arg[2]
81742 }
81743 split(mac1, mac2, "(") #)
81744 macro = mac2[1]
81745 prefix = substr(line, 1, index(line, defundef) - 1)
81746 if (D_is_set[macro]) {
81747 # Preserve the white space surrounding the "#".
81748 print prefix "define", macro P[macro] D[macro]
81749 next
81750 } else {
81751 # Replace #undef with comments. This is necessary, for example,
81752 # in the case of _POSIX_SOURCE, which is predefined and required
81753 # on some systems where configure will not decide to define it.
81754 if (defundef == "undef") {
81755 print "/*", prefix defundef, macro, "*/"
81756 next
81757 }
81758 }
81759 }
81760 { print }
81761 _ACAWK
81762 _ACEOF
81763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81764 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81765 fi # test -n "$CONFIG_HEADERS"
81766
81767
81768 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81769 shift
81770 for ac_tag
81771 do
81772 case $ac_tag in
81773 :[FHLC]) ac_mode=$ac_tag; continue;;
81774 esac
81775 case $ac_mode$ac_tag in
81776 :[FHL]*:*);;
81777 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81778 :[FH]-) ac_tag=-:-;;
81779 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81780 esac
81781 ac_save_IFS=$IFS
81782 IFS=:
81783 set x $ac_tag
81784 IFS=$ac_save_IFS
81785 shift
81786 ac_file=$1
81787 shift
81788
81789 case $ac_mode in
81790 :L) ac_source=$1;;
81791 :[FH])
81792 ac_file_inputs=
81793 for ac_f
81794 do
81795 case $ac_f in
81796 -) ac_f="$tmp/stdin";;
81797 *) # Look for the file first in the build tree, then in the source tree
81798 # (if the path is not absolute). The absolute path cannot be DOS-style,
81799 # because $ac_f cannot contain `:'.
81800 test -f "$ac_f" ||
81801 case $ac_f in
81802 [\\/$]*) false;;
81803 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81804 esac ||
81805 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81806 esac
81807 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81808 as_fn_append ac_file_inputs " '$ac_f'"
81809 done
81810
81811 # Let's still pretend it is `configure' which instantiates (i.e., don't
81812 # use $as_me), people would be surprised to read:
81813 # /* config.h. Generated by config.status. */
81814 configure_input='Generated from '`
81815 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81816 `' by configure.'
81817 if test x"$ac_file" != x-; then
81818 configure_input="$ac_file. $configure_input"
81819 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81820 $as_echo "$as_me: creating $ac_file" >&6;}
81821 fi
81822 # Neutralize special characters interpreted by sed in replacement strings.
81823 case $configure_input in #(
81824 *\&* | *\|* | *\\* )
81825 ac_sed_conf_input=`$as_echo "$configure_input" |
81826 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81827 *) ac_sed_conf_input=$configure_input;;
81828 esac
81829
81830 case $ac_tag in
81831 *:-:* | *:-) cat >"$tmp/stdin" \
81832 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81833 esac
81834 ;;
81835 esac
81836
81837 ac_dir=`$as_dirname -- "$ac_file" ||
81838 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81839 X"$ac_file" : 'X\(//\)[^/]' \| \
81840 X"$ac_file" : 'X\(//\)$' \| \
81841 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81842 $as_echo X"$ac_file" |
81843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81844 s//\1/
81845 q
81846 }
81847 /^X\(\/\/\)[^/].*/{
81848 s//\1/
81849 q
81850 }
81851 /^X\(\/\/\)$/{
81852 s//\1/
81853 q
81854 }
81855 /^X\(\/\).*/{
81856 s//\1/
81857 q
81858 }
81859 s/.*/./; q'`
81860 as_dir="$ac_dir"; as_fn_mkdir_p
81861 ac_builddir=.
81862
81863 case "$ac_dir" in
81864 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81865 *)
81866 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81867 # A ".." for each directory in $ac_dir_suffix.
81868 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81869 case $ac_top_builddir_sub in
81870 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81871 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81872 esac ;;
81873 esac
81874 ac_abs_top_builddir=$ac_pwd
81875 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81876 # for backward compatibility:
81877 ac_top_builddir=$ac_top_build_prefix
81878
81879 case $srcdir in
81880 .) # We are building in place.
81881 ac_srcdir=.
81882 ac_top_srcdir=$ac_top_builddir_sub
81883 ac_abs_top_srcdir=$ac_pwd ;;
81884 [\\/]* | ?:[\\/]* ) # Absolute name.
81885 ac_srcdir=$srcdir$ac_dir_suffix;
81886 ac_top_srcdir=$srcdir
81887 ac_abs_top_srcdir=$srcdir ;;
81888 *) # Relative name.
81889 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81890 ac_top_srcdir=$ac_top_build_prefix$srcdir
81891 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81892 esac
81893 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81894
81895
81896 case $ac_mode in
81897 :F)
81898 #
81899 # CONFIG_FILE
81900 #
81901
81902 case $INSTALL in
81903 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81904 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81905 esac
81906 ac_MKDIR_P=$MKDIR_P
81907 case $MKDIR_P in
81908 [\\/$]* | ?:[\\/]* ) ;;
81909 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81910 esac
81911 _ACEOF
81912
81913 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81914 # If the template does not know about datarootdir, expand it.
81915 # FIXME: This hack should be removed a few years after 2.60.
81916 ac_datarootdir_hack=; ac_datarootdir_seen=
81917 ac_sed_dataroot='
81918 /datarootdir/ {
81919 p
81920 q
81921 }
81922 /@datadir@/p
81923 /@docdir@/p
81924 /@infodir@/p
81925 /@localedir@/p
81926 /@mandir@/p'
81927 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81928 *datarootdir*) ac_datarootdir_seen=yes;;
81929 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81931 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81932 _ACEOF
81933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81934 ac_datarootdir_hack='
81935 s&@datadir@&$datadir&g
81936 s&@docdir@&$docdir&g
81937 s&@infodir@&$infodir&g
81938 s&@localedir@&$localedir&g
81939 s&@mandir@&$mandir&g
81940 s&\\\${datarootdir}&$datarootdir&g' ;;
81941 esac
81942 _ACEOF
81943
81944 # Neutralize VPATH when `$srcdir' = `.'.
81945 # Shell code in configure.ac might set extrasub.
81946 # FIXME: do we really want to maintain this feature?
81947 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81948 ac_sed_extra="$ac_vpsub
81949 $extrasub
81950 _ACEOF
81951 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81952 :t
81953 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81954 s|@configure_input@|$ac_sed_conf_input|;t t
81955 s&@top_builddir@&$ac_top_builddir_sub&;t t
81956 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81957 s&@srcdir@&$ac_srcdir&;t t
81958 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81959 s&@top_srcdir@&$ac_top_srcdir&;t t
81960 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81961 s&@builddir@&$ac_builddir&;t t
81962 s&@abs_builddir@&$ac_abs_builddir&;t t
81963 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81964 s&@INSTALL@&$ac_INSTALL&;t t
81965 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81966 $ac_datarootdir_hack
81967 "
81968 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81969 || as_fn_error "could not create $ac_file" "$LINENO" 5
81970
81971 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81972 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81973 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81975 which seems to be undefined. Please make sure it is defined." >&5
81976 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81977 which seems to be undefined. Please make sure it is defined." >&2;}
81978
81979 rm -f "$tmp/stdin"
81980 case $ac_file in
81981 -) cat "$tmp/out" && rm -f "$tmp/out";;
81982 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81983 esac \
81984 || as_fn_error "could not create $ac_file" "$LINENO" 5
81985 ;;
81986 :H)
81987 #
81988 # CONFIG_HEADER
81989 #
81990 if test x"$ac_file" != x-; then
81991 {
81992 $as_echo "/* $configure_input */" \
81993 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81994 } >"$tmp/config.h" \
81995 || as_fn_error "could not create $ac_file" "$LINENO" 5
81996 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81997 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81998 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81999 else
82000 rm -f "$ac_file"
82001 mv "$tmp/config.h" "$ac_file" \
82002 || as_fn_error "could not create $ac_file" "$LINENO" 5
82003 fi
82004 else
82005 $as_echo "/* $configure_input */" \
82006 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
82007 || as_fn_error "could not create -" "$LINENO" 5
82008 fi
82009 # Compute "$ac_file"'s index in $config_headers.
82010 _am_arg="$ac_file"
82011 _am_stamp_count=1
82012 for _am_header in $config_headers :; do
82013 case $_am_header in
82014 $_am_arg | $_am_arg:* )
82015 break ;;
82016 * )
82017 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
82018 esac
82019 done
82020 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
82021 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
82022 X"$_am_arg" : 'X\(//\)[^/]' \| \
82023 X"$_am_arg" : 'X\(//\)$' \| \
82024 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
82025 $as_echo X"$_am_arg" |
82026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
82027 s//\1/
82028 q
82029 }
82030 /^X\(\/\/\)[^/].*/{
82031 s//\1/
82032 q
82033 }
82034 /^X\(\/\/\)$/{
82035 s//\1/
82036 q
82037 }
82038 /^X\(\/\).*/{
82039 s//\1/
82040 q
82041 }
82042 s/.*/./; q'`/stamp-h$_am_stamp_count
82043 ;;
82044
82045 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
82046 $as_echo "$as_me: executing $ac_file commands" >&6;}
82047 ;;
82048 esac
82049
82050
82051 case $ac_file$ac_mode in
82052 "default-1":C)
82053 # Only add multilib support code if we just rebuilt the top-level
82054 # Makefile.
82055 case " $CONFIG_FILES " in
82056 *" Makefile "*)
82057 ac_file=Makefile . ${multi_basedir}/config-ml.in
82058 ;;
82059 esac ;;
82060 "libtool":C)
82061
82062 # See if we are running on zsh, and set the options which allow our
82063 # commands through without removal of \ escapes.
82064 if test -n "${ZSH_VERSION+set}" ; then
82065 setopt NO_GLOB_SUBST
82066 fi
82067
82068 cfgfile="${ofile}T"
82069 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
82070 $RM "$cfgfile"
82071
82072 cat <<_LT_EOF >> "$cfgfile"
82073 #! $SHELL
82074
82075 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
82076 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
82077 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
82078 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
82079 #
82080 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
82081 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
82082 # Written by Gordon Matzigkeit, 1996
82083 #
82084 # This file is part of GNU Libtool.
82085 #
82086 # GNU Libtool is free software; you can redistribute it and/or
82087 # modify it under the terms of the GNU General Public License as
82088 # published by the Free Software Foundation; either version 2 of
82089 # the License, or (at your option) any later version.
82090 #
82091 # As a special exception to the GNU General Public License,
82092 # if you distribute this file as part of a program or library that
82093 # is built using GNU Libtool, you may include this file under the
82094 # same distribution terms that you use for the rest of that program.
82095 #
82096 # GNU Libtool is distributed in the hope that it will be useful,
82097 # but WITHOUT ANY WARRANTY; without even the implied warranty of
82098 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82099 # GNU General Public License for more details.
82100 #
82101 # You should have received a copy of the GNU General Public License
82102 # along with GNU Libtool; see the file COPYING. If not, a copy
82103 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
82104 # obtained by writing to the Free Software Foundation, Inc.,
82105 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
82106
82107
82108 # The names of the tagged configurations supported by this script.
82109 available_tags="CXX "
82110
82111 # ### BEGIN LIBTOOL CONFIG
82112
82113 # Which release of libtool.m4 was used?
82114 macro_version=$macro_version
82115 macro_revision=$macro_revision
82116
82117 # Whether or not to build shared libraries.
82118 build_libtool_libs=$enable_shared
82119
82120 # Whether or not to build static libraries.
82121 build_old_libs=$enable_static
82122
82123 # What type of objects to build.
82124 pic_mode=$pic_mode
82125
82126 # Whether or not to optimize for fast installation.
82127 fast_install=$enable_fast_install
82128
82129 # Shell to use when invoking shell scripts.
82130 SHELL=$lt_SHELL
82131
82132 # An echo program that protects backslashes.
82133 ECHO=$lt_ECHO
82134
82135 # The host system.
82136 host_alias=$host_alias
82137 host=$host
82138 host_os=$host_os
82139
82140 # The build system.
82141 build_alias=$build_alias
82142 build=$build
82143 build_os=$build_os
82144
82145 # A sed program that does not truncate output.
82146 SED=$lt_SED
82147
82148 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
82149 Xsed="\$SED -e 1s/^X//"
82150
82151 # A grep program that handles long lines.
82152 GREP=$lt_GREP
82153
82154 # An ERE matcher.
82155 EGREP=$lt_EGREP
82156
82157 # A literal string matcher.
82158 FGREP=$lt_FGREP
82159
82160 # A BSD- or MS-compatible name lister.
82161 NM=$lt_NM
82162
82163 # Whether we need soft or hard links.
82164 LN_S=$lt_LN_S
82165
82166 # What is the maximum length of a command?
82167 max_cmd_len=$max_cmd_len
82168
82169 # Object file suffix (normally "o").
82170 objext=$ac_objext
82171
82172 # Executable file suffix (normally "").
82173 exeext=$exeext
82174
82175 # whether the shell understands "unset".
82176 lt_unset=$lt_unset
82177
82178 # turn spaces into newlines.
82179 SP2NL=$lt_lt_SP2NL
82180
82181 # turn newlines into spaces.
82182 NL2SP=$lt_lt_NL2SP
82183
82184 # An object symbol dumper.
82185 OBJDUMP=$lt_OBJDUMP
82186
82187 # Method to check whether dependent libraries are shared objects.
82188 deplibs_check_method=$lt_deplibs_check_method
82189
82190 # Command to use when deplibs_check_method == "file_magic".
82191 file_magic_cmd=$lt_file_magic_cmd
82192
82193 # The archiver.
82194 AR=$lt_AR
82195 AR_FLAGS=$lt_AR_FLAGS
82196
82197 # A symbol stripping program.
82198 STRIP=$lt_STRIP
82199
82200 # Commands used to install an old-style archive.
82201 RANLIB=$lt_RANLIB
82202 old_postinstall_cmds=$lt_old_postinstall_cmds
82203 old_postuninstall_cmds=$lt_old_postuninstall_cmds
82204
82205 # Whether to use a lock for old archive extraction.
82206 lock_old_archive_extraction=$lock_old_archive_extraction
82207
82208 # A C compiler.
82209 LTCC=$lt_CC
82210
82211 # LTCC compiler flags.
82212 LTCFLAGS=$lt_CFLAGS
82213
82214 # Take the output of nm and produce a listing of raw symbols and C names.
82215 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
82216
82217 # Transform the output of nm in a proper C declaration.
82218 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
82219
82220 # Transform the output of nm in a C name address pair.
82221 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
82222
82223 # Transform the output of nm in a C name address pair when lib prefix is needed.
82224 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
82225
82226 # The name of the directory that contains temporary libtool files.
82227 objdir=$objdir
82228
82229 # Used to examine libraries when file_magic_cmd begins with "file".
82230 MAGIC_CMD=$MAGIC_CMD
82231
82232 # Must we lock files when doing compilation?
82233 need_locks=$lt_need_locks
82234
82235 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
82236 DSYMUTIL=$lt_DSYMUTIL
82237
82238 # Tool to change global to local symbols on Mac OS X.
82239 NMEDIT=$lt_NMEDIT
82240
82241 # Tool to manipulate fat objects and archives on Mac OS X.
82242 LIPO=$lt_LIPO
82243
82244 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
82245 OTOOL=$lt_OTOOL
82246
82247 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
82248 OTOOL64=$lt_OTOOL64
82249
82250 # Old archive suffix (normally "a").
82251 libext=$libext
82252
82253 # Shared library suffix (normally ".so").
82254 shrext_cmds=$lt_shrext_cmds
82255
82256 # The commands to extract the exported symbol list from a shared archive.
82257 extract_expsyms_cmds=$lt_extract_expsyms_cmds
82258
82259 # Variables whose values should be saved in libtool wrapper scripts and
82260 # restored at link time.
82261 variables_saved_for_relink=$lt_variables_saved_for_relink
82262
82263 # Do we need the "lib" prefix for modules?
82264 need_lib_prefix=$need_lib_prefix
82265
82266 # Do we need a version for libraries?
82267 need_version=$need_version
82268
82269 # Library versioning type.
82270 version_type=$version_type
82271
82272 # Shared library runtime path variable.
82273 runpath_var=$runpath_var
82274
82275 # Shared library path variable.
82276 shlibpath_var=$shlibpath_var
82277
82278 # Is shlibpath searched before the hard-coded library search path?
82279 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
82280
82281 # Format of library name prefix.
82282 libname_spec=$lt_libname_spec
82283
82284 # List of archive names. First name is the real one, the rest are links.
82285 # The last name is the one that the linker finds with -lNAME
82286 library_names_spec=$lt_library_names_spec
82287
82288 # The coded name of the library, if different from the real name.
82289 soname_spec=$lt_soname_spec
82290
82291 # Permission mode override for installation of shared libraries.
82292 install_override_mode=$lt_install_override_mode
82293
82294 # Command to use after installation of a shared archive.
82295 postinstall_cmds=$lt_postinstall_cmds
82296
82297 # Command to use after uninstallation of a shared archive.
82298 postuninstall_cmds=$lt_postuninstall_cmds
82299
82300 # Commands used to finish a libtool library installation in a directory.
82301 finish_cmds=$lt_finish_cmds
82302
82303 # As "finish_cmds", except a single script fragment to be evaled but
82304 # not shown.
82305 finish_eval=$lt_finish_eval
82306
82307 # Whether we should hardcode library paths into libraries.
82308 hardcode_into_libs=$hardcode_into_libs
82309
82310 # Compile-time system search path for libraries.
82311 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
82312
82313 # Run-time system search path for libraries.
82314 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
82315
82316 # Whether dlopen is supported.
82317 dlopen_support=$enable_dlopen
82318
82319 # Whether dlopen of programs is supported.
82320 dlopen_self=$enable_dlopen_self
82321
82322 # Whether dlopen of statically linked programs is supported.
82323 dlopen_self_static=$enable_dlopen_self_static
82324
82325 # Commands to strip libraries.
82326 old_striplib=$lt_old_striplib
82327 striplib=$lt_striplib
82328
82329
82330 # The linker used to build libraries.
82331 LD=$lt_LD
82332
82333 # How to create reloadable object files.
82334 reload_flag=$lt_reload_flag
82335 reload_cmds=$lt_reload_cmds
82336
82337 # Commands used to build an old-style archive.
82338 old_archive_cmds=$lt_old_archive_cmds
82339
82340 # A language specific compiler.
82341 CC=$lt_compiler
82342
82343 # Is the compiler the GNU compiler?
82344 with_gcc=$GCC
82345
82346 # Compiler flag to turn off builtin functions.
82347 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
82348
82349 # How to pass a linker flag through the compiler.
82350 wl=$lt_lt_prog_compiler_wl
82351
82352 # Additional compiler flags for building library objects.
82353 pic_flag=$lt_lt_prog_compiler_pic
82354
82355 # Compiler flag to prevent dynamic linking.
82356 link_static_flag=$lt_lt_prog_compiler_static
82357
82358 # Does compiler simultaneously support -c and -o options?
82359 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
82360
82361 # Whether or not to add -lc for building shared libraries.
82362 build_libtool_need_lc=$archive_cmds_need_lc
82363
82364 # Whether or not to disallow shared libs when runtime libs are static.
82365 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
82366
82367 # Compiler flag to allow reflexive dlopens.
82368 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
82369
82370 # Compiler flag to generate shared objects directly from archives.
82371 whole_archive_flag_spec=$lt_whole_archive_flag_spec
82372
82373 # Whether the compiler copes with passing no objects directly.
82374 compiler_needs_object=$lt_compiler_needs_object
82375
82376 # Create an old-style archive from a shared archive.
82377 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
82378
82379 # Create a temporary old-style archive to link instead of a shared archive.
82380 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
82381
82382 # Commands used to build a shared archive.
82383 archive_cmds=$lt_archive_cmds
82384 archive_expsym_cmds=$lt_archive_expsym_cmds
82385
82386 # Commands used to build a loadable module if different from building
82387 # a shared archive.
82388 module_cmds=$lt_module_cmds
82389 module_expsym_cmds=$lt_module_expsym_cmds
82390
82391 # Whether we are building with GNU ld or not.
82392 with_gnu_ld=$lt_with_gnu_ld
82393
82394 # Flag that allows shared libraries with undefined symbols to be built.
82395 allow_undefined_flag=$lt_allow_undefined_flag
82396
82397 # Flag that enforces no undefined symbols.
82398 no_undefined_flag=$lt_no_undefined_flag
82399
82400 # Flag to hardcode \$libdir into a binary during linking.
82401 # This must work even if \$libdir does not exist
82402 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
82403
82404 # If ld is used when linking, flag to hardcode \$libdir into a binary
82405 # during linking. This must work even if \$libdir does not exist.
82406 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
82407
82408 # Whether we need a single "-rpath" flag with a separated argument.
82409 hardcode_libdir_separator=$lt_hardcode_libdir_separator
82410
82411 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82412 # DIR into the resulting binary.
82413 hardcode_direct=$hardcode_direct
82414
82415 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82416 # DIR into the resulting binary and the resulting library dependency is
82417 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82418 # library is relocated.
82419 hardcode_direct_absolute=$hardcode_direct_absolute
82420
82421 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82422 # into the resulting binary.
82423 hardcode_minus_L=$hardcode_minus_L
82424
82425 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82426 # into the resulting binary.
82427 hardcode_shlibpath_var=$hardcode_shlibpath_var
82428
82429 # Set to "yes" if building a shared library automatically hardcodes DIR
82430 # into the library and all subsequent libraries and executables linked
82431 # against it.
82432 hardcode_automatic=$hardcode_automatic
82433
82434 # Set to yes if linker adds runtime paths of dependent libraries
82435 # to runtime path list.
82436 inherit_rpath=$inherit_rpath
82437
82438 # Whether libtool must link a program against all its dependency libraries.
82439 link_all_deplibs=$link_all_deplibs
82440
82441 # Fix the shell variable \$srcfile for the compiler.
82442 fix_srcfile_path=$lt_fix_srcfile_path
82443
82444 # Set to "yes" if exported symbols are required.
82445 always_export_symbols=$always_export_symbols
82446
82447 # The commands to list exported symbols.
82448 export_symbols_cmds=$lt_export_symbols_cmds
82449
82450 # Symbols that should not be listed in the preloaded symbols.
82451 exclude_expsyms=$lt_exclude_expsyms
82452
82453 # Symbols that must always be exported.
82454 include_expsyms=$lt_include_expsyms
82455
82456 # Commands necessary for linking programs (against libraries) with templates.
82457 prelink_cmds=$lt_prelink_cmds
82458
82459 # Specify filename containing input files.
82460 file_list_spec=$lt_file_list_spec
82461
82462 # How to hardcode a shared library path into an executable.
82463 hardcode_action=$hardcode_action
82464
82465 # The directories searched by this compiler when creating a shared library.
82466 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
82467
82468 # Dependencies to place before and after the objects being linked to
82469 # create a shared library.
82470 predep_objects=$lt_predep_objects
82471 postdep_objects=$lt_postdep_objects
82472 predeps=$lt_predeps
82473 postdeps=$lt_postdeps
82474
82475 # The library search path used internally by the compiler when linking
82476 # a shared library.
82477 compiler_lib_search_path=$lt_compiler_lib_search_path
82478
82479 # ### END LIBTOOL CONFIG
82480
82481 _LT_EOF
82482
82483 case $host_os in
82484 aix3*)
82485 cat <<\_LT_EOF >> "$cfgfile"
82486 # AIX sometimes has problems with the GCC collect2 program. For some
82487 # reason, if we set the COLLECT_NAMES environment variable, the problems
82488 # vanish in a puff of smoke.
82489 if test "X${COLLECT_NAMES+set}" != Xset; then
82490 COLLECT_NAMES=
82491 export COLLECT_NAMES
82492 fi
82493 _LT_EOF
82494 ;;
82495 esac
82496
82497
82498 ltmain="$ac_aux_dir/ltmain.sh"
82499
82500
82501 # We use sed instead of cat because bash on DJGPP gets confused if
82502 # if finds mixed CR/LF and LF-only lines. Since sed operates in
82503 # text mode, it properly converts lines to CR/LF. This bash problem
82504 # is reportedly fixed, but why not run on old versions too?
82505 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
82506 || (rm -f "$cfgfile"; exit 1)
82507
82508 case $xsi_shell in
82509 yes)
82510 cat << \_LT_EOF >> "$cfgfile"
82511
82512 # func_dirname file append nondir_replacement
82513 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82514 # otherwise set result to NONDIR_REPLACEMENT.
82515 func_dirname ()
82516 {
82517 case ${1} in
82518 */*) func_dirname_result="${1%/*}${2}" ;;
82519 * ) func_dirname_result="${3}" ;;
82520 esac
82521 }
82522
82523 # func_basename file
82524 func_basename ()
82525 {
82526 func_basename_result="${1##*/}"
82527 }
82528
82529 # func_dirname_and_basename file append nondir_replacement
82530 # perform func_basename and func_dirname in a single function
82531 # call:
82532 # dirname: Compute the dirname of FILE. If nonempty,
82533 # add APPEND to the result, otherwise set result
82534 # to NONDIR_REPLACEMENT.
82535 # value returned in "$func_dirname_result"
82536 # basename: Compute filename of FILE.
82537 # value retuned in "$func_basename_result"
82538 # Implementation must be kept synchronized with func_dirname
82539 # and func_basename. For efficiency, we do not delegate to
82540 # those functions but instead duplicate the functionality here.
82541 func_dirname_and_basename ()
82542 {
82543 case ${1} in
82544 */*) func_dirname_result="${1%/*}${2}" ;;
82545 * ) func_dirname_result="${3}" ;;
82546 esac
82547 func_basename_result="${1##*/}"
82548 }
82549
82550 # func_stripname prefix suffix name
82551 # strip PREFIX and SUFFIX off of NAME.
82552 # PREFIX and SUFFIX must not contain globbing or regex special
82553 # characters, hashes, percent signs, but SUFFIX may contain a leading
82554 # dot (in which case that matches only a dot).
82555 func_stripname ()
82556 {
82557 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
82558 # positional parameters, so assign one to ordinary parameter first.
82559 func_stripname_result=${3}
82560 func_stripname_result=${func_stripname_result#"${1}"}
82561 func_stripname_result=${func_stripname_result%"${2}"}
82562 }
82563
82564 # func_opt_split
82565 func_opt_split ()
82566 {
82567 func_opt_split_opt=${1%%=*}
82568 func_opt_split_arg=${1#*=}
82569 }
82570
82571 # func_lo2o object
82572 func_lo2o ()
82573 {
82574 case ${1} in
82575 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
82576 *) func_lo2o_result=${1} ;;
82577 esac
82578 }
82579
82580 # func_xform libobj-or-source
82581 func_xform ()
82582 {
82583 func_xform_result=${1%.*}.lo
82584 }
82585
82586 # func_arith arithmetic-term...
82587 func_arith ()
82588 {
82589 func_arith_result=$(( $* ))
82590 }
82591
82592 # func_len string
82593 # STRING may not start with a hyphen.
82594 func_len ()
82595 {
82596 func_len_result=${#1}
82597 }
82598
82599 _LT_EOF
82600 ;;
82601 *) # Bourne compatible functions.
82602 cat << \_LT_EOF >> "$cfgfile"
82603
82604 # func_dirname file append nondir_replacement
82605 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82606 # otherwise set result to NONDIR_REPLACEMENT.
82607 func_dirname ()
82608 {
82609 # Extract subdirectory from the argument.
82610 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82611 if test "X$func_dirname_result" = "X${1}"; then
82612 func_dirname_result="${3}"
82613 else
82614 func_dirname_result="$func_dirname_result${2}"
82615 fi
82616 }
82617
82618 # func_basename file
82619 func_basename ()
82620 {
82621 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82622 }
82623
82624
82625 # func_stripname prefix suffix name
82626 # strip PREFIX and SUFFIX off of NAME.
82627 # PREFIX and SUFFIX must not contain globbing or regex special
82628 # characters, hashes, percent signs, but SUFFIX may contain a leading
82629 # dot (in which case that matches only a dot).
82630 # func_strip_suffix prefix name
82631 func_stripname ()
82632 {
82633 case ${2} in
82634 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82635 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82636 esac
82637 }
82638
82639 # sed scripts:
82640 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82641 my_sed_long_arg='1s/^-[^=]*=//'
82642
82643 # func_opt_split
82644 func_opt_split ()
82645 {
82646 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82647 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82648 }
82649
82650 # func_lo2o object
82651 func_lo2o ()
82652 {
82653 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82654 }
82655
82656 # func_xform libobj-or-source
82657 func_xform ()
82658 {
82659 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82660 }
82661
82662 # func_arith arithmetic-term...
82663 func_arith ()
82664 {
82665 func_arith_result=`expr "$@"`
82666 }
82667
82668 # func_len string
82669 # STRING may not start with a hyphen.
82670 func_len ()
82671 {
82672 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82673 }
82674
82675 _LT_EOF
82676 esac
82677
82678 case $lt_shell_append in
82679 yes)
82680 cat << \_LT_EOF >> "$cfgfile"
82681
82682 # func_append var value
82683 # Append VALUE to the end of shell variable VAR.
82684 func_append ()
82685 {
82686 eval "$1+=\$2"
82687 }
82688 _LT_EOF
82689 ;;
82690 *)
82691 cat << \_LT_EOF >> "$cfgfile"
82692
82693 # func_append var value
82694 # Append VALUE to the end of shell variable VAR.
82695 func_append ()
82696 {
82697 eval "$1=\$$1\$2"
82698 }
82699
82700 _LT_EOF
82701 ;;
82702 esac
82703
82704
82705 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82706 || (rm -f "$cfgfile"; exit 1)
82707
82708 mv -f "$cfgfile" "$ofile" ||
82709 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82710 chmod +x "$ofile"
82711
82712
82713 cat <<_LT_EOF >> "$ofile"
82714
82715 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82716
82717 # The linker used to build libraries.
82718 LD=$lt_LD_CXX
82719
82720 # How to create reloadable object files.
82721 reload_flag=$lt_reload_flag_CXX
82722 reload_cmds=$lt_reload_cmds_CXX
82723
82724 # Commands used to build an old-style archive.
82725 old_archive_cmds=$lt_old_archive_cmds_CXX
82726
82727 # A language specific compiler.
82728 CC=$lt_compiler_CXX
82729
82730 # Is the compiler the GNU compiler?
82731 with_gcc=$GCC_CXX
82732
82733 # Compiler flag to turn off builtin functions.
82734 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82735
82736 # How to pass a linker flag through the compiler.
82737 wl=$lt_lt_prog_compiler_wl_CXX
82738
82739 # Additional compiler flags for building library objects.
82740 pic_flag=$lt_lt_prog_compiler_pic_CXX
82741
82742 # Compiler flag to prevent dynamic linking.
82743 link_static_flag=$lt_lt_prog_compiler_static_CXX
82744
82745 # Does compiler simultaneously support -c and -o options?
82746 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82747
82748 # Whether or not to add -lc for building shared libraries.
82749 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82750
82751 # Whether or not to disallow shared libs when runtime libs are static.
82752 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82753
82754 # Compiler flag to allow reflexive dlopens.
82755 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82756
82757 # Compiler flag to generate shared objects directly from archives.
82758 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82759
82760 # Whether the compiler copes with passing no objects directly.
82761 compiler_needs_object=$lt_compiler_needs_object_CXX
82762
82763 # Create an old-style archive from a shared archive.
82764 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82765
82766 # Create a temporary old-style archive to link instead of a shared archive.
82767 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82768
82769 # Commands used to build a shared archive.
82770 archive_cmds=$lt_archive_cmds_CXX
82771 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82772
82773 # Commands used to build a loadable module if different from building
82774 # a shared archive.
82775 module_cmds=$lt_module_cmds_CXX
82776 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82777
82778 # Whether we are building with GNU ld or not.
82779 with_gnu_ld=$lt_with_gnu_ld_CXX
82780
82781 # Flag that allows shared libraries with undefined symbols to be built.
82782 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82783
82784 # Flag that enforces no undefined symbols.
82785 no_undefined_flag=$lt_no_undefined_flag_CXX
82786
82787 # Flag to hardcode \$libdir into a binary during linking.
82788 # This must work even if \$libdir does not exist
82789 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82790
82791 # If ld is used when linking, flag to hardcode \$libdir into a binary
82792 # during linking. This must work even if \$libdir does not exist.
82793 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82794
82795 # Whether we need a single "-rpath" flag with a separated argument.
82796 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82797
82798 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82799 # DIR into the resulting binary.
82800 hardcode_direct=$hardcode_direct_CXX
82801
82802 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82803 # DIR into the resulting binary and the resulting library dependency is
82804 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82805 # library is relocated.
82806 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82807
82808 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82809 # into the resulting binary.
82810 hardcode_minus_L=$hardcode_minus_L_CXX
82811
82812 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82813 # into the resulting binary.
82814 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82815
82816 # Set to "yes" if building a shared library automatically hardcodes DIR
82817 # into the library and all subsequent libraries and executables linked
82818 # against it.
82819 hardcode_automatic=$hardcode_automatic_CXX
82820
82821 # Set to yes if linker adds runtime paths of dependent libraries
82822 # to runtime path list.
82823 inherit_rpath=$inherit_rpath_CXX
82824
82825 # Whether libtool must link a program against all its dependency libraries.
82826 link_all_deplibs=$link_all_deplibs_CXX
82827
82828 # Fix the shell variable \$srcfile for the compiler.
82829 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82830
82831 # Set to "yes" if exported symbols are required.
82832 always_export_symbols=$always_export_symbols_CXX
82833
82834 # The commands to list exported symbols.
82835 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82836
82837 # Symbols that should not be listed in the preloaded symbols.
82838 exclude_expsyms=$lt_exclude_expsyms_CXX
82839
82840 # Symbols that must always be exported.
82841 include_expsyms=$lt_include_expsyms_CXX
82842
82843 # Commands necessary for linking programs (against libraries) with templates.
82844 prelink_cmds=$lt_prelink_cmds_CXX
82845
82846 # Specify filename containing input files.
82847 file_list_spec=$lt_file_list_spec_CXX
82848
82849 # How to hardcode a shared library path into an executable.
82850 hardcode_action=$hardcode_action_CXX
82851
82852 # The directories searched by this compiler when creating a shared library.
82853 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82854
82855 # Dependencies to place before and after the objects being linked to
82856 # create a shared library.
82857 predep_objects=$lt_predep_objects_CXX
82858 postdep_objects=$lt_postdep_objects_CXX
82859 predeps=$lt_predeps_CXX
82860 postdeps=$lt_postdeps_CXX
82861
82862 # The library search path used internally by the compiler when linking
82863 # a shared library.
82864 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82865
82866 # ### END LIBTOOL TAG CONFIG: CXX
82867 _LT_EOF
82868
82869 ;;
82870 "include/gstdint.h":C)
82871 if test "$GCC" = yes; then
82872 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82873 else
82874 echo "/* generated for $CC */" > tmp-stdint.h
82875 fi
82876
82877 sed 's/^ *//' >> tmp-stdint.h <<EOF
82878
82879 #ifndef GCC_GENERATED_STDINT_H
82880 #define GCC_GENERATED_STDINT_H 1
82881
82882 #include <sys/types.h>
82883 EOF
82884
82885 if test "$acx_cv_header_stdint" != stdint.h; then
82886 echo "#include <stddef.h>" >> tmp-stdint.h
82887 fi
82888 if test "$acx_cv_header_stdint" != stddef.h; then
82889 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82890 fi
82891
82892 sed 's/^ *//' >> tmp-stdint.h <<EOF
82893 /* glibc uses these symbols as guards to prevent redefinitions. */
82894 #ifdef __int8_t_defined
82895 #define _INT8_T
82896 #define _INT16_T
82897 #define _INT32_T
82898 #endif
82899 #ifdef __uint32_t_defined
82900 #define _UINT32_T
82901 #endif
82902
82903 EOF
82904
82905 # ----------------- done header, emit basic int types -------------
82906 if test "$acx_cv_header_stdint" = stddef.h; then
82907 sed 's/^ *//' >> tmp-stdint.h <<EOF
82908
82909 #ifndef _UINT8_T
82910 #define _UINT8_T
82911 #ifndef __uint8_t_defined
82912 #define __uint8_t_defined
82913 #ifndef uint8_t
82914 typedef unsigned $acx_cv_type_int8_t uint8_t;
82915 #endif
82916 #endif
82917 #endif
82918
82919 #ifndef _UINT16_T
82920 #define _UINT16_T
82921 #ifndef __uint16_t_defined
82922 #define __uint16_t_defined
82923 #ifndef uint16_t
82924 typedef unsigned $acx_cv_type_int16_t uint16_t;
82925 #endif
82926 #endif
82927 #endif
82928
82929 #ifndef _UINT32_T
82930 #define _UINT32_T
82931 #ifndef __uint32_t_defined
82932 #define __uint32_t_defined
82933 #ifndef uint32_t
82934 typedef unsigned $acx_cv_type_int32_t uint32_t;
82935 #endif
82936 #endif
82937 #endif
82938
82939 #ifndef _INT8_T
82940 #define _INT8_T
82941 #ifndef __int8_t_defined
82942 #define __int8_t_defined
82943 #ifndef int8_t
82944 typedef $acx_cv_type_int8_t int8_t;
82945 #endif
82946 #endif
82947 #endif
82948
82949 #ifndef _INT16_T
82950 #define _INT16_T
82951 #ifndef __int16_t_defined
82952 #define __int16_t_defined
82953 #ifndef int16_t
82954 typedef $acx_cv_type_int16_t int16_t;
82955 #endif
82956 #endif
82957 #endif
82958
82959 #ifndef _INT32_T
82960 #define _INT32_T
82961 #ifndef __int32_t_defined
82962 #define __int32_t_defined
82963 #ifndef int32_t
82964 typedef $acx_cv_type_int32_t int32_t;
82965 #endif
82966 #endif
82967 #endif
82968 EOF
82969 elif test "$ac_cv_type_u_int32_t" = yes; then
82970 sed 's/^ *//' >> tmp-stdint.h <<EOF
82971
82972 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82973 #ifndef _INT8_T
82974 #define _INT8_T
82975 #endif
82976 #ifndef _INT16_T
82977 #define _INT16_T
82978 #endif
82979 #ifndef _INT32_T
82980 #define _INT32_T
82981 #endif
82982
82983 #ifndef _UINT8_T
82984 #define _UINT8_T
82985 #ifndef __uint8_t_defined
82986 #define __uint8_t_defined
82987 #ifndef uint8_t
82988 typedef u_int8_t uint8_t;
82989 #endif
82990 #endif
82991 #endif
82992
82993 #ifndef _UINT16_T
82994 #define _UINT16_T
82995 #ifndef __uint16_t_defined
82996 #define __uint16_t_defined
82997 #ifndef uint16_t
82998 typedef u_int16_t uint16_t;
82999 #endif
83000 #endif
83001 #endif
83002
83003 #ifndef _UINT32_T
83004 #define _UINT32_T
83005 #ifndef __uint32_t_defined
83006 #define __uint32_t_defined
83007 #ifndef uint32_t
83008 typedef u_int32_t uint32_t;
83009 #endif
83010 #endif
83011 #endif
83012 EOF
83013 else
83014 sed 's/^ *//' >> tmp-stdint.h <<EOF
83015
83016 /* Some systems have guard macros to prevent redefinitions, define them. */
83017 #ifndef _INT8_T
83018 #define _INT8_T
83019 #endif
83020 #ifndef _INT16_T
83021 #define _INT16_T
83022 #endif
83023 #ifndef _INT32_T
83024 #define _INT32_T
83025 #endif
83026 #ifndef _UINT8_T
83027 #define _UINT8_T
83028 #endif
83029 #ifndef _UINT16_T
83030 #define _UINT16_T
83031 #endif
83032 #ifndef _UINT32_T
83033 #define _UINT32_T
83034 #endif
83035 EOF
83036 fi
83037
83038 # ------------- done basic int types, emit int64_t types ------------
83039 if test "$ac_cv_type_uint64_t" = yes; then
83040 sed 's/^ *//' >> tmp-stdint.h <<EOF
83041
83042 /* system headers have good uint64_t and int64_t */
83043 #ifndef _INT64_T
83044 #define _INT64_T
83045 #endif
83046 #ifndef _UINT64_T
83047 #define _UINT64_T
83048 #endif
83049 EOF
83050 elif test "$ac_cv_type_u_int64_t" = yes; then
83051 sed 's/^ *//' >> tmp-stdint.h <<EOF
83052
83053 /* system headers have an u_int64_t (and int64_t) */
83054 #ifndef _INT64_T
83055 #define _INT64_T
83056 #endif
83057 #ifndef _UINT64_T
83058 #define _UINT64_T
83059 #ifndef __uint64_t_defined
83060 #define __uint64_t_defined
83061 #ifndef uint64_t
83062 typedef u_int64_t uint64_t;
83063 #endif
83064 #endif
83065 #endif
83066 EOF
83067 elif test -n "$acx_cv_type_int64_t"; then
83068 sed 's/^ *//' >> tmp-stdint.h <<EOF
83069
83070 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
83071 #ifndef _INT64_T
83072 #define _INT64_T
83073 #ifndef int64_t
83074 typedef $acx_cv_type_int64_t int64_t;
83075 #endif
83076 #endif
83077 #ifndef _UINT64_T
83078 #define _UINT64_T
83079 #ifndef __uint64_t_defined
83080 #define __uint64_t_defined
83081 #ifndef uint64_t
83082 typedef unsigned $acx_cv_type_int64_t uint64_t;
83083 #endif
83084 #endif
83085 #endif
83086 EOF
83087 else
83088 sed 's/^ *//' >> tmp-stdint.h <<EOF
83089
83090 /* some common heuristics for int64_t, using compiler-specific tests */
83091 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
83092 #ifndef _INT64_T
83093 #define _INT64_T
83094 #ifndef __int64_t_defined
83095 #ifndef int64_t
83096 typedef long long int64_t;
83097 #endif
83098 #endif
83099 #endif
83100 #ifndef _UINT64_T
83101 #define _UINT64_T
83102 #ifndef uint64_t
83103 typedef unsigned long long uint64_t;
83104 #endif
83105 #endif
83106
83107 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
83108 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
83109 does not implement __extension__. But that compiler doesn't define
83110 __GNUC_MINOR__. */
83111 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
83112 # define __extension__
83113 # endif
83114
83115 # ifndef _INT64_T
83116 # define _INT64_T
83117 # ifndef int64_t
83118 __extension__ typedef long long int64_t;
83119 # endif
83120 # endif
83121 # ifndef _UINT64_T
83122 # define _UINT64_T
83123 # ifndef uint64_t
83124 __extension__ typedef unsigned long long uint64_t;
83125 # endif
83126 # endif
83127
83128 #elif !defined __STRICT_ANSI__
83129 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
83130
83131 # ifndef _INT64_T
83132 # define _INT64_T
83133 # ifndef int64_t
83134 typedef __int64 int64_t;
83135 # endif
83136 # endif
83137 # ifndef _UINT64_T
83138 # define _UINT64_T
83139 # ifndef uint64_t
83140 typedef unsigned __int64 uint64_t;
83141 # endif
83142 # endif
83143 # endif /* compiler */
83144
83145 #endif /* ANSI version */
83146 EOF
83147 fi
83148
83149 # ------------- done int64_t types, emit intptr types ------------
83150 if test "$ac_cv_type_uintptr_t" != yes; then
83151 sed 's/^ *//' >> tmp-stdint.h <<EOF
83152
83153 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
83154 #ifndef __uintptr_t_defined
83155 #ifndef uintptr_t
83156 typedef u$acx_cv_type_intptr_t uintptr_t;
83157 #endif
83158 #endif
83159 #ifndef __intptr_t_defined
83160 #ifndef intptr_t
83161 typedef $acx_cv_type_intptr_t intptr_t;
83162 #endif
83163 #endif
83164 EOF
83165 fi
83166
83167 # ------------- done intptr types, emit int_least types ------------
83168 if test "$ac_cv_type_int_least32_t" != yes; then
83169 sed 's/^ *//' >> tmp-stdint.h <<EOF
83170
83171 /* Define int_least types */
83172 typedef int8_t int_least8_t;
83173 typedef int16_t int_least16_t;
83174 typedef int32_t int_least32_t;
83175 #ifdef _INT64_T
83176 typedef int64_t int_least64_t;
83177 #endif
83178
83179 typedef uint8_t uint_least8_t;
83180 typedef uint16_t uint_least16_t;
83181 typedef uint32_t uint_least32_t;
83182 #ifdef _UINT64_T
83183 typedef uint64_t uint_least64_t;
83184 #endif
83185 EOF
83186 fi
83187
83188 # ------------- done intptr types, emit int_fast types ------------
83189 if test "$ac_cv_type_int_fast32_t" != yes; then
83190 sed 's/^ *//' >> tmp-stdint.h <<EOF
83191
83192 /* Define int_fast types. short is often slow */
83193 typedef int8_t int_fast8_t;
83194 typedef int int_fast16_t;
83195 typedef int32_t int_fast32_t;
83196 #ifdef _INT64_T
83197 typedef int64_t int_fast64_t;
83198 #endif
83199
83200 typedef uint8_t uint_fast8_t;
83201 typedef unsigned int uint_fast16_t;
83202 typedef uint32_t uint_fast32_t;
83203 #ifdef _UINT64_T
83204 typedef uint64_t uint_fast64_t;
83205 #endif
83206 EOF
83207 fi
83208
83209 if test "$ac_cv_type_uintmax_t" != yes; then
83210 sed 's/^ *//' >> tmp-stdint.h <<EOF
83211
83212 /* Define intmax based on what we found */
83213 #ifndef intmax_t
83214 #ifdef _INT64_T
83215 typedef int64_t intmax_t;
83216 #else
83217 typedef long intmax_t;
83218 #endif
83219 #endif
83220 #ifndef uintmax_t
83221 #ifdef _UINT64_T
83222 typedef uint64_t uintmax_t;
83223 #else
83224 typedef unsigned long uintmax_t;
83225 #endif
83226 #endif
83227 EOF
83228 fi
83229
83230 sed 's/^ *//' >> tmp-stdint.h <<EOF
83231
83232 #endif /* GCC_GENERATED_STDINT_H */
83233 EOF
83234
83235 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
83236 rm -f tmp-stdint.h
83237 else
83238 mv -f tmp-stdint.h include/gstdint.h
83239 fi
83240
83241 ;;
83242 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
83243 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
83244 "include/Makefile":F) cat > vpsed$$ << \_EOF
83245 s!`test -f '$<' || echo '$(srcdir)/'`!!
83246 _EOF
83247 sed -f vpsed$$ $ac_file > tmp$$
83248 mv tmp$$ $ac_file
83249 rm vpsed$$
83250 echo 'MULTISUBDIR =' >> $ac_file
83251 ml_norecursion=yes
83252 . ${multi_basedir}/config-ml.in
83253 { ml_norecursion=; unset ml_norecursion;}
83254 ;;
83255 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
83256 s!`test -f '$<' || echo '$(srcdir)/'`!!
83257 _EOF
83258 sed -f vpsed$$ $ac_file > tmp$$
83259 mv tmp$$ $ac_file
83260 rm vpsed$$
83261 echo 'MULTISUBDIR =' >> $ac_file
83262 ml_norecursion=yes
83263 . ${multi_basedir}/config-ml.in
83264 { ml_norecursion=; unset ml_norecursion;}
83265 ;;
83266 "src/Makefile":F) cat > vpsed$$ << \_EOF
83267 s!`test -f '$<' || echo '$(srcdir)/'`!!
83268 _EOF
83269 sed -f vpsed$$ $ac_file > tmp$$
83270 mv tmp$$ $ac_file
83271 rm vpsed$$
83272 echo 'MULTISUBDIR =' >> $ac_file
83273 ml_norecursion=yes
83274 . ${multi_basedir}/config-ml.in
83275 { ml_norecursion=; unset ml_norecursion;}
83276 ;;
83277 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
83278 s!`test -f '$<' || echo '$(srcdir)/'`!!
83279 _EOF
83280 sed -f vpsed$$ $ac_file > tmp$$
83281 mv tmp$$ $ac_file
83282 rm vpsed$$
83283 echo 'MULTISUBDIR =' >> $ac_file
83284 ml_norecursion=yes
83285 . ${multi_basedir}/config-ml.in
83286 { ml_norecursion=; unset ml_norecursion;}
83287 ;;
83288 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
83289 s!`test -f '$<' || echo '$(srcdir)/'`!!
83290 _EOF
83291 sed -f vpsed$$ $ac_file > tmp$$
83292 mv tmp$$ $ac_file
83293 rm vpsed$$
83294 echo 'MULTISUBDIR =' >> $ac_file
83295 ml_norecursion=yes
83296 . ${multi_basedir}/config-ml.in
83297 { ml_norecursion=; unset ml_norecursion;}
83298 ;;
83299 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
83300 s!`test -f '$<' || echo '$(srcdir)/'`!!
83301 _EOF
83302 sed -f vpsed$$ $ac_file > tmp$$
83303 mv tmp$$ $ac_file
83304 rm vpsed$$
83305 echo 'MULTISUBDIR =' >> $ac_file
83306 ml_norecursion=yes
83307 . ${multi_basedir}/config-ml.in
83308 { ml_norecursion=; unset ml_norecursion;}
83309 ;;
83310 "doc/Makefile":F) cat > vpsed$$ << \_EOF
83311 s!`test -f '$<' || echo '$(srcdir)/'`!!
83312 _EOF
83313 sed -f vpsed$$ $ac_file > tmp$$
83314 mv tmp$$ $ac_file
83315 rm vpsed$$
83316 echo 'MULTISUBDIR =' >> $ac_file
83317 ml_norecursion=yes
83318 . ${multi_basedir}/config-ml.in
83319 { ml_norecursion=; unset ml_norecursion;}
83320 ;;
83321 "po/Makefile":F) cat > vpsed$$ << \_EOF
83322 s!`test -f '$<' || echo '$(srcdir)/'`!!
83323 _EOF
83324 sed -f vpsed$$ $ac_file > tmp$$
83325 mv tmp$$ $ac_file
83326 rm vpsed$$
83327 echo 'MULTISUBDIR =' >> $ac_file
83328 ml_norecursion=yes
83329 . ${multi_basedir}/config-ml.in
83330 { ml_norecursion=; unset ml_norecursion;}
83331 ;;
83332 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
83333 s!`test -f '$<' || echo '$(srcdir)/'`!!
83334 _EOF
83335 sed -f vpsed$$ $ac_file > tmp$$
83336 mv tmp$$ $ac_file
83337 rm vpsed$$
83338 echo 'MULTISUBDIR =' >> $ac_file
83339 ml_norecursion=yes
83340 . ${multi_basedir}/config-ml.in
83341 { ml_norecursion=; unset ml_norecursion;}
83342 ;;
83343 "python/Makefile":F) cat > vpsed$$ << \_EOF
83344 s!`test -f '$<' || echo '$(srcdir)/'`!!
83345 _EOF
83346 sed -f vpsed$$ $ac_file > tmp$$
83347 mv tmp$$ $ac_file
83348 rm vpsed$$
83349 echo 'MULTISUBDIR =' >> $ac_file
83350 ml_norecursion=yes
83351 . ${multi_basedir}/config-ml.in
83352 { ml_norecursion=; unset ml_norecursion;}
83353 ;;
83354 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
83355
83356 esac
83357 done # for ac_tag
83358
83359
83360 as_fn_exit 0
83361 _ACEOF
83362 ac_clean_files=$ac_clean_files_save
83363
83364 test $ac_write_fail = 0 ||
83365 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
83366
83367
83368 # configure is writing to config.log, and then calls config.status.
83369 # config.status does its own redirection, appending to config.log.
83370 # Unfortunately, on DOS this fails, as config.log is still kept open
83371 # by configure, so config.status won't be able to write to it; its
83372 # output is simply discarded. So we exec the FD to /dev/null,
83373 # effectively closing config.log, so it can be properly (re)opened and
83374 # appended to by config.status. When coming back to configure, we
83375 # need to make the FD available again.
83376 if test "$no_create" != yes; then
83377 ac_cs_success=:
83378 ac_config_status_args=
83379 test "$silent" = yes &&
83380 ac_config_status_args="$ac_config_status_args --quiet"
83381 exec 5>/dev/null
83382 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
83383 exec 5>>config.log
83384 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
83385 # would make configure fail if this is the last instruction.
83386 $ac_cs_success || as_fn_exit $?
83387 fi
83388 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
83389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
83390 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
83391 fi
83392