re PR libstdc++/66011 (call to '__open_missing_mode' declared with attribute error)
[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_libstdcxx_pch
866 enable_cstdio
867 enable_clocale
868 enable_nls
869 enable_libstdcxx_allocator
870 enable_cheaders
871 enable_long_long
872 enable_wchar_t
873 enable_c99
874 enable_concept_checks
875 enable_libstdcxx_debug_flags
876 enable_libstdcxx_debug
877 enable_cxx_flags
878 enable_fully_dynamic_string
879 enable_extern_template
880 with_python_dir
881 enable_werror
882 enable_vtable_verify
883 enable_libstdcxx_time
884 enable_tls
885 enable_rpath
886 with_libiconv_prefix
887 with_system_libunwind
888 enable_linux_futex
889 enable_symvers
890 enable_libstdcxx_visibility
891 enable_libstdcxx_dual_abi
892 with_default_libstdcxx_abi
893 enable_libstdcxx_threads
894 enable_libstdcxx_filesystem_ts
895 with_gxx_include_dir
896 enable_version_specific_runtime_libs
897 '
898 ac_precious_vars='build_alias
899 host_alias
900 target_alias
901 CC
902 CFLAGS
903 LDFLAGS
904 LIBS
905 CPPFLAGS
906 CXX
907 CXXFLAGS
908 CCC
909 CPP
910 CXXCPP
911 CXXFILT'
912
913
914 # Initialize some variables set by options.
915 ac_init_help=
916 ac_init_version=false
917 ac_unrecognized_opts=
918 ac_unrecognized_sep=
919 # The variables have the same names as the options, with
920 # dashes changed to underlines.
921 cache_file=/dev/null
922 exec_prefix=NONE
923 no_create=
924 no_recursion=
925 prefix=NONE
926 program_prefix=NONE
927 program_suffix=NONE
928 program_transform_name=s,x,x,
929 silent=
930 site=
931 srcdir=
932 verbose=
933 x_includes=NONE
934 x_libraries=NONE
935
936 # Installation directory options.
937 # These are left unexpanded so users can "make install exec_prefix=/foo"
938 # and all the variables that are supposed to be based on exec_prefix
939 # by default will actually change.
940 # Use braces instead of parens because sh, perl, etc. also accept them.
941 # (The list follows the same order as the GNU Coding Standards.)
942 bindir='${exec_prefix}/bin'
943 sbindir='${exec_prefix}/sbin'
944 libexecdir='${exec_prefix}/libexec'
945 datarootdir='${prefix}/share'
946 datadir='${datarootdir}'
947 sysconfdir='${prefix}/etc'
948 sharedstatedir='${prefix}/com'
949 localstatedir='${prefix}/var'
950 includedir='${prefix}/include'
951 oldincludedir='/usr/include'
952 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
953 infodir='${datarootdir}/info'
954 htmldir='${docdir}'
955 dvidir='${docdir}'
956 pdfdir='${docdir}'
957 psdir='${docdir}'
958 libdir='${exec_prefix}/lib'
959 localedir='${datarootdir}/locale'
960 mandir='${datarootdir}/man'
961
962 ac_prev=
963 ac_dashdash=
964 for ac_option
965 do
966 # If the previous option needs an argument, assign it.
967 if test -n "$ac_prev"; then
968 eval $ac_prev=\$ac_option
969 ac_prev=
970 continue
971 fi
972
973 case $ac_option in
974 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 *) ac_optarg=yes ;;
976 esac
977
978 # Accept the important Cygnus configure options, so we can diagnose typos.
979
980 case $ac_dashdash$ac_option in
981 --)
982 ac_dashdash=yes ;;
983
984 -bindir | --bindir | --bindi | --bind | --bin | --bi)
985 ac_prev=bindir ;;
986 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
987 bindir=$ac_optarg ;;
988
989 -build | --build | --buil | --bui | --bu)
990 ac_prev=build_alias ;;
991 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
992 build_alias=$ac_optarg ;;
993
994 -cache-file | --cache-file | --cache-fil | --cache-fi \
995 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
996 ac_prev=cache_file ;;
997 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
998 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
999 cache_file=$ac_optarg ;;
1000
1001 --config-cache | -C)
1002 cache_file=config.cache ;;
1003
1004 -datadir | --datadir | --datadi | --datad)
1005 ac_prev=datadir ;;
1006 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1007 datadir=$ac_optarg ;;
1008
1009 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1010 | --dataroo | --dataro | --datar)
1011 ac_prev=datarootdir ;;
1012 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1013 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1014 datarootdir=$ac_optarg ;;
1015
1016 -disable-* | --disable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1024 *"
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=no ;;
1031
1032 -docdir | --docdir | --docdi | --doc | --do)
1033 ac_prev=docdir ;;
1034 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1035 docdir=$ac_optarg ;;
1036
1037 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1038 ac_prev=dvidir ;;
1039 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1040 dvidir=$ac_optarg ;;
1041
1042 -enable-* | --enable-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error "invalid feature name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1050 *"
1051 "enable_$ac_useropt"
1052 "*) ;;
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1055 esac
1056 eval enable_$ac_useropt=\$ac_optarg ;;
1057
1058 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1059 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1060 | --exec | --exe | --ex)
1061 ac_prev=exec_prefix ;;
1062 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1063 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1064 | --exec=* | --exe=* | --ex=*)
1065 exec_prefix=$ac_optarg ;;
1066
1067 -gas | --gas | --ga | --g)
1068 # Obsolete; use --with-gas.
1069 with_gas=yes ;;
1070
1071 -help | --help | --hel | --he | -h)
1072 ac_init_help=long ;;
1073 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1074 ac_init_help=recursive ;;
1075 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1076 ac_init_help=short ;;
1077
1078 -host | --host | --hos | --ho)
1079 ac_prev=host_alias ;;
1080 -host=* | --host=* | --hos=* | --ho=*)
1081 host_alias=$ac_optarg ;;
1082
1083 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1084 ac_prev=htmldir ;;
1085 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1086 | --ht=*)
1087 htmldir=$ac_optarg ;;
1088
1089 -includedir | --includedir | --includedi | --included | --include \
1090 | --includ | --inclu | --incl | --inc)
1091 ac_prev=includedir ;;
1092 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1093 | --includ=* | --inclu=* | --incl=* | --inc=*)
1094 includedir=$ac_optarg ;;
1095
1096 -infodir | --infodir | --infodi | --infod | --info | --inf)
1097 ac_prev=infodir ;;
1098 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1099 infodir=$ac_optarg ;;
1100
1101 -libdir | --libdir | --libdi | --libd)
1102 ac_prev=libdir ;;
1103 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1104 libdir=$ac_optarg ;;
1105
1106 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1107 | --libexe | --libex | --libe)
1108 ac_prev=libexecdir ;;
1109 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1110 | --libexe=* | --libex=* | --libe=*)
1111 libexecdir=$ac_optarg ;;
1112
1113 -localedir | --localedir | --localedi | --localed | --locale)
1114 ac_prev=localedir ;;
1115 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1116 localedir=$ac_optarg ;;
1117
1118 -localstatedir | --localstatedir | --localstatedi | --localstated \
1119 | --localstate | --localstat | --localsta | --localst | --locals)
1120 ac_prev=localstatedir ;;
1121 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1122 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1123 localstatedir=$ac_optarg ;;
1124
1125 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1126 ac_prev=mandir ;;
1127 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1128 mandir=$ac_optarg ;;
1129
1130 -nfp | --nfp | --nf)
1131 # Obsolete; use --without-fp.
1132 with_fp=no ;;
1133
1134 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1135 | --no-cr | --no-c | -n)
1136 no_create=yes ;;
1137
1138 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1139 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1140 no_recursion=yes ;;
1141
1142 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1143 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1144 | --oldin | --oldi | --old | --ol | --o)
1145 ac_prev=oldincludedir ;;
1146 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1147 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1148 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1149 oldincludedir=$ac_optarg ;;
1150
1151 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1152 ac_prev=prefix ;;
1153 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1154 prefix=$ac_optarg ;;
1155
1156 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1157 | --program-pre | --program-pr | --program-p)
1158 ac_prev=program_prefix ;;
1159 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1160 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1161 program_prefix=$ac_optarg ;;
1162
1163 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1164 | --program-suf | --program-su | --program-s)
1165 ac_prev=program_suffix ;;
1166 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1167 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1168 program_suffix=$ac_optarg ;;
1169
1170 -program-transform-name | --program-transform-name \
1171 | --program-transform-nam | --program-transform-na \
1172 | --program-transform-n | --program-transform- \
1173 | --program-transform | --program-transfor \
1174 | --program-transfo | --program-transf \
1175 | --program-trans | --program-tran \
1176 | --progr-tra | --program-tr | --program-t)
1177 ac_prev=program_transform_name ;;
1178 -program-transform-name=* | --program-transform-name=* \
1179 | --program-transform-nam=* | --program-transform-na=* \
1180 | --program-transform-n=* | --program-transform-=* \
1181 | --program-transform=* | --program-transfor=* \
1182 | --program-transfo=* | --program-transf=* \
1183 | --program-trans=* | --program-tran=* \
1184 | --progr-tra=* | --program-tr=* | --program-t=*)
1185 program_transform_name=$ac_optarg ;;
1186
1187 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1188 ac_prev=pdfdir ;;
1189 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1190 pdfdir=$ac_optarg ;;
1191
1192 -psdir | --psdir | --psdi | --psd | --ps)
1193 ac_prev=psdir ;;
1194 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1195 psdir=$ac_optarg ;;
1196
1197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1198 | -silent | --silent | --silen | --sile | --sil)
1199 silent=yes ;;
1200
1201 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1202 ac_prev=sbindir ;;
1203 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1204 | --sbi=* | --sb=*)
1205 sbindir=$ac_optarg ;;
1206
1207 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1208 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1209 | --sharedst | --shareds | --shared | --share | --shar \
1210 | --sha | --sh)
1211 ac_prev=sharedstatedir ;;
1212 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1213 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1214 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1215 | --sha=* | --sh=*)
1216 sharedstatedir=$ac_optarg ;;
1217
1218 -site | --site | --sit)
1219 ac_prev=site ;;
1220 -site=* | --site=* | --sit=*)
1221 site=$ac_optarg ;;
1222
1223 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1224 ac_prev=srcdir ;;
1225 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1226 srcdir=$ac_optarg ;;
1227
1228 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1229 | --syscon | --sysco | --sysc | --sys | --sy)
1230 ac_prev=sysconfdir ;;
1231 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1232 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1233 sysconfdir=$ac_optarg ;;
1234
1235 -target | --target | --targe | --targ | --tar | --ta | --t)
1236 ac_prev=target_alias ;;
1237 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1238 target_alias=$ac_optarg ;;
1239
1240 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1241 verbose=yes ;;
1242
1243 -version | --version | --versio | --versi | --vers | -V)
1244 ac_init_version=: ;;
1245
1246 -with-* | --with-*)
1247 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250 as_fn_error "invalid package name: $ac_useropt"
1251 ac_useropt_orig=$ac_useropt
1252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1254 *"
1255 "with_$ac_useropt"
1256 "*) ;;
1257 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1258 ac_unrecognized_sep=', ';;
1259 esac
1260 eval with_$ac_useropt=\$ac_optarg ;;
1261
1262 -without-* | --without-*)
1263 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 as_fn_error "invalid package name: $ac_useropt"
1267 ac_useropt_orig=$ac_useropt
1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1270 *"
1271 "with_$ac_useropt"
1272 "*) ;;
1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1274 ac_unrecognized_sep=', ';;
1275 esac
1276 eval with_$ac_useropt=no ;;
1277
1278 --x)
1279 # Obsolete; use --with-x.
1280 with_x=yes ;;
1281
1282 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1283 | --x-incl | --x-inc | --x-in | --x-i)
1284 ac_prev=x_includes ;;
1285 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1286 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1287 x_includes=$ac_optarg ;;
1288
1289 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1290 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1291 ac_prev=x_libraries ;;
1292 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1293 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1294 x_libraries=$ac_optarg ;;
1295
1296 -*) as_fn_error "unrecognized option: \`$ac_option'
1297 Try \`$0 --help' for more information."
1298 ;;
1299
1300 *=*)
1301 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1302 # Reject names that are not valid shell variable names.
1303 case $ac_envvar in #(
1304 '' | [0-9]* | *[!_$as_cr_alnum]* )
1305 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1306 esac
1307 eval $ac_envvar=\$ac_optarg
1308 export $ac_envvar ;;
1309
1310 *)
1311 # FIXME: should be removed in autoconf 3.0.
1312 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1313 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1314 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1315 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1316 ;;
1317
1318 esac
1319 done
1320
1321 if test -n "$ac_prev"; then
1322 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1323 as_fn_error "missing argument to $ac_option"
1324 fi
1325
1326 if test -n "$ac_unrecognized_opts"; then
1327 case $enable_option_checking in
1328 no) ;;
1329 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1330 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1331 esac
1332 fi
1333
1334 # Check all directory arguments for consistency.
1335 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1336 datadir sysconfdir sharedstatedir localstatedir includedir \
1337 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1338 libdir localedir mandir
1339 do
1340 eval ac_val=\$$ac_var
1341 # Remove trailing slashes.
1342 case $ac_val in
1343 */ )
1344 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1345 eval $ac_var=\$ac_val;;
1346 esac
1347 # Be sure to have absolute directory names.
1348 case $ac_val in
1349 [\\/$]* | ?:[\\/]* ) continue;;
1350 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351 esac
1352 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1353 done
1354
1355 # There might be people who depend on the old broken behavior: `$host'
1356 # used to hold the argument of --host etc.
1357 # FIXME: To remove some day.
1358 build=$build_alias
1359 host=$host_alias
1360 target=$target_alias
1361
1362 # FIXME: To remove some day.
1363 if test "x$host_alias" != x; then
1364 if test "x$build_alias" = x; then
1365 cross_compiling=maybe
1366 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1367 If a cross compiler is detected then cross compile mode will be used." >&2
1368 elif test "x$build_alias" != "x$host_alias"; then
1369 cross_compiling=yes
1370 fi
1371 fi
1372
1373 ac_tool_prefix=
1374 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1375
1376 test "$silent" = yes && exec 6>/dev/null
1377
1378
1379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1380 ac_ls_di=`ls -di .` &&
1381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1382 as_fn_error "working directory cannot be determined"
1383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384 as_fn_error "pwd does not report name of working directory"
1385
1386
1387 # Find the source files, if location was not specified.
1388 if test -z "$srcdir"; then
1389 ac_srcdir_defaulted=yes
1390 # Try the directory containing this script, then the parent directory.
1391 ac_confdir=`$as_dirname -- "$as_myself" ||
1392 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393 X"$as_myself" : 'X\(//\)[^/]' \| \
1394 X"$as_myself" : 'X\(//\)$' \| \
1395 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1396 $as_echo X"$as_myself" |
1397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1398 s//\1/
1399 q
1400 }
1401 /^X\(\/\/\)[^/].*/{
1402 s//\1/
1403 q
1404 }
1405 /^X\(\/\/\)$/{
1406 s//\1/
1407 q
1408 }
1409 /^X\(\/\).*/{
1410 s//\1/
1411 q
1412 }
1413 s/.*/./; q'`
1414 srcdir=$ac_confdir
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1416 srcdir=..
1417 fi
1418 else
1419 ac_srcdir_defaulted=no
1420 fi
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1423 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1424 fi
1425 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 ac_abs_confdir=`(
1427 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1428 pwd)`
1429 # When building in place, set srcdir=.
1430 if test "$ac_abs_confdir" = "$ac_pwd"; then
1431 srcdir=.
1432 fi
1433 # Remove unnecessary trailing slashes from srcdir.
1434 # Double slashes in file names in object file debugging info
1435 # mess up M-x gdb in Emacs.
1436 case $srcdir in
1437 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438 esac
1439 for ac_var in $ac_precious_vars; do
1440 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_env_${ac_var}_value=\$${ac_var}
1442 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1444 done
1445
1446 #
1447 # Report the --help message.
1448 #
1449 if test "$ac_init_help" = "long"; then
1450 # Omit some internal or obsolete options to make the list less imposing.
1451 # This message is too long to be a string in the A/UX 3.1 sh.
1452 cat <<_ACEOF
1453 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1454
1455 Usage: $0 [OPTION]... [VAR=VALUE]...
1456
1457 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1458 VAR=VALUE. See below for descriptions of some of the useful variables.
1459
1460 Defaults for the options are specified in brackets.
1461
1462 Configuration:
1463 -h, --help display this help and exit
1464 --help=short display options specific to this package
1465 --help=recursive display the short help of all the included packages
1466 -V, --version display version information and exit
1467 -q, --quiet, --silent do not print \`checking...' messages
1468 --cache-file=FILE cache test results in FILE [disabled]
1469 -C, --config-cache alias for \`--cache-file=config.cache'
1470 -n, --no-create do not create output files
1471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1472
1473 Installation directories:
1474 --prefix=PREFIX install architecture-independent files in PREFIX
1475 [$ac_default_prefix]
1476 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1477 [PREFIX]
1478
1479 By default, \`make install' will install all the files in
1480 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1481 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1482 for instance \`--prefix=\$HOME'.
1483
1484 For better control, use the options below.
1485
1486 Fine tuning of the installation directories:
1487 --bindir=DIR user executables [EPREFIX/bin]
1488 --sbindir=DIR system admin executables [EPREFIX/sbin]
1489 --libexecdir=DIR program executables [EPREFIX/libexec]
1490 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1491 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1492 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1493 --libdir=DIR object code libraries [EPREFIX/lib]
1494 --includedir=DIR C header files [PREFIX/include]
1495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498 --infodir=DIR info documentation [DATAROOTDIR/info]
1499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500 --mandir=DIR man documentation [DATAROOTDIR/man]
1501 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1502 --htmldir=DIR html documentation [DOCDIR]
1503 --dvidir=DIR dvi documentation [DOCDIR]
1504 --pdfdir=DIR pdf documentation [DOCDIR]
1505 --psdir=DIR ps documentation [DOCDIR]
1506 _ACEOF
1507
1508 cat <<\_ACEOF
1509
1510 Program names:
1511 --program-prefix=PREFIX prepend PREFIX to installed program names
1512 --program-suffix=SUFFIX append SUFFIX to installed program names
1513 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1514
1515 System types:
1516 --build=BUILD configure for building on BUILD [guessed]
1517 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1518 --target=TARGET configure for building compilers for TARGET [HOST]
1519 _ACEOF
1520 fi
1521
1522 if test -n "$ac_init_help"; then
1523 case $ac_init_help in
1524 short | recursive ) echo "Configuration of package-unused version-unused:";;
1525 esac
1526 cat <<\_ACEOF
1527
1528 Optional Features:
1529 --disable-option-checking ignore unrecognized --enable/--with options
1530 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1531 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1532 --enable-multilib build many library versions (default)
1533 --enable-maintainer-mode enable make rules and dependencies not useful
1534 (and sometimes confusing) to the casual installer
1535 --enable-shared[=PKGS] build shared libraries [default=yes]
1536 --enable-static[=PKGS] build static libraries [default=yes]
1537 --enable-fast-install[=PKGS]
1538 optimize for fast installation [default=yes]
1539 --disable-libtool-lock avoid locking (might break parallel builds)
1540 --disable-hosted-libstdcxx
1541 only build freestanding C++ runtime support
1542 --disable-libstdcxx-verbose
1543 disable termination messages to standard error
1544 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1545 [default=$is_hosted]
1546 --enable-cstdio[=PACKAGE]
1547 use target-specific I/O package [default=stdio]
1548 --enable-clocale[=MODEL]
1549 use MODEL for target locale package [default=auto]
1550 --enable-nls use Native Language Support (default)
1551 --enable-libstdcxx-allocator[=KIND]
1552 use KIND for target std::allocator base
1553 [default=auto]
1554 --enable-cheaders[=KIND]
1555 construct "C" headers for g++ [default=$c_model]
1556 --enable-long-long enable template specializations for 'long long'
1557 [default=yes]
1558 --enable-wchar_t enable template specializations for 'wchar_t'
1559 [default=yes]
1560 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1561 --enable-concept-checks use Boost-derived template checks [default=no]
1562 --enable-libstdcxx-debug-flags=FLAGS
1563 pass compiler FLAGS when building debug library
1564 [default="-gdwarf-4 -g3 -O0"]
1565 --enable-libstdcxx-debug
1566 build extra debug library [default=no]
1567 --enable-cxx-flags=FLAGS
1568 pass compiler FLAGS when building library [default=]
1569 --enable-fully-dynamic-string
1570 do not put empty strings in per-process static
1571 memory [default=no]
1572 --enable-extern-template
1573 enable extern template [default=yes]
1574 --enable-werror turns on -Werror [default=yes]
1575 --enable-vtable-verify enable vtable verify [default=no]
1576 --enable-libstdcxx-time[=KIND]
1577 use KIND for check type [default=auto]
1578 --enable-tls Use thread-local storage [default=yes]
1579 --disable-rpath do not hardcode runtime library paths
1580 --enable-linux-futex use the Linux futex system call [default=default]
1581 --enable-symvers[=STYLE]
1582 enables symbol versioning of the shared library
1583 [default=yes]
1584 --enable-libstdcxx-visibility
1585 enables visibility safe usage [default=yes]
1586 --enable-libstdcxx-dual-abi
1587 support two versions of std::string [default=yes]
1588 --enable-libstdcxx-threads
1589 enable C++11 threads support [default=auto]
1590 --enable-libstdcxx-filesystem-ts
1591 turns on ISO/IEC TS 18822 support [default=auto]
1592 --enable-version-specific-runtime-libs
1593 Specify that runtime libraries should be installed
1594 in a compiler-specific directory
1595
1596 Optional Packages:
1597 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1598 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1599 --with-target-subdir=SUBDIR
1600 configuring in a subdirectory
1601 --with-cross-host=HOST configuring with a cross compiler
1602 --with-newlib assume newlib as a system C library
1603 --with-pic try to use only PIC/non-PIC objects [default=use
1604 both]
1605 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1606 --with-python-dir the location to install Python modules. This path is
1607 relative starting from the prefix.
1608 --with-gnu-ld assume the C compiler uses GNU ld default=no
1609 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1610 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1611 --with-system-libunwind use installed libunwind
1612 --with-default-libstdcxx-abi
1613 set the std::string ABI to use by default
1614 --with-gxx-include-dir=DIR
1615 installation directory for include files
1616
1617 Some influential environment variables:
1618 CC C compiler command
1619 CFLAGS C compiler flags
1620 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1621 nonstandard directory <lib dir>
1622 LIBS libraries to pass to the linker, e.g. -l<library>
1623 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1624 you have headers in a nonstandard directory <include dir>
1625 CXX C++ compiler command
1626 CXXFLAGS C++ compiler flags
1627 CPP C preprocessor
1628 CXXCPP C++ preprocessor
1629 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1630 `c++filt', `gc++filt' on PATH.
1631
1632 Use these variables to override the choices made by `configure' or to help
1633 it to find libraries and programs with nonstandard names/locations.
1634
1635 Report bugs to the package provider.
1636 _ACEOF
1637 ac_status=$?
1638 fi
1639
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1645 continue
1646 ac_builddir=.
1647
1648 case "$ac_dir" in
1649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1650 *)
1651 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657 esac ;;
1658 esac
1659 ac_abs_top_builddir=$ac_pwd
1660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir=$ac_top_build_prefix
1663
1664 case $srcdir in
1665 .) # We are building in place.
1666 ac_srcdir=.
1667 ac_top_srcdir=$ac_top_builddir_sub
1668 ac_abs_top_srcdir=$ac_pwd ;;
1669 [\\/]* | ?:[\\/]* ) # Absolute name.
1670 ac_srcdir=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir=$srcdir
1672 ac_abs_top_srcdir=$srcdir ;;
1673 *) # Relative name.
1674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1677 esac
1678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1679
1680 cd "$ac_dir" || { ac_status=$?; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1683 echo &&
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1686 echo &&
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1688 else
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690 fi || ac_status=$?
1691 cd "$ac_pwd" || { ac_status=$?; break; }
1692 done
1693 fi
1694
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1697 cat <<\_ACEOF
1698 package-unused configure version-unused
1699 generated by GNU Autoconf 2.64
1700
1701 Copyright (C) 2009 Free Software Foundation, Inc.
1702 This configure script is free software; the Free Software Foundation
1703 gives unlimited permission to copy, distribute and modify it.
1704 _ACEOF
1705 exit
1706 fi
1707
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1711
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile ()
1716 {
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1732 fi
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1742
1743 ac_retval=1
1744 fi
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1747
1748 } # ac_fn_c_try_compile
1749
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile ()
1754 {
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext
1757 if { { ac_try="$ac_compile"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1770 fi
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.$ac_objext; then :
1776 ac_retval=0
1777 else
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1780
1781 ac_retval=1
1782 fi
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 return $ac_retval
1785
1786 } # ac_fn_cxx_try_compile
1787
1788 # ac_fn_c_try_cpp LINENO
1789 # ----------------------
1790 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_c_try_cpp ()
1792 {
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_cpp conftest.$ac_ext"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1807 fi
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } >/dev/null && {
1810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 }; then :
1813 ac_retval=0
1814 else
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1817
1818 ac_retval=1
1819 fi
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821 return $ac_retval
1822
1823 } # ac_fn_c_try_cpp
1824
1825 # ac_fn_c_try_link LINENO
1826 # -----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_c_try_link ()
1829 {
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext conftest$ac_exeext
1832 if { { ac_try="$ac_link"
1833 case "(($ac_try" in
1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1836 esac
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>conftest.err
1840 ac_status=$?
1841 if test -s conftest.err; then
1842 grep -v '^ *+' conftest.err >conftest.er1
1843 cat conftest.er1 >&5
1844 mv -f conftest.er1 conftest.err
1845 fi
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_c_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest$ac_exeext && {
1851 test "$cross_compiling" = yes ||
1852 $as_test_x conftest$ac_exeext
1853 }; then :
1854 ac_retval=0
1855 else
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1858
1859 ac_retval=1
1860 fi
1861 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863 # interfere with the next link command; also delete a directory that is
1864 # left behind by Apple's compiler. We do this before executing the actions.
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867 return $ac_retval
1868
1869 } # ac_fn_c_try_link
1870
1871 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1872 # -------------------------------------------------------
1873 # Tests whether HEADER exists and can be compiled using the include files in
1874 # INCLUDES, setting the cache variable VAR accordingly.
1875 ac_fn_c_check_header_compile ()
1876 {
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1881 $as_echo_n "(cached) " >&6
1882 else
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1885 $4
1886 #include <$2>
1887 _ACEOF
1888 if ac_fn_c_try_compile "$LINENO"; then :
1889 eval "$3=yes"
1890 else
1891 eval "$3=no"
1892 fi
1893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1894 fi
1895 eval ac_res=\$$3
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1899
1900 } # ac_fn_c_check_header_compile
1901
1902 # ac_fn_c_try_run LINENO
1903 # ----------------------
1904 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1905 # that executables *can* be run.
1906 ac_fn_c_try_run ()
1907 {
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 if { { ac_try="$ac_link"
1910 case "(($ac_try" in
1911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1912 *) ac_try_echo=$ac_try;;
1913 esac
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_link") 2>&5
1917 ac_status=$?
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1920 { { case "(($ac_try" in
1921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1923 esac
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_try") 2>&5
1927 ac_status=$?
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; }; }; then :
1930 ac_retval=0
1931 else
1932 $as_echo "$as_me: program exited with status $ac_status" >&5
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1935
1936 ac_retval=$ac_status
1937 fi
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 return $ac_retval
1941
1942 } # ac_fn_c_try_run
1943
1944 # ac_fn_c_check_func LINENO FUNC VAR
1945 # ----------------------------------
1946 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1947 ac_fn_c_check_func ()
1948 {
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 $as_echo_n "(cached) " >&6
1954 else
1955 if test x$gcc_no_link = xyes; then
1956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1957 fi
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1960 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1962 #define $2 innocuous_$2
1963
1964 /* System header to define __stub macros and hopefully few prototypes,
1965 which can conflict with char $2 (); below.
1966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1967 <limits.h> exists even on freestanding compilers. */
1968
1969 #ifdef __STDC__
1970 # include <limits.h>
1971 #else
1972 # include <assert.h>
1973 #endif
1974
1975 #undef $2
1976
1977 /* Override any GCC internal prototype to avoid an error.
1978 Use char because int might match the return type of a GCC
1979 builtin and then its argument prototype would still apply. */
1980 #ifdef __cplusplus
1981 extern "C"
1982 #endif
1983 char $2 ();
1984 /* The GNU C library defines this for functions which it implements
1985 to always fail with ENOSYS. Some functions are actually named
1986 something starting with __ and the normal name is an alias. */
1987 #if defined __stub_$2 || defined __stub___$2
1988 choke me
1989 #endif
1990
1991 int
1992 main ()
1993 {
1994 return $2 ();
1995 ;
1996 return 0;
1997 }
1998 _ACEOF
1999 if ac_fn_c_try_link "$LINENO"; then :
2000 eval "$3=yes"
2001 else
2002 eval "$3=no"
2003 fi
2004 rm -f core conftest.err conftest.$ac_objext \
2005 conftest$ac_exeext conftest.$ac_ext
2006 fi
2007 eval ac_res=\$$3
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009 $as_echo "$ac_res" >&6; }
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011
2012 } # ac_fn_c_check_func
2013
2014 # ac_fn_cxx_try_cpp LINENO
2015 # ------------------------
2016 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2017 ac_fn_cxx_try_cpp ()
2018 {
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 if { { ac_try="$ac_cpp conftest.$ac_ext"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2033 fi
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } >/dev/null && {
2036 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 }; then :
2039 ac_retval=0
2040 else
2041 $as_echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.$ac_ext >&5
2043
2044 ac_retval=1
2045 fi
2046 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2047 return $ac_retval
2048
2049 } # ac_fn_cxx_try_cpp
2050
2051 # ac_fn_cxx_try_link LINENO
2052 # -------------------------
2053 # Try to link conftest.$ac_ext, and return whether this succeeded.
2054 ac_fn_cxx_try_link ()
2055 {
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 rm -f conftest.$ac_objext conftest$ac_exeext
2058 if { { ac_try="$ac_link"
2059 case "(($ac_try" in
2060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2061 *) ac_try_echo=$ac_try;;
2062 esac
2063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2064 $as_echo "$ac_try_echo"; } >&5
2065 (eval "$ac_link") 2>conftest.err
2066 ac_status=$?
2067 if test -s conftest.err; then
2068 grep -v '^ *+' conftest.err >conftest.er1
2069 cat conftest.er1 >&5
2070 mv -f conftest.er1 conftest.err
2071 fi
2072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2073 test $ac_status = 0; } && {
2074 test -z "$ac_cxx_werror_flag" ||
2075 test ! -s conftest.err
2076 } && test -s conftest$ac_exeext && {
2077 test "$cross_compiling" = yes ||
2078 $as_test_x conftest$ac_exeext
2079 }; then :
2080 ac_retval=0
2081 else
2082 $as_echo "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.$ac_ext >&5
2084
2085 ac_retval=1
2086 fi
2087 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2088 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2089 # interfere with the next link command; also delete a directory that is
2090 # left behind by Apple's compiler. We do this before executing the actions.
2091 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2092 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2093 return $ac_retval
2094
2095 } # ac_fn_cxx_try_link
2096
2097 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2098 # -------------------------------------------------------
2099 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2100 # the include files in INCLUDES and setting the cache variable VAR
2101 # accordingly.
2102 ac_fn_c_check_header_mongrel ()
2103 {
2104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2107 $as_echo_n "checking for $2... " >&6; }
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 $as_echo_n "(cached) " >&6
2110 fi
2111 eval ac_res=\$$3
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 else
2115 # Is the header compilable?
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2117 $as_echo_n "checking $2 usability... " >&6; }
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2120 $4
2121 #include <$2>
2122 _ACEOF
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_header_compiler=yes
2125 else
2126 ac_header_compiler=no
2127 fi
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2130 $as_echo "$ac_header_compiler" >&6; }
2131
2132 # Is the header present?
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2134 $as_echo_n "checking $2 presence... " >&6; }
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 #include <$2>
2138 _ACEOF
2139 if ac_fn_c_try_cpp "$LINENO"; then :
2140 ac_header_preproc=yes
2141 else
2142 ac_header_preproc=no
2143 fi
2144 rm -f conftest.err conftest.$ac_ext
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2146 $as_echo "$ac_header_preproc" >&6; }
2147
2148 # So? What about this header?
2149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2150 yes:no: )
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2152 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2154 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2155 ;;
2156 no:yes:* )
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2158 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2160 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2162 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2164 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2167 ;;
2168 esac
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2170 $as_echo_n "checking for $2... " >&6; }
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 $as_echo_n "(cached) " >&6
2173 else
2174 eval "$3=\$ac_header_compiler"
2175 fi
2176 eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2179 fi
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2181
2182 } # ac_fn_c_check_header_mongrel
2183
2184 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2185 # ---------------------------------------------------------
2186 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2187 # the include files in INCLUDES and setting the cache variable VAR
2188 # accordingly.
2189 ac_fn_cxx_check_header_mongrel ()
2190 {
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2194 $as_echo_n "checking for $2... " >&6; }
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 $as_echo_n "(cached) " >&6
2197 fi
2198 eval ac_res=\$$3
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2201 else
2202 # Is the header compilable?
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2204 $as_echo_n "checking $2 usability... " >&6; }
2205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206 /* end confdefs.h. */
2207 $4
2208 #include <$2>
2209 _ACEOF
2210 if ac_fn_cxx_try_compile "$LINENO"; then :
2211 ac_header_compiler=yes
2212 else
2213 ac_header_compiler=no
2214 fi
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2217 $as_echo "$ac_header_compiler" >&6; }
2218
2219 # Is the header present?
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2221 $as_echo_n "checking $2 presence... " >&6; }
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_cxx_try_cpp "$LINENO"; then :
2227 ac_header_preproc=yes
2228 else
2229 ac_header_preproc=no
2230 fi
2231 rm -f conftest.err conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2233 $as_echo "$ac_header_preproc" >&6; }
2234
2235 # So? What about this header?
2236 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2237 yes:no: )
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2239 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2242 ;;
2243 no:yes:* )
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2245 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2247 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2249 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2251 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2254 ;;
2255 esac
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2257 $as_echo_n "checking for $2... " >&6; }
2258 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2259 $as_echo_n "(cached) " >&6
2260 else
2261 eval "$3=\$ac_header_compiler"
2262 fi
2263 eval ac_res=\$$3
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265 $as_echo "$ac_res" >&6; }
2266 fi
2267 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2268
2269 } # ac_fn_cxx_check_header_mongrel
2270
2271 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2272 # --------------------------------------------
2273 # Tries to find the compile-time value of EXPR in a program that includes
2274 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2275 # computed
2276 ac_fn_c_compute_int ()
2277 {
2278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2279 if test "$cross_compiling" = yes; then
2280 # Depending upon the size, compute the lo and hi bounds.
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2283 $4
2284 int
2285 main ()
2286 {
2287 static int test_array [1 - 2 * !(($2) >= 0)];
2288 test_array [0] = 0
2289
2290 ;
2291 return 0;
2292 }
2293 _ACEOF
2294 if ac_fn_c_try_compile "$LINENO"; then :
2295 ac_lo=0 ac_mid=0
2296 while :; do
2297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 /* end confdefs.h. */
2299 $4
2300 int
2301 main ()
2302 {
2303 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2304 test_array [0] = 0
2305
2306 ;
2307 return 0;
2308 }
2309 _ACEOF
2310 if ac_fn_c_try_compile "$LINENO"; then :
2311 ac_hi=$ac_mid; break
2312 else
2313 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2314 if test $ac_lo -le $ac_mid; then
2315 ac_lo= ac_hi=
2316 break
2317 fi
2318 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2319 fi
2320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2321 done
2322 else
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2325 $4
2326 int
2327 main ()
2328 {
2329 static int test_array [1 - 2 * !(($2) < 0)];
2330 test_array [0] = 0
2331
2332 ;
2333 return 0;
2334 }
2335 _ACEOF
2336 if ac_fn_c_try_compile "$LINENO"; then :
2337 ac_hi=-1 ac_mid=-1
2338 while :; do
2339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340 /* end confdefs.h. */
2341 $4
2342 int
2343 main ()
2344 {
2345 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2346 test_array [0] = 0
2347
2348 ;
2349 return 0;
2350 }
2351 _ACEOF
2352 if ac_fn_c_try_compile "$LINENO"; then :
2353 ac_lo=$ac_mid; break
2354 else
2355 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2356 if test $ac_mid -le $ac_hi; then
2357 ac_lo= ac_hi=
2358 break
2359 fi
2360 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2361 fi
2362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363 done
2364 else
2365 ac_lo= ac_hi=
2366 fi
2367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2368 fi
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 # Binary search between lo and hi bounds.
2371 while test "x$ac_lo" != "x$ac_hi"; do
2372 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374 /* end confdefs.h. */
2375 $4
2376 int
2377 main ()
2378 {
2379 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2380 test_array [0] = 0
2381
2382 ;
2383 return 0;
2384 }
2385 _ACEOF
2386 if ac_fn_c_try_compile "$LINENO"; then :
2387 ac_hi=$ac_mid
2388 else
2389 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2390 fi
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 done
2393 case $ac_lo in #((
2394 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2395 '') ac_retval=1 ;;
2396 esac
2397 else
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2400 $4
2401 static long int longval () { return $2; }
2402 static unsigned long int ulongval () { return $2; }
2403 #include <stdio.h>
2404 #include <stdlib.h>
2405 int
2406 main ()
2407 {
2408
2409 FILE *f = fopen ("conftest.val", "w");
2410 if (! f)
2411 return 1;
2412 if (($2) < 0)
2413 {
2414 long int i = longval ();
2415 if (i != ($2))
2416 return 1;
2417 fprintf (f, "%ld", i);
2418 }
2419 else
2420 {
2421 unsigned long int i = ulongval ();
2422 if (i != ($2))
2423 return 1;
2424 fprintf (f, "%lu", i);
2425 }
2426 /* Do not output a trailing newline, as this causes \r\n confusion
2427 on some platforms. */
2428 return ferror (f) || fclose (f) != 0;
2429
2430 ;
2431 return 0;
2432 }
2433 _ACEOF
2434 if ac_fn_c_try_run "$LINENO"; then :
2435 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2436 else
2437 ac_retval=1
2438 fi
2439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2440 conftest.$ac_objext conftest.beam conftest.$ac_ext
2441 rm -f conftest.val
2442
2443 fi
2444 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2445 return $ac_retval
2446
2447 } # ac_fn_c_compute_int
2448
2449 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2450 # -------------------------------------------
2451 # Tests whether TYPE exists after having included INCLUDES, setting cache
2452 # variable VAR accordingly.
2453 ac_fn_c_check_type ()
2454 {
2455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2457 $as_echo_n "checking for $2... " >&6; }
2458 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2459 $as_echo_n "(cached) " >&6
2460 else
2461 eval "$3=no"
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2464 $4
2465 int
2466 main ()
2467 {
2468 if (sizeof ($2))
2469 return 0;
2470 ;
2471 return 0;
2472 }
2473 _ACEOF
2474 if ac_fn_c_try_compile "$LINENO"; then :
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2477 $4
2478 int
2479 main ()
2480 {
2481 if (sizeof (($2)))
2482 return 0;
2483 ;
2484 return 0;
2485 }
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2488
2489 else
2490 eval "$3=yes"
2491 fi
2492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2493 fi
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2495 fi
2496 eval ac_res=\$$3
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2498 $as_echo "$ac_res" >&6; }
2499 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2500
2501 } # ac_fn_c_check_type
2502
2503 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2504 # ---------------------------------------------
2505 # Tests whether TYPE exists after having included INCLUDES, setting cache
2506 # variable VAR accordingly.
2507 ac_fn_cxx_check_type ()
2508 {
2509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2511 $as_echo_n "checking for $2... " >&6; }
2512 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2513 $as_echo_n "(cached) " >&6
2514 else
2515 eval "$3=no"
2516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2517 /* end confdefs.h. */
2518 $4
2519 int
2520 main ()
2521 {
2522 if (sizeof ($2))
2523 return 0;
2524 ;
2525 return 0;
2526 }
2527 _ACEOF
2528 if ac_fn_cxx_try_compile "$LINENO"; then :
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2531 $4
2532 int
2533 main ()
2534 {
2535 if (sizeof (($2)))
2536 return 0;
2537 ;
2538 return 0;
2539 }
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2542
2543 else
2544 eval "$3=yes"
2545 fi
2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2547 fi
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2549 fi
2550 eval ac_res=\$$3
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2552 $as_echo "$ac_res" >&6; }
2553 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2554
2555 } # ac_fn_cxx_check_type
2556 cat >config.log <<_ACEOF
2557 This file contains any messages produced by compilers while
2558 running configure, to aid debugging if configure makes a mistake.
2559
2560 It was created by package-unused $as_me version-unused, which was
2561 generated by GNU Autoconf 2.64. Invocation command line was
2562
2563 $ $0 $@
2564
2565 _ACEOF
2566 exec 5>>config.log
2567 {
2568 cat <<_ASUNAME
2569 ## --------- ##
2570 ## Platform. ##
2571 ## --------- ##
2572
2573 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2574 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2575 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2576 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2577 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2578
2579 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2580 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2581
2582 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2583 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2584 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2585 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2586 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2587 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2588 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2589
2590 _ASUNAME
2591
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2594 do
2595 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=.
2597 $as_echo "PATH: $as_dir"
2598 done
2599 IFS=$as_save_IFS
2600
2601 } >&5
2602
2603 cat >&5 <<_ACEOF
2604
2605
2606 ## ----------- ##
2607 ## Core tests. ##
2608 ## ----------- ##
2609
2610 _ACEOF
2611
2612
2613 # Keep a trace of the command line.
2614 # Strip out --no-create and --no-recursion so they do not pile up.
2615 # Strip out --silent because we don't want to record it for future runs.
2616 # Also quote any args containing shell meta-characters.
2617 # Make two passes to allow for proper duplicate-argument suppression.
2618 ac_configure_args=
2619 ac_configure_args0=
2620 ac_configure_args1=
2621 ac_must_keep_next=false
2622 for ac_pass in 1 2
2623 do
2624 for ac_arg
2625 do
2626 case $ac_arg in
2627 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2629 | -silent | --silent | --silen | --sile | --sil)
2630 continue ;;
2631 *\'*)
2632 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2633 esac
2634 case $ac_pass in
2635 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2636 2)
2637 as_fn_append ac_configure_args1 " '$ac_arg'"
2638 if test $ac_must_keep_next = true; then
2639 ac_must_keep_next=false # Got value, back to normal.
2640 else
2641 case $ac_arg in
2642 *=* | --config-cache | -C | -disable-* | --disable-* \
2643 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2644 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2645 | -with-* | --with-* | -without-* | --without-* | --x)
2646 case "$ac_configure_args0 " in
2647 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2648 esac
2649 ;;
2650 -* ) ac_must_keep_next=true ;;
2651 esac
2652 fi
2653 as_fn_append ac_configure_args " '$ac_arg'"
2654 ;;
2655 esac
2656 done
2657 done
2658 { ac_configure_args0=; unset ac_configure_args0;}
2659 { ac_configure_args1=; unset ac_configure_args1;}
2660
2661 # When interrupted or exit'd, cleanup temporary files, and complete
2662 # config.log. We remove comments because anyway the quotes in there
2663 # would cause problems or look ugly.
2664 # WARNING: Use '\'' to represent an apostrophe within the trap.
2665 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2666 trap 'exit_status=$?
2667 # Save into config.log some information that might help in debugging.
2668 {
2669 echo
2670
2671 cat <<\_ASBOX
2672 ## ---------------- ##
2673 ## Cache variables. ##
2674 ## ---------------- ##
2675 _ASBOX
2676 echo
2677 # The following way of writing the cache mishandles newlines in values,
2678 (
2679 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2680 eval ac_val=\$$ac_var
2681 case $ac_val in #(
2682 *${as_nl}*)
2683 case $ac_var in #(
2684 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2685 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2686 esac
2687 case $ac_var in #(
2688 _ | IFS | as_nl) ;; #(
2689 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2690 *) { eval $ac_var=; unset $ac_var;} ;;
2691 esac ;;
2692 esac
2693 done
2694 (set) 2>&1 |
2695 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2696 *${as_nl}ac_space=\ *)
2697 sed -n \
2698 "s/'\''/'\''\\\\'\'''\''/g;
2699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2700 ;; #(
2701 *)
2702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2703 ;;
2704 esac |
2705 sort
2706 )
2707 echo
2708
2709 cat <<\_ASBOX
2710 ## ----------------- ##
2711 ## Output variables. ##
2712 ## ----------------- ##
2713 _ASBOX
2714 echo
2715 for ac_var in $ac_subst_vars
2716 do
2717 eval ac_val=\$$ac_var
2718 case $ac_val in
2719 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2720 esac
2721 $as_echo "$ac_var='\''$ac_val'\''"
2722 done | sort
2723 echo
2724
2725 if test -n "$ac_subst_files"; then
2726 cat <<\_ASBOX
2727 ## ------------------- ##
2728 ## File substitutions. ##
2729 ## ------------------- ##
2730 _ASBOX
2731 echo
2732 for ac_var in $ac_subst_files
2733 do
2734 eval ac_val=\$$ac_var
2735 case $ac_val in
2736 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2737 esac
2738 $as_echo "$ac_var='\''$ac_val'\''"
2739 done | sort
2740 echo
2741 fi
2742
2743 if test -s confdefs.h; then
2744 cat <<\_ASBOX
2745 ## ----------- ##
2746 ## confdefs.h. ##
2747 ## ----------- ##
2748 _ASBOX
2749 echo
2750 cat confdefs.h
2751 echo
2752 fi
2753 test "$ac_signal" != 0 &&
2754 $as_echo "$as_me: caught signal $ac_signal"
2755 $as_echo "$as_me: exit $exit_status"
2756 } >&5
2757 rm -f core *.core core.conftest.* &&
2758 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2759 exit $exit_status
2760 ' 0
2761 for ac_signal in 1 2 13 15; do
2762 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2763 done
2764 ac_signal=0
2765
2766 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2767 rm -f -r conftest* confdefs.h
2768
2769 $as_echo "/* confdefs.h */" > confdefs.h
2770
2771 # Predefined preprocessor variables.
2772
2773 cat >>confdefs.h <<_ACEOF
2774 #define PACKAGE_NAME "$PACKAGE_NAME"
2775 _ACEOF
2776
2777 cat >>confdefs.h <<_ACEOF
2778 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2779 _ACEOF
2780
2781 cat >>confdefs.h <<_ACEOF
2782 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2783 _ACEOF
2784
2785 cat >>confdefs.h <<_ACEOF
2786 #define PACKAGE_STRING "$PACKAGE_STRING"
2787 _ACEOF
2788
2789 cat >>confdefs.h <<_ACEOF
2790 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2791 _ACEOF
2792
2793 cat >>confdefs.h <<_ACEOF
2794 #define PACKAGE_URL "$PACKAGE_URL"
2795 _ACEOF
2796
2797
2798 # Let the site file select an alternate cache file if it wants to.
2799 # Prefer an explicitly selected file to automatically selected ones.
2800 ac_site_file1=NONE
2801 ac_site_file2=NONE
2802 if test -n "$CONFIG_SITE"; then
2803 ac_site_file1=$CONFIG_SITE
2804 elif test "x$prefix" != xNONE; then
2805 ac_site_file1=$prefix/share/config.site
2806 ac_site_file2=$prefix/etc/config.site
2807 else
2808 ac_site_file1=$ac_default_prefix/share/config.site
2809 ac_site_file2=$ac_default_prefix/etc/config.site
2810 fi
2811 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2812 do
2813 test "x$ac_site_file" = xNONE && continue
2814 if test -r "$ac_site_file"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2816 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2817 sed 's/^/| /' "$ac_site_file" >&5
2818 . "$ac_site_file"
2819 fi
2820 done
2821
2822 if test -r "$cache_file"; then
2823 # Some versions of bash will fail to source /dev/null (special
2824 # files actually), so we avoid doing that.
2825 if test -f "$cache_file"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2827 $as_echo "$as_me: loading cache $cache_file" >&6;}
2828 case $cache_file in
2829 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2830 *) . "./$cache_file";;
2831 esac
2832 fi
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2835 $as_echo "$as_me: creating cache $cache_file" >&6;}
2836 >$cache_file
2837 fi
2838
2839 # Check that the precious variables saved in the cache have kept the same
2840 # value.
2841 ac_cache_corrupted=false
2842 for ac_var in $ac_precious_vars; do
2843 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2844 eval ac_new_set=\$ac_env_${ac_var}_set
2845 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2846 eval ac_new_val=\$ac_env_${ac_var}_value
2847 case $ac_old_set,$ac_new_set in
2848 set,)
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2850 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2851 ac_cache_corrupted=: ;;
2852 ,set)
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2854 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2855 ac_cache_corrupted=: ;;
2856 ,);;
2857 *)
2858 if test "x$ac_old_val" != "x$ac_new_val"; then
2859 # differences in whitespace do not lead to failure.
2860 ac_old_val_w=`echo x $ac_old_val`
2861 ac_new_val_w=`echo x $ac_new_val`
2862 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2864 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2865 ac_cache_corrupted=:
2866 else
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2868 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2869 eval $ac_var=\$ac_old_val
2870 fi
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2872 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2874 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2875 fi;;
2876 esac
2877 # Pass precious variables to config.status.
2878 if test "$ac_new_set" = set; then
2879 case $ac_new_val in
2880 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2881 *) ac_arg=$ac_var=$ac_new_val ;;
2882 esac
2883 case " $ac_configure_args " in
2884 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2885 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2886 esac
2887 fi
2888 done
2889 if $ac_cache_corrupted; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2893 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2894 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2895 fi
2896 ## -------------------- ##
2897 ## Main body of script. ##
2898 ## -------------------- ##
2899
2900 ac_ext=c
2901 ac_cpp='$CPP $CPPFLAGS'
2902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2905
2906
2907
2908
2909
2910
2911 ac_config_headers="$ac_config_headers config.h"
2912
2913
2914 # This works around the fact that libtool configuration may change LD
2915 # for this particular configuration, but some shells, instead of
2916 # keeping the changes in LD private, export them just because LD is
2917 # exported. Only used at the end of this file.
2918 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2919
2920 # Find the rest of the source tree framework.
2921 # Default to --enable-multilib
2922 # Check whether --enable-multilib was given.
2923 if test "${enable_multilib+set}" = set; then :
2924 enableval=$enable_multilib; case "$enableval" in
2925 yes) multilib=yes ;;
2926 no) multilib=no ;;
2927 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2928 esac
2929 else
2930 multilib=yes
2931 fi
2932
2933
2934 # We may get other options which we leave undocumented:
2935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2936 # See config-ml.in if you want the gory details.
2937
2938 if test "$srcdir" = "."; then
2939 if test "$with_target_subdir" != "."; then
2940 multi_basedir="$srcdir/$with_multisrctop../.."
2941 else
2942 multi_basedir="$srcdir/$with_multisrctop.."
2943 fi
2944 else
2945 multi_basedir="$srcdir/.."
2946 fi
2947
2948
2949 # Even if the default multilib is not a cross compilation,
2950 # it may be that some of the other multilibs are.
2951 if test $cross_compiling = no && test $multilib = yes \
2952 && test "x${with_multisubdir}" != x ; then
2953 cross_compiling=maybe
2954 fi
2955
2956 ac_config_commands="$ac_config_commands default-1"
2957
2958
2959 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2960 #
2961 # You will slowly go insane if you do not grok the following fact: when
2962 # building v3 as part of the compiler, the top-level /target/ becomes the
2963 # library's /host/. configure then causes --target to default to --host,
2964 # exactly like any other package using autoconf. Therefore, 'target' and
2965 # 'host' will always be the same. This makes sense both for native and
2966 # cross compilers, just think about it for a little while. :-)
2967 #
2968 # Also, if v3 is being configured as part of a cross compiler, the top-level
2969 # configure script will pass the "real" host as $with_cross_host.
2970 #
2971 # Do not delete or change the following two lines. For why, see
2972 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2973 ac_aux_dir=
2974 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2975 for ac_t in install-sh install.sh shtool; do
2976 if test -f "$ac_dir/$ac_t"; then
2977 ac_aux_dir=$ac_dir
2978 ac_install_sh="$ac_aux_dir/$ac_t -c"
2979 break 2
2980 fi
2981 done
2982 done
2983 if test -z "$ac_aux_dir"; then
2984 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2985 fi
2986
2987 # These three variables are undocumented and unsupported,
2988 # and are intended to be withdrawn in a future Autoconf release.
2989 # They can cause serious problems if a builder's source tree is in a directory
2990 # whose full name contains unusual characters.
2991 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2992 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2993 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2994
2995
2996 # Make sure we can run config.sub.
2997 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2998 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2999
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3001 $as_echo_n "checking build system type... " >&6; }
3002 if test "${ac_cv_build+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 ac_build_alias=$build_alias
3006 test "x$ac_build_alias" = x &&
3007 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3008 test "x$ac_build_alias" = x &&
3009 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3010 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3011 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3012
3013 fi
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3015 $as_echo "$ac_cv_build" >&6; }
3016 case $ac_cv_build in
3017 *-*-*) ;;
3018 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3019 esac
3020 build=$ac_cv_build
3021 ac_save_IFS=$IFS; IFS='-'
3022 set x $ac_cv_build
3023 shift
3024 build_cpu=$1
3025 build_vendor=$2
3026 shift; shift
3027 # Remember, the first character of IFS is used to create $*,
3028 # except with old shells:
3029 build_os=$*
3030 IFS=$ac_save_IFS
3031 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3032
3033
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3035 $as_echo_n "checking host system type... " >&6; }
3036 if test "${ac_cv_host+set}" = set; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 if test "x$host_alias" = x; then
3040 ac_cv_host=$ac_cv_build
3041 else
3042 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3043 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3044 fi
3045
3046 fi
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3048 $as_echo "$ac_cv_host" >&6; }
3049 case $ac_cv_host in
3050 *-*-*) ;;
3051 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3052 esac
3053 host=$ac_cv_host
3054 ac_save_IFS=$IFS; IFS='-'
3055 set x $ac_cv_host
3056 shift
3057 host_cpu=$1
3058 host_vendor=$2
3059 shift; shift
3060 # Remember, the first character of IFS is used to create $*,
3061 # except with old shells:
3062 host_os=$*
3063 IFS=$ac_save_IFS
3064 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3065
3066
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3068 $as_echo_n "checking target system type... " >&6; }
3069 if test "${ac_cv_target+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 if test "x$target_alias" = x; then
3073 ac_cv_target=$ac_cv_host
3074 else
3075 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3076 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3077 fi
3078
3079 fi
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3081 $as_echo "$ac_cv_target" >&6; }
3082 case $ac_cv_target in
3083 *-*-*) ;;
3084 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3085 esac
3086 target=$ac_cv_target
3087 ac_save_IFS=$IFS; IFS='-'
3088 set x $ac_cv_target
3089 shift
3090 target_cpu=$1
3091 target_vendor=$2
3092 shift; shift
3093 # Remember, the first character of IFS is used to create $*,
3094 # except with old shells:
3095 target_os=$*
3096 IFS=$ac_save_IFS
3097 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3098
3099
3100 # The aliases save the names the user supplied, while $host etc.
3101 # will get canonicalized.
3102 test -n "$target_alias" &&
3103 test "$program_prefix$program_suffix$program_transform_name" = \
3104 NONENONEs,x,x, &&
3105 program_prefix=${target_alias}-
3106
3107 target_alias=${target_alias-$host_alias}
3108
3109 # Handy for debugging:
3110 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3111
3112 if test "$build" != "$host"; then
3113 # We are being configured with some form of cross compiler.
3114 GLIBCXX_IS_NATIVE=false
3115 case "$host","$target" in
3116 # Darwin crosses can use the host system's libraries and headers,
3117 # because of the fat library support. Of course, it must be the
3118 # same version of Darwin on both sides. Allow the user to
3119 # just say --target=foo-darwin without a version number to mean
3120 # "the version on this system".
3121 *-*-darwin*,*-*-darwin*)
3122 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3123 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3124 if test $hostos = $targetos -o $targetos = darwin ; then
3125 GLIBCXX_IS_NATIVE=true
3126 fi
3127 ;;
3128
3129 *)
3130
3131 ;;
3132 esac
3133 else
3134 GLIBCXX_IS_NATIVE=true
3135 fi
3136
3137 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3138 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3139 # 1.x: minimum required version
3140 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3141 # of other PACKAGE_* variables will, however, and there's nothing
3142 # we can do about that; they come from AC_INIT).
3143 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3144 # file in the top srcdir, etc, etc), so stop complaining.
3145 # no-dependencies: turns off auto dependency generation (just for now)
3146 # no-dist: we don't want 'dist' and related rules.
3147 # -Wall: turns on all automake warnings...
3148 # -Wno-portability: ...except this one, since GNU make is now required.
3149 am__api_version='1.11'
3150
3151 # Find a good install program. We prefer a C program (faster),
3152 # so one script is as good as another. But avoid the broken or
3153 # incompatible versions:
3154 # SysV /etc/install, /usr/sbin/install
3155 # SunOS /usr/etc/install
3156 # IRIX /sbin/install
3157 # AIX /bin/install
3158 # AmigaOS /C/install, which installs bootblocks on floppy discs
3159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3162 # OS/2's system install, which has a completely different semantic
3163 # ./install, which can be erroneously created by make from ./install.sh.
3164 # Reject install programs that cannot install multiple files.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3166 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3167 if test -z "$INSTALL"; then
3168 if test "${ac_cv_path_install+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3173 do
3174 IFS=$as_save_IFS
3175 test -z "$as_dir" && as_dir=.
3176 # Account for people who put trailing slashes in PATH elements.
3177 case $as_dir/ in #((
3178 ./ | .// | /[cC]/* | \
3179 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3180 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3181 /usr/ucb/* ) ;;
3182 *)
3183 # OSF1 and SCO ODT 3.0 have their own names for install.
3184 # Don't use installbsd from OSF since it installs stuff as root
3185 # by default.
3186 for ac_prog in ginstall scoinst install; do
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3189 if test $ac_prog = install &&
3190 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3191 # AIX install. It has an incompatible calling convention.
3192 :
3193 elif test $ac_prog = install &&
3194 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3195 # program-specific install script used by HP pwplus--don't use.
3196 :
3197 else
3198 rm -rf conftest.one conftest.two conftest.dir
3199 echo one > conftest.one
3200 echo two > conftest.two
3201 mkdir conftest.dir
3202 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3203 test -s conftest.one && test -s conftest.two &&
3204 test -s conftest.dir/conftest.one &&
3205 test -s conftest.dir/conftest.two
3206 then
3207 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3208 break 3
3209 fi
3210 fi
3211 fi
3212 done
3213 done
3214 ;;
3215 esac
3216
3217 done
3218 IFS=$as_save_IFS
3219
3220 rm -rf conftest.one conftest.two conftest.dir
3221
3222 fi
3223 if test "${ac_cv_path_install+set}" = set; then
3224 INSTALL=$ac_cv_path_install
3225 else
3226 # As a last resort, use the slow shell script. Don't cache a
3227 # value for INSTALL within a source directory, because that will
3228 # break other packages using the cache if that directory is
3229 # removed, or if the value is a relative name.
3230 INSTALL=$ac_install_sh
3231 fi
3232 fi
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3234 $as_echo "$INSTALL" >&6; }
3235
3236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3237 # It thinks the first close brace ends the variable substitution.
3238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3239
3240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3241
3242 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3243
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3245 $as_echo_n "checking whether build environment is sane... " >&6; }
3246 # Just in case
3247 sleep 1
3248 echo timestamp > conftest.file
3249 # Reject unsafe characters in $srcdir or the absolute working directory
3250 # name. Accept space and tab only in the latter.
3251 am_lf='
3252 '
3253 case `pwd` in
3254 *[\\\"\#\$\&\'\`$am_lf]*)
3255 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3256 esac
3257 case $srcdir in
3258 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3259 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3260 esac
3261
3262 # Do `set' in a subshell so we don't clobber the current shell's
3263 # arguments. Must try -L first in case configure is actually a
3264 # symlink; some systems play weird games with the mod time of symlinks
3265 # (eg FreeBSD returns the mod time of the symlink's containing
3266 # directory).
3267 if (
3268 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3269 if test "$*" = "X"; then
3270 # -L didn't work.
3271 set X `ls -t "$srcdir/configure" conftest.file`
3272 fi
3273 rm -f conftest.file
3274 if test "$*" != "X $srcdir/configure conftest.file" \
3275 && test "$*" != "X conftest.file $srcdir/configure"; then
3276
3277 # If neither matched, then we have a broken ls. This can happen
3278 # if, for instance, CONFIG_SHELL is bash and it inherits a
3279 # broken ls alias from the environment. This has actually
3280 # happened. Such a system could not be considered "sane".
3281 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3282 alias in your environment" "$LINENO" 5
3283 fi
3284
3285 test "$2" = conftest.file
3286 )
3287 then
3288 # Ok.
3289 :
3290 else
3291 as_fn_error "newly created file is older than distributed files!
3292 Check your system clock" "$LINENO" 5
3293 fi
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3295 $as_echo "yes" >&6; }
3296 test "$program_prefix" != NONE &&
3297 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3298 # Use a double $ so make ignores it.
3299 test "$program_suffix" != NONE &&
3300 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3301 # Double any \ or $.
3302 # By default was `s,x,x', remove it if useless.
3303 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3304 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3305
3306 # expand $ac_aux_dir to an absolute path
3307 am_aux_dir=`cd $ac_aux_dir && pwd`
3308
3309 if test x"${MISSING+set}" != xset; then
3310 case $am_aux_dir in
3311 *\ * | *\ *)
3312 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3313 *)
3314 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3315 esac
3316 fi
3317 # Use eval to expand $SHELL
3318 if eval "$MISSING --run true"; then
3319 am_missing_run="$MISSING --run "
3320 else
3321 am_missing_run=
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3323 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3324 fi
3325
3326 if test x"${install_sh}" != xset; then
3327 case $am_aux_dir in
3328 *\ * | *\ *)
3329 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3330 *)
3331 install_sh="\${SHELL} $am_aux_dir/install-sh"
3332 esac
3333 fi
3334
3335 # Installed binaries are usually stripped using `strip' when the user
3336 # run `make install-strip'. However `strip' might not be the right
3337 # tool to use in cross-compilation environments, therefore Automake
3338 # will honor the `STRIP' environment variable to overrule this program.
3339 if test "$cross_compiling" != no; then
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}strip; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if test "${ac_cv_prog_STRIP+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 if test -n "$STRIP"; then
3349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3350 else
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH
3353 do
3354 IFS=$as_save_IFS
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 break 2
3361 fi
3362 done
3363 done
3364 IFS=$as_save_IFS
3365
3366 fi
3367 fi
3368 STRIP=$ac_cv_prog_STRIP
3369 if test -n "$STRIP"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3371 $as_echo "$STRIP" >&6; }
3372 else
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3375 fi
3376
3377
3378 fi
3379 if test -z "$ac_cv_prog_STRIP"; then
3380 ac_ct_STRIP=$STRIP
3381 # Extract the first word of "strip", so it can be a program name with args.
3382 set dummy strip; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3386 $as_echo_n "(cached) " >&6
3387 else
3388 if test -n "$ac_ct_STRIP"; then
3389 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3390 else
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 for as_dir in $PATH
3393 do
3394 IFS=$as_save_IFS
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3398 ac_cv_prog_ac_ct_STRIP="strip"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 break 2
3401 fi
3402 done
3403 done
3404 IFS=$as_save_IFS
3405
3406 fi
3407 fi
3408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3409 if test -n "$ac_ct_STRIP"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3411 $as_echo "$ac_ct_STRIP" >&6; }
3412 else
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3415 fi
3416
3417 if test "x$ac_ct_STRIP" = x; then
3418 STRIP=":"
3419 else
3420 case $cross_compiling:$ac_tool_warned in
3421 yes:)
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424 ac_tool_warned=yes ;;
3425 esac
3426 STRIP=$ac_ct_STRIP
3427 fi
3428 else
3429 STRIP="$ac_cv_prog_STRIP"
3430 fi
3431
3432 fi
3433 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3434
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3436 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3437 if test -z "$MKDIR_P"; then
3438 if test "${ac_cv_path_mkdir+set}" = set; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3443 do
3444 IFS=$as_save_IFS
3445 test -z "$as_dir" && as_dir=.
3446 for ac_prog in mkdir gmkdir; do
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3449 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3450 'mkdir (GNU coreutils) '* | \
3451 'mkdir (coreutils) '* | \
3452 'mkdir (fileutils) '4.1*)
3453 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3454 break 3;;
3455 esac
3456 done
3457 done
3458 done
3459 IFS=$as_save_IFS
3460
3461 fi
3462
3463 if test "${ac_cv_path_mkdir+set}" = set; then
3464 MKDIR_P="$ac_cv_path_mkdir -p"
3465 else
3466 # As a last resort, use the slow shell script. Don't cache a
3467 # value for MKDIR_P within a source directory, because that will
3468 # break other packages using the cache if that directory is
3469 # removed, or if the value is a relative name.
3470 test -d ./--version && rmdir ./--version
3471 MKDIR_P="$ac_install_sh -d"
3472 fi
3473 fi
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3475 $as_echo "$MKDIR_P" >&6; }
3476
3477 mkdir_p="$MKDIR_P"
3478 case $mkdir_p in
3479 [\\/$]* | ?:[\\/]*) ;;
3480 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3481 esac
3482
3483 for ac_prog in gawk mawk nawk awk
3484 do
3485 # Extract the first word of "$ac_prog", so it can be a program name with args.
3486 set dummy $ac_prog; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if test "${ac_cv_prog_AWK+set}" = set; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 if test -n "$AWK"; then
3493 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3494 else
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 for as_dir in $PATH
3497 do
3498 IFS=$as_save_IFS
3499 test -z "$as_dir" && as_dir=.
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3502 ac_cv_prog_AWK="$ac_prog"
3503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 break 2
3505 fi
3506 done
3507 done
3508 IFS=$as_save_IFS
3509
3510 fi
3511 fi
3512 AWK=$ac_cv_prog_AWK
3513 if test -n "$AWK"; then
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3515 $as_echo "$AWK" >&6; }
3516 else
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3519 fi
3520
3521
3522 test -n "$AWK" && break
3523 done
3524
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3526 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3527 set x ${MAKE-make}
3528 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3529 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 cat >conftest.make <<\_ACEOF
3533 SHELL = /bin/sh
3534 all:
3535 @echo '@@@%%%=$(MAKE)=@@@%%%'
3536 _ACEOF
3537 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3538 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3539 *@@@%%%=?*=@@@%%%*)
3540 eval ac_cv_prog_make_${ac_make}_set=yes;;
3541 *)
3542 eval ac_cv_prog_make_${ac_make}_set=no;;
3543 esac
3544 rm -f conftest.make
3545 fi
3546 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3548 $as_echo "yes" >&6; }
3549 SET_MAKE=
3550 else
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 SET_MAKE="MAKE=${MAKE-make}"
3554 fi
3555
3556 rm -rf .tst 2>/dev/null
3557 mkdir .tst 2>/dev/null
3558 if test -d .tst; then
3559 am__leading_dot=.
3560 else
3561 am__leading_dot=_
3562 fi
3563 rmdir .tst 2>/dev/null
3564
3565 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3566 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3567 # is not polluted with repeated "-I."
3568 am__isrc=' -I$(srcdir)'
3569 # test to see if srcdir already configured
3570 if test -f $srcdir/config.status; then
3571 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3572 fi
3573 fi
3574
3575 # test whether we have cygpath
3576 if test -z "$CYGPATH_W"; then
3577 if (cygpath --version) >/dev/null 2>/dev/null; then
3578 CYGPATH_W='cygpath -w'
3579 else
3580 CYGPATH_W=echo
3581 fi
3582 fi
3583
3584
3585 # Define the identity of the package.
3586 PACKAGE='libstdc++'
3587 VERSION='version-unused'
3588
3589
3590 # Some tools Automake needs.
3591
3592 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3593
3594
3595 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3596
3597
3598 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3599
3600
3601 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3602
3603
3604 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3605
3606 # We need awk for the "check" target. The system "awk" is bad on
3607 # some platforms.
3608 # Always define AMTAR for backward compatibility. Yes, it's still used
3609 # in the wild :-( We should find a proper way to deprecate it ...
3610 AMTAR='$${TAR-tar}'
3611
3612 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3613
3614
3615
3616
3617
3618
3619
3620
3621 # -fno-builtin must be present here so that a non-conflicting form of
3622 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3623
3624 save_CXXFLAGS="$CXXFLAGS"
3625 CXXFLAGS="$CXXFLAGS -fno-builtin"
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3638 else
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3644 do
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 break 2
3652 fi
3653 done
3654 done
3655 IFS=$as_save_IFS
3656
3657 fi
3658 fi
3659 CC=$ac_cv_prog_CC
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3663 else
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3666 fi
3667
3668
3669 fi
3670 if test -z "$ac_cv_prog_CC"; then
3671 ac_ct_CC=$CC
3672 # Extract the first word of "gcc", so it can be a program name with args.
3673 set dummy gcc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 if test -n "$ac_ct_CC"; then
3680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3681 else
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH
3684 do
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_ac_ct_CC="gcc"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 break 2
3692 fi
3693 done
3694 done
3695 IFS=$as_save_IFS
3696
3697 fi
3698 fi
3699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3700 if test -n "$ac_ct_CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3702 $as_echo "$ac_ct_CC" >&6; }
3703 else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3706 fi
3707
3708 if test "x$ac_ct_CC" = x; then
3709 CC=""
3710 else
3711 case $cross_compiling:$ac_tool_warned in
3712 yes:)
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3716 esac
3717 CC=$ac_ct_CC
3718 fi
3719 else
3720 CC="$ac_cv_prog_CC"
3721 fi
3722
3723 if test -z "$CC"; then
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}cc; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if test "${ac_cv_prog_CC+set}" = set; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3737 do
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_prog_CC="${ac_tool_prefix}cc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3745 fi
3746 done
3747 done
3748 IFS=$as_save_IFS
3749
3750 fi
3751 fi
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3759 fi
3760
3761
3762 fi
3763 fi
3764 if test -z "$CC"; then
3765 # Extract the first word of "cc", so it can be a program name with args.
3766 set dummy cc; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if test "${ac_cv_prog_CC+set}" = set; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 if test -n "$CC"; then
3773 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 else
3775 ac_prog_rejected=no
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3778 do
3779 IFS=$as_save_IFS
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3784 ac_prog_rejected=yes
3785 continue
3786 fi
3787 ac_cv_prog_CC="cc"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 break 2
3790 fi
3791 done
3792 done
3793 IFS=$as_save_IFS
3794
3795 if test $ac_prog_rejected = yes; then
3796 # We found a bogon in the path, so make sure we never use it.
3797 set dummy $ac_cv_prog_CC
3798 shift
3799 if test $# != 0; then
3800 # We chose a different compiler from the bogus one.
3801 # However, it has the same basename, so the bogon will be chosen
3802 # first if we set CC to just the basename; use the full file name.
3803 shift
3804 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3805 fi
3806 fi
3807 fi
3808 fi
3809 CC=$ac_cv_prog_CC
3810 if test -n "$CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3812 $as_echo "$CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3816 fi
3817
3818
3819 fi
3820 if test -z "$CC"; then
3821 if test -n "$ac_tool_prefix"; then
3822 for ac_prog in cl.exe
3823 do
3824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if test "${ac_cv_prog_CC+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test -n "$CC"; then
3832 ac_cv_prog_CC="$CC" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3836 do
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3841 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3844 fi
3845 done
3846 done
3847 IFS=$as_save_IFS
3848
3849 fi
3850 fi
3851 CC=$ac_cv_prog_CC
3852 if test -n "$CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3854 $as_echo "$CC" >&6; }
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3858 fi
3859
3860
3861 test -n "$CC" && break
3862 done
3863 fi
3864 if test -z "$CC"; then
3865 ac_ct_CC=$CC
3866 for ac_prog in cl.exe
3867 do
3868 # Extract the first word of "$ac_prog", so it can be a program name with args.
3869 set dummy $ac_prog; ac_word=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 if test -n "$ac_ct_CC"; then
3876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3877 else
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3880 do
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_ac_ct_CC="$ac_prog"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 break 2
3888 fi
3889 done
3890 done
3891 IFS=$as_save_IFS
3892
3893 fi
3894 fi
3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3896 if test -n "$ac_ct_CC"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3898 $as_echo "$ac_ct_CC" >&6; }
3899 else
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3902 fi
3903
3904
3905 test -n "$ac_ct_CC" && break
3906 done
3907
3908 if test "x$ac_ct_CC" = x; then
3909 CC=""
3910 else
3911 case $cross_compiling:$ac_tool_warned in
3912 yes:)
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3915 ac_tool_warned=yes ;;
3916 esac
3917 CC=$ac_ct_CC
3918 fi
3919 fi
3920
3921 fi
3922
3923
3924 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error "no acceptable C compiler found in \$PATH
3927 See \`config.log' for more details." "$LINENO" 5; }
3928
3929 # Provide some information about the compiler.
3930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3931 set X $ac_compile
3932 ac_compiler=$2
3933 for ac_option in --version -v -V -qversion; do
3934 { { ac_try="$ac_compiler $ac_option >&5"
3935 case "(($ac_try" in
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3938 esac
3939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3942 ac_status=$?
3943 if test -s conftest.err; then
3944 sed '10a\
3945 ... rest of stderr output deleted ...
3946 10q' conftest.err >conftest.er1
3947 cat conftest.er1 >&5
3948 rm -f conftest.er1 conftest.err
3949 fi
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }
3952 done
3953
3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3956
3957 int
3958 main ()
3959 {
3960
3961 ;
3962 return 0;
3963 }
3964 _ACEOF
3965 # FIXME: Cleanup?
3966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3967 (eval $ac_link) 2>&5
3968 ac_status=$?
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 gcc_no_link=no
3972 else
3973 gcc_no_link=yes
3974 fi
3975 if test x$gcc_no_link = xyes; then
3976 # Setting cross_compile will disable run tests; it will
3977 # also disable AC_CHECK_FILE but that's generally
3978 # correct if we can't link.
3979 cross_compiling=yes
3980 EXEEXT=
3981 else
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3984
3985 int
3986 main ()
3987 {
3988
3989 ;
3990 return 0;
3991 }
3992 _ACEOF
3993 ac_clean_files_save=$ac_clean_files
3994 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3995 # Try to create an executable without -o first, disregard a.out.
3996 # It will help us diagnose broken compilers, and finding out an intuition
3997 # of exeext.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3999 $as_echo_n "checking for C compiler default output file name... " >&6; }
4000 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4001
4002 # The possible output files:
4003 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4004
4005 ac_rmfiles=
4006 for ac_file in $ac_files
4007 do
4008 case $ac_file in
4009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4010 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4011 esac
4012 done
4013 rm -f $ac_rmfiles
4014
4015 if { { ac_try="$ac_link_default"
4016 case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
4022 (eval "$ac_link_default") 2>&5
4023 ac_status=$?
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; }; then :
4026 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4027 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4028 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4029 # so that the user can short-circuit this test for compilers unknown to
4030 # Autoconf.
4031 for ac_file in $ac_files ''
4032 do
4033 test -f "$ac_file" || continue
4034 case $ac_file in
4035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4036 ;;
4037 [ab].out )
4038 # We found the default executable, but exeext='' is most
4039 # certainly right.
4040 break;;
4041 *.* )
4042 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4043 then :; else
4044 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4045 fi
4046 # We set ac_cv_exeext here because the later test for it is not
4047 # safe: cross compilers may not add the suffix if given an `-o'
4048 # argument, so we may need to know it at that point already.
4049 # Even if this section looks crufty: it has the advantage of
4050 # actually working.
4051 break;;
4052 * )
4053 break;;
4054 esac
4055 done
4056 test "$ac_cv_exeext" = no && ac_cv_exeext=
4057
4058 else
4059 ac_file=''
4060 fi
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4062 $as_echo "$ac_file" >&6; }
4063 if test -z "$ac_file"; then :
4064 $as_echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.$ac_ext >&5
4066
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 { as_fn_set_status 77
4070 as_fn_error "C compiler cannot create executables
4071 See \`config.log' for more details." "$LINENO" 5; }; }
4072 fi
4073 ac_exeext=$ac_cv_exeext
4074
4075 # Check that the compiler produces executables we can run. If not, either
4076 # the compiler is broken, or we cross compile.
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4078 $as_echo_n "checking whether the C compiler works... " >&6; }
4079 # If not cross compiling, check that we can run a simple program.
4080 if test "$cross_compiling" != yes; then
4081 if { ac_try='./$ac_file'
4082 { { case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_try") 2>&5
4089 ac_status=$?
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; }; then
4092 cross_compiling=no
4093 else
4094 if test "$cross_compiling" = maybe; then
4095 cross_compiling=yes
4096 else
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error "cannot run C compiled programs.
4100 If you meant to cross compile, use \`--host'.
4101 See \`config.log' for more details." "$LINENO" 5; }
4102 fi
4103 fi
4104 fi
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4106 $as_echo "yes" >&6; }
4107
4108 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4109 ac_clean_files=$ac_clean_files_save
4110 # Check that the compiler produces executables we can run. If not, either
4111 # the compiler is broken, or we cross compile.
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4113 $as_echo_n "checking whether we are cross compiling... " >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4115 $as_echo "$cross_compiling" >&6; }
4116
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4118 $as_echo_n "checking for suffix of executables... " >&6; }
4119 if { { ac_try="$ac_link"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125 $as_echo "$ac_try_echo"; } >&5
4126 (eval "$ac_link") 2>&5
4127 ac_status=$?
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }; then :
4130 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4131 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4132 # work properly (i.e., refer to `conftest.exe'), while it won't with
4133 # `rm'.
4134 for ac_file in conftest.exe conftest conftest.*; do
4135 test -f "$ac_file" || continue
4136 case $ac_file in
4137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4138 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4139 break;;
4140 * ) break;;
4141 esac
4142 done
4143 else
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error "cannot compute suffix of executables: cannot compile and link
4147 See \`config.log' for more details." "$LINENO" 5; }
4148 fi
4149 rm -f conftest$ac_cv_exeext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4151 $as_echo "$ac_cv_exeext" >&6; }
4152
4153 rm -f conftest.$ac_ext
4154 EXEEXT=$ac_cv_exeext
4155 ac_exeext=$EXEEXT
4156 fi
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4158 $as_echo_n "checking for suffix of object files... " >&6; }
4159 if test "${ac_cv_objext+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4164
4165 int
4166 main ()
4167 {
4168
4169 ;
4170 return 0;
4171 }
4172 _ACEOF
4173 rm -f conftest.o conftest.obj
4174 if { { ac_try="$ac_compile"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_compile") 2>&5
4182 ac_status=$?
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; then :
4185 for ac_file in conftest.o conftest.obj conftest.*; do
4186 test -f "$ac_file" || continue;
4187 case $ac_file in
4188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4190 break;;
4191 esac
4192 done
4193 else
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4196
4197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error "cannot compute suffix of object files: cannot compile
4200 See \`config.log' for more details." "$LINENO" 5; }
4201 fi
4202 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4203 fi
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4205 $as_echo "$ac_cv_objext" >&6; }
4206 OBJEXT=$ac_cv_objext
4207 ac_objext=$OBJEXT
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4209 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4210 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4215
4216 int
4217 main ()
4218 {
4219 #ifndef __GNUC__
4220 choke me
4221 #endif
4222
4223 ;
4224 return 0;
4225 }
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_compiler_gnu=yes
4229 else
4230 ac_compiler_gnu=no
4231 fi
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4234
4235 fi
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4237 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4238 if test $ac_compiler_gnu = yes; then
4239 GCC=yes
4240 else
4241 GCC=
4242 fi
4243 ac_test_CFLAGS=${CFLAGS+set}
4244 ac_save_CFLAGS=$CFLAGS
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4246 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4247 if test "${ac_cv_prog_cc_g+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 ac_save_c_werror_flag=$ac_c_werror_flag
4251 ac_c_werror_flag=yes
4252 ac_cv_prog_cc_g=no
4253 CFLAGS="-g"
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4256
4257 int
4258 main ()
4259 {
4260
4261 ;
4262 return 0;
4263 }
4264 _ACEOF
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_g=yes
4267 else
4268 CFLAGS=""
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4271
4272 int
4273 main ()
4274 {
4275
4276 ;
4277 return 0;
4278 }
4279 _ACEOF
4280 if ac_fn_c_try_compile "$LINENO"; then :
4281
4282 else
4283 ac_c_werror_flag=$ac_save_c_werror_flag
4284 CFLAGS="-g"
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4287
4288 int
4289 main ()
4290 {
4291
4292 ;
4293 return 0;
4294 }
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_g=yes
4298 fi
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4300 fi
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4302 fi
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 ac_c_werror_flag=$ac_save_c_werror_flag
4305 fi
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4307 $as_echo "$ac_cv_prog_cc_g" >&6; }
4308 if test "$ac_test_CFLAGS" = set; then
4309 CFLAGS=$ac_save_CFLAGS
4310 elif test $ac_cv_prog_cc_g = yes; then
4311 if test "$GCC" = yes; then
4312 CFLAGS="-g -O2"
4313 else
4314 CFLAGS="-g"
4315 fi
4316 else
4317 if test "$GCC" = yes; then
4318 CFLAGS="-O2"
4319 else
4320 CFLAGS=
4321 fi
4322 fi
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4324 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4325 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 ac_cv_prog_cc_c89=no
4329 ac_save_CC=$CC
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4332 #include <stdarg.h>
4333 #include <stdio.h>
4334 #include <sys/types.h>
4335 #include <sys/stat.h>
4336 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4337 struct buf { int x; };
4338 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4339 static char *e (p, i)
4340 char **p;
4341 int i;
4342 {
4343 return p[i];
4344 }
4345 static char *f (char * (*g) (char **, int), char **p, ...)
4346 {
4347 char *s;
4348 va_list v;
4349 va_start (v,p);
4350 s = g (p, va_arg (v,int));
4351 va_end (v);
4352 return s;
4353 }
4354
4355 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4356 function prototypes and stuff, but not '\xHH' hex character constants.
4357 These don't provoke an error unfortunately, instead are silently treated
4358 as 'x'. The following induces an error, until -std is added to get
4359 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4360 array size at least. It's necessary to write '\x00'==0 to get something
4361 that's true only with -std. */
4362 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4363
4364 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4365 inside strings and character constants. */
4366 #define FOO(x) 'x'
4367 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4368
4369 int test (int i, double x);
4370 struct s1 {int (*f) (int a);};
4371 struct s2 {int (*f) (double a);};
4372 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4373 int argc;
4374 char **argv;
4375 int
4376 main ()
4377 {
4378 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4379 ;
4380 return 0;
4381 }
4382 _ACEOF
4383 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4384 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4385 do
4386 CC="$ac_save_CC $ac_arg"
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_prog_cc_c89=$ac_arg
4389 fi
4390 rm -f core conftest.err conftest.$ac_objext
4391 test "x$ac_cv_prog_cc_c89" != "xno" && break
4392 done
4393 rm -f conftest.$ac_ext
4394 CC=$ac_save_CC
4395
4396 fi
4397 # AC_CACHE_VAL
4398 case "x$ac_cv_prog_cc_c89" in
4399 x)
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4401 $as_echo "none needed" >&6; } ;;
4402 xno)
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4404 $as_echo "unsupported" >&6; } ;;
4405 *)
4406 CC="$CC $ac_cv_prog_cc_c89"
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4408 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4409 esac
4410 if test "x$ac_cv_prog_cc_c89" != xno; then :
4411
4412 fi
4413
4414 ac_ext=c
4415 ac_cpp='$CPP $CPPFLAGS'
4416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4419
4420 ac_ext=cpp
4421 ac_cpp='$CXXCPP $CPPFLAGS'
4422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4425 if test -z "$CXX"; then
4426 if test -n "$CCC"; then
4427 CXX=$CCC
4428 else
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4431 do
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if test "${ac_cv_prog_CXX+set}" = set; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$CXX"; then
4440 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4444 do
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4449 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4452 fi
4453 done
4454 done
4455 IFS=$as_save_IFS
4456
4457 fi
4458 fi
4459 CXX=$ac_cv_prog_CXX
4460 if test -n "$CXX"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4462 $as_echo "$CXX" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4466 fi
4467
4468
4469 test -n "$CXX" && break
4470 done
4471 fi
4472 if test -z "$CXX"; then
4473 ac_ct_CXX=$CXX
4474 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4475 do
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy $ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 if test -n "$ac_ct_CXX"; then
4484 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4485 else
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH
4488 do
4489 IFS=$as_save_IFS
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_ac_ct_CXX="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 break 2
4496 fi
4497 done
4498 done
4499 IFS=$as_save_IFS
4500
4501 fi
4502 fi
4503 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4504 if test -n "$ac_ct_CXX"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4506 $as_echo "$ac_ct_CXX" >&6; }
4507 else
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4510 fi
4511
4512
4513 test -n "$ac_ct_CXX" && break
4514 done
4515
4516 if test "x$ac_ct_CXX" = x; then
4517 CXX="g++"
4518 else
4519 case $cross_compiling:$ac_tool_warned in
4520 yes:)
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4523 ac_tool_warned=yes ;;
4524 esac
4525 CXX=$ac_ct_CXX
4526 fi
4527 fi
4528
4529 fi
4530 fi
4531 # Provide some information about the compiler.
4532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4533 set X $ac_compile
4534 ac_compiler=$2
4535 for ac_option in --version -v -V -qversion; do
4536 { { ac_try="$ac_compiler $ac_option >&5"
4537 case "(($ac_try" in
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4540 esac
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4544 ac_status=$?
4545 if test -s conftest.err; then
4546 sed '10a\
4547 ... rest of stderr output deleted ...
4548 10q' conftest.err >conftest.er1
4549 cat conftest.er1 >&5
4550 rm -f conftest.er1 conftest.err
4551 fi
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }
4554 done
4555
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4557 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4558 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4563
4564 int
4565 main ()
4566 {
4567 #ifndef __GNUC__
4568 choke me
4569 #endif
4570
4571 ;
4572 return 0;
4573 }
4574 _ACEOF
4575 if ac_fn_cxx_try_compile "$LINENO"; then :
4576 ac_compiler_gnu=yes
4577 else
4578 ac_compiler_gnu=no
4579 fi
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4582
4583 fi
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4585 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4586 if test $ac_compiler_gnu = yes; then
4587 GXX=yes
4588 else
4589 GXX=
4590 fi
4591 ac_test_CXXFLAGS=${CXXFLAGS+set}
4592 ac_save_CXXFLAGS=$CXXFLAGS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4594 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4595 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4599 ac_cxx_werror_flag=yes
4600 ac_cv_prog_cxx_g=no
4601 CXXFLAGS="-g"
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4604
4605 int
4606 main ()
4607 {
4608
4609 ;
4610 return 0;
4611 }
4612 _ACEOF
4613 if ac_fn_cxx_try_compile "$LINENO"; then :
4614 ac_cv_prog_cxx_g=yes
4615 else
4616 CXXFLAGS=""
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4619
4620 int
4621 main ()
4622 {
4623
4624 ;
4625 return 0;
4626 }
4627 _ACEOF
4628 if ac_fn_cxx_try_compile "$LINENO"; then :
4629
4630 else
4631 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4632 CXXFLAGS="-g"
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4635
4636 int
4637 main ()
4638 {
4639
4640 ;
4641 return 0;
4642 }
4643 _ACEOF
4644 if ac_fn_cxx_try_compile "$LINENO"; then :
4645 ac_cv_prog_cxx_g=yes
4646 fi
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4648 fi
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4650 fi
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4653 fi
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4655 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4656 if test "$ac_test_CXXFLAGS" = set; then
4657 CXXFLAGS=$ac_save_CXXFLAGS
4658 elif test $ac_cv_prog_cxx_g = yes; then
4659 if test "$GXX" = yes; then
4660 CXXFLAGS="-g -O2"
4661 else
4662 CXXFLAGS="-g"
4663 fi
4664 else
4665 if test "$GXX" = yes; then
4666 CXXFLAGS="-O2"
4667 else
4668 CXXFLAGS=
4669 fi
4670 fi
4671 ac_ext=c
4672 ac_cpp='$CPP $CPPFLAGS'
4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4676
4677 CXXFLAGS="$save_CXXFLAGS"
4678
4679 # Runs configure.host, and assorted other critical bits. Sets
4680 # up critical shell variables.
4681
4682 ac_ext=c
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4688 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4689 # On Suns, sometimes $CPP names a directory.
4690 if test -n "$CPP" && test -d "$CPP"; then
4691 CPP=
4692 fi
4693 if test -z "$CPP"; then
4694 if test "${ac_cv_prog_CPP+set}" = set; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 # Double quotes because CPP needs to be expanded
4698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4699 do
4700 ac_preproc_ok=false
4701 for ac_c_preproc_warn_flag in '' yes
4702 do
4703 # Use a header file that comes with gcc, so configuring glibc
4704 # with a fresh cross-compiler works.
4705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706 # <limits.h> exists even on freestanding compilers.
4707 # On the NeXT, cc -E runs the code through the compiler's parser,
4708 # not just through cpp. "Syntax error" is here to catch this case.
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4711 #ifdef __STDC__
4712 # include <limits.h>
4713 #else
4714 # include <assert.h>
4715 #endif
4716 Syntax error
4717 _ACEOF
4718 if ac_fn_c_try_cpp "$LINENO"; then :
4719
4720 else
4721 # Broken: fails on valid input.
4722 continue
4723 fi
4724 rm -f conftest.err conftest.$ac_ext
4725
4726 # OK, works on sane cases. Now check whether nonexistent headers
4727 # can be detected and how.
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4730 #include <ac_nonexistent.h>
4731 _ACEOF
4732 if ac_fn_c_try_cpp "$LINENO"; then :
4733 # Broken: success on invalid input.
4734 continue
4735 else
4736 # Passes both tests.
4737 ac_preproc_ok=:
4738 break
4739 fi
4740 rm -f conftest.err conftest.$ac_ext
4741
4742 done
4743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4744 rm -f conftest.err conftest.$ac_ext
4745 if $ac_preproc_ok; then :
4746 break
4747 fi
4748
4749 done
4750 ac_cv_prog_CPP=$CPP
4751
4752 fi
4753 CPP=$ac_cv_prog_CPP
4754 else
4755 ac_cv_prog_CPP=$CPP
4756 fi
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4758 $as_echo "$CPP" >&6; }
4759 ac_preproc_ok=false
4760 for ac_c_preproc_warn_flag in '' yes
4761 do
4762 # Use a header file that comes with gcc, so configuring glibc
4763 # with a fresh cross-compiler works.
4764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4765 # <limits.h> exists even on freestanding compilers.
4766 # On the NeXT, cc -E runs the code through the compiler's parser,
4767 # not just through cpp. "Syntax error" is here to catch this case.
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4770 #ifdef __STDC__
4771 # include <limits.h>
4772 #else
4773 # include <assert.h>
4774 #endif
4775 Syntax error
4776 _ACEOF
4777 if ac_fn_c_try_cpp "$LINENO"; then :
4778
4779 else
4780 # Broken: fails on valid input.
4781 continue
4782 fi
4783 rm -f conftest.err conftest.$ac_ext
4784
4785 # OK, works on sane cases. Now check whether nonexistent headers
4786 # can be detected and how.
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 #include <ac_nonexistent.h>
4790 _ACEOF
4791 if ac_fn_c_try_cpp "$LINENO"; then :
4792 # Broken: success on invalid input.
4793 continue
4794 else
4795 # Passes both tests.
4796 ac_preproc_ok=:
4797 break
4798 fi
4799 rm -f conftest.err conftest.$ac_ext
4800
4801 done
4802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4803 rm -f conftest.err conftest.$ac_ext
4804 if $ac_preproc_ok; then :
4805
4806 else
4807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4809 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4810 See \`config.log' for more details." "$LINENO" 5; }
4811 fi
4812
4813 ac_ext=c
4814 ac_cpp='$CPP $CPPFLAGS'
4815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4818
4819
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4821 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4822 if test "${ac_cv_path_GREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -z "$GREP"; then
4826 ac_path_GREP_found=false
4827 # Loop through the user's path and test for each of PROGNAME-LIST
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4830 do
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_prog in grep ggrep; do
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4836 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4837 # Check for GNU ac_path_GREP and select it if it is found.
4838 # Check for GNU $ac_path_GREP
4839 case `"$ac_path_GREP" --version 2>&1` in
4840 *GNU*)
4841 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4842 *)
4843 ac_count=0
4844 $as_echo_n 0123456789 >"conftest.in"
4845 while :
4846 do
4847 cat "conftest.in" "conftest.in" >"conftest.tmp"
4848 mv "conftest.tmp" "conftest.in"
4849 cp "conftest.in" "conftest.nl"
4850 $as_echo 'GREP' >> "conftest.nl"
4851 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4852 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4853 as_fn_arith $ac_count + 1 && ac_count=$as_val
4854 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4855 # Best one so far, save it but keep looking for a better one
4856 ac_cv_path_GREP="$ac_path_GREP"
4857 ac_path_GREP_max=$ac_count
4858 fi
4859 # 10*(2^10) chars as input seems more than enough
4860 test $ac_count -gt 10 && break
4861 done
4862 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4863 esac
4864
4865 $ac_path_GREP_found && break 3
4866 done
4867 done
4868 done
4869 IFS=$as_save_IFS
4870 if test -z "$ac_cv_path_GREP"; then
4871 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4872 fi
4873 else
4874 ac_cv_path_GREP=$GREP
4875 fi
4876
4877 fi
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4879 $as_echo "$ac_cv_path_GREP" >&6; }
4880 GREP="$ac_cv_path_GREP"
4881
4882
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4884 $as_echo_n "checking for egrep... " >&6; }
4885 if test "${ac_cv_path_EGREP+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4889 then ac_cv_path_EGREP="$GREP -E"
4890 else
4891 if test -z "$EGREP"; then
4892 ac_path_EGREP_found=false
4893 # Loop through the user's path and test for each of PROGNAME-LIST
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4896 do
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_prog in egrep; do
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4902 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4903 # Check for GNU ac_path_EGREP and select it if it is found.
4904 # Check for GNU $ac_path_EGREP
4905 case `"$ac_path_EGREP" --version 2>&1` in
4906 *GNU*)
4907 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4908 *)
4909 ac_count=0
4910 $as_echo_n 0123456789 >"conftest.in"
4911 while :
4912 do
4913 cat "conftest.in" "conftest.in" >"conftest.tmp"
4914 mv "conftest.tmp" "conftest.in"
4915 cp "conftest.in" "conftest.nl"
4916 $as_echo 'EGREP' >> "conftest.nl"
4917 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4918 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4919 as_fn_arith $ac_count + 1 && ac_count=$as_val
4920 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4921 # Best one so far, save it but keep looking for a better one
4922 ac_cv_path_EGREP="$ac_path_EGREP"
4923 ac_path_EGREP_max=$ac_count
4924 fi
4925 # 10*(2^10) chars as input seems more than enough
4926 test $ac_count -gt 10 && break
4927 done
4928 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4929 esac
4930
4931 $ac_path_EGREP_found && break 3
4932 done
4933 done
4934 done
4935 IFS=$as_save_IFS
4936 if test -z "$ac_cv_path_EGREP"; then
4937 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4938 fi
4939 else
4940 ac_cv_path_EGREP=$EGREP
4941 fi
4942
4943 fi
4944 fi
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4946 $as_echo "$ac_cv_path_EGREP" >&6; }
4947 EGREP="$ac_cv_path_EGREP"
4948
4949
4950
4951 # Keep these sync'd with the list in Makefile.am. The first provides an
4952 # expandable list at autoconf time; the second provides an expandable list
4953 # (i.e., shell variable) at configure time.
4954
4955 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4956
4957 # These need to be absolute paths, yet at the same time need to
4958 # canonicalize only relative paths, because then amd will not unmount
4959 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4960 glibcxx_builddir=`${PWDCMD-pwd}`
4961 case $srcdir in
4962 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4963 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4964 esac
4965 toplevel_builddir=${glibcxx_builddir}/..
4966 toplevel_srcdir=${glibcxx_srcdir}/..
4967
4968
4969
4970
4971
4972 # We use these options to decide which functions to include. They are
4973 # set from the top level.
4974
4975 # Check whether --with-target-subdir was given.
4976 if test "${with_target_subdir+set}" = set; then :
4977 withval=$with_target_subdir;
4978 fi
4979
4980
4981
4982 # Check whether --with-cross-host was given.
4983 if test "${with_cross_host+set}" = set; then :
4984 withval=$with_cross_host;
4985 fi
4986
4987
4988
4989 # Check whether --with-newlib was given.
4990 if test "${with_newlib+set}" = set; then :
4991 withval=$with_newlib;
4992 fi
4993
4994
4995 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4996 # available). Uncomment the next line to force a particular method.
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4998 $as_echo_n "checking whether ln -s works... " >&6; }
4999 LN_S=$as_ln_s
5000 if test "$LN_S" = "ln -s"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5005 $as_echo "no, using $LN_S" >&6; }
5006 fi
5007
5008 #LN_S='cp -p'
5009
5010 if test -n "$ac_tool_prefix"; then
5011 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5012 set dummy ${ac_tool_prefix}as; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_AS+set}" = set; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$AS"; then
5019 ac_cv_prog_AS="$AS" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5023 do
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_AS="${ac_tool_prefix}as"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5031 fi
5032 done
5033 done
5034 IFS=$as_save_IFS
5035
5036 fi
5037 fi
5038 AS=$ac_cv_prog_AS
5039 if test -n "$AS"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5041 $as_echo "$AS" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5045 fi
5046
5047
5048 fi
5049 if test -z "$ac_cv_prog_AS"; then
5050 ac_ct_AS=$AS
5051 # Extract the first word of "as", so it can be a program name with args.
5052 set dummy as; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 if test -n "$ac_ct_AS"; then
5059 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5063 do
5064 IFS=$as_save_IFS
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_ac_ct_AS="as"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 break 2
5071 fi
5072 done
5073 done
5074 IFS=$as_save_IFS
5075
5076 fi
5077 fi
5078 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5079 if test -n "$ac_ct_AS"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5081 $as_echo "$ac_ct_AS" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5085 fi
5086
5087 if test "x$ac_ct_AS" = x; then
5088 AS=""
5089 else
5090 case $cross_compiling:$ac_tool_warned in
5091 yes:)
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5094 ac_tool_warned=yes ;;
5095 esac
5096 AS=$ac_ct_AS
5097 fi
5098 else
5099 AS="$ac_cv_prog_AS"
5100 fi
5101
5102 if test -n "$ac_tool_prefix"; then
5103 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5104 set dummy ${ac_tool_prefix}ar; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_AR+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$AR"; then
5111 ac_cv_prog_AR="$AR" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5115 do
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_AR="${ac_tool_prefix}ar"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5123 fi
5124 done
5125 done
5126 IFS=$as_save_IFS
5127
5128 fi
5129 fi
5130 AR=$ac_cv_prog_AR
5131 if test -n "$AR"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5133 $as_echo "$AR" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5137 fi
5138
5139
5140 fi
5141 if test -z "$ac_cv_prog_AR"; then
5142 ac_ct_AR=$AR
5143 # Extract the first word of "ar", so it can be a program name with args.
5144 set dummy ar; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$ac_ct_AR"; then
5151 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5155 do
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_AR="ar"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5163 fi
5164 done
5165 done
5166 IFS=$as_save_IFS
5167
5168 fi
5169 fi
5170 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5171 if test -n "$ac_ct_AR"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5173 $as_echo "$ac_ct_AR" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5177 fi
5178
5179 if test "x$ac_ct_AR" = x; then
5180 AR=""
5181 else
5182 case $cross_compiling:$ac_tool_warned in
5183 yes:)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188 AR=$ac_ct_AR
5189 fi
5190 else
5191 AR="$ac_cv_prog_AR"
5192 fi
5193
5194 if test -n "$ac_tool_prefix"; then
5195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5196 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 if test -n "$RANLIB"; then
5203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5204 else
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 for as_dir in $PATH
5207 do
5208 IFS=$as_save_IFS
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 break 2
5215 fi
5216 done
5217 done
5218 IFS=$as_save_IFS
5219
5220 fi
5221 fi
5222 RANLIB=$ac_cv_prog_RANLIB
5223 if test -n "$RANLIB"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5225 $as_echo "$RANLIB" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5229 fi
5230
5231
5232 fi
5233 if test -z "$ac_cv_prog_RANLIB"; then
5234 ac_ct_RANLIB=$RANLIB
5235 # Extract the first word of "ranlib", so it can be a program name with args.
5236 set dummy ranlib; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 if test -n "$ac_ct_RANLIB"; then
5243 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5244 else
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 for as_dir in $PATH
5247 do
5248 IFS=$as_save_IFS
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5252 ac_cv_prog_ac_ct_RANLIB="ranlib"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 break 2
5255 fi
5256 done
5257 done
5258 IFS=$as_save_IFS
5259
5260 fi
5261 fi
5262 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5263 if test -n "$ac_ct_RANLIB"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5265 $as_echo "$ac_ct_RANLIB" >&6; }
5266 else
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5269 fi
5270
5271 if test "x$ac_ct_RANLIB" = x; then
5272 RANLIB="ranlib-not-found-in-path-error"
5273 else
5274 case $cross_compiling:$ac_tool_warned in
5275 yes:)
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5278 ac_tool_warned=yes ;;
5279 esac
5280 RANLIB=$ac_ct_RANLIB
5281 fi
5282 else
5283 RANLIB="$ac_cv_prog_RANLIB"
5284 fi
5285
5286
5287
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5289 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5290 # Check whether --enable-maintainer-mode was given.
5291 if test "${enable_maintainer_mode+set}" = set; then :
5292 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5293 else
5294 USE_MAINTAINER_MODE=no
5295 fi
5296
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5298 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5299 if test $USE_MAINTAINER_MODE = yes; then
5300 MAINTAINER_MODE_TRUE=
5301 MAINTAINER_MODE_FALSE='#'
5302 else
5303 MAINTAINER_MODE_TRUE='#'
5304 MAINTAINER_MODE_FALSE=
5305 fi
5306
5307 MAINT=$MAINTAINER_MODE_TRUE
5308
5309
5310
5311 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5312 # which are themselves conditionally expanded.
5313 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5314 ## other macros from doing the same. This should be automated.) -pme
5315
5316 # Check for C library flavor since GNU/Linux platforms use different
5317 # configuration directories depending on the C library in use.
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5320
5321 #include <stdio.h>
5322 #if __UCLIBC__
5323 _using_uclibc
5324 #endif
5325
5326 _ACEOF
5327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5328 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5329 uclibc=yes
5330 else
5331 uclibc=no
5332 fi
5333 rm -f conftest*
5334
5335
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5338
5339 #include <stdio.h>
5340 #if __BIONIC__
5341 _using_bionic
5342 #endif
5343
5344 _ACEOF
5345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5346 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5347 bionic=yes
5348 else
5349 bionic=no
5350 fi
5351 rm -f conftest*
5352
5353
5354 # Find platform-specific directories containing configuration info.
5355 # Also possibly modify flags used elsewhere, as needed by the platform.
5356
5357 . $glibcxx_srcdir/configure.host
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5359 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5361 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5362
5363
5364
5365 # Libtool setup.
5366 if test "x${with_newlib}" != "xyes"; then
5367 enable_dlopen=yes
5368
5369
5370
5371 fi
5372 case `pwd` in
5373 *\ * | *\ *)
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5375 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5376 esac
5377
5378
5379
5380 macro_version='2.2.7a'
5381 macro_revision='1.3134'
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395 ltmain="$ac_aux_dir/ltmain.sh"
5396
5397 # Backslashify metacharacters that are still active within
5398 # double-quoted strings.
5399 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5400
5401 # Same as above, but do not quote variable references.
5402 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5403
5404 # Sed substitution to delay expansion of an escaped shell variable in a
5405 # double_quote_subst'ed string.
5406 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5407
5408 # Sed substitution to delay expansion of an escaped single quote.
5409 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5410
5411 # Sed substitution to avoid accidental globbing in evaled expressions
5412 no_glob_subst='s/\*/\\\*/g'
5413
5414 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5415 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5416 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5417
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5419 $as_echo_n "checking how to print strings... " >&6; }
5420 # Test print first, because it will be a builtin if present.
5421 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5422 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5423 ECHO='print -r --'
5424 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='printf %s\n'
5426 else
5427 # Use this function as a fallback that always works.
5428 func_fallback_echo ()
5429 {
5430 eval 'cat <<_LTECHO_EOF
5431 $1
5432 _LTECHO_EOF'
5433 }
5434 ECHO='func_fallback_echo'
5435 fi
5436
5437 # func_echo_all arg...
5438 # Invoke $ECHO with all args, space-separated.
5439 func_echo_all ()
5440 {
5441 $ECHO ""
5442 }
5443
5444 case "$ECHO" in
5445 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5446 $as_echo "printf" >&6; } ;;
5447 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5448 $as_echo "print -r" >&6; } ;;
5449 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5450 $as_echo "cat" >&6; } ;;
5451 esac
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5467 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5468 if test "${ac_cv_path_SED+set}" = set; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5472 for ac_i in 1 2 3 4 5 6 7; do
5473 ac_script="$ac_script$as_nl$ac_script"
5474 done
5475 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5476 { ac_script=; unset ac_script;}
5477 if test -z "$SED"; then
5478 ac_path_SED_found=false
5479 # Loop through the user's path and test for each of PROGNAME-LIST
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5482 do
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_prog in sed gsed; do
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5488 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5489 # Check for GNU ac_path_SED and select it if it is found.
5490 # Check for GNU $ac_path_SED
5491 case `"$ac_path_SED" --version 2>&1` in
5492 *GNU*)
5493 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5494 *)
5495 ac_count=0
5496 $as_echo_n 0123456789 >"conftest.in"
5497 while :
5498 do
5499 cat "conftest.in" "conftest.in" >"conftest.tmp"
5500 mv "conftest.tmp" "conftest.in"
5501 cp "conftest.in" "conftest.nl"
5502 $as_echo '' >> "conftest.nl"
5503 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5505 as_fn_arith $ac_count + 1 && ac_count=$as_val
5506 if test $ac_count -gt ${ac_path_SED_max-0}; then
5507 # Best one so far, save it but keep looking for a better one
5508 ac_cv_path_SED="$ac_path_SED"
5509 ac_path_SED_max=$ac_count
5510 fi
5511 # 10*(2^10) chars as input seems more than enough
5512 test $ac_count -gt 10 && break
5513 done
5514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5515 esac
5516
5517 $ac_path_SED_found && break 3
5518 done
5519 done
5520 done
5521 IFS=$as_save_IFS
5522 if test -z "$ac_cv_path_SED"; then
5523 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5524 fi
5525 else
5526 ac_cv_path_SED=$SED
5527 fi
5528
5529 fi
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5531 $as_echo "$ac_cv_path_SED" >&6; }
5532 SED="$ac_cv_path_SED"
5533 rm -f conftest.sed
5534
5535 test -z "$SED" && SED=sed
5536 Xsed="$SED -e 1s/^X//"
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5549 $as_echo_n "checking for fgrep... " >&6; }
5550 if test "${ac_cv_path_FGREP+set}" = set; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5554 then ac_cv_path_FGREP="$GREP -F"
5555 else
5556 if test -z "$FGREP"; then
5557 ac_path_FGREP_found=false
5558 # Loop through the user's path and test for each of PROGNAME-LIST
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5561 do
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_prog in fgrep; do
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5567 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5568 # Check for GNU ac_path_FGREP and select it if it is found.
5569 # Check for GNU $ac_path_FGREP
5570 case `"$ac_path_FGREP" --version 2>&1` in
5571 *GNU*)
5572 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5573 *)
5574 ac_count=0
5575 $as_echo_n 0123456789 >"conftest.in"
5576 while :
5577 do
5578 cat "conftest.in" "conftest.in" >"conftest.tmp"
5579 mv "conftest.tmp" "conftest.in"
5580 cp "conftest.in" "conftest.nl"
5581 $as_echo 'FGREP' >> "conftest.nl"
5582 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5583 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5584 as_fn_arith $ac_count + 1 && ac_count=$as_val
5585 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5586 # Best one so far, save it but keep looking for a better one
5587 ac_cv_path_FGREP="$ac_path_FGREP"
5588 ac_path_FGREP_max=$ac_count
5589 fi
5590 # 10*(2^10) chars as input seems more than enough
5591 test $ac_count -gt 10 && break
5592 done
5593 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5594 esac
5595
5596 $ac_path_FGREP_found && break 3
5597 done
5598 done
5599 done
5600 IFS=$as_save_IFS
5601 if test -z "$ac_cv_path_FGREP"; then
5602 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5603 fi
5604 else
5605 ac_cv_path_FGREP=$FGREP
5606 fi
5607
5608 fi
5609 fi
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5611 $as_echo "$ac_cv_path_FGREP" >&6; }
5612 FGREP="$ac_cv_path_FGREP"
5613
5614
5615 test -z "$GREP" && GREP=grep
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635 # Check whether --with-gnu-ld was given.
5636 if test "${with_gnu_ld+set}" = set; then :
5637 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5638 else
5639 with_gnu_ld=no
5640 fi
5641
5642 ac_prog=ld
5643 if test "$GCC" = yes; then
5644 # Check if gcc -print-prog-name=ld gives a path.
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5646 $as_echo_n "checking for ld used by $CC... " >&6; }
5647 case $host in
5648 *-*-mingw*)
5649 # gcc leaves a trailing carriage return which upsets mingw
5650 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5651 *)
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5653 esac
5654 case $ac_prog in
5655 # Accept absolute paths.
5656 [\\/]* | ?:[\\/]*)
5657 re_direlt='/[^/][^/]*/\.\./'
5658 # Canonicalize the pathname of ld
5659 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5660 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5661 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5662 done
5663 test -z "$LD" && LD="$ac_prog"
5664 ;;
5665 "")
5666 # If it fails, then pretend we aren't using GCC.
5667 ac_prog=ld
5668 ;;
5669 *)
5670 # If it is relative, then search for the first ld in PATH.
5671 with_gnu_ld=unknown
5672 ;;
5673 esac
5674 elif test "$with_gnu_ld" = yes; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5676 $as_echo_n "checking for GNU ld... " >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5679 $as_echo_n "checking for non-GNU ld... " >&6; }
5680 fi
5681 if test "${lt_cv_path_LD+set}" = set; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -z "$LD"; then
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5690 lt_cv_path_LD="$ac_dir/$ac_prog"
5691 # Check to see if the program is GNU ld. I'd rather use --version,
5692 # but apparently some variants of GNU ld only accept -v.
5693 # Break only if it was the GNU/non-GNU ld that we prefer.
5694 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5695 *GNU* | *'with BFD'*)
5696 test "$with_gnu_ld" != no && break
5697 ;;
5698 *)
5699 test "$with_gnu_ld" != yes && break
5700 ;;
5701 esac
5702 fi
5703 done
5704 IFS="$lt_save_ifs"
5705 else
5706 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5707 fi
5708 fi
5709
5710 LD="$lt_cv_path_LD"
5711 if test -n "$LD"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5713 $as_echo "$LD" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5717 fi
5718 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5720 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5721 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5725 case `$LD -v 2>&1 </dev/null` in
5726 *GNU* | *'with BFD'*)
5727 lt_cv_prog_gnu_ld=yes
5728 ;;
5729 *)
5730 lt_cv_prog_gnu_ld=no
5731 ;;
5732 esac
5733 fi
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5735 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5736 with_gnu_ld=$lt_cv_prog_gnu_ld
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5747 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5748 if test "${lt_cv_path_NM+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$NM"; then
5752 # Let the user override the test.
5753 lt_cv_path_NM="$NM"
5754 else
5755 lt_nm_to_check="${ac_tool_prefix}nm"
5756 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5757 lt_nm_to_check="$lt_nm_to_check nm"
5758 fi
5759 for lt_tmp_nm in $lt_nm_to_check; do
5760 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5761 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5762 IFS="$lt_save_ifs"
5763 test -z "$ac_dir" && ac_dir=.
5764 tmp_nm="$ac_dir/$lt_tmp_nm"
5765 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5766 # Check to see if the nm accepts a BSD-compat flag.
5767 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5768 # nm: unknown option "B" ignored
5769 # Tru64's nm complains that /dev/null is an invalid object file
5770 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5771 */dev/null* | *'Invalid file or object type'*)
5772 lt_cv_path_NM="$tmp_nm -B"
5773 break
5774 ;;
5775 *)
5776 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5777 */dev/null*)
5778 lt_cv_path_NM="$tmp_nm -p"
5779 break
5780 ;;
5781 *)
5782 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5783 continue # so that we can try to find one that supports BSD flags
5784 ;;
5785 esac
5786 ;;
5787 esac
5788 fi
5789 done
5790 IFS="$lt_save_ifs"
5791 done
5792 : ${lt_cv_path_NM=no}
5793 fi
5794 fi
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5796 $as_echo "$lt_cv_path_NM" >&6; }
5797 if test "$lt_cv_path_NM" != "no"; then
5798 NM="$lt_cv_path_NM"
5799 else
5800 # Didn't find any BSD compatible name lister, look for dumpbin.
5801 if test -n "$DUMPBIN"; then :
5802 # Let the user override the test.
5803 else
5804 if test -n "$ac_tool_prefix"; then
5805 for ac_prog in dumpbin "link -dump"
5806 do
5807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 if test -n "$DUMPBIN"; then
5815 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5819 do
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 break 2
5827 fi
5828 done
5829 done
5830 IFS=$as_save_IFS
5831
5832 fi
5833 fi
5834 DUMPBIN=$ac_cv_prog_DUMPBIN
5835 if test -n "$DUMPBIN"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5837 $as_echo "$DUMPBIN" >&6; }
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5841 fi
5842
5843
5844 test -n "$DUMPBIN" && break
5845 done
5846 fi
5847 if test -z "$DUMPBIN"; then
5848 ac_ct_DUMPBIN=$DUMPBIN
5849 for ac_prog in dumpbin "link -dump"
5850 do
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$ac_ct_DUMPBIN"; then
5859 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5863 do
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5871 fi
5872 done
5873 done
5874 IFS=$as_save_IFS
5875
5876 fi
5877 fi
5878 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5879 if test -n "$ac_ct_DUMPBIN"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5881 $as_echo "$ac_ct_DUMPBIN" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5885 fi
5886
5887
5888 test -n "$ac_ct_DUMPBIN" && break
5889 done
5890
5891 if test "x$ac_ct_DUMPBIN" = x; then
5892 DUMPBIN=":"
5893 else
5894 case $cross_compiling:$ac_tool_warned in
5895 yes:)
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5899 esac
5900 DUMPBIN=$ac_ct_DUMPBIN
5901 fi
5902 fi
5903
5904 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5905 *COFF*)
5906 DUMPBIN="$DUMPBIN -symbols"
5907 ;;
5908 *)
5909 DUMPBIN=:
5910 ;;
5911 esac
5912 fi
5913
5914 if test "$DUMPBIN" != ":"; then
5915 NM="$DUMPBIN"
5916 fi
5917 fi
5918 test -z "$NM" && NM=nm
5919
5920
5921
5922
5923
5924
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5926 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5927 if test "${lt_cv_nm_interface+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 lt_cv_nm_interface="BSD nm"
5931 echo "int some_variable = 0;" > conftest.$ac_ext
5932 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5933 (eval "$ac_compile" 2>conftest.err)
5934 cat conftest.err >&5
5935 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5936 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5939 cat conftest.out >&5
5940 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5941 lt_cv_nm_interface="MS dumpbin"
5942 fi
5943 rm -f conftest*
5944 fi
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5946 $as_echo "$lt_cv_nm_interface" >&6; }
5947
5948 # find the maximum length of command line arguments
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5950 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5951 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5954 i=0
5955 teststring="ABCD"
5956
5957 case $build_os in
5958 msdosdjgpp*)
5959 # On DJGPP, this test can blow up pretty badly due to problems in libc
5960 # (any single argument exceeding 2000 bytes causes a buffer overrun
5961 # during glob expansion). Even if it were fixed, the result of this
5962 # check would be larger than it should be.
5963 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5964 ;;
5965
5966 gnu*)
5967 # Under GNU Hurd, this test is not required because there is
5968 # no limit to the length of command line arguments.
5969 # Libtool will interpret -1 as no limit whatsoever
5970 lt_cv_sys_max_cmd_len=-1;
5971 ;;
5972
5973 cygwin* | mingw* | cegcc*)
5974 # On Win9x/ME, this test blows up -- it succeeds, but takes
5975 # about 5 minutes as the teststring grows exponentially.
5976 # Worse, since 9x/ME are not pre-emptively multitasking,
5977 # you end up with a "frozen" computer, even though with patience
5978 # the test eventually succeeds (with a max line length of 256k).
5979 # Instead, let's just punt: use the minimum linelength reported by
5980 # all of the supported platforms: 8192 (on NT/2K/XP).
5981 lt_cv_sys_max_cmd_len=8192;
5982 ;;
5983
5984 mint*)
5985 # On MiNT this can take a long time and run out of memory.
5986 lt_cv_sys_max_cmd_len=8192;
5987 ;;
5988
5989 amigaos*)
5990 # On AmigaOS with pdksh, this test takes hours, literally.
5991 # So we just punt and use a minimum line length of 8192.
5992 lt_cv_sys_max_cmd_len=8192;
5993 ;;
5994
5995 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5996 # This has been around since 386BSD, at least. Likely further.
5997 if test -x /sbin/sysctl; then
5998 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5999 elif test -x /usr/sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6001 else
6002 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6003 fi
6004 # And add a safety zone
6005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6007 ;;
6008
6009 interix*)
6010 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6011 lt_cv_sys_max_cmd_len=196608
6012 ;;
6013
6014 osf*)
6015 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6016 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6017 # nice to cause kernel panics so lets avoid the loop below.
6018 # First set a reasonable default.
6019 lt_cv_sys_max_cmd_len=16384
6020 #
6021 if test -x /sbin/sysconfig; then
6022 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6023 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6024 esac
6025 fi
6026 ;;
6027 sco3.2v5*)
6028 lt_cv_sys_max_cmd_len=102400
6029 ;;
6030 sysv5* | sco5v6* | sysv4.2uw2*)
6031 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6032 if test -n "$kargmax"; then
6033 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6034 else
6035 lt_cv_sys_max_cmd_len=32768
6036 fi
6037 ;;
6038 *)
6039 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6040 if test -n "$lt_cv_sys_max_cmd_len"; then
6041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6042 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6043 else
6044 # Make teststring a little bigger before we do anything with it.
6045 # a 1K string should be a reasonable start.
6046 for i in 1 2 3 4 5 6 7 8 ; do
6047 teststring=$teststring$teststring
6048 done
6049 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6050 # If test is not a shell built-in, we'll probably end up computing a
6051 # maximum length that is only half of the actual maximum length, but
6052 # we can't tell.
6053 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6054 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6055 test $i != 17 # 1/2 MB should be enough
6056 do
6057 i=`expr $i + 1`
6058 teststring=$teststring$teststring
6059 done
6060 # Only check the string length outside the loop.
6061 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6062 teststring=
6063 # Add a significant safety factor because C++ compilers can tack on
6064 # massive amounts of additional arguments before passing them to the
6065 # linker. It appears as though 1/2 is a usable value.
6066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6067 fi
6068 ;;
6069 esac
6070
6071 fi
6072
6073 if test -n $lt_cv_sys_max_cmd_len ; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6075 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6078 $as_echo "none" >&6; }
6079 fi
6080 max_cmd_len=$lt_cv_sys_max_cmd_len
6081
6082
6083
6084
6085
6086
6087 : ${CP="cp -f"}
6088 : ${MV="mv -f"}
6089 : ${RM="rm -f"}
6090
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6092 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6093 # Try some XSI features
6094 xsi_shell=no
6095 ( _lt_dummy="a/b/c"
6096 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6097 = c,a/b,, \
6098 && eval 'test $(( 1 + 1 )) -eq 2 \
6099 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6100 && xsi_shell=yes
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6102 $as_echo "$xsi_shell" >&6; }
6103
6104
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6106 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6107 lt_shell_append=no
6108 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6109 >/dev/null 2>&1 \
6110 && lt_shell_append=yes
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6112 $as_echo "$lt_shell_append" >&6; }
6113
6114
6115 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6116 lt_unset=unset
6117 else
6118 lt_unset=false
6119 fi
6120
6121
6122
6123
6124
6125 # test EBCDIC or ASCII
6126 case `echo X|tr X '\101'` in
6127 A) # ASCII based system
6128 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6129 lt_SP2NL='tr \040 \012'
6130 lt_NL2SP='tr \015\012 \040\040'
6131 ;;
6132 *) # EBCDIC based system
6133 lt_SP2NL='tr \100 \n'
6134 lt_NL2SP='tr \r\n \100\100'
6135 ;;
6136 esac
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6147 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6148 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 lt_cv_ld_reload_flag='-r'
6152 fi
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6154 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6155 reload_flag=$lt_cv_ld_reload_flag
6156 case $reload_flag in
6157 "" | " "*) ;;
6158 *) reload_flag=" $reload_flag" ;;
6159 esac
6160 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6161 case $host_os in
6162 darwin*)
6163 if test "$GCC" = yes; then
6164 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6165 else
6166 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6167 fi
6168 ;;
6169 esac
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179 if test -n "$ac_tool_prefix"; then
6180 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6181 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if test -n "$OBJDUMP"; then
6188 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6192 do
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6197 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6200 fi
6201 done
6202 done
6203 IFS=$as_save_IFS
6204
6205 fi
6206 fi
6207 OBJDUMP=$ac_cv_prog_OBJDUMP
6208 if test -n "$OBJDUMP"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6210 $as_echo "$OBJDUMP" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6214 fi
6215
6216
6217 fi
6218 if test -z "$ac_cv_prog_OBJDUMP"; then
6219 ac_ct_OBJDUMP=$OBJDUMP
6220 # Extract the first word of "objdump", so it can be a program name with args.
6221 set dummy objdump; ac_word=$2
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223 $as_echo_n "checking for $ac_word... " >&6; }
6224 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 if test -n "$ac_ct_OBJDUMP"; then
6228 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6229 else
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6232 do
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6237 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6240 fi
6241 done
6242 done
6243 IFS=$as_save_IFS
6244
6245 fi
6246 fi
6247 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6248 if test -n "$ac_ct_OBJDUMP"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6250 $as_echo "$ac_ct_OBJDUMP" >&6; }
6251 else
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6254 fi
6255
6256 if test "x$ac_ct_OBJDUMP" = x; then
6257 OBJDUMP="false"
6258 else
6259 case $cross_compiling:$ac_tool_warned in
6260 yes:)
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6263 ac_tool_warned=yes ;;
6264 esac
6265 OBJDUMP=$ac_ct_OBJDUMP
6266 fi
6267 else
6268 OBJDUMP="$ac_cv_prog_OBJDUMP"
6269 fi
6270
6271 test -z "$OBJDUMP" && OBJDUMP=objdump
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6282 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6283 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 lt_cv_file_magic_cmd='$MAGIC_CMD'
6287 lt_cv_file_magic_test_file=
6288 lt_cv_deplibs_check_method='unknown'
6289 # Need to set the preceding variable on all platforms that support
6290 # interlibrary dependencies.
6291 # 'none' -- dependencies not supported.
6292 # `unknown' -- same as none, but documents that we really don't know.
6293 # 'pass_all' -- all dependencies passed with no checks.
6294 # 'test_compile' -- check by making test program.
6295 # 'file_magic [[regex]]' -- check by looking for files in library path
6296 # which responds to the $file_magic_cmd with a given extended regex.
6297 # If you have `file' or equivalent on your system and you're not sure
6298 # whether `pass_all' will *always* work, you probably want this one.
6299
6300 case $host_os in
6301 aix[4-9]*)
6302 lt_cv_deplibs_check_method=pass_all
6303 ;;
6304
6305 beos*)
6306 lt_cv_deplibs_check_method=pass_all
6307 ;;
6308
6309 bsdi[45]*)
6310 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6311 lt_cv_file_magic_cmd='/usr/bin/file -L'
6312 lt_cv_file_magic_test_file=/shlib/libc.so
6313 ;;
6314
6315 cygwin*)
6316 # func_win32_libid is a shell function defined in ltmain.sh
6317 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6318 lt_cv_file_magic_cmd='func_win32_libid'
6319 ;;
6320
6321 mingw* | pw32*)
6322 # Base MSYS/MinGW do not provide the 'file' command needed by
6323 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6324 # unless we find 'file', for example because we are cross-compiling.
6325 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6326 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6327 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6328 lt_cv_file_magic_cmd='func_win32_libid'
6329 else
6330 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6331 lt_cv_file_magic_cmd='$OBJDUMP -f'
6332 fi
6333 ;;
6334
6335 cegcc*)
6336 # use the weaker test based on 'objdump'. See mingw*.
6337 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6338 lt_cv_file_magic_cmd='$OBJDUMP -f'
6339 ;;
6340
6341 darwin* | rhapsody*)
6342 lt_cv_deplibs_check_method=pass_all
6343 ;;
6344
6345 freebsd* | dragonfly*)
6346 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6347 case $host_cpu in
6348 i*86 )
6349 # Not sure whether the presence of OpenBSD here was a mistake.
6350 # Let's accept both of them until this is cleared up.
6351 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6352 lt_cv_file_magic_cmd=/usr/bin/file
6353 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6354 ;;
6355 esac
6356 else
6357 lt_cv_deplibs_check_method=pass_all
6358 fi
6359 ;;
6360
6361 gnu*)
6362 lt_cv_deplibs_check_method=pass_all
6363 ;;
6364
6365 haiku*)
6366 lt_cv_deplibs_check_method=pass_all
6367 ;;
6368
6369 hpux10.20* | hpux11*)
6370 lt_cv_file_magic_cmd=/usr/bin/file
6371 case $host_cpu in
6372 ia64*)
6373 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6374 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6375 ;;
6376 hppa*64*)
6377 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]'
6378 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6379 ;;
6380 *)
6381 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6382 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6383 ;;
6384 esac
6385 ;;
6386
6387 interix[3-9]*)
6388 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6389 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6390 ;;
6391
6392 irix5* | irix6* | nonstopux*)
6393 case $LD in
6394 *-32|*"-32 ") libmagic=32-bit;;
6395 *-n32|*"-n32 ") libmagic=N32;;
6396 *-64|*"-64 ") libmagic=64-bit;;
6397 *) libmagic=never-match;;
6398 esac
6399 lt_cv_deplibs_check_method=pass_all
6400 ;;
6401
6402 # This must be Linux ELF.
6403 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6404 lt_cv_deplibs_check_method=pass_all
6405 ;;
6406
6407 netbsd*)
6408 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6409 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6410 else
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6412 fi
6413 ;;
6414
6415 newos6*)
6416 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6417 lt_cv_file_magic_cmd=/usr/bin/file
6418 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6419 ;;
6420
6421 *nto* | *qnx*)
6422 lt_cv_deplibs_check_method=pass_all
6423 ;;
6424
6425 openbsd*)
6426 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6427 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6428 else
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6430 fi
6431 ;;
6432
6433 osf3* | osf4* | osf5*)
6434 lt_cv_deplibs_check_method=pass_all
6435 ;;
6436
6437 rdos*)
6438 lt_cv_deplibs_check_method=pass_all
6439 ;;
6440
6441 solaris*)
6442 lt_cv_deplibs_check_method=pass_all
6443 ;;
6444
6445 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6446 lt_cv_deplibs_check_method=pass_all
6447 ;;
6448
6449 sysv4 | sysv4.3*)
6450 case $host_vendor in
6451 motorola)
6452 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]'
6453 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6454 ;;
6455 ncr)
6456 lt_cv_deplibs_check_method=pass_all
6457 ;;
6458 sequent)
6459 lt_cv_file_magic_cmd='/bin/file'
6460 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6461 ;;
6462 sni)
6463 lt_cv_file_magic_cmd='/bin/file'
6464 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6465 lt_cv_file_magic_test_file=/lib/libc.so
6466 ;;
6467 siemens)
6468 lt_cv_deplibs_check_method=pass_all
6469 ;;
6470 pc)
6471 lt_cv_deplibs_check_method=pass_all
6472 ;;
6473 esac
6474 ;;
6475
6476 tpf*)
6477 lt_cv_deplibs_check_method=pass_all
6478 ;;
6479 esac
6480
6481 fi
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6483 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6484 file_magic_cmd=$lt_cv_file_magic_cmd
6485 deplibs_check_method=$lt_cv_deplibs_check_method
6486 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499 if test -n "$ac_tool_prefix"; then
6500 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6501 set dummy ${ac_tool_prefix}ar; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if test "${ac_cv_prog_AR+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 if test -n "$AR"; then
6508 ac_cv_prog_AR="$AR" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6512 do
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_prog_AR="${ac_tool_prefix}ar"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6520 fi
6521 done
6522 done
6523 IFS=$as_save_IFS
6524
6525 fi
6526 fi
6527 AR=$ac_cv_prog_AR
6528 if test -n "$AR"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6530 $as_echo "$AR" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6534 fi
6535
6536
6537 fi
6538 if test -z "$ac_cv_prog_AR"; then
6539 ac_ct_AR=$AR
6540 # Extract the first word of "ar", so it can be a program name with args.
6541 set dummy ar; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 if test -n "$ac_ct_AR"; then
6548 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6552 do
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ac_ct_AR="ar"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6560 fi
6561 done
6562 done
6563 IFS=$as_save_IFS
6564
6565 fi
6566 fi
6567 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6568 if test -n "$ac_ct_AR"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6570 $as_echo "$ac_ct_AR" >&6; }
6571 else
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6574 fi
6575
6576 if test "x$ac_ct_AR" = x; then
6577 AR="false"
6578 else
6579 case $cross_compiling:$ac_tool_warned in
6580 yes:)
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583 ac_tool_warned=yes ;;
6584 esac
6585 AR=$ac_ct_AR
6586 fi
6587 else
6588 AR="$ac_cv_prog_AR"
6589 fi
6590
6591 test -z "$AR" && AR=ar
6592 test -z "$AR_FLAGS" && AR_FLAGS=cru
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604 if test -n "$ac_tool_prefix"; then
6605 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6606 set dummy ${ac_tool_prefix}strip; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if test "${ac_cv_prog_STRIP+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$STRIP"; then
6613 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6617 do
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6625 fi
6626 done
6627 done
6628 IFS=$as_save_IFS
6629
6630 fi
6631 fi
6632 STRIP=$ac_cv_prog_STRIP
6633 if test -n "$STRIP"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6635 $as_echo "$STRIP" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6639 fi
6640
6641
6642 fi
6643 if test -z "$ac_cv_prog_STRIP"; then
6644 ac_ct_STRIP=$STRIP
6645 # Extract the first word of "strip", so it can be a program name with args.
6646 set dummy strip; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6652 if test -n "$ac_ct_STRIP"; then
6653 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6657 do
6658 IFS=$as_save_IFS
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6662 ac_cv_prog_ac_ct_STRIP="strip"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 break 2
6665 fi
6666 done
6667 done
6668 IFS=$as_save_IFS
6669
6670 fi
6671 fi
6672 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6673 if test -n "$ac_ct_STRIP"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6675 $as_echo "$ac_ct_STRIP" >&6; }
6676 else
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6679 fi
6680
6681 if test "x$ac_ct_STRIP" = x; then
6682 STRIP=":"
6683 else
6684 case $cross_compiling:$ac_tool_warned in
6685 yes:)
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned=yes ;;
6689 esac
6690 STRIP=$ac_ct_STRIP
6691 fi
6692 else
6693 STRIP="$ac_cv_prog_STRIP"
6694 fi
6695
6696 test -z "$STRIP" && STRIP=:
6697
6698
6699
6700
6701
6702
6703 if test -n "$ac_tool_prefix"; then
6704 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6705 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6709 $as_echo_n "(cached) " >&6
6710 else
6711 if test -n "$RANLIB"; then
6712 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6713 else
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 for as_dir in $PATH
6716 do
6717 IFS=$as_save_IFS
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6721 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 break 2
6724 fi
6725 done
6726 done
6727 IFS=$as_save_IFS
6728
6729 fi
6730 fi
6731 RANLIB=$ac_cv_prog_RANLIB
6732 if test -n "$RANLIB"; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6734 $as_echo "$RANLIB" >&6; }
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 $as_echo "no" >&6; }
6738 fi
6739
6740
6741 fi
6742 if test -z "$ac_cv_prog_RANLIB"; then
6743 ac_ct_RANLIB=$RANLIB
6744 # Extract the first word of "ranlib", so it can be a program name with args.
6745 set dummy ranlib; ac_word=$2
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747 $as_echo_n "checking for $ac_word... " >&6; }
6748 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6749 $as_echo_n "(cached) " >&6
6750 else
6751 if test -n "$ac_ct_RANLIB"; then
6752 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6753 else
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH
6756 do
6757 IFS=$as_save_IFS
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_ac_ct_RANLIB="ranlib"
6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 break 2
6764 fi
6765 done
6766 done
6767 IFS=$as_save_IFS
6768
6769 fi
6770 fi
6771 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6772 if test -n "$ac_ct_RANLIB"; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6774 $as_echo "$ac_ct_RANLIB" >&6; }
6775 else
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777 $as_echo "no" >&6; }
6778 fi
6779
6780 if test "x$ac_ct_RANLIB" = x; then
6781 RANLIB=":"
6782 else
6783 case $cross_compiling:$ac_tool_warned in
6784 yes:)
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6787 ac_tool_warned=yes ;;
6788 esac
6789 RANLIB=$ac_ct_RANLIB
6790 fi
6791 else
6792 RANLIB="$ac_cv_prog_RANLIB"
6793 fi
6794
6795 test -z "$RANLIB" && RANLIB=:
6796
6797
6798
6799
6800
6801
6802 # Determine commands to create old-style static archives.
6803 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6804 old_postinstall_cmds='chmod 644 $oldlib'
6805 old_postuninstall_cmds=
6806
6807 if test -n "$RANLIB"; then
6808 case $host_os in
6809 openbsd*)
6810 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6811 ;;
6812 *)
6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6814 ;;
6815 esac
6816 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6817 fi
6818
6819 case $host_os in
6820 darwin*)
6821 lock_old_archive_extraction=yes ;;
6822 *)
6823 lock_old_archive_extraction=no ;;
6824 esac
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864 # If no C compiler was specified, use CC.
6865 LTCC=${LTCC-"$CC"}
6866
6867 # If no C compiler flags were specified, use CFLAGS.
6868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6869
6870 # Allow CC to be a program name with arguments.
6871 compiler=$CC
6872
6873
6874 # Check for command to grab the raw symbol name followed by C symbol from nm.
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6876 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6877 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6880
6881 # These are sane defaults that work on at least a few old systems.
6882 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6883
6884 # Character class describing NM global symbol codes.
6885 symcode='[BCDEGRST]'
6886
6887 # Regexp to match symbols that can be accessed directly from C.
6888 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6889
6890 # Define system-specific variables.
6891 case $host_os in
6892 aix*)
6893 symcode='[BCDT]'
6894 ;;
6895 cygwin* | mingw* | pw32* | cegcc*)
6896 symcode='[ABCDGISTW]'
6897 ;;
6898 hpux*)
6899 if test "$host_cpu" = ia64; then
6900 symcode='[ABCDEGRST]'
6901 fi
6902 ;;
6903 irix* | nonstopux*)
6904 symcode='[BCDEGRST]'
6905 ;;
6906 osf*)
6907 symcode='[BCDEGQRST]'
6908 ;;
6909 solaris*)
6910 symcode='[BDRT]'
6911 ;;
6912 sco3.2v5*)
6913 symcode='[DT]'
6914 ;;
6915 sysv4.2uw2*)
6916 symcode='[DT]'
6917 ;;
6918 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6919 symcode='[ABDT]'
6920 ;;
6921 sysv4)
6922 symcode='[DFNSTU]'
6923 ;;
6924 esac
6925
6926 # If we're using GNU nm, then use its standard symbol codes.
6927 case `$NM -V 2>&1` in
6928 *GNU* | *'with BFD'*)
6929 symcode='[ABCDGIRSTW]' ;;
6930 esac
6931
6932 # Transform an extracted symbol line into a proper C declaration.
6933 # Some systems (esp. on ia64) link data and code symbols differently,
6934 # so use this general approach.
6935 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6936
6937 # Transform an extracted symbol line into symbol name and symbol address
6938 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6939 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'"
6940
6941 # Handle CRLF in mingw tool chain
6942 opt_cr=
6943 case $build_os in
6944 mingw*)
6945 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6946 ;;
6947 esac
6948
6949 # Try without a prefix underscore, then with it.
6950 for ac_symprfx in "" "_"; do
6951
6952 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6953 symxfrm="\\1 $ac_symprfx\\2 \\2"
6954
6955 # Write the raw and C identifiers.
6956 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6957 # Fake it for dumpbin and say T for any non-static function
6958 # and D for any global variable.
6959 # Also find C++ and __fastcall symbols from MSVC++,
6960 # which start with @ or ?.
6961 lt_cv_sys_global_symbol_pipe="$AWK '"\
6962 " {last_section=section; section=\$ 3};"\
6963 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6964 " \$ 0!~/External *\|/{next};"\
6965 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6966 " {if(hide[section]) next};"\
6967 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6968 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6969 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6970 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6971 " ' prfx=^$ac_symprfx"
6972 else
6973 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6974 fi
6975
6976 # Check to see that the pipe works correctly.
6977 pipe_works=no
6978
6979 rm -f conftest*
6980 cat > conftest.$ac_ext <<_LT_EOF
6981 #ifdef __cplusplus
6982 extern "C" {
6983 #endif
6984 char nm_test_var;
6985 void nm_test_func(void);
6986 void nm_test_func(void){}
6987 #ifdef __cplusplus
6988 }
6989 #endif
6990 int main(){nm_test_var='a';nm_test_func();return(0);}
6991 _LT_EOF
6992
6993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6994 (eval $ac_compile) 2>&5
6995 ac_status=$?
6996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6997 test $ac_status = 0; }; then
6998 # Now try to grab the symbols.
6999 nlist=conftest.nm
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7001 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7002 ac_status=$?
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; } && test -s "$nlist"; then
7005 # Try sorting and uniquifying the output.
7006 if sort "$nlist" | uniq > "$nlist"T; then
7007 mv -f "$nlist"T "$nlist"
7008 else
7009 rm -f "$nlist"T
7010 fi
7011
7012 # Make sure that we snagged all the symbols we need.
7013 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7014 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7015 cat <<_LT_EOF > conftest.$ac_ext
7016 #ifdef __cplusplus
7017 extern "C" {
7018 #endif
7019
7020 _LT_EOF
7021 # Now generate the symbol file.
7022 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7023
7024 cat <<_LT_EOF >> conftest.$ac_ext
7025
7026 /* The mapping between symbol names and symbols. */
7027 const struct {
7028 const char *name;
7029 void *address;
7030 }
7031 lt__PROGRAM__LTX_preloaded_symbols[] =
7032 {
7033 { "@PROGRAM@", (void *) 0 },
7034 _LT_EOF
7035 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7036 cat <<\_LT_EOF >> conftest.$ac_ext
7037 {0, (void *) 0}
7038 };
7039
7040 /* This works around a problem in FreeBSD linker */
7041 #ifdef FREEBSD_WORKAROUND
7042 static const void *lt_preloaded_setup() {
7043 return lt__PROGRAM__LTX_preloaded_symbols;
7044 }
7045 #endif
7046
7047 #ifdef __cplusplus
7048 }
7049 #endif
7050 _LT_EOF
7051 # Now try linking the two files.
7052 mv conftest.$ac_objext conftstm.$ac_objext
7053 lt_save_LIBS="$LIBS"
7054 lt_save_CFLAGS="$CFLAGS"
7055 LIBS="conftstm.$ac_objext"
7056 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7058 (eval $ac_link) 2>&5
7059 ac_status=$?
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7062 pipe_works=yes
7063 fi
7064 LIBS="$lt_save_LIBS"
7065 CFLAGS="$lt_save_CFLAGS"
7066 else
7067 echo "cannot find nm_test_func in $nlist" >&5
7068 fi
7069 else
7070 echo "cannot find nm_test_var in $nlist" >&5
7071 fi
7072 else
7073 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7074 fi
7075 else
7076 echo "$progname: failed program was:" >&5
7077 cat conftest.$ac_ext >&5
7078 fi
7079 rm -rf conftest* conftst*
7080
7081 # Do not use the global_symbol_pipe unless it works.
7082 if test "$pipe_works" = yes; then
7083 break
7084 else
7085 lt_cv_sys_global_symbol_pipe=
7086 fi
7087 done
7088
7089 fi
7090
7091 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7092 lt_cv_sys_global_symbol_to_cdecl=
7093 fi
7094 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7096 $as_echo "failed" >&6; }
7097 else
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7099 $as_echo "ok" >&6; }
7100 fi
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123 # Check whether --enable-libtool-lock was given.
7124 if test "${enable_libtool_lock+set}" = set; then :
7125 enableval=$enable_libtool_lock;
7126 fi
7127
7128 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7129
7130 # Some flags need to be propagated to the compiler or linker for good
7131 # libtool support.
7132 case $host in
7133 ia64-*-hpux*)
7134 # Find out which ABI we are using.
7135 echo 'int i;' > conftest.$ac_ext
7136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7137 (eval $ac_compile) 2>&5
7138 ac_status=$?
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7140 test $ac_status = 0; }; then
7141 case `/usr/bin/file conftest.$ac_objext` in
7142 *ELF-32*)
7143 HPUX_IA64_MODE="32"
7144 ;;
7145 *ELF-64*)
7146 HPUX_IA64_MODE="64"
7147 ;;
7148 esac
7149 fi
7150 rm -rf conftest*
7151 ;;
7152 *-*-irix6*)
7153 # Find out which ABI we are using.
7154 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7156 (eval $ac_compile) 2>&5
7157 ac_status=$?
7158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7159 test $ac_status = 0; }; then
7160 if test "$lt_cv_prog_gnu_ld" = yes; then
7161 case `/usr/bin/file conftest.$ac_objext` in
7162 *32-bit*)
7163 LD="${LD-ld} -melf32bsmip"
7164 ;;
7165 *N32*)
7166 LD="${LD-ld} -melf32bmipn32"
7167 ;;
7168 *64-bit*)
7169 LD="${LD-ld} -melf64bmip"
7170 ;;
7171 esac
7172 else
7173 case `/usr/bin/file conftest.$ac_objext` in
7174 *32-bit*)
7175 LD="${LD-ld} -32"
7176 ;;
7177 *N32*)
7178 LD="${LD-ld} -n32"
7179 ;;
7180 *64-bit*)
7181 LD="${LD-ld} -64"
7182 ;;
7183 esac
7184 fi
7185 fi
7186 rm -rf conftest*
7187 ;;
7188
7189 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7190 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7191 # Find out which ABI we are using.
7192 echo 'int i;' > conftest.$ac_ext
7193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7194 (eval $ac_compile) 2>&5
7195 ac_status=$?
7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7197 test $ac_status = 0; }; then
7198 case `/usr/bin/file conftest.o` in
7199 *32-bit*)
7200 case $host in
7201 x86_64-*kfreebsd*-gnu)
7202 LD="${LD-ld} -m elf_i386_fbsd"
7203 ;;
7204 x86_64-*linux*)
7205 case `/usr/bin/file conftest.o` in
7206 *x86-64*)
7207 LD="${LD-ld} -m elf32_x86_64"
7208 ;;
7209 *)
7210 LD="${LD-ld} -m elf_i386"
7211 ;;
7212 esac
7213 ;;
7214 powerpc64le-*linux*)
7215 LD="${LD-ld} -m elf32lppclinux"
7216 ;;
7217 powerpc64-*linux*)
7218 LD="${LD-ld} -m elf32ppclinux"
7219 ;;
7220 s390x-*linux*)
7221 LD="${LD-ld} -m elf_s390"
7222 ;;
7223 sparc64-*linux*)
7224 LD="${LD-ld} -m elf32_sparc"
7225 ;;
7226 esac
7227 ;;
7228 *64-bit*)
7229 case $host in
7230 x86_64-*kfreebsd*-gnu)
7231 LD="${LD-ld} -m elf_x86_64_fbsd"
7232 ;;
7233 x86_64-*linux*)
7234 LD="${LD-ld} -m elf_x86_64"
7235 ;;
7236 powerpcle-*linux*)
7237 LD="${LD-ld} -m elf64lppc"
7238 ;;
7239 powerpc-*linux*)
7240 LD="${LD-ld} -m elf64ppc"
7241 ;;
7242 s390*-*linux*|s390*-*tpf*)
7243 LD="${LD-ld} -m elf64_s390"
7244 ;;
7245 sparc*-*linux*)
7246 LD="${LD-ld} -m elf64_sparc"
7247 ;;
7248 esac
7249 ;;
7250 esac
7251 fi
7252 rm -rf conftest*
7253 ;;
7254
7255 *-*-sco3.2v5*)
7256 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7257 SAVE_CFLAGS="$CFLAGS"
7258 CFLAGS="$CFLAGS -belf"
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7260 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7261 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 ac_ext=c
7265 ac_cpp='$CPP $CPPFLAGS'
7266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7269
7270 if test x$gcc_no_link = xyes; then
7271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7272 fi
7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7275
7276 int
7277 main ()
7278 {
7279
7280 ;
7281 return 0;
7282 }
7283 _ACEOF
7284 if ac_fn_c_try_link "$LINENO"; then :
7285 lt_cv_cc_needs_belf=yes
7286 else
7287 lt_cv_cc_needs_belf=no
7288 fi
7289 rm -f core conftest.err conftest.$ac_objext \
7290 conftest$ac_exeext conftest.$ac_ext
7291 ac_ext=c
7292 ac_cpp='$CPP $CPPFLAGS'
7293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7296
7297 fi
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7299 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7300 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7301 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7302 CFLAGS="$SAVE_CFLAGS"
7303 fi
7304 ;;
7305 sparc*-*solaris*)
7306 # Find out which ABI we are using.
7307 echo 'int i;' > conftest.$ac_ext
7308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7309 (eval $ac_compile) 2>&5
7310 ac_status=$?
7311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7312 test $ac_status = 0; }; then
7313 case `/usr/bin/file conftest.o` in
7314 *64-bit*)
7315 case $lt_cv_prog_gnu_ld in
7316 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7317 *)
7318 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7319 LD="${LD-ld} -64"
7320 fi
7321 ;;
7322 esac
7323 ;;
7324 esac
7325 fi
7326 rm -rf conftest*
7327 ;;
7328 esac
7329
7330 need_locks="$enable_libtool_lock"
7331
7332
7333 case $host_os in
7334 rhapsody* | darwin*)
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7341 $as_echo_n "(cached) " >&6
7342 else
7343 if test -n "$DSYMUTIL"; then
7344 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7348 do
7349 IFS=$as_save_IFS
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7353 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 break 2
7356 fi
7357 done
7358 done
7359 IFS=$as_save_IFS
7360
7361 fi
7362 fi
7363 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7364 if test -n "$DSYMUTIL"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7366 $as_echo "$DSYMUTIL" >&6; }
7367 else
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7370 fi
7371
7372
7373 fi
7374 if test -z "$ac_cv_prog_DSYMUTIL"; then
7375 ac_ct_DSYMUTIL=$DSYMUTIL
7376 # Extract the first word of "dsymutil", so it can be a program name with args.
7377 set dummy dsymutil; ac_word=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7381 $as_echo_n "(cached) " >&6
7382 else
7383 if test -n "$ac_ct_DSYMUTIL"; then
7384 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7388 do
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 break 2
7396 fi
7397 done
7398 done
7399 IFS=$as_save_IFS
7400
7401 fi
7402 fi
7403 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7404 if test -n "$ac_ct_DSYMUTIL"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7406 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7407 else
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7410 fi
7411
7412 if test "x$ac_ct_DSYMUTIL" = x; then
7413 DSYMUTIL=":"
7414 else
7415 case $cross_compiling:$ac_tool_warned in
7416 yes:)
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned=yes ;;
7420 esac
7421 DSYMUTIL=$ac_ct_DSYMUTIL
7422 fi
7423 else
7424 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7425 fi
7426
7427 if test -n "$ac_tool_prefix"; then
7428 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7429 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431 $as_echo_n "checking for $ac_word... " >&6; }
7432 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7433 $as_echo_n "(cached) " >&6
7434 else
7435 if test -n "$NMEDIT"; then
7436 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7440 do
7441 IFS=$as_save_IFS
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7445 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 break 2
7448 fi
7449 done
7450 done
7451 IFS=$as_save_IFS
7452
7453 fi
7454 fi
7455 NMEDIT=$ac_cv_prog_NMEDIT
7456 if test -n "$NMEDIT"; then
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7458 $as_echo "$NMEDIT" >&6; }
7459 else
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7462 fi
7463
7464
7465 fi
7466 if test -z "$ac_cv_prog_NMEDIT"; then
7467 ac_ct_NMEDIT=$NMEDIT
7468 # Extract the first word of "nmedit", so it can be a program name with args.
7469 set dummy nmedit; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 if test -n "$ac_ct_NMEDIT"; then
7476 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7477 else
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 for as_dir in $PATH
7480 do
7481 IFS=$as_save_IFS
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 break 2
7488 fi
7489 done
7490 done
7491 IFS=$as_save_IFS
7492
7493 fi
7494 fi
7495 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7496 if test -n "$ac_ct_NMEDIT"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7498 $as_echo "$ac_ct_NMEDIT" >&6; }
7499 else
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7502 fi
7503
7504 if test "x$ac_ct_NMEDIT" = x; then
7505 NMEDIT=":"
7506 else
7507 case $cross_compiling:$ac_tool_warned in
7508 yes:)
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7511 ac_tool_warned=yes ;;
7512 esac
7513 NMEDIT=$ac_ct_NMEDIT
7514 fi
7515 else
7516 NMEDIT="$ac_cv_prog_NMEDIT"
7517 fi
7518
7519 if test -n "$ac_tool_prefix"; then
7520 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7521 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7523 $as_echo_n "checking for $ac_word... " >&6; }
7524 if test "${ac_cv_prog_LIPO+set}" = set; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 if test -n "$LIPO"; then
7528 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7529 else
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 for as_dir in $PATH
7532 do
7533 IFS=$as_save_IFS
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7537 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 break 2
7540 fi
7541 done
7542 done
7543 IFS=$as_save_IFS
7544
7545 fi
7546 fi
7547 LIPO=$ac_cv_prog_LIPO
7548 if test -n "$LIPO"; then
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7550 $as_echo "$LIPO" >&6; }
7551 else
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7553 $as_echo "no" >&6; }
7554 fi
7555
7556
7557 fi
7558 if test -z "$ac_cv_prog_LIPO"; then
7559 ac_ct_LIPO=$LIPO
7560 # Extract the first word of "lipo", so it can be a program name with args.
7561 set dummy lipo; ac_word=$2
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7563 $as_echo_n "checking for $ac_word... " >&6; }
7564 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7565 $as_echo_n "(cached) " >&6
7566 else
7567 if test -n "$ac_ct_LIPO"; then
7568 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7569 else
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 for as_dir in $PATH
7572 do
7573 IFS=$as_save_IFS
7574 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 ac_cv_prog_ac_ct_LIPO="lipo"
7578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 break 2
7580 fi
7581 done
7582 done
7583 IFS=$as_save_IFS
7584
7585 fi
7586 fi
7587 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7588 if test -n "$ac_ct_LIPO"; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7590 $as_echo "$ac_ct_LIPO" >&6; }
7591 else
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }
7594 fi
7595
7596 if test "x$ac_ct_LIPO" = x; then
7597 LIPO=":"
7598 else
7599 case $cross_compiling:$ac_tool_warned in
7600 yes:)
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7603 ac_tool_warned=yes ;;
7604 esac
7605 LIPO=$ac_ct_LIPO
7606 fi
7607 else
7608 LIPO="$ac_cv_prog_LIPO"
7609 fi
7610
7611 if test -n "$ac_tool_prefix"; then
7612 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7613 set dummy ${ac_tool_prefix}otool; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7617 $as_echo_n "(cached) " >&6
7618 else
7619 if test -n "$OTOOL"; then
7620 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7621 else
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 for as_dir in $PATH
7624 do
7625 IFS=$as_save_IFS
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 break 2
7632 fi
7633 done
7634 done
7635 IFS=$as_save_IFS
7636
7637 fi
7638 fi
7639 OTOOL=$ac_cv_prog_OTOOL
7640 if test -n "$OTOOL"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7642 $as_echo "$OTOOL" >&6; }
7643 else
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7646 fi
7647
7648
7649 fi
7650 if test -z "$ac_cv_prog_OTOOL"; then
7651 ac_ct_OTOOL=$OTOOL
7652 # Extract the first word of "otool", so it can be a program name with args.
7653 set dummy otool; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655 $as_echo_n "checking for $ac_word... " >&6; }
7656 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7657 $as_echo_n "(cached) " >&6
7658 else
7659 if test -n "$ac_ct_OTOOL"; then
7660 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7661 else
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 for as_dir in $PATH
7664 do
7665 IFS=$as_save_IFS
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669 ac_cv_prog_ac_ct_OTOOL="otool"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 break 2
7672 fi
7673 done
7674 done
7675 IFS=$as_save_IFS
7676
7677 fi
7678 fi
7679 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7680 if test -n "$ac_ct_OTOOL"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7682 $as_echo "$ac_ct_OTOOL" >&6; }
7683 else
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7686 fi
7687
7688 if test "x$ac_ct_OTOOL" = x; then
7689 OTOOL=":"
7690 else
7691 case $cross_compiling:$ac_tool_warned in
7692 yes:)
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7695 ac_tool_warned=yes ;;
7696 esac
7697 OTOOL=$ac_ct_OTOOL
7698 fi
7699 else
7700 OTOOL="$ac_cv_prog_OTOOL"
7701 fi
7702
7703 if test -n "$ac_tool_prefix"; then
7704 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7705 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 $as_echo_n "checking for $ac_word... " >&6; }
7708 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 if test -n "$OTOOL64"; then
7712 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7713 else
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715 for as_dir in $PATH
7716 do
7717 IFS=$as_save_IFS
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7721 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 break 2
7724 fi
7725 done
7726 done
7727 IFS=$as_save_IFS
7728
7729 fi
7730 fi
7731 OTOOL64=$ac_cv_prog_OTOOL64
7732 if test -n "$OTOOL64"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7734 $as_echo "$OTOOL64" >&6; }
7735 else
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7738 fi
7739
7740
7741 fi
7742 if test -z "$ac_cv_prog_OTOOL64"; then
7743 ac_ct_OTOOL64=$OTOOL64
7744 # Extract the first word of "otool64", so it can be a program name with args.
7745 set dummy otool64; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 if test -n "$ac_ct_OTOOL64"; then
7752 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7753 else
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 for as_dir in $PATH
7756 do
7757 IFS=$as_save_IFS
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_ac_ct_OTOOL64="otool64"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 break 2
7764 fi
7765 done
7766 done
7767 IFS=$as_save_IFS
7768
7769 fi
7770 fi
7771 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7772 if test -n "$ac_ct_OTOOL64"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7774 $as_echo "$ac_ct_OTOOL64" >&6; }
7775 else
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7778 fi
7779
7780 if test "x$ac_ct_OTOOL64" = x; then
7781 OTOOL64=":"
7782 else
7783 case $cross_compiling:$ac_tool_warned in
7784 yes:)
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7787 ac_tool_warned=yes ;;
7788 esac
7789 OTOOL64=$ac_ct_OTOOL64
7790 fi
7791 else
7792 OTOOL64="$ac_cv_prog_OTOOL64"
7793 fi
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7822 $as_echo_n "checking for -single_module linker flag... " >&6; }
7823 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7825 else
7826 lt_cv_apple_cc_single_mod=no
7827 if test -z "${LT_MULTI_MODULE}"; then
7828 # By default we will add the -single_module flag. You can override
7829 # by either setting the environment variable LT_MULTI_MODULE
7830 # non-empty at configure time, or by adding -multi_module to the
7831 # link flags.
7832 rm -rf libconftest.dylib*
7833 echo "int foo(void){return 1;}" > conftest.c
7834 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7835 -dynamiclib -Wl,-single_module conftest.c" >&5
7836 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7838 _lt_result=$?
7839 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7840 lt_cv_apple_cc_single_mod=yes
7841 else
7842 cat conftest.err >&5
7843 fi
7844 rm -rf libconftest.dylib*
7845 rm -f conftest.*
7846 fi
7847 fi
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7849 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7851 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7852 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7853 $as_echo_n "(cached) " >&6
7854 else
7855 lt_cv_ld_exported_symbols_list=no
7856 save_LDFLAGS=$LDFLAGS
7857 echo "_main" > conftest.sym
7858 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7859 if test x$gcc_no_link = xyes; then
7860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7861 fi
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7864
7865 int
7866 main ()
7867 {
7868
7869 ;
7870 return 0;
7871 }
7872 _ACEOF
7873 if ac_fn_c_try_link "$LINENO"; then :
7874 lt_cv_ld_exported_symbols_list=yes
7875 else
7876 lt_cv_ld_exported_symbols_list=no
7877 fi
7878 rm -f core conftest.err conftest.$ac_objext \
7879 conftest$ac_exeext conftest.$ac_ext
7880 LDFLAGS="$save_LDFLAGS"
7881
7882 fi
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7884 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7886 $as_echo_n "checking for -force_load linker flag... " >&6; }
7887 if test "${lt_cv_ld_force_load+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 lt_cv_ld_force_load=no
7891 cat > conftest.c << _LT_EOF
7892 int forced_loaded() { return 2;}
7893 _LT_EOF
7894 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7895 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7896 echo "$AR cru libconftest.a conftest.o" >&5
7897 $AR cru libconftest.a conftest.o 2>&5
7898 cat > conftest.c << _LT_EOF
7899 int main() { return 0;}
7900 _LT_EOF
7901 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7902 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7903 _lt_result=$?
7904 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7905 lt_cv_ld_force_load=yes
7906 else
7907 cat conftest.err >&5
7908 fi
7909 rm -f conftest.err libconftest.a conftest conftest.c
7910 rm -rf conftest.dSYM
7911
7912 fi
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7914 $as_echo "$lt_cv_ld_force_load" >&6; }
7915 case $host_os in
7916 rhapsody* | darwin1.[012])
7917 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7918 darwin1.*)
7919 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7920 darwin*) # darwin 5.x on
7921 # if running on 10.5 or later, the deployment target defaults
7922 # to the OS version, if on x86, and 10.4, the deployment
7923 # target defaults to 10.4. Don't you love it?
7924 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7925 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7926 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7927 10.[012][,.]*)
7928 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7929 10.*)
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7931 esac
7932 ;;
7933 esac
7934 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7935 _lt_dar_single_mod='$single_module'
7936 fi
7937 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7938 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7939 else
7940 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7941 fi
7942 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7943 _lt_dsymutil='~$DSYMUTIL $lib || :'
7944 else
7945 _lt_dsymutil=
7946 fi
7947 ;;
7948 esac
7949
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7951 $as_echo_n "checking for ANSI C header files... " >&6; }
7952 if test "${ac_cv_header_stdc+set}" = set; then :
7953 $as_echo_n "(cached) " >&6
7954 else
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7957 #include <stdlib.h>
7958 #include <stdarg.h>
7959 #include <string.h>
7960 #include <float.h>
7961
7962 int
7963 main ()
7964 {
7965
7966 ;
7967 return 0;
7968 }
7969 _ACEOF
7970 if ac_fn_c_try_compile "$LINENO"; then :
7971 ac_cv_header_stdc=yes
7972 else
7973 ac_cv_header_stdc=no
7974 fi
7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7976
7977 if test $ac_cv_header_stdc = yes; then
7978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7981 #include <string.h>
7982
7983 _ACEOF
7984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7985 $EGREP "memchr" >/dev/null 2>&1; then :
7986
7987 else
7988 ac_cv_header_stdc=no
7989 fi
7990 rm -f conftest*
7991
7992 fi
7993
7994 if test $ac_cv_header_stdc = yes; then
7995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 #include <stdlib.h>
7999
8000 _ACEOF
8001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8002 $EGREP "free" >/dev/null 2>&1; then :
8003
8004 else
8005 ac_cv_header_stdc=no
8006 fi
8007 rm -f conftest*
8008
8009 fi
8010
8011 if test $ac_cv_header_stdc = yes; then
8012 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8013 if test "$cross_compiling" = yes; then :
8014 :
8015 else
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 #include <ctype.h>
8019 #include <stdlib.h>
8020 #if ((' ' & 0x0FF) == 0x020)
8021 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8022 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8023 #else
8024 # define ISLOWER(c) \
8025 (('a' <= (c) && (c) <= 'i') \
8026 || ('j' <= (c) && (c) <= 'r') \
8027 || ('s' <= (c) && (c) <= 'z'))
8028 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8029 #endif
8030
8031 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8032 int
8033 main ()
8034 {
8035 int i;
8036 for (i = 0; i < 256; i++)
8037 if (XOR (islower (i), ISLOWER (i))
8038 || toupper (i) != TOUPPER (i))
8039 return 2;
8040 return 0;
8041 }
8042 _ACEOF
8043 if ac_fn_c_try_run "$LINENO"; then :
8044
8045 else
8046 ac_cv_header_stdc=no
8047 fi
8048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8049 conftest.$ac_objext conftest.beam conftest.$ac_ext
8050 fi
8051
8052 fi
8053 fi
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8055 $as_echo "$ac_cv_header_stdc" >&6; }
8056 if test $ac_cv_header_stdc = yes; then
8057
8058 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8059
8060 fi
8061
8062 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8064 inttypes.h stdint.h unistd.h
8065 do :
8066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8067 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8068 "
8069 eval as_val=\$$as_ac_Header
8070 if test "x$as_val" = x""yes; then :
8071 cat >>confdefs.h <<_ACEOF
8072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8073 _ACEOF
8074
8075 fi
8076
8077 done
8078
8079
8080 for ac_header in dlfcn.h
8081 do :
8082 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8083 "
8084 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8085 cat >>confdefs.h <<_ACEOF
8086 #define HAVE_DLFCN_H 1
8087 _ACEOF
8088
8089 fi
8090
8091 done
8092
8093
8094
8095
8096
8097
8098 # Set options
8099
8100
8101
8102
8103 enable_win32_dll=no
8104
8105
8106 # Check whether --enable-shared was given.
8107 if test "${enable_shared+set}" = set; then :
8108 enableval=$enable_shared; p=${PACKAGE-default}
8109 case $enableval in
8110 yes) enable_shared=yes ;;
8111 no) enable_shared=no ;;
8112 *)
8113 enable_shared=no
8114 # Look at the argument we got. We use all the common list separators.
8115 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8116 for pkg in $enableval; do
8117 IFS="$lt_save_ifs"
8118 if test "X$pkg" = "X$p"; then
8119 enable_shared=yes
8120 fi
8121 done
8122 IFS="$lt_save_ifs"
8123 ;;
8124 esac
8125 else
8126 enable_shared=yes
8127 fi
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137 # Check whether --enable-static was given.
8138 if test "${enable_static+set}" = set; then :
8139 enableval=$enable_static; p=${PACKAGE-default}
8140 case $enableval in
8141 yes) enable_static=yes ;;
8142 no) enable_static=no ;;
8143 *)
8144 enable_static=no
8145 # Look at the argument we got. We use all the common list separators.
8146 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8147 for pkg in $enableval; do
8148 IFS="$lt_save_ifs"
8149 if test "X$pkg" = "X$p"; then
8150 enable_static=yes
8151 fi
8152 done
8153 IFS="$lt_save_ifs"
8154 ;;
8155 esac
8156 else
8157 enable_static=yes
8158 fi
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169 # Check whether --with-pic was given.
8170 if test "${with_pic+set}" = set; then :
8171 withval=$with_pic; pic_mode="$withval"
8172 else
8173 pic_mode=default
8174 fi
8175
8176
8177 test -z "$pic_mode" && pic_mode=default
8178
8179
8180
8181
8182
8183
8184
8185 # Check whether --enable-fast-install was given.
8186 if test "${enable_fast_install+set}" = set; then :
8187 enableval=$enable_fast_install; p=${PACKAGE-default}
8188 case $enableval in
8189 yes) enable_fast_install=yes ;;
8190 no) enable_fast_install=no ;;
8191 *)
8192 enable_fast_install=no
8193 # Look at the argument we got. We use all the common list separators.
8194 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8195 for pkg in $enableval; do
8196 IFS="$lt_save_ifs"
8197 if test "X$pkg" = "X$p"; then
8198 enable_fast_install=yes
8199 fi
8200 done
8201 IFS="$lt_save_ifs"
8202 ;;
8203 esac
8204 else
8205 enable_fast_install=yes
8206 fi
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218 # This can be used to rebuild libtool when needed
8219 LIBTOOL_DEPS="$ltmain"
8220
8221 # Always use our own libtool.
8222 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249 test -z "$LN_S" && LN_S="ln -s"
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264 if test -n "${ZSH_VERSION+set}" ; then
8265 setopt NO_GLOB_SUBST
8266 fi
8267
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8269 $as_echo_n "checking for objdir... " >&6; }
8270 if test "${lt_cv_objdir+set}" = set; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 rm -f .libs 2>/dev/null
8274 mkdir .libs 2>/dev/null
8275 if test -d .libs; then
8276 lt_cv_objdir=.libs
8277 else
8278 # MS-DOS does not allow filenames that begin with a dot.
8279 lt_cv_objdir=_libs
8280 fi
8281 rmdir .libs 2>/dev/null
8282 fi
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8284 $as_echo "$lt_cv_objdir" >&6; }
8285 objdir=$lt_cv_objdir
8286
8287
8288
8289
8290
8291 cat >>confdefs.h <<_ACEOF
8292 #define LT_OBJDIR "$lt_cv_objdir/"
8293 _ACEOF
8294
8295
8296
8297
8298 case $host_os in
8299 aix3*)
8300 # AIX sometimes has problems with the GCC collect2 program. For some
8301 # reason, if we set the COLLECT_NAMES environment variable, the problems
8302 # vanish in a puff of smoke.
8303 if test "X${COLLECT_NAMES+set}" != Xset; then
8304 COLLECT_NAMES=
8305 export COLLECT_NAMES
8306 fi
8307 ;;
8308 esac
8309
8310 # Global variables:
8311 ofile=libtool
8312 can_build_shared=yes
8313
8314 # All known linkers require a `.a' archive for static linking (except MSVC,
8315 # which needs '.lib').
8316 libext=a
8317
8318 with_gnu_ld="$lt_cv_prog_gnu_ld"
8319
8320 old_CC="$CC"
8321 old_CFLAGS="$CFLAGS"
8322
8323 # Set sane defaults for various variables
8324 test -z "$CC" && CC=cc
8325 test -z "$LTCC" && LTCC=$CC
8326 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8327 test -z "$LD" && LD=ld
8328 test -z "$ac_objext" && ac_objext=o
8329
8330 for cc_temp in $compiler""; do
8331 case $cc_temp in
8332 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8333 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8334 \-*) ;;
8335 *) break;;
8336 esac
8337 done
8338 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8339
8340
8341 # Only perform the check for file, if the check method requires it
8342 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8343 case $deplibs_check_method in
8344 file_magic*)
8345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8347 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8348 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 case $MAGIC_CMD in
8352 [\\/*] | ?:[\\/]*)
8353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 ;;
8355 *)
8356 lt_save_MAGIC_CMD="$MAGIC_CMD"
8357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8358 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8359 for ac_dir in $ac_dummy; do
8360 IFS="$lt_save_ifs"
8361 test -z "$ac_dir" && ac_dir=.
8362 if test -f $ac_dir/${ac_tool_prefix}file; then
8363 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8364 if test -n "$file_magic_test_file"; then
8365 case $deplibs_check_method in
8366 "file_magic "*)
8367 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8368 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8369 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8370 $EGREP "$file_magic_regex" > /dev/null; then
8371 :
8372 else
8373 cat <<_LT_EOF 1>&2
8374
8375 *** Warning: the command libtool uses to detect shared libraries,
8376 *** $file_magic_cmd, produces output that libtool cannot recognize.
8377 *** The result is that libtool may fail to recognize shared libraries
8378 *** as such. This will affect the creation of libtool libraries that
8379 *** depend on shared libraries, but programs linked with such libtool
8380 *** libraries will work regardless of this problem. Nevertheless, you
8381 *** may want to report the problem to your system manager and/or to
8382 *** bug-libtool@gnu.org
8383
8384 _LT_EOF
8385 fi ;;
8386 esac
8387 fi
8388 break
8389 fi
8390 done
8391 IFS="$lt_save_ifs"
8392 MAGIC_CMD="$lt_save_MAGIC_CMD"
8393 ;;
8394 esac
8395 fi
8396
8397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8398 if test -n "$MAGIC_CMD"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8400 $as_echo "$MAGIC_CMD" >&6; }
8401 else
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8403 $as_echo "no" >&6; }
8404 fi
8405
8406
8407
8408
8409
8410 if test -z "$lt_cv_path_MAGIC_CMD"; then
8411 if test -n "$ac_tool_prefix"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8413 $as_echo_n "checking for file... " >&6; }
8414 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 case $MAGIC_CMD in
8418 [\\/*] | ?:[\\/]*)
8419 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8420 ;;
8421 *)
8422 lt_save_MAGIC_CMD="$MAGIC_CMD"
8423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8424 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8425 for ac_dir in $ac_dummy; do
8426 IFS="$lt_save_ifs"
8427 test -z "$ac_dir" && ac_dir=.
8428 if test -f $ac_dir/file; then
8429 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8430 if test -n "$file_magic_test_file"; then
8431 case $deplibs_check_method in
8432 "file_magic "*)
8433 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8435 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8436 $EGREP "$file_magic_regex" > /dev/null; then
8437 :
8438 else
8439 cat <<_LT_EOF 1>&2
8440
8441 *** Warning: the command libtool uses to detect shared libraries,
8442 *** $file_magic_cmd, produces output that libtool cannot recognize.
8443 *** The result is that libtool may fail to recognize shared libraries
8444 *** as such. This will affect the creation of libtool libraries that
8445 *** depend on shared libraries, but programs linked with such libtool
8446 *** libraries will work regardless of this problem. Nevertheless, you
8447 *** may want to report the problem to your system manager and/or to
8448 *** bug-libtool@gnu.org
8449
8450 _LT_EOF
8451 fi ;;
8452 esac
8453 fi
8454 break
8455 fi
8456 done
8457 IFS="$lt_save_ifs"
8458 MAGIC_CMD="$lt_save_MAGIC_CMD"
8459 ;;
8460 esac
8461 fi
8462
8463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8464 if test -n "$MAGIC_CMD"; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8466 $as_echo "$MAGIC_CMD" >&6; }
8467 else
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8469 $as_echo "no" >&6; }
8470 fi
8471
8472
8473 else
8474 MAGIC_CMD=:
8475 fi
8476 fi
8477
8478 fi
8479 ;;
8480 esac
8481
8482 # Use C for the default configuration in the libtool script
8483
8484 lt_save_CC="$CC"
8485 ac_ext=c
8486 ac_cpp='$CPP $CPPFLAGS'
8487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8490
8491
8492 # Source file extension for C test sources.
8493 ac_ext=c
8494
8495 # Object file extension for compiled C test sources.
8496 objext=o
8497 objext=$objext
8498
8499 # Code to be used in simple compile tests
8500 lt_simple_compile_test_code="int some_variable = 0;"
8501
8502 # Code to be used in simple link tests
8503 lt_simple_link_test_code='int main(){return(0);}'
8504
8505
8506
8507
8508
8509
8510
8511 # If no C compiler was specified, use CC.
8512 LTCC=${LTCC-"$CC"}
8513
8514 # If no C compiler flags were specified, use CFLAGS.
8515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8516
8517 # Allow CC to be a program name with arguments.
8518 compiler=$CC
8519
8520 # Save the default compiler, since it gets overwritten when the other
8521 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8522 compiler_DEFAULT=$CC
8523
8524 # save warnings/boilerplate of simple test code
8525 ac_outfile=conftest.$ac_objext
8526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8528 _lt_compiler_boilerplate=`cat conftest.err`
8529 $RM conftest*
8530
8531 ac_outfile=conftest.$ac_objext
8532 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8534 _lt_linker_boilerplate=`cat conftest.err`
8535 $RM -r conftest*
8536
8537
8538 ## CAVEAT EMPTOR:
8539 ## There is no encapsulation within the following macros, do not change
8540 ## the running order or otherwise move them around unless you know exactly
8541 ## what you are doing...
8542 if test -n "$compiler"; then
8543
8544 lt_prog_compiler_no_builtin_flag=
8545
8546 if test "$GCC" = yes; then
8547 case $cc_basename in
8548 nvcc*)
8549 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8550 *)
8551 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8552 esac
8553
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8555 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8556 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 lt_cv_prog_compiler_rtti_exceptions=no
8560 ac_outfile=conftest.$ac_objext
8561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8562 lt_compiler_flag="-fno-rtti -fno-exceptions"
8563 # Insert the option either (1) after the last *FLAGS variable, or
8564 # (2) before a word containing "conftest.", or (3) at the end.
8565 # Note that $ac_compile itself does not contain backslashes and begins
8566 # with a dollar sign (not a hyphen), so the echo should work correctly.
8567 # The option is referenced via a variable to avoid confusing sed.
8568 lt_compile=`echo "$ac_compile" | $SED \
8569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8571 -e 's:$: $lt_compiler_flag:'`
8572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8573 (eval "$lt_compile" 2>conftest.err)
8574 ac_status=$?
8575 cat conftest.err >&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 if (exit $ac_status) && test -s "$ac_outfile"; then
8578 # The compiler can only warn and ignore the option if not recognized
8579 # So say no if there are warnings other than the usual output.
8580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8581 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8582 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8583 lt_cv_prog_compiler_rtti_exceptions=yes
8584 fi
8585 fi
8586 $RM conftest*
8587
8588 fi
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8590 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8591
8592 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8593 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8594 else
8595 :
8596 fi
8597
8598 fi
8599
8600
8601
8602
8603
8604
8605 lt_prog_compiler_wl=
8606 lt_prog_compiler_pic=
8607 lt_prog_compiler_static=
8608
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8610 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8611
8612 if test "$GCC" = yes; then
8613 lt_prog_compiler_wl='-Wl,'
8614 lt_prog_compiler_static='-static'
8615
8616 case $host_os in
8617 aix*)
8618 # All AIX code is PIC.
8619 if test "$host_cpu" = ia64; then
8620 # AIX 5 now supports IA64 processor
8621 lt_prog_compiler_static='-Bstatic'
8622 fi
8623 lt_prog_compiler_pic='-fPIC'
8624 ;;
8625
8626 amigaos*)
8627 case $host_cpu in
8628 powerpc)
8629 # see comment about AmigaOS4 .so support
8630 lt_prog_compiler_pic='-fPIC'
8631 ;;
8632 m68k)
8633 # FIXME: we need at least 68020 code to build shared libraries, but
8634 # adding the `-m68020' flag to GCC prevents building anything better,
8635 # like `-m68040'.
8636 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8637 ;;
8638 esac
8639 ;;
8640
8641 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8642 # PIC is the default for these OSes.
8643 ;;
8644
8645 mingw* | cygwin* | pw32* | os2* | cegcc*)
8646 # This hack is so that the source file can tell whether it is being
8647 # built for inclusion in a dll (and should export symbols for example).
8648 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8649 # (--disable-auto-import) libraries
8650 lt_prog_compiler_pic='-DDLL_EXPORT'
8651 ;;
8652
8653 darwin* | rhapsody*)
8654 # PIC is the default on this platform
8655 # Common symbols not allowed in MH_DYLIB files
8656 lt_prog_compiler_pic='-fno-common'
8657 ;;
8658
8659 haiku*)
8660 # PIC is the default for Haiku.
8661 # The "-static" flag exists, but is broken.
8662 lt_prog_compiler_static=
8663 ;;
8664
8665 hpux*)
8666 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8667 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8668 # sets the default TLS model and affects inlining.
8669 case $host_cpu in
8670 hppa*64*)
8671 # +Z the default
8672 ;;
8673 *)
8674 lt_prog_compiler_pic='-fPIC'
8675 ;;
8676 esac
8677 ;;
8678
8679 interix[3-9]*)
8680 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8681 # Instead, we relocate shared libraries at runtime.
8682 ;;
8683
8684 msdosdjgpp*)
8685 # Just because we use GCC doesn't mean we suddenly get shared libraries
8686 # on systems that don't support them.
8687 lt_prog_compiler_can_build_shared=no
8688 enable_shared=no
8689 ;;
8690
8691 *nto* | *qnx*)
8692 # QNX uses GNU C++, but need to define -shared option too, otherwise
8693 # it will coredump.
8694 lt_prog_compiler_pic='-fPIC -shared'
8695 ;;
8696
8697 sysv4*MP*)
8698 if test -d /usr/nec; then
8699 lt_prog_compiler_pic=-Kconform_pic
8700 fi
8701 ;;
8702
8703 *)
8704 lt_prog_compiler_pic='-fPIC'
8705 ;;
8706 esac
8707
8708 case $cc_basename in
8709 nvcc*) # Cuda Compiler Driver 2.2
8710 lt_prog_compiler_wl='-Xlinker '
8711 lt_prog_compiler_pic='-Xcompiler -fPIC'
8712 ;;
8713 esac
8714 else
8715 # PORTME Check for flag to pass linker flags through the system compiler.
8716 case $host_os in
8717 aix*)
8718 lt_prog_compiler_wl='-Wl,'
8719 if test "$host_cpu" = ia64; then
8720 # AIX 5 now supports IA64 processor
8721 lt_prog_compiler_static='-Bstatic'
8722 else
8723 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8724 fi
8725 ;;
8726
8727 mingw* | cygwin* | pw32* | os2* | cegcc*)
8728 # This hack is so that the source file can tell whether it is being
8729 # built for inclusion in a dll (and should export symbols for example).
8730 lt_prog_compiler_pic='-DDLL_EXPORT'
8731 ;;
8732
8733 hpux9* | hpux10* | hpux11*)
8734 lt_prog_compiler_wl='-Wl,'
8735 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8736 # not for PA HP-UX.
8737 case $host_cpu in
8738 hppa*64*|ia64*)
8739 # +Z the default
8740 ;;
8741 *)
8742 lt_prog_compiler_pic='+Z'
8743 ;;
8744 esac
8745 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8746 lt_prog_compiler_static='${wl}-a ${wl}archive'
8747 ;;
8748
8749 irix5* | irix6* | nonstopux*)
8750 lt_prog_compiler_wl='-Wl,'
8751 # PIC (with -KPIC) is the default.
8752 lt_prog_compiler_static='-non_shared'
8753 ;;
8754
8755 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8756 case $cc_basename in
8757 # old Intel for x86_64 which still supported -KPIC.
8758 ecc*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-static'
8762 ;;
8763 # icc used to be incompatible with GCC.
8764 # ICC 10 doesn't accept -KPIC any more.
8765 icc* | ifort*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_pic='-fPIC'
8768 lt_prog_compiler_static='-static'
8769 ;;
8770 # Lahey Fortran 8.1.
8771 lf95*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='--shared'
8774 lt_prog_compiler_static='--static'
8775 ;;
8776 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8777 # Portland Group compilers (*not* the Pentium gcc compiler,
8778 # which looks to be a dead project)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fpic'
8781 lt_prog_compiler_static='-Bstatic'
8782 ;;
8783 ccc*)
8784 lt_prog_compiler_wl='-Wl,'
8785 # All Alpha code is PIC.
8786 lt_prog_compiler_static='-non_shared'
8787 ;;
8788 xl* | bgxl* | bgf* | mpixl*)
8789 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_pic='-qpic'
8792 lt_prog_compiler_static='-qstaticlink'
8793 ;;
8794 *)
8795 case `$CC -V 2>&1 | sed 5q` in
8796 *Sun\ F* | *Sun*Fortran*)
8797 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_wl=''
8801 ;;
8802 *Sun\ C*)
8803 # Sun C 5.9
8804 lt_prog_compiler_pic='-KPIC'
8805 lt_prog_compiler_static='-Bstatic'
8806 lt_prog_compiler_wl='-Wl,'
8807 ;;
8808 esac
8809 ;;
8810 esac
8811 ;;
8812
8813 newsos6)
8814 lt_prog_compiler_pic='-KPIC'
8815 lt_prog_compiler_static='-Bstatic'
8816 ;;
8817
8818 *nto* | *qnx*)
8819 # QNX uses GNU C++, but need to define -shared option too, otherwise
8820 # it will coredump.
8821 lt_prog_compiler_pic='-fPIC -shared'
8822 ;;
8823
8824 osf3* | osf4* | osf5*)
8825 lt_prog_compiler_wl='-Wl,'
8826 # All OSF/1 code is PIC.
8827 lt_prog_compiler_static='-non_shared'
8828 ;;
8829
8830 rdos*)
8831 lt_prog_compiler_static='-non_shared'
8832 ;;
8833
8834 solaris*)
8835 lt_prog_compiler_pic='-KPIC'
8836 lt_prog_compiler_static='-Bstatic'
8837 case $cc_basename in
8838 f77* | f90* | f95*)
8839 lt_prog_compiler_wl='-Qoption ld ';;
8840 *)
8841 lt_prog_compiler_wl='-Wl,';;
8842 esac
8843 ;;
8844
8845 sunos4*)
8846 lt_prog_compiler_wl='-Qoption ld '
8847 lt_prog_compiler_pic='-PIC'
8848 lt_prog_compiler_static='-Bstatic'
8849 ;;
8850
8851 sysv4 | sysv4.2uw2* | sysv4.3*)
8852 lt_prog_compiler_wl='-Wl,'
8853 lt_prog_compiler_pic='-KPIC'
8854 lt_prog_compiler_static='-Bstatic'
8855 ;;
8856
8857 sysv4*MP*)
8858 if test -d /usr/nec ;then
8859 lt_prog_compiler_pic='-Kconform_pic'
8860 lt_prog_compiler_static='-Bstatic'
8861 fi
8862 ;;
8863
8864 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8868 ;;
8869
8870 unicos*)
8871 lt_prog_compiler_wl='-Wl,'
8872 lt_prog_compiler_can_build_shared=no
8873 ;;
8874
8875 uts4*)
8876 lt_prog_compiler_pic='-pic'
8877 lt_prog_compiler_static='-Bstatic'
8878 ;;
8879
8880 *)
8881 lt_prog_compiler_can_build_shared=no
8882 ;;
8883 esac
8884 fi
8885
8886 case $host_os in
8887 # For platforms which do not support PIC, -DPIC is meaningless:
8888 *djgpp*)
8889 lt_prog_compiler_pic=
8890 ;;
8891 *)
8892 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8893 ;;
8894 esac
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8896 $as_echo "$lt_prog_compiler_pic" >&6; }
8897
8898
8899
8900
8901
8902
8903 #
8904 # Check to make sure the PIC flag actually works.
8905 #
8906 if test -n "$lt_prog_compiler_pic"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8908 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8909 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 lt_cv_prog_compiler_pic_works=no
8913 ac_outfile=conftest.$ac_objext
8914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 # The option is referenced via a variable to avoid confusing sed.
8921 lt_compile=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>conftest.err)
8927 ac_status=$?
8928 cat conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s "$ac_outfile"; then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings other than the usual output.
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8934 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8935 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_pic_works=yes
8937 fi
8938 fi
8939 $RM conftest*
8940
8941 fi
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8943 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8944
8945 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8946 case $lt_prog_compiler_pic in
8947 "" | " "*) ;;
8948 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8949 esac
8950 else
8951 lt_prog_compiler_pic=
8952 lt_prog_compiler_can_build_shared=no
8953 fi
8954
8955 fi
8956
8957
8958
8959
8960
8961
8962 #
8963 # Check to make sure the static flag actually works.
8964 #
8965 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8967 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8968 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 lt_cv_prog_compiler_static_works=no
8972 save_LDFLAGS="$LDFLAGS"
8973 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8974 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8975 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8976 # The linker can only warn and ignore the option if not recognized
8977 # So say no if there are warnings
8978 if test -s conftest.err; then
8979 # Append any errors to the config.log.
8980 cat conftest.err 1>&5
8981 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8982 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8983 if diff conftest.exp conftest.er2 >/dev/null; then
8984 lt_cv_prog_compiler_static_works=yes
8985 fi
8986 else
8987 lt_cv_prog_compiler_static_works=yes
8988 fi
8989 fi
8990 $RM -r conftest*
8991 LDFLAGS="$save_LDFLAGS"
8992
8993 fi
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8995 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8996
8997 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8998 :
8999 else
9000 lt_prog_compiler_static=
9001 fi
9002
9003
9004
9005
9006
9007
9008
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9010 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9011 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 lt_cv_prog_compiler_c_o=no
9015 $RM -r conftest 2>/dev/null
9016 mkdir conftest
9017 cd conftest
9018 mkdir out
9019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9020
9021 lt_compiler_flag="-o out/conftest2.$ac_objext"
9022 # Insert the option either (1) after the last *FLAGS variable, or
9023 # (2) before a word containing "conftest.", or (3) at the end.
9024 # Note that $ac_compile itself does not contain backslashes and begins
9025 # with a dollar sign (not a hyphen), so the echo should work correctly.
9026 lt_compile=`echo "$ac_compile" | $SED \
9027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9029 -e 's:$: $lt_compiler_flag:'`
9030 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9031 (eval "$lt_compile" 2>out/conftest.err)
9032 ac_status=$?
9033 cat out/conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9036 then
9037 # The compiler can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9040 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9041 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9042 lt_cv_prog_compiler_c_o=yes
9043 fi
9044 fi
9045 chmod u+w . 2>&5
9046 $RM conftest*
9047 # SGI C++ compiler will create directory out/ii_files/ for
9048 # template instantiation
9049 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9050 $RM out/* && rmdir out
9051 cd ..
9052 $RM -r conftest
9053 $RM conftest*
9054
9055 fi
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9057 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9058
9059
9060
9061
9062
9063
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9065 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9066 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 lt_cv_prog_compiler_c_o=no
9070 $RM -r conftest 2>/dev/null
9071 mkdir conftest
9072 cd conftest
9073 mkdir out
9074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9075
9076 lt_compiler_flag="-o out/conftest2.$ac_objext"
9077 # Insert the option either (1) after the last *FLAGS variable, or
9078 # (2) before a word containing "conftest.", or (3) at the end.
9079 # Note that $ac_compile itself does not contain backslashes and begins
9080 # with a dollar sign (not a hyphen), so the echo should work correctly.
9081 lt_compile=`echo "$ac_compile" | $SED \
9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084 -e 's:$: $lt_compiler_flag:'`
9085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9086 (eval "$lt_compile" 2>out/conftest.err)
9087 ac_status=$?
9088 cat out/conftest.err >&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9091 then
9092 # The compiler can only warn and ignore the option if not recognized
9093 # So say no if there are warnings
9094 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9095 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9096 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9097 lt_cv_prog_compiler_c_o=yes
9098 fi
9099 fi
9100 chmod u+w . 2>&5
9101 $RM conftest*
9102 # SGI C++ compiler will create directory out/ii_files/ for
9103 # template instantiation
9104 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9105 $RM out/* && rmdir out
9106 cd ..
9107 $RM -r conftest
9108 $RM conftest*
9109
9110 fi
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9112 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9113
9114
9115
9116
9117 hard_links="nottested"
9118 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9119 # do not overwrite the value of need_locks provided by the user
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9121 $as_echo_n "checking if we can lock with hard links... " >&6; }
9122 hard_links=yes
9123 $RM conftest*
9124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9125 touch conftest.a
9126 ln conftest.a conftest.b 2>&5 || hard_links=no
9127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9129 $as_echo "$hard_links" >&6; }
9130 if test "$hard_links" = no; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9132 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9133 need_locks=warn
9134 fi
9135 else
9136 need_locks=no
9137 fi
9138
9139
9140
9141
9142
9143
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9145 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9146
9147 runpath_var=
9148 allow_undefined_flag=
9149 always_export_symbols=no
9150 archive_cmds=
9151 archive_expsym_cmds=
9152 compiler_needs_object=no
9153 enable_shared_with_static_runtimes=no
9154 export_dynamic_flag_spec=
9155 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9156 hardcode_automatic=no
9157 hardcode_direct=no
9158 hardcode_direct_absolute=no
9159 hardcode_libdir_flag_spec=
9160 hardcode_libdir_flag_spec_ld=
9161 hardcode_libdir_separator=
9162 hardcode_minus_L=no
9163 hardcode_shlibpath_var=unsupported
9164 inherit_rpath=no
9165 link_all_deplibs=unknown
9166 module_cmds=
9167 module_expsym_cmds=
9168 old_archive_from_new_cmds=
9169 old_archive_from_expsyms_cmds=
9170 thread_safe_flag_spec=
9171 whole_archive_flag_spec=
9172 # include_expsyms should be a list of space-separated symbols to be *always*
9173 # included in the symbol list
9174 include_expsyms=
9175 # exclude_expsyms can be an extended regexp of symbols to exclude
9176 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9177 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9178 # as well as any symbol that contains `d'.
9179 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9180 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9181 # platforms (ab)use it in PIC code, but their linkers get confused if
9182 # the symbol is explicitly referenced. Since portable code cannot
9183 # rely on this symbol name, it's probably fine to never include it in
9184 # preloaded symbol tables.
9185 # Exclude shared library initialization/finalization symbols.
9186 extract_expsyms_cmds=
9187
9188 case $host_os in
9189 cygwin* | mingw* | pw32* | cegcc*)
9190 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9191 # When not using gcc, we currently assume that we are using
9192 # Microsoft Visual C++.
9193 if test "$GCC" != yes; then
9194 with_gnu_ld=no
9195 fi
9196 ;;
9197 interix*)
9198 # we just hope/assume this is gcc and not c89 (= MSVC++)
9199 with_gnu_ld=yes
9200 ;;
9201 openbsd*)
9202 with_gnu_ld=no
9203 ;;
9204 esac
9205
9206 ld_shlibs=yes
9207
9208 # On some targets, GNU ld is compatible enough with the native linker
9209 # that we're better off using the native interface for both.
9210 lt_use_gnu_ld_interface=no
9211 if test "$with_gnu_ld" = yes; then
9212 case $host_os in
9213 aix*)
9214 # The AIX port of GNU ld has always aspired to compatibility
9215 # with the native linker. However, as the warning in the GNU ld
9216 # block says, versions before 2.19.5* couldn't really create working
9217 # shared libraries, regardless of the interface used.
9218 case `$LD -v 2>&1` in
9219 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9220 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9221 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9222 *)
9223 lt_use_gnu_ld_interface=yes
9224 ;;
9225 esac
9226 ;;
9227 *)
9228 lt_use_gnu_ld_interface=yes
9229 ;;
9230 esac
9231 fi
9232
9233 if test "$lt_use_gnu_ld_interface" = yes; then
9234 # If archive_cmds runs LD, not CC, wlarc should be empty
9235 wlarc='${wl}'
9236
9237 # Set some defaults for GNU ld with shared library support. These
9238 # are reset later if shared libraries are not supported. Putting them
9239 # here allows them to be overridden if necessary.
9240 runpath_var=LD_RUN_PATH
9241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9242 export_dynamic_flag_spec='${wl}--export-dynamic'
9243 # ancient GNU ld didn't support --whole-archive et. al.
9244 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9245 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9246 else
9247 whole_archive_flag_spec=
9248 fi
9249 supports_anon_versioning=no
9250 case `$LD -v 2>&1` in
9251 *GNU\ gold*) supports_anon_versioning=yes ;;
9252 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9253 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9254 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9255 *\ 2.11.*) ;; # other 2.11 versions
9256 *) supports_anon_versioning=yes ;;
9257 esac
9258
9259 # See if GNU ld supports shared libraries.
9260 case $host_os in
9261 aix[3-9]*)
9262 # On AIX/PPC, the GNU linker is very broken
9263 if test "$host_cpu" != ia64; then
9264 ld_shlibs=no
9265 cat <<_LT_EOF 1>&2
9266
9267 *** Warning: the GNU linker, at least up to release 2.19, is reported
9268 *** to be unable to reliably create shared libraries on AIX.
9269 *** Therefore, libtool is disabling shared libraries support. If you
9270 *** really care for shared libraries, you may want to install binutils
9271 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9272 *** You will then need to restart the configuration process.
9273
9274 _LT_EOF
9275 fi
9276 ;;
9277
9278 amigaos*)
9279 case $host_cpu in
9280 powerpc)
9281 # see comment about AmigaOS4 .so support
9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds=''
9284 ;;
9285 m68k)
9286 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)'
9287 hardcode_libdir_flag_spec='-L$libdir'
9288 hardcode_minus_L=yes
9289 ;;
9290 esac
9291 ;;
9292
9293 beos*)
9294 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295 allow_undefined_flag=unsupported
9296 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9297 # support --undefined. This deserves some investigation. FIXME
9298 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 else
9300 ld_shlibs=no
9301 fi
9302 ;;
9303
9304 cygwin* | mingw* | pw32* | cegcc*)
9305 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9306 # as there is no search path for DLLs.
9307 hardcode_libdir_flag_spec='-L$libdir'
9308 export_dynamic_flag_spec='${wl}--export-all-symbols'
9309 allow_undefined_flag=unsupported
9310 always_export_symbols=no
9311 enable_shared_with_static_runtimes=yes
9312 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9313
9314 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9315 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9316 # If the export-symbols file already is a .def file (1st line
9317 # is EXPORTS), use it as is; otherwise, prepend...
9318 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9319 cp $export_symbols $output_objdir/$soname.def;
9320 else
9321 echo EXPORTS > $output_objdir/$soname.def;
9322 cat $export_symbols >> $output_objdir/$soname.def;
9323 fi~
9324 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9325 else
9326 ld_shlibs=no
9327 fi
9328 ;;
9329
9330 haiku*)
9331 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9332 link_all_deplibs=yes
9333 ;;
9334
9335 interix[3-9]*)
9336 hardcode_direct=no
9337 hardcode_shlibpath_var=no
9338 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9339 export_dynamic_flag_spec='${wl}-E'
9340 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9341 # Instead, shared libraries are loaded at an image base (0x10000000 by
9342 # default) and relocated if they conflict, which is a slow very memory
9343 # consuming and fragmenting process. To avoid this, we pick a random,
9344 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9345 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9346 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9347 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'
9348 ;;
9349
9350 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9351 tmp_diet=no
9352 if test "$host_os" = linux-dietlibc; then
9353 case $cc_basename in
9354 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9355 esac
9356 fi
9357 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9358 && test "$tmp_diet" = no
9359 then
9360 tmp_addflag=' $pic_flag'
9361 tmp_sharedflag='-shared'
9362 case $cc_basename,$host_cpu in
9363 pgcc*) # Portland Group C compiler
9364 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'
9365 tmp_addflag=' $pic_flag'
9366 ;;
9367 pgf77* | pgf90* | pgf95* | pgfortran*)
9368 # Portland Group f77 and f90 compilers
9369 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'
9370 tmp_addflag=' $pic_flag -Mnomain' ;;
9371 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9372 tmp_addflag=' -i_dynamic' ;;
9373 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9374 tmp_addflag=' -i_dynamic -nofor_main' ;;
9375 ifc* | ifort*) # Intel Fortran compiler
9376 tmp_addflag=' -nofor_main' ;;
9377 lf95*) # Lahey Fortran 8.1
9378 whole_archive_flag_spec=
9379 tmp_sharedflag='--shared' ;;
9380 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9381 tmp_sharedflag='-qmkshrobj'
9382 tmp_addflag= ;;
9383 nvcc*) # Cuda Compiler Driver 2.2
9384 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'
9385 compiler_needs_object=yes
9386 ;;
9387 esac
9388 case `$CC -V 2>&1 | sed 5q` in
9389 *Sun\ C*) # Sun C 5.9
9390 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'
9391 compiler_needs_object=yes
9392 tmp_sharedflag='-G' ;;
9393 *Sun\ F*) # Sun Fortran 8.3
9394 tmp_sharedflag='-G' ;;
9395 esac
9396 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9397
9398 if test "x$supports_anon_versioning" = xyes; then
9399 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9400 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9401 echo "local: *; };" >> $output_objdir/$libname.ver~
9402 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9403 fi
9404
9405 case $cc_basename in
9406 xlf* | bgf* | bgxlf* | mpixlf*)
9407 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9408 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9409 hardcode_libdir_flag_spec=
9410 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9411 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9412 if test "x$supports_anon_versioning" = xyes; then
9413 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9415 echo "local: *; };" >> $output_objdir/$libname.ver~
9416 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9417 fi
9418 ;;
9419 esac
9420 else
9421 ld_shlibs=no
9422 fi
9423 ;;
9424
9425 netbsd*)
9426 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9427 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9428 wlarc=
9429 else
9430 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9432 fi
9433 ;;
9434
9435 solaris*)
9436 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9437 ld_shlibs=no
9438 cat <<_LT_EOF 1>&2
9439
9440 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9441 *** create shared libraries on Solaris systems. Therefore, libtool
9442 *** is disabling shared libraries support. We urge you to upgrade GNU
9443 *** binutils to release 2.9.1 or newer. Another option is to modify
9444 *** your PATH or compiler configuration so that the native linker is
9445 *** used, and then restart.
9446
9447 _LT_EOF
9448 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9451 else
9452 ld_shlibs=no
9453 fi
9454 ;;
9455
9456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9457 case `$LD -v 2>&1` in
9458 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9459 ld_shlibs=no
9460 cat <<_LT_EOF 1>&2
9461
9462 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9463 *** reliably create shared libraries on SCO systems. Therefore, libtool
9464 *** is disabling shared libraries support. We urge you to upgrade GNU
9465 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9466 *** your PATH or compiler configuration so that the native linker is
9467 *** used, and then restart.
9468
9469 _LT_EOF
9470 ;;
9471 *)
9472 # For security reasons, it is highly recommended that you always
9473 # use absolute paths for naming shared libraries, and exclude the
9474 # DT_RUNPATH tag from executables and libraries. But doing so
9475 # requires that you compile everything twice, which is a pain.
9476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9477 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9478 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9479 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9480 else
9481 ld_shlibs=no
9482 fi
9483 ;;
9484 esac
9485 ;;
9486
9487 sunos4*)
9488 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9489 wlarc=
9490 hardcode_direct=yes
9491 hardcode_shlibpath_var=no
9492 ;;
9493
9494 *)
9495 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9496 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9497 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9498 else
9499 ld_shlibs=no
9500 fi
9501 ;;
9502 esac
9503
9504 if test "$ld_shlibs" = no; then
9505 runpath_var=
9506 hardcode_libdir_flag_spec=
9507 export_dynamic_flag_spec=
9508 whole_archive_flag_spec=
9509 fi
9510 else
9511 # PORTME fill in a description of your system's linker (not GNU ld)
9512 case $host_os in
9513 aix3*)
9514 allow_undefined_flag=unsupported
9515 always_export_symbols=yes
9516 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'
9517 # Note: this linker hardcodes the directories in LIBPATH if there
9518 # are no directories specified by -L.
9519 hardcode_minus_L=yes
9520 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9521 # Neither direct hardcoding nor static linking is supported with a
9522 # broken collect2.
9523 hardcode_direct=unsupported
9524 fi
9525 ;;
9526
9527 aix[4-9]*)
9528 if test "$host_cpu" = ia64; then
9529 # On IA64, the linker does run time linking by default, so we don't
9530 # have to do anything special.
9531 aix_use_runtimelinking=no
9532 exp_sym_flag='-Bexport'
9533 no_entry_flag=""
9534 else
9535 # If we're using GNU nm, then we don't want the "-C" option.
9536 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9537 # Also, AIX nm treats weak defined symbols like other global
9538 # defined symbols, whereas GNU nm marks them as "W".
9539 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9540 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'
9541 else
9542 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'
9543 fi
9544 aix_use_runtimelinking=no
9545
9546 # Test if we are trying to use run time linking or normal
9547 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9548 # need to do runtime linking.
9549 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9550 for ld_flag in $LDFLAGS; do
9551 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9552 aix_use_runtimelinking=yes
9553 break
9554 fi
9555 done
9556 ;;
9557 esac
9558
9559 exp_sym_flag='-bexport'
9560 no_entry_flag='-bnoentry'
9561 fi
9562
9563 # When large executables or shared objects are built, AIX ld can
9564 # have problems creating the table of contents. If linking a library
9565 # or program results in "error TOC overflow" add -mminimal-toc to
9566 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9567 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9568
9569 archive_cmds=''
9570 hardcode_direct=yes
9571 hardcode_direct_absolute=yes
9572 hardcode_libdir_separator=':'
9573 link_all_deplibs=yes
9574 file_list_spec='${wl}-f,'
9575
9576 if test "$GCC" = yes; then
9577 case $host_os in aix4.[012]|aix4.[012].*)
9578 # We only want to do this on AIX 4.2 and lower, the check
9579 # below for broken collect2 doesn't work under 4.3+
9580 collect2name=`${CC} -print-prog-name=collect2`
9581 if test -f "$collect2name" &&
9582 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9583 then
9584 # We have reworked collect2
9585 :
9586 else
9587 # We have old collect2
9588 hardcode_direct=unsupported
9589 # It fails to find uninstalled libraries when the uninstalled
9590 # path is not listed in the libpath. Setting hardcode_minus_L
9591 # to unsupported forces relinking
9592 hardcode_minus_L=yes
9593 hardcode_libdir_flag_spec='-L$libdir'
9594 hardcode_libdir_separator=
9595 fi
9596 ;;
9597 esac
9598 shared_flag='-shared'
9599 if test "$aix_use_runtimelinking" = yes; then
9600 shared_flag="$shared_flag "'${wl}-G'
9601 fi
9602 else
9603 # not using gcc
9604 if test "$host_cpu" = ia64; then
9605 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9606 # chokes on -Wl,-G. The following line is correct:
9607 shared_flag='-G'
9608 else
9609 if test "$aix_use_runtimelinking" = yes; then
9610 shared_flag='${wl}-G'
9611 else
9612 shared_flag='${wl}-bM:SRE'
9613 fi
9614 fi
9615 fi
9616
9617 export_dynamic_flag_spec='${wl}-bexpall'
9618 # It seems that -bexpall does not export symbols beginning with
9619 # underscore (_), so it is better to generate a list of symbols to export.
9620 always_export_symbols=yes
9621 if test "$aix_use_runtimelinking" = yes; then
9622 # Warning - without using the other runtime loading flags (-brtl),
9623 # -berok will link without error, but may produce a broken library.
9624 allow_undefined_flag='-berok'
9625 # Determine the default libpath from the value encoded in an
9626 # empty executable.
9627 if test x$gcc_no_link = xyes; then
9628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9629 fi
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9632
9633 int
9634 main ()
9635 {
9636
9637 ;
9638 return 0;
9639 }
9640 _ACEOF
9641 if ac_fn_c_try_link "$LINENO"; then :
9642
9643 lt_aix_libpath_sed='
9644 /Import File Strings/,/^$/ {
9645 /^0/ {
9646 s/^0 *\(.*\)$/\1/
9647 p
9648 }
9649 }'
9650 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651 # Check for a 64-bit object if we didn't find anything.
9652 if test -z "$aix_libpath"; then
9653 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 fi
9655 fi
9656 rm -f core conftest.err conftest.$ac_objext \
9657 conftest$ac_exeext conftest.$ac_ext
9658 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9659
9660 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9661 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"
9662 else
9663 if test "$host_cpu" = ia64; then
9664 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9665 allow_undefined_flag="-z nodefs"
9666 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"
9667 else
9668 # Determine the default libpath from the value encoded in an
9669 # empty executable.
9670 if test x$gcc_no_link = xyes; then
9671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9672 fi
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9675
9676 int
9677 main ()
9678 {
9679
9680 ;
9681 return 0;
9682 }
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9685
9686 lt_aix_libpath_sed='
9687 /Import File Strings/,/^$/ {
9688 /^0/ {
9689 s/^0 *\(.*\)$/\1/
9690 p
9691 }
9692 }'
9693 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694 # Check for a 64-bit object if we didn't find anything.
9695 if test -z "$aix_libpath"; then
9696 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9697 fi
9698 fi
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9702
9703 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9704 # Warning - without using the other run time loading flags,
9705 # -berok will link without error, but may produce a broken library.
9706 no_undefined_flag=' ${wl}-bernotok'
9707 allow_undefined_flag=' ${wl}-berok'
9708 if test "$with_gnu_ld" = yes; then
9709 # We only use this code for GNU lds that support --whole-archive.
9710 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9711 else
9712 # Exported symbols can be pulled into shared objects from archives
9713 whole_archive_flag_spec='$convenience'
9714 fi
9715 archive_cmds_need_lc=yes
9716 # This is similar to how AIX traditionally builds its shared libraries.
9717 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'
9718 fi
9719 fi
9720 ;;
9721
9722 amigaos*)
9723 case $host_cpu in
9724 powerpc)
9725 # see comment about AmigaOS4 .so support
9726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9727 archive_expsym_cmds=''
9728 ;;
9729 m68k)
9730 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)'
9731 hardcode_libdir_flag_spec='-L$libdir'
9732 hardcode_minus_L=yes
9733 ;;
9734 esac
9735 ;;
9736
9737 bsdi[45]*)
9738 export_dynamic_flag_spec=-rdynamic
9739 ;;
9740
9741 cygwin* | mingw* | pw32* | cegcc*)
9742 # When not using gcc, we currently assume that we are using
9743 # Microsoft Visual C++.
9744 # hardcode_libdir_flag_spec is actually meaningless, as there is
9745 # no search path for DLLs.
9746 hardcode_libdir_flag_spec=' '
9747 allow_undefined_flag=unsupported
9748 # Tell ltmain to make .lib files, not .a files.
9749 libext=lib
9750 # Tell ltmain to make .dll files, not .so files.
9751 shrext_cmds=".dll"
9752 # FIXME: Setting linknames here is a bad hack.
9753 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9754 # The linker will automatically build a .lib file if we build a DLL.
9755 old_archive_from_new_cmds='true'
9756 # FIXME: Should let the user specify the lib program.
9757 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9758 fix_srcfile_path='`cygpath -w "$srcfile"`'
9759 enable_shared_with_static_runtimes=yes
9760 ;;
9761
9762 darwin* | rhapsody*)
9763
9764
9765 archive_cmds_need_lc=no
9766 hardcode_direct=no
9767 hardcode_automatic=yes
9768 hardcode_shlibpath_var=unsupported
9769 if test "$lt_cv_ld_force_load" = "yes"; then
9770 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\"`'
9771 else
9772 whole_archive_flag_spec=''
9773 fi
9774 link_all_deplibs=yes
9775 allow_undefined_flag="$_lt_dar_allow_undefined"
9776 case $cc_basename in
9777 ifort*) _lt_dar_can_shared=yes ;;
9778 *) _lt_dar_can_shared=$GCC ;;
9779 esac
9780 if test "$_lt_dar_can_shared" = "yes"; then
9781 output_verbose_link_cmd=func_echo_all
9782 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9783 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9784 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}"
9785 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}"
9786
9787 else
9788 ld_shlibs=no
9789 fi
9790
9791 ;;
9792
9793 dgux*)
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_shlibpath_var=no
9797 ;;
9798
9799 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9800 # support. Future versions do this automatically, but an explicit c++rt0.o
9801 # does not break anything, and helps significantly (at the cost of a little
9802 # extra space).
9803 freebsd2.2*)
9804 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9805 hardcode_libdir_flag_spec='-R$libdir'
9806 hardcode_direct=yes
9807 hardcode_shlibpath_var=no
9808 ;;
9809
9810 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9811 freebsd2.*)
9812 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_direct=yes
9814 hardcode_minus_L=yes
9815 hardcode_shlibpath_var=no
9816 ;;
9817
9818 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9819 freebsd* | dragonfly*)
9820 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9821 hardcode_libdir_flag_spec='-R$libdir'
9822 hardcode_direct=yes
9823 hardcode_shlibpath_var=no
9824 ;;
9825
9826 hpux9*)
9827 if test "$GCC" = yes; then
9828 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'
9829 else
9830 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'
9831 fi
9832 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833 hardcode_libdir_separator=:
9834 hardcode_direct=yes
9835
9836 # hardcode_minus_L: Not really in the search PATH,
9837 # but as the default location of the library.
9838 hardcode_minus_L=yes
9839 export_dynamic_flag_spec='${wl}-E'
9840 ;;
9841
9842 hpux10*)
9843 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9844 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845 else
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9847 fi
9848 if test "$with_gnu_ld" = no; then
9849 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9850 hardcode_libdir_flag_spec_ld='+b $libdir'
9851 hardcode_libdir_separator=:
9852 hardcode_direct=yes
9853 hardcode_direct_absolute=yes
9854 export_dynamic_flag_spec='${wl}-E'
9855 # hardcode_minus_L: Not really in the search PATH,
9856 # but as the default location of the library.
9857 hardcode_minus_L=yes
9858 fi
9859 ;;
9860
9861 hpux11*)
9862 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9863 case $host_cpu in
9864 hppa*64*)
9865 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9866 ;;
9867 ia64*)
9868 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9869 ;;
9870 *)
9871 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9872 ;;
9873 esac
9874 else
9875 case $host_cpu in
9876 hppa*64*)
9877 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9878 ;;
9879 ia64*)
9880 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9881 ;;
9882 *)
9883
9884 # Older versions of the 11.00 compiler do not understand -b yet
9885 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9887 $as_echo_n "checking if $CC understands -b... " >&6; }
9888 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 lt_cv_prog_compiler__b=no
9892 save_LDFLAGS="$LDFLAGS"
9893 LDFLAGS="$LDFLAGS -b"
9894 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9896 # The linker can only warn and ignore the option if not recognized
9897 # So say no if there are warnings
9898 if test -s conftest.err; then
9899 # Append any errors to the config.log.
9900 cat conftest.err 1>&5
9901 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9903 if diff conftest.exp conftest.er2 >/dev/null; then
9904 lt_cv_prog_compiler__b=yes
9905 fi
9906 else
9907 lt_cv_prog_compiler__b=yes
9908 fi
9909 fi
9910 $RM -r conftest*
9911 LDFLAGS="$save_LDFLAGS"
9912
9913 fi
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9915 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9916
9917 if test x"$lt_cv_prog_compiler__b" = xyes; then
9918 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 else
9920 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9921 fi
9922
9923 ;;
9924 esac
9925 fi
9926 if test "$with_gnu_ld" = no; then
9927 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929
9930 case $host_cpu in
9931 hppa*64*|ia64*)
9932 hardcode_direct=no
9933 hardcode_shlibpath_var=no
9934 ;;
9935 *)
9936 hardcode_direct=yes
9937 hardcode_direct_absolute=yes
9938 export_dynamic_flag_spec='${wl}-E'
9939
9940 # hardcode_minus_L: Not really in the search PATH,
9941 # but as the default location of the library.
9942 hardcode_minus_L=yes
9943 ;;
9944 esac
9945 fi
9946 ;;
9947
9948 irix5* | irix6* | nonstopux*)
9949 if test "$GCC" = yes; then
9950 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'
9951 # Try to use the -exported_symbol ld option, if it does not
9952 # work, assume that -exports_file does not work either and
9953 # implicitly export all symbols.
9954 save_LDFLAGS="$LDFLAGS"
9955 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9956 if test x$gcc_no_link = xyes; then
9957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9958 fi
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int foo(void) {}
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 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'
9965
9966 fi
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LDFLAGS="$save_LDFLAGS"
9970 else
9971 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'
9972 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'
9973 fi
9974 archive_cmds_need_lc='no'
9975 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9976 hardcode_libdir_separator=:
9977 inherit_rpath=yes
9978 link_all_deplibs=yes
9979 ;;
9980
9981 netbsd*)
9982 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9983 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9984 else
9985 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9986 fi
9987 hardcode_libdir_flag_spec='-R$libdir'
9988 hardcode_direct=yes
9989 hardcode_shlibpath_var=no
9990 ;;
9991
9992 newsos6)
9993 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9994 hardcode_direct=yes
9995 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9996 hardcode_libdir_separator=:
9997 hardcode_shlibpath_var=no
9998 ;;
9999
10000 *nto* | *qnx*)
10001 ;;
10002
10003 openbsd*)
10004 if test -f /usr/libexec/ld.so; then
10005 hardcode_direct=yes
10006 hardcode_shlibpath_var=no
10007 hardcode_direct_absolute=yes
10008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10009 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10011 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10012 export_dynamic_flag_spec='${wl}-E'
10013 else
10014 case $host_os in
10015 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_libdir_flag_spec='-R$libdir'
10018 ;;
10019 *)
10020 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10022 ;;
10023 esac
10024 fi
10025 else
10026 ld_shlibs=no
10027 fi
10028 ;;
10029
10030 os2*)
10031 hardcode_libdir_flag_spec='-L$libdir'
10032 hardcode_minus_L=yes
10033 allow_undefined_flag=unsupported
10034 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'
10035 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10036 ;;
10037
10038 osf3*)
10039 if test "$GCC" = yes; then
10040 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10041 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'
10042 else
10043 allow_undefined_flag=' -expect_unresolved \*'
10044 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'
10045 fi
10046 archive_cmds_need_lc='no'
10047 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator=:
10049 ;;
10050
10051 osf4* | osf5*) # as osf3* with the addition of -msym flag
10052 if test "$GCC" = yes; then
10053 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054 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'
10055 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10056 else
10057 allow_undefined_flag=' -expect_unresolved \*'
10058 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'
10059 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~
10060 $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'
10061
10062 # Both c and cxx compiler support -rpath directly
10063 hardcode_libdir_flag_spec='-rpath $libdir'
10064 fi
10065 archive_cmds_need_lc='no'
10066 hardcode_libdir_separator=:
10067 ;;
10068
10069 solaris*)
10070 no_undefined_flag=' -z defs'
10071 if test "$GCC" = yes; then
10072 wlarc='${wl}'
10073 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10075 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10076 else
10077 case `$CC -V 2>&1` in
10078 *"Compilers 5.0"*)
10079 wlarc=''
10080 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10082 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10083 ;;
10084 *)
10085 wlarc='${wl}'
10086 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10089 ;;
10090 esac
10091 fi
10092 hardcode_libdir_flag_spec='-R$libdir'
10093 hardcode_shlibpath_var=no
10094 case $host_os in
10095 solaris2.[0-5] | solaris2.[0-5].*) ;;
10096 *)
10097 # The compiler driver will combine and reorder linker options,
10098 # but understands `-z linker_flag'. GCC discards it without `$wl',
10099 # but is careful enough not to reorder.
10100 # Supported since Solaris 2.6 (maybe 2.5.1?)
10101 if test "$GCC" = yes; then
10102 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10103 else
10104 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10105 fi
10106 ;;
10107 esac
10108 link_all_deplibs=yes
10109 ;;
10110
10111 sunos4*)
10112 if test "x$host_vendor" = xsequent; then
10113 # Use $CC to link under sequent, because it throws in some extra .o
10114 # files that make .init and .fini sections work.
10115 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10116 else
10117 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10118 fi
10119 hardcode_libdir_flag_spec='-L$libdir'
10120 hardcode_direct=yes
10121 hardcode_minus_L=yes
10122 hardcode_shlibpath_var=no
10123 ;;
10124
10125 sysv4)
10126 case $host_vendor in
10127 sni)
10128 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10129 hardcode_direct=yes # is this really true???
10130 ;;
10131 siemens)
10132 ## LD is ld it makes a PLAMLIB
10133 ## CC just makes a GrossModule.
10134 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10135 reload_cmds='$CC -r -o $output$reload_objs'
10136 hardcode_direct=no
10137 ;;
10138 motorola)
10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10141 ;;
10142 esac
10143 runpath_var='LD_RUN_PATH'
10144 hardcode_shlibpath_var=no
10145 ;;
10146
10147 sysv4.3*)
10148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_shlibpath_var=no
10150 export_dynamic_flag_spec='-Bexport'
10151 ;;
10152
10153 sysv4*MP*)
10154 if test -d /usr/nec; then
10155 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_shlibpath_var=no
10157 runpath_var=LD_RUN_PATH
10158 hardcode_runpath_var=yes
10159 ld_shlibs=yes
10160 fi
10161 ;;
10162
10163 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10164 no_undefined_flag='${wl}-z,text'
10165 archive_cmds_need_lc=no
10166 hardcode_shlibpath_var=no
10167 runpath_var='LD_RUN_PATH'
10168
10169 if test "$GCC" = yes; then
10170 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10172 else
10173 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10175 fi
10176 ;;
10177
10178 sysv5* | sco3.2v5* | sco5v6*)
10179 # Note: We can NOT use -z defs as we might desire, because we do not
10180 # link with -lc, and that would cause any symbols used from libc to
10181 # always be unresolved, which means just about no library would
10182 # ever link correctly. If we're not using GNU ld we use -z text
10183 # though, which does catch some bad symbols but isn't as heavy-handed
10184 # as -z defs.
10185 no_undefined_flag='${wl}-z,text'
10186 allow_undefined_flag='${wl}-z,nodefs'
10187 archive_cmds_need_lc=no
10188 hardcode_shlibpath_var=no
10189 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10190 hardcode_libdir_separator=':'
10191 link_all_deplibs=yes
10192 export_dynamic_flag_spec='${wl}-Bexport'
10193 runpath_var='LD_RUN_PATH'
10194
10195 if test "$GCC" = yes; then
10196 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 else
10199 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201 fi
10202 ;;
10203
10204 uts4*)
10205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10206 hardcode_libdir_flag_spec='-L$libdir'
10207 hardcode_shlibpath_var=no
10208 ;;
10209
10210 *)
10211 ld_shlibs=no
10212 ;;
10213 esac
10214
10215 if test x$host_vendor = xsni; then
10216 case $host in
10217 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10218 export_dynamic_flag_spec='${wl}-Blargedynsym'
10219 ;;
10220 esac
10221 fi
10222 fi
10223
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10225 $as_echo "$ld_shlibs" >&6; }
10226 test "$ld_shlibs" = no && can_build_shared=no
10227
10228 with_gnu_ld=$with_gnu_ld
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244 #
10245 # Do we need to explicitly link libc?
10246 #
10247 case "x$archive_cmds_need_lc" in
10248 x|xyes)
10249 # Assume -lc should be added
10250 archive_cmds_need_lc=yes
10251
10252 if test "$enable_shared" = yes && test "$GCC" = yes; then
10253 case $archive_cmds in
10254 *'~'*)
10255 # FIXME: we may have to deal with multi-command sequences.
10256 ;;
10257 '$CC '*)
10258 # Test whether the compiler implicitly links with -lc since on some
10259 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10260 # to ld, don't add -lc before -lgcc.
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10262 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10263 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 $RM conftest*
10267 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10268
10269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10270 (eval $ac_compile) 2>&5
10271 ac_status=$?
10272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10273 test $ac_status = 0; } 2>conftest.err; then
10274 soname=conftest
10275 lib=conftest
10276 libobjs=conftest.$ac_objext
10277 deplibs=
10278 wl=$lt_prog_compiler_wl
10279 pic_flag=$lt_prog_compiler_pic
10280 compiler_flags=-v
10281 linker_flags=-v
10282 verstring=
10283 output_objdir=.
10284 libname=conftest
10285 lt_save_allow_undefined_flag=$allow_undefined_flag
10286 allow_undefined_flag=
10287 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10288 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10289 ac_status=$?
10290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10291 test $ac_status = 0; }
10292 then
10293 lt_cv_archive_cmds_need_lc=no
10294 else
10295 lt_cv_archive_cmds_need_lc=yes
10296 fi
10297 allow_undefined_flag=$lt_save_allow_undefined_flag
10298 else
10299 cat conftest.err 1>&5
10300 fi
10301 $RM conftest*
10302
10303 fi
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10305 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10306 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10307 ;;
10308 esac
10309 fi
10310 ;;
10311 esac
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10470 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10471
10472 if test "$GCC" = yes; then
10473 case $host_os in
10474 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10475 *) lt_awk_arg="/^libraries:/" ;;
10476 esac
10477 case $host_os in
10478 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10479 *) lt_sed_strip_eq="s,=/,/,g" ;;
10480 esac
10481 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10482 case $lt_search_path_spec in
10483 *\;*)
10484 # if the path contains ";" then we assume it to be the separator
10485 # otherwise default to the standard path separator (i.e. ":") - it is
10486 # assumed that no part of a normal pathname contains ";" but that should
10487 # okay in the real world where ";" in dirpaths is itself problematic.
10488 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10489 ;;
10490 *)
10491 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10492 ;;
10493 esac
10494 # Ok, now we have the path, separated by spaces, we can step through it
10495 # and add multilib dir if necessary.
10496 lt_tmp_lt_search_path_spec=
10497 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10498 for lt_sys_path in $lt_search_path_spec; do
10499 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10500 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10501 else
10502 test -d "$lt_sys_path" && \
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10504 fi
10505 done
10506 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10507 BEGIN {RS=" "; FS="/|\n";} {
10508 lt_foo="";
10509 lt_count=0;
10510 for (lt_i = NF; lt_i > 0; lt_i--) {
10511 if ($lt_i != "" && $lt_i != ".") {
10512 if ($lt_i == "..") {
10513 lt_count++;
10514 } else {
10515 if (lt_count == 0) {
10516 lt_foo="/" $lt_i lt_foo;
10517 } else {
10518 lt_count--;
10519 }
10520 }
10521 }
10522 }
10523 if (lt_foo != "") { lt_freq[lt_foo]++; }
10524 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10525 }'`
10526 # AWK program above erroneously prepends '/' to C:/dos/paths
10527 # for these hosts.
10528 case $host_os in
10529 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10530 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10531 esac
10532 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10533 else
10534 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10535 fi
10536 library_names_spec=
10537 libname_spec='lib$name'
10538 soname_spec=
10539 shrext_cmds=".so"
10540 postinstall_cmds=
10541 postuninstall_cmds=
10542 finish_cmds=
10543 finish_eval=
10544 shlibpath_var=
10545 shlibpath_overrides_runpath=unknown
10546 version_type=none
10547 dynamic_linker="$host_os ld.so"
10548 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10549 need_lib_prefix=unknown
10550 hardcode_into_libs=no
10551
10552 # when you set need_version to no, make sure it does not cause -set_version
10553 # flags to be left without arguments
10554 need_version=unknown
10555
10556 case $host_os in
10557 aix3*)
10558 version_type=linux
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10560 shlibpath_var=LIBPATH
10561
10562 # AIX 3 has no versioning support, so we append a major version to the name.
10563 soname_spec='${libname}${release}${shared_ext}$major'
10564 ;;
10565
10566 aix[4-9]*)
10567 version_type=linux
10568 need_lib_prefix=no
10569 need_version=no
10570 hardcode_into_libs=yes
10571 if test "$host_cpu" = ia64; then
10572 # AIX 5 supports IA64
10573 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 else
10576 # With GCC up to 2.95.x, collect2 would create an import file
10577 # for dependence libraries. The import file would start with
10578 # the line `#! .'. This would cause the generated library to
10579 # depend on `.', always an invalid library. This was fixed in
10580 # development snapshots of GCC prior to 3.0.
10581 case $host_os in
10582 aix4 | aix4.[01] | aix4.[01].*)
10583 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10584 echo ' yes '
10585 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10586 :
10587 else
10588 can_build_shared=no
10589 fi
10590 ;;
10591 esac
10592 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10593 # soname into executable. Probably we can add versioning support to
10594 # collect2, so additional links can be useful in future.
10595 if test "$aix_use_runtimelinking" = yes; then
10596 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10597 # instead of lib<name>.a to let people know that these are not
10598 # typical AIX shared libraries.
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 else
10601 # We preserve .a as extension for shared libraries through AIX4.2
10602 # and later when we are not doing run time linking.
10603 library_names_spec='${libname}${release}.a $libname.a'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10605 fi
10606 shlibpath_var=LIBPATH
10607 fi
10608 ;;
10609
10610 amigaos*)
10611 case $host_cpu in
10612 powerpc)
10613 # Since July 2007 AmigaOS4 officially supports .so libraries.
10614 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10616 ;;
10617 m68k)
10618 library_names_spec='$libname.ixlibrary $libname.a'
10619 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10620 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'
10621 ;;
10622 esac
10623 ;;
10624
10625 beos*)
10626 library_names_spec='${libname}${shared_ext}'
10627 dynamic_linker="$host_os ld.so"
10628 shlibpath_var=LIBRARY_PATH
10629 ;;
10630
10631 bsdi[45]*)
10632 version_type=linux
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10637 shlibpath_var=LD_LIBRARY_PATH
10638 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10639 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10640 # the default ld.so.conf also contains /usr/contrib/lib and
10641 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10642 # libtool to hard-code these into programs
10643 ;;
10644
10645 cygwin* | mingw* | pw32* | cegcc*)
10646 version_type=windows
10647 shrext_cmds=".dll"
10648 need_version=no
10649 need_lib_prefix=no
10650
10651 case $GCC,$host_os in
10652 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10653 library_names_spec='$libname.dll.a'
10654 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10655 postinstall_cmds='base_file=`basename \${file}`~
10656 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10657 dldir=$destdir/`dirname \$dlpath`~
10658 test -d \$dldir || mkdir -p \$dldir~
10659 $install_prog $dir/$dlname \$dldir/$dlname~
10660 chmod a+x \$dldir/$dlname~
10661 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10662 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10663 fi'
10664 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10665 dlpath=$dir/\$dldll~
10666 $RM \$dlpath'
10667 shlibpath_overrides_runpath=yes
10668
10669 case $host_os in
10670 cygwin*)
10671 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10672 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10673
10674 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10675 ;;
10676 mingw* | cegcc*)
10677 # MinGW DLLs use traditional 'lib' prefix
10678 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10679 ;;
10680 pw32*)
10681 # pw32 DLLs use 'pw' prefix rather than 'lib'
10682 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10683 ;;
10684 esac
10685 ;;
10686
10687 *)
10688 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10689 ;;
10690 esac
10691 dynamic_linker='Win32 ld.exe'
10692 # FIXME: first we should search . and the directory the executable is in
10693 shlibpath_var=PATH
10694 ;;
10695
10696 darwin* | rhapsody*)
10697 dynamic_linker="$host_os dyld"
10698 version_type=darwin
10699 need_lib_prefix=no
10700 need_version=no
10701 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10702 soname_spec='${libname}${release}${major}$shared_ext'
10703 shlibpath_overrides_runpath=yes
10704 shlibpath_var=DYLD_LIBRARY_PATH
10705 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10706
10707 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10708 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10709 ;;
10710
10711 dgux*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LD_LIBRARY_PATH
10718 ;;
10719
10720 freebsd* | dragonfly*)
10721 # DragonFly does not have aout. When/if they implement a new
10722 # versioning mechanism, adjust this.
10723 if test -x /usr/bin/objformat; then
10724 objformat=`/usr/bin/objformat`
10725 else
10726 case $host_os in
10727 freebsd[23].*) objformat=aout ;;
10728 *) objformat=elf ;;
10729 esac
10730 fi
10731 version_type=freebsd-$objformat
10732 case $version_type in
10733 freebsd-elf*)
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10735 need_version=no
10736 need_lib_prefix=no
10737 ;;
10738 freebsd-*)
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10740 need_version=yes
10741 ;;
10742 esac
10743 shlibpath_var=LD_LIBRARY_PATH
10744 case $host_os in
10745 freebsd2.*)
10746 shlibpath_overrides_runpath=yes
10747 ;;
10748 freebsd3.[01]* | freebsdelf3.[01]*)
10749 shlibpath_overrides_runpath=yes
10750 hardcode_into_libs=yes
10751 ;;
10752 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10753 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10754 shlibpath_overrides_runpath=no
10755 hardcode_into_libs=yes
10756 ;;
10757 *) # from 4.6 on, and DragonFly
10758 shlibpath_overrides_runpath=yes
10759 hardcode_into_libs=yes
10760 ;;
10761 esac
10762 ;;
10763
10764 gnu*)
10765 version_type=linux
10766 need_lib_prefix=no
10767 need_version=no
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 hardcode_into_libs=yes
10772 ;;
10773
10774 haiku*)
10775 version_type=linux
10776 need_lib_prefix=no
10777 need_version=no
10778 dynamic_linker="$host_os runtime_loader"
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 shlibpath_var=LIBRARY_PATH
10782 shlibpath_overrides_runpath=yes
10783 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10784 hardcode_into_libs=yes
10785 ;;
10786
10787 hpux9* | hpux10* | hpux11*)
10788 # Give a soname corresponding to the major version so that dld.sl refuses to
10789 # link against other versions.
10790 version_type=sunos
10791 need_lib_prefix=no
10792 need_version=no
10793 case $host_cpu in
10794 ia64*)
10795 shrext_cmds='.so'
10796 hardcode_into_libs=yes
10797 dynamic_linker="$host_os dld.so"
10798 shlibpath_var=LD_LIBRARY_PATH
10799 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801 soname_spec='${libname}${release}${shared_ext}$major'
10802 if test "X$HPUX_IA64_MODE" = X32; then
10803 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10804 else
10805 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10806 fi
10807 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10808 ;;
10809 hppa*64*)
10810 shrext_cmds='.sl'
10811 hardcode_into_libs=yes
10812 dynamic_linker="$host_os dld.sl"
10813 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10814 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10816 soname_spec='${libname}${release}${shared_ext}$major'
10817 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10818 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10819 ;;
10820 *)
10821 shrext_cmds='.sl'
10822 dynamic_linker="$host_os dld.sl"
10823 shlibpath_var=SHLIB_PATH
10824 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 soname_spec='${libname}${release}${shared_ext}$major'
10827 ;;
10828 esac
10829 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10830 postinstall_cmds='chmod 555 $lib'
10831 # or fails outright, so override atomically:
10832 install_override_mode=555
10833 ;;
10834
10835 interix[3-9]*)
10836 version_type=linux
10837 need_lib_prefix=no
10838 need_version=no
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10841 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10844 hardcode_into_libs=yes
10845 ;;
10846
10847 irix5* | irix6* | nonstopux*)
10848 case $host_os in
10849 nonstopux*) version_type=nonstopux ;;
10850 *)
10851 if test "$lt_cv_prog_gnu_ld" = yes; then
10852 version_type=linux
10853 else
10854 version_type=irix
10855 fi ;;
10856 esac
10857 need_lib_prefix=no
10858 need_version=no
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10861 case $host_os in
10862 irix5* | nonstopux*)
10863 libsuff= shlibsuff=
10864 ;;
10865 *)
10866 case $LD in # libtool.m4 will add one of these switches to LD
10867 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10868 libsuff= shlibsuff= libmagic=32-bit;;
10869 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10870 libsuff=32 shlibsuff=N32 libmagic=N32;;
10871 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10872 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10873 *) libsuff= shlibsuff= libmagic=never-match;;
10874 esac
10875 ;;
10876 esac
10877 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10878 shlibpath_overrides_runpath=no
10879 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10880 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10881 hardcode_into_libs=yes
10882 ;;
10883
10884 # No shared lib support for Linux oldld, aout, or coff.
10885 linux*oldld* | linux*aout* | linux*coff*)
10886 dynamic_linker=no
10887 ;;
10888
10889 # This must be Linux ELF.
10890 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10891 version_type=linux
10892 need_lib_prefix=no
10893 need_version=no
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=no
10899
10900 # Some binutils ld are patched to set DT_RUNPATH
10901 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10902 $as_echo_n "(cached) " >&6
10903 else
10904 lt_cv_shlibpath_overrides_runpath=no
10905 save_LDFLAGS=$LDFLAGS
10906 save_libdir=$libdir
10907 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10908 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10909 if test x$gcc_no_link = xyes; then
10910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10911 fi
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10914
10915 int
10916 main ()
10917 {
10918
10919 ;
10920 return 0;
10921 }
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10925 lt_cv_shlibpath_overrides_runpath=yes
10926 fi
10927 fi
10928 rm -f core conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LDFLAGS=$save_LDFLAGS
10931 libdir=$save_libdir
10932
10933 fi
10934
10935 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10936
10937 # This implies no fast_install, which is unacceptable.
10938 # Some rework will be needed to allow for fast_install
10939 # before this can be enabled.
10940 hardcode_into_libs=yes
10941
10942 # Append ld.so.conf contents to the search path
10943 if test -f /etc/ld.so.conf; then
10944 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' ' '`
10945 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10946 fi
10947
10948 # We used to test for /lib/ld.so.1 and disable shared libraries on
10949 # powerpc, because MkLinux only supported shared libraries with the
10950 # GNU dynamic linker. Since this was broken with cross compilers,
10951 # most powerpc-linux boxes support dynamic linking these days and
10952 # people can always --disable-shared, the test was removed, and we
10953 # assume the GNU/Linux dynamic linker is in use.
10954 dynamic_linker='GNU/Linux ld.so'
10955 ;;
10956
10957 netbsd*)
10958 version_type=sunos
10959 need_lib_prefix=no
10960 need_version=no
10961 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10963 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10964 dynamic_linker='NetBSD (a.out) ld.so'
10965 else
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 dynamic_linker='NetBSD ld.elf_so'
10969 fi
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=yes
10972 hardcode_into_libs=yes
10973 ;;
10974
10975 newsos6)
10976 version_type=linux
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 shlibpath_var=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath=yes
10980 ;;
10981
10982 *nto* | *qnx*)
10983 version_type=qnx
10984 need_lib_prefix=no
10985 need_version=no
10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10987 soname_spec='${libname}${release}${shared_ext}$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10989 shlibpath_overrides_runpath=no
10990 hardcode_into_libs=yes
10991 dynamic_linker='ldqnx.so'
10992 ;;
10993
10994 openbsd*)
10995 version_type=sunos
10996 sys_lib_dlsearch_path_spec="/usr/lib"
10997 need_lib_prefix=no
10998 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10999 case $host_os in
11000 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11001 *) need_version=no ;;
11002 esac
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11004 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11007 case $host_os in
11008 openbsd2.[89] | openbsd2.[89].*)
11009 shlibpath_overrides_runpath=no
11010 ;;
11011 *)
11012 shlibpath_overrides_runpath=yes
11013 ;;
11014 esac
11015 else
11016 shlibpath_overrides_runpath=yes
11017 fi
11018 ;;
11019
11020 os2*)
11021 libname_spec='$name'
11022 shrext_cmds=".dll"
11023 need_lib_prefix=no
11024 library_names_spec='$libname${shared_ext} $libname.a'
11025 dynamic_linker='OS/2 ld.exe'
11026 shlibpath_var=LIBPATH
11027 ;;
11028
11029 osf3* | osf4* | osf5*)
11030 version_type=osf
11031 need_lib_prefix=no
11032 need_version=no
11033 soname_spec='${libname}${release}${shared_ext}$major'
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 shlibpath_var=LD_LIBRARY_PATH
11036 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11037 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11038 ;;
11039
11040 rdos*)
11041 dynamic_linker=no
11042 ;;
11043
11044 solaris*)
11045 version_type=linux
11046 need_lib_prefix=no
11047 need_version=no
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 shlibpath_overrides_runpath=yes
11052 hardcode_into_libs=yes
11053 # ldd complains unless libraries are executable
11054 postinstall_cmds='chmod +x $lib'
11055 ;;
11056
11057 sunos4*)
11058 version_type=sunos
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11060 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=yes
11063 if test "$with_gnu_ld" = yes; then
11064 need_lib_prefix=no
11065 fi
11066 need_version=yes
11067 ;;
11068
11069 sysv4 | sysv4.3*)
11070 version_type=linux
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec='${libname}${release}${shared_ext}$major'
11073 shlibpath_var=LD_LIBRARY_PATH
11074 case $host_vendor in
11075 sni)
11076 shlibpath_overrides_runpath=no
11077 need_lib_prefix=no
11078 runpath_var=LD_RUN_PATH
11079 ;;
11080 siemens)
11081 need_lib_prefix=no
11082 ;;
11083 motorola)
11084 need_lib_prefix=no
11085 need_version=no
11086 shlibpath_overrides_runpath=no
11087 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11088 ;;
11089 esac
11090 ;;
11091
11092 sysv4*MP*)
11093 if test -d /usr/nec ;then
11094 version_type=linux
11095 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11096 soname_spec='$libname${shared_ext}.$major'
11097 shlibpath_var=LD_LIBRARY_PATH
11098 fi
11099 ;;
11100
11101 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11102 version_type=freebsd-elf
11103 need_lib_prefix=no
11104 need_version=no
11105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11106 soname_spec='${libname}${release}${shared_ext}$major'
11107 shlibpath_var=LD_LIBRARY_PATH
11108 shlibpath_overrides_runpath=yes
11109 hardcode_into_libs=yes
11110 if test "$with_gnu_ld" = yes; then
11111 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11112 else
11113 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11114 case $host_os in
11115 sco3.2v5*)
11116 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11117 ;;
11118 esac
11119 fi
11120 sys_lib_dlsearch_path_spec='/usr/lib'
11121 ;;
11122
11123 tpf*)
11124 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11125 version_type=linux
11126 need_lib_prefix=no
11127 need_version=no
11128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129 shlibpath_var=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath=no
11131 hardcode_into_libs=yes
11132 ;;
11133
11134 uts4*)
11135 version_type=linux
11136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11137 soname_spec='${libname}${release}${shared_ext}$major'
11138 shlibpath_var=LD_LIBRARY_PATH
11139 ;;
11140
11141 *)
11142 dynamic_linker=no
11143 ;;
11144 esac
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11146 $as_echo "$dynamic_linker" >&6; }
11147 test "$dynamic_linker" = no && can_build_shared=no
11148
11149 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11150 if test "$GCC" = yes; then
11151 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11152 fi
11153
11154 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11155 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11156 fi
11157 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11158 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11159 fi
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11253 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11254 hardcode_action=
11255 if test -n "$hardcode_libdir_flag_spec" ||
11256 test -n "$runpath_var" ||
11257 test "X$hardcode_automatic" = "Xyes" ; then
11258
11259 # We can hardcode non-existent directories.
11260 if test "$hardcode_direct" != no &&
11261 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11262 # have to relink, otherwise we might link with an installed library
11263 # when we should be linking with a yet-to-be-installed one
11264 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11265 test "$hardcode_minus_L" != no; then
11266 # Linking always hardcodes the temporary library directory.
11267 hardcode_action=relink
11268 else
11269 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11270 hardcode_action=immediate
11271 fi
11272 else
11273 # We cannot hardcode anything, or else we can only hardcode existing
11274 # directories.
11275 hardcode_action=unsupported
11276 fi
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11278 $as_echo "$hardcode_action" >&6; }
11279
11280 if test "$hardcode_action" = relink ||
11281 test "$inherit_rpath" = yes; then
11282 # Fast installation is not supported
11283 enable_fast_install=no
11284 elif test "$shlibpath_overrides_runpath" = yes ||
11285 test "$enable_shared" = no; then
11286 # Fast installation is not necessary
11287 enable_fast_install=needless
11288 fi
11289
11290
11291
11292
11293
11294
11295 if test "x$enable_dlopen" != xyes; then
11296 enable_dlopen=unknown
11297 enable_dlopen_self=unknown
11298 enable_dlopen_self_static=unknown
11299 else
11300 lt_cv_dlopen=no
11301 lt_cv_dlopen_libs=
11302
11303 case $host_os in
11304 beos*)
11305 lt_cv_dlopen="load_add_on"
11306 lt_cv_dlopen_libs=
11307 lt_cv_dlopen_self=yes
11308 ;;
11309
11310 mingw* | pw32* | cegcc*)
11311 lt_cv_dlopen="LoadLibrary"
11312 lt_cv_dlopen_libs=
11313 ;;
11314
11315 cygwin*)
11316 lt_cv_dlopen="dlopen"
11317 lt_cv_dlopen_libs=
11318 ;;
11319
11320 darwin*)
11321 # if libdl is installed we need to link against it
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11323 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11324 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_lib_save_LIBS=$LIBS
11328 LIBS="-ldl $LIBS"
11329 if test x$gcc_no_link = xyes; then
11330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11331 fi
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11334
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char dlopen ();
11342 int
11343 main ()
11344 {
11345 return dlopen ();
11346 ;
11347 return 0;
11348 }
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_dl_dlopen=yes
11352 else
11353 ac_cv_lib_dl_dlopen=no
11354 fi
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11358 fi
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11362 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11363 else
11364
11365 lt_cv_dlopen="dyld"
11366 lt_cv_dlopen_libs=
11367 lt_cv_dlopen_self=yes
11368
11369 fi
11370
11371 ;;
11372
11373 *)
11374 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11375 if test "x$ac_cv_func_shl_load" = x""yes; then :
11376 lt_cv_dlopen="shl_load"
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11379 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11380 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-ldld $LIBS"
11385 if test x$gcc_no_link = xyes; then
11386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11387 fi
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11390
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char shl_load ();
11398 int
11399 main ()
11400 {
11401 return shl_load ();
11402 ;
11403 return 0;
11404 }
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 ac_cv_lib_dld_shl_load=yes
11408 else
11409 ac_cv_lib_dld_shl_load=no
11410 fi
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11414 fi
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11416 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11417 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11418 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11419 else
11420 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11421 if test "x$ac_cv_func_dlopen" = x""yes; then :
11422 lt_cv_dlopen="dlopen"
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11425 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11426 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-ldl $LIBS"
11431 if test x$gcc_no_link = xyes; then
11432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11433 fi
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11436
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char dlopen ();
11444 int
11445 main ()
11446 {
11447 return dlopen ();
11448 ;
11449 return 0;
11450 }
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 ac_cv_lib_dl_dlopen=yes
11454 else
11455 ac_cv_lib_dl_dlopen=no
11456 fi
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11460 fi
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11462 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11463 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11464 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11465 else
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11467 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11468 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11469 $as_echo_n "(cached) " >&6
11470 else
11471 ac_check_lib_save_LIBS=$LIBS
11472 LIBS="-lsvld $LIBS"
11473 if test x$gcc_no_link = xyes; then
11474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11475 fi
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11478
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char dlopen ();
11486 int
11487 main ()
11488 {
11489 return dlopen ();
11490 ;
11491 return 0;
11492 }
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 ac_cv_lib_svld_dlopen=yes
11496 else
11497 ac_cv_lib_svld_dlopen=no
11498 fi
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_lib_save_LIBS
11502 fi
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11504 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11505 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11506 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11507 else
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11509 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11510 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-ldld $LIBS"
11515 if test x$gcc_no_link = xyes; then
11516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11517 fi
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11520
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char dld_link ();
11528 int
11529 main ()
11530 {
11531 return dld_link ();
11532 ;
11533 return 0;
11534 }
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 ac_cv_lib_dld_dld_link=yes
11538 else
11539 ac_cv_lib_dld_dld_link=no
11540 fi
11541 rm -f core conftest.err conftest.$ac_objext \
11542 conftest$ac_exeext conftest.$ac_ext
11543 LIBS=$ac_check_lib_save_LIBS
11544 fi
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11546 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11547 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11548 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11549 fi
11550
11551
11552 fi
11553
11554
11555 fi
11556
11557
11558 fi
11559
11560
11561 fi
11562
11563
11564 fi
11565
11566 ;;
11567 esac
11568
11569 if test "x$lt_cv_dlopen" != xno; then
11570 enable_dlopen=yes
11571 else
11572 enable_dlopen=no
11573 fi
11574
11575 case $lt_cv_dlopen in
11576 dlopen)
11577 save_CPPFLAGS="$CPPFLAGS"
11578 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11579
11580 save_LDFLAGS="$LDFLAGS"
11581 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11582
11583 save_LIBS="$LIBS"
11584 LIBS="$lt_cv_dlopen_libs $LIBS"
11585
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11587 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11599
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11603
11604 #include <stdio.h>
11605
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11615
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11637
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11643
11644 void fnord () { int i=42; }
11645 int main ()
11646 {
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11649
11650 if (self)
11651 {
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11654 {
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11657 }
11658 /* dlclose (self); */
11659 }
11660 else
11661 puts (dlerror ());
11662
11663 return status;
11664 }
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self=no
11681 fi
11682 fi
11683 rm -fr conftest*
11684
11685
11686 fi
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11688 $as_echo "$lt_cv_dlopen_self" >&6; }
11689
11690 if test "x$lt_cv_dlopen_self" = xyes; then
11691 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11693 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11694 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11695 $as_echo_n "(cached) " >&6
11696 else
11697 if test "$cross_compiling" = yes; then :
11698 lt_cv_dlopen_self_static=cross
11699 else
11700 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11701 lt_status=$lt_dlunknown
11702 cat > conftest.$ac_ext <<_LT_EOF
11703 #line 11703 "configure"
11704 #include "confdefs.h"
11705
11706 #if HAVE_DLFCN_H
11707 #include <dlfcn.h>
11708 #endif
11709
11710 #include <stdio.h>
11711
11712 #ifdef RTLD_GLOBAL
11713 # define LT_DLGLOBAL RTLD_GLOBAL
11714 #else
11715 # ifdef DL_GLOBAL
11716 # define LT_DLGLOBAL DL_GLOBAL
11717 # else
11718 # define LT_DLGLOBAL 0
11719 # endif
11720 #endif
11721
11722 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11723 find out it does not work in some platform. */
11724 #ifndef LT_DLLAZY_OR_NOW
11725 # ifdef RTLD_LAZY
11726 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11727 # else
11728 # ifdef DL_LAZY
11729 # define LT_DLLAZY_OR_NOW DL_LAZY
11730 # else
11731 # ifdef RTLD_NOW
11732 # define LT_DLLAZY_OR_NOW RTLD_NOW
11733 # else
11734 # ifdef DL_NOW
11735 # define LT_DLLAZY_OR_NOW DL_NOW
11736 # else
11737 # define LT_DLLAZY_OR_NOW 0
11738 # endif
11739 # endif
11740 # endif
11741 # endif
11742 #endif
11743
11744 /* When -fvisbility=hidden is used, assume the code has been annotated
11745 correspondingly for the symbols needed. */
11746 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11747 void fnord () __attribute__((visibility("default")));
11748 #endif
11749
11750 void fnord () { int i=42; }
11751 int main ()
11752 {
11753 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11754 int status = $lt_dlunknown;
11755
11756 if (self)
11757 {
11758 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11759 else
11760 {
11761 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11762 else puts (dlerror ());
11763 }
11764 /* dlclose (self); */
11765 }
11766 else
11767 puts (dlerror ());
11768
11769 return status;
11770 }
11771 _LT_EOF
11772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11773 (eval $ac_link) 2>&5
11774 ac_status=$?
11775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11776 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11777 (./conftest; exit; ) >&5 2>/dev/null
11778 lt_status=$?
11779 case x$lt_status in
11780 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11781 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11782 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11783 esac
11784 else :
11785 # compilation failed
11786 lt_cv_dlopen_self_static=no
11787 fi
11788 fi
11789 rm -fr conftest*
11790
11791
11792 fi
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11794 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11795 fi
11796
11797 CPPFLAGS="$save_CPPFLAGS"
11798 LDFLAGS="$save_LDFLAGS"
11799 LIBS="$save_LIBS"
11800 ;;
11801 esac
11802
11803 case $lt_cv_dlopen_self in
11804 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11805 *) enable_dlopen_self=unknown ;;
11806 esac
11807
11808 case $lt_cv_dlopen_self_static in
11809 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11810 *) enable_dlopen_self_static=unknown ;;
11811 esac
11812 fi
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830 striplib=
11831 old_striplib=
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11833 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11834 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11835 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11836 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11838 $as_echo "yes" >&6; }
11839 else
11840 # FIXME - insert some real tests, host_os isn't really good enough
11841 case $host_os in
11842 darwin*)
11843 if test -n "$STRIP" ; then
11844 striplib="$STRIP -x"
11845 old_striplib="$STRIP -S"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11847 $as_echo "yes" >&6; }
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11851 fi
11852 ;;
11853 *)
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11856 ;;
11857 esac
11858 fi
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871 # Report which library types will actually be built
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11873 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11875 $as_echo "$can_build_shared" >&6; }
11876
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11878 $as_echo_n "checking whether to build shared libraries... " >&6; }
11879 test "$can_build_shared" = "no" && enable_shared=no
11880
11881 # On AIX, shared libraries and static libraries use the same namespace, and
11882 # are all built from PIC.
11883 case $host_os in
11884 aix3*)
11885 test "$enable_shared" = yes && enable_static=no
11886 if test -n "$RANLIB"; then
11887 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11888 postinstall_cmds='$RANLIB $lib'
11889 fi
11890 ;;
11891
11892 aix[4-9]*)
11893 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11894 test "$enable_shared" = yes && enable_static=no
11895 fi
11896 ;;
11897 esac
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11899 $as_echo "$enable_shared" >&6; }
11900
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11902 $as_echo_n "checking whether to build static libraries... " >&6; }
11903 # Make sure either enable_shared or enable_static is yes.
11904 test "$enable_shared" = yes || enable_static=yes
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11906 $as_echo "$enable_static" >&6; }
11907
11908
11909
11910
11911 fi
11912 ac_ext=c
11913 ac_cpp='$CPP $CPPFLAGS'
11914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11917
11918 CC="$lt_save_CC"
11919
11920 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11921 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11922 (test "X$CXX" != "Xg++"))) ; then
11923 ac_ext=cpp
11924 ac_cpp='$CXXCPP $CPPFLAGS'
11925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11929 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11930 if test -z "$CXXCPP"; then
11931 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11932 $as_echo_n "(cached) " >&6
11933 else
11934 # Double quotes because CXXCPP needs to be expanded
11935 for CXXCPP in "$CXX -E" "/lib/cpp"
11936 do
11937 ac_preproc_ok=false
11938 for ac_cxx_preproc_warn_flag in '' yes
11939 do
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 #ifdef __STDC__
11949 # include <limits.h>
11950 #else
11951 # include <assert.h>
11952 #endif
11953 Syntax error
11954 _ACEOF
11955 if ac_fn_cxx_try_cpp "$LINENO"; then :
11956
11957 else
11958 # Broken: fails on valid input.
11959 continue
11960 fi
11961 rm -f conftest.err conftest.$ac_ext
11962
11963 # OK, works on sane cases. Now check whether nonexistent headers
11964 # can be detected and how.
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 #include <ac_nonexistent.h>
11968 _ACEOF
11969 if ac_fn_cxx_try_cpp "$LINENO"; then :
11970 # Broken: success on invalid input.
11971 continue
11972 else
11973 # Passes both tests.
11974 ac_preproc_ok=:
11975 break
11976 fi
11977 rm -f conftest.err conftest.$ac_ext
11978
11979 done
11980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11981 rm -f conftest.err conftest.$ac_ext
11982 if $ac_preproc_ok; then :
11983 break
11984 fi
11985
11986 done
11987 ac_cv_prog_CXXCPP=$CXXCPP
11988
11989 fi
11990 CXXCPP=$ac_cv_prog_CXXCPP
11991 else
11992 ac_cv_prog_CXXCPP=$CXXCPP
11993 fi
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11995 $as_echo "$CXXCPP" >&6; }
11996 ac_preproc_ok=false
11997 for ac_cxx_preproc_warn_flag in '' yes
11998 do
11999 # Use a header file that comes with gcc, so configuring glibc
12000 # with a fresh cross-compiler works.
12001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12002 # <limits.h> exists even on freestanding compilers.
12003 # On the NeXT, cc -E runs the code through the compiler's parser,
12004 # not just through cpp. "Syntax error" is here to catch this case.
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 #ifdef __STDC__
12008 # include <limits.h>
12009 #else
12010 # include <assert.h>
12011 #endif
12012 Syntax error
12013 _ACEOF
12014 if ac_fn_cxx_try_cpp "$LINENO"; then :
12015
12016 else
12017 # Broken: fails on valid input.
12018 continue
12019 fi
12020 rm -f conftest.err conftest.$ac_ext
12021
12022 # OK, works on sane cases. Now check whether nonexistent headers
12023 # can be detected and how.
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12026 #include <ac_nonexistent.h>
12027 _ACEOF
12028 if ac_fn_cxx_try_cpp "$LINENO"; then :
12029 # Broken: success on invalid input.
12030 continue
12031 else
12032 # Passes both tests.
12033 ac_preproc_ok=:
12034 break
12035 fi
12036 rm -f conftest.err conftest.$ac_ext
12037
12038 done
12039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12040 rm -f conftest.err conftest.$ac_ext
12041 if $ac_preproc_ok; then :
12042
12043 else
12044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12046 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12047 See \`config.log' for more details." "$LINENO" 5; }
12048 fi
12049
12050 ac_ext=c
12051 ac_cpp='$CPP $CPPFLAGS'
12052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12055
12056 else
12057 _lt_caught_CXX_error=yes
12058 fi
12059
12060 ac_ext=cpp
12061 ac_cpp='$CXXCPP $CPPFLAGS'
12062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12065
12066 archive_cmds_need_lc_CXX=no
12067 allow_undefined_flag_CXX=
12068 always_export_symbols_CXX=no
12069 archive_expsym_cmds_CXX=
12070 compiler_needs_object_CXX=no
12071 export_dynamic_flag_spec_CXX=
12072 hardcode_direct_CXX=no
12073 hardcode_direct_absolute_CXX=no
12074 hardcode_libdir_flag_spec_CXX=
12075 hardcode_libdir_flag_spec_ld_CXX=
12076 hardcode_libdir_separator_CXX=
12077 hardcode_minus_L_CXX=no
12078 hardcode_shlibpath_var_CXX=unsupported
12079 hardcode_automatic_CXX=no
12080 inherit_rpath_CXX=no
12081 module_cmds_CXX=
12082 module_expsym_cmds_CXX=
12083 link_all_deplibs_CXX=unknown
12084 old_archive_cmds_CXX=$old_archive_cmds
12085 reload_flag_CXX=$reload_flag
12086 reload_cmds_CXX=$reload_cmds
12087 no_undefined_flag_CXX=
12088 whole_archive_flag_spec_CXX=
12089 enable_shared_with_static_runtimes_CXX=no
12090
12091 # Source file extension for C++ test sources.
12092 ac_ext=cpp
12093
12094 # Object file extension for compiled C++ test sources.
12095 objext=o
12096 objext_CXX=$objext
12097
12098 # No sense in running all these tests if we already determined that
12099 # the CXX compiler isn't working. Some variables (like enable_shared)
12100 # are currently assumed to apply to all compilers on this platform,
12101 # and will be corrupted by setting them based on a non-working compiler.
12102 if test "$_lt_caught_CXX_error" != yes; then
12103 # Code to be used in simple compile tests
12104 lt_simple_compile_test_code="int some_variable = 0;"
12105
12106 # Code to be used in simple link tests
12107 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12108
12109 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12110
12111
12112
12113
12114
12115
12116 # If no C compiler was specified, use CC.
12117 LTCC=${LTCC-"$CC"}
12118
12119 # If no C compiler flags were specified, use CFLAGS.
12120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12121
12122 # Allow CC to be a program name with arguments.
12123 compiler=$CC
12124
12125
12126 # save warnings/boilerplate of simple test code
12127 ac_outfile=conftest.$ac_objext
12128 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12129 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12130 _lt_compiler_boilerplate=`cat conftest.err`
12131 $RM conftest*
12132
12133 ac_outfile=conftest.$ac_objext
12134 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12135 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12136 _lt_linker_boilerplate=`cat conftest.err`
12137 $RM -r conftest*
12138
12139
12140 # Allow CC to be a program name with arguments.
12141 lt_save_CC=$CC
12142 lt_save_LD=$LD
12143 lt_save_GCC=$GCC
12144 GCC=$GXX
12145 lt_save_with_gnu_ld=$with_gnu_ld
12146 lt_save_path_LD=$lt_cv_path_LD
12147 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12148 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12149 else
12150 $as_unset lt_cv_prog_gnu_ld
12151 fi
12152 if test -n "${lt_cv_path_LDCXX+set}"; then
12153 lt_cv_path_LD=$lt_cv_path_LDCXX
12154 else
12155 $as_unset lt_cv_path_LD
12156 fi
12157 test -z "${LDCXX+set}" || LD=$LDCXX
12158 CC=${CXX-"c++"}
12159 compiler=$CC
12160 compiler_CXX=$CC
12161 for cc_temp in $compiler""; do
12162 case $cc_temp in
12163 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12164 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12165 \-*) ;;
12166 *) break;;
12167 esac
12168 done
12169 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12170
12171
12172 if test -n "$compiler"; then
12173 # We don't want -fno-exception when compiling C++ code, so set the
12174 # no_builtin_flag separately
12175 if test "$GXX" = yes; then
12176 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12177 else
12178 lt_prog_compiler_no_builtin_flag_CXX=
12179 fi
12180
12181 if test "$GXX" = yes; then
12182 # Set up default GNU C++ configuration
12183
12184
12185
12186 # Check whether --with-gnu-ld was given.
12187 if test "${with_gnu_ld+set}" = set; then :
12188 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12189 else
12190 with_gnu_ld=no
12191 fi
12192
12193 ac_prog=ld
12194 if test "$GCC" = yes; then
12195 # Check if gcc -print-prog-name=ld gives a path.
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12197 $as_echo_n "checking for ld used by $CC... " >&6; }
12198 case $host in
12199 *-*-mingw*)
12200 # gcc leaves a trailing carriage return which upsets mingw
12201 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12202 *)
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12204 esac
12205 case $ac_prog in
12206 # Accept absolute paths.
12207 [\\/]* | ?:[\\/]*)
12208 re_direlt='/[^/][^/]*/\.\./'
12209 # Canonicalize the pathname of ld
12210 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12211 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12212 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12213 done
12214 test -z "$LD" && LD="$ac_prog"
12215 ;;
12216 "")
12217 # If it fails, then pretend we aren't using GCC.
12218 ac_prog=ld
12219 ;;
12220 *)
12221 # If it is relative, then search for the first ld in PATH.
12222 with_gnu_ld=unknown
12223 ;;
12224 esac
12225 elif test "$with_gnu_ld" = yes; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12227 $as_echo_n "checking for GNU ld... " >&6; }
12228 else
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12230 $as_echo_n "checking for non-GNU ld... " >&6; }
12231 fi
12232 if test "${lt_cv_path_LD+set}" = set; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 if test -z "$LD"; then
12236 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12237 for ac_dir in $PATH; do
12238 IFS="$lt_save_ifs"
12239 test -z "$ac_dir" && ac_dir=.
12240 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12241 lt_cv_path_LD="$ac_dir/$ac_prog"
12242 # Check to see if the program is GNU ld. I'd rather use --version,
12243 # but apparently some variants of GNU ld only accept -v.
12244 # Break only if it was the GNU/non-GNU ld that we prefer.
12245 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12246 *GNU* | *'with BFD'*)
12247 test "$with_gnu_ld" != no && break
12248 ;;
12249 *)
12250 test "$with_gnu_ld" != yes && break
12251 ;;
12252 esac
12253 fi
12254 done
12255 IFS="$lt_save_ifs"
12256 else
12257 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12258 fi
12259 fi
12260
12261 LD="$lt_cv_path_LD"
12262 if test -n "$LD"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12264 $as_echo "$LD" >&6; }
12265 else
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12267 $as_echo "no" >&6; }
12268 fi
12269 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12271 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12272 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12276 case `$LD -v 2>&1 </dev/null` in
12277 *GNU* | *'with BFD'*)
12278 lt_cv_prog_gnu_ld=yes
12279 ;;
12280 *)
12281 lt_cv_prog_gnu_ld=no
12282 ;;
12283 esac
12284 fi
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12286 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12287 with_gnu_ld=$lt_cv_prog_gnu_ld
12288
12289
12290
12291
12292
12293
12294
12295 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12296 # archiving commands below assume that GNU ld is being used.
12297 if test "$with_gnu_ld" = yes; then
12298 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12299 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'
12300
12301 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12302 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12303
12304 # If archive_cmds runs LD, not CC, wlarc should be empty
12305 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12306 # investigate it a little bit more. (MM)
12307 wlarc='${wl}'
12308
12309 # ancient GNU ld didn't support --whole-archive et. al.
12310 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12311 $GREP 'no-whole-archive' > /dev/null; then
12312 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12313 else
12314 whole_archive_flag_spec_CXX=
12315 fi
12316 else
12317 with_gnu_ld=no
12318 wlarc=
12319
12320 # A generic and very simple default shared library creation
12321 # command for GNU C++ for the case where it uses the native
12322 # linker, instead of GNU ld. If possible, this setting should
12323 # overridden to take advantage of the native linker features on
12324 # the platform it is being used on.
12325 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12326 fi
12327
12328 # Commands to make compiler produce verbose output that lists
12329 # what "hidden" libraries, object files and flags are used when
12330 # linking a shared library.
12331 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12332
12333 else
12334 GXX=no
12335 with_gnu_ld=no
12336 wlarc=
12337 fi
12338
12339 # PORTME: fill in a description of your system's C++ link characteristics
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12342 ld_shlibs_CXX=yes
12343 case $host_os in
12344 aix3*)
12345 # FIXME: insert proper C++ library support
12346 ld_shlibs_CXX=no
12347 ;;
12348 aix[4-9]*)
12349 if test "$host_cpu" = ia64; then
12350 # On IA64, the linker does run time linking by default, so we don't
12351 # have to do anything special.
12352 aix_use_runtimelinking=no
12353 exp_sym_flag='-Bexport'
12354 no_entry_flag=""
12355 else
12356 aix_use_runtimelinking=no
12357
12358 # Test if we are trying to use run time linking or normal
12359 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12360 # need to do runtime linking.
12361 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12362 for ld_flag in $LDFLAGS; do
12363 case $ld_flag in
12364 *-brtl*)
12365 aix_use_runtimelinking=yes
12366 break
12367 ;;
12368 esac
12369 done
12370 ;;
12371 esac
12372
12373 exp_sym_flag='-bexport'
12374 no_entry_flag='-bnoentry'
12375 fi
12376
12377 # When large executables or shared objects are built, AIX ld can
12378 # have problems creating the table of contents. If linking a library
12379 # or program results in "error TOC overflow" add -mminimal-toc to
12380 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12381 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12382
12383 archive_cmds_CXX=''
12384 hardcode_direct_CXX=yes
12385 hardcode_direct_absolute_CXX=yes
12386 hardcode_libdir_separator_CXX=':'
12387 link_all_deplibs_CXX=yes
12388 file_list_spec_CXX='${wl}-f,'
12389
12390 if test "$GXX" = yes; then
12391 case $host_os in aix4.[012]|aix4.[012].*)
12392 # We only want to do this on AIX 4.2 and lower, the check
12393 # below for broken collect2 doesn't work under 4.3+
12394 collect2name=`${CC} -print-prog-name=collect2`
12395 if test -f "$collect2name" &&
12396 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12397 then
12398 # We have reworked collect2
12399 :
12400 else
12401 # We have old collect2
12402 hardcode_direct_CXX=unsupported
12403 # It fails to find uninstalled libraries when the uninstalled
12404 # path is not listed in the libpath. Setting hardcode_minus_L
12405 # to unsupported forces relinking
12406 hardcode_minus_L_CXX=yes
12407 hardcode_libdir_flag_spec_CXX='-L$libdir'
12408 hardcode_libdir_separator_CXX=
12409 fi
12410 esac
12411 shared_flag='-shared'
12412 if test "$aix_use_runtimelinking" = yes; then
12413 shared_flag="$shared_flag "'${wl}-G'
12414 fi
12415 else
12416 # not using gcc
12417 if test "$host_cpu" = ia64; then
12418 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12419 # chokes on -Wl,-G. The following line is correct:
12420 shared_flag='-G'
12421 else
12422 if test "$aix_use_runtimelinking" = yes; then
12423 shared_flag='${wl}-G'
12424 else
12425 shared_flag='${wl}-bM:SRE'
12426 fi
12427 fi
12428 fi
12429
12430 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12431 # It seems that -bexpall does not export symbols beginning with
12432 # underscore (_), so it is better to generate a list of symbols to
12433 # export.
12434 always_export_symbols_CXX=yes
12435 if test "$aix_use_runtimelinking" = yes; then
12436 # Warning - without using the other runtime loading flags (-brtl),
12437 # -berok will link without error, but may produce a broken library.
12438 allow_undefined_flag_CXX='-berok'
12439 # Determine the default libpath from the value encoded in an empty
12440 # executable.
12441 if test x$gcc_no_link = xyes; then
12442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12443 fi
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12446
12447 int
12448 main ()
12449 {
12450
12451 ;
12452 return 0;
12453 }
12454 _ACEOF
12455 if ac_fn_cxx_try_link "$LINENO"; then :
12456
12457 lt_aix_libpath_sed='
12458 /Import File Strings/,/^$/ {
12459 /^0/ {
12460 s/^0 *\(.*\)$/\1/
12461 p
12462 }
12463 }'
12464 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12465 # Check for a 64-bit object if we didn't find anything.
12466 if test -z "$aix_libpath"; then
12467 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12468 fi
12469 fi
12470 rm -f core conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12473
12474 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12475
12476 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"
12477 else
12478 if test "$host_cpu" = ia64; then
12479 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12480 allow_undefined_flag_CXX="-z nodefs"
12481 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"
12482 else
12483 # Determine the default libpath from the value encoded in an
12484 # empty executable.
12485 if test x$gcc_no_link = xyes; then
12486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12487 fi
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12490
12491 int
12492 main ()
12493 {
12494
12495 ;
12496 return 0;
12497 }
12498 _ACEOF
12499 if ac_fn_cxx_try_link "$LINENO"; then :
12500
12501 lt_aix_libpath_sed='
12502 /Import File Strings/,/^$/ {
12503 /^0/ {
12504 s/^0 *\(.*\)$/\1/
12505 p
12506 }
12507 }'
12508 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12509 # Check for a 64-bit object if we didn't find anything.
12510 if test -z "$aix_libpath"; then
12511 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12512 fi
12513 fi
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12517
12518 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12519 # Warning - without using the other run time loading flags,
12520 # -berok will link without error, but may produce a broken library.
12521 no_undefined_flag_CXX=' ${wl}-bernotok'
12522 allow_undefined_flag_CXX=' ${wl}-berok'
12523 if test "$with_gnu_ld" = yes; then
12524 # We only use this code for GNU lds that support --whole-archive.
12525 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12526 else
12527 # Exported symbols can be pulled into shared objects from archives
12528 whole_archive_flag_spec_CXX='$convenience'
12529 fi
12530 archive_cmds_need_lc_CXX=yes
12531 # This is similar to how AIX traditionally builds its shared
12532 # libraries.
12533 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'
12534 fi
12535 fi
12536 ;;
12537
12538 beos*)
12539 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12540 allow_undefined_flag_CXX=unsupported
12541 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12542 # support --undefined. This deserves some investigation. FIXME
12543 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12544 else
12545 ld_shlibs_CXX=no
12546 fi
12547 ;;
12548
12549 chorus*)
12550 case $cc_basename in
12551 *)
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12554 ;;
12555 esac
12556 ;;
12557
12558 cygwin* | mingw* | pw32* | cegcc*)
12559 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12560 # as there is no search path for DLLs.
12561 hardcode_libdir_flag_spec_CXX='-L$libdir'
12562 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12563 allow_undefined_flag_CXX=unsupported
12564 always_export_symbols_CXX=no
12565 enable_shared_with_static_runtimes_CXX=yes
12566
12567 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12568 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'
12569 # If the export-symbols file already is a .def file (1st line
12570 # is EXPORTS), use it as is; otherwise, prepend...
12571 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12572 cp $export_symbols $output_objdir/$soname.def;
12573 else
12574 echo EXPORTS > $output_objdir/$soname.def;
12575 cat $export_symbols >> $output_objdir/$soname.def;
12576 fi~
12577 $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'
12578 else
12579 ld_shlibs_CXX=no
12580 fi
12581 ;;
12582 darwin* | rhapsody*)
12583
12584
12585 archive_cmds_need_lc_CXX=no
12586 hardcode_direct_CXX=no
12587 hardcode_automatic_CXX=yes
12588 hardcode_shlibpath_var_CXX=unsupported
12589 if test "$lt_cv_ld_force_load" = "yes"; then
12590 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\"`'
12591 else
12592 whole_archive_flag_spec_CXX=''
12593 fi
12594 link_all_deplibs_CXX=yes
12595 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12596 case $cc_basename in
12597 ifort*) _lt_dar_can_shared=yes ;;
12598 *) _lt_dar_can_shared=$GCC ;;
12599 esac
12600 if test "$_lt_dar_can_shared" = "yes"; then
12601 output_verbose_link_cmd=func_echo_all
12602 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}"
12603 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12604 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}"
12605 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}"
12606 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12607 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}"
12608 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}"
12609 fi
12610
12611 else
12612 ld_shlibs_CXX=no
12613 fi
12614
12615 ;;
12616
12617 dgux*)
12618 case $cc_basename in
12619 ec++*)
12620 # FIXME: insert proper C++ library support
12621 ld_shlibs_CXX=no
12622 ;;
12623 ghcx*)
12624 # Green Hills C++ Compiler
12625 # FIXME: insert proper C++ library support
12626 ld_shlibs_CXX=no
12627 ;;
12628 *)
12629 # FIXME: insert proper C++ library support
12630 ld_shlibs_CXX=no
12631 ;;
12632 esac
12633 ;;
12634
12635 freebsd2.*)
12636 # C++ shared libraries reported to be fairly broken before
12637 # switch to ELF
12638 ld_shlibs_CXX=no
12639 ;;
12640
12641 freebsd-elf*)
12642 archive_cmds_need_lc_CXX=no
12643 ;;
12644
12645 freebsd* | dragonfly*)
12646 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12647 # conventions
12648 ld_shlibs_CXX=yes
12649 ;;
12650
12651 gnu*)
12652 ;;
12653
12654 haiku*)
12655 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12656 link_all_deplibs_CXX=yes
12657 ;;
12658
12659 hpux9*)
12660 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12661 hardcode_libdir_separator_CXX=:
12662 export_dynamic_flag_spec_CXX='${wl}-E'
12663 hardcode_direct_CXX=yes
12664 hardcode_minus_L_CXX=yes # Not in the search PATH,
12665 # but as the default
12666 # location of the library.
12667
12668 case $cc_basename in
12669 CC*)
12670 # FIXME: insert proper C++ library support
12671 ld_shlibs_CXX=no
12672 ;;
12673 aCC*)
12674 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'
12675 # Commands to make compiler produce verbose output that lists
12676 # what "hidden" libraries, object files and flags are used when
12677 # linking a shared library.
12678 #
12679 # There doesn't appear to be a way to prevent this compiler from
12680 # explicitly linking system object files so we need to strip them
12681 # from the output so that they don't get included in the library
12682 # dependencies.
12683 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"'
12684 ;;
12685 *)
12686 if test "$GXX" = yes; then
12687 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'
12688 else
12689 # FIXME: insert proper C++ library support
12690 ld_shlibs_CXX=no
12691 fi
12692 ;;
12693 esac
12694 ;;
12695
12696 hpux10*|hpux11*)
12697 if test $with_gnu_ld = no; then
12698 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12699 hardcode_libdir_separator_CXX=:
12700
12701 case $host_cpu in
12702 hppa*64*|ia64*)
12703 ;;
12704 *)
12705 export_dynamic_flag_spec_CXX='${wl}-E'
12706 ;;
12707 esac
12708 fi
12709 case $host_cpu in
12710 hppa*64*|ia64*)
12711 hardcode_direct_CXX=no
12712 hardcode_shlibpath_var_CXX=no
12713 ;;
12714 *)
12715 hardcode_direct_CXX=yes
12716 hardcode_direct_absolute_CXX=yes
12717 hardcode_minus_L_CXX=yes # Not in the search PATH,
12718 # but as the default
12719 # location of the library.
12720 ;;
12721 esac
12722
12723 case $cc_basename in
12724 CC*)
12725 # FIXME: insert proper C++ library support
12726 ld_shlibs_CXX=no
12727 ;;
12728 aCC*)
12729 case $host_cpu in
12730 hppa*64*)
12731 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12732 ;;
12733 ia64*)
12734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 ;;
12736 *)
12737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12738 ;;
12739 esac
12740 # Commands to make compiler produce verbose output that lists
12741 # what "hidden" libraries, object files and flags are used when
12742 # linking a shared library.
12743 #
12744 # There doesn't appear to be a way to prevent this compiler from
12745 # explicitly linking system object files so we need to strip them
12746 # from the output so that they don't get included in the library
12747 # dependencies.
12748 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"'
12749 ;;
12750 *)
12751 if test "$GXX" = yes; then
12752 if test $with_gnu_ld = no; then
12753 case $host_cpu in
12754 hppa*64*)
12755 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12756 ;;
12757 ia64*)
12758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 ;;
12760 *)
12761 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'
12762 ;;
12763 esac
12764 fi
12765 else
12766 # FIXME: insert proper C++ library support
12767 ld_shlibs_CXX=no
12768 fi
12769 ;;
12770 esac
12771 ;;
12772
12773 interix[3-9]*)
12774 hardcode_direct_CXX=no
12775 hardcode_shlibpath_var_CXX=no
12776 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12777 export_dynamic_flag_spec_CXX='${wl}-E'
12778 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12779 # Instead, shared libraries are loaded at an image base (0x10000000 by
12780 # default) and relocated if they conflict, which is a slow very memory
12781 # consuming and fragmenting process. To avoid this, we pick a random,
12782 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12783 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12784 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'
12785 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'
12786 ;;
12787 irix5* | irix6*)
12788 case $cc_basename in
12789 CC*)
12790 # SGI C++
12791 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'
12792
12793 # Archives containing C++ object files must be created using
12794 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12795 # necessary to make sure instantiated templates are included
12796 # in the archive.
12797 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12798 ;;
12799 *)
12800 if test "$GXX" = yes; then
12801 if test "$with_gnu_ld" = no; then
12802 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'
12803 else
12804 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'
12805 fi
12806 fi
12807 link_all_deplibs_CXX=yes
12808 ;;
12809 esac
12810 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12811 hardcode_libdir_separator_CXX=:
12812 inherit_rpath_CXX=yes
12813 ;;
12814
12815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12816 case $cc_basename in
12817 KCC*)
12818 # Kuck and Associates, Inc. (KAI) C++ Compiler
12819
12820 # KCC will only create a shared library if the output file
12821 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12822 # to its proper name (with version) after linking.
12823 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'
12824 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'
12825 # Commands to make compiler produce verbose output that lists
12826 # what "hidden" libraries, object files and flags are used when
12827 # linking a shared library.
12828 #
12829 # There doesn't appear to be a way to prevent this compiler from
12830 # explicitly linking system object files so we need to strip them
12831 # from the output so that they don't get included in the library
12832 # dependencies.
12833 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"'
12834
12835 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12836 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12837
12838 # Archives containing C++ object files must be created using
12839 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12840 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12841 ;;
12842 icpc* | ecpc* )
12843 # Intel C++
12844 with_gnu_ld=yes
12845 # version 8.0 and above of icpc choke on multiply defined symbols
12846 # if we add $predep_objects and $postdep_objects, however 7.1 and
12847 # earlier do not add the objects themselves.
12848 case `$CC -V 2>&1` in
12849 *"Version 7."*)
12850 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12851 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'
12852 ;;
12853 *) # Version 8.0 or newer
12854 tmp_idyn=
12855 case $host_cpu in
12856 ia64*) tmp_idyn=' -i_dynamic';;
12857 esac
12858 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12859 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'
12860 ;;
12861 esac
12862 archive_cmds_need_lc_CXX=no
12863 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12864 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12865 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12866 ;;
12867 pgCC* | pgcpp*)
12868 # Portland Group C++ compiler
12869 case `$CC -V` in
12870 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12871 prelink_cmds_CXX='tpldir=Template.dir~
12872 rm -rf $tpldir~
12873 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12874 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12875 old_archive_cmds_CXX='tpldir=Template.dir~
12876 rm -rf $tpldir~
12877 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12878 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12879 $RANLIB $oldlib'
12880 archive_cmds_CXX='tpldir=Template.dir~
12881 rm -rf $tpldir~
12882 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12883 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12884 archive_expsym_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12887 $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'
12888 ;;
12889 *) # Version 6 and above use weak symbols
12890 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12891 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'
12892 ;;
12893 esac
12894
12895 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12896 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12897 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'
12898 ;;
12899 cxx*)
12900 # Compaq C++
12901 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12902 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'
12903
12904 runpath_var=LD_RUN_PATH
12905 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12906 hardcode_libdir_separator_CXX=:
12907
12908 # Commands to make compiler produce verbose output that lists
12909 # what "hidden" libraries, object files and flags are used when
12910 # linking a shared library.
12911 #
12912 # There doesn't appear to be a way to prevent this compiler from
12913 # explicitly linking system object files so we need to strip them
12914 # from the output so that they don't get included in the library
12915 # dependencies.
12916 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'
12917 ;;
12918 xl* | mpixl* | bgxl*)
12919 # IBM XL 8.0 on PPC, with GNU ld
12920 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12921 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12922 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12923 if test "x$supports_anon_versioning" = xyes; then
12924 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12926 echo "local: *; };" >> $output_objdir/$libname.ver~
12927 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12928 fi
12929 ;;
12930 *)
12931 case `$CC -V 2>&1 | sed 5q` in
12932 *Sun\ C*)
12933 # Sun C++ 5.9
12934 no_undefined_flag_CXX=' -zdefs'
12935 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12936 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'
12937 hardcode_libdir_flag_spec_CXX='-R$libdir'
12938 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'
12939 compiler_needs_object_CXX=yes
12940
12941 # Not sure whether something based on
12942 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12943 # would be better.
12944 output_verbose_link_cmd='func_echo_all'
12945
12946 # Archives containing C++ object files must be created using
12947 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12948 # necessary to make sure instantiated templates are included
12949 # in the archive.
12950 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12951 ;;
12952 esac
12953 ;;
12954 esac
12955 ;;
12956
12957 lynxos*)
12958 # FIXME: insert proper C++ library support
12959 ld_shlibs_CXX=no
12960 ;;
12961
12962 m88k*)
12963 # FIXME: insert proper C++ library support
12964 ld_shlibs_CXX=no
12965 ;;
12966
12967 mvs*)
12968 case $cc_basename in
12969 cxx*)
12970 # FIXME: insert proper C++ library support
12971 ld_shlibs_CXX=no
12972 ;;
12973 *)
12974 # FIXME: insert proper C++ library support
12975 ld_shlibs_CXX=no
12976 ;;
12977 esac
12978 ;;
12979
12980 netbsd*)
12981 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12982 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12983 wlarc=
12984 hardcode_libdir_flag_spec_CXX='-R$libdir'
12985 hardcode_direct_CXX=yes
12986 hardcode_shlibpath_var_CXX=no
12987 fi
12988 # Workaround some broken pre-1.5 toolchains
12989 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12990 ;;
12991
12992 *nto* | *qnx*)
12993 ld_shlibs_CXX=yes
12994 ;;
12995
12996 openbsd2*)
12997 # C++ shared libraries are fairly broken
12998 ld_shlibs_CXX=no
12999 ;;
13000
13001 openbsd*)
13002 if test -f /usr/libexec/ld.so; then
13003 hardcode_direct_CXX=yes
13004 hardcode_shlibpath_var_CXX=no
13005 hardcode_direct_absolute_CXX=yes
13006 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13007 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13008 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13009 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13010 export_dynamic_flag_spec_CXX='${wl}-E'
13011 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13012 fi
13013 output_verbose_link_cmd=func_echo_all
13014 else
13015 ld_shlibs_CXX=no
13016 fi
13017 ;;
13018
13019 osf3* | osf4* | osf5*)
13020 case $cc_basename in
13021 KCC*)
13022 # Kuck and Associates, Inc. (KAI) C++ Compiler
13023
13024 # KCC will only create a shared library if the output file
13025 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13026 # to its proper name (with version) after linking.
13027 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'
13028
13029 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13030 hardcode_libdir_separator_CXX=:
13031
13032 # Archives containing C++ object files must be created using
13033 # the KAI C++ compiler.
13034 case $host in
13035 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13036 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13037 esac
13038 ;;
13039 RCC*)
13040 # Rational C++ 2.4.1
13041 # FIXME: insert proper C++ library support
13042 ld_shlibs_CXX=no
13043 ;;
13044 cxx*)
13045 case $host in
13046 osf3*)
13047 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13048 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'
13049 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13050 ;;
13051 *)
13052 allow_undefined_flag_CXX=' -expect_unresolved \*'
13053 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'
13054 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13055 echo "-hidden">> $lib.exp~
13056 $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~
13057 $RM $lib.exp'
13058 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13059 ;;
13060 esac
13061
13062 hardcode_libdir_separator_CXX=:
13063
13064 # Commands to make compiler produce verbose output that lists
13065 # what "hidden" libraries, object files and flags are used when
13066 # linking a shared library.
13067 #
13068 # There doesn't appear to be a way to prevent this compiler from
13069 # explicitly linking system object files so we need to strip them
13070 # from the output so that they don't get included in the library
13071 # dependencies.
13072 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"'
13073 ;;
13074 *)
13075 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13076 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13077 case $host in
13078 osf3*)
13079 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'
13080 ;;
13081 *)
13082 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'
13083 ;;
13084 esac
13085
13086 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13087 hardcode_libdir_separator_CXX=:
13088
13089 # Commands to make compiler produce verbose output that lists
13090 # what "hidden" libraries, object files and flags are used when
13091 # linking a shared library.
13092 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13093
13094 else
13095 # FIXME: insert proper C++ library support
13096 ld_shlibs_CXX=no
13097 fi
13098 ;;
13099 esac
13100 ;;
13101
13102 psos*)
13103 # FIXME: insert proper C++ library support
13104 ld_shlibs_CXX=no
13105 ;;
13106
13107 sunos4*)
13108 case $cc_basename in
13109 CC*)
13110 # Sun C++ 4.x
13111 # FIXME: insert proper C++ library support
13112 ld_shlibs_CXX=no
13113 ;;
13114 lcc*)
13115 # Lucid
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13118 ;;
13119 *)
13120 # FIXME: insert proper C++ library support
13121 ld_shlibs_CXX=no
13122 ;;
13123 esac
13124 ;;
13125
13126 solaris*)
13127 case $cc_basename in
13128 CC*)
13129 # Sun C++ 4.2, 5.x and Centerline C++
13130 archive_cmds_need_lc_CXX=yes
13131 no_undefined_flag_CXX=' -zdefs'
13132 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13133 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13134 $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'
13135
13136 hardcode_libdir_flag_spec_CXX='-R$libdir'
13137 hardcode_shlibpath_var_CXX=no
13138 case $host_os in
13139 solaris2.[0-5] | solaris2.[0-5].*) ;;
13140 *)
13141 # The compiler driver will combine and reorder linker options,
13142 # but understands `-z linker_flag'.
13143 # Supported since Solaris 2.6 (maybe 2.5.1?)
13144 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13145 ;;
13146 esac
13147 link_all_deplibs_CXX=yes
13148
13149 output_verbose_link_cmd='func_echo_all'
13150
13151 # Archives containing C++ object files must be created using
13152 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13153 # necessary to make sure instantiated templates are included
13154 # in the archive.
13155 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13156 ;;
13157 gcx*)
13158 # Green Hills C++ Compiler
13159 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13160
13161 # The C++ compiler must be used to create the archive.
13162 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13163 ;;
13164 *)
13165 # GNU C++ compiler with Solaris linker
13166 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13167 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13168 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13169 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13170 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13171 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13172
13173 # Commands to make compiler produce verbose output that lists
13174 # what "hidden" libraries, object files and flags are used when
13175 # linking a shared library.
13176 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13177 else
13178 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13179 # platform.
13180 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13181 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13182 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13183
13184 # Commands to make compiler produce verbose output that lists
13185 # what "hidden" libraries, object files and flags are used when
13186 # linking a shared library.
13187 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13188 fi
13189
13190 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13191 case $host_os in
13192 solaris2.[0-5] | solaris2.[0-5].*) ;;
13193 *)
13194 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13195 ;;
13196 esac
13197 fi
13198 ;;
13199 esac
13200 ;;
13201
13202 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13203 no_undefined_flag_CXX='${wl}-z,text'
13204 archive_cmds_need_lc_CXX=no
13205 hardcode_shlibpath_var_CXX=no
13206 runpath_var='LD_RUN_PATH'
13207
13208 case $cc_basename in
13209 CC*)
13210 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13211 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13212 ;;
13213 *)
13214 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13215 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13216 ;;
13217 esac
13218 ;;
13219
13220 sysv5* | sco3.2v5* | sco5v6*)
13221 # Note: We can NOT use -z defs as we might desire, because we do not
13222 # link with -lc, and that would cause any symbols used from libc to
13223 # always be unresolved, which means just about no library would
13224 # ever link correctly. If we're not using GNU ld we use -z text
13225 # though, which does catch some bad symbols but isn't as heavy-handed
13226 # as -z defs.
13227 no_undefined_flag_CXX='${wl}-z,text'
13228 allow_undefined_flag_CXX='${wl}-z,nodefs'
13229 archive_cmds_need_lc_CXX=no
13230 hardcode_shlibpath_var_CXX=no
13231 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13232 hardcode_libdir_separator_CXX=':'
13233 link_all_deplibs_CXX=yes
13234 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13235 runpath_var='LD_RUN_PATH'
13236
13237 case $cc_basename in
13238 CC*)
13239 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13240 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13241 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13242 '"$old_archive_cmds_CXX"
13243 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13244 '"$reload_cmds_CXX"
13245 ;;
13246 *)
13247 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13249 ;;
13250 esac
13251 ;;
13252
13253 tandem*)
13254 case $cc_basename in
13255 NCC*)
13256 # NonStop-UX NCC 3.20
13257 # FIXME: insert proper C++ library support
13258 ld_shlibs_CXX=no
13259 ;;
13260 *)
13261 # FIXME: insert proper C++ library support
13262 ld_shlibs_CXX=no
13263 ;;
13264 esac
13265 ;;
13266
13267 vxworks*)
13268 # FIXME: insert proper C++ library support
13269 ld_shlibs_CXX=no
13270 ;;
13271
13272 *)
13273 # FIXME: insert proper C++ library support
13274 ld_shlibs_CXX=no
13275 ;;
13276 esac
13277
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13279 $as_echo "$ld_shlibs_CXX" >&6; }
13280 test "$ld_shlibs_CXX" = no && can_build_shared=no
13281
13282 GCC_CXX="$GXX"
13283 LD_CXX="$LD"
13284
13285 ## CAVEAT EMPTOR:
13286 ## There is no encapsulation within the following macros, do not change
13287 ## the running order or otherwise move them around unless you know exactly
13288 ## what you are doing...
13289 # Dependencies to place before and after the object being linked:
13290 predep_objects_CXX=
13291 postdep_objects_CXX=
13292 predeps_CXX=
13293 postdeps_CXX=
13294 compiler_lib_search_path_CXX=
13295
13296 cat > conftest.$ac_ext <<_LT_EOF
13297 class Foo
13298 {
13299 public:
13300 Foo (void) { a = 0; }
13301 private:
13302 int a;
13303 };
13304 _LT_EOF
13305
13306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13307 (eval $ac_compile) 2>&5
13308 ac_status=$?
13309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13310 test $ac_status = 0; }; then
13311 # Parse the compiler output and extract the necessary
13312 # objects, libraries and library flags.
13313
13314 # Sentinel used to keep track of whether or not we are before
13315 # the conftest object file.
13316 pre_test_object_deps_done=no
13317
13318 for p in `eval "$output_verbose_link_cmd"`; do
13319 case $p in
13320
13321 -L* | -R* | -l*)
13322 # Some compilers place space between "-{L,R}" and the path.
13323 # Remove the space.
13324 if test $p = "-L" ||
13325 test $p = "-R"; then
13326 prev=$p
13327 continue
13328 else
13329 prev=
13330 fi
13331
13332 if test "$pre_test_object_deps_done" = no; then
13333 case $p in
13334 -L* | -R*)
13335 # Internal compiler library paths should come after those
13336 # provided the user. The postdeps already come after the
13337 # user supplied libs so there is no need to process them.
13338 if test -z "$compiler_lib_search_path_CXX"; then
13339 compiler_lib_search_path_CXX="${prev}${p}"
13340 else
13341 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13342 fi
13343 ;;
13344 # The "-l" case would never come before the object being
13345 # linked, so don't bother handling this case.
13346 esac
13347 else
13348 if test -z "$postdeps_CXX"; then
13349 postdeps_CXX="${prev}${p}"
13350 else
13351 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13352 fi
13353 fi
13354 ;;
13355
13356 *.$objext)
13357 # This assumes that the test object file only shows up
13358 # once in the compiler output.
13359 if test "$p" = "conftest.$objext"; then
13360 pre_test_object_deps_done=yes
13361 continue
13362 fi
13363
13364 if test "$pre_test_object_deps_done" = no; then
13365 if test -z "$predep_objects_CXX"; then
13366 predep_objects_CXX="$p"
13367 else
13368 predep_objects_CXX="$predep_objects_CXX $p"
13369 fi
13370 else
13371 if test -z "$postdep_objects_CXX"; then
13372 postdep_objects_CXX="$p"
13373 else
13374 postdep_objects_CXX="$postdep_objects_CXX $p"
13375 fi
13376 fi
13377 ;;
13378
13379 *) ;; # Ignore the rest.
13380
13381 esac
13382 done
13383
13384 # Clean up.
13385 rm -f a.out a.exe
13386 else
13387 echo "libtool.m4: error: problem compiling CXX test program"
13388 fi
13389
13390 $RM -f confest.$objext
13391
13392 # PORTME: override above test on systems where it is broken
13393 case $host_os in
13394 interix[3-9]*)
13395 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13396 # hack all around it, let's just trust "g++" to DTRT.
13397 predep_objects_CXX=
13398 postdep_objects_CXX=
13399 postdeps_CXX=
13400 ;;
13401
13402 linux*)
13403 case `$CC -V 2>&1 | sed 5q` in
13404 *Sun\ C*)
13405 # Sun C++ 5.9
13406
13407 # The more standards-conforming stlport4 library is
13408 # incompatible with the Cstd library. Avoid specifying
13409 # it if it's in CXXFLAGS. Ignore libCrun as
13410 # -library=stlport4 depends on it.
13411 case " $CXX $CXXFLAGS " in
13412 *" -library=stlport4 "*)
13413 solaris_use_stlport4=yes
13414 ;;
13415 esac
13416
13417 if test "$solaris_use_stlport4" != yes; then
13418 postdeps_CXX='-library=Cstd -library=Crun'
13419 fi
13420 ;;
13421 esac
13422 ;;
13423
13424 solaris*)
13425 case $cc_basename in
13426 CC*)
13427 # The more standards-conforming stlport4 library is
13428 # incompatible with the Cstd library. Avoid specifying
13429 # it if it's in CXXFLAGS. Ignore libCrun as
13430 # -library=stlport4 depends on it.
13431 case " $CXX $CXXFLAGS " in
13432 *" -library=stlport4 "*)
13433 solaris_use_stlport4=yes
13434 ;;
13435 esac
13436
13437 # Adding this requires a known-good setup of shared libraries for
13438 # Sun compiler versions before 5.6, else PIC objects from an old
13439 # archive will be linked into the output, leading to subtle bugs.
13440 if test "$solaris_use_stlport4" != yes; then
13441 postdeps_CXX='-library=Cstd -library=Crun'
13442 fi
13443 ;;
13444 esac
13445 ;;
13446 esac
13447
13448
13449 case " $postdeps_CXX " in
13450 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13451 esac
13452 compiler_lib_search_dirs_CXX=
13453 if test -n "${compiler_lib_search_path_CXX}"; then
13454 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13455 fi
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487 lt_prog_compiler_wl_CXX=
13488 lt_prog_compiler_pic_CXX=
13489 lt_prog_compiler_static_CXX=
13490
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13492 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13493
13494 # C++ specific cases for pic, static, wl, etc.
13495 if test "$GXX" = yes; then
13496 lt_prog_compiler_wl_CXX='-Wl,'
13497 lt_prog_compiler_static_CXX='-static'
13498
13499 case $host_os in
13500 aix*)
13501 # All AIX code is PIC.
13502 if test "$host_cpu" = ia64; then
13503 # AIX 5 now supports IA64 processor
13504 lt_prog_compiler_static_CXX='-Bstatic'
13505 fi
13506 lt_prog_compiler_pic_CXX='-fPIC'
13507 ;;
13508
13509 amigaos*)
13510 case $host_cpu in
13511 powerpc)
13512 # see comment about AmigaOS4 .so support
13513 lt_prog_compiler_pic_CXX='-fPIC'
13514 ;;
13515 m68k)
13516 # FIXME: we need at least 68020 code to build shared libraries, but
13517 # adding the `-m68020' flag to GCC prevents building anything better,
13518 # like `-m68040'.
13519 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13520 ;;
13521 esac
13522 ;;
13523
13524 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13525 # PIC is the default for these OSes.
13526 ;;
13527 mingw* | cygwin* | os2* | pw32* | cegcc*)
13528 # This hack is so that the source file can tell whether it is being
13529 # built for inclusion in a dll (and should export symbols for example).
13530 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13531 # (--disable-auto-import) libraries
13532 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13533 ;;
13534 darwin* | rhapsody*)
13535 # PIC is the default on this platform
13536 # Common symbols not allowed in MH_DYLIB files
13537 lt_prog_compiler_pic_CXX='-fno-common'
13538 ;;
13539 *djgpp*)
13540 # DJGPP does not support shared libraries at all
13541 lt_prog_compiler_pic_CXX=
13542 ;;
13543 haiku*)
13544 # PIC is the default for Haiku.
13545 # The "-static" flag exists, but is broken.
13546 lt_prog_compiler_static_CXX=
13547 ;;
13548 interix[3-9]*)
13549 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13550 # Instead, we relocate shared libraries at runtime.
13551 ;;
13552 sysv4*MP*)
13553 if test -d /usr/nec; then
13554 lt_prog_compiler_pic_CXX=-Kconform_pic
13555 fi
13556 ;;
13557 hpux*)
13558 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13559 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13560 # sets the default TLS model and affects inlining.
13561 case $host_cpu in
13562 hppa*64*)
13563 ;;
13564 *)
13565 lt_prog_compiler_pic_CXX='-fPIC'
13566 ;;
13567 esac
13568 ;;
13569 *qnx* | *nto*)
13570 # QNX uses GNU C++, but need to define -shared option too, otherwise
13571 # it will coredump.
13572 lt_prog_compiler_pic_CXX='-fPIC -shared'
13573 ;;
13574 *)
13575 lt_prog_compiler_pic_CXX='-fPIC'
13576 ;;
13577 esac
13578 else
13579 case $host_os in
13580 aix[4-9]*)
13581 # All AIX code is PIC.
13582 if test "$host_cpu" = ia64; then
13583 # AIX 5 now supports IA64 processor
13584 lt_prog_compiler_static_CXX='-Bstatic'
13585 else
13586 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13587 fi
13588 ;;
13589 chorus*)
13590 case $cc_basename in
13591 cxch68*)
13592 # Green Hills C++ Compiler
13593 # _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"
13594 ;;
13595 esac
13596 ;;
13597 dgux*)
13598 case $cc_basename in
13599 ec++*)
13600 lt_prog_compiler_pic_CXX='-KPIC'
13601 ;;
13602 ghcx*)
13603 # Green Hills C++ Compiler
13604 lt_prog_compiler_pic_CXX='-pic'
13605 ;;
13606 *)
13607 ;;
13608 esac
13609 ;;
13610 freebsd* | dragonfly*)
13611 # FreeBSD uses GNU C++
13612 ;;
13613 hpux9* | hpux10* | hpux11*)
13614 case $cc_basename in
13615 CC*)
13616 lt_prog_compiler_wl_CXX='-Wl,'
13617 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13618 if test "$host_cpu" != ia64; then
13619 lt_prog_compiler_pic_CXX='+Z'
13620 fi
13621 ;;
13622 aCC*)
13623 lt_prog_compiler_wl_CXX='-Wl,'
13624 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13625 case $host_cpu in
13626 hppa*64*|ia64*)
13627 # +Z the default
13628 ;;
13629 *)
13630 lt_prog_compiler_pic_CXX='+Z'
13631 ;;
13632 esac
13633 ;;
13634 *)
13635 ;;
13636 esac
13637 ;;
13638 interix*)
13639 # This is c89, which is MS Visual C++ (no shared libs)
13640 # Anyone wants to do a port?
13641 ;;
13642 irix5* | irix6* | nonstopux*)
13643 case $cc_basename in
13644 CC*)
13645 lt_prog_compiler_wl_CXX='-Wl,'
13646 lt_prog_compiler_static_CXX='-non_shared'
13647 # CC pic flag -KPIC is the default.
13648 ;;
13649 *)
13650 ;;
13651 esac
13652 ;;
13653 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13654 case $cc_basename in
13655 KCC*)
13656 # KAI C++ Compiler
13657 lt_prog_compiler_wl_CXX='--backend -Wl,'
13658 lt_prog_compiler_pic_CXX='-fPIC'
13659 ;;
13660 ecpc* )
13661 # old Intel C++ for x86_64 which still supported -KPIC.
13662 lt_prog_compiler_wl_CXX='-Wl,'
13663 lt_prog_compiler_pic_CXX='-KPIC'
13664 lt_prog_compiler_static_CXX='-static'
13665 ;;
13666 icpc* )
13667 # Intel C++, used to be incompatible with GCC.
13668 # ICC 10 doesn't accept -KPIC any more.
13669 lt_prog_compiler_wl_CXX='-Wl,'
13670 lt_prog_compiler_pic_CXX='-fPIC'
13671 lt_prog_compiler_static_CXX='-static'
13672 ;;
13673 pgCC* | pgcpp*)
13674 # Portland Group C++ compiler
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-fpic'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13678 ;;
13679 cxx*)
13680 # Compaq C++
13681 # Make sure the PIC flag is empty. It appears that all Alpha
13682 # Linux and Compaq Tru64 Unix objects are PIC.
13683 lt_prog_compiler_pic_CXX=
13684 lt_prog_compiler_static_CXX='-non_shared'
13685 ;;
13686 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13687 # IBM XL 8.0, 9.0 on PPC and BlueGene
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-qpic'
13690 lt_prog_compiler_static_CXX='-qstaticlink'
13691 ;;
13692 *)
13693 case `$CC -V 2>&1 | sed 5q` in
13694 *Sun\ C*)
13695 # Sun C++ 5.9
13696 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_static_CXX='-Bstatic'
13698 lt_prog_compiler_wl_CXX='-Qoption ld '
13699 ;;
13700 esac
13701 ;;
13702 esac
13703 ;;
13704 lynxos*)
13705 ;;
13706 m88k*)
13707 ;;
13708 mvs*)
13709 case $cc_basename in
13710 cxx*)
13711 lt_prog_compiler_pic_CXX='-W c,exportall'
13712 ;;
13713 *)
13714 ;;
13715 esac
13716 ;;
13717 netbsd*)
13718 ;;
13719 *qnx* | *nto*)
13720 # QNX uses GNU C++, but need to define -shared option too, otherwise
13721 # it will coredump.
13722 lt_prog_compiler_pic_CXX='-fPIC -shared'
13723 ;;
13724 osf3* | osf4* | osf5*)
13725 case $cc_basename in
13726 KCC*)
13727 lt_prog_compiler_wl_CXX='--backend -Wl,'
13728 ;;
13729 RCC*)
13730 # Rational C++ 2.4.1
13731 lt_prog_compiler_pic_CXX='-pic'
13732 ;;
13733 cxx*)
13734 # Digital/Compaq C++
13735 lt_prog_compiler_wl_CXX='-Wl,'
13736 # Make sure the PIC flag is empty. It appears that all Alpha
13737 # Linux and Compaq Tru64 Unix objects are PIC.
13738 lt_prog_compiler_pic_CXX=
13739 lt_prog_compiler_static_CXX='-non_shared'
13740 ;;
13741 *)
13742 ;;
13743 esac
13744 ;;
13745 psos*)
13746 ;;
13747 solaris*)
13748 case $cc_basename in
13749 CC*)
13750 # Sun C++ 4.2, 5.x and Centerline C++
13751 lt_prog_compiler_pic_CXX='-KPIC'
13752 lt_prog_compiler_static_CXX='-Bstatic'
13753 lt_prog_compiler_wl_CXX='-Qoption ld '
13754 ;;
13755 gcx*)
13756 # Green Hills C++ Compiler
13757 lt_prog_compiler_pic_CXX='-PIC'
13758 ;;
13759 *)
13760 ;;
13761 esac
13762 ;;
13763 sunos4*)
13764 case $cc_basename in
13765 CC*)
13766 # Sun C++ 4.x
13767 lt_prog_compiler_pic_CXX='-pic'
13768 lt_prog_compiler_static_CXX='-Bstatic'
13769 ;;
13770 lcc*)
13771 # Lucid
13772 lt_prog_compiler_pic_CXX='-pic'
13773 ;;
13774 *)
13775 ;;
13776 esac
13777 ;;
13778 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13779 case $cc_basename in
13780 CC*)
13781 lt_prog_compiler_wl_CXX='-Wl,'
13782 lt_prog_compiler_pic_CXX='-KPIC'
13783 lt_prog_compiler_static_CXX='-Bstatic'
13784 ;;
13785 esac
13786 ;;
13787 tandem*)
13788 case $cc_basename in
13789 NCC*)
13790 # NonStop-UX NCC 3.20
13791 lt_prog_compiler_pic_CXX='-KPIC'
13792 ;;
13793 *)
13794 ;;
13795 esac
13796 ;;
13797 vxworks*)
13798 ;;
13799 *)
13800 lt_prog_compiler_can_build_shared_CXX=no
13801 ;;
13802 esac
13803 fi
13804
13805 case $host_os in
13806 # For platforms which do not support PIC, -DPIC is meaningless:
13807 *djgpp*)
13808 lt_prog_compiler_pic_CXX=
13809 ;;
13810 *)
13811 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13812 ;;
13813 esac
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13815 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13816
13817
13818
13819 #
13820 # Check to make sure the PIC flag actually works.
13821 #
13822 if test -n "$lt_prog_compiler_pic_CXX"; then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13824 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13825 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 lt_cv_prog_compiler_pic_works_CXX=no
13829 ac_outfile=conftest.$ac_objext
13830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13831 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13832 # Insert the option either (1) after the last *FLAGS variable, or
13833 # (2) before a word containing "conftest.", or (3) at the end.
13834 # Note that $ac_compile itself does not contain backslashes and begins
13835 # with a dollar sign (not a hyphen), so the echo should work correctly.
13836 # The option is referenced via a variable to avoid confusing sed.
13837 lt_compile=`echo "$ac_compile" | $SED \
13838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13840 -e 's:$: $lt_compiler_flag:'`
13841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13842 (eval "$lt_compile" 2>conftest.err)
13843 ac_status=$?
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 if (exit $ac_status) && test -s "$ac_outfile"; then
13847 # The compiler can only warn and ignore the option if not recognized
13848 # So say no if there are warnings other than the usual output.
13849 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13851 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13852 lt_cv_prog_compiler_pic_works_CXX=yes
13853 fi
13854 fi
13855 $RM conftest*
13856
13857 fi
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13859 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13860
13861 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13862 case $lt_prog_compiler_pic_CXX in
13863 "" | " "*) ;;
13864 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13865 esac
13866 else
13867 lt_prog_compiler_pic_CXX=
13868 lt_prog_compiler_can_build_shared_CXX=no
13869 fi
13870
13871 fi
13872
13873
13874
13875 #
13876 # Check to make sure the static flag actually works.
13877 #
13878 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13881 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 lt_cv_prog_compiler_static_works_CXX=no
13885 save_LDFLAGS="$LDFLAGS"
13886 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13887 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13888 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13889 # The linker can only warn and ignore the option if not recognized
13890 # So say no if there are warnings
13891 if test -s conftest.err; then
13892 # Append any errors to the config.log.
13893 cat conftest.err 1>&5
13894 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13895 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13896 if diff conftest.exp conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_static_works_CXX=yes
13898 fi
13899 else
13900 lt_cv_prog_compiler_static_works_CXX=yes
13901 fi
13902 fi
13903 $RM -r conftest*
13904 LDFLAGS="$save_LDFLAGS"
13905
13906 fi
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13908 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13909
13910 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13911 :
13912 else
13913 lt_prog_compiler_static_CXX=
13914 fi
13915
13916
13917
13918
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13921 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 lt_cv_prog_compiler_c_o_CXX=no
13925 $RM -r conftest 2>/dev/null
13926 mkdir conftest
13927 cd conftest
13928 mkdir out
13929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13930
13931 lt_compiler_flag="-o out/conftest2.$ac_objext"
13932 # Insert the option either (1) after the last *FLAGS variable, or
13933 # (2) before a word containing "conftest.", or (3) at the end.
13934 # Note that $ac_compile itself does not contain backslashes and begins
13935 # with a dollar sign (not a hyphen), so the echo should work correctly.
13936 lt_compile=`echo "$ac_compile" | $SED \
13937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13939 -e 's:$: $lt_compiler_flag:'`
13940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13941 (eval "$lt_compile" 2>out/conftest.err)
13942 ac_status=$?
13943 cat out/conftest.err >&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13946 then
13947 # The compiler can only warn and ignore the option if not recognized
13948 # So say no if there are warnings
13949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13952 lt_cv_prog_compiler_c_o_CXX=yes
13953 fi
13954 fi
13955 chmod u+w . 2>&5
13956 $RM conftest*
13957 # SGI C++ compiler will create directory out/ii_files/ for
13958 # template instantiation
13959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13960 $RM out/* && rmdir out
13961 cd ..
13962 $RM -r conftest
13963 $RM conftest*
13964
13965 fi
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13967 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13968
13969
13970
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13972 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13973 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 lt_cv_prog_compiler_c_o_CXX=no
13977 $RM -r conftest 2>/dev/null
13978 mkdir conftest
13979 cd conftest
13980 mkdir out
13981 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13982
13983 lt_compiler_flag="-o out/conftest2.$ac_objext"
13984 # Insert the option either (1) after the last *FLAGS variable, or
13985 # (2) before a word containing "conftest.", or (3) at the end.
13986 # Note that $ac_compile itself does not contain backslashes and begins
13987 # with a dollar sign (not a hyphen), so the echo should work correctly.
13988 lt_compile=`echo "$ac_compile" | $SED \
13989 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13990 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13991 -e 's:$: $lt_compiler_flag:'`
13992 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13993 (eval "$lt_compile" 2>out/conftest.err)
13994 ac_status=$?
13995 cat out/conftest.err >&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13998 then
13999 # The compiler can only warn and ignore the option if not recognized
14000 # So say no if there are warnings
14001 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14002 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14003 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14004 lt_cv_prog_compiler_c_o_CXX=yes
14005 fi
14006 fi
14007 chmod u+w . 2>&5
14008 $RM conftest*
14009 # SGI C++ compiler will create directory out/ii_files/ for
14010 # template instantiation
14011 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14012 $RM out/* && rmdir out
14013 cd ..
14014 $RM -r conftest
14015 $RM conftest*
14016
14017 fi
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14019 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14020
14021
14022
14023
14024 hard_links="nottested"
14025 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14026 # do not overwrite the value of need_locks provided by the user
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14028 $as_echo_n "checking if we can lock with hard links... " >&6; }
14029 hard_links=yes
14030 $RM conftest*
14031 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14032 touch conftest.a
14033 ln conftest.a conftest.b 2>&5 || hard_links=no
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14036 $as_echo "$hard_links" >&6; }
14037 if test "$hard_links" = no; then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14039 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14040 need_locks=warn
14041 fi
14042 else
14043 need_locks=no
14044 fi
14045
14046
14047
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14049 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14050
14051 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14052 case $host_os in
14053 aix[4-9]*)
14054 # If we're using GNU nm, then we don't want the "-C" option.
14055 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14056 # Also, AIX nm treats weak defined symbols like other global defined
14057 # symbols, whereas GNU nm marks them as "W".
14058 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14059 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'
14060 else
14061 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'
14062 fi
14063 ;;
14064 pw32*)
14065 export_symbols_cmds_CXX="$ltdll_cmds"
14066 ;;
14067 cygwin* | mingw* | cegcc*)
14068 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'
14069 ;;
14070 *)
14071 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14072 ;;
14073 esac
14074 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14075
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14077 $as_echo "$ld_shlibs_CXX" >&6; }
14078 test "$ld_shlibs_CXX" = no && can_build_shared=no
14079
14080 with_gnu_ld_CXX=$with_gnu_ld
14081
14082
14083
14084
14085
14086
14087 #
14088 # Do we need to explicitly link libc?
14089 #
14090 case "x$archive_cmds_need_lc_CXX" in
14091 x|xyes)
14092 # Assume -lc should be added
14093 archive_cmds_need_lc_CXX=yes
14094
14095 if test "$enable_shared" = yes && test "$GCC" = yes; then
14096 case $archive_cmds_CXX in
14097 *'~'*)
14098 # FIXME: we may have to deal with multi-command sequences.
14099 ;;
14100 '$CC '*)
14101 # Test whether the compiler implicitly links with -lc since on some
14102 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14103 # to ld, don't add -lc before -lgcc.
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14105 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14106 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 $RM conftest*
14110 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14111
14112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14113 (eval $ac_compile) 2>&5
14114 ac_status=$?
14115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14116 test $ac_status = 0; } 2>conftest.err; then
14117 soname=conftest
14118 lib=conftest
14119 libobjs=conftest.$ac_objext
14120 deplibs=
14121 wl=$lt_prog_compiler_wl_CXX
14122 pic_flag=$lt_prog_compiler_pic_CXX
14123 compiler_flags=-v
14124 linker_flags=-v
14125 verstring=
14126 output_objdir=.
14127 libname=conftest
14128 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14129 allow_undefined_flag_CXX=
14130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14131 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14132 ac_status=$?
14133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14134 test $ac_status = 0; }
14135 then
14136 lt_cv_archive_cmds_need_lc_CXX=no
14137 else
14138 lt_cv_archive_cmds_need_lc_CXX=yes
14139 fi
14140 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14141 else
14142 cat conftest.err 1>&5
14143 fi
14144 $RM conftest*
14145
14146 fi
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14148 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14149 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14150 ;;
14151 esac
14152 fi
14153 ;;
14154 esac
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14220 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14221
14222 library_names_spec=
14223 libname_spec='lib$name'
14224 soname_spec=
14225 shrext_cmds=".so"
14226 postinstall_cmds=
14227 postuninstall_cmds=
14228 finish_cmds=
14229 finish_eval=
14230 shlibpath_var=
14231 shlibpath_overrides_runpath=unknown
14232 version_type=none
14233 dynamic_linker="$host_os ld.so"
14234 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14235 need_lib_prefix=unknown
14236 hardcode_into_libs=no
14237
14238 # when you set need_version to no, make sure it does not cause -set_version
14239 # flags to be left without arguments
14240 need_version=unknown
14241
14242 case $host_os in
14243 aix3*)
14244 version_type=linux
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14246 shlibpath_var=LIBPATH
14247
14248 # AIX 3 has no versioning support, so we append a major version to the name.
14249 soname_spec='${libname}${release}${shared_ext}$major'
14250 ;;
14251
14252 aix[4-9]*)
14253 version_type=linux
14254 need_lib_prefix=no
14255 need_version=no
14256 hardcode_into_libs=yes
14257 if test "$host_cpu" = ia64; then
14258 # AIX 5 supports IA64
14259 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 else
14262 # With GCC up to 2.95.x, collect2 would create an import file
14263 # for dependence libraries. The import file would start with
14264 # the line `#! .'. This would cause the generated library to
14265 # depend on `.', always an invalid library. This was fixed in
14266 # development snapshots of GCC prior to 3.0.
14267 case $host_os in
14268 aix4 | aix4.[01] | aix4.[01].*)
14269 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14270 echo ' yes '
14271 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14272 :
14273 else
14274 can_build_shared=no
14275 fi
14276 ;;
14277 esac
14278 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14279 # soname into executable. Probably we can add versioning support to
14280 # collect2, so additional links can be useful in future.
14281 if test "$aix_use_runtimelinking" = yes; then
14282 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14283 # instead of lib<name>.a to let people know that these are not
14284 # typical AIX shared libraries.
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14286 else
14287 # We preserve .a as extension for shared libraries through AIX4.2
14288 # and later when we are not doing run time linking.
14289 library_names_spec='${libname}${release}.a $libname.a'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 fi
14292 shlibpath_var=LIBPATH
14293 fi
14294 ;;
14295
14296 amigaos*)
14297 case $host_cpu in
14298 powerpc)
14299 # Since July 2007 AmigaOS4 officially supports .so libraries.
14300 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14302 ;;
14303 m68k)
14304 library_names_spec='$libname.ixlibrary $libname.a'
14305 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14306 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'
14307 ;;
14308 esac
14309 ;;
14310
14311 beos*)
14312 library_names_spec='${libname}${shared_ext}'
14313 dynamic_linker="$host_os ld.so"
14314 shlibpath_var=LIBRARY_PATH
14315 ;;
14316
14317 bsdi[45]*)
14318 version_type=linux
14319 need_version=no
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14321 soname_spec='${libname}${release}${shared_ext}$major'
14322 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14325 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14326 # the default ld.so.conf also contains /usr/contrib/lib and
14327 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14328 # libtool to hard-code these into programs
14329 ;;
14330
14331 cygwin* | mingw* | pw32* | cegcc*)
14332 version_type=windows
14333 shrext_cmds=".dll"
14334 need_version=no
14335 need_lib_prefix=no
14336
14337 case $GCC,$host_os in
14338 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14339 library_names_spec='$libname.dll.a'
14340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14341 postinstall_cmds='base_file=`basename \${file}`~
14342 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14343 dldir=$destdir/`dirname \$dlpath`~
14344 test -d \$dldir || mkdir -p \$dldir~
14345 $install_prog $dir/$dlname \$dldir/$dlname~
14346 chmod a+x \$dldir/$dlname~
14347 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14348 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14349 fi'
14350 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14351 dlpath=$dir/\$dldll~
14352 $RM \$dlpath'
14353 shlibpath_overrides_runpath=yes
14354
14355 case $host_os in
14356 cygwin*)
14357 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14358 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14359
14360 ;;
14361 mingw* | cegcc*)
14362 # MinGW DLLs use traditional 'lib' prefix
14363 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14364 ;;
14365 pw32*)
14366 # pw32 DLLs use 'pw' prefix rather than 'lib'
14367 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14368 ;;
14369 esac
14370 ;;
14371
14372 *)
14373 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14374 ;;
14375 esac
14376 dynamic_linker='Win32 ld.exe'
14377 # FIXME: first we should search . and the directory the executable is in
14378 shlibpath_var=PATH
14379 ;;
14380
14381 darwin* | rhapsody*)
14382 dynamic_linker="$host_os dyld"
14383 version_type=darwin
14384 need_lib_prefix=no
14385 need_version=no
14386 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14387 soname_spec='${libname}${release}${major}$shared_ext'
14388 shlibpath_overrides_runpath=yes
14389 shlibpath_var=DYLD_LIBRARY_PATH
14390 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14391
14392 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14393 ;;
14394
14395 dgux*)
14396 version_type=linux
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14400 soname_spec='${libname}${release}${shared_ext}$major'
14401 shlibpath_var=LD_LIBRARY_PATH
14402 ;;
14403
14404 freebsd* | dragonfly*)
14405 # DragonFly does not have aout. When/if they implement a new
14406 # versioning mechanism, adjust this.
14407 if test -x /usr/bin/objformat; then
14408 objformat=`/usr/bin/objformat`
14409 else
14410 case $host_os in
14411 freebsd[23].*) objformat=aout ;;
14412 *) objformat=elf ;;
14413 esac
14414 fi
14415 version_type=freebsd-$objformat
14416 case $version_type in
14417 freebsd-elf*)
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14419 need_version=no
14420 need_lib_prefix=no
14421 ;;
14422 freebsd-*)
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14424 need_version=yes
14425 ;;
14426 esac
14427 shlibpath_var=LD_LIBRARY_PATH
14428 case $host_os in
14429 freebsd2.*)
14430 shlibpath_overrides_runpath=yes
14431 ;;
14432 freebsd3.[01]* | freebsdelf3.[01]*)
14433 shlibpath_overrides_runpath=yes
14434 hardcode_into_libs=yes
14435 ;;
14436 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14437 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14438 shlibpath_overrides_runpath=no
14439 hardcode_into_libs=yes
14440 ;;
14441 *) # from 4.6 on, and DragonFly
14442 shlibpath_overrides_runpath=yes
14443 hardcode_into_libs=yes
14444 ;;
14445 esac
14446 ;;
14447
14448 gnu*)
14449 version_type=linux
14450 need_lib_prefix=no
14451 need_version=no
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14453 soname_spec='${libname}${release}${shared_ext}$major'
14454 shlibpath_var=LD_LIBRARY_PATH
14455 hardcode_into_libs=yes
14456 ;;
14457
14458 haiku*)
14459 version_type=linux
14460 need_lib_prefix=no
14461 need_version=no
14462 dynamic_linker="$host_os runtime_loader"
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14464 soname_spec='${libname}${release}${shared_ext}$major'
14465 shlibpath_var=LIBRARY_PATH
14466 shlibpath_overrides_runpath=yes
14467 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14468 hardcode_into_libs=yes
14469 ;;
14470
14471 hpux9* | hpux10* | hpux11*)
14472 # Give a soname corresponding to the major version so that dld.sl refuses to
14473 # link against other versions.
14474 version_type=sunos
14475 need_lib_prefix=no
14476 need_version=no
14477 case $host_cpu in
14478 ia64*)
14479 shrext_cmds='.so'
14480 hardcode_into_libs=yes
14481 dynamic_linker="$host_os dld.so"
14482 shlibpath_var=LD_LIBRARY_PATH
14483 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14485 soname_spec='${libname}${release}${shared_ext}$major'
14486 if test "X$HPUX_IA64_MODE" = X32; then
14487 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14488 else
14489 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14490 fi
14491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14492 ;;
14493 hppa*64*)
14494 shrext_cmds='.sl'
14495 hardcode_into_libs=yes
14496 dynamic_linker="$host_os dld.sl"
14497 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14498 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14500 soname_spec='${libname}${release}${shared_ext}$major'
14501 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14502 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14503 ;;
14504 *)
14505 shrext_cmds='.sl'
14506 dynamic_linker="$host_os dld.sl"
14507 shlibpath_var=SHLIB_PATH
14508 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510 soname_spec='${libname}${release}${shared_ext}$major'
14511 ;;
14512 esac
14513 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14514 postinstall_cmds='chmod 555 $lib'
14515 # or fails outright, so override atomically:
14516 install_override_mode=555
14517 ;;
14518
14519 interix[3-9]*)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14525 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=no
14528 hardcode_into_libs=yes
14529 ;;
14530
14531 irix5* | irix6* | nonstopux*)
14532 case $host_os in
14533 nonstopux*) version_type=nonstopux ;;
14534 *)
14535 if test "$lt_cv_prog_gnu_ld" = yes; then
14536 version_type=linux
14537 else
14538 version_type=irix
14539 fi ;;
14540 esac
14541 need_lib_prefix=no
14542 need_version=no
14543 soname_spec='${libname}${release}${shared_ext}$major'
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14545 case $host_os in
14546 irix5* | nonstopux*)
14547 libsuff= shlibsuff=
14548 ;;
14549 *)
14550 case $LD in # libtool.m4 will add one of these switches to LD
14551 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14552 libsuff= shlibsuff= libmagic=32-bit;;
14553 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14554 libsuff=32 shlibsuff=N32 libmagic=N32;;
14555 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14556 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14557 *) libsuff= shlibsuff= libmagic=never-match;;
14558 esac
14559 ;;
14560 esac
14561 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14562 shlibpath_overrides_runpath=no
14563 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14564 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14565 hardcode_into_libs=yes
14566 ;;
14567
14568 # No shared lib support for Linux oldld, aout, or coff.
14569 linux*oldld* | linux*aout* | linux*coff*)
14570 dynamic_linker=no
14571 ;;
14572
14573 # This must be Linux ELF.
14574 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14575 version_type=linux
14576 need_lib_prefix=no
14577 need_version=no
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14579 soname_spec='${libname}${release}${shared_ext}$major'
14580 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=no
14583
14584 # Some binutils ld are patched to set DT_RUNPATH
14585 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 lt_cv_shlibpath_overrides_runpath=no
14589 save_LDFLAGS=$LDFLAGS
14590 save_libdir=$libdir
14591 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14592 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14593 if test x$gcc_no_link = xyes; then
14594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14595 fi
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14598
14599 int
14600 main ()
14601 {
14602
14603 ;
14604 return 0;
14605 }
14606 _ACEOF
14607 if ac_fn_cxx_try_link "$LINENO"; then :
14608 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14609 lt_cv_shlibpath_overrides_runpath=yes
14610 fi
14611 fi
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LDFLAGS=$save_LDFLAGS
14615 libdir=$save_libdir
14616
14617 fi
14618
14619 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14620
14621 # This implies no fast_install, which is unacceptable.
14622 # Some rework will be needed to allow for fast_install
14623 # before this can be enabled.
14624 hardcode_into_libs=yes
14625
14626 # Append ld.so.conf contents to the search path
14627 if test -f /etc/ld.so.conf; then
14628 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' ' '`
14629 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14630 fi
14631
14632 # We used to test for /lib/ld.so.1 and disable shared libraries on
14633 # powerpc, because MkLinux only supported shared libraries with the
14634 # GNU dynamic linker. Since this was broken with cross compilers,
14635 # most powerpc-linux boxes support dynamic linking these days and
14636 # people can always --disable-shared, the test was removed, and we
14637 # assume the GNU/Linux dynamic linker is in use.
14638 dynamic_linker='GNU/Linux ld.so'
14639 ;;
14640
14641 netbsd*)
14642 version_type=sunos
14643 need_lib_prefix=no
14644 need_version=no
14645 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14647 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14648 dynamic_linker='NetBSD (a.out) ld.so'
14649 else
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 dynamic_linker='NetBSD ld.elf_so'
14653 fi
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 hardcode_into_libs=yes
14657 ;;
14658
14659 newsos6)
14660 version_type=linux
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14662 shlibpath_var=LD_LIBRARY_PATH
14663 shlibpath_overrides_runpath=yes
14664 ;;
14665
14666 *nto* | *qnx*)
14667 version_type=qnx
14668 need_lib_prefix=no
14669 need_version=no
14670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671 soname_spec='${libname}${release}${shared_ext}$major'
14672 shlibpath_var=LD_LIBRARY_PATH
14673 shlibpath_overrides_runpath=no
14674 hardcode_into_libs=yes
14675 dynamic_linker='ldqnx.so'
14676 ;;
14677
14678 openbsd*)
14679 version_type=sunos
14680 sys_lib_dlsearch_path_spec="/usr/lib"
14681 need_lib_prefix=no
14682 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14683 case $host_os in
14684 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14685 *) need_version=no ;;
14686 esac
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14691 case $host_os in
14692 openbsd2.[89] | openbsd2.[89].*)
14693 shlibpath_overrides_runpath=no
14694 ;;
14695 *)
14696 shlibpath_overrides_runpath=yes
14697 ;;
14698 esac
14699 else
14700 shlibpath_overrides_runpath=yes
14701 fi
14702 ;;
14703
14704 os2*)
14705 libname_spec='$name'
14706 shrext_cmds=".dll"
14707 need_lib_prefix=no
14708 library_names_spec='$libname${shared_ext} $libname.a'
14709 dynamic_linker='OS/2 ld.exe'
14710 shlibpath_var=LIBPATH
14711 ;;
14712
14713 osf3* | osf4* | osf5*)
14714 version_type=osf
14715 need_lib_prefix=no
14716 need_version=no
14717 soname_spec='${libname}${release}${shared_ext}$major'
14718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719 shlibpath_var=LD_LIBRARY_PATH
14720 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14721 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14722 ;;
14723
14724 rdos*)
14725 dynamic_linker=no
14726 ;;
14727
14728 solaris*)
14729 version_type=linux
14730 need_lib_prefix=no
14731 need_version=no
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 soname_spec='${libname}${release}${shared_ext}$major'
14734 shlibpath_var=LD_LIBRARY_PATH
14735 shlibpath_overrides_runpath=yes
14736 hardcode_into_libs=yes
14737 # ldd complains unless libraries are executable
14738 postinstall_cmds='chmod +x $lib'
14739 ;;
14740
14741 sunos4*)
14742 version_type=sunos
14743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14744 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=yes
14747 if test "$with_gnu_ld" = yes; then
14748 need_lib_prefix=no
14749 fi
14750 need_version=yes
14751 ;;
14752
14753 sysv4 | sysv4.3*)
14754 version_type=linux
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 soname_spec='${libname}${release}${shared_ext}$major'
14757 shlibpath_var=LD_LIBRARY_PATH
14758 case $host_vendor in
14759 sni)
14760 shlibpath_overrides_runpath=no
14761 need_lib_prefix=no
14762 runpath_var=LD_RUN_PATH
14763 ;;
14764 siemens)
14765 need_lib_prefix=no
14766 ;;
14767 motorola)
14768 need_lib_prefix=no
14769 need_version=no
14770 shlibpath_overrides_runpath=no
14771 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14772 ;;
14773 esac
14774 ;;
14775
14776 sysv4*MP*)
14777 if test -d /usr/nec ;then
14778 version_type=linux
14779 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14780 soname_spec='$libname${shared_ext}.$major'
14781 shlibpath_var=LD_LIBRARY_PATH
14782 fi
14783 ;;
14784
14785 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14786 version_type=freebsd-elf
14787 need_lib_prefix=no
14788 need_version=no
14789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14790 soname_spec='${libname}${release}${shared_ext}$major'
14791 shlibpath_var=LD_LIBRARY_PATH
14792 shlibpath_overrides_runpath=yes
14793 hardcode_into_libs=yes
14794 if test "$with_gnu_ld" = yes; then
14795 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14796 else
14797 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14798 case $host_os in
14799 sco3.2v5*)
14800 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14801 ;;
14802 esac
14803 fi
14804 sys_lib_dlsearch_path_spec='/usr/lib'
14805 ;;
14806
14807 tpf*)
14808 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14809 version_type=linux
14810 need_lib_prefix=no
14811 need_version=no
14812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14813 shlibpath_var=LD_LIBRARY_PATH
14814 shlibpath_overrides_runpath=no
14815 hardcode_into_libs=yes
14816 ;;
14817
14818 uts4*)
14819 version_type=linux
14820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821 soname_spec='${libname}${release}${shared_ext}$major'
14822 shlibpath_var=LD_LIBRARY_PATH
14823 ;;
14824
14825 *)
14826 dynamic_linker=no
14827 ;;
14828 esac
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14830 $as_echo "$dynamic_linker" >&6; }
14831 test "$dynamic_linker" = no && can_build_shared=no
14832
14833 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14834 if test "$GCC" = yes; then
14835 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14836 fi
14837
14838 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14839 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14840 fi
14841 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14842 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14843 fi
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14883 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14884 hardcode_action_CXX=
14885 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14886 test -n "$runpath_var_CXX" ||
14887 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14888
14889 # We can hardcode non-existent directories.
14890 if test "$hardcode_direct_CXX" != no &&
14891 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14892 # have to relink, otherwise we might link with an installed library
14893 # when we should be linking with a yet-to-be-installed one
14894 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14895 test "$hardcode_minus_L_CXX" != no; then
14896 # Linking always hardcodes the temporary library directory.
14897 hardcode_action_CXX=relink
14898 else
14899 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14900 hardcode_action_CXX=immediate
14901 fi
14902 else
14903 # We cannot hardcode anything, or else we can only hardcode existing
14904 # directories.
14905 hardcode_action_CXX=unsupported
14906 fi
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14908 $as_echo "$hardcode_action_CXX" >&6; }
14909
14910 if test "$hardcode_action_CXX" = relink ||
14911 test "$inherit_rpath_CXX" = yes; then
14912 # Fast installation is not supported
14913 enable_fast_install=no
14914 elif test "$shlibpath_overrides_runpath" = yes ||
14915 test "$enable_shared" = no; then
14916 # Fast installation is not necessary
14917 enable_fast_install=needless
14918 fi
14919
14920
14921
14922
14923
14924
14925
14926 fi # test -n "$compiler"
14927
14928 CC=$lt_save_CC
14929 LDCXX=$LD
14930 LD=$lt_save_LD
14931 GCC=$lt_save_GCC
14932 with_gnu_ld=$lt_save_with_gnu_ld
14933 lt_cv_path_LDCXX=$lt_cv_path_LD
14934 lt_cv_path_LD=$lt_save_path_LD
14935 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14936 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14937 fi # test "$_lt_caught_CXX_error" != yes
14938
14939 ac_ext=c
14940 ac_cpp='$CPP $CPPFLAGS'
14941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957 ac_config_commands="$ac_config_commands libtool"
14958
14959
14960
14961
14962 # Only expand once:
14963
14964
14965
14966
14967
14968 case $host in
14969 *-cygwin* | *-mingw*)
14970 # 'host' will be top-level target in the case of a target lib,
14971 # we must compare to with_cross_host to decide if this is a native
14972 # or cross-compiler and select where to install dlls appropriately.
14973 if test -n "$with_cross_host" &&
14974 test x"$with_cross_host" != x"no"; then
14975 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14976 else
14977 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14978 fi
14979 ;;
14980 *)
14981 lt_host_flags=
14982 ;;
14983 esac
14984
14985
14986
14987
14988
14989
14990 if test "$enable_vtable_verify" = yes; then
14991 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14992 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14993 fi
14994
14995
14996 # libtool variables for C++ shared and position-independent compiles.
14997 #
14998 # Use glibcxx_lt_pic_flag to designate the automake variable
14999 # used to encapsulate the default libtool approach to creating objects
15000 # with position-independent code. Default: -prefer-pic.
15001 #
15002 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15003 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15004 #
15005 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15006 # creating position-independent objects. This varies with the target
15007 # hardware and operating system, but is often: -DPIC -fPIC.
15008 if test "$enable_shared" = yes; then
15009 glibcxx_lt_pic_flag="-prefer-pic"
15010 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15011 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15012
15013 else
15014 glibcxx_lt_pic_flag=
15015 glibcxx_compiler_pic_flag=
15016 glibcxx_compiler_shared_flag=
15017 fi
15018
15019
15020
15021
15022 # Override the libtool's pic_flag and pic_mode.
15023 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15024 # NB: this impacts --with-pic and --without-pic.
15025 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15026 pic_mode='default'
15027
15028 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15029 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15030
15031 # Possibly disable most of the library.
15032 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15033 ## than just ignoring the results. Faster /and/ more correct, win win.
15034
15035 # Check whether --enable-hosted-libstdcxx was given.
15036 if test "${enable_hosted_libstdcxx+set}" = set; then :
15037 enableval=$enable_hosted_libstdcxx;
15038 else
15039 case "$host" in
15040 arm*-*-symbianelf*)
15041 enable_hosted_libstdcxx=no
15042 ;;
15043 *)
15044 enable_hosted_libstdcxx=yes
15045 ;;
15046 esac
15047 fi
15048
15049 if test "$enable_hosted_libstdcxx" = no; then
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15051 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15052 is_hosted=no
15053 hosted_define=0
15054 enable_abi_check=no
15055 enable_libstdcxx_pch=no
15056 else
15057 is_hosted=yes
15058 hosted_define=1
15059 fi
15060
15061
15062 cat >>confdefs.h <<_ACEOF
15063 #define _GLIBCXX_HOSTED $hosted_define
15064 _ACEOF
15065
15066
15067
15068 # Enable descriptive messages to standard output on termination.
15069
15070 # Check whether --enable-libstdcxx-verbose was given.
15071 if test "${enable_libstdcxx_verbose+set}" = set; then :
15072 enableval=$enable_libstdcxx_verbose;
15073 else
15074 enable_libstdcxx_verbose=yes
15075 fi
15076
15077 if test x"$enable_libstdcxx_verbose" = xyes; then
15078 verbose_define=1
15079 else
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15081 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15082 verbose_define=0
15083 fi
15084
15085 cat >>confdefs.h <<_ACEOF
15086 #define _GLIBCXX_VERBOSE $verbose_define
15087 _ACEOF
15088
15089
15090
15091 # Enable compiler support that doesn't require linking.
15092
15093 # Check whether --enable-libstdcxx-pch was given.
15094 if test "${enable_libstdcxx_pch+set}" = set; then :
15095 enableval=$enable_libstdcxx_pch;
15096 case "$enableval" in
15097 yes|no) ;;
15098 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15099 esac
15100
15101 else
15102 enable_libstdcxx_pch=$is_hosted
15103 fi
15104
15105
15106 if test $enable_libstdcxx_pch = yes; then
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15108 $as_echo_n "checking for compiler with PCH support... " >&6; }
15109 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 ac_save_CXXFLAGS="$CXXFLAGS"
15113 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15114
15115 ac_ext=cpp
15116 ac_cpp='$CXXCPP $CPPFLAGS'
15117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15120
15121 echo '#include <math.h>' > conftest.h
15122 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15123 -o conftest.h.gch 1>&5 2>&1 &&
15124 echo '#error "pch failed"' > conftest.h &&
15125 echo '#include "conftest.h"' > conftest.cc &&
15126 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15127 then
15128 glibcxx_cv_prog_CXX_pch=yes
15129 else
15130 glibcxx_cv_prog_CXX_pch=no
15131 fi
15132 rm -f conftest*
15133 CXXFLAGS=$ac_save_CXXFLAGS
15134 ac_ext=c
15135 ac_cpp='$CPP $CPPFLAGS'
15136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15139
15140
15141 fi
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15143 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15144 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15145 fi
15146
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15148 $as_echo_n "checking for enabled PCH... " >&6; }
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15150 $as_echo "$enable_libstdcxx_pch" >&6; }
15151
15152
15153 if test $enable_libstdcxx_pch = yes; then
15154 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15155 else
15156 glibcxx_PCHFLAGS=""
15157 fi
15158
15159
15160
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15162 $as_echo_n "checking for thread model used by GCC... " >&6; }
15163 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15165 $as_echo "$target_thread_file" >&6; }
15166
15167 case $target_thread_file in
15168 aix) thread_header=config/rs6000/gthr-aix.h ;;
15169 dce) thread_header=config/pa/gthr-dce.h ;;
15170 lynx) thread_header=config/gthr-lynx.h ;;
15171 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15172 posix) thread_header=gthr-posix.h ;;
15173 rtems) thread_header=config/gthr-rtems.h ;;
15174 single) thread_header=gthr-single.h ;;
15175 tpf) thread_header=config/s390/gthr-tpf.h ;;
15176 vxworks) thread_header=config/gthr-vxworks.h ;;
15177 win32) thread_header=config/i386/gthr-win32.h ;;
15178 esac
15179
15180
15181
15182
15183
15184 ac_ext=cpp
15185 ac_cpp='$CXXCPP $CPPFLAGS'
15186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15189
15190 old_CXXFLAGS="$CXXFLAGS"
15191
15192 # Do link tests if possible, instead asm tests, limited to some platforms
15193 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15194 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15195 atomic_builtins_link_tests=no
15196 if test x$gcc_no_link != xyes; then
15197 # Can do link tests. Limit to some tested platforms
15198 case "$host" in
15199 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15200 atomic_builtins_link_tests=yes
15201 ;;
15202 esac
15203 fi
15204
15205 if test x$atomic_builtins_link_tests = xyes; then
15206
15207 # Do link tests.
15208
15209 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15210
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15212 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15213 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15216
15217 if test x$gcc_no_link = xyes; then
15218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15219 fi
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15222
15223 int
15224 main ()
15225 {
15226 typedef bool atomic_type;
15227 atomic_type c1;
15228 atomic_type c2;
15229 atomic_type c3(0);
15230 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15231 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15232 __ATOMIC_RELAXED);
15233 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15234 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15235
15236 ;
15237 return 0;
15238 }
15239 _ACEOF
15240 if ac_fn_cxx_try_link "$LINENO"; then :
15241 glibcxx_cv_atomic_bool=yes
15242 else
15243 glibcxx_cv_atomic_bool=no
15244 fi
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15247
15248 fi
15249
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15251 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15252
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15254 $as_echo_n "checking for atomic builtins for short... " >&6; }
15255 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15256 $as_echo_n "(cached) " >&6
15257 else
15258
15259 if test x$gcc_no_link = xyes; then
15260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15261 fi
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15264
15265 int
15266 main ()
15267 {
15268 typedef short atomic_type;
15269 atomic_type c1;
15270 atomic_type c2;
15271 atomic_type c3(0);
15272 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15273 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15274 __ATOMIC_RELAXED);
15275 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15276 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15277
15278 ;
15279 return 0;
15280 }
15281 _ACEOF
15282 if ac_fn_cxx_try_link "$LINENO"; then :
15283 glibcxx_cv_atomic_short=yes
15284 else
15285 glibcxx_cv_atomic_short=no
15286 fi
15287 rm -f core conftest.err conftest.$ac_objext \
15288 conftest$ac_exeext conftest.$ac_ext
15289
15290 fi
15291
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15293 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15294
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15296 $as_echo_n "checking for atomic builtins for int... " >&6; }
15297 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15300
15301 if test x$gcc_no_link = xyes; then
15302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15303 fi
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15306
15307 int
15308 main ()
15309 {
15310 typedef int atomic_type;
15311 atomic_type c1;
15312 atomic_type c2;
15313 atomic_type c3(0);
15314 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15315 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15316 __ATOMIC_RELAXED);
15317 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15318 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15319
15320 ;
15321 return 0;
15322 }
15323 _ACEOF
15324 if ac_fn_cxx_try_link "$LINENO"; then :
15325 glibcxx_cv_atomic_int=yes
15326 else
15327 glibcxx_cv_atomic_int=no
15328 fi
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15331
15332 fi
15333
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15335 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15336
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15338 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15339 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15340 $as_echo_n "(cached) " >&6
15341 else
15342
15343 if test x$gcc_no_link = xyes; then
15344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15345 fi
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15348
15349 int
15350 main ()
15351 {
15352 typedef long long atomic_type;
15353 atomic_type c1;
15354 atomic_type c2;
15355 atomic_type c3(0);
15356 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15357 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15358 __ATOMIC_RELAXED);
15359 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15360 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15361
15362 ;
15363 return 0;
15364 }
15365 _ACEOF
15366 if ac_fn_cxx_try_link "$LINENO"; then :
15367 glibcxx_cv_atomic_long_long=yes
15368 else
15369 glibcxx_cv_atomic_long_long=no
15370 fi
15371 rm -f core conftest.err conftest.$ac_objext \
15372 conftest$ac_exeext conftest.$ac_ext
15373
15374 fi
15375
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15377 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15378
15379 else
15380
15381 # Do asm tests.
15382
15383 # Compile unoptimized.
15384 CXXFLAGS='-O0 -S'
15385
15386 # Fake what AC_TRY_COMPILE does.
15387
15388 cat > conftest.$ac_ext << EOF
15389 #line 15389 "configure"
15390 int main()
15391 {
15392 typedef bool atomic_type;
15393 atomic_type c1;
15394 atomic_type c2;
15395 atomic_type c3(0);
15396 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15397 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15398 __ATOMIC_RELAXED);
15399 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15400 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15401
15402 return 0;
15403 }
15404 EOF
15405
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15407 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15409 (eval $ac_compile) 2>&5
15410 ac_status=$?
15411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15412 test $ac_status = 0; }; then
15413 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15414 glibcxx_cv_atomic_bool=no
15415 else
15416 glibcxx_cv_atomic_bool=yes
15417 fi
15418 fi
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15420 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15421 rm -f conftest*
15422
15423 cat > conftest.$ac_ext << EOF
15424 #line 15424 "configure"
15425 int main()
15426 {
15427 typedef short atomic_type;
15428 atomic_type c1;
15429 atomic_type c2;
15430 atomic_type c3(0);
15431 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15432 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15433 __ATOMIC_RELAXED);
15434 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15435 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15436
15437 return 0;
15438 }
15439 EOF
15440
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15442 $as_echo_n "checking for atomic builtins for short... " >&6; }
15443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15444 (eval $ac_compile) 2>&5
15445 ac_status=$?
15446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15447 test $ac_status = 0; }; then
15448 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15449 glibcxx_cv_atomic_short=no
15450 else
15451 glibcxx_cv_atomic_short=yes
15452 fi
15453 fi
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15455 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15456 rm -f conftest*
15457
15458 cat > conftest.$ac_ext << EOF
15459 #line 15459 "configure"
15460 int main()
15461 {
15462 // NB: _Atomic_word not necessarily int.
15463 typedef int atomic_type;
15464 atomic_type c1;
15465 atomic_type c2;
15466 atomic_type c3(0);
15467 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15468 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15469 __ATOMIC_RELAXED);
15470 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15471 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15472
15473 return 0;
15474 }
15475 EOF
15476
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15478 $as_echo_n "checking for atomic builtins for int... " >&6; }
15479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15480 (eval $ac_compile) 2>&5
15481 ac_status=$?
15482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15483 test $ac_status = 0; }; then
15484 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15485 glibcxx_cv_atomic_int=no
15486 else
15487 glibcxx_cv_atomic_int=yes
15488 fi
15489 fi
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15491 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15492 rm -f conftest*
15493
15494 cat > conftest.$ac_ext << EOF
15495 #line 15495 "configure"
15496 int main()
15497 {
15498 typedef long long atomic_type;
15499 atomic_type c1;
15500 atomic_type c2;
15501 atomic_type c3(0);
15502 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15503 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15504 __ATOMIC_RELAXED);
15505 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15506 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15507
15508 return 0;
15509 }
15510 EOF
15511
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15513 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15515 (eval $ac_compile) 2>&5
15516 ac_status=$?
15517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15518 test $ac_status = 0; }; then
15519 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15520 glibcxx_cv_atomic_long_long=no
15521 else
15522 glibcxx_cv_atomic_long_long=yes
15523 fi
15524 fi
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15526 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15527 rm -f conftest*
15528
15529 fi
15530
15531 CXXFLAGS="$old_CXXFLAGS"
15532 ac_ext=c
15533 ac_cpp='$CPP $CPPFLAGS'
15534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15537
15538
15539 # Set atomicity_dir to builtins if all but the long long test above passes.
15540 if test $glibcxx_cv_atomic_bool = yes \
15541 && test $glibcxx_cv_atomic_short = yes \
15542 && test $glibcxx_cv_atomic_int = yes; then
15543
15544 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15545
15546 atomicity_dir=cpu/generic/atomicity_builtins
15547 fi
15548
15549 # If still generic, set to mutex.
15550 if test $atomicity_dir = "cpu/generic" ; then
15551 atomicity_dir=cpu/generic/atomicity_mutex
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15553 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15554 if test "x$target_thread_file" = xsingle; then
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15556 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15558 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15559 else
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15561 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15563 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15564 fi
15565 fi
15566
15567
15568
15569
15570 # Fake what AC_TRY_COMPILE does, without linking as this is
15571 # unnecessary for this test.
15572
15573 cat > conftest.$ac_ext << EOF
15574 #line 15574 "configure"
15575 int main()
15576 {
15577 _Decimal32 d1;
15578 _Decimal64 d2;
15579 _Decimal128 d3;
15580 return 0;
15581 }
15582 EOF
15583
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15585 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15590 test $ac_status = 0; }; then
15591
15592 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15593
15594 enable_dfp=yes
15595 else
15596 enable_dfp=no
15597 fi
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15599 $as_echo "$enable_dfp" >&6; }
15600 rm -f conftest*
15601
15602
15603
15604
15605 ac_ext=cpp
15606 ac_cpp='$CXXCPP $CPPFLAGS'
15607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15610
15611
15612 # Fake what AC_TRY_COMPILE does, without linking as this is
15613 # unnecessary for this test.
15614
15615 cat > conftest.$ac_ext << EOF
15616 #line 15616 "configure"
15617 template<typename T1, typename T2>
15618 struct same
15619 { typedef T2 type; };
15620
15621 template<typename T>
15622 struct same<T, T>;
15623
15624 int main()
15625 {
15626 typename same<long, __int128>::type i1;
15627 typename same<long long, __int128>::type i2;
15628 }
15629 EOF
15630
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15632 $as_echo_n "checking for __int128... " >&6; }
15633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15634 (eval $ac_compile) 2>&5
15635 ac_status=$?
15636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15637 test $ac_status = 0; }; then
15638
15639 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15640
15641 enable_int128=yes
15642 else
15643 enable_int128=no
15644 fi
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15646 $as_echo "$enable_int128" >&6; }
15647 rm -f conftest*
15648
15649 cat > conftest.$ac_ext << EOF
15650 #line 15650 "configure"
15651 template<typename T1, typename T2>
15652 struct same
15653 { typedef T2 type; };
15654
15655 template<typename T>
15656 struct same<T, T>;
15657
15658 int main()
15659 {
15660 typename same<double, __float128>::type f1;
15661 typename same<long double, __float128>::type f2;
15662 }
15663 EOF
15664
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15666 $as_echo_n "checking for __float128... " >&6; }
15667 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15668 (eval $ac_compile) 2>&5
15669 ac_status=$?
15670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671 test $ac_status = 0; }; then
15672
15673 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15674
15675 enable_float128=yes
15676 else
15677 enable_float128=no
15678 fi
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15680 $as_echo "$enable_float128" >&6; }
15681 rm -f conftest*
15682
15683 ac_ext=c
15684 ac_cpp='$CPP $CPPFLAGS'
15685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15688
15689
15690 if test "$enable_float128" = yes; then
15691 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15692 fi
15693
15694 # Checks for compiler support that doesn't require linking.
15695
15696 # All these tests are for C++; save the language and the compiler flags.
15697 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15698 # found in GLIBCXX_CONFIGURE.
15699
15700 ac_ext=cpp
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15705
15706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15707 ac_save_CXXFLAGS="$CXXFLAGS"
15708
15709 # Check for maintainer-mode bits.
15710 if test x"$USE_MAINTAINER_MODE" = xno; then
15711 WERROR=''
15712 else
15713 WERROR='-Werror'
15714 fi
15715
15716 # Check for -ffunction-sections -fdata-sections
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15718 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15719 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 int foo; void bar() { };
15723 int
15724 main ()
15725 {
15726
15727 ;
15728 return 0;
15729 }
15730 _ACEOF
15731 if ac_fn_cxx_try_compile "$LINENO"; then :
15732 ac_fdsections=yes
15733 else
15734 ac_fdsections=no
15735 fi
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737 if test "$ac_test_CXXFLAGS" = set; then
15738 CXXFLAGS="$ac_save_CXXFLAGS"
15739 else
15740 # this is the suspicious part
15741 CXXFLAGS=''
15742 fi
15743 if test x"$ac_fdsections" = x"yes"; then
15744 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15745 fi
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15747 $as_echo "$ac_fdsections" >&6; }
15748
15749 ac_ext=c
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15754
15755
15756
15757
15758
15759 # Enable all the variable C++ runtime options that don't require linking.
15760
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15762 $as_echo_n "checking for underlying I/O to use... " >&6; }
15763 # Check whether --enable-cstdio was given.
15764 if test "${enable_cstdio+set}" = set; then :
15765 enableval=$enable_cstdio;
15766 case "$enableval" in
15767 stdio) ;;
15768 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15769 esac
15770
15771 else
15772 enable_cstdio=stdio
15773 fi
15774
15775
15776
15777 # Now that libio has been removed, you can have any color you want as long
15778 # as it's black. This is one big no-op until other packages are added, but
15779 # showing the framework never hurts.
15780 case ${enable_cstdio} in
15781 stdio)
15782 CSTDIO_H=config/io/c_io_stdio.h
15783 BASIC_FILE_H=config/io/basic_file_stdio.h
15784 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15786 $as_echo "stdio" >&6; }
15787 ;;
15788 esac
15789
15790
15791
15792
15793
15794
15795 # Check whether --enable-clocale was given.
15796 if test "${enable_clocale+set}" = set; then :
15797 enableval=$enable_clocale;
15798 case "$enableval" in
15799 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15800 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15801 esac
15802
15803 else
15804 enable_clocale=auto
15805 fi
15806
15807
15808
15809 # Deal with gettext issues. Default to not using it (=no) until we detect
15810 # support for it later. Let the user turn it off via --e/d, but let that
15811 # default to on for easier handling.
15812 USE_NLS=no
15813 # Check whether --enable-nls was given.
15814 if test "${enable_nls+set}" = set; then :
15815 enableval=$enable_nls;
15816 else
15817 enable_nls=yes
15818 fi
15819
15820
15821 # Either a known package, or "auto"
15822 if test $enable_clocale = no || test $enable_clocale = yes; then
15823 enable_clocale=auto
15824 fi
15825 enable_clocale_flag=$enable_clocale
15826
15827 # Probe for locale model to use if none specified.
15828 # Default to "generic".
15829 if test $enable_clocale_flag = auto; then
15830 case ${target_os} in
15831 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15832 enable_clocale_flag=gnu
15833 ;;
15834 darwin* | freebsd*)
15835 enable_clocale_flag=darwin
15836 ;;
15837 dragonfly*)
15838 enable_clocale_flag=dragonfly
15839 ;;
15840 openbsd*)
15841 enable_clocale_flag=newlib
15842 ;;
15843 *)
15844 if test x"$with_newlib" = x"yes"; then
15845 enable_clocale_flag=newlib
15846 else
15847 enable_clocale_flag=generic
15848 fi
15849 ;;
15850 esac
15851 fi
15852
15853 # Sanity check model, and test for special functionality.
15854 if test $enable_clocale_flag = gnu; then
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15857
15858 #include <features.h>
15859 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15860 _GLIBCXX_ok
15861 #endif
15862
15863 _ACEOF
15864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15865 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15866 enable_clocale_flag=gnu
15867 else
15868 enable_clocale_flag=generic
15869 fi
15870 rm -f conftest*
15871
15872
15873 # Set it to scream when it hurts.
15874 ac_save_CFLAGS="$CFLAGS"
15875 CFLAGS="-Wimplicit-function-declaration -Werror"
15876
15877 # Use strxfrm_l if available.
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15880 #define _GNU_SOURCE 1
15881 #include <string.h>
15882 #include <locale.h>
15883 int
15884 main ()
15885 {
15886 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15887 ;
15888 return 0;
15889 }
15890 _ACEOF
15891 if ac_fn_c_try_compile "$LINENO"; then :
15892
15893 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15894
15895 fi
15896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15897
15898 # Use strerror_l if available.
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 #define _GNU_SOURCE 1
15902 #include <string.h>
15903 #include <locale.h>
15904 int
15905 main ()
15906 {
15907 __locale_t loc; strerror_l(5, loc);
15908 ;
15909 return 0;
15910 }
15911 _ACEOF
15912 if ac_fn_c_try_compile "$LINENO"; then :
15913
15914 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15915
15916 fi
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15918
15919 CFLAGS="$ac_save_CFLAGS"
15920 fi
15921
15922 # Perhaps use strerror_r if available, and strerror_l isn't.
15923 ac_save_CFLAGS="$CFLAGS"
15924 CFLAGS="-Wimplicit-function-declaration -Werror"
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 #define _GNU_SOURCE 1
15928 #include <string.h>
15929 #include <locale.h>
15930 int
15931 main ()
15932 {
15933 char s[128]; strerror_r(5, s, 128);
15934 ;
15935 return 0;
15936 }
15937 _ACEOF
15938 if ac_fn_c_try_compile "$LINENO"; then :
15939
15940 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15941
15942 fi
15943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15944 CFLAGS="$ac_save_CFLAGS"
15945
15946 # Set configure bits for specified locale package
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15948 $as_echo_n "checking for C locale to use... " >&6; }
15949 case ${enable_clocale_flag} in
15950 generic)
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15952 $as_echo "generic" >&6; }
15953
15954 CLOCALE_H=config/locale/generic/c_locale.h
15955 CLOCALE_CC=config/locale/generic/c_locale.cc
15956 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15957 CCOLLATE_CC=config/locale/generic/collate_members.cc
15958 CCTYPE_CC=config/locale/generic/ctype_members.cc
15959 CMESSAGES_H=config/locale/generic/messages_members.h
15960 CMESSAGES_CC=config/locale/generic/messages_members.cc
15961 CMONEY_CC=config/locale/generic/monetary_members.cc
15962 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15963 CTIME_H=config/locale/generic/time_members.h
15964 CTIME_CC=config/locale/generic/time_members.cc
15965 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15966 ;;
15967 darwin)
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15969 $as_echo "darwin or freebsd" >&6; }
15970
15971 CLOCALE_H=config/locale/generic/c_locale.h
15972 CLOCALE_CC=config/locale/generic/c_locale.cc
15973 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15974 CCOLLATE_CC=config/locale/generic/collate_members.cc
15975 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15976 CMESSAGES_H=config/locale/generic/messages_members.h
15977 CMESSAGES_CC=config/locale/generic/messages_members.cc
15978 CMONEY_CC=config/locale/generic/monetary_members.cc
15979 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15980 CTIME_H=config/locale/generic/time_members.h
15981 CTIME_CC=config/locale/generic/time_members.cc
15982 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15983 ;;
15984
15985 dragonfly)
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
15987 $as_echo "dragonfly" >&6; }
15988
15989 CLOCALE_H=config/locale/generic/c_locale.h
15990 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15991 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15992 CCOLLATE_CC=config/locale/generic/collate_members.cc
15993 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15994 CMESSAGES_H=config/locale/generic/messages_members.h
15995 CMESSAGES_CC=config/locale/generic/messages_members.cc
15996 CMONEY_CC=config/locale/generic/monetary_members.cc
15997 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15998 CTIME_H=config/locale/generic/time_members.h
15999 CTIME_CC=config/locale/generic/time_members.cc
16000 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16001 ;;
16002
16003 gnu)
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16005 $as_echo "gnu" >&6; }
16006
16007 # Declare intention to use gettext, and add support for specific
16008 # languages.
16009 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16010 ALL_LINGUAS="de fr"
16011
16012 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16013 # Extract the first word of "msgfmt", so it can be a program name with args.
16014 set dummy msgfmt; ac_word=$2
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16016 $as_echo_n "checking for $ac_word... " >&6; }
16017 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16018 $as_echo_n "(cached) " >&6
16019 else
16020 if test -n "$check_msgfmt"; then
16021 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16022 else
16023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16024 for as_dir in $PATH
16025 do
16026 IFS=$as_save_IFS
16027 test -z "$as_dir" && as_dir=.
16028 for ac_exec_ext in '' $ac_executable_extensions; do
16029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16030 ac_cv_prog_check_msgfmt="yes"
16031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16032 break 2
16033 fi
16034 done
16035 done
16036 IFS=$as_save_IFS
16037
16038 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16039 fi
16040 fi
16041 check_msgfmt=$ac_cv_prog_check_msgfmt
16042 if test -n "$check_msgfmt"; then
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16044 $as_echo "$check_msgfmt" >&6; }
16045 else
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16047 $as_echo "no" >&6; }
16048 fi
16049
16050
16051 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16052 USE_NLS=yes
16053 fi
16054 # Export the build objects.
16055 for ling in $ALL_LINGUAS; do \
16056 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16057 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16058 done
16059
16060
16061
16062 CLOCALE_H=config/locale/gnu/c_locale.h
16063 CLOCALE_CC=config/locale/gnu/c_locale.cc
16064 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16065 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16066 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16067 CMESSAGES_H=config/locale/gnu/messages_members.h
16068 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16069 CMONEY_CC=config/locale/gnu/monetary_members.cc
16070 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16071 CTIME_H=config/locale/gnu/time_members.h
16072 CTIME_CC=config/locale/gnu/time_members.cc
16073 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16074 ;;
16075 ieee_1003.1-2001)
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16077 $as_echo "IEEE 1003.1" >&6; }
16078
16079 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16080 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16081 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16082 CCOLLATE_CC=config/locale/generic/collate_members.cc
16083 CCTYPE_CC=config/locale/generic/ctype_members.cc
16084 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16085 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16086 CMONEY_CC=config/locale/generic/monetary_members.cc
16087 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16088 CTIME_H=config/locale/generic/time_members.h
16089 CTIME_CC=config/locale/generic/time_members.cc
16090 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16091 ;;
16092 newlib)
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16094 $as_echo "newlib" >&6; }
16095
16096 CLOCALE_H=config/locale/generic/c_locale.h
16097 CLOCALE_CC=config/locale/generic/c_locale.cc
16098 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16099 CCOLLATE_CC=config/locale/generic/collate_members.cc
16100 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16101 CMESSAGES_H=config/locale/generic/messages_members.h
16102 CMESSAGES_CC=config/locale/generic/messages_members.cc
16103 CMONEY_CC=config/locale/generic/monetary_members.cc
16104 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16105 CTIME_H=config/locale/generic/time_members.h
16106 CTIME_CC=config/locale/generic/time_members.cc
16107 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16108 ;;
16109 esac
16110
16111 # This is where the testsuite looks for locale catalogs, using the
16112 # -DLOCALEDIR define during testsuite compilation.
16113 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16114
16115
16116 # A standalone libintl (e.g., GNU libintl) may be in use.
16117 if test $USE_NLS = yes; then
16118 for ac_header in libintl.h
16119 do :
16120 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_LIBINTL_H 1
16124 _ACEOF
16125
16126 else
16127 USE_NLS=no
16128 fi
16129
16130 done
16131
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16133 $as_echo_n "checking for library containing gettext... " >&6; }
16134 if test "${ac_cv_search_gettext+set}" = set; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 ac_func_search_save_LIBS=$LIBS
16138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16140
16141 /* Override any GCC internal prototype to avoid an error.
16142 Use char because int might match the return type of a GCC
16143 builtin and then its argument prototype would still apply. */
16144 #ifdef __cplusplus
16145 extern "C"
16146 #endif
16147 char gettext ();
16148 int
16149 main ()
16150 {
16151 return gettext ();
16152 ;
16153 return 0;
16154 }
16155 _ACEOF
16156 for ac_lib in '' intl; do
16157 if test -z "$ac_lib"; then
16158 ac_res="none required"
16159 else
16160 ac_res=-l$ac_lib
16161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16162 fi
16163 if test x$gcc_no_link = xyes; then
16164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16165 fi
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 ac_cv_search_gettext=$ac_res
16168 fi
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext
16171 if test "${ac_cv_search_gettext+set}" = set; then :
16172 break
16173 fi
16174 done
16175 if test "${ac_cv_search_gettext+set}" = set; then :
16176
16177 else
16178 ac_cv_search_gettext=no
16179 fi
16180 rm conftest.$ac_ext
16181 LIBS=$ac_func_search_save_LIBS
16182 fi
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16184 $as_echo "$ac_cv_search_gettext" >&6; }
16185 ac_res=$ac_cv_search_gettext
16186 if test "$ac_res" != no; then :
16187 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16188
16189 else
16190 USE_NLS=no
16191 fi
16192
16193 fi
16194 if test $USE_NLS = yes; then
16195
16196 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16197
16198 fi
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16216 $as_echo_n "checking for std::allocator base class... " >&6; }
16217 # Check whether --enable-libstdcxx-allocator was given.
16218 if test "${enable_libstdcxx_allocator+set}" = set; then :
16219 enableval=$enable_libstdcxx_allocator;
16220 case "$enableval" in
16221 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16222 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16223 esac
16224
16225 else
16226 enable_libstdcxx_allocator=auto
16227 fi
16228
16229
16230
16231 # If they didn't use this option switch, or if they specified --enable
16232 # with no specific model, we'll have to look for one. If they
16233 # specified --disable (???), do likewise.
16234 if test $enable_libstdcxx_allocator = no ||
16235 test $enable_libstdcxx_allocator = yes;
16236 then
16237 enable_libstdcxx_allocator=auto
16238 fi
16239
16240 # Either a known package, or "auto". Auto implies the default choice
16241 # for a particular platform.
16242 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16243
16244 # Probe for host-specific support if no specific model is specified.
16245 # Default to "new".
16246 if test $enable_libstdcxx_allocator_flag = auto; then
16247 case ${target_os} in
16248 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16249 enable_libstdcxx_allocator_flag=new
16250 ;;
16251 *)
16252 enable_libstdcxx_allocator_flag=new
16253 ;;
16254 esac
16255 fi
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16257 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16258
16259
16260 # Set configure bits for specified locale package
16261 case ${enable_libstdcxx_allocator_flag} in
16262 bitmap)
16263 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16264 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16265 ;;
16266 malloc)
16267 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16268 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16269 ;;
16270 mt)
16271 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16272 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16273 ;;
16274 new)
16275 ALLOCATOR_H=config/allocator/new_allocator_base.h
16276 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16277 ;;
16278 pool)
16279 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16280 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16281 ;;
16282 esac
16283
16284
16285
16286
16287
16288 # Check whether --enable-cheaders was given.
16289 if test "${enable_cheaders+set}" = set; then :
16290 enableval=$enable_cheaders;
16291 case "$enableval" in
16292 c|c_std|c_global) ;;
16293 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16294 esac
16295
16296 else
16297 enable_cheaders=$c_model
16298 fi
16299
16300
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16302 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16303
16304 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16305
16306 # Allow overrides to configure.host here.
16307 if test $enable_cheaders = c_global; then
16308 c_compatibility=yes
16309 fi
16310
16311
16312
16313
16314
16315
16316
16317 # Check whether --enable-long-long was given.
16318 if test "${enable_long_long+set}" = set; then :
16319 enableval=$enable_long_long;
16320 case "$enableval" in
16321 yes|no) ;;
16322 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16323 esac
16324
16325 else
16326 enable_long_long=yes
16327 fi
16328
16329
16330 if test $enable_long_long = yes; then
16331
16332 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16333
16334 fi
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16336 $as_echo_n "checking for enabled long long specializations... " >&6; }
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16338 $as_echo "$enable_long_long" >&6; }
16339
16340
16341 # Check whether --enable-wchar_t was given.
16342 if test "${enable_wchar_t+set}" = set; then :
16343 enableval=$enable_wchar_t;
16344 case "$enableval" in
16345 yes|no) ;;
16346 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16347 esac
16348
16349 else
16350 enable_wchar_t=yes
16351 fi
16352
16353
16354
16355 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16356 for ac_header in wchar.h
16357 do :
16358 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16359 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_WCHAR_H 1
16362 _ACEOF
16363 ac_has_wchar_h=yes
16364 else
16365 ac_has_wchar_h=no
16366 fi
16367
16368 done
16369
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16371 $as_echo_n "checking for mbstate_t... " >&6; }
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #include <wchar.h>
16375 int
16376 main ()
16377 {
16378 mbstate_t teststate;
16379 ;
16380 return 0;
16381 }
16382 _ACEOF
16383 if ac_fn_c_try_compile "$LINENO"; then :
16384 have_mbstate_t=yes
16385 else
16386 have_mbstate_t=no
16387 fi
16388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16390 $as_echo "$have_mbstate_t" >&6; }
16391 if test x"$have_mbstate_t" = xyes; then
16392
16393 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16394
16395 fi
16396
16397 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16398 # ac_has_wchar_h.
16399 for ac_header in wctype.h
16400 do :
16401 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16402 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_WCTYPE_H 1
16405 _ACEOF
16406 ac_has_wctype_h=yes
16407 else
16408 ac_has_wctype_h=no
16409 fi
16410
16411 done
16412
16413
16414 if test x"$enable_wchar_t" = x"yes"; then
16415
16416
16417 ac_ext=cpp
16418 ac_cpp='$CXXCPP $CPPFLAGS'
16419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16422
16423
16424 if test x"$ac_has_wchar_h" = xyes &&
16425 test x"$ac_has_wctype_h" = xyes; then
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16428 #include <wchar.h>
16429 #include <stddef.h>
16430 wint_t i;
16431 long l = WEOF;
16432 long j = WCHAR_MIN;
16433 long k = WCHAR_MAX;
16434 namespace test
16435 {
16436 using ::btowc;
16437 using ::fgetwc;
16438 using ::fgetws;
16439 using ::fputwc;
16440 using ::fputws;
16441 using ::fwide;
16442 using ::fwprintf;
16443 using ::fwscanf;
16444 using ::getwc;
16445 using ::getwchar;
16446 using ::mbrlen;
16447 using ::mbrtowc;
16448 using ::mbsinit;
16449 using ::mbsrtowcs;
16450 using ::putwc;
16451 using ::putwchar;
16452 using ::swprintf;
16453 using ::swscanf;
16454 using ::ungetwc;
16455 using ::vfwprintf;
16456 using ::vswprintf;
16457 using ::vwprintf;
16458 using ::wcrtomb;
16459 using ::wcscat;
16460 using ::wcschr;
16461 using ::wcscmp;
16462 using ::wcscoll;
16463 using ::wcscpy;
16464 using ::wcscspn;
16465 using ::wcsftime;
16466 using ::wcslen;
16467 using ::wcsncat;
16468 using ::wcsncmp;
16469 using ::wcsncpy;
16470 using ::wcspbrk;
16471 using ::wcsrchr;
16472 using ::wcsrtombs;
16473 using ::wcsspn;
16474 using ::wcsstr;
16475 using ::wcstod;
16476 using ::wcstok;
16477 using ::wcstol;
16478 using ::wcstoul;
16479 using ::wcsxfrm;
16480 using ::wctob;
16481 using ::wmemchr;
16482 using ::wmemcmp;
16483 using ::wmemcpy;
16484 using ::wmemmove;
16485 using ::wmemset;
16486 using ::wprintf;
16487 using ::wscanf;
16488 }
16489
16490 int
16491 main ()
16492 {
16493
16494 ;
16495 return 0;
16496 }
16497 _ACEOF
16498 if ac_fn_cxx_try_compile "$LINENO"; then :
16499
16500 else
16501 enable_wchar_t=no
16502 fi
16503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16504 else
16505 enable_wchar_t=no
16506 fi
16507
16508 ac_ext=c
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16513
16514 fi
16515
16516 if test x"$enable_wchar_t" = x"yes"; then
16517
16518 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16519
16520 fi
16521
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16523 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16525 $as_echo "$enable_wchar_t" >&6; }
16526
16527
16528
16529 # Check whether --enable-c99 was given.
16530 if test "${enable_c99+set}" = set; then :
16531 enableval=$enable_c99;
16532 case "$enableval" in
16533 yes|no) ;;
16534 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16535 esac
16536
16537 else
16538 enable_c99=yes
16539 fi
16540
16541
16542
16543 if test x"$enable_c99" = x"yes"; then
16544
16545
16546 ac_ext=cpp
16547 ac_cpp='$CXXCPP $CPPFLAGS'
16548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16551
16552
16553 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16554 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16555 # spuriously enabled.
16556 # Long term, -std=c++0x could be even better, could manage to explicitly
16557 # request C99 facilities to the underlying C headers.
16558 ac_save_CXXFLAGS="$CXXFLAGS"
16559 CXXFLAGS="$CXXFLAGS -std=c++98"
16560 ac_save_LIBS="$LIBS"
16561 ac_save_gcc_no_link="$gcc_no_link"
16562
16563 if test x$gcc_no_link != xyes; then
16564 # Use -fno-exceptions to that the C driver can link these tests without
16565 # hitting undefined references to personality routines.
16566 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16568 $as_echo_n "checking for sin in -lm... " >&6; }
16569 if test "${ac_cv_lib_m_sin+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lm $LIBS"
16574 if test x$gcc_no_link = xyes; then
16575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16576 fi
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16579
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char sin ();
16587 int
16588 main ()
16589 {
16590 return sin ();
16591 ;
16592 return 0;
16593 }
16594 _ACEOF
16595 if ac_fn_cxx_try_link "$LINENO"; then :
16596 ac_cv_lib_m_sin=yes
16597 else
16598 ac_cv_lib_m_sin=no
16599 fi
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_lib_save_LIBS
16603 fi
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16605 $as_echo "$ac_cv_lib_m_sin" >&6; }
16606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16607
16608 LIBS="$LIBS -lm"
16609
16610 else
16611
16612 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16613 gcc_no_link=yes
16614
16615 fi
16616
16617 fi
16618
16619 # Check for the existence of <math.h> functions used if C99 is enabled.
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16621 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16622 if test "${glibcxx_cv_c99_math+set}" = set; then :
16623 $as_echo_n "(cached) " >&6
16624 else
16625
16626 if test x$gcc_no_link = xyes; then
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16629 #include <math.h>
16630 volatile double d1, d2;
16631 volatile int i;
16632 int
16633 main ()
16634 {
16635 i = fpclassify(d1);
16636 i = isfinite(d1);
16637 i = isinf(d1);
16638 i = isnan(d1);
16639 i = isnormal(d1);
16640 i = signbit(d1);
16641 i = isgreater(d1, d2);
16642 i = isgreaterequal(d1, d2);
16643 i = isless(d1, d2);
16644 i = islessequal(d1, d2);
16645 i = islessgreater(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = isunordered(d1, d2);
16648
16649 ;
16650 return 0;
16651 }
16652 _ACEOF
16653 if ac_fn_cxx_try_compile "$LINENO"; then :
16654 glibcxx_cv_c99_math=yes
16655 else
16656 glibcxx_cv_c99_math=no
16657 fi
16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16659 else
16660 if test x$gcc_no_link = xyes; then
16661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16662 fi
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16665 #include <math.h>
16666 volatile double d1, d2;
16667 volatile int i;
16668 int
16669 main ()
16670 {
16671 i = fpclassify(d1);
16672 i = isfinite(d1);
16673 i = isinf(d1);
16674 i = isnan(d1);
16675 i = isnormal(d1);
16676 i = signbit(d1);
16677 i = isgreater(d1, d2);
16678 i = isgreaterequal(d1, d2);
16679 i = isless(d1, d2);
16680 i = islessequal(d1, d2);
16681 i = islessgreater(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = isunordered(d1, d2);
16684
16685 ;
16686 return 0;
16687 }
16688 _ACEOF
16689 if ac_fn_cxx_try_link "$LINENO"; then :
16690 glibcxx_cv_c99_math=yes
16691 else
16692 glibcxx_cv_c99_math=no
16693 fi
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16696 fi
16697
16698 fi
16699
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16701 $as_echo "$glibcxx_cv_c99_math" >&6; }
16702 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16703
16704 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16705
16706 fi
16707
16708 # Check for the existence of <complex.h> complex math functions.
16709 # This is necessary even though libstdc++ uses the builtin versions
16710 # of these functions, because if the builtin cannot be used, a reference
16711 # to the library function is emitted.
16712 for ac_header in tgmath.h
16713 do :
16714 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16715 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_TGMATH_H 1
16718 _ACEOF
16719 ac_has_tgmath_h=yes
16720 else
16721 ac_has_tgmath_h=no
16722 fi
16723
16724 done
16725
16726 for ac_header in complex.h
16727 do :
16728 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16729 if test "x$ac_cv_header_complex_h" = x""yes; then :
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_COMPLEX_H 1
16732 _ACEOF
16733 ac_has_complex_h=yes
16734 else
16735 ac_has_complex_h=no
16736 fi
16737
16738 done
16739
16740 glibcxx_cv_c99_complex=no;
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16744 if test x$gcc_no_link = xyes; then
16745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h. */
16747 #include <complex.h>
16748 typedef __complex__ float float_type;
16749 typedef __complex__ double double_type;
16750 typedef __complex__ long double ld_type;
16751 volatile float_type tmpf;
16752 volatile double_type tmpd;
16753 volatile ld_type tmpld;
16754 volatile float f;
16755 volatile double d;
16756 volatile long double ld;
16757 int
16758 main ()
16759 {
16760 f = cabsf(tmpf);
16761 f = cargf(tmpf);
16762 tmpf = ccosf(tmpf);
16763 tmpf = ccoshf(tmpf);
16764 tmpf = cexpf(tmpf);
16765 tmpf = clogf(tmpf);
16766 tmpf = csinf(tmpf);
16767 tmpf = csinhf(tmpf);
16768 tmpf = csqrtf(tmpf);
16769 tmpf = ctanf(tmpf);
16770 tmpf = ctanhf(tmpf);
16771 tmpf = cpowf(tmpf, tmpf);
16772 tmpf = cprojf(tmpf);
16773 d = cabs(tmpd);
16774 d = carg(tmpd);
16775 tmpd = ccos(tmpd);
16776 tmpd = ccosh(tmpd);
16777 tmpd = cexp(tmpd);
16778 tmpd = clog(tmpd);
16779 tmpd = csin(tmpd);
16780 tmpd = csinh(tmpd);
16781 tmpd = csqrt(tmpd);
16782 tmpd = ctan(tmpd);
16783 tmpd = ctanh(tmpd);
16784 tmpd = cpow(tmpd, tmpd);
16785 tmpd = cproj(tmpd);
16786 ld = cabsl(tmpld);
16787 ld = cargl(tmpld);
16788 tmpld = ccosl(tmpld);
16789 tmpld = ccoshl(tmpld);
16790 tmpld = cexpl(tmpld);
16791 tmpld = clogl(tmpld);
16792 tmpld = csinl(tmpld);
16793 tmpld = csinhl(tmpld);
16794 tmpld = csqrtl(tmpld);
16795 tmpld = ctanl(tmpld);
16796 tmpld = ctanhl(tmpld);
16797 tmpld = cpowl(tmpld, tmpld);
16798 tmpld = cprojl(tmpld);
16799
16800 ;
16801 return 0;
16802 }
16803 _ACEOF
16804 if ac_fn_cxx_try_compile "$LINENO"; then :
16805 glibcxx_cv_c99_complex=yes
16806 else
16807 glibcxx_cv_c99_complex=no
16808 fi
16809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16810 else
16811 if test x$gcc_no_link = xyes; then
16812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16813 fi
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16816 #include <complex.h>
16817 typedef __complex__ float float_type;
16818 typedef __complex__ double double_type;
16819 typedef __complex__ long double ld_type;
16820 volatile float_type tmpf;
16821 volatile double_type tmpd;
16822 volatile ld_type tmpld;
16823 volatile float f;
16824 volatile double d;
16825 volatile long double ld;
16826 int
16827 main ()
16828 {
16829 f = cabsf(tmpf);
16830 f = cargf(tmpf);
16831 tmpf = ccosf(tmpf);
16832 tmpf = ccoshf(tmpf);
16833 tmpf = cexpf(tmpf);
16834 tmpf = clogf(tmpf);
16835 tmpf = csinf(tmpf);
16836 tmpf = csinhf(tmpf);
16837 tmpf = csqrtf(tmpf);
16838 tmpf = ctanf(tmpf);
16839 tmpf = ctanhf(tmpf);
16840 tmpf = cpowf(tmpf, tmpf);
16841 tmpf = cprojf(tmpf);
16842 d = cabs(tmpd);
16843 d = carg(tmpd);
16844 tmpd = ccos(tmpd);
16845 tmpd = ccosh(tmpd);
16846 tmpd = cexp(tmpd);
16847 tmpd = clog(tmpd);
16848 tmpd = csin(tmpd);
16849 tmpd = csinh(tmpd);
16850 tmpd = csqrt(tmpd);
16851 tmpd = ctan(tmpd);
16852 tmpd = ctanh(tmpd);
16853 tmpd = cpow(tmpd, tmpd);
16854 tmpd = cproj(tmpd);
16855 ld = cabsl(tmpld);
16856 ld = cargl(tmpld);
16857 tmpld = ccosl(tmpld);
16858 tmpld = ccoshl(tmpld);
16859 tmpld = cexpl(tmpld);
16860 tmpld = clogl(tmpld);
16861 tmpld = csinl(tmpld);
16862 tmpld = csinhl(tmpld);
16863 tmpld = csqrtl(tmpld);
16864 tmpld = ctanl(tmpld);
16865 tmpld = ctanhl(tmpld);
16866 tmpld = cpowl(tmpld, tmpld);
16867 tmpld = cprojl(tmpld);
16868
16869 ;
16870 return 0;
16871 }
16872 _ACEOF
16873 if ac_fn_cxx_try_link "$LINENO"; then :
16874 glibcxx_cv_c99_complex=yes
16875 else
16876 glibcxx_cv_c99_complex=no
16877 fi
16878 rm -f core conftest.err conftest.$ac_objext \
16879 conftest$ac_exeext conftest.$ac_ext
16880 fi
16881 fi
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16883 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16884 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16885
16886 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16887
16888 fi
16889
16890 # Check for the existence in <stdio.h> of vscanf, et. al.
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16892 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16893 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16894 $as_echo_n "(cached) " >&6
16895 else
16896
16897 if test x$gcc_no_link = xyes; then
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16900 #include <stdio.h>
16901 #include <stdarg.h>
16902 void foo(char* fmt, ...)
16903 {
16904 va_list args; va_start(args, fmt);
16905 vfscanf(stderr, "%i", args);
16906 vscanf("%i", args);
16907 vsnprintf(fmt, 0, "%i", args);
16908 vsscanf(fmt, "%i", args);
16909 snprintf(fmt, 0, "%i");
16910 }
16911 int
16912 main ()
16913 {
16914
16915 ;
16916 return 0;
16917 }
16918 _ACEOF
16919 if ac_fn_cxx_try_compile "$LINENO"; then :
16920 glibcxx_cv_c99_stdio=yes
16921 else
16922 glibcxx_cv_c99_stdio=no
16923 fi
16924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16925 else
16926 if test x$gcc_no_link = xyes; then
16927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16928 fi
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <stdio.h>
16932 #include <stdarg.h>
16933 void foo(char* fmt, ...)
16934 {
16935 va_list args; va_start(args, fmt);
16936 vfscanf(stderr, "%i", args);
16937 vscanf("%i", args);
16938 vsnprintf(fmt, 0, "%i", args);
16939 vsscanf(fmt, "%i", args);
16940 snprintf(fmt, 0, "%i");
16941 }
16942 int
16943 main ()
16944 {
16945
16946 ;
16947 return 0;
16948 }
16949 _ACEOF
16950 if ac_fn_cxx_try_link "$LINENO"; then :
16951 glibcxx_cv_c99_stdio=yes
16952 else
16953 glibcxx_cv_c99_stdio=no
16954 fi
16955 rm -f core conftest.err conftest.$ac_objext \
16956 conftest$ac_exeext conftest.$ac_ext
16957 fi
16958
16959 fi
16960
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16962 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16963
16964 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16966 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16967 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16970
16971 if test x$gcc_no_link = xyes; then
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 #include <stdlib.h>
16975 volatile float f;
16976 volatile long double ld;
16977 volatile unsigned long long ll;
16978 lldiv_t mydivt;
16979 int
16980 main ()
16981 {
16982 char* tmp;
16983 f = strtof("gnu", &tmp);
16984 ld = strtold("gnu", &tmp);
16985 ll = strtoll("gnu", &tmp, 10);
16986 ll = strtoull("gnu", &tmp, 10);
16987 ll = llabs(10);
16988 mydivt = lldiv(10,1);
16989 ll = mydivt.quot;
16990 ll = mydivt.rem;
16991 ll = atoll("10");
16992 _Exit(0);
16993
16994 ;
16995 return 0;
16996 }
16997 _ACEOF
16998 if ac_fn_cxx_try_compile "$LINENO"; then :
16999 glibcxx_cv_c99_stdlib=yes
17000 else
17001 glibcxx_cv_c99_stdlib=no
17002 fi
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004 else
17005 if test x$gcc_no_link = xyes; then
17006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17007 fi
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #include <stdlib.h>
17011 volatile float f;
17012 volatile long double ld;
17013 volatile unsigned long long ll;
17014 lldiv_t mydivt;
17015 int
17016 main ()
17017 {
17018 char* tmp;
17019 f = strtof("gnu", &tmp);
17020 ld = strtold("gnu", &tmp);
17021 ll = strtoll("gnu", &tmp, 10);
17022 ll = strtoull("gnu", &tmp, 10);
17023 ll = llabs(10);
17024 mydivt = lldiv(10,1);
17025 ll = mydivt.quot;
17026 ll = mydivt.rem;
17027 ll = atoll("10");
17028 _Exit(0);
17029
17030 ;
17031 return 0;
17032 }
17033 _ACEOF
17034 if ac_fn_cxx_try_link "$LINENO"; then :
17035 glibcxx_cv_c99_stdlib=yes
17036 else
17037 glibcxx_cv_c99_stdlib=no
17038 fi
17039 rm -f core conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17041 fi
17042
17043 fi
17044
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17046 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17047
17048 # Check for the existence in <wchar.h> of wcstold, etc.
17049 glibcxx_cv_c99_wchar=no;
17050 if test x"$ac_has_wchar_h" = xyes &&
17051 test x"$ac_has_wctype_h" = xyes; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17053 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test
17058 {
17059 using ::wcstold;
17060 using ::wcstoll;
17061 using ::wcstoull;
17062 }
17063
17064 int
17065 main ()
17066 {
17067
17068 ;
17069 return 0;
17070 }
17071 _ACEOF
17072 if ac_fn_cxx_try_compile "$LINENO"; then :
17073 glibcxx_cv_c99_wchar=yes
17074 else
17075 glibcxx_cv_c99_wchar=no
17076 fi
17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17078
17079 # Checks for wide character functions that may not be present.
17080 # Injection of these is wrapped with guard macros.
17081 # NB: only put functions here, instead of immediately above, if
17082 # absolutely necessary.
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 namespace test { using ::vfwscanf; }
17087 int
17088 main ()
17089 {
17090
17091 ;
17092 return 0;
17093 }
17094 _ACEOF
17095 if ac_fn_cxx_try_compile "$LINENO"; then :
17096
17097 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17098
17099 fi
17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17101
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 #include <wchar.h>
17105 namespace test { using ::vswscanf; }
17106 int
17107 main ()
17108 {
17109
17110 ;
17111 return 0;
17112 }
17113 _ACEOF
17114 if ac_fn_cxx_try_compile "$LINENO"; then :
17115
17116 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17117
17118 fi
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17120
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 #include <wchar.h>
17124 namespace test { using ::vwscanf; }
17125 int
17126 main ()
17127 {
17128
17129 ;
17130 return 0;
17131 }
17132 _ACEOF
17133 if ac_fn_cxx_try_compile "$LINENO"; then :
17134
17135 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17136
17137 fi
17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17139
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 #include <wchar.h>
17143 namespace test { using ::wcstof; }
17144 int
17145 main ()
17146 {
17147
17148 ;
17149 return 0;
17150 }
17151 _ACEOF
17152 if ac_fn_cxx_try_compile "$LINENO"; then :
17153
17154 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17155
17156 fi
17157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17158
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 #include <wctype.h>
17162 int
17163 main ()
17164 {
17165 wint_t t; int i = iswblank(t);
17166 ;
17167 return 0;
17168 }
17169 _ACEOF
17170 if ac_fn_cxx_try_compile "$LINENO"; then :
17171
17172 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17173
17174 fi
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17176
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17178 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17179 fi
17180
17181 # Option parsed, now set things appropriately.
17182 if test x"$glibcxx_cv_c99_math" = x"no" ||
17183 test x"$glibcxx_cv_c99_complex" = x"no" ||
17184 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17185 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17186 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17187 enable_c99=no;
17188 else
17189
17190 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17191
17192 fi
17193
17194 gcc_no_link="$ac_save_gcc_no_link"
17195 LIBS="$ac_save_LIBS"
17196 CXXFLAGS="$ac_save_CXXFLAGS"
17197 ac_ext=c
17198 ac_cpp='$CPP $CPPFLAGS'
17199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17202
17203 fi
17204
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17206 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17208 $as_echo "$enable_c99" >&6; }
17209
17210
17211 # Check whether --enable-concept-checks was given.
17212 if test "${enable_concept_checks+set}" = set; then :
17213 enableval=$enable_concept_checks;
17214 case "$enableval" in
17215 yes|no) ;;
17216 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17217 esac
17218
17219 else
17220 enable_concept_checks=no
17221 fi
17222
17223
17224 if test $enable_concept_checks = yes; then
17225
17226 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17227
17228 fi
17229
17230
17231 # Check whether --enable-libstdcxx-debug-flags was given.
17232 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17233 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17234 xno | x) enable_libstdcxx_debug_flags= ;;
17235 x-*) ;;
17236 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17237 esac
17238 else
17239 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17240 fi
17241
17242
17243
17244 # Option parsed, now set things appropriately
17245 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17246
17247
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17249 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17250
17251
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17253 $as_echo_n "checking for additional debug build... " >&6; }
17254 # Check whether --enable-libstdcxx-debug was given.
17255 if test "${enable_libstdcxx_debug+set}" = set; then :
17256 enableval=$enable_libstdcxx_debug;
17257 case "$enableval" in
17258 yes|no) ;;
17259 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17260 esac
17261
17262 else
17263 enable_libstdcxx_debug=no
17264 fi
17265
17266
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17268 $as_echo "$enable_libstdcxx_debug" >&6; }
17269
17270
17271
17272
17273 enable_parallel=no;
17274
17275 # See if configured libgomp/omp.h exists. (libgomp may be in
17276 # noconfigdirs but not explicitly disabled.)
17277 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17278 enable_parallel=yes;
17279 else
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17281 $as_echo "$as_me: target-libgomp not built" >&6;}
17282 fi
17283
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17285 $as_echo_n "checking for parallel mode support... " >&6; }
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17287 $as_echo "$enable_parallel" >&6; }
17288
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17290 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17291 # Check whether --enable-cxx-flags was given.
17292 if test "${enable_cxx_flags+set}" = set; then :
17293 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17294 xno | x) enable_cxx_flags= ;;
17295 x-*) ;;
17296 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17297 esac
17298 else
17299 enable_cxx_flags=
17300 fi
17301
17302
17303
17304 # Run through flags (either default or command-line) and set anything
17305 # extra (e.g., #defines) that must accompany particular g++ options.
17306 if test -n "$enable_cxx_flags"; then
17307 for f in $enable_cxx_flags; do
17308 case "$f" in
17309 -fhonor-std) ;;
17310 -*) ;;
17311 *) # and we're trying to pass /what/ exactly?
17312 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17313 esac
17314 done
17315 fi
17316
17317 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17319 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17320
17321
17322
17323 # Check whether --enable-fully-dynamic-string was given.
17324 if test "${enable_fully_dynamic_string+set}" = set; then :
17325 enableval=$enable_fully_dynamic_string;
17326 case "$enableval" in
17327 yes|no) ;;
17328 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17329 esac
17330
17331 else
17332 enable_fully_dynamic_string=no
17333 fi
17334
17335
17336 if test $enable_fully_dynamic_string = yes; then
17337 enable_fully_dynamic_string_def=1
17338 else
17339 enable_fully_dynamic_string_def=0
17340 fi
17341
17342 cat >>confdefs.h <<_ACEOF
17343 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17344 _ACEOF
17345
17346
17347
17348
17349 # Check whether --enable-extern-template was given.
17350 if test "${enable_extern_template+set}" = set; then :
17351 enableval=$enable_extern_template;
17352 case "$enableval" in
17353 yes|no) ;;
17354 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17355 esac
17356
17357 else
17358 enable_extern_template=yes
17359 fi
17360
17361
17362
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17364 $as_echo_n "checking for extern template support... " >&6; }
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17366 $as_echo "$enable_extern_template" >&6; }
17367
17368
17369
17370
17371
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17373 $as_echo_n "checking for custom python install directory... " >&6; }
17374
17375 # Check whether --with-python-dir was given.
17376 if test "${with_python_dir+set}" = set; then :
17377 withval=$with_python_dir; with_python_dir=$withval
17378 else
17379 with_python_dir="no"
17380 fi
17381
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17383 $as_echo "${with_python_dir}" >&6; }
17384
17385 # Needed for installing Python modules during make install.
17386 python_mod_dir="${with_python_dir}"
17387
17388
17389
17390
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17392 $as_echo_n "checking for -Werror... " >&6; }
17393 # Check whether --enable-werror was given.
17394 if test "${enable_werror+set}" = set; then :
17395 enableval=$enable_werror;
17396 case "$enableval" in
17397 yes|no) ;;
17398 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17399 esac
17400
17401 else
17402 enable_werror=yes
17403 fi
17404
17405
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17407 $as_echo "$enable_werror" >&6; }
17408
17409
17410
17411
17412 # Check whether --enable-vtable-verify was given.
17413 if test "${enable_vtable_verify+set}" = set; then :
17414 enableval=$enable_vtable_verify;
17415 case "$enableval" in
17416 yes|no) ;;
17417 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17418 esac
17419
17420 else
17421 enable_vtable_verify=no
17422 fi
17423
17424
17425
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17427 $as_echo_n "checking for vtable verify support... " >&6; }
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17429 $as_echo "$enable_vtable_verify" >&6; }
17430
17431 vtv_cygmin=no
17432 if test $enable_vtable_verify = yes; then
17433 case ${target_os} in
17434 cygwin*|mingw32*)
17435 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17436 vtv_cygmin=yes
17437 ;;
17438 *)
17439 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17440 ;;
17441 esac
17442 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17443 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17444 else
17445 VTV_CXXFLAGS=
17446 VTV_PCH_CXXFLAGS=
17447 VTV_CXXLINKFLAGS=
17448 fi
17449
17450
17451
17452
17453 if test x$vtv_cygmin = xyes; then
17454 VTV_CYGMIN_TRUE=
17455 VTV_CYGMIN_FALSE='#'
17456 else
17457 VTV_CYGMIN_TRUE='#'
17458 VTV_CYGMIN_FALSE=
17459 fi
17460
17461
17462
17463
17464 # Checks for operating systems support that doesn't require linking.
17465
17466
17467
17468 ac_ext=cpp
17469 ac_cpp='$CXXCPP $CPPFLAGS'
17470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17473
17474
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17476 $as_echo_n "checking for gets declaration... " >&6; }
17477 if test "${glibcxx_cv_gets+set}" = set; then :
17478 $as_echo_n "(cached) " >&6
17479 else
17480
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17483 #include <stdio.h>
17484 namespace test
17485 {
17486 using ::gets;
17487 }
17488
17489 _ACEOF
17490 if ac_fn_cxx_try_compile "$LINENO"; then :
17491 glibcxx_cv_gets=yes
17492 else
17493 glibcxx_cv_gets=no
17494
17495 fi
17496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17497 fi
17498
17499
17500 if test $glibcxx_cv_gets = yes; then
17501
17502 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17503
17504 fi
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17506 $as_echo "$glibcxx_cv_gets" >&6; }
17507
17508 ac_ext=c
17509 ac_cpp='$CPP $CPPFLAGS'
17510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17513
17514
17515
17516
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17518 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17519 if test "${glibcxx_cv_system_error1+set}" = set; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17522
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17525 #include <errno.h>
17526 int
17527 main ()
17528 {
17529 int i = EOWNERDEAD;
17530 ;
17531 return 0;
17532 }
17533 _ACEOF
17534 if ac_fn_c_try_compile "$LINENO"; then :
17535 glibcxx_cv_system_error1=yes
17536 else
17537 glibcxx_cv_system_error1=no
17538 fi
17539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17540
17541 fi
17542
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17544 $as_echo "$glibcxx_cv_system_error1" >&6; }
17545 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17546
17547 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17548
17549 fi
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17551 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17552 if test "${glibcxx_cv_system_error2+set}" = set; then :
17553 $as_echo_n "(cached) " >&6
17554 else
17555
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17558 #include <errno.h>
17559 int
17560 main ()
17561 {
17562 int i = ENOTRECOVERABLE;
17563 ;
17564 return 0;
17565 }
17566 _ACEOF
17567 if ac_fn_c_try_compile "$LINENO"; then :
17568 glibcxx_cv_system_error2=yes
17569 else
17570 glibcxx_cv_system_error2=no
17571 fi
17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17573
17574 fi
17575
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17577 $as_echo "$glibcxx_cv_system_error2" >&6; }
17578 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17579
17580 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17581
17582 fi
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17584 $as_echo_n "checking for ENOLINK... " >&6; }
17585 if test "${glibcxx_cv_system_error3+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17588
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #include <errno.h>
17592 int
17593 main ()
17594 {
17595 int i = ENOLINK;
17596 ;
17597 return 0;
17598 }
17599 _ACEOF
17600 if ac_fn_c_try_compile "$LINENO"; then :
17601 glibcxx_cv_system_error3=yes
17602 else
17603 glibcxx_cv_system_error3=no
17604 fi
17605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17606
17607 fi
17608
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17610 $as_echo "$glibcxx_cv_system_error3" >&6; }
17611 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17612
17613 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17614
17615 fi
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17617 $as_echo_n "checking for EPROTO... " >&6; }
17618 if test "${glibcxx_cv_system_error4+set}" = set; then :
17619 $as_echo_n "(cached) " >&6
17620 else
17621
17622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17624 #include <errno.h>
17625 int
17626 main ()
17627 {
17628 int i = EPROTO;
17629 ;
17630 return 0;
17631 }
17632 _ACEOF
17633 if ac_fn_c_try_compile "$LINENO"; then :
17634 glibcxx_cv_system_error4=yes
17635 else
17636 glibcxx_cv_system_error4=no
17637 fi
17638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17639
17640 fi
17641
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17643 $as_echo "$glibcxx_cv_system_error4" >&6; }
17644 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17645
17646 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17647
17648 fi
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17650 $as_echo_n "checking for ENODATA... " >&6; }
17651 if test "${glibcxx_cv_system_error5+set}" = set; then :
17652 $as_echo_n "(cached) " >&6
17653 else
17654
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17657 #include <errno.h>
17658 int
17659 main ()
17660 {
17661 int i = ENODATA;
17662 ;
17663 return 0;
17664 }
17665 _ACEOF
17666 if ac_fn_c_try_compile "$LINENO"; then :
17667 glibcxx_cv_system_error5=yes
17668 else
17669 glibcxx_cv_system_error5=no
17670 fi
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17672
17673 fi
17674
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17676 $as_echo "$glibcxx_cv_system_error5" >&6; }
17677 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17678
17679 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17680
17681 fi
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17683 $as_echo_n "checking for ENOSR... " >&6; }
17684 if test "${glibcxx_cv_system_error6+set}" = set; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17687
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 #include <errno.h>
17691 int
17692 main ()
17693 {
17694 int i = ENOSR;
17695 ;
17696 return 0;
17697 }
17698 _ACEOF
17699 if ac_fn_c_try_compile "$LINENO"; then :
17700 glibcxx_cv_system_error6=yes
17701 else
17702 glibcxx_cv_system_error6=no
17703 fi
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17705
17706 fi
17707
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17709 $as_echo "$glibcxx_cv_system_error6" >&6; }
17710 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17711
17712 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17713
17714 fi
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17716 $as_echo_n "checking for ENOSTR... " >&6; }
17717 if test "${glibcxx_cv_system_error7+set}" = set; then :
17718 $as_echo_n "(cached) " >&6
17719 else
17720
17721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17723 #include <errno.h>
17724 int
17725 main ()
17726 {
17727 int i = ENOSTR;
17728 ;
17729 return 0;
17730 }
17731 _ACEOF
17732 if ac_fn_c_try_compile "$LINENO"; then :
17733 glibcxx_cv_system_error7=yes
17734 else
17735 glibcxx_cv_system_error7=no
17736 fi
17737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17738
17739 fi
17740
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17742 $as_echo "$glibcxx_cv_system_error7" >&6; }
17743 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17744
17745 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17746
17747 fi
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17749 $as_echo_n "checking for ETIME... " >&6; }
17750 if test "${glibcxx_cv_system_error8+set}" = set; then :
17751 $as_echo_n "(cached) " >&6
17752 else
17753
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17756 #include <errno.h>
17757 int
17758 main ()
17759 {
17760 int i = ETIME;
17761 ;
17762 return 0;
17763 }
17764 _ACEOF
17765 if ac_fn_c_try_compile "$LINENO"; then :
17766 glibcxx_cv_system_error8=yes
17767 else
17768 glibcxx_cv_system_error8=no
17769 fi
17770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17771
17772 fi
17773
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17775 $as_echo "$glibcxx_cv_system_error8" >&6; }
17776 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17777
17778 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17779
17780 fi
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17782 $as_echo_n "checking for EBADMSG... " >&6; }
17783 if test "${glibcxx_cv_system_error9+set}" = set; then :
17784 $as_echo_n "(cached) " >&6
17785 else
17786
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <errno.h>
17790 int
17791 main ()
17792 {
17793 int i = EBADMSG;
17794 ;
17795 return 0;
17796 }
17797 _ACEOF
17798 if ac_fn_c_try_compile "$LINENO"; then :
17799 glibcxx_cv_system_error9=yes
17800 else
17801 glibcxx_cv_system_error9=no
17802 fi
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17804
17805 fi
17806
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17808 $as_echo "$glibcxx_cv_system_error9" >&6; }
17809 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17810
17811 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17812
17813 fi
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17815 $as_echo_n "checking for ECANCELED... " >&6; }
17816 if test "${glibcxx_cv_system_error10+set}" = set; then :
17817 $as_echo_n "(cached) " >&6
17818 else
17819
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 #include <errno.h>
17823 int
17824 main ()
17825 {
17826 int i = ECANCELED;
17827 ;
17828 return 0;
17829 }
17830 _ACEOF
17831 if ac_fn_c_try_compile "$LINENO"; then :
17832 glibcxx_cv_system_error10=yes
17833 else
17834 glibcxx_cv_system_error10=no
17835 fi
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17837
17838 fi
17839
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17841 $as_echo "$glibcxx_cv_system_error10" >&6; }
17842 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17843
17844 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17845
17846 fi
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17848 $as_echo_n "checking for EOVERFLOW... " >&6; }
17849 if test "${glibcxx_cv_system_error11+set}" = set; then :
17850 $as_echo_n "(cached) " >&6
17851 else
17852
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 #include <errno.h>
17856 int
17857 main ()
17858 {
17859 int i = EOVERFLOW;
17860 ;
17861 return 0;
17862 }
17863 _ACEOF
17864 if ac_fn_c_try_compile "$LINENO"; then :
17865 glibcxx_cv_system_error11=yes
17866 else
17867 glibcxx_cv_system_error11=no
17868 fi
17869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17870
17871 fi
17872
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17874 $as_echo "$glibcxx_cv_system_error11" >&6; }
17875 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17876
17877 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17878
17879 fi
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17881 $as_echo_n "checking for ENOTSUP... " >&6; }
17882 if test "${glibcxx_cv_system_error12+set}" = set; then :
17883 $as_echo_n "(cached) " >&6
17884 else
17885
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17888 #include <errno.h>
17889 int
17890 main ()
17891 {
17892 int i = ENOTSUP;
17893 ;
17894 return 0;
17895 }
17896 _ACEOF
17897 if ac_fn_c_try_compile "$LINENO"; then :
17898 glibcxx_cv_system_error12=yes
17899 else
17900 glibcxx_cv_system_error12=no
17901 fi
17902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17903
17904 fi
17905
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17907 $as_echo "$glibcxx_cv_system_error12" >&6; }
17908 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17909
17910 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17911
17912 fi
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17914 $as_echo_n "checking for EIDRM... " >&6; }
17915 if test "${glibcxx_cv_system_error13+set}" = set; then :
17916 $as_echo_n "(cached) " >&6
17917 else
17918
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17921 #include <errno.h>
17922 int
17923 main ()
17924 {
17925 int i = EIDRM;
17926 ;
17927 return 0;
17928 }
17929 _ACEOF
17930 if ac_fn_c_try_compile "$LINENO"; then :
17931 glibcxx_cv_system_error13=yes
17932 else
17933 glibcxx_cv_system_error13=no
17934 fi
17935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17936
17937 fi
17938
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17940 $as_echo "$glibcxx_cv_system_error13" >&6; }
17941 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17942
17943 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17944
17945 fi
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17947 $as_echo_n "checking for ETXTBSY... " >&6; }
17948 if test "${glibcxx_cv_system_error14+set}" = set; then :
17949 $as_echo_n "(cached) " >&6
17950 else
17951
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17954 #include <errno.h>
17955 int
17956 main ()
17957 {
17958 int i = ETXTBSY;
17959 ;
17960 return 0;
17961 }
17962 _ACEOF
17963 if ac_fn_c_try_compile "$LINENO"; then :
17964 glibcxx_cv_system_error14=yes
17965 else
17966 glibcxx_cv_system_error14=no
17967 fi
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17969
17970 fi
17971
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17973 $as_echo "$glibcxx_cv_system_error14" >&6; }
17974 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17975
17976 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17977
17978 fi
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17980 $as_echo_n "checking for ECHILD... " >&6; }
17981 if test "${glibcxx_cv_system_error15+set}" = set; then :
17982 $as_echo_n "(cached) " >&6
17983 else
17984
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17987 #include <errno.h>
17988 int
17989 main ()
17990 {
17991 int i = ECHILD;
17992 ;
17993 return 0;
17994 }
17995 _ACEOF
17996 if ac_fn_c_try_compile "$LINENO"; then :
17997 glibcxx_cv_system_error15=yes
17998 else
17999 glibcxx_cv_system_error15=no
18000 fi
18001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18002
18003 fi
18004
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18006 $as_echo "$glibcxx_cv_system_error15" >&6; }
18007 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18008
18009 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18010
18011 fi
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18013 $as_echo_n "checking for ENOSPC... " >&6; }
18014 if test "${glibcxx_cv_system_error16+set}" = set; then :
18015 $as_echo_n "(cached) " >&6
18016 else
18017
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18020 #include <errno.h>
18021 int
18022 main ()
18023 {
18024 int i = ENOSPC;
18025 ;
18026 return 0;
18027 }
18028 _ACEOF
18029 if ac_fn_c_try_compile "$LINENO"; then :
18030 glibcxx_cv_system_error16=yes
18031 else
18032 glibcxx_cv_system_error16=no
18033 fi
18034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18035
18036 fi
18037
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18039 $as_echo "$glibcxx_cv_system_error16" >&6; }
18040 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18041
18042 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18043
18044 fi
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18046 $as_echo_n "checking for EPERM... " >&6; }
18047 if test "${glibcxx_cv_system_error17+set}" = set; then :
18048 $as_echo_n "(cached) " >&6
18049 else
18050
18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18052 /* end confdefs.h. */
18053 #include <errno.h>
18054 int
18055 main ()
18056 {
18057 int i = EPERM;
18058 ;
18059 return 0;
18060 }
18061 _ACEOF
18062 if ac_fn_c_try_compile "$LINENO"; then :
18063 glibcxx_cv_system_error17=yes
18064 else
18065 glibcxx_cv_system_error17=no
18066 fi
18067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18068
18069 fi
18070
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18072 $as_echo "$glibcxx_cv_system_error17" >&6; }
18073 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18074
18075 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18076
18077 fi
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18079 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18080 if test "${glibcxx_cv_system_error18+set}" = set; then :
18081 $as_echo_n "(cached) " >&6
18082 else
18083
18084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18085 /* end confdefs.h. */
18086 #include <errno.h>
18087 int
18088 main ()
18089 {
18090 int i = ETIMEDOUT;
18091 ;
18092 return 0;
18093 }
18094 _ACEOF
18095 if ac_fn_c_try_compile "$LINENO"; then :
18096 glibcxx_cv_system_error18=yes
18097 else
18098 glibcxx_cv_system_error18=no
18099 fi
18100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18101
18102 fi
18103
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18105 $as_echo "$glibcxx_cv_system_error18" >&6; }
18106 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18107
18108 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18109
18110 fi
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18112 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18113 if test "${glibcxx_cv_system_error19+set}" = set; then :
18114 $as_echo_n "(cached) " >&6
18115 else
18116
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18119 #include <errno.h>
18120 int
18121 main ()
18122 {
18123 int i = EWOULDBLOCK;
18124 ;
18125 return 0;
18126 }
18127 _ACEOF
18128 if ac_fn_c_try_compile "$LINENO"; then :
18129 glibcxx_cv_system_error19=yes
18130 else
18131 glibcxx_cv_system_error19=no
18132 fi
18133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18134
18135 fi
18136
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18138 $as_echo "$glibcxx_cv_system_error19" >&6; }
18139 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18140
18141 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18142
18143 fi
18144
18145
18146
18147 # For the streamoff typedef.
18148
18149
18150
18151 ac_ext=cpp
18152 ac_cpp='$CXXCPP $CPPFLAGS'
18153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18156
18157
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18159 $as_echo_n "checking for int64_t... " >&6; }
18160 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18161 $as_echo_n "(cached) " >&6
18162 else
18163
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18166 #include <stdint.h>
18167 int
18168 main ()
18169 {
18170 int64_t var;
18171 ;
18172 return 0;
18173 }
18174 _ACEOF
18175 if ac_fn_cxx_try_compile "$LINENO"; then :
18176 glibcxx_cv_INT64_T=yes
18177 else
18178 glibcxx_cv_INT64_T=no
18179 fi
18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18181
18182 fi
18183
18184
18185 if test $glibcxx_cv_INT64_T = yes; then
18186
18187 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18188
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18190 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18191
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18193 $as_echo_n "checking for int64_t as long... " >&6; }
18194 if test "${glibcxx_cv_int64_t_long+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 <stdint.h>
18201 template<typename, typename> struct same { enum { value = -1 }; };
18202 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18203 int array[same<int64_t, long>::value];
18204 int
18205 main ()
18206 {
18207
18208 ;
18209 return 0;
18210 }
18211 _ACEOF
18212 if ac_fn_cxx_try_compile "$LINENO"; then :
18213 glibcxx_cv_int64_t_long=yes
18214 else
18215 glibcxx_cv_int64_t_long=no
18216 fi
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18218
18219 fi
18220
18221
18222 if test $glibcxx_cv_int64_t_long = yes; then
18223
18224 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18225
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18227 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18228 fi
18229
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18231 $as_echo_n "checking for int64_t as long long... " >&6; }
18232 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18233 $as_echo_n "(cached) " >&6
18234 else
18235
18236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18237 /* end confdefs.h. */
18238 #include <stdint.h>
18239 template<typename, typename> struct same { enum { value = -1 }; };
18240 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18241 int array[same<int64_t, long long>::value];
18242 int
18243 main ()
18244 {
18245
18246 ;
18247 return 0;
18248 }
18249 _ACEOF
18250 if ac_fn_cxx_try_compile "$LINENO"; then :
18251 glibcxx_cv_int64_t_long_long=yes
18252 else
18253 glibcxx_cv_int64_t_long_long=no
18254 fi
18255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18256
18257 fi
18258
18259
18260 if test $glibcxx_cv_int64_t_long_long = yes; then
18261
18262 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18263
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18265 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18266 fi
18267 fi
18268
18269 ac_ext=c
18270 ac_cpp='$CPP $CPPFLAGS'
18271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18274
18275
18276
18277 # For LFS support.
18278
18279
18280 ac_ext=cpp
18281 ac_cpp='$CXXCPP $CPPFLAGS'
18282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18285
18286 ac_save_CXXFLAGS="$CXXFLAGS"
18287 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18289 $as_echo_n "checking for LFS support... " >&6; }
18290 if test "${glibcxx_cv_LFS+set}" = set; then :
18291 $as_echo_n "(cached) " >&6
18292 else
18293
18294 if test x$gcc_no_link = xyes; then
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #include <unistd.h>
18298 #include <stdio.h>
18299 #include <sys/stat.h>
18300
18301 int
18302 main ()
18303 {
18304 FILE* fp;
18305 fopen64("t", "w");
18306 fseeko64(fp, 0, SEEK_CUR);
18307 ftello64(fp);
18308 lseek64(1, 0, SEEK_CUR);
18309 struct stat64 buf;
18310 fstat64(1, &buf);
18311 ;
18312 return 0;
18313 }
18314 _ACEOF
18315 if ac_fn_cxx_try_compile "$LINENO"; then :
18316 glibcxx_cv_LFS=yes
18317 else
18318 glibcxx_cv_LFS=no
18319 fi
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321 else
18322 if test x$gcc_no_link = xyes; then
18323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18324 fi
18325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18327 #include <unistd.h>
18328 #include <stdio.h>
18329 #include <sys/stat.h>
18330
18331 int
18332 main ()
18333 {
18334 FILE* fp;
18335 fopen64("t", "w");
18336 fseeko64(fp, 0, SEEK_CUR);
18337 ftello64(fp);
18338 lseek64(1, 0, SEEK_CUR);
18339 struct stat64 buf;
18340 fstat64(1, &buf);
18341 ;
18342 return 0;
18343 }
18344 _ACEOF
18345 if ac_fn_cxx_try_link "$LINENO"; then :
18346 glibcxx_cv_LFS=yes
18347 else
18348 glibcxx_cv_LFS=no
18349 fi
18350 rm -f core conftest.err conftest.$ac_objext \
18351 conftest$ac_exeext conftest.$ac_ext
18352 fi
18353
18354 fi
18355
18356 if test $glibcxx_cv_LFS = yes; then
18357
18358 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18359
18360 fi
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18362 $as_echo "$glibcxx_cv_LFS" >&6; }
18363 CXXFLAGS="$ac_save_CXXFLAGS"
18364 ac_ext=c
18365 ac_cpp='$CPP $CPPFLAGS'
18366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18369
18370
18371
18372 # For showmanyc_helper().
18373 for ac_header in sys/ioctl.h sys/filio.h
18374 do :
18375 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18376 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18377 eval as_val=\$$as_ac_Header
18378 if test "x$as_val" = x""yes; then :
18379 cat >>confdefs.h <<_ACEOF
18380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18381 _ACEOF
18382
18383 fi
18384
18385 done
18386
18387
18388
18389
18390 ac_ext=cpp
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18395
18396 ac_save_CXXFLAGS="$CXXFLAGS"
18397 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18398
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18400 $as_echo_n "checking for poll... " >&6; }
18401 if test "${glibcxx_cv_POLL+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18404
18405 if test x$gcc_no_link = xyes; then
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <poll.h>
18409 int
18410 main ()
18411 {
18412 struct pollfd pfd[1];
18413 pfd[0].events = POLLIN;
18414 poll(pfd, 1, 0);
18415 ;
18416 return 0;
18417 }
18418 _ACEOF
18419 if ac_fn_cxx_try_compile "$LINENO"; then :
18420 glibcxx_cv_POLL=yes
18421 else
18422 glibcxx_cv_POLL=no
18423 fi
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 else
18426 if test x$gcc_no_link = xyes; then
18427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18428 fi
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #include <poll.h>
18432 int
18433 main ()
18434 {
18435 struct pollfd pfd[1];
18436 pfd[0].events = POLLIN;
18437 poll(pfd, 1, 0);
18438 ;
18439 return 0;
18440 }
18441 _ACEOF
18442 if ac_fn_cxx_try_link "$LINENO"; then :
18443 glibcxx_cv_POLL=yes
18444 else
18445 glibcxx_cv_POLL=no
18446 fi
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18449 fi
18450
18451 fi
18452
18453 if test $glibcxx_cv_POLL = yes; then
18454
18455 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18456
18457 fi
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18459 $as_echo "$glibcxx_cv_POLL" >&6; }
18460
18461 CXXFLAGS="$ac_save_CXXFLAGS"
18462 ac_ext=c
18463 ac_cpp='$CPP $CPPFLAGS'
18464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18467
18468
18469
18470
18471
18472 ac_ext=cpp
18473 ac_cpp='$CXXCPP $CPPFLAGS'
18474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18477
18478 ac_save_CXXFLAGS="$CXXFLAGS"
18479 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18480
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18482 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18483 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18484 $as_echo_n "(cached) " >&6
18485 else
18486
18487 if test x$gcc_no_link = xyes; then
18488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18489 /* end confdefs.h. */
18490 #include <sys/stat.h>
18491 int
18492 main ()
18493 {
18494 struct stat buffer;
18495 fstat(0, &buffer);
18496 S_ISREG(buffer.st_mode);
18497 ;
18498 return 0;
18499 }
18500 _ACEOF
18501 if ac_fn_cxx_try_compile "$LINENO"; then :
18502 glibcxx_cv_S_ISREG=yes
18503 else
18504 glibcxx_cv_S_ISREG=no
18505 fi
18506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18507 else
18508 if test x$gcc_no_link = xyes; then
18509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18510 fi
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18513 #include <sys/stat.h>
18514 int
18515 main ()
18516 {
18517 struct stat buffer;
18518 fstat(0, &buffer);
18519 S_ISREG(buffer.st_mode);
18520 ;
18521 return 0;
18522 }
18523 _ACEOF
18524 if ac_fn_cxx_try_link "$LINENO"; then :
18525 glibcxx_cv_S_ISREG=yes
18526 else
18527 glibcxx_cv_S_ISREG=no
18528 fi
18529 rm -f core conftest.err conftest.$ac_objext \
18530 conftest$ac_exeext conftest.$ac_ext
18531 fi
18532
18533 fi
18534
18535 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18536 $as_echo_n "(cached) " >&6
18537 else
18538
18539 if test x$gcc_no_link = xyes; then
18540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18542 #include <sys/stat.h>
18543 int
18544 main ()
18545 {
18546 struct stat buffer;
18547 fstat(0, &buffer);
18548 S_IFREG & buffer.st_mode;
18549 ;
18550 return 0;
18551 }
18552 _ACEOF
18553 if ac_fn_cxx_try_compile "$LINENO"; then :
18554 glibcxx_cv_S_IFREG=yes
18555 else
18556 glibcxx_cv_S_IFREG=no
18557 fi
18558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18559 else
18560 if test x$gcc_no_link = xyes; then
18561 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18562 fi
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 #include <sys/stat.h>
18566 int
18567 main ()
18568 {
18569 struct stat buffer;
18570 fstat(0, &buffer);
18571 S_IFREG & buffer.st_mode;
18572 ;
18573 return 0;
18574 }
18575 _ACEOF
18576 if ac_fn_cxx_try_link "$LINENO"; then :
18577 glibcxx_cv_S_IFREG=yes
18578 else
18579 glibcxx_cv_S_IFREG=no
18580 fi
18581 rm -f core conftest.err conftest.$ac_objext \
18582 conftest$ac_exeext conftest.$ac_ext
18583 fi
18584
18585 fi
18586
18587 res=no
18588 if test $glibcxx_cv_S_ISREG = yes; then
18589
18590 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18591
18592 res=S_ISREG
18593 elif test $glibcxx_cv_S_IFREG = yes; then
18594
18595 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18596
18597 res=S_IFREG
18598 fi
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18600 $as_echo "$res" >&6; }
18601
18602 CXXFLAGS="$ac_save_CXXFLAGS"
18603 ac_ext=c
18604 ac_cpp='$CPP $CPPFLAGS'
18605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18608
18609
18610
18611 # For xsputn_2().
18612 for ac_header in sys/uio.h
18613 do :
18614 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18615 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18616 cat >>confdefs.h <<_ACEOF
18617 #define HAVE_SYS_UIO_H 1
18618 _ACEOF
18619
18620 fi
18621
18622 done
18623
18624
18625
18626
18627 ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18632
18633 ac_save_CXXFLAGS="$CXXFLAGS"
18634 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18635
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18637 $as_echo_n "checking for writev... " >&6; }
18638 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18639 $as_echo_n "(cached) " >&6
18640 else
18641
18642 if test x$gcc_no_link = xyes; then
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18645 #include <sys/uio.h>
18646 int
18647 main ()
18648 {
18649 struct iovec iov[2];
18650 writev(0, iov, 0);
18651 ;
18652 return 0;
18653 }
18654 _ACEOF
18655 if ac_fn_cxx_try_compile "$LINENO"; then :
18656 glibcxx_cv_WRITEV=yes
18657 else
18658 glibcxx_cv_WRITEV=no
18659 fi
18660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18661 else
18662 if test x$gcc_no_link = xyes; then
18663 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18664 fi
18665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h. */
18667 #include <sys/uio.h>
18668 int
18669 main ()
18670 {
18671 struct iovec iov[2];
18672 writev(0, iov, 0);
18673 ;
18674 return 0;
18675 }
18676 _ACEOF
18677 if ac_fn_cxx_try_link "$LINENO"; then :
18678 glibcxx_cv_WRITEV=yes
18679 else
18680 glibcxx_cv_WRITEV=no
18681 fi
18682 rm -f core conftest.err conftest.$ac_objext \
18683 conftest$ac_exeext conftest.$ac_ext
18684 fi
18685
18686 fi
18687
18688 if test $glibcxx_cv_WRITEV = yes; then
18689
18690 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18691
18692 fi
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18694 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18695
18696 CXXFLAGS="$ac_save_CXXFLAGS"
18697 ac_ext=c
18698 ac_cpp='$CPP $CPPFLAGS'
18699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18702
18703
18704
18705 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18706 # so that the check is done with the C compiler (not C++).
18707 # Checking with C++ can break a canadian cross build if either
18708 # file does not exist in C but does in C++.
18709 for ac_header in fenv.h complex.h
18710 do :
18711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18712 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18713 eval as_val=\$$as_ac_Header
18714 if test "x$as_val" = x""yes; then :
18715 cat >>confdefs.h <<_ACEOF
18716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18717 _ACEOF
18718
18719 fi
18720
18721 done
18722
18723
18724 # For C99 support to TR1.
18725
18726
18727
18728 ac_ext=cpp
18729 ac_cpp='$CXXCPP $CPPFLAGS'
18730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18733
18734
18735 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18736 # undefined and fake C99 facilities may be spuriously enabled.
18737 ac_save_CXXFLAGS="$CXXFLAGS"
18738 CXXFLAGS="$CXXFLAGS -std=c++98"
18739
18740 # Check for the existence of <complex.h> complex math functions used
18741 # by tr1/complex.
18742 for ac_header in complex.h
18743 do :
18744 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18745 if test "x$ac_cv_header_complex_h" = x""yes; then :
18746 cat >>confdefs.h <<_ACEOF
18747 #define HAVE_COMPLEX_H 1
18748 _ACEOF
18749 ac_has_complex_h=yes
18750 else
18751 ac_has_complex_h=no
18752 fi
18753
18754 done
18755
18756 ac_c99_complex_tr1=no;
18757 if test x"$ac_has_complex_h" = x"yes"; then
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18759 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h. */
18762 #include <complex.h>
18763 int
18764 main ()
18765 {
18766 typedef __complex__ float float_type; float_type tmpf;
18767 cacosf(tmpf);
18768 casinf(tmpf);
18769 catanf(tmpf);
18770 cacoshf(tmpf);
18771 casinhf(tmpf);
18772 catanhf(tmpf);
18773 typedef __complex__ double double_type; double_type tmpd;
18774 cacos(tmpd);
18775 casin(tmpd);
18776 catan(tmpd);
18777 cacosh(tmpd);
18778 casinh(tmpd);
18779 catanh(tmpd);
18780 typedef __complex__ long double ld_type; ld_type tmpld;
18781 cacosl(tmpld);
18782 casinl(tmpld);
18783 catanl(tmpld);
18784 cacoshl(tmpld);
18785 casinhl(tmpld);
18786 catanhl(tmpld);
18787
18788 ;
18789 return 0;
18790 }
18791 _ACEOF
18792 if ac_fn_cxx_try_compile "$LINENO"; then :
18793 ac_c99_complex_tr1=yes
18794 else
18795 ac_c99_complex_tr1=no
18796 fi
18797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18798 fi
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18800 $as_echo "$ac_c99_complex_tr1" >&6; }
18801 if test x"$ac_c99_complex_tr1" = x"yes"; then
18802
18803 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18804
18805 fi
18806
18807 # Check for the existence of <ctype.h> functions.
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18809 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18810 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18811 $as_echo_n "(cached) " >&6
18812 else
18813
18814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18815 /* end confdefs.h. */
18816 #include <ctype.h>
18817 int
18818 main ()
18819 {
18820 int ch;
18821 int ret;
18822 ret = isblank(ch);
18823
18824 ;
18825 return 0;
18826 }
18827 _ACEOF
18828 if ac_fn_cxx_try_compile "$LINENO"; then :
18829 glibcxx_cv_c99_ctype_tr1=yes
18830 else
18831 glibcxx_cv_c99_ctype_tr1=no
18832 fi
18833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18834
18835 fi
18836
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18838 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18839 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18840
18841 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18842
18843 fi
18844
18845 # Check for the existence of <fenv.h> functions.
18846 for ac_header in fenv.h
18847 do :
18848 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18849 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18850 cat >>confdefs.h <<_ACEOF
18851 #define HAVE_FENV_H 1
18852 _ACEOF
18853 ac_has_fenv_h=yes
18854 else
18855 ac_has_fenv_h=no
18856 fi
18857
18858 done
18859
18860 ac_c99_fenv_tr1=no;
18861 if test x"$ac_has_fenv_h" = x"yes"; then
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18863 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866 #include <fenv.h>
18867 int
18868 main ()
18869 {
18870 int except, mode;
18871 fexcept_t* pflag;
18872 fenv_t* penv;
18873 int ret;
18874 ret = feclearexcept(except);
18875 ret = fegetexceptflag(pflag, except);
18876 ret = feraiseexcept(except);
18877 ret = fesetexceptflag(pflag, except);
18878 ret = fetestexcept(except);
18879 ret = fegetround();
18880 ret = fesetround(mode);
18881 ret = fegetenv(penv);
18882 ret = feholdexcept(penv);
18883 ret = fesetenv(penv);
18884 ret = feupdateenv(penv);
18885
18886 ;
18887 return 0;
18888 }
18889 _ACEOF
18890 if ac_fn_cxx_try_compile "$LINENO"; then :
18891 ac_c99_fenv_tr1=yes
18892 else
18893 ac_c99_fenv_tr1=no
18894 fi
18895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18896 fi
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18898 $as_echo "$ac_c99_fenv_tr1" >&6; }
18899 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18900
18901 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18902
18903 fi
18904
18905 # Check for the existence of <stdint.h> types.
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18907 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18908 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18909 $as_echo_n "(cached) " >&6
18910 else
18911
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18914 #define __STDC_LIMIT_MACROS
18915 #define __STDC_CONSTANT_MACROS
18916 #include <stdint.h>
18917 int
18918 main ()
18919 {
18920 typedef int8_t my_int8_t;
18921 my_int8_t i8 = INT8_MIN;
18922 i8 = INT8_MAX;
18923 typedef int16_t my_int16_t;
18924 my_int16_t i16 = INT16_MIN;
18925 i16 = INT16_MAX;
18926 typedef int32_t my_int32_t;
18927 my_int32_t i32 = INT32_MIN;
18928 i32 = INT32_MAX;
18929 typedef int64_t my_int64_t;
18930 my_int64_t i64 = INT64_MIN;
18931 i64 = INT64_MAX;
18932 typedef int_fast8_t my_int_fast8_t;
18933 my_int_fast8_t if8 = INT_FAST8_MIN;
18934 if8 = INT_FAST8_MAX;
18935 typedef int_fast16_t my_int_fast16_t;
18936 my_int_fast16_t if16 = INT_FAST16_MIN;
18937 if16 = INT_FAST16_MAX;
18938 typedef int_fast32_t my_int_fast32_t;
18939 my_int_fast32_t if32 = INT_FAST32_MIN;
18940 if32 = INT_FAST32_MAX;
18941 typedef int_fast64_t my_int_fast64_t;
18942 my_int_fast64_t if64 = INT_FAST64_MIN;
18943 if64 = INT_FAST64_MAX;
18944 typedef int_least8_t my_int_least8_t;
18945 my_int_least8_t il8 = INT_LEAST8_MIN;
18946 il8 = INT_LEAST8_MAX;
18947 typedef int_least16_t my_int_least16_t;
18948 my_int_least16_t il16 = INT_LEAST16_MIN;
18949 il16 = INT_LEAST16_MAX;
18950 typedef int_least32_t my_int_least32_t;
18951 my_int_least32_t il32 = INT_LEAST32_MIN;
18952 il32 = INT_LEAST32_MAX;
18953 typedef int_least64_t my_int_least64_t;
18954 my_int_least64_t il64 = INT_LEAST64_MIN;
18955 il64 = INT_LEAST64_MAX;
18956 typedef intmax_t my_intmax_t;
18957 my_intmax_t im = INTMAX_MAX;
18958 im = INTMAX_MIN;
18959 typedef intptr_t my_intptr_t;
18960 my_intptr_t ip = INTPTR_MAX;
18961 ip = INTPTR_MIN;
18962 typedef uint8_t my_uint8_t;
18963 my_uint8_t ui8 = UINT8_MAX;
18964 ui8 = UINT8_MAX;
18965 typedef uint16_t my_uint16_t;
18966 my_uint16_t ui16 = UINT16_MAX;
18967 ui16 = UINT16_MAX;
18968 typedef uint32_t my_uint32_t;
18969 my_uint32_t ui32 = UINT32_MAX;
18970 ui32 = UINT32_MAX;
18971 typedef uint64_t my_uint64_t;
18972 my_uint64_t ui64 = UINT64_MAX;
18973 ui64 = UINT64_MAX;
18974 typedef uint_fast8_t my_uint_fast8_t;
18975 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18976 uif8 = UINT_FAST8_MAX;
18977 typedef uint_fast16_t my_uint_fast16_t;
18978 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18979 uif16 = UINT_FAST16_MAX;
18980 typedef uint_fast32_t my_uint_fast32_t;
18981 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18982 uif32 = UINT_FAST32_MAX;
18983 typedef uint_fast64_t my_uint_fast64_t;
18984 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18985 uif64 = UINT_FAST64_MAX;
18986 typedef uint_least8_t my_uint_least8_t;
18987 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18988 uil8 = UINT_LEAST8_MAX;
18989 typedef uint_least16_t my_uint_least16_t;
18990 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18991 uil16 = UINT_LEAST16_MAX;
18992 typedef uint_least32_t my_uint_least32_t;
18993 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18994 uil32 = UINT_LEAST32_MAX;
18995 typedef uint_least64_t my_uint_least64_t;
18996 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18997 uil64 = UINT_LEAST64_MAX;
18998 typedef uintmax_t my_uintmax_t;
18999 my_uintmax_t uim = UINTMAX_MAX;
19000 uim = UINTMAX_MAX;
19001 typedef uintptr_t my_uintptr_t;
19002 my_uintptr_t uip = UINTPTR_MAX;
19003 uip = UINTPTR_MAX;
19004
19005 ;
19006 return 0;
19007 }
19008 _ACEOF
19009 if ac_fn_cxx_try_compile "$LINENO"; then :
19010 glibcxx_cv_c99_stdint_tr1=yes
19011 else
19012 glibcxx_cv_c99_stdint_tr1=no
19013 fi
19014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19015
19016 fi
19017
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19019 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19020 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19021
19022 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19023
19024 fi
19025
19026 # Check for the existence of <math.h> functions.
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19028 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19029 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19030 $as_echo_n "(cached) " >&6
19031 else
19032
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 #include <math.h>
19036 int
19037 main ()
19038 {
19039 typedef double_t my_double_t;
19040 typedef float_t my_float_t;
19041 acosh(0.0);
19042 acoshf(0.0f);
19043 acoshl(0.0l);
19044 asinh(0.0);
19045 asinhf(0.0f);
19046 asinhl(0.0l);
19047 atanh(0.0);
19048 atanhf(0.0f);
19049 atanhl(0.0l);
19050 cbrt(0.0);
19051 cbrtf(0.0f);
19052 cbrtl(0.0l);
19053 copysign(0.0, 0.0);
19054 copysignf(0.0f, 0.0f);
19055 copysignl(0.0l, 0.0l);
19056 erf(0.0);
19057 erff(0.0f);
19058 erfl(0.0l);
19059 erfc(0.0);
19060 erfcf(0.0f);
19061 erfcl(0.0l);
19062 exp2(0.0);
19063 exp2f(0.0f);
19064 exp2l(0.0l);
19065 expm1(0.0);
19066 expm1f(0.0f);
19067 expm1l(0.0l);
19068 fdim(0.0, 0.0);
19069 fdimf(0.0f, 0.0f);
19070 fdiml(0.0l, 0.0l);
19071 fma(0.0, 0.0, 0.0);
19072 fmaf(0.0f, 0.0f, 0.0f);
19073 fmal(0.0l, 0.0l, 0.0l);
19074 fmax(0.0, 0.0);
19075 fmaxf(0.0f, 0.0f);
19076 fmaxl(0.0l, 0.0l);
19077 fmin(0.0, 0.0);
19078 fminf(0.0f, 0.0f);
19079 fminl(0.0l, 0.0l);
19080 hypot(0.0, 0.0);
19081 hypotf(0.0f, 0.0f);
19082 hypotl(0.0l, 0.0l);
19083 ilogb(0.0);
19084 ilogbf(0.0f);
19085 ilogbl(0.0l);
19086 lgamma(0.0);
19087 lgammaf(0.0f);
19088 lgammal(0.0l);
19089 llrint(0.0);
19090 llrintf(0.0f);
19091 llrintl(0.0l);
19092 llround(0.0);
19093 llroundf(0.0f);
19094 llroundl(0.0l);
19095 log1p(0.0);
19096 log1pf(0.0f);
19097 log1pl(0.0l);
19098 log2(0.0);
19099 log2f(0.0f);
19100 log2l(0.0l);
19101 logb(0.0);
19102 logbf(0.0f);
19103 logbl(0.0l);
19104 lrint(0.0);
19105 lrintf(0.0f);
19106 lrintl(0.0l);
19107 lround(0.0);
19108 lroundf(0.0f);
19109 lroundl(0.0l);
19110 nan(0);
19111 nanf(0);
19112 nanl(0);
19113 nearbyint(0.0);
19114 nearbyintf(0.0f);
19115 nearbyintl(0.0l);
19116 nextafter(0.0, 0.0);
19117 nextafterf(0.0f, 0.0f);
19118 nextafterl(0.0l, 0.0l);
19119 nexttoward(0.0, 0.0);
19120 nexttowardf(0.0f, 0.0f);
19121 nexttowardl(0.0l, 0.0l);
19122 remainder(0.0, 0.0);
19123 remainderf(0.0f, 0.0f);
19124 remainderl(0.0l, 0.0l);
19125 remquo(0.0, 0.0, 0);
19126 remquof(0.0f, 0.0f, 0);
19127 remquol(0.0l, 0.0l, 0);
19128 rint(0.0);
19129 rintf(0.0f);
19130 rintl(0.0l);
19131 round(0.0);
19132 roundf(0.0f);
19133 roundl(0.0l);
19134 scalbln(0.0, 0l);
19135 scalblnf(0.0f, 0l);
19136 scalblnl(0.0l, 0l);
19137 scalbn(0.0, 0);
19138 scalbnf(0.0f, 0);
19139 scalbnl(0.0l, 0);
19140 tgamma(0.0);
19141 tgammaf(0.0f);
19142 tgammal(0.0l);
19143 trunc(0.0);
19144 truncf(0.0f);
19145 truncl(0.0l);
19146
19147 ;
19148 return 0;
19149 }
19150 _ACEOF
19151 if ac_fn_cxx_try_compile "$LINENO"; then :
19152 glibcxx_cv_c99_math_tr1=yes
19153 else
19154 glibcxx_cv_c99_math_tr1=no
19155 fi
19156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19157
19158 fi
19159
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19161 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19162 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19163
19164 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19165
19166 fi
19167
19168 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19169 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19170 ac_c99_inttypes_tr1=no;
19171 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19173 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19175 /* end confdefs.h. */
19176 #include <inttypes.h>
19177 int
19178 main ()
19179 {
19180 intmax_t i, numer, denom, base;
19181 const char* s;
19182 char** endptr;
19183 intmax_t ret = imaxabs(i);
19184 imaxdiv_t dret = imaxdiv(numer, denom);
19185 ret = strtoimax(s, endptr, base);
19186 uintmax_t uret = strtoumax(s, endptr, base);
19187
19188 ;
19189 return 0;
19190 }
19191 _ACEOF
19192 if ac_fn_cxx_try_compile "$LINENO"; then :
19193 ac_c99_inttypes_tr1=yes
19194 else
19195 ac_c99_inttypes_tr1=no
19196 fi
19197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19198 fi
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19200 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19201 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19202
19203 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19204
19205 fi
19206
19207 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19208 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19209 ac_c99_inttypes_wchar_t_tr1=no;
19210 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19212 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19214 /* end confdefs.h. */
19215 #include <inttypes.h>
19216 int
19217 main ()
19218 {
19219 intmax_t base;
19220 const wchar_t* s;
19221 wchar_t** endptr;
19222 intmax_t ret = wcstoimax(s, endptr, base);
19223 uintmax_t uret = wcstoumax(s, endptr, base);
19224
19225 ;
19226 return 0;
19227 }
19228 _ACEOF
19229 if ac_fn_cxx_try_compile "$LINENO"; then :
19230 ac_c99_inttypes_wchar_t_tr1=yes
19231 else
19232 ac_c99_inttypes_wchar_t_tr1=no
19233 fi
19234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19235 fi
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19237 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19238 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19239
19240 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19241
19242 fi
19243
19244 # Check for the existence of the <stdbool.h> header.
19245 for ac_header in stdbool.h
19246 do :
19247 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19248 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19249 cat >>confdefs.h <<_ACEOF
19250 #define HAVE_STDBOOL_H 1
19251 _ACEOF
19252
19253 fi
19254
19255 done
19256
19257
19258 # Check for the existence of the <stdalign.h> header.
19259 for ac_header in stdalign.h
19260 do :
19261 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19262 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19263 cat >>confdefs.h <<_ACEOF
19264 #define HAVE_STDALIGN_H 1
19265 _ACEOF
19266
19267 fi
19268
19269 done
19270
19271
19272 CXXFLAGS="$ac_save_CXXFLAGS"
19273 ac_ext=c
19274 ac_cpp='$CPP $CPPFLAGS'
19275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19278
19279
19280
19281 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19282
19283
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19285 $as_echo_n "checking for the value of EOF... " >&6; }
19286 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19287 $as_echo_n "(cached) " >&6
19288 else
19289
19290 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19291
19292 else
19293 as_fn_error "computing EOF failed" "$LINENO" 5
19294 fi
19295
19296
19297 fi
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19299 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19300
19301 cat >>confdefs.h <<_ACEOF
19302 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19303 _ACEOF
19304
19305
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19307 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19308 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19309 $as_echo_n "(cached) " >&6
19310 else
19311
19312 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19313
19314 else
19315 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19316 fi
19317
19318
19319 fi
19320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19321 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19322
19323 cat >>confdefs.h <<_ACEOF
19324 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19325 _ACEOF
19326
19327
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19329 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19330 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19331 $as_echo_n "(cached) " >&6
19332 else
19333
19334 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19335
19336 else
19337 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19338 fi
19339
19340
19341 fi
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19343 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19344
19345 cat >>confdefs.h <<_ACEOF
19346 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19347 _ACEOF
19348
19349
19350
19351 # For gettimeofday support.
19352
19353
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19355 $as_echo_n "checking for gettimeofday... " >&6; }
19356
19357
19358 ac_ext=cpp
19359 ac_cpp='$CXXCPP $CPPFLAGS'
19360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19363
19364 ac_save_CXXFLAGS="$CXXFLAGS"
19365 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19366
19367 ac_has_gettimeofday=no;
19368 for ac_header in sys/time.h
19369 do :
19370 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19371 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19372 cat >>confdefs.h <<_ACEOF
19373 #define HAVE_SYS_TIME_H 1
19374 _ACEOF
19375 ac_has_sys_time_h=yes
19376 else
19377 ac_has_sys_time_h=no
19378 fi
19379
19380 done
19381
19382 if test x"$ac_has_sys_time_h" = x"yes"; then
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19384 $as_echo_n "checking for gettimeofday... " >&6; }
19385 if test x$gcc_no_link = xyes; then
19386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19387 /* end confdefs.h. */
19388 #include <sys/time.h>
19389 int
19390 main ()
19391 {
19392 timeval tv; gettimeofday(&tv, 0);
19393 ;
19394 return 0;
19395 }
19396 _ACEOF
19397 if ac_fn_cxx_try_compile "$LINENO"; then :
19398 ac_has_gettimeofday=yes
19399 else
19400 ac_has_gettimeofday=no
19401 fi
19402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19403 else
19404 if test x$gcc_no_link = xyes; then
19405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19406 fi
19407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19408 /* end confdefs.h. */
19409 #include <sys/time.h>
19410 int
19411 main ()
19412 {
19413 timeval tv; gettimeofday(&tv, 0);
19414 ;
19415 return 0;
19416 }
19417 _ACEOF
19418 if ac_fn_cxx_try_link "$LINENO"; then :
19419 ac_has_gettimeofday=yes
19420 else
19421 ac_has_gettimeofday=no
19422 fi
19423 rm -f core conftest.err conftest.$ac_objext \
19424 conftest$ac_exeext conftest.$ac_ext
19425 fi
19426
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19428 $as_echo "$ac_has_gettimeofday" >&6; }
19429 fi
19430
19431 if test x"$ac_has_gettimeofday" = x"yes"; then
19432
19433 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19434
19435 fi
19436
19437 CXXFLAGS="$ac_save_CXXFLAGS"
19438 ac_ext=c
19439 ac_cpp='$CPP $CPPFLAGS'
19440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19443
19444
19445
19446 # For clock_gettime, nanosleep and sched_yield support.
19447
19448
19449 # Check whether --enable-libstdcxx-time was given.
19450 if test "${enable_libstdcxx_time+set}" = set; then :
19451 enableval=$enable_libstdcxx_time;
19452 case "$enableval" in
19453 yes|no|rt) ;;
19454 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19455 esac
19456
19457 else
19458 enable_libstdcxx_time=auto
19459 fi
19460
19461
19462
19463
19464 ac_ext=cpp
19465 ac_cpp='$CXXCPP $CPPFLAGS'
19466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19469
19470 ac_save_CXXFLAGS="$CXXFLAGS"
19471 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19472 ac_save_LIBS="$LIBS"
19473
19474 ac_has_clock_monotonic=no
19475 ac_has_clock_realtime=no
19476 ac_has_nanosleep=no
19477 ac_has_sched_yield=no
19478
19479 if test x"$enable_libstdcxx_time" = x"auto"; then
19480
19481 case "${target_os}" in
19482 cygwin*)
19483 ac_has_nanosleep=yes
19484 ;;
19485 darwin*)
19486 ac_has_nanosleep=yes
19487 ac_has_sched_yield=yes
19488 ;;
19489 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19491 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #include <features.h>
19495 int
19496 main ()
19497 {
19498
19499 #if ! __GLIBC_PREREQ(2, 17)
19500 #error
19501 #endif
19502
19503 ;
19504 return 0;
19505 }
19506 _ACEOF
19507 if ac_fn_cxx_try_compile "$LINENO"; then :
19508 glibcxx_glibc217=yes
19509 else
19510 glibcxx_glibc217=no
19511 fi
19512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19514 $as_echo "$glibcxx_glibc217" >&6; }
19515
19516 if test x"$glibcxx_glibc217" = x"yes"; then
19517 ac_has_clock_monotonic=yes
19518 ac_has_clock_realtime=yes
19519 fi
19520 ac_has_nanosleep=yes
19521 ac_has_sched_yield=yes
19522 ;;
19523 freebsd*|netbsd*|dragonfly*)
19524 ac_has_clock_monotonic=yes
19525 ac_has_clock_realtime=yes
19526 ac_has_nanosleep=yes
19527 ac_has_sched_yield=yes
19528 ;;
19529 openbsd*)
19530 ac_has_clock_monotonic=yes
19531 ac_has_clock_realtime=yes
19532 ac_has_nanosleep=yes
19533 ;;
19534 solaris*)
19535 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19536 ac_has_clock_monotonic=yes
19537 ac_has_clock_realtime=yes
19538 ac_has_nanosleep=yes
19539 ac_has_sched_yield=yes
19540 ;;
19541 esac
19542
19543 elif test x"$enable_libstdcxx_time" != x"no"; then
19544
19545 if test x"$enable_libstdcxx_time" = x"rt"; then
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19547 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19548 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19549 $as_echo_n "(cached) " >&6
19550 else
19551 ac_func_search_save_LIBS=$LIBS
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554
19555 /* Override any GCC internal prototype to avoid an error.
19556 Use char because int might match the return type of a GCC
19557 builtin and then its argument prototype would still apply. */
19558 #ifdef __cplusplus
19559 extern "C"
19560 #endif
19561 char clock_gettime ();
19562 int
19563 main ()
19564 {
19565 return clock_gettime ();
19566 ;
19567 return 0;
19568 }
19569 _ACEOF
19570 for ac_lib in '' rt posix4; do
19571 if test -z "$ac_lib"; then
19572 ac_res="none required"
19573 else
19574 ac_res=-l$ac_lib
19575 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19576 fi
19577 if test x$gcc_no_link = xyes; then
19578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19579 fi
19580 if ac_fn_cxx_try_link "$LINENO"; then :
19581 ac_cv_search_clock_gettime=$ac_res
19582 fi
19583 rm -f core conftest.err conftest.$ac_objext \
19584 conftest$ac_exeext
19585 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19586 break
19587 fi
19588 done
19589 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19590
19591 else
19592 ac_cv_search_clock_gettime=no
19593 fi
19594 rm conftest.$ac_ext
19595 LIBS=$ac_func_search_save_LIBS
19596 fi
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19598 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19599 ac_res=$ac_cv_search_clock_gettime
19600 if test "$ac_res" != no; then :
19601 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19602
19603 fi
19604
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19606 $as_echo_n "checking for library containing nanosleep... " >&6; }
19607 if test "${ac_cv_search_nanosleep+set}" = set; then :
19608 $as_echo_n "(cached) " >&6
19609 else
19610 ac_func_search_save_LIBS=$LIBS
19611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19612 /* end confdefs.h. */
19613
19614 /* Override any GCC internal prototype to avoid an error.
19615 Use char because int might match the return type of a GCC
19616 builtin and then its argument prototype would still apply. */
19617 #ifdef __cplusplus
19618 extern "C"
19619 #endif
19620 char nanosleep ();
19621 int
19622 main ()
19623 {
19624 return nanosleep ();
19625 ;
19626 return 0;
19627 }
19628 _ACEOF
19629 for ac_lib in '' rt posix4; do
19630 if test -z "$ac_lib"; then
19631 ac_res="none required"
19632 else
19633 ac_res=-l$ac_lib
19634 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19635 fi
19636 if test x$gcc_no_link = xyes; then
19637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19638 fi
19639 if ac_fn_cxx_try_link "$LINENO"; then :
19640 ac_cv_search_nanosleep=$ac_res
19641 fi
19642 rm -f core conftest.err conftest.$ac_objext \
19643 conftest$ac_exeext
19644 if test "${ac_cv_search_nanosleep+set}" = set; then :
19645 break
19646 fi
19647 done
19648 if test "${ac_cv_search_nanosleep+set}" = set; then :
19649
19650 else
19651 ac_cv_search_nanosleep=no
19652 fi
19653 rm conftest.$ac_ext
19654 LIBS=$ac_func_search_save_LIBS
19655 fi
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19657 $as_echo "$ac_cv_search_nanosleep" >&6; }
19658 ac_res=$ac_cv_search_nanosleep
19659 if test "$ac_res" != no; then :
19660 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19661
19662 fi
19663
19664 else
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19666 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19667 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19668 $as_echo_n "(cached) " >&6
19669 else
19670 ac_func_search_save_LIBS=$LIBS
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19673
19674 /* Override any GCC internal prototype to avoid an error.
19675 Use char because int might match the return type of a GCC
19676 builtin and then its argument prototype would still apply. */
19677 #ifdef __cplusplus
19678 extern "C"
19679 #endif
19680 char clock_gettime ();
19681 int
19682 main ()
19683 {
19684 return clock_gettime ();
19685 ;
19686 return 0;
19687 }
19688 _ACEOF
19689 for ac_lib in '' posix4; do
19690 if test -z "$ac_lib"; then
19691 ac_res="none required"
19692 else
19693 ac_res=-l$ac_lib
19694 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19695 fi
19696 if test x$gcc_no_link = xyes; then
19697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19698 fi
19699 if ac_fn_cxx_try_link "$LINENO"; then :
19700 ac_cv_search_clock_gettime=$ac_res
19701 fi
19702 rm -f core conftest.err conftest.$ac_objext \
19703 conftest$ac_exeext
19704 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19705 break
19706 fi
19707 done
19708 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19709
19710 else
19711 ac_cv_search_clock_gettime=no
19712 fi
19713 rm conftest.$ac_ext
19714 LIBS=$ac_func_search_save_LIBS
19715 fi
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19717 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19718 ac_res=$ac_cv_search_clock_gettime
19719 if test "$ac_res" != no; then :
19720 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19721
19722 fi
19723
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19725 $as_echo_n "checking for library containing nanosleep... " >&6; }
19726 if test "${ac_cv_search_nanosleep+set}" = set; then :
19727 $as_echo_n "(cached) " >&6
19728 else
19729 ac_func_search_save_LIBS=$LIBS
19730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19731 /* end confdefs.h. */
19732
19733 /* Override any GCC internal prototype to avoid an error.
19734 Use char because int might match the return type of a GCC
19735 builtin and then its argument prototype would still apply. */
19736 #ifdef __cplusplus
19737 extern "C"
19738 #endif
19739 char nanosleep ();
19740 int
19741 main ()
19742 {
19743 return nanosleep ();
19744 ;
19745 return 0;
19746 }
19747 _ACEOF
19748 for ac_lib in '' posix4; do
19749 if test -z "$ac_lib"; then
19750 ac_res="none required"
19751 else
19752 ac_res=-l$ac_lib
19753 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19754 fi
19755 if test x$gcc_no_link = xyes; then
19756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19757 fi
19758 if ac_fn_cxx_try_link "$LINENO"; then :
19759 ac_cv_search_nanosleep=$ac_res
19760 fi
19761 rm -f core conftest.err conftest.$ac_objext \
19762 conftest$ac_exeext
19763 if test "${ac_cv_search_nanosleep+set}" = set; then :
19764 break
19765 fi
19766 done
19767 if test "${ac_cv_search_nanosleep+set}" = set; then :
19768
19769 else
19770 ac_cv_search_nanosleep=no
19771 fi
19772 rm conftest.$ac_ext
19773 LIBS=$ac_func_search_save_LIBS
19774 fi
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19776 $as_echo "$ac_cv_search_nanosleep" >&6; }
19777 ac_res=$ac_cv_search_nanosleep
19778 if test "$ac_res" != no; then :
19779 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19780
19781 fi
19782
19783 fi
19784
19785 case "$ac_cv_search_clock_gettime" in
19786 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19787 ;;
19788 esac
19789 case "$ac_cv_search_nanosleep" in
19790 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19791 ;;
19792 esac
19793
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19795 $as_echo_n "checking for library containing sched_yield... " >&6; }
19796 if test "${ac_cv_search_sched_yield+set}" = set; then :
19797 $as_echo_n "(cached) " >&6
19798 else
19799 ac_func_search_save_LIBS=$LIBS
19800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19801 /* end confdefs.h. */
19802
19803 /* Override any GCC internal prototype to avoid an error.
19804 Use char because int might match the return type of a GCC
19805 builtin and then its argument prototype would still apply. */
19806 #ifdef __cplusplus
19807 extern "C"
19808 #endif
19809 char sched_yield ();
19810 int
19811 main ()
19812 {
19813 return sched_yield ();
19814 ;
19815 return 0;
19816 }
19817 _ACEOF
19818 for ac_lib in '' rt posix4; do
19819 if test -z "$ac_lib"; then
19820 ac_res="none required"
19821 else
19822 ac_res=-l$ac_lib
19823 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19824 fi
19825 if test x$gcc_no_link = xyes; then
19826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19827 fi
19828 if ac_fn_cxx_try_link "$LINENO"; then :
19829 ac_cv_search_sched_yield=$ac_res
19830 fi
19831 rm -f core conftest.err conftest.$ac_objext \
19832 conftest$ac_exeext
19833 if test "${ac_cv_search_sched_yield+set}" = set; then :
19834 break
19835 fi
19836 done
19837 if test "${ac_cv_search_sched_yield+set}" = set; then :
19838
19839 else
19840 ac_cv_search_sched_yield=no
19841 fi
19842 rm conftest.$ac_ext
19843 LIBS=$ac_func_search_save_LIBS
19844 fi
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19846 $as_echo "$ac_cv_search_sched_yield" >&6; }
19847 ac_res=$ac_cv_search_sched_yield
19848 if test "$ac_res" != no; then :
19849 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19850
19851 fi
19852
19853
19854 case "$ac_cv_search_sched_yield" in
19855 -lposix4*)
19856 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19857 ac_has_sched_yield=yes
19858 ;;
19859 -lrt*)
19860 if test x"$enable_libstdcxx_time" = x"rt"; then
19861 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19862 ac_has_sched_yield=yes
19863 fi
19864 ;;
19865 *)
19866 ac_has_sched_yield=yes
19867 ;;
19868 esac
19869
19870 for ac_header in unistd.h
19871 do :
19872 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19873 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19874 cat >>confdefs.h <<_ACEOF
19875 #define HAVE_UNISTD_H 1
19876 _ACEOF
19877 ac_has_unistd_h=yes
19878 else
19879 ac_has_unistd_h=no
19880 fi
19881
19882 done
19883
19884
19885 if test x"$ac_has_unistd_h" = x"yes"; then
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19887 $as_echo_n "checking for monotonic clock... " >&6; }
19888 if test x$gcc_no_link = xyes; then
19889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19890 fi
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #include <unistd.h>
19894 #include <time.h>
19895
19896 int
19897 main ()
19898 {
19899 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19900 timespec tp;
19901 #endif
19902 clock_gettime(CLOCK_MONOTONIC, &tp);
19903
19904 ;
19905 return 0;
19906 }
19907 _ACEOF
19908 if ac_fn_cxx_try_link "$LINENO"; then :
19909 ac_has_clock_monotonic=yes
19910 else
19911 ac_has_clock_monotonic=no
19912 fi
19913 rm -f core conftest.err conftest.$ac_objext \
19914 conftest$ac_exeext conftest.$ac_ext
19915
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19917 $as_echo "$ac_has_clock_monotonic" >&6; }
19918
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19920 $as_echo_n "checking for realtime clock... " >&6; }
19921 if test x$gcc_no_link = xyes; then
19922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19923 fi
19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19926 #include <unistd.h>
19927 #include <time.h>
19928
19929 int
19930 main ()
19931 {
19932 #if _POSIX_TIMERS > 0
19933 timespec tp;
19934 #endif
19935 clock_gettime(CLOCK_REALTIME, &tp);
19936
19937 ;
19938 return 0;
19939 }
19940 _ACEOF
19941 if ac_fn_cxx_try_link "$LINENO"; then :
19942 ac_has_clock_realtime=yes
19943 else
19944 ac_has_clock_realtime=no
19945 fi
19946 rm -f core conftest.err conftest.$ac_objext \
19947 conftest$ac_exeext conftest.$ac_ext
19948
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19950 $as_echo "$ac_has_clock_realtime" >&6; }
19951
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19953 $as_echo_n "checking for nanosleep... " >&6; }
19954 if test x$gcc_no_link = xyes; then
19955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19956 fi
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19959 #include <unistd.h>
19960 #include <time.h>
19961
19962 int
19963 main ()
19964 {
19965 #if _POSIX_TIMERS > 0
19966 timespec tp;
19967 #endif
19968 nanosleep(&tp, 0);
19969
19970 ;
19971 return 0;
19972 }
19973 _ACEOF
19974 if ac_fn_cxx_try_link "$LINENO"; then :
19975 ac_has_nanosleep=yes
19976 else
19977 ac_has_nanosleep=no
19978 fi
19979 rm -f core conftest.err conftest.$ac_objext \
19980 conftest$ac_exeext conftest.$ac_ext
19981
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19983 $as_echo "$ac_has_nanosleep" >&6; }
19984 fi
19985 fi
19986
19987 if test x"$ac_has_clock_monotonic" != x"yes"; then
19988 case ${target_os} in
19989 linux*)
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19991 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19993 /* end confdefs.h. */
19994 #include <unistd.h>
19995 #include <time.h>
19996 #include <sys/syscall.h>
19997
19998 int
19999 main ()
20000 {
20001 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20002 timespec tp;
20003 #endif
20004 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20005 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20006
20007 ;
20008 return 0;
20009 }
20010 _ACEOF
20011 if ac_fn_cxx_try_compile "$LINENO"; then :
20012 ac_has_clock_monotonic_syscall=yes
20013 else
20014 ac_has_clock_monotonic_syscall=no
20015 fi
20016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20018 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20019 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20020
20021 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20022
20023 ac_has_clock_monotonic=yes
20024 ac_has_clock_realtime=yes
20025 fi;;
20026 esac
20027 fi
20028
20029 if test x"$ac_has_clock_monotonic" = x"yes"; then
20030
20031 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20032
20033 fi
20034
20035 if test x"$ac_has_clock_realtime" = x"yes"; then
20036
20037 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20038
20039 fi
20040
20041 if test x"$ac_has_sched_yield" = x"yes"; then
20042
20043 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20044
20045 fi
20046
20047 if test x"$ac_has_nanosleep" = x"yes"; then
20048
20049 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20050
20051 else
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20053 $as_echo_n "checking for sleep... " >&6; }
20054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20055 /* end confdefs.h. */
20056 #include <unistd.h>
20057 int
20058 main ()
20059 {
20060 sleep(1)
20061 ;
20062 return 0;
20063 }
20064 _ACEOF
20065 if ac_fn_cxx_try_compile "$LINENO"; then :
20066 ac_has_sleep=yes
20067 else
20068 ac_has_sleep=no
20069 fi
20070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20071 if test x"$ac_has_sleep" = x"yes"; then
20072
20073 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20074
20075 fi
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20077 $as_echo "$ac_has_sleep" >&6; }
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20079 $as_echo_n "checking for usleep... " >&6; }
20080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20081 /* end confdefs.h. */
20082 #include <unistd.h>
20083 int
20084 main ()
20085 {
20086 sleep(1);
20087 usleep(100);
20088 ;
20089 return 0;
20090 }
20091 _ACEOF
20092 if ac_fn_cxx_try_compile "$LINENO"; then :
20093 ac_has_usleep=yes
20094 else
20095 ac_has_usleep=no
20096 fi
20097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20098 if test x"$ac_has_usleep" = x"yes"; then
20099
20100 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20101
20102 fi
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20104 $as_echo "$ac_has_usleep" >&6; }
20105 fi
20106
20107 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20109 $as_echo_n "checking for Sleep... " >&6; }
20110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20111 /* end confdefs.h. */
20112 #include <windows.h>
20113 int
20114 main ()
20115 {
20116 Sleep(1)
20117 ;
20118 return 0;
20119 }
20120 _ACEOF
20121 if ac_fn_cxx_try_compile "$LINENO"; then :
20122 ac_has_win32_sleep=yes
20123 else
20124 ac_has_win32_sleep=no
20125 fi
20126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20127 if test x"$ac_has_win32_sleep" = x"yes"; then
20128
20129 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20130
20131 fi
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20133 $as_echo "$ac_has_win32_sleep" >&6; }
20134 fi
20135
20136
20137
20138 CXXFLAGS="$ac_save_CXXFLAGS"
20139 LIBS="$ac_save_LIBS"
20140 ac_ext=c
20141 ac_cpp='$CPP $CPPFLAGS'
20142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20145
20146
20147
20148 # Check for tmpnam which is obsolescent in POSIX.1-2008
20149
20150 ac_ext=cpp
20151 ac_cpp='$CXXCPP $CPPFLAGS'
20152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20155
20156 ac_save_CXXFLAGS="$CXXFLAGS"
20157 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20159 $as_echo_n "checking for tmpnam... " >&6; }
20160 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20161 $as_echo_n "(cached) " >&6
20162 else
20163 if test x$gcc_no_link = xyes; then
20164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20165 /* end confdefs.h. */
20166 #include <stdio.h>
20167 int
20168 main ()
20169 {
20170 char *tmp = tmpnam(NULL);
20171 ;
20172 return 0;
20173 }
20174 _ACEOF
20175 if ac_fn_cxx_try_compile "$LINENO"; then :
20176 glibcxx_cv_TMPNAM=yes
20177 else
20178 glibcxx_cv_TMPNAM=no
20179 fi
20180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20181 else
20182 if test x$gcc_no_link = xyes; then
20183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20184 fi
20185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20186 /* end confdefs.h. */
20187 #include <stdio.h>
20188 int
20189 main ()
20190 {
20191 char *tmp = tmpnam(NULL);
20192 ;
20193 return 0;
20194 }
20195 _ACEOF
20196 if ac_fn_cxx_try_link "$LINENO"; then :
20197 glibcxx_cv_TMPNAM=yes
20198 else
20199 glibcxx_cv_TMPNAM=no
20200 fi
20201 rm -f core conftest.err conftest.$ac_objext \
20202 conftest$ac_exeext conftest.$ac_ext
20203 fi
20204
20205 fi
20206
20207 if test $glibcxx_cv_TMPNAM = yes; then
20208
20209 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20210
20211 fi
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20213 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20214 CXXFLAGS="$ac_save_CXXFLAGS"
20215 ac_ext=c
20216 ac_cpp='$CPP $CPPFLAGS'
20217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20220
20221
20222
20223
20224 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20225 if test "x$ac_cv_header_locale_h" = x""yes; then :
20226
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20228 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20229 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20230 $as_echo_n "(cached) " >&6
20231 else
20232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20233 /* end confdefs.h. */
20234 #include <locale.h>
20235 int
20236 main ()
20237 {
20238 return LC_MESSAGES
20239 ;
20240 return 0;
20241 }
20242 _ACEOF
20243 if ac_fn_c_try_compile "$LINENO"; then :
20244 ac_cv_val_LC_MESSAGES=yes
20245 else
20246 ac_cv_val_LC_MESSAGES=no
20247 fi
20248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20249 fi
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20251 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20252 if test $ac_cv_val_LC_MESSAGES = yes; then
20253
20254 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20255
20256 fi
20257
20258 fi
20259
20260
20261
20262
20263 # For hardware_concurrency
20264 for ac_header in sys/sysinfo.h
20265 do :
20266 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20267 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20268 cat >>confdefs.h <<_ACEOF
20269 #define HAVE_SYS_SYSINFO_H 1
20270 _ACEOF
20271
20272 fi
20273
20274 done
20275
20276
20277
20278
20279 ac_ext=cpp
20280 ac_cpp='$CXXCPP $CPPFLAGS'
20281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20284
20285 ac_save_CXXFLAGS="$CXXFLAGS"
20286 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20287
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20289 $as_echo_n "checking for get_nprocs... " >&6; }
20290 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20291 $as_echo_n "(cached) " >&6
20292 else
20293
20294 if test x$gcc_no_link = xyes; then
20295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20296 /* end confdefs.h. */
20297 #include <sys/sysinfo.h>
20298 int
20299 main ()
20300 {
20301 int n = get_nprocs();
20302 ;
20303 return 0;
20304 }
20305 _ACEOF
20306 if ac_fn_cxx_try_compile "$LINENO"; then :
20307 glibcxx_cv_GET_NPROCS=yes
20308 else
20309 glibcxx_cv_GET_NPROCS=no
20310 fi
20311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20312 else
20313 if test x$gcc_no_link = xyes; then
20314 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20315 fi
20316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20317 /* end confdefs.h. */
20318 #include <sys/sysinfo.h>
20319 int
20320 main ()
20321 {
20322 int n = get_nprocs();
20323 ;
20324 return 0;
20325 }
20326 _ACEOF
20327 if ac_fn_cxx_try_link "$LINENO"; then :
20328 glibcxx_cv_GET_NPROCS=yes
20329 else
20330 glibcxx_cv_GET_NPROCS=no
20331 fi
20332 rm -f core conftest.err conftest.$ac_objext \
20333 conftest$ac_exeext conftest.$ac_ext
20334 fi
20335
20336 fi
20337
20338 if test $glibcxx_cv_GET_NPROCS = yes; then
20339
20340 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20341
20342 fi
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20344 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20345
20346 CXXFLAGS="$ac_save_CXXFLAGS"
20347 ac_ext=c
20348 ac_cpp='$CPP $CPPFLAGS'
20349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20352
20353
20354 for ac_header in unistd.h
20355 do :
20356 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20357 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20358 cat >>confdefs.h <<_ACEOF
20359 #define HAVE_UNISTD_H 1
20360 _ACEOF
20361
20362 fi
20363
20364 done
20365
20366
20367
20368
20369 ac_ext=cpp
20370 ac_cpp='$CXXCPP $CPPFLAGS'
20371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20374
20375 ac_save_CXXFLAGS="$CXXFLAGS"
20376 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20377
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20379 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20380 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20381 $as_echo_n "(cached) " >&6
20382 else
20383
20384 if test x$gcc_no_link = xyes; then
20385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20386 /* end confdefs.h. */
20387 #include <unistd.h>
20388 int
20389 main ()
20390 {
20391 int n = sysconf(_SC_NPROCESSORS_ONLN);
20392 ;
20393 return 0;
20394 }
20395 _ACEOF
20396 if ac_fn_cxx_try_compile "$LINENO"; then :
20397 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20398 else
20399 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20400 fi
20401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20402 else
20403 if test x$gcc_no_link = xyes; then
20404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20405 fi
20406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20407 /* end confdefs.h. */
20408 #include <unistd.h>
20409 int
20410 main ()
20411 {
20412 int n = sysconf(_SC_NPROCESSORS_ONLN);
20413 ;
20414 return 0;
20415 }
20416 _ACEOF
20417 if ac_fn_cxx_try_link "$LINENO"; then :
20418 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20419 else
20420 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20421 fi
20422 rm -f core conftest.err conftest.$ac_objext \
20423 conftest$ac_exeext conftest.$ac_ext
20424 fi
20425
20426 fi
20427
20428 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20429
20430 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20431
20432 fi
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20434 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20435
20436 CXXFLAGS="$ac_save_CXXFLAGS"
20437 ac_ext=c
20438 ac_cpp='$CPP $CPPFLAGS'
20439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20442
20443
20444
20445
20446
20447 ac_ext=cpp
20448 ac_cpp='$CXXCPP $CPPFLAGS'
20449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20452
20453 ac_save_CXXFLAGS="$CXXFLAGS"
20454 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20455
20456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20457 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20458 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20459 $as_echo_n "(cached) " >&6
20460 else
20461
20462 if test x$gcc_no_link = xyes; then
20463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20464 /* end confdefs.h. */
20465 #include <unistd.h>
20466 int
20467 main ()
20468 {
20469 int n = sysconf(_SC_NPROC_ONLN);
20470 ;
20471 return 0;
20472 }
20473 _ACEOF
20474 if ac_fn_cxx_try_compile "$LINENO"; then :
20475 glibcxx_cv_SC_NPROC_ONLN=yes
20476 else
20477 glibcxx_cv_SC_NPROC_ONLN=no
20478 fi
20479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20480 else
20481 if test x$gcc_no_link = xyes; then
20482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20483 fi
20484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20485 /* end confdefs.h. */
20486 #include <unistd.h>
20487 int
20488 main ()
20489 {
20490 int n = sysconf(_SC_NPROC_ONLN);
20491 ;
20492 return 0;
20493 }
20494 _ACEOF
20495 if ac_fn_cxx_try_link "$LINENO"; then :
20496 glibcxx_cv_SC_NPROC_ONLN=yes
20497 else
20498 glibcxx_cv_SC_NPROC_ONLN=no
20499 fi
20500 rm -f core conftest.err conftest.$ac_objext \
20501 conftest$ac_exeext conftest.$ac_ext
20502 fi
20503
20504 fi
20505
20506 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20507
20508 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20509
20510 fi
20511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20512 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20513
20514 CXXFLAGS="$ac_save_CXXFLAGS"
20515 ac_ext=c
20516 ac_cpp='$CPP $CPPFLAGS'
20517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20520
20521
20522
20523
20524
20525 ac_ext=cpp
20526 ac_cpp='$CXXCPP $CPPFLAGS'
20527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20530
20531 ac_save_CXXFLAGS="$CXXFLAGS"
20532 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20533
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20535 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20536 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20537 $as_echo_n "(cached) " >&6
20538 else
20539
20540 if test x$gcc_no_link = xyes; then
20541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20542 /* end confdefs.h. */
20543 #include <pthread.h>
20544 int
20545 main ()
20546 {
20547 int n = pthread_num_processors_np();
20548 ;
20549 return 0;
20550 }
20551 _ACEOF
20552 if ac_fn_cxx_try_compile "$LINENO"; then :
20553 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20554 else
20555 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20556 fi
20557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20558 else
20559 if test x$gcc_no_link = xyes; then
20560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20561 fi
20562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20563 /* end confdefs.h. */
20564 #include <pthread.h>
20565 int
20566 main ()
20567 {
20568 int n = pthread_num_processors_np();
20569 ;
20570 return 0;
20571 }
20572 _ACEOF
20573 if ac_fn_cxx_try_link "$LINENO"; then :
20574 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20575 else
20576 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20577 fi
20578 rm -f core conftest.err conftest.$ac_objext \
20579 conftest$ac_exeext conftest.$ac_ext
20580 fi
20581
20582 fi
20583
20584 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20585
20586 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20587
20588 fi
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20590 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20591
20592 CXXFLAGS="$ac_save_CXXFLAGS"
20593 ac_ext=c
20594 ac_cpp='$CPP $CPPFLAGS'
20595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20598
20599
20600
20601
20602
20603 ac_ext=cpp
20604 ac_cpp='$CXXCPP $CPPFLAGS'
20605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20608
20609 ac_save_CXXFLAGS="$CXXFLAGS"
20610 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20611
20612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20613 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20614 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20615 $as_echo_n "(cached) " >&6
20616 else
20617
20618 if test x$gcc_no_link = xyes; then
20619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20620 /* end confdefs.h. */
20621
20622 #include <stddef.h>
20623 #include <sys/sysctl.h>
20624
20625 int
20626 main ()
20627 {
20628
20629 int count;
20630 size_t size = sizeof(count);
20631 int mib[] = { CTL_HW, HW_NCPU };
20632 sysctl(mib, 2, &count, &size, NULL, 0);
20633
20634 ;
20635 return 0;
20636 }
20637 _ACEOF
20638 if ac_fn_cxx_try_compile "$LINENO"; then :
20639 glibcxx_cv_SYSCTL_HW_NCPU=yes
20640 else
20641 glibcxx_cv_SYSCTL_HW_NCPU=no
20642 fi
20643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20644 else
20645 if test x$gcc_no_link = xyes; then
20646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20647 fi
20648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20649 /* end confdefs.h. */
20650
20651 #include <stddef.h>
20652 #include <sys/sysctl.h>
20653
20654 int
20655 main ()
20656 {
20657
20658 int count;
20659 size_t size = sizeof(count);
20660 int mib[] = { CTL_HW, HW_NCPU };
20661 sysctl(mib, 2, &count, &size, NULL, 0);
20662
20663 ;
20664 return 0;
20665 }
20666 _ACEOF
20667 if ac_fn_cxx_try_link "$LINENO"; then :
20668 glibcxx_cv_SYSCTL_HW_NCPU=yes
20669 else
20670 glibcxx_cv_SYSCTL_HW_NCPU=no
20671 fi
20672 rm -f core conftest.err conftest.$ac_objext \
20673 conftest$ac_exeext conftest.$ac_ext
20674 fi
20675
20676 fi
20677
20678 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20679
20680 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20681
20682 fi
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20684 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20685
20686 CXXFLAGS="$ac_save_CXXFLAGS"
20687 ac_ext=c
20688 ac_cpp='$CPP $CPPFLAGS'
20689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20692
20693
20694
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20696 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20697 # Note that this test has to be run with the C language.
20698 # Otherwise, sdt.h will try to include some headers from
20699 # libstdc++ itself.
20700
20701 ac_ext=c
20702 ac_cpp='$CPP $CPPFLAGS'
20703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20706
20707 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20710
20711 # Because we have to run the test in C, we use grep rather
20712 # than the compiler to check for the bug. The bug is that
20713 # were strings without trailing whitespace, causing g++
20714 # to look for operator"". The pattern searches for the fixed
20715 # output.
20716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20717 /* end confdefs.h. */
20718
20719 #include <sys/sdt.h>
20720 int f() { STAP_PROBE(hi, bob); }
20721
20722 _ACEOF
20723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20724 $EGREP " \",\" " >/dev/null 2>&1; then :
20725 glibcxx_cv_sys_sdt_h=yes
20726 else
20727 glibcxx_cv_sys_sdt_h=no
20728 fi
20729 rm -f conftest*
20730
20731
20732 fi
20733
20734 ac_ext=c
20735 ac_cpp='$CPP $CPPFLAGS'
20736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20739
20740 if test $glibcxx_cv_sys_sdt_h = yes; then
20741
20742 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20743
20744 fi
20745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20746 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20747
20748
20749 # Check for available headers.
20750 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20751 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20752 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20753 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20754 wchar.h wctype.h
20755 do :
20756 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20757 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20758 eval as_val=\$$as_ac_Header
20759 if test "x$as_val" = x""yes; then :
20760 cat >>confdefs.h <<_ACEOF
20761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20762 _ACEOF
20763
20764 fi
20765
20766 done
20767
20768
20769 # Only do link tests if native. Else, hardcode.
20770 if $GLIBCXX_IS_NATIVE; then
20771
20772 # We can do more elaborate tests that assume a working linker.
20773 CANADIAN=no
20774
20775
20776
20777 # Check whether --with-gnu-ld was given.
20778 if test "${with_gnu_ld+set}" = set; then :
20779 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20780 else
20781 with_gnu_ld=no
20782 fi
20783
20784 ac_prog=ld
20785 if test "$GCC" = yes; then
20786 # Check if gcc -print-prog-name=ld gives a path.
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20788 $as_echo_n "checking for ld used by $CC... " >&6; }
20789 case $host in
20790 *-*-mingw*)
20791 # gcc leaves a trailing carriage return which upsets mingw
20792 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20793 *)
20794 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20795 esac
20796 case $ac_prog in
20797 # Accept absolute paths.
20798 [\\/]* | ?:[\\/]*)
20799 re_direlt='/[^/][^/]*/\.\./'
20800 # Canonicalize the pathname of ld
20801 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20802 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20803 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20804 done
20805 test -z "$LD" && LD="$ac_prog"
20806 ;;
20807 "")
20808 # If it fails, then pretend we aren't using GCC.
20809 ac_prog=ld
20810 ;;
20811 *)
20812 # If it is relative, then search for the first ld in PATH.
20813 with_gnu_ld=unknown
20814 ;;
20815 esac
20816 elif test "$with_gnu_ld" = yes; then
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20818 $as_echo_n "checking for GNU ld... " >&6; }
20819 else
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20821 $as_echo_n "checking for non-GNU ld... " >&6; }
20822 fi
20823 if test "${lt_cv_path_LD+set}" = set; then :
20824 $as_echo_n "(cached) " >&6
20825 else
20826 if test -z "$LD"; then
20827 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20828 for ac_dir in $PATH; do
20829 IFS="$lt_save_ifs"
20830 test -z "$ac_dir" && ac_dir=.
20831 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20832 lt_cv_path_LD="$ac_dir/$ac_prog"
20833 # Check to see if the program is GNU ld. I'd rather use --version,
20834 # but apparently some variants of GNU ld only accept -v.
20835 # Break only if it was the GNU/non-GNU ld that we prefer.
20836 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20837 *GNU* | *'with BFD'*)
20838 test "$with_gnu_ld" != no && break
20839 ;;
20840 *)
20841 test "$with_gnu_ld" != yes && break
20842 ;;
20843 esac
20844 fi
20845 done
20846 IFS="$lt_save_ifs"
20847 else
20848 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20849 fi
20850 fi
20851
20852 LD="$lt_cv_path_LD"
20853 if test -n "$LD"; then
20854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20855 $as_echo "$LD" >&6; }
20856 else
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20858 $as_echo "no" >&6; }
20859 fi
20860 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20862 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20863 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20864 $as_echo_n "(cached) " >&6
20865 else
20866 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20867 case `$LD -v 2>&1 </dev/null` in
20868 *GNU* | *'with BFD'*)
20869 lt_cv_prog_gnu_ld=yes
20870 ;;
20871 *)
20872 lt_cv_prog_gnu_ld=no
20873 ;;
20874 esac
20875 fi
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20877 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20878 with_gnu_ld=$lt_cv_prog_gnu_ld
20879
20880
20881
20882
20883
20884
20885
20886 # If we're not using GNU ld, then there's no point in even trying these
20887 # tests. Check for that first. We should have already tested for gld
20888 # by now (in libtool), but require it now just to be safe...
20889 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20890 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20891
20892
20893
20894 # The name set by libtool depends on the version of libtool. Shame on us
20895 # for depending on an impl detail, but c'est la vie. Older versions used
20896 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20897 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20898 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20899 # set (hence we're using an older libtool), then set it.
20900 if test x${with_gnu_ld+set} != xset; then
20901 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20902 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20903 with_gnu_ld=no
20904 else
20905 with_gnu_ld=$ac_cv_prog_gnu_ld
20906 fi
20907 fi
20908
20909 # Start by getting the version number. I think the libtool test already
20910 # does some of this, but throws away the result.
20911 glibcxx_ld_is_gold=no
20912 if test x"$with_gnu_ld" = x"yes"; then
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20914 $as_echo_n "checking for ld version... " >&6; }
20915
20916 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20917 glibcxx_ld_is_gold=yes
20918 fi
20919 ldver=`$LD --version 2>/dev/null |
20920 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'`
20921
20922 glibcxx_gnu_ld_version=`echo $ldver | \
20923 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20925 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20926 fi
20927
20928 # Set --gc-sections.
20929 glibcxx_have_gc_sections=no
20930 if test "$glibcxx_ld_is_gold" = "yes"; then
20931 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20932 glibcxx_have_gc_sections=yes
20933 fi
20934 else
20935 glibcxx_gcsections_min_ld=21602
20936 if test x"$with_gnu_ld" = x"yes" &&
20937 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20938 glibcxx_have_gc_sections=yes
20939 fi
20940 fi
20941 if test "$glibcxx_have_gc_sections" = "yes"; then
20942 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20943 # NB: This flag only works reliably after 2.16.1. Configure tests
20944 # for this are difficult, so hard wire a value that should work.
20945
20946 ac_test_CFLAGS="${CFLAGS+set}"
20947 ac_save_CFLAGS="$CFLAGS"
20948 CFLAGS='-Wl,--gc-sections'
20949
20950 # Check for -Wl,--gc-sections
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20952 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20953 if test x$gcc_no_link = xyes; then
20954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20955 fi
20956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20957 /* end confdefs.h. */
20958 int one(void) { return 1; }
20959 int two(void) { return 2; }
20960
20961 int
20962 main ()
20963 {
20964 two();
20965 ;
20966 return 0;
20967 }
20968 _ACEOF
20969 if ac_fn_c_try_link "$LINENO"; then :
20970 ac_gcsections=yes
20971 else
20972 ac_gcsections=no
20973 fi
20974 rm -f core conftest.err conftest.$ac_objext \
20975 conftest$ac_exeext conftest.$ac_ext
20976 if test "$ac_gcsections" = "yes"; then
20977 rm -f conftest.c
20978 touch conftest.c
20979 if $CC -c conftest.c; then
20980 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20981 grep "Warning: gc-sections option ignored" > /dev/null; then
20982 ac_gcsections=no
20983 fi
20984 fi
20985 rm -f conftest.c conftest.o conftest
20986 fi
20987 if test "$ac_gcsections" = "yes"; then
20988 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20989 fi
20990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20991 $as_echo "$ac_gcsections" >&6; }
20992
20993 if test "$ac_test_CFLAGS" = set; then
20994 CFLAGS="$ac_save_CFLAGS"
20995 else
20996 # this is the suspicious part
20997 CFLAGS=''
20998 fi
20999 fi
21000
21001 # Set -z,relro.
21002 # Note this is only for shared objects.
21003 ac_ld_relro=no
21004 if test x"$with_gnu_ld" = x"yes"; then
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21006 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21007 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21008 if test -n "$cxx_z_relo"; then
21009 OPT_LDFLAGS="-Wl,-z,relro"
21010 ac_ld_relro=yes
21011 fi
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21013 $as_echo "$ac_ld_relro" >&6; }
21014 fi
21015
21016 # Set linker optimization flags.
21017 if test x"$with_gnu_ld" = x"yes"; then
21018 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21019 fi
21020
21021
21022
21023
21024
21025 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21026 ac_save_CXXFLAGS="$CXXFLAGS"
21027 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21028
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21030 $as_echo_n "checking for sin in -lm... " >&6; }
21031 if test "${ac_cv_lib_m_sin+set}" = set; then :
21032 $as_echo_n "(cached) " >&6
21033 else
21034 ac_check_lib_save_LIBS=$LIBS
21035 LIBS="-lm $LIBS"
21036 if test x$gcc_no_link = xyes; then
21037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21038 fi
21039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21040 /* end confdefs.h. */
21041
21042 /* Override any GCC internal prototype to avoid an error.
21043 Use char because int might match the return type of a GCC
21044 builtin and then its argument prototype would still apply. */
21045 #ifdef __cplusplus
21046 extern "C"
21047 #endif
21048 char sin ();
21049 int
21050 main ()
21051 {
21052 return sin ();
21053 ;
21054 return 0;
21055 }
21056 _ACEOF
21057 if ac_fn_c_try_link "$LINENO"; then :
21058 ac_cv_lib_m_sin=yes
21059 else
21060 ac_cv_lib_m_sin=no
21061 fi
21062 rm -f core conftest.err conftest.$ac_objext \
21063 conftest$ac_exeext conftest.$ac_ext
21064 LIBS=$ac_check_lib_save_LIBS
21065 fi
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21067 $as_echo "$ac_cv_lib_m_sin" >&6; }
21068 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21069 libm="-lm"
21070 fi
21071
21072 ac_save_LIBS="$LIBS"
21073 LIBS="$LIBS $libm"
21074
21075
21076
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21078 $as_echo_n "checking for isinf declaration... " >&6; }
21079 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21080 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21081 $as_echo_n "(cached) " >&6
21082 else
21083
21084
21085 ac_ext=cpp
21086 ac_cpp='$CXXCPP $CPPFLAGS'
21087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21090
21091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21092 /* end confdefs.h. */
21093 #include <math.h>
21094 #ifdef HAVE_IEEEFP_H
21095 #include <ieeefp.h>
21096 #endif
21097
21098 int
21099 main ()
21100 {
21101 isinf(0);
21102 ;
21103 return 0;
21104 }
21105 _ACEOF
21106 if ac_fn_cxx_try_compile "$LINENO"; then :
21107 glibcxx_cv_func_isinf_use=yes
21108 else
21109 glibcxx_cv_func_isinf_use=no
21110 fi
21111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21112 ac_ext=c
21113 ac_cpp='$CPP $CPPFLAGS'
21114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21117
21118
21119 fi
21120
21121 fi
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21123 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21124
21125 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21126 for ac_func in isinf
21127 do :
21128 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21129 if test "x$ac_cv_func_isinf" = x""yes; then :
21130 cat >>confdefs.h <<_ACEOF
21131 #define HAVE_ISINF 1
21132 _ACEOF
21133
21134 fi
21135 done
21136
21137 else
21138
21139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21140 $as_echo_n "checking for _isinf declaration... " >&6; }
21141 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21142 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21143 $as_echo_n "(cached) " >&6
21144 else
21145
21146
21147 ac_ext=cpp
21148 ac_cpp='$CXXCPP $CPPFLAGS'
21149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21152
21153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21154 /* end confdefs.h. */
21155 #include <math.h>
21156 #ifdef HAVE_IEEEFP_H
21157 #include <ieeefp.h>
21158 #endif
21159
21160 int
21161 main ()
21162 {
21163 _isinf(0);
21164 ;
21165 return 0;
21166 }
21167 _ACEOF
21168 if ac_fn_cxx_try_compile "$LINENO"; then :
21169 glibcxx_cv_func__isinf_use=yes
21170 else
21171 glibcxx_cv_func__isinf_use=no
21172 fi
21173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21174 ac_ext=c
21175 ac_cpp='$CPP $CPPFLAGS'
21176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21179
21180
21181 fi
21182
21183 fi
21184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21185 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21186
21187 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21188 for ac_func in _isinf
21189 do :
21190 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21191 if test "x$ac_cv_func__isinf" = x""yes; then :
21192 cat >>confdefs.h <<_ACEOF
21193 #define HAVE__ISINF 1
21194 _ACEOF
21195
21196 fi
21197 done
21198
21199 fi
21200 fi
21201
21202
21203
21204
21205
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21207 $as_echo_n "checking for isnan declaration... " >&6; }
21208 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21209 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21210 $as_echo_n "(cached) " >&6
21211 else
21212
21213
21214 ac_ext=cpp
21215 ac_cpp='$CXXCPP $CPPFLAGS'
21216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21219
21220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21221 /* end confdefs.h. */
21222 #include <math.h>
21223 #ifdef HAVE_IEEEFP_H
21224 #include <ieeefp.h>
21225 #endif
21226
21227 int
21228 main ()
21229 {
21230 isnan(0);
21231 ;
21232 return 0;
21233 }
21234 _ACEOF
21235 if ac_fn_cxx_try_compile "$LINENO"; then :
21236 glibcxx_cv_func_isnan_use=yes
21237 else
21238 glibcxx_cv_func_isnan_use=no
21239 fi
21240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21241 ac_ext=c
21242 ac_cpp='$CPP $CPPFLAGS'
21243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21246
21247
21248 fi
21249
21250 fi
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21252 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21253
21254 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21255 for ac_func in isnan
21256 do :
21257 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21258 if test "x$ac_cv_func_isnan" = x""yes; then :
21259 cat >>confdefs.h <<_ACEOF
21260 #define HAVE_ISNAN 1
21261 _ACEOF
21262
21263 fi
21264 done
21265
21266 else
21267
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21269 $as_echo_n "checking for _isnan declaration... " >&6; }
21270 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21271 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21272 $as_echo_n "(cached) " >&6
21273 else
21274
21275
21276 ac_ext=cpp
21277 ac_cpp='$CXXCPP $CPPFLAGS'
21278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21281
21282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21283 /* end confdefs.h. */
21284 #include <math.h>
21285 #ifdef HAVE_IEEEFP_H
21286 #include <ieeefp.h>
21287 #endif
21288
21289 int
21290 main ()
21291 {
21292 _isnan(0);
21293 ;
21294 return 0;
21295 }
21296 _ACEOF
21297 if ac_fn_cxx_try_compile "$LINENO"; then :
21298 glibcxx_cv_func__isnan_use=yes
21299 else
21300 glibcxx_cv_func__isnan_use=no
21301 fi
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21303 ac_ext=c
21304 ac_cpp='$CPP $CPPFLAGS'
21305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21308
21309
21310 fi
21311
21312 fi
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21314 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21315
21316 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21317 for ac_func in _isnan
21318 do :
21319 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21320 if test "x$ac_cv_func__isnan" = x""yes; then :
21321 cat >>confdefs.h <<_ACEOF
21322 #define HAVE__ISNAN 1
21323 _ACEOF
21324
21325 fi
21326 done
21327
21328 fi
21329 fi
21330
21331
21332
21333
21334
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21336 $as_echo_n "checking for finite declaration... " >&6; }
21337 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21338 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21339 $as_echo_n "(cached) " >&6
21340 else
21341
21342
21343 ac_ext=cpp
21344 ac_cpp='$CXXCPP $CPPFLAGS'
21345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21348
21349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21350 /* end confdefs.h. */
21351 #include <math.h>
21352 #ifdef HAVE_IEEEFP_H
21353 #include <ieeefp.h>
21354 #endif
21355
21356 int
21357 main ()
21358 {
21359 finite(0);
21360 ;
21361 return 0;
21362 }
21363 _ACEOF
21364 if ac_fn_cxx_try_compile "$LINENO"; then :
21365 glibcxx_cv_func_finite_use=yes
21366 else
21367 glibcxx_cv_func_finite_use=no
21368 fi
21369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21370 ac_ext=c
21371 ac_cpp='$CPP $CPPFLAGS'
21372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21375
21376
21377 fi
21378
21379 fi
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21381 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21382
21383 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21384 for ac_func in finite
21385 do :
21386 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21387 if test "x$ac_cv_func_finite" = x""yes; then :
21388 cat >>confdefs.h <<_ACEOF
21389 #define HAVE_FINITE 1
21390 _ACEOF
21391
21392 fi
21393 done
21394
21395 else
21396
21397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21398 $as_echo_n "checking for _finite declaration... " >&6; }
21399 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21400 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21401 $as_echo_n "(cached) " >&6
21402 else
21403
21404
21405 ac_ext=cpp
21406 ac_cpp='$CXXCPP $CPPFLAGS'
21407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21410
21411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21412 /* end confdefs.h. */
21413 #include <math.h>
21414 #ifdef HAVE_IEEEFP_H
21415 #include <ieeefp.h>
21416 #endif
21417
21418 int
21419 main ()
21420 {
21421 _finite(0);
21422 ;
21423 return 0;
21424 }
21425 _ACEOF
21426 if ac_fn_cxx_try_compile "$LINENO"; then :
21427 glibcxx_cv_func__finite_use=yes
21428 else
21429 glibcxx_cv_func__finite_use=no
21430 fi
21431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21432 ac_ext=c
21433 ac_cpp='$CPP $CPPFLAGS'
21434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21437
21438
21439 fi
21440
21441 fi
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21443 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21444
21445 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21446 for ac_func in _finite
21447 do :
21448 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21449 if test "x$ac_cv_func__finite" = x""yes; then :
21450 cat >>confdefs.h <<_ACEOF
21451 #define HAVE__FINITE 1
21452 _ACEOF
21453
21454 fi
21455 done
21456
21457 fi
21458 fi
21459
21460
21461
21462
21463
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21465 $as_echo_n "checking for sincos declaration... " >&6; }
21466 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21467 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21468 $as_echo_n "(cached) " >&6
21469 else
21470
21471
21472 ac_ext=cpp
21473 ac_cpp='$CXXCPP $CPPFLAGS'
21474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21477
21478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21479 /* end confdefs.h. */
21480 #include <math.h>
21481 int
21482 main ()
21483 {
21484 sincos(0, 0, 0);
21485 ;
21486 return 0;
21487 }
21488 _ACEOF
21489 if ac_fn_cxx_try_compile "$LINENO"; then :
21490 glibcxx_cv_func_sincos_use=yes
21491 else
21492 glibcxx_cv_func_sincos_use=no
21493 fi
21494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21495 ac_ext=c
21496 ac_cpp='$CPP $CPPFLAGS'
21497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21500
21501
21502 fi
21503
21504 fi
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21506 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21507
21508 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21509 for ac_func in sincos
21510 do :
21511 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21512 if test "x$ac_cv_func_sincos" = x""yes; then :
21513 cat >>confdefs.h <<_ACEOF
21514 #define HAVE_SINCOS 1
21515 _ACEOF
21516
21517 fi
21518 done
21519
21520 else
21521
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21523 $as_echo_n "checking for _sincos declaration... " >&6; }
21524 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21525 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21526 $as_echo_n "(cached) " >&6
21527 else
21528
21529
21530 ac_ext=cpp
21531 ac_cpp='$CXXCPP $CPPFLAGS'
21532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21535
21536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21537 /* end confdefs.h. */
21538 #include <math.h>
21539 int
21540 main ()
21541 {
21542 _sincos(0, 0, 0);
21543 ;
21544 return 0;
21545 }
21546 _ACEOF
21547 if ac_fn_cxx_try_compile "$LINENO"; then :
21548 glibcxx_cv_func__sincos_use=yes
21549 else
21550 glibcxx_cv_func__sincos_use=no
21551 fi
21552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21553 ac_ext=c
21554 ac_cpp='$CPP $CPPFLAGS'
21555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21558
21559
21560 fi
21561
21562 fi
21563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21564 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21565
21566 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21567 for ac_func in _sincos
21568 do :
21569 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21570 if test "x$ac_cv_func__sincos" = x""yes; then :
21571 cat >>confdefs.h <<_ACEOF
21572 #define HAVE__SINCOS 1
21573 _ACEOF
21574
21575 fi
21576 done
21577
21578 fi
21579 fi
21580
21581
21582
21583
21584
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21586 $as_echo_n "checking for fpclass declaration... " >&6; }
21587 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21588 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21589 $as_echo_n "(cached) " >&6
21590 else
21591
21592
21593 ac_ext=cpp
21594 ac_cpp='$CXXCPP $CPPFLAGS'
21595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21598
21599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21600 /* end confdefs.h. */
21601 #include <math.h>
21602 #ifdef HAVE_IEEEFP_H
21603 #include <ieeefp.h>
21604 #endif
21605
21606 int
21607 main ()
21608 {
21609 fpclass(0);
21610 ;
21611 return 0;
21612 }
21613 _ACEOF
21614 if ac_fn_cxx_try_compile "$LINENO"; then :
21615 glibcxx_cv_func_fpclass_use=yes
21616 else
21617 glibcxx_cv_func_fpclass_use=no
21618 fi
21619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21620 ac_ext=c
21621 ac_cpp='$CPP $CPPFLAGS'
21622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21625
21626
21627 fi
21628
21629 fi
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21631 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21632
21633 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21634 for ac_func in fpclass
21635 do :
21636 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21637 if test "x$ac_cv_func_fpclass" = x""yes; then :
21638 cat >>confdefs.h <<_ACEOF
21639 #define HAVE_FPCLASS 1
21640 _ACEOF
21641
21642 fi
21643 done
21644
21645 else
21646
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21648 $as_echo_n "checking for _fpclass declaration... " >&6; }
21649 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21650 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21651 $as_echo_n "(cached) " >&6
21652 else
21653
21654
21655 ac_ext=cpp
21656 ac_cpp='$CXXCPP $CPPFLAGS'
21657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21660
21661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21662 /* end confdefs.h. */
21663 #include <math.h>
21664 #ifdef HAVE_IEEEFP_H
21665 #include <ieeefp.h>
21666 #endif
21667
21668 int
21669 main ()
21670 {
21671 _fpclass(0);
21672 ;
21673 return 0;
21674 }
21675 _ACEOF
21676 if ac_fn_cxx_try_compile "$LINENO"; then :
21677 glibcxx_cv_func__fpclass_use=yes
21678 else
21679 glibcxx_cv_func__fpclass_use=no
21680 fi
21681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21682 ac_ext=c
21683 ac_cpp='$CPP $CPPFLAGS'
21684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21687
21688
21689 fi
21690
21691 fi
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21693 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21694
21695 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21696 for ac_func in _fpclass
21697 do :
21698 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21699 if test "x$ac_cv_func__fpclass" = x""yes; then :
21700 cat >>confdefs.h <<_ACEOF
21701 #define HAVE__FPCLASS 1
21702 _ACEOF
21703
21704 fi
21705 done
21706
21707 fi
21708 fi
21709
21710
21711
21712
21713
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21715 $as_echo_n "checking for qfpclass declaration... " >&6; }
21716 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21717 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21718 $as_echo_n "(cached) " >&6
21719 else
21720
21721
21722 ac_ext=cpp
21723 ac_cpp='$CXXCPP $CPPFLAGS'
21724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21727
21728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21729 /* end confdefs.h. */
21730 #include <math.h>
21731 #ifdef HAVE_IEEEFP_H
21732 #include <ieeefp.h>
21733 #endif
21734
21735 int
21736 main ()
21737 {
21738 qfpclass(0);
21739 ;
21740 return 0;
21741 }
21742 _ACEOF
21743 if ac_fn_cxx_try_compile "$LINENO"; then :
21744 glibcxx_cv_func_qfpclass_use=yes
21745 else
21746 glibcxx_cv_func_qfpclass_use=no
21747 fi
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21749 ac_ext=c
21750 ac_cpp='$CPP $CPPFLAGS'
21751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21754
21755
21756 fi
21757
21758 fi
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21760 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21761
21762 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21763 for ac_func in qfpclass
21764 do :
21765 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21766 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21767 cat >>confdefs.h <<_ACEOF
21768 #define HAVE_QFPCLASS 1
21769 _ACEOF
21770
21771 fi
21772 done
21773
21774 else
21775
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21777 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21778 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21779 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21780 $as_echo_n "(cached) " >&6
21781 else
21782
21783
21784 ac_ext=cpp
21785 ac_cpp='$CXXCPP $CPPFLAGS'
21786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21789
21790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21791 /* end confdefs.h. */
21792 #include <math.h>
21793 #ifdef HAVE_IEEEFP_H
21794 #include <ieeefp.h>
21795 #endif
21796
21797 int
21798 main ()
21799 {
21800 _qfpclass(0);
21801 ;
21802 return 0;
21803 }
21804 _ACEOF
21805 if ac_fn_cxx_try_compile "$LINENO"; then :
21806 glibcxx_cv_func__qfpclass_use=yes
21807 else
21808 glibcxx_cv_func__qfpclass_use=no
21809 fi
21810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21811 ac_ext=c
21812 ac_cpp='$CPP $CPPFLAGS'
21813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21816
21817
21818 fi
21819
21820 fi
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21822 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21823
21824 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21825 for ac_func in _qfpclass
21826 do :
21827 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21828 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21829 cat >>confdefs.h <<_ACEOF
21830 #define HAVE__QFPCLASS 1
21831 _ACEOF
21832
21833 fi
21834 done
21835
21836 fi
21837 fi
21838
21839
21840
21841
21842
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21844 $as_echo_n "checking for hypot declaration... " >&6; }
21845 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21846 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21847 $as_echo_n "(cached) " >&6
21848 else
21849
21850
21851 ac_ext=cpp
21852 ac_cpp='$CXXCPP $CPPFLAGS'
21853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21856
21857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21858 /* end confdefs.h. */
21859 #include <math.h>
21860 int
21861 main ()
21862 {
21863 hypot(0, 0);
21864 ;
21865 return 0;
21866 }
21867 _ACEOF
21868 if ac_fn_cxx_try_compile "$LINENO"; then :
21869 glibcxx_cv_func_hypot_use=yes
21870 else
21871 glibcxx_cv_func_hypot_use=no
21872 fi
21873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 ac_ext=c
21875 ac_cpp='$CPP $CPPFLAGS'
21876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21879
21880
21881 fi
21882
21883 fi
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21885 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21886
21887 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21888 for ac_func in hypot
21889 do :
21890 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21891 if test "x$ac_cv_func_hypot" = x""yes; then :
21892 cat >>confdefs.h <<_ACEOF
21893 #define HAVE_HYPOT 1
21894 _ACEOF
21895
21896 fi
21897 done
21898
21899 else
21900
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21902 $as_echo_n "checking for _hypot declaration... " >&6; }
21903 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21904 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21905 $as_echo_n "(cached) " >&6
21906 else
21907
21908
21909 ac_ext=cpp
21910 ac_cpp='$CXXCPP $CPPFLAGS'
21911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21914
21915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21916 /* end confdefs.h. */
21917 #include <math.h>
21918 int
21919 main ()
21920 {
21921 _hypot(0, 0);
21922 ;
21923 return 0;
21924 }
21925 _ACEOF
21926 if ac_fn_cxx_try_compile "$LINENO"; then :
21927 glibcxx_cv_func__hypot_use=yes
21928 else
21929 glibcxx_cv_func__hypot_use=no
21930 fi
21931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21932 ac_ext=c
21933 ac_cpp='$CPP $CPPFLAGS'
21934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21937
21938
21939 fi
21940
21941 fi
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21943 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21944
21945 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21946 for ac_func in _hypot
21947 do :
21948 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21949 if test "x$ac_cv_func__hypot" = x""yes; then :
21950 cat >>confdefs.h <<_ACEOF
21951 #define HAVE__HYPOT 1
21952 _ACEOF
21953
21954 fi
21955 done
21956
21957 fi
21958 fi
21959
21960
21961
21962
21963
21964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21965 $as_echo_n "checking for float trig functions... " >&6; }
21966 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21967 $as_echo_n "(cached) " >&6
21968 else
21969
21970
21971 ac_ext=cpp
21972 ac_cpp='$CXXCPP $CPPFLAGS'
21973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21976
21977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21978 /* end confdefs.h. */
21979 #include <math.h>
21980 int
21981 main ()
21982 {
21983 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21984 ;
21985 return 0;
21986 }
21987 _ACEOF
21988 if ac_fn_cxx_try_compile "$LINENO"; then :
21989 glibcxx_cv_func_float_trig_use=yes
21990 else
21991 glibcxx_cv_func_float_trig_use=no
21992 fi
21993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21994 ac_ext=c
21995 ac_cpp='$CPP $CPPFLAGS'
21996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21999
22000 fi
22001
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22003 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22004 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22005 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22006 do :
22007 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22008 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22009 eval as_val=\$$as_ac_var
22010 if test "x$as_val" = x""yes; then :
22011 cat >>confdefs.h <<_ACEOF
22012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22013 _ACEOF
22014
22015 fi
22016 done
22017
22018 else
22019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22020 $as_echo_n "checking for _float trig functions... " >&6; }
22021 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22022 $as_echo_n "(cached) " >&6
22023 else
22024
22025
22026 ac_ext=cpp
22027 ac_cpp='$CXXCPP $CPPFLAGS'
22028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22031
22032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22033 /* end confdefs.h. */
22034 #include <math.h>
22035 int
22036 main ()
22037 {
22038 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22039 ;
22040 return 0;
22041 }
22042 _ACEOF
22043 if ac_fn_cxx_try_compile "$LINENO"; then :
22044 glibcxx_cv_func__float_trig_use=yes
22045 else
22046 glibcxx_cv_func__float_trig_use=no
22047 fi
22048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22049 ac_ext=c
22050 ac_cpp='$CPP $CPPFLAGS'
22051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22054
22055 fi
22056
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22058 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22059 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22060 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22061 do :
22062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22064 eval as_val=\$$as_ac_var
22065 if test "x$as_val" = x""yes; then :
22066 cat >>confdefs.h <<_ACEOF
22067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22068 _ACEOF
22069
22070 fi
22071 done
22072
22073 fi
22074 fi
22075
22076
22077
22078
22079
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22081 $as_echo_n "checking for float round functions... " >&6; }
22082 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22083 $as_echo_n "(cached) " >&6
22084 else
22085
22086
22087 ac_ext=cpp
22088 ac_cpp='$CXXCPP $CPPFLAGS'
22089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22092
22093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22094 /* end confdefs.h. */
22095 #include <math.h>
22096 int
22097 main ()
22098 {
22099 ceilf (0); floorf (0);
22100 ;
22101 return 0;
22102 }
22103 _ACEOF
22104 if ac_fn_cxx_try_compile "$LINENO"; then :
22105 glibcxx_cv_func_float_round_use=yes
22106 else
22107 glibcxx_cv_func_float_round_use=no
22108 fi
22109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22110 ac_ext=c
22111 ac_cpp='$CPP $CPPFLAGS'
22112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22115
22116 fi
22117
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22119 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22120 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22121 for ac_func in ceilf floorf
22122 do :
22123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22125 eval as_val=\$$as_ac_var
22126 if test "x$as_val" = x""yes; then :
22127 cat >>confdefs.h <<_ACEOF
22128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22129 _ACEOF
22130
22131 fi
22132 done
22133
22134 else
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22136 $as_echo_n "checking for _float round functions... " >&6; }
22137 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22138 $as_echo_n "(cached) " >&6
22139 else
22140
22141
22142 ac_ext=cpp
22143 ac_cpp='$CXXCPP $CPPFLAGS'
22144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22147
22148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22149 /* end confdefs.h. */
22150 #include <math.h>
22151 int
22152 main ()
22153 {
22154 _ceilf (0); _floorf (0);
22155 ;
22156 return 0;
22157 }
22158 _ACEOF
22159 if ac_fn_cxx_try_compile "$LINENO"; then :
22160 glibcxx_cv_func__float_round_use=yes
22161 else
22162 glibcxx_cv_func__float_round_use=no
22163 fi
22164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22165 ac_ext=c
22166 ac_cpp='$CPP $CPPFLAGS'
22167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22170
22171 fi
22172
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22174 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22175 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22176 for ac_func in _ceilf _floorf
22177 do :
22178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22180 eval as_val=\$$as_ac_var
22181 if test "x$as_val" = x""yes; then :
22182 cat >>confdefs.h <<_ACEOF
22183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22184 _ACEOF
22185
22186 fi
22187 done
22188
22189 fi
22190 fi
22191
22192
22193
22194
22195
22196
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22198 $as_echo_n "checking for expf declaration... " >&6; }
22199 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22200 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22201 $as_echo_n "(cached) " >&6
22202 else
22203
22204
22205 ac_ext=cpp
22206 ac_cpp='$CXXCPP $CPPFLAGS'
22207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22210
22211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22212 /* end confdefs.h. */
22213 #include <math.h>
22214 #ifdef HAVE_IEEEFP_H
22215 #include <ieeefp.h>
22216 #endif
22217
22218 int
22219 main ()
22220 {
22221 expf(0);
22222 ;
22223 return 0;
22224 }
22225 _ACEOF
22226 if ac_fn_cxx_try_compile "$LINENO"; then :
22227 glibcxx_cv_func_expf_use=yes
22228 else
22229 glibcxx_cv_func_expf_use=no
22230 fi
22231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22232 ac_ext=c
22233 ac_cpp='$CPP $CPPFLAGS'
22234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22237
22238
22239 fi
22240
22241 fi
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22243 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22244
22245 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22246 for ac_func in expf
22247 do :
22248 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22249 if test "x$ac_cv_func_expf" = x""yes; then :
22250 cat >>confdefs.h <<_ACEOF
22251 #define HAVE_EXPF 1
22252 _ACEOF
22253
22254 fi
22255 done
22256
22257 else
22258
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22260 $as_echo_n "checking for _expf declaration... " >&6; }
22261 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22262 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22263 $as_echo_n "(cached) " >&6
22264 else
22265
22266
22267 ac_ext=cpp
22268 ac_cpp='$CXXCPP $CPPFLAGS'
22269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22272
22273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h. */
22275 #include <math.h>
22276 #ifdef HAVE_IEEEFP_H
22277 #include <ieeefp.h>
22278 #endif
22279
22280 int
22281 main ()
22282 {
22283 _expf(0);
22284 ;
22285 return 0;
22286 }
22287 _ACEOF
22288 if ac_fn_cxx_try_compile "$LINENO"; then :
22289 glibcxx_cv_func__expf_use=yes
22290 else
22291 glibcxx_cv_func__expf_use=no
22292 fi
22293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22294 ac_ext=c
22295 ac_cpp='$CPP $CPPFLAGS'
22296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22299
22300
22301 fi
22302
22303 fi
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22305 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22306
22307 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22308 for ac_func in _expf
22309 do :
22310 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22311 if test "x$ac_cv_func__expf" = x""yes; then :
22312 cat >>confdefs.h <<_ACEOF
22313 #define HAVE__EXPF 1
22314 _ACEOF
22315
22316 fi
22317 done
22318
22319 fi
22320 fi
22321
22322
22323
22324
22325
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22327 $as_echo_n "checking for isnanf declaration... " >&6; }
22328 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22329 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22330 $as_echo_n "(cached) " >&6
22331 else
22332
22333
22334 ac_ext=cpp
22335 ac_cpp='$CXXCPP $CPPFLAGS'
22336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22339
22340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22341 /* end confdefs.h. */
22342 #include <math.h>
22343 #ifdef HAVE_IEEEFP_H
22344 #include <ieeefp.h>
22345 #endif
22346
22347 int
22348 main ()
22349 {
22350 isnanf(0);
22351 ;
22352 return 0;
22353 }
22354 _ACEOF
22355 if ac_fn_cxx_try_compile "$LINENO"; then :
22356 glibcxx_cv_func_isnanf_use=yes
22357 else
22358 glibcxx_cv_func_isnanf_use=no
22359 fi
22360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22361 ac_ext=c
22362 ac_cpp='$CPP $CPPFLAGS'
22363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22366
22367
22368 fi
22369
22370 fi
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22372 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22373
22374 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22375 for ac_func in isnanf
22376 do :
22377 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22378 if test "x$ac_cv_func_isnanf" = x""yes; then :
22379 cat >>confdefs.h <<_ACEOF
22380 #define HAVE_ISNANF 1
22381 _ACEOF
22382
22383 fi
22384 done
22385
22386 else
22387
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22389 $as_echo_n "checking for _isnanf declaration... " >&6; }
22390 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22391 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22392 $as_echo_n "(cached) " >&6
22393 else
22394
22395
22396 ac_ext=cpp
22397 ac_cpp='$CXXCPP $CPPFLAGS'
22398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22401
22402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22403 /* end confdefs.h. */
22404 #include <math.h>
22405 #ifdef HAVE_IEEEFP_H
22406 #include <ieeefp.h>
22407 #endif
22408
22409 int
22410 main ()
22411 {
22412 _isnanf(0);
22413 ;
22414 return 0;
22415 }
22416 _ACEOF
22417 if ac_fn_cxx_try_compile "$LINENO"; then :
22418 glibcxx_cv_func__isnanf_use=yes
22419 else
22420 glibcxx_cv_func__isnanf_use=no
22421 fi
22422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22423 ac_ext=c
22424 ac_cpp='$CPP $CPPFLAGS'
22425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22428
22429
22430 fi
22431
22432 fi
22433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22434 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22435
22436 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22437 for ac_func in _isnanf
22438 do :
22439 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22440 if test "x$ac_cv_func__isnanf" = x""yes; then :
22441 cat >>confdefs.h <<_ACEOF
22442 #define HAVE__ISNANF 1
22443 _ACEOF
22444
22445 fi
22446 done
22447
22448 fi
22449 fi
22450
22451
22452
22453
22454
22455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22456 $as_echo_n "checking for isinff declaration... " >&6; }
22457 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22458 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22459 $as_echo_n "(cached) " >&6
22460 else
22461
22462
22463 ac_ext=cpp
22464 ac_cpp='$CXXCPP $CPPFLAGS'
22465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22468
22469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22470 /* end confdefs.h. */
22471 #include <math.h>
22472 #ifdef HAVE_IEEEFP_H
22473 #include <ieeefp.h>
22474 #endif
22475
22476 int
22477 main ()
22478 {
22479 isinff(0);
22480 ;
22481 return 0;
22482 }
22483 _ACEOF
22484 if ac_fn_cxx_try_compile "$LINENO"; then :
22485 glibcxx_cv_func_isinff_use=yes
22486 else
22487 glibcxx_cv_func_isinff_use=no
22488 fi
22489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22490 ac_ext=c
22491 ac_cpp='$CPP $CPPFLAGS'
22492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22495
22496
22497 fi
22498
22499 fi
22500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22501 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22502
22503 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22504 for ac_func in isinff
22505 do :
22506 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22507 if test "x$ac_cv_func_isinff" = x""yes; then :
22508 cat >>confdefs.h <<_ACEOF
22509 #define HAVE_ISINFF 1
22510 _ACEOF
22511
22512 fi
22513 done
22514
22515 else
22516
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22518 $as_echo_n "checking for _isinff declaration... " >&6; }
22519 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22520 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22521 $as_echo_n "(cached) " >&6
22522 else
22523
22524
22525 ac_ext=cpp
22526 ac_cpp='$CXXCPP $CPPFLAGS'
22527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22530
22531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h. */
22533 #include <math.h>
22534 #ifdef HAVE_IEEEFP_H
22535 #include <ieeefp.h>
22536 #endif
22537
22538 int
22539 main ()
22540 {
22541 _isinff(0);
22542 ;
22543 return 0;
22544 }
22545 _ACEOF
22546 if ac_fn_cxx_try_compile "$LINENO"; then :
22547 glibcxx_cv_func__isinff_use=yes
22548 else
22549 glibcxx_cv_func__isinff_use=no
22550 fi
22551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22552 ac_ext=c
22553 ac_cpp='$CPP $CPPFLAGS'
22554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22557
22558
22559 fi
22560
22561 fi
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22563 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22564
22565 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22566 for ac_func in _isinff
22567 do :
22568 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22569 if test "x$ac_cv_func__isinff" = x""yes; then :
22570 cat >>confdefs.h <<_ACEOF
22571 #define HAVE__ISINFF 1
22572 _ACEOF
22573
22574 fi
22575 done
22576
22577 fi
22578 fi
22579
22580
22581
22582
22583
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22585 $as_echo_n "checking for atan2f declaration... " >&6; }
22586 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22587 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22588 $as_echo_n "(cached) " >&6
22589 else
22590
22591
22592 ac_ext=cpp
22593 ac_cpp='$CXXCPP $CPPFLAGS'
22594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22597
22598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22599 /* end confdefs.h. */
22600 #include <math.h>
22601 int
22602 main ()
22603 {
22604 atan2f(0, 0);
22605 ;
22606 return 0;
22607 }
22608 _ACEOF
22609 if ac_fn_cxx_try_compile "$LINENO"; then :
22610 glibcxx_cv_func_atan2f_use=yes
22611 else
22612 glibcxx_cv_func_atan2f_use=no
22613 fi
22614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22615 ac_ext=c
22616 ac_cpp='$CPP $CPPFLAGS'
22617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22620
22621
22622 fi
22623
22624 fi
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22626 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22627
22628 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22629 for ac_func in atan2f
22630 do :
22631 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22632 if test "x$ac_cv_func_atan2f" = x""yes; then :
22633 cat >>confdefs.h <<_ACEOF
22634 #define HAVE_ATAN2F 1
22635 _ACEOF
22636
22637 fi
22638 done
22639
22640 else
22641
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22643 $as_echo_n "checking for _atan2f declaration... " >&6; }
22644 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22645 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22646 $as_echo_n "(cached) " >&6
22647 else
22648
22649
22650 ac_ext=cpp
22651 ac_cpp='$CXXCPP $CPPFLAGS'
22652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22655
22656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22657 /* end confdefs.h. */
22658 #include <math.h>
22659 int
22660 main ()
22661 {
22662 _atan2f(0, 0);
22663 ;
22664 return 0;
22665 }
22666 _ACEOF
22667 if ac_fn_cxx_try_compile "$LINENO"; then :
22668 glibcxx_cv_func__atan2f_use=yes
22669 else
22670 glibcxx_cv_func__atan2f_use=no
22671 fi
22672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22673 ac_ext=c
22674 ac_cpp='$CPP $CPPFLAGS'
22675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22678
22679
22680 fi
22681
22682 fi
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22684 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22685
22686 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22687 for ac_func in _atan2f
22688 do :
22689 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22690 if test "x$ac_cv_func__atan2f" = x""yes; then :
22691 cat >>confdefs.h <<_ACEOF
22692 #define HAVE__ATAN2F 1
22693 _ACEOF
22694
22695 fi
22696 done
22697
22698 fi
22699 fi
22700
22701
22702
22703
22704
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22706 $as_echo_n "checking for fabsf declaration... " >&6; }
22707 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22708 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22709 $as_echo_n "(cached) " >&6
22710 else
22711
22712
22713 ac_ext=cpp
22714 ac_cpp='$CXXCPP $CPPFLAGS'
22715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22718
22719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22720 /* end confdefs.h. */
22721 #include <math.h>
22722 #ifdef HAVE_IEEEFP_H
22723 #include <ieeefp.h>
22724 #endif
22725
22726 int
22727 main ()
22728 {
22729 fabsf(0);
22730 ;
22731 return 0;
22732 }
22733 _ACEOF
22734 if ac_fn_cxx_try_compile "$LINENO"; then :
22735 glibcxx_cv_func_fabsf_use=yes
22736 else
22737 glibcxx_cv_func_fabsf_use=no
22738 fi
22739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22740 ac_ext=c
22741 ac_cpp='$CPP $CPPFLAGS'
22742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22745
22746
22747 fi
22748
22749 fi
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22751 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22752
22753 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22754 for ac_func in fabsf
22755 do :
22756 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22757 if test "x$ac_cv_func_fabsf" = x""yes; then :
22758 cat >>confdefs.h <<_ACEOF
22759 #define HAVE_FABSF 1
22760 _ACEOF
22761
22762 fi
22763 done
22764
22765 else
22766
22767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22768 $as_echo_n "checking for _fabsf declaration... " >&6; }
22769 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22770 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22771 $as_echo_n "(cached) " >&6
22772 else
22773
22774
22775 ac_ext=cpp
22776 ac_cpp='$CXXCPP $CPPFLAGS'
22777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22780
22781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22782 /* end confdefs.h. */
22783 #include <math.h>
22784 #ifdef HAVE_IEEEFP_H
22785 #include <ieeefp.h>
22786 #endif
22787
22788 int
22789 main ()
22790 {
22791 _fabsf(0);
22792 ;
22793 return 0;
22794 }
22795 _ACEOF
22796 if ac_fn_cxx_try_compile "$LINENO"; then :
22797 glibcxx_cv_func__fabsf_use=yes
22798 else
22799 glibcxx_cv_func__fabsf_use=no
22800 fi
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22802 ac_ext=c
22803 ac_cpp='$CPP $CPPFLAGS'
22804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22807
22808
22809 fi
22810
22811 fi
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22813 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22814
22815 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22816 for ac_func in _fabsf
22817 do :
22818 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22819 if test "x$ac_cv_func__fabsf" = x""yes; then :
22820 cat >>confdefs.h <<_ACEOF
22821 #define HAVE__FABSF 1
22822 _ACEOF
22823
22824 fi
22825 done
22826
22827 fi
22828 fi
22829
22830
22831
22832
22833
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22835 $as_echo_n "checking for fmodf declaration... " >&6; }
22836 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22837 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22838 $as_echo_n "(cached) " >&6
22839 else
22840
22841
22842 ac_ext=cpp
22843 ac_cpp='$CXXCPP $CPPFLAGS'
22844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22847
22848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22849 /* end confdefs.h. */
22850 #include <math.h>
22851 int
22852 main ()
22853 {
22854 fmodf(0, 0);
22855 ;
22856 return 0;
22857 }
22858 _ACEOF
22859 if ac_fn_cxx_try_compile "$LINENO"; then :
22860 glibcxx_cv_func_fmodf_use=yes
22861 else
22862 glibcxx_cv_func_fmodf_use=no
22863 fi
22864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22865 ac_ext=c
22866 ac_cpp='$CPP $CPPFLAGS'
22867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22870
22871
22872 fi
22873
22874 fi
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22876 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22877
22878 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22879 for ac_func in fmodf
22880 do :
22881 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22882 if test "x$ac_cv_func_fmodf" = x""yes; then :
22883 cat >>confdefs.h <<_ACEOF
22884 #define HAVE_FMODF 1
22885 _ACEOF
22886
22887 fi
22888 done
22889
22890 else
22891
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22893 $as_echo_n "checking for _fmodf declaration... " >&6; }
22894 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22895 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22896 $as_echo_n "(cached) " >&6
22897 else
22898
22899
22900 ac_ext=cpp
22901 ac_cpp='$CXXCPP $CPPFLAGS'
22902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22905
22906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22907 /* end confdefs.h. */
22908 #include <math.h>
22909 int
22910 main ()
22911 {
22912 _fmodf(0, 0);
22913 ;
22914 return 0;
22915 }
22916 _ACEOF
22917 if ac_fn_cxx_try_compile "$LINENO"; then :
22918 glibcxx_cv_func__fmodf_use=yes
22919 else
22920 glibcxx_cv_func__fmodf_use=no
22921 fi
22922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22923 ac_ext=c
22924 ac_cpp='$CPP $CPPFLAGS'
22925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22928
22929
22930 fi
22931
22932 fi
22933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22934 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22935
22936 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22937 for ac_func in _fmodf
22938 do :
22939 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22940 if test "x$ac_cv_func__fmodf" = x""yes; then :
22941 cat >>confdefs.h <<_ACEOF
22942 #define HAVE__FMODF 1
22943 _ACEOF
22944
22945 fi
22946 done
22947
22948 fi
22949 fi
22950
22951
22952
22953
22954
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22956 $as_echo_n "checking for frexpf declaration... " >&6; }
22957 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22958 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22959 $as_echo_n "(cached) " >&6
22960 else
22961
22962
22963 ac_ext=cpp
22964 ac_cpp='$CXXCPP $CPPFLAGS'
22965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22968
22969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22970 /* end confdefs.h. */
22971 #include <math.h>
22972 int
22973 main ()
22974 {
22975 frexpf(0, 0);
22976 ;
22977 return 0;
22978 }
22979 _ACEOF
22980 if ac_fn_cxx_try_compile "$LINENO"; then :
22981 glibcxx_cv_func_frexpf_use=yes
22982 else
22983 glibcxx_cv_func_frexpf_use=no
22984 fi
22985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22986 ac_ext=c
22987 ac_cpp='$CPP $CPPFLAGS'
22988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22991
22992
22993 fi
22994
22995 fi
22996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22997 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22998
22999 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23000 for ac_func in frexpf
23001 do :
23002 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23003 if test "x$ac_cv_func_frexpf" = x""yes; then :
23004 cat >>confdefs.h <<_ACEOF
23005 #define HAVE_FREXPF 1
23006 _ACEOF
23007
23008 fi
23009 done
23010
23011 else
23012
23013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23014 $as_echo_n "checking for _frexpf declaration... " >&6; }
23015 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23016 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23017 $as_echo_n "(cached) " >&6
23018 else
23019
23020
23021 ac_ext=cpp
23022 ac_cpp='$CXXCPP $CPPFLAGS'
23023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23026
23027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23028 /* end confdefs.h. */
23029 #include <math.h>
23030 int
23031 main ()
23032 {
23033 _frexpf(0, 0);
23034 ;
23035 return 0;
23036 }
23037 _ACEOF
23038 if ac_fn_cxx_try_compile "$LINENO"; then :
23039 glibcxx_cv_func__frexpf_use=yes
23040 else
23041 glibcxx_cv_func__frexpf_use=no
23042 fi
23043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23044 ac_ext=c
23045 ac_cpp='$CPP $CPPFLAGS'
23046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23049
23050
23051 fi
23052
23053 fi
23054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23055 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23056
23057 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23058 for ac_func in _frexpf
23059 do :
23060 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23061 if test "x$ac_cv_func__frexpf" = x""yes; then :
23062 cat >>confdefs.h <<_ACEOF
23063 #define HAVE__FREXPF 1
23064 _ACEOF
23065
23066 fi
23067 done
23068
23069 fi
23070 fi
23071
23072
23073
23074
23075
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23077 $as_echo_n "checking for hypotf declaration... " >&6; }
23078 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23079 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23080 $as_echo_n "(cached) " >&6
23081 else
23082
23083
23084 ac_ext=cpp
23085 ac_cpp='$CXXCPP $CPPFLAGS'
23086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23089
23090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23091 /* end confdefs.h. */
23092 #include <math.h>
23093 int
23094 main ()
23095 {
23096 hypotf(0, 0);
23097 ;
23098 return 0;
23099 }
23100 _ACEOF
23101 if ac_fn_cxx_try_compile "$LINENO"; then :
23102 glibcxx_cv_func_hypotf_use=yes
23103 else
23104 glibcxx_cv_func_hypotf_use=no
23105 fi
23106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23107 ac_ext=c
23108 ac_cpp='$CPP $CPPFLAGS'
23109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23112
23113
23114 fi
23115
23116 fi
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23118 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23119
23120 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23121 for ac_func in hypotf
23122 do :
23123 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23124 if test "x$ac_cv_func_hypotf" = x""yes; then :
23125 cat >>confdefs.h <<_ACEOF
23126 #define HAVE_HYPOTF 1
23127 _ACEOF
23128
23129 fi
23130 done
23131
23132 else
23133
23134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23135 $as_echo_n "checking for _hypotf declaration... " >&6; }
23136 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23137 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23138 $as_echo_n "(cached) " >&6
23139 else
23140
23141
23142 ac_ext=cpp
23143 ac_cpp='$CXXCPP $CPPFLAGS'
23144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23147
23148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23149 /* end confdefs.h. */
23150 #include <math.h>
23151 int
23152 main ()
23153 {
23154 _hypotf(0, 0);
23155 ;
23156 return 0;
23157 }
23158 _ACEOF
23159 if ac_fn_cxx_try_compile "$LINENO"; then :
23160 glibcxx_cv_func__hypotf_use=yes
23161 else
23162 glibcxx_cv_func__hypotf_use=no
23163 fi
23164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23165 ac_ext=c
23166 ac_cpp='$CPP $CPPFLAGS'
23167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23170
23171
23172 fi
23173
23174 fi
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23176 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23177
23178 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23179 for ac_func in _hypotf
23180 do :
23181 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23182 if test "x$ac_cv_func__hypotf" = x""yes; then :
23183 cat >>confdefs.h <<_ACEOF
23184 #define HAVE__HYPOTF 1
23185 _ACEOF
23186
23187 fi
23188 done
23189
23190 fi
23191 fi
23192
23193
23194
23195
23196
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23198 $as_echo_n "checking for ldexpf declaration... " >&6; }
23199 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23200 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23201 $as_echo_n "(cached) " >&6
23202 else
23203
23204
23205 ac_ext=cpp
23206 ac_cpp='$CXXCPP $CPPFLAGS'
23207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23210
23211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23212 /* end confdefs.h. */
23213 #include <math.h>
23214 int
23215 main ()
23216 {
23217 ldexpf(0, 0);
23218 ;
23219 return 0;
23220 }
23221 _ACEOF
23222 if ac_fn_cxx_try_compile "$LINENO"; then :
23223 glibcxx_cv_func_ldexpf_use=yes
23224 else
23225 glibcxx_cv_func_ldexpf_use=no
23226 fi
23227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23228 ac_ext=c
23229 ac_cpp='$CPP $CPPFLAGS'
23230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23233
23234
23235 fi
23236
23237 fi
23238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23239 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23240
23241 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23242 for ac_func in ldexpf
23243 do :
23244 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23245 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23246 cat >>confdefs.h <<_ACEOF
23247 #define HAVE_LDEXPF 1
23248 _ACEOF
23249
23250 fi
23251 done
23252
23253 else
23254
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23256 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23257 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23258 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23259 $as_echo_n "(cached) " >&6
23260 else
23261
23262
23263 ac_ext=cpp
23264 ac_cpp='$CXXCPP $CPPFLAGS'
23265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23268
23269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23270 /* end confdefs.h. */
23271 #include <math.h>
23272 int
23273 main ()
23274 {
23275 _ldexpf(0, 0);
23276 ;
23277 return 0;
23278 }
23279 _ACEOF
23280 if ac_fn_cxx_try_compile "$LINENO"; then :
23281 glibcxx_cv_func__ldexpf_use=yes
23282 else
23283 glibcxx_cv_func__ldexpf_use=no
23284 fi
23285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23286 ac_ext=c
23287 ac_cpp='$CPP $CPPFLAGS'
23288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23291
23292
23293 fi
23294
23295 fi
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23297 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23298
23299 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23300 for ac_func in _ldexpf
23301 do :
23302 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23303 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23304 cat >>confdefs.h <<_ACEOF
23305 #define HAVE__LDEXPF 1
23306 _ACEOF
23307
23308 fi
23309 done
23310
23311 fi
23312 fi
23313
23314
23315
23316
23317
23318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23319 $as_echo_n "checking for logf declaration... " >&6; }
23320 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23321 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23322 $as_echo_n "(cached) " >&6
23323 else
23324
23325
23326 ac_ext=cpp
23327 ac_cpp='$CXXCPP $CPPFLAGS'
23328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23331
23332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23333 /* end confdefs.h. */
23334 #include <math.h>
23335 #ifdef HAVE_IEEEFP_H
23336 #include <ieeefp.h>
23337 #endif
23338
23339 int
23340 main ()
23341 {
23342 logf(0);
23343 ;
23344 return 0;
23345 }
23346 _ACEOF
23347 if ac_fn_cxx_try_compile "$LINENO"; then :
23348 glibcxx_cv_func_logf_use=yes
23349 else
23350 glibcxx_cv_func_logf_use=no
23351 fi
23352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23353 ac_ext=c
23354 ac_cpp='$CPP $CPPFLAGS'
23355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23358
23359
23360 fi
23361
23362 fi
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23364 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23365
23366 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23367 for ac_func in logf
23368 do :
23369 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23370 if test "x$ac_cv_func_logf" = x""yes; then :
23371 cat >>confdefs.h <<_ACEOF
23372 #define HAVE_LOGF 1
23373 _ACEOF
23374
23375 fi
23376 done
23377
23378 else
23379
23380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23381 $as_echo_n "checking for _logf declaration... " >&6; }
23382 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23383 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23384 $as_echo_n "(cached) " >&6
23385 else
23386
23387
23388 ac_ext=cpp
23389 ac_cpp='$CXXCPP $CPPFLAGS'
23390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23393
23394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23395 /* end confdefs.h. */
23396 #include <math.h>
23397 #ifdef HAVE_IEEEFP_H
23398 #include <ieeefp.h>
23399 #endif
23400
23401 int
23402 main ()
23403 {
23404 _logf(0);
23405 ;
23406 return 0;
23407 }
23408 _ACEOF
23409 if ac_fn_cxx_try_compile "$LINENO"; then :
23410 glibcxx_cv_func__logf_use=yes
23411 else
23412 glibcxx_cv_func__logf_use=no
23413 fi
23414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23415 ac_ext=c
23416 ac_cpp='$CPP $CPPFLAGS'
23417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23420
23421
23422 fi
23423
23424 fi
23425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23426 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23427
23428 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23429 for ac_func in _logf
23430 do :
23431 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23432 if test "x$ac_cv_func__logf" = x""yes; then :
23433 cat >>confdefs.h <<_ACEOF
23434 #define HAVE__LOGF 1
23435 _ACEOF
23436
23437 fi
23438 done
23439
23440 fi
23441 fi
23442
23443
23444
23445
23446
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23448 $as_echo_n "checking for log10f declaration... " >&6; }
23449 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23450 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23451 $as_echo_n "(cached) " >&6
23452 else
23453
23454
23455 ac_ext=cpp
23456 ac_cpp='$CXXCPP $CPPFLAGS'
23457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23460
23461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23462 /* end confdefs.h. */
23463 #include <math.h>
23464 #ifdef HAVE_IEEEFP_H
23465 #include <ieeefp.h>
23466 #endif
23467
23468 int
23469 main ()
23470 {
23471 log10f(0);
23472 ;
23473 return 0;
23474 }
23475 _ACEOF
23476 if ac_fn_cxx_try_compile "$LINENO"; then :
23477 glibcxx_cv_func_log10f_use=yes
23478 else
23479 glibcxx_cv_func_log10f_use=no
23480 fi
23481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23482 ac_ext=c
23483 ac_cpp='$CPP $CPPFLAGS'
23484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23487
23488
23489 fi
23490
23491 fi
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23493 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23494
23495 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23496 for ac_func in log10f
23497 do :
23498 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23499 if test "x$ac_cv_func_log10f" = x""yes; then :
23500 cat >>confdefs.h <<_ACEOF
23501 #define HAVE_LOG10F 1
23502 _ACEOF
23503
23504 fi
23505 done
23506
23507 else
23508
23509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23510 $as_echo_n "checking for _log10f declaration... " >&6; }
23511 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23512 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23513 $as_echo_n "(cached) " >&6
23514 else
23515
23516
23517 ac_ext=cpp
23518 ac_cpp='$CXXCPP $CPPFLAGS'
23519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23522
23523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23524 /* end confdefs.h. */
23525 #include <math.h>
23526 #ifdef HAVE_IEEEFP_H
23527 #include <ieeefp.h>
23528 #endif
23529
23530 int
23531 main ()
23532 {
23533 _log10f(0);
23534 ;
23535 return 0;
23536 }
23537 _ACEOF
23538 if ac_fn_cxx_try_compile "$LINENO"; then :
23539 glibcxx_cv_func__log10f_use=yes
23540 else
23541 glibcxx_cv_func__log10f_use=no
23542 fi
23543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23544 ac_ext=c
23545 ac_cpp='$CPP $CPPFLAGS'
23546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23549
23550
23551 fi
23552
23553 fi
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23555 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23556
23557 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23558 for ac_func in _log10f
23559 do :
23560 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23561 if test "x$ac_cv_func__log10f" = x""yes; then :
23562 cat >>confdefs.h <<_ACEOF
23563 #define HAVE__LOG10F 1
23564 _ACEOF
23565
23566 fi
23567 done
23568
23569 fi
23570 fi
23571
23572
23573
23574
23575
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23577 $as_echo_n "checking for modff declaration... " >&6; }
23578 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23579 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23580 $as_echo_n "(cached) " >&6
23581 else
23582
23583
23584 ac_ext=cpp
23585 ac_cpp='$CXXCPP $CPPFLAGS'
23586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23589
23590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23591 /* end confdefs.h. */
23592 #include <math.h>
23593 int
23594 main ()
23595 {
23596 modff(0, 0);
23597 ;
23598 return 0;
23599 }
23600 _ACEOF
23601 if ac_fn_cxx_try_compile "$LINENO"; then :
23602 glibcxx_cv_func_modff_use=yes
23603 else
23604 glibcxx_cv_func_modff_use=no
23605 fi
23606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23607 ac_ext=c
23608 ac_cpp='$CPP $CPPFLAGS'
23609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23612
23613
23614 fi
23615
23616 fi
23617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23618 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23619
23620 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23621 for ac_func in modff
23622 do :
23623 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23624 if test "x$ac_cv_func_modff" = x""yes; then :
23625 cat >>confdefs.h <<_ACEOF
23626 #define HAVE_MODFF 1
23627 _ACEOF
23628
23629 fi
23630 done
23631
23632 else
23633
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23635 $as_echo_n "checking for _modff declaration... " >&6; }
23636 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23637 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23638 $as_echo_n "(cached) " >&6
23639 else
23640
23641
23642 ac_ext=cpp
23643 ac_cpp='$CXXCPP $CPPFLAGS'
23644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23647
23648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23649 /* end confdefs.h. */
23650 #include <math.h>
23651 int
23652 main ()
23653 {
23654 _modff(0, 0);
23655 ;
23656 return 0;
23657 }
23658 _ACEOF
23659 if ac_fn_cxx_try_compile "$LINENO"; then :
23660 glibcxx_cv_func__modff_use=yes
23661 else
23662 glibcxx_cv_func__modff_use=no
23663 fi
23664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23665 ac_ext=c
23666 ac_cpp='$CPP $CPPFLAGS'
23667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23670
23671
23672 fi
23673
23674 fi
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23676 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23677
23678 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23679 for ac_func in _modff
23680 do :
23681 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23682 if test "x$ac_cv_func__modff" = x""yes; then :
23683 cat >>confdefs.h <<_ACEOF
23684 #define HAVE__MODFF 1
23685 _ACEOF
23686
23687 fi
23688 done
23689
23690 fi
23691 fi
23692
23693
23694
23695
23696
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23698 $as_echo_n "checking for modf declaration... " >&6; }
23699 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23700 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23701 $as_echo_n "(cached) " >&6
23702 else
23703
23704
23705 ac_ext=cpp
23706 ac_cpp='$CXXCPP $CPPFLAGS'
23707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23710
23711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23712 /* end confdefs.h. */
23713 #include <math.h>
23714 int
23715 main ()
23716 {
23717 modf(0, 0);
23718 ;
23719 return 0;
23720 }
23721 _ACEOF
23722 if ac_fn_cxx_try_compile "$LINENO"; then :
23723 glibcxx_cv_func_modf_use=yes
23724 else
23725 glibcxx_cv_func_modf_use=no
23726 fi
23727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23728 ac_ext=c
23729 ac_cpp='$CPP $CPPFLAGS'
23730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23733
23734
23735 fi
23736
23737 fi
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23739 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23740
23741 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23742 for ac_func in modf
23743 do :
23744 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23745 if test "x$ac_cv_func_modf" = x""yes; then :
23746 cat >>confdefs.h <<_ACEOF
23747 #define HAVE_MODF 1
23748 _ACEOF
23749
23750 fi
23751 done
23752
23753 else
23754
23755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23756 $as_echo_n "checking for _modf declaration... " >&6; }
23757 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23758 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23759 $as_echo_n "(cached) " >&6
23760 else
23761
23762
23763 ac_ext=cpp
23764 ac_cpp='$CXXCPP $CPPFLAGS'
23765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23768
23769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23770 /* end confdefs.h. */
23771 #include <math.h>
23772 int
23773 main ()
23774 {
23775 _modf(0, 0);
23776 ;
23777 return 0;
23778 }
23779 _ACEOF
23780 if ac_fn_cxx_try_compile "$LINENO"; then :
23781 glibcxx_cv_func__modf_use=yes
23782 else
23783 glibcxx_cv_func__modf_use=no
23784 fi
23785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23786 ac_ext=c
23787 ac_cpp='$CPP $CPPFLAGS'
23788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23791
23792
23793 fi
23794
23795 fi
23796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23797 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23798
23799 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23800 for ac_func in _modf
23801 do :
23802 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23803 if test "x$ac_cv_func__modf" = x""yes; then :
23804 cat >>confdefs.h <<_ACEOF
23805 #define HAVE__MODF 1
23806 _ACEOF
23807
23808 fi
23809 done
23810
23811 fi
23812 fi
23813
23814
23815
23816
23817
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23819 $as_echo_n "checking for powf declaration... " >&6; }
23820 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23821 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23822 $as_echo_n "(cached) " >&6
23823 else
23824
23825
23826 ac_ext=cpp
23827 ac_cpp='$CXXCPP $CPPFLAGS'
23828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23831
23832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23833 /* end confdefs.h. */
23834 #include <math.h>
23835 int
23836 main ()
23837 {
23838 powf(0, 0);
23839 ;
23840 return 0;
23841 }
23842 _ACEOF
23843 if ac_fn_cxx_try_compile "$LINENO"; then :
23844 glibcxx_cv_func_powf_use=yes
23845 else
23846 glibcxx_cv_func_powf_use=no
23847 fi
23848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23849 ac_ext=c
23850 ac_cpp='$CPP $CPPFLAGS'
23851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23854
23855
23856 fi
23857
23858 fi
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23860 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23861
23862 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23863 for ac_func in powf
23864 do :
23865 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23866 if test "x$ac_cv_func_powf" = x""yes; then :
23867 cat >>confdefs.h <<_ACEOF
23868 #define HAVE_POWF 1
23869 _ACEOF
23870
23871 fi
23872 done
23873
23874 else
23875
23876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23877 $as_echo_n "checking for _powf declaration... " >&6; }
23878 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23879 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23880 $as_echo_n "(cached) " >&6
23881 else
23882
23883
23884 ac_ext=cpp
23885 ac_cpp='$CXXCPP $CPPFLAGS'
23886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23889
23890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23891 /* end confdefs.h. */
23892 #include <math.h>
23893 int
23894 main ()
23895 {
23896 _powf(0, 0);
23897 ;
23898 return 0;
23899 }
23900 _ACEOF
23901 if ac_fn_cxx_try_compile "$LINENO"; then :
23902 glibcxx_cv_func__powf_use=yes
23903 else
23904 glibcxx_cv_func__powf_use=no
23905 fi
23906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23907 ac_ext=c
23908 ac_cpp='$CPP $CPPFLAGS'
23909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23912
23913
23914 fi
23915
23916 fi
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23918 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23919
23920 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23921 for ac_func in _powf
23922 do :
23923 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23924 if test "x$ac_cv_func__powf" = x""yes; then :
23925 cat >>confdefs.h <<_ACEOF
23926 #define HAVE__POWF 1
23927 _ACEOF
23928
23929 fi
23930 done
23931
23932 fi
23933 fi
23934
23935
23936
23937
23938
23939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23940 $as_echo_n "checking for sqrtf declaration... " >&6; }
23941 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23942 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23943 $as_echo_n "(cached) " >&6
23944 else
23945
23946
23947 ac_ext=cpp
23948 ac_cpp='$CXXCPP $CPPFLAGS'
23949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23952
23953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23954 /* end confdefs.h. */
23955 #include <math.h>
23956 #ifdef HAVE_IEEEFP_H
23957 #include <ieeefp.h>
23958 #endif
23959
23960 int
23961 main ()
23962 {
23963 sqrtf(0);
23964 ;
23965 return 0;
23966 }
23967 _ACEOF
23968 if ac_fn_cxx_try_compile "$LINENO"; then :
23969 glibcxx_cv_func_sqrtf_use=yes
23970 else
23971 glibcxx_cv_func_sqrtf_use=no
23972 fi
23973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23974 ac_ext=c
23975 ac_cpp='$CPP $CPPFLAGS'
23976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23979
23980
23981 fi
23982
23983 fi
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23985 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23986
23987 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23988 for ac_func in sqrtf
23989 do :
23990 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23991 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23992 cat >>confdefs.h <<_ACEOF
23993 #define HAVE_SQRTF 1
23994 _ACEOF
23995
23996 fi
23997 done
23998
23999 else
24000
24001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24002 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24003 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24004 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24005 $as_echo_n "(cached) " >&6
24006 else
24007
24008
24009 ac_ext=cpp
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24014
24015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24016 /* end confdefs.h. */
24017 #include <math.h>
24018 #ifdef HAVE_IEEEFP_H
24019 #include <ieeefp.h>
24020 #endif
24021
24022 int
24023 main ()
24024 {
24025 _sqrtf(0);
24026 ;
24027 return 0;
24028 }
24029 _ACEOF
24030 if ac_fn_cxx_try_compile "$LINENO"; then :
24031 glibcxx_cv_func__sqrtf_use=yes
24032 else
24033 glibcxx_cv_func__sqrtf_use=no
24034 fi
24035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24036 ac_ext=c
24037 ac_cpp='$CPP $CPPFLAGS'
24038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24041
24042
24043 fi
24044
24045 fi
24046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24047 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24048
24049 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24050 for ac_func in _sqrtf
24051 do :
24052 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24053 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24054 cat >>confdefs.h <<_ACEOF
24055 #define HAVE__SQRTF 1
24056 _ACEOF
24057
24058 fi
24059 done
24060
24061 fi
24062 fi
24063
24064
24065
24066
24067
24068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24069 $as_echo_n "checking for sincosf declaration... " >&6; }
24070 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24071 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24072 $as_echo_n "(cached) " >&6
24073 else
24074
24075
24076 ac_ext=cpp
24077 ac_cpp='$CXXCPP $CPPFLAGS'
24078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24081
24082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24083 /* end confdefs.h. */
24084 #include <math.h>
24085 int
24086 main ()
24087 {
24088 sincosf(0, 0, 0);
24089 ;
24090 return 0;
24091 }
24092 _ACEOF
24093 if ac_fn_cxx_try_compile "$LINENO"; then :
24094 glibcxx_cv_func_sincosf_use=yes
24095 else
24096 glibcxx_cv_func_sincosf_use=no
24097 fi
24098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24099 ac_ext=c
24100 ac_cpp='$CPP $CPPFLAGS'
24101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24104
24105
24106 fi
24107
24108 fi
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24110 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24111
24112 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24113 for ac_func in sincosf
24114 do :
24115 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24116 if test "x$ac_cv_func_sincosf" = x""yes; then :
24117 cat >>confdefs.h <<_ACEOF
24118 #define HAVE_SINCOSF 1
24119 _ACEOF
24120
24121 fi
24122 done
24123
24124 else
24125
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24127 $as_echo_n "checking for _sincosf declaration... " >&6; }
24128 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24129 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24130 $as_echo_n "(cached) " >&6
24131 else
24132
24133
24134 ac_ext=cpp
24135 ac_cpp='$CXXCPP $CPPFLAGS'
24136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24139
24140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24141 /* end confdefs.h. */
24142 #include <math.h>
24143 int
24144 main ()
24145 {
24146 _sincosf(0, 0, 0);
24147 ;
24148 return 0;
24149 }
24150 _ACEOF
24151 if ac_fn_cxx_try_compile "$LINENO"; then :
24152 glibcxx_cv_func__sincosf_use=yes
24153 else
24154 glibcxx_cv_func__sincosf_use=no
24155 fi
24156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24157 ac_ext=c
24158 ac_cpp='$CPP $CPPFLAGS'
24159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24162
24163
24164 fi
24165
24166 fi
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24168 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24169
24170 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24171 for ac_func in _sincosf
24172 do :
24173 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24174 if test "x$ac_cv_func__sincosf" = x""yes; then :
24175 cat >>confdefs.h <<_ACEOF
24176 #define HAVE__SINCOSF 1
24177 _ACEOF
24178
24179 fi
24180 done
24181
24182 fi
24183 fi
24184
24185
24186
24187
24188
24189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24190 $as_echo_n "checking for finitef declaration... " >&6; }
24191 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24192 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24193 $as_echo_n "(cached) " >&6
24194 else
24195
24196
24197 ac_ext=cpp
24198 ac_cpp='$CXXCPP $CPPFLAGS'
24199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24202
24203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24204 /* end confdefs.h. */
24205 #include <math.h>
24206 #ifdef HAVE_IEEEFP_H
24207 #include <ieeefp.h>
24208 #endif
24209
24210 int
24211 main ()
24212 {
24213 finitef(0);
24214 ;
24215 return 0;
24216 }
24217 _ACEOF
24218 if ac_fn_cxx_try_compile "$LINENO"; then :
24219 glibcxx_cv_func_finitef_use=yes
24220 else
24221 glibcxx_cv_func_finitef_use=no
24222 fi
24223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224 ac_ext=c
24225 ac_cpp='$CPP $CPPFLAGS'
24226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24229
24230
24231 fi
24232
24233 fi
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24235 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24236
24237 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24238 for ac_func in finitef
24239 do :
24240 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24241 if test "x$ac_cv_func_finitef" = x""yes; then :
24242 cat >>confdefs.h <<_ACEOF
24243 #define HAVE_FINITEF 1
24244 _ACEOF
24245
24246 fi
24247 done
24248
24249 else
24250
24251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24252 $as_echo_n "checking for _finitef declaration... " >&6; }
24253 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24254 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24255 $as_echo_n "(cached) " >&6
24256 else
24257
24258
24259 ac_ext=cpp
24260 ac_cpp='$CXXCPP $CPPFLAGS'
24261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24264
24265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24266 /* end confdefs.h. */
24267 #include <math.h>
24268 #ifdef HAVE_IEEEFP_H
24269 #include <ieeefp.h>
24270 #endif
24271
24272 int
24273 main ()
24274 {
24275 _finitef(0);
24276 ;
24277 return 0;
24278 }
24279 _ACEOF
24280 if ac_fn_cxx_try_compile "$LINENO"; then :
24281 glibcxx_cv_func__finitef_use=yes
24282 else
24283 glibcxx_cv_func__finitef_use=no
24284 fi
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286 ac_ext=c
24287 ac_cpp='$CPP $CPPFLAGS'
24288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24291
24292
24293 fi
24294
24295 fi
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24297 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24298
24299 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24300 for ac_func in _finitef
24301 do :
24302 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24303 if test "x$ac_cv_func__finitef" = x""yes; then :
24304 cat >>confdefs.h <<_ACEOF
24305 #define HAVE__FINITEF 1
24306 _ACEOF
24307
24308 fi
24309 done
24310
24311 fi
24312 fi
24313
24314
24315
24316
24317
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24319 $as_echo_n "checking for long double trig functions... " >&6; }
24320 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24321 $as_echo_n "(cached) " >&6
24322 else
24323
24324
24325 ac_ext=cpp
24326 ac_cpp='$CXXCPP $CPPFLAGS'
24327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24330
24331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24332 /* end confdefs.h. */
24333 #include <math.h>
24334 int
24335 main ()
24336 {
24337 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24338 ;
24339 return 0;
24340 }
24341 _ACEOF
24342 if ac_fn_cxx_try_compile "$LINENO"; then :
24343 glibcxx_cv_func_long_double_trig_use=yes
24344 else
24345 glibcxx_cv_func_long_double_trig_use=no
24346 fi
24347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24348 ac_ext=c
24349 ac_cpp='$CPP $CPPFLAGS'
24350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24353
24354 fi
24355
24356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24357 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24358 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24359 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24360 do :
24361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24363 eval as_val=\$$as_ac_var
24364 if test "x$as_val" = x""yes; then :
24365 cat >>confdefs.h <<_ACEOF
24366 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24367 _ACEOF
24368
24369 fi
24370 done
24371
24372 else
24373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24374 $as_echo_n "checking for _long double trig functions... " >&6; }
24375 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24376 $as_echo_n "(cached) " >&6
24377 else
24378
24379
24380 ac_ext=cpp
24381 ac_cpp='$CXXCPP $CPPFLAGS'
24382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24385
24386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24387 /* end confdefs.h. */
24388 #include <math.h>
24389 int
24390 main ()
24391 {
24392 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24393 ;
24394 return 0;
24395 }
24396 _ACEOF
24397 if ac_fn_cxx_try_compile "$LINENO"; then :
24398 glibcxx_cv_func__long_double_trig_use=yes
24399 else
24400 glibcxx_cv_func__long_double_trig_use=no
24401 fi
24402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24403 ac_ext=c
24404 ac_cpp='$CPP $CPPFLAGS'
24405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24408
24409 fi
24410
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24412 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24413 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24414 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24415 do :
24416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24418 eval as_val=\$$as_ac_var
24419 if test "x$as_val" = x""yes; then :
24420 cat >>confdefs.h <<_ACEOF
24421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24422 _ACEOF
24423
24424 fi
24425 done
24426
24427 fi
24428 fi
24429
24430
24431
24432
24433
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24435 $as_echo_n "checking for long double round functions... " >&6; }
24436 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24437 $as_echo_n "(cached) " >&6
24438 else
24439
24440
24441 ac_ext=cpp
24442 ac_cpp='$CXXCPP $CPPFLAGS'
24443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24446
24447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24448 /* end confdefs.h. */
24449 #include <math.h>
24450 int
24451 main ()
24452 {
24453 ceill (0); floorl (0);
24454 ;
24455 return 0;
24456 }
24457 _ACEOF
24458 if ac_fn_cxx_try_compile "$LINENO"; then :
24459 glibcxx_cv_func_long_double_round_use=yes
24460 else
24461 glibcxx_cv_func_long_double_round_use=no
24462 fi
24463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24464 ac_ext=c
24465 ac_cpp='$CPP $CPPFLAGS'
24466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24469
24470 fi
24471
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24473 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24474 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24475 for ac_func in ceill floorl
24476 do :
24477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24479 eval as_val=\$$as_ac_var
24480 if test "x$as_val" = x""yes; then :
24481 cat >>confdefs.h <<_ACEOF
24482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24483 _ACEOF
24484
24485 fi
24486 done
24487
24488 else
24489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24490 $as_echo_n "checking for _long double round functions... " >&6; }
24491 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24492 $as_echo_n "(cached) " >&6
24493 else
24494
24495
24496 ac_ext=cpp
24497 ac_cpp='$CXXCPP $CPPFLAGS'
24498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24501
24502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24503 /* end confdefs.h. */
24504 #include <math.h>
24505 int
24506 main ()
24507 {
24508 _ceill (0); _floorl (0);
24509 ;
24510 return 0;
24511 }
24512 _ACEOF
24513 if ac_fn_cxx_try_compile "$LINENO"; then :
24514 glibcxx_cv_func__long_double_round_use=yes
24515 else
24516 glibcxx_cv_func__long_double_round_use=no
24517 fi
24518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24519 ac_ext=c
24520 ac_cpp='$CPP $CPPFLAGS'
24521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24524
24525 fi
24526
24527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24528 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24529 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24530 for ac_func in _ceill _floorl
24531 do :
24532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24534 eval as_val=\$$as_ac_var
24535 if test "x$as_val" = x""yes; then :
24536 cat >>confdefs.h <<_ACEOF
24537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24538 _ACEOF
24539
24540 fi
24541 done
24542
24543 fi
24544 fi
24545
24546
24547
24548
24549
24550
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24552 $as_echo_n "checking for isnanl declaration... " >&6; }
24553 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24554 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24555 $as_echo_n "(cached) " >&6
24556 else
24557
24558
24559 ac_ext=cpp
24560 ac_cpp='$CXXCPP $CPPFLAGS'
24561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24564
24565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24566 /* end confdefs.h. */
24567 #include <math.h>
24568 #ifdef HAVE_IEEEFP_H
24569 #include <ieeefp.h>
24570 #endif
24571
24572 int
24573 main ()
24574 {
24575 isnanl(0);
24576 ;
24577 return 0;
24578 }
24579 _ACEOF
24580 if ac_fn_cxx_try_compile "$LINENO"; then :
24581 glibcxx_cv_func_isnanl_use=yes
24582 else
24583 glibcxx_cv_func_isnanl_use=no
24584 fi
24585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586 ac_ext=c
24587 ac_cpp='$CPP $CPPFLAGS'
24588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24591
24592
24593 fi
24594
24595 fi
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24597 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24598
24599 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24600 for ac_func in isnanl
24601 do :
24602 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24603 if test "x$ac_cv_func_isnanl" = x""yes; then :
24604 cat >>confdefs.h <<_ACEOF
24605 #define HAVE_ISNANL 1
24606 _ACEOF
24607
24608 fi
24609 done
24610
24611 else
24612
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24614 $as_echo_n "checking for _isnanl declaration... " >&6; }
24615 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24616 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24617 $as_echo_n "(cached) " >&6
24618 else
24619
24620
24621 ac_ext=cpp
24622 ac_cpp='$CXXCPP $CPPFLAGS'
24623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24626
24627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24628 /* end confdefs.h. */
24629 #include <math.h>
24630 #ifdef HAVE_IEEEFP_H
24631 #include <ieeefp.h>
24632 #endif
24633
24634 int
24635 main ()
24636 {
24637 _isnanl(0);
24638 ;
24639 return 0;
24640 }
24641 _ACEOF
24642 if ac_fn_cxx_try_compile "$LINENO"; then :
24643 glibcxx_cv_func__isnanl_use=yes
24644 else
24645 glibcxx_cv_func__isnanl_use=no
24646 fi
24647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24648 ac_ext=c
24649 ac_cpp='$CPP $CPPFLAGS'
24650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24653
24654
24655 fi
24656
24657 fi
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24659 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24660
24661 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24662 for ac_func in _isnanl
24663 do :
24664 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24665 if test "x$ac_cv_func__isnanl" = x""yes; then :
24666 cat >>confdefs.h <<_ACEOF
24667 #define HAVE__ISNANL 1
24668 _ACEOF
24669
24670 fi
24671 done
24672
24673 fi
24674 fi
24675
24676
24677
24678
24679
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24681 $as_echo_n "checking for isinfl declaration... " >&6; }
24682 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24683 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24684 $as_echo_n "(cached) " >&6
24685 else
24686
24687
24688 ac_ext=cpp
24689 ac_cpp='$CXXCPP $CPPFLAGS'
24690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24693
24694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24695 /* end confdefs.h. */
24696 #include <math.h>
24697 #ifdef HAVE_IEEEFP_H
24698 #include <ieeefp.h>
24699 #endif
24700
24701 int
24702 main ()
24703 {
24704 isinfl(0);
24705 ;
24706 return 0;
24707 }
24708 _ACEOF
24709 if ac_fn_cxx_try_compile "$LINENO"; then :
24710 glibcxx_cv_func_isinfl_use=yes
24711 else
24712 glibcxx_cv_func_isinfl_use=no
24713 fi
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715 ac_ext=c
24716 ac_cpp='$CPP $CPPFLAGS'
24717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24720
24721
24722 fi
24723
24724 fi
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24726 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24727
24728 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24729 for ac_func in isinfl
24730 do :
24731 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24732 if test "x$ac_cv_func_isinfl" = x""yes; then :
24733 cat >>confdefs.h <<_ACEOF
24734 #define HAVE_ISINFL 1
24735 _ACEOF
24736
24737 fi
24738 done
24739
24740 else
24741
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24743 $as_echo_n "checking for _isinfl declaration... " >&6; }
24744 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24745 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24746 $as_echo_n "(cached) " >&6
24747 else
24748
24749
24750 ac_ext=cpp
24751 ac_cpp='$CXXCPP $CPPFLAGS'
24752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24755
24756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24757 /* end confdefs.h. */
24758 #include <math.h>
24759 #ifdef HAVE_IEEEFP_H
24760 #include <ieeefp.h>
24761 #endif
24762
24763 int
24764 main ()
24765 {
24766 _isinfl(0);
24767 ;
24768 return 0;
24769 }
24770 _ACEOF
24771 if ac_fn_cxx_try_compile "$LINENO"; then :
24772 glibcxx_cv_func__isinfl_use=yes
24773 else
24774 glibcxx_cv_func__isinfl_use=no
24775 fi
24776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24777 ac_ext=c
24778 ac_cpp='$CPP $CPPFLAGS'
24779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24782
24783
24784 fi
24785
24786 fi
24787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24788 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24789
24790 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24791 for ac_func in _isinfl
24792 do :
24793 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24794 if test "x$ac_cv_func__isinfl" = x""yes; then :
24795 cat >>confdefs.h <<_ACEOF
24796 #define HAVE__ISINFL 1
24797 _ACEOF
24798
24799 fi
24800 done
24801
24802 fi
24803 fi
24804
24805
24806
24807
24808
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24810 $as_echo_n "checking for atan2l declaration... " >&6; }
24811 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24812 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24813 $as_echo_n "(cached) " >&6
24814 else
24815
24816
24817 ac_ext=cpp
24818 ac_cpp='$CXXCPP $CPPFLAGS'
24819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24822
24823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24824 /* end confdefs.h. */
24825 #include <math.h>
24826 int
24827 main ()
24828 {
24829 atan2l(0, 0);
24830 ;
24831 return 0;
24832 }
24833 _ACEOF
24834 if ac_fn_cxx_try_compile "$LINENO"; then :
24835 glibcxx_cv_func_atan2l_use=yes
24836 else
24837 glibcxx_cv_func_atan2l_use=no
24838 fi
24839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24840 ac_ext=c
24841 ac_cpp='$CPP $CPPFLAGS'
24842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24845
24846
24847 fi
24848
24849 fi
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24851 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24852
24853 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24854 for ac_func in atan2l
24855 do :
24856 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24857 if test "x$ac_cv_func_atan2l" = x""yes; then :
24858 cat >>confdefs.h <<_ACEOF
24859 #define HAVE_ATAN2L 1
24860 _ACEOF
24861
24862 fi
24863 done
24864
24865 else
24866
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24868 $as_echo_n "checking for _atan2l declaration... " >&6; }
24869 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24870 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24871 $as_echo_n "(cached) " >&6
24872 else
24873
24874
24875 ac_ext=cpp
24876 ac_cpp='$CXXCPP $CPPFLAGS'
24877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24880
24881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24882 /* end confdefs.h. */
24883 #include <math.h>
24884 int
24885 main ()
24886 {
24887 _atan2l(0, 0);
24888 ;
24889 return 0;
24890 }
24891 _ACEOF
24892 if ac_fn_cxx_try_compile "$LINENO"; then :
24893 glibcxx_cv_func__atan2l_use=yes
24894 else
24895 glibcxx_cv_func__atan2l_use=no
24896 fi
24897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24898 ac_ext=c
24899 ac_cpp='$CPP $CPPFLAGS'
24900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24903
24904
24905 fi
24906
24907 fi
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24909 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24910
24911 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24912 for ac_func in _atan2l
24913 do :
24914 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24915 if test "x$ac_cv_func__atan2l" = x""yes; then :
24916 cat >>confdefs.h <<_ACEOF
24917 #define HAVE__ATAN2L 1
24918 _ACEOF
24919
24920 fi
24921 done
24922
24923 fi
24924 fi
24925
24926
24927
24928
24929
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24931 $as_echo_n "checking for expl declaration... " >&6; }
24932 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24933 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24934 $as_echo_n "(cached) " >&6
24935 else
24936
24937
24938 ac_ext=cpp
24939 ac_cpp='$CXXCPP $CPPFLAGS'
24940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24943
24944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24945 /* end confdefs.h. */
24946 #include <math.h>
24947 #ifdef HAVE_IEEEFP_H
24948 #include <ieeefp.h>
24949 #endif
24950
24951 int
24952 main ()
24953 {
24954 expl(0);
24955 ;
24956 return 0;
24957 }
24958 _ACEOF
24959 if ac_fn_cxx_try_compile "$LINENO"; then :
24960 glibcxx_cv_func_expl_use=yes
24961 else
24962 glibcxx_cv_func_expl_use=no
24963 fi
24964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24965 ac_ext=c
24966 ac_cpp='$CPP $CPPFLAGS'
24967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24970
24971
24972 fi
24973
24974 fi
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24976 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24977
24978 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24979 for ac_func in expl
24980 do :
24981 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24982 if test "x$ac_cv_func_expl" = x""yes; then :
24983 cat >>confdefs.h <<_ACEOF
24984 #define HAVE_EXPL 1
24985 _ACEOF
24986
24987 fi
24988 done
24989
24990 else
24991
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24993 $as_echo_n "checking for _expl declaration... " >&6; }
24994 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24995 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24996 $as_echo_n "(cached) " >&6
24997 else
24998
24999
25000 ac_ext=cpp
25001 ac_cpp='$CXXCPP $CPPFLAGS'
25002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25005
25006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25007 /* end confdefs.h. */
25008 #include <math.h>
25009 #ifdef HAVE_IEEEFP_H
25010 #include <ieeefp.h>
25011 #endif
25012
25013 int
25014 main ()
25015 {
25016 _expl(0);
25017 ;
25018 return 0;
25019 }
25020 _ACEOF
25021 if ac_fn_cxx_try_compile "$LINENO"; then :
25022 glibcxx_cv_func__expl_use=yes
25023 else
25024 glibcxx_cv_func__expl_use=no
25025 fi
25026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25027 ac_ext=c
25028 ac_cpp='$CPP $CPPFLAGS'
25029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25032
25033
25034 fi
25035
25036 fi
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25038 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25039
25040 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25041 for ac_func in _expl
25042 do :
25043 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25044 if test "x$ac_cv_func__expl" = x""yes; then :
25045 cat >>confdefs.h <<_ACEOF
25046 #define HAVE__EXPL 1
25047 _ACEOF
25048
25049 fi
25050 done
25051
25052 fi
25053 fi
25054
25055
25056
25057
25058
25059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25060 $as_echo_n "checking for fabsl declaration... " >&6; }
25061 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25062 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25063 $as_echo_n "(cached) " >&6
25064 else
25065
25066
25067 ac_ext=cpp
25068 ac_cpp='$CXXCPP $CPPFLAGS'
25069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25072
25073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25074 /* end confdefs.h. */
25075 #include <math.h>
25076 #ifdef HAVE_IEEEFP_H
25077 #include <ieeefp.h>
25078 #endif
25079
25080 int
25081 main ()
25082 {
25083 fabsl(0);
25084 ;
25085 return 0;
25086 }
25087 _ACEOF
25088 if ac_fn_cxx_try_compile "$LINENO"; then :
25089 glibcxx_cv_func_fabsl_use=yes
25090 else
25091 glibcxx_cv_func_fabsl_use=no
25092 fi
25093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25094 ac_ext=c
25095 ac_cpp='$CPP $CPPFLAGS'
25096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25099
25100
25101 fi
25102
25103 fi
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25105 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25106
25107 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25108 for ac_func in fabsl
25109 do :
25110 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25111 if test "x$ac_cv_func_fabsl" = x""yes; then :
25112 cat >>confdefs.h <<_ACEOF
25113 #define HAVE_FABSL 1
25114 _ACEOF
25115
25116 fi
25117 done
25118
25119 else
25120
25121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25122 $as_echo_n "checking for _fabsl declaration... " >&6; }
25123 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25124 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25125 $as_echo_n "(cached) " >&6
25126 else
25127
25128
25129 ac_ext=cpp
25130 ac_cpp='$CXXCPP $CPPFLAGS'
25131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25134
25135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25136 /* end confdefs.h. */
25137 #include <math.h>
25138 #ifdef HAVE_IEEEFP_H
25139 #include <ieeefp.h>
25140 #endif
25141
25142 int
25143 main ()
25144 {
25145 _fabsl(0);
25146 ;
25147 return 0;
25148 }
25149 _ACEOF
25150 if ac_fn_cxx_try_compile "$LINENO"; then :
25151 glibcxx_cv_func__fabsl_use=yes
25152 else
25153 glibcxx_cv_func__fabsl_use=no
25154 fi
25155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25156 ac_ext=c
25157 ac_cpp='$CPP $CPPFLAGS'
25158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25161
25162
25163 fi
25164
25165 fi
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25167 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25168
25169 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25170 for ac_func in _fabsl
25171 do :
25172 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25173 if test "x$ac_cv_func__fabsl" = x""yes; then :
25174 cat >>confdefs.h <<_ACEOF
25175 #define HAVE__FABSL 1
25176 _ACEOF
25177
25178 fi
25179 done
25180
25181 fi
25182 fi
25183
25184
25185
25186
25187
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25189 $as_echo_n "checking for fmodl declaration... " >&6; }
25190 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25191 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25192 $as_echo_n "(cached) " >&6
25193 else
25194
25195
25196 ac_ext=cpp
25197 ac_cpp='$CXXCPP $CPPFLAGS'
25198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25201
25202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25203 /* end confdefs.h. */
25204 #include <math.h>
25205 int
25206 main ()
25207 {
25208 fmodl(0, 0);
25209 ;
25210 return 0;
25211 }
25212 _ACEOF
25213 if ac_fn_cxx_try_compile "$LINENO"; then :
25214 glibcxx_cv_func_fmodl_use=yes
25215 else
25216 glibcxx_cv_func_fmodl_use=no
25217 fi
25218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25219 ac_ext=c
25220 ac_cpp='$CPP $CPPFLAGS'
25221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25224
25225
25226 fi
25227
25228 fi
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25230 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25231
25232 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25233 for ac_func in fmodl
25234 do :
25235 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25236 if test "x$ac_cv_func_fmodl" = x""yes; then :
25237 cat >>confdefs.h <<_ACEOF
25238 #define HAVE_FMODL 1
25239 _ACEOF
25240
25241 fi
25242 done
25243
25244 else
25245
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25247 $as_echo_n "checking for _fmodl declaration... " >&6; }
25248 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25249 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25250 $as_echo_n "(cached) " >&6
25251 else
25252
25253
25254 ac_ext=cpp
25255 ac_cpp='$CXXCPP $CPPFLAGS'
25256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25259
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25262 #include <math.h>
25263 int
25264 main ()
25265 {
25266 _fmodl(0, 0);
25267 ;
25268 return 0;
25269 }
25270 _ACEOF
25271 if ac_fn_cxx_try_compile "$LINENO"; then :
25272 glibcxx_cv_func__fmodl_use=yes
25273 else
25274 glibcxx_cv_func__fmodl_use=no
25275 fi
25276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25277 ac_ext=c
25278 ac_cpp='$CPP $CPPFLAGS'
25279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25282
25283
25284 fi
25285
25286 fi
25287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25288 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25289
25290 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25291 for ac_func in _fmodl
25292 do :
25293 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25294 if test "x$ac_cv_func__fmodl" = x""yes; then :
25295 cat >>confdefs.h <<_ACEOF
25296 #define HAVE__FMODL 1
25297 _ACEOF
25298
25299 fi
25300 done
25301
25302 fi
25303 fi
25304
25305
25306
25307
25308
25309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25310 $as_echo_n "checking for frexpl declaration... " >&6; }
25311 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25312 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25313 $as_echo_n "(cached) " >&6
25314 else
25315
25316
25317 ac_ext=cpp
25318 ac_cpp='$CXXCPP $CPPFLAGS'
25319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25322
25323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25324 /* end confdefs.h. */
25325 #include <math.h>
25326 int
25327 main ()
25328 {
25329 frexpl(0, 0);
25330 ;
25331 return 0;
25332 }
25333 _ACEOF
25334 if ac_fn_cxx_try_compile "$LINENO"; then :
25335 glibcxx_cv_func_frexpl_use=yes
25336 else
25337 glibcxx_cv_func_frexpl_use=no
25338 fi
25339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25340 ac_ext=c
25341 ac_cpp='$CPP $CPPFLAGS'
25342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25345
25346
25347 fi
25348
25349 fi
25350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25351 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25352
25353 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25354 for ac_func in frexpl
25355 do :
25356 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25357 if test "x$ac_cv_func_frexpl" = x""yes; then :
25358 cat >>confdefs.h <<_ACEOF
25359 #define HAVE_FREXPL 1
25360 _ACEOF
25361
25362 fi
25363 done
25364
25365 else
25366
25367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25368 $as_echo_n "checking for _frexpl declaration... " >&6; }
25369 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25370 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25371 $as_echo_n "(cached) " >&6
25372 else
25373
25374
25375 ac_ext=cpp
25376 ac_cpp='$CXXCPP $CPPFLAGS'
25377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25380
25381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25382 /* end confdefs.h. */
25383 #include <math.h>
25384 int
25385 main ()
25386 {
25387 _frexpl(0, 0);
25388 ;
25389 return 0;
25390 }
25391 _ACEOF
25392 if ac_fn_cxx_try_compile "$LINENO"; then :
25393 glibcxx_cv_func__frexpl_use=yes
25394 else
25395 glibcxx_cv_func__frexpl_use=no
25396 fi
25397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25398 ac_ext=c
25399 ac_cpp='$CPP $CPPFLAGS'
25400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25403
25404
25405 fi
25406
25407 fi
25408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25409 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25410
25411 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25412 for ac_func in _frexpl
25413 do :
25414 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25415 if test "x$ac_cv_func__frexpl" = x""yes; then :
25416 cat >>confdefs.h <<_ACEOF
25417 #define HAVE__FREXPL 1
25418 _ACEOF
25419
25420 fi
25421 done
25422
25423 fi
25424 fi
25425
25426
25427
25428
25429
25430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25431 $as_echo_n "checking for hypotl declaration... " >&6; }
25432 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25433 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25434 $as_echo_n "(cached) " >&6
25435 else
25436
25437
25438 ac_ext=cpp
25439 ac_cpp='$CXXCPP $CPPFLAGS'
25440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25443
25444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25445 /* end confdefs.h. */
25446 #include <math.h>
25447 int
25448 main ()
25449 {
25450 hypotl(0, 0);
25451 ;
25452 return 0;
25453 }
25454 _ACEOF
25455 if ac_fn_cxx_try_compile "$LINENO"; then :
25456 glibcxx_cv_func_hypotl_use=yes
25457 else
25458 glibcxx_cv_func_hypotl_use=no
25459 fi
25460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25461 ac_ext=c
25462 ac_cpp='$CPP $CPPFLAGS'
25463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25466
25467
25468 fi
25469
25470 fi
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25472 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25473
25474 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25475 for ac_func in hypotl
25476 do :
25477 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25478 if test "x$ac_cv_func_hypotl" = x""yes; then :
25479 cat >>confdefs.h <<_ACEOF
25480 #define HAVE_HYPOTL 1
25481 _ACEOF
25482
25483 fi
25484 done
25485
25486 else
25487
25488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25489 $as_echo_n "checking for _hypotl declaration... " >&6; }
25490 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25491 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25492 $as_echo_n "(cached) " >&6
25493 else
25494
25495
25496 ac_ext=cpp
25497 ac_cpp='$CXXCPP $CPPFLAGS'
25498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25501
25502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25503 /* end confdefs.h. */
25504 #include <math.h>
25505 int
25506 main ()
25507 {
25508 _hypotl(0, 0);
25509 ;
25510 return 0;
25511 }
25512 _ACEOF
25513 if ac_fn_cxx_try_compile "$LINENO"; then :
25514 glibcxx_cv_func__hypotl_use=yes
25515 else
25516 glibcxx_cv_func__hypotl_use=no
25517 fi
25518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25519 ac_ext=c
25520 ac_cpp='$CPP $CPPFLAGS'
25521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25524
25525
25526 fi
25527
25528 fi
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25530 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25531
25532 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25533 for ac_func in _hypotl
25534 do :
25535 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25536 if test "x$ac_cv_func__hypotl" = x""yes; then :
25537 cat >>confdefs.h <<_ACEOF
25538 #define HAVE__HYPOTL 1
25539 _ACEOF
25540
25541 fi
25542 done
25543
25544 fi
25545 fi
25546
25547
25548
25549
25550
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25552 $as_echo_n "checking for ldexpl declaration... " >&6; }
25553 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25554 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25555 $as_echo_n "(cached) " >&6
25556 else
25557
25558
25559 ac_ext=cpp
25560 ac_cpp='$CXXCPP $CPPFLAGS'
25561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25564
25565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25566 /* end confdefs.h. */
25567 #include <math.h>
25568 int
25569 main ()
25570 {
25571 ldexpl(0, 0);
25572 ;
25573 return 0;
25574 }
25575 _ACEOF
25576 if ac_fn_cxx_try_compile "$LINENO"; then :
25577 glibcxx_cv_func_ldexpl_use=yes
25578 else
25579 glibcxx_cv_func_ldexpl_use=no
25580 fi
25581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25582 ac_ext=c
25583 ac_cpp='$CPP $CPPFLAGS'
25584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25587
25588
25589 fi
25590
25591 fi
25592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25593 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25594
25595 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25596 for ac_func in ldexpl
25597 do :
25598 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25599 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25600 cat >>confdefs.h <<_ACEOF
25601 #define HAVE_LDEXPL 1
25602 _ACEOF
25603
25604 fi
25605 done
25606
25607 else
25608
25609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25610 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25611 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25612 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25613 $as_echo_n "(cached) " >&6
25614 else
25615
25616
25617 ac_ext=cpp
25618 ac_cpp='$CXXCPP $CPPFLAGS'
25619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25622
25623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25624 /* end confdefs.h. */
25625 #include <math.h>
25626 int
25627 main ()
25628 {
25629 _ldexpl(0, 0);
25630 ;
25631 return 0;
25632 }
25633 _ACEOF
25634 if ac_fn_cxx_try_compile "$LINENO"; then :
25635 glibcxx_cv_func__ldexpl_use=yes
25636 else
25637 glibcxx_cv_func__ldexpl_use=no
25638 fi
25639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25640 ac_ext=c
25641 ac_cpp='$CPP $CPPFLAGS'
25642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25645
25646
25647 fi
25648
25649 fi
25650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25651 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25652
25653 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25654 for ac_func in _ldexpl
25655 do :
25656 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25657 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25658 cat >>confdefs.h <<_ACEOF
25659 #define HAVE__LDEXPL 1
25660 _ACEOF
25661
25662 fi
25663 done
25664
25665 fi
25666 fi
25667
25668
25669
25670
25671
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25673 $as_echo_n "checking for logl declaration... " >&6; }
25674 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25675 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25676 $as_echo_n "(cached) " >&6
25677 else
25678
25679
25680 ac_ext=cpp
25681 ac_cpp='$CXXCPP $CPPFLAGS'
25682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25685
25686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25687 /* end confdefs.h. */
25688 #include <math.h>
25689 #ifdef HAVE_IEEEFP_H
25690 #include <ieeefp.h>
25691 #endif
25692
25693 int
25694 main ()
25695 {
25696 logl(0);
25697 ;
25698 return 0;
25699 }
25700 _ACEOF
25701 if ac_fn_cxx_try_compile "$LINENO"; then :
25702 glibcxx_cv_func_logl_use=yes
25703 else
25704 glibcxx_cv_func_logl_use=no
25705 fi
25706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25707 ac_ext=c
25708 ac_cpp='$CPP $CPPFLAGS'
25709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25712
25713
25714 fi
25715
25716 fi
25717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25718 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25719
25720 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25721 for ac_func in logl
25722 do :
25723 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25724 if test "x$ac_cv_func_logl" = x""yes; then :
25725 cat >>confdefs.h <<_ACEOF
25726 #define HAVE_LOGL 1
25727 _ACEOF
25728
25729 fi
25730 done
25731
25732 else
25733
25734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25735 $as_echo_n "checking for _logl declaration... " >&6; }
25736 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25737 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25738 $as_echo_n "(cached) " >&6
25739 else
25740
25741
25742 ac_ext=cpp
25743 ac_cpp='$CXXCPP $CPPFLAGS'
25744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25747
25748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25749 /* end confdefs.h. */
25750 #include <math.h>
25751 #ifdef HAVE_IEEEFP_H
25752 #include <ieeefp.h>
25753 #endif
25754
25755 int
25756 main ()
25757 {
25758 _logl(0);
25759 ;
25760 return 0;
25761 }
25762 _ACEOF
25763 if ac_fn_cxx_try_compile "$LINENO"; then :
25764 glibcxx_cv_func__logl_use=yes
25765 else
25766 glibcxx_cv_func__logl_use=no
25767 fi
25768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25769 ac_ext=c
25770 ac_cpp='$CPP $CPPFLAGS'
25771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25774
25775
25776 fi
25777
25778 fi
25779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25780 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25781
25782 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25783 for ac_func in _logl
25784 do :
25785 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25786 if test "x$ac_cv_func__logl" = x""yes; then :
25787 cat >>confdefs.h <<_ACEOF
25788 #define HAVE__LOGL 1
25789 _ACEOF
25790
25791 fi
25792 done
25793
25794 fi
25795 fi
25796
25797
25798
25799
25800
25801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25802 $as_echo_n "checking for log10l declaration... " >&6; }
25803 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25804 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25805 $as_echo_n "(cached) " >&6
25806 else
25807
25808
25809 ac_ext=cpp
25810 ac_cpp='$CXXCPP $CPPFLAGS'
25811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25814
25815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25816 /* end confdefs.h. */
25817 #include <math.h>
25818 #ifdef HAVE_IEEEFP_H
25819 #include <ieeefp.h>
25820 #endif
25821
25822 int
25823 main ()
25824 {
25825 log10l(0);
25826 ;
25827 return 0;
25828 }
25829 _ACEOF
25830 if ac_fn_cxx_try_compile "$LINENO"; then :
25831 glibcxx_cv_func_log10l_use=yes
25832 else
25833 glibcxx_cv_func_log10l_use=no
25834 fi
25835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25836 ac_ext=c
25837 ac_cpp='$CPP $CPPFLAGS'
25838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25841
25842
25843 fi
25844
25845 fi
25846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25847 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25848
25849 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25850 for ac_func in log10l
25851 do :
25852 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25853 if test "x$ac_cv_func_log10l" = x""yes; then :
25854 cat >>confdefs.h <<_ACEOF
25855 #define HAVE_LOG10L 1
25856 _ACEOF
25857
25858 fi
25859 done
25860
25861 else
25862
25863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25864 $as_echo_n "checking for _log10l declaration... " >&6; }
25865 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25866 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25867 $as_echo_n "(cached) " >&6
25868 else
25869
25870
25871 ac_ext=cpp
25872 ac_cpp='$CXXCPP $CPPFLAGS'
25873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25876
25877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25878 /* end confdefs.h. */
25879 #include <math.h>
25880 #ifdef HAVE_IEEEFP_H
25881 #include <ieeefp.h>
25882 #endif
25883
25884 int
25885 main ()
25886 {
25887 _log10l(0);
25888 ;
25889 return 0;
25890 }
25891 _ACEOF
25892 if ac_fn_cxx_try_compile "$LINENO"; then :
25893 glibcxx_cv_func__log10l_use=yes
25894 else
25895 glibcxx_cv_func__log10l_use=no
25896 fi
25897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25898 ac_ext=c
25899 ac_cpp='$CPP $CPPFLAGS'
25900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25903
25904
25905 fi
25906
25907 fi
25908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25909 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25910
25911 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25912 for ac_func in _log10l
25913 do :
25914 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25915 if test "x$ac_cv_func__log10l" = x""yes; then :
25916 cat >>confdefs.h <<_ACEOF
25917 #define HAVE__LOG10L 1
25918 _ACEOF
25919
25920 fi
25921 done
25922
25923 fi
25924 fi
25925
25926
25927
25928
25929
25930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25931 $as_echo_n "checking for modfl declaration... " >&6; }
25932 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25933 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25934 $as_echo_n "(cached) " >&6
25935 else
25936
25937
25938 ac_ext=cpp
25939 ac_cpp='$CXXCPP $CPPFLAGS'
25940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25943
25944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25945 /* end confdefs.h. */
25946 #include <math.h>
25947 int
25948 main ()
25949 {
25950 modfl(0, 0);
25951 ;
25952 return 0;
25953 }
25954 _ACEOF
25955 if ac_fn_cxx_try_compile "$LINENO"; then :
25956 glibcxx_cv_func_modfl_use=yes
25957 else
25958 glibcxx_cv_func_modfl_use=no
25959 fi
25960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25961 ac_ext=c
25962 ac_cpp='$CPP $CPPFLAGS'
25963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25966
25967
25968 fi
25969
25970 fi
25971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25972 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25973
25974 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25975 for ac_func in modfl
25976 do :
25977 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25978 if test "x$ac_cv_func_modfl" = x""yes; then :
25979 cat >>confdefs.h <<_ACEOF
25980 #define HAVE_MODFL 1
25981 _ACEOF
25982
25983 fi
25984 done
25985
25986 else
25987
25988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25989 $as_echo_n "checking for _modfl declaration... " >&6; }
25990 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25991 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25992 $as_echo_n "(cached) " >&6
25993 else
25994
25995
25996 ac_ext=cpp
25997 ac_cpp='$CXXCPP $CPPFLAGS'
25998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26001
26002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26003 /* end confdefs.h. */
26004 #include <math.h>
26005 int
26006 main ()
26007 {
26008 _modfl(0, 0);
26009 ;
26010 return 0;
26011 }
26012 _ACEOF
26013 if ac_fn_cxx_try_compile "$LINENO"; then :
26014 glibcxx_cv_func__modfl_use=yes
26015 else
26016 glibcxx_cv_func__modfl_use=no
26017 fi
26018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26019 ac_ext=c
26020 ac_cpp='$CPP $CPPFLAGS'
26021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26024
26025
26026 fi
26027
26028 fi
26029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26030 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26031
26032 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26033 for ac_func in _modfl
26034 do :
26035 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26036 if test "x$ac_cv_func__modfl" = x""yes; then :
26037 cat >>confdefs.h <<_ACEOF
26038 #define HAVE__MODFL 1
26039 _ACEOF
26040
26041 fi
26042 done
26043
26044 fi
26045 fi
26046
26047
26048
26049
26050
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26052 $as_echo_n "checking for powl declaration... " >&6; }
26053 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26054 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26055 $as_echo_n "(cached) " >&6
26056 else
26057
26058
26059 ac_ext=cpp
26060 ac_cpp='$CXXCPP $CPPFLAGS'
26061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26064
26065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26066 /* end confdefs.h. */
26067 #include <math.h>
26068 int
26069 main ()
26070 {
26071 powl(0, 0);
26072 ;
26073 return 0;
26074 }
26075 _ACEOF
26076 if ac_fn_cxx_try_compile "$LINENO"; then :
26077 glibcxx_cv_func_powl_use=yes
26078 else
26079 glibcxx_cv_func_powl_use=no
26080 fi
26081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26082 ac_ext=c
26083 ac_cpp='$CPP $CPPFLAGS'
26084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26087
26088
26089 fi
26090
26091 fi
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26093 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26094
26095 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26096 for ac_func in powl
26097 do :
26098 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26099 if test "x$ac_cv_func_powl" = x""yes; then :
26100 cat >>confdefs.h <<_ACEOF
26101 #define HAVE_POWL 1
26102 _ACEOF
26103
26104 fi
26105 done
26106
26107 else
26108
26109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26110 $as_echo_n "checking for _powl declaration... " >&6; }
26111 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26112 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26113 $as_echo_n "(cached) " >&6
26114 else
26115
26116
26117 ac_ext=cpp
26118 ac_cpp='$CXXCPP $CPPFLAGS'
26119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26122
26123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26124 /* end confdefs.h. */
26125 #include <math.h>
26126 int
26127 main ()
26128 {
26129 _powl(0, 0);
26130 ;
26131 return 0;
26132 }
26133 _ACEOF
26134 if ac_fn_cxx_try_compile "$LINENO"; then :
26135 glibcxx_cv_func__powl_use=yes
26136 else
26137 glibcxx_cv_func__powl_use=no
26138 fi
26139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26140 ac_ext=c
26141 ac_cpp='$CPP $CPPFLAGS'
26142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26145
26146
26147 fi
26148
26149 fi
26150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26151 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26152
26153 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26154 for ac_func in _powl
26155 do :
26156 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26157 if test "x$ac_cv_func__powl" = x""yes; then :
26158 cat >>confdefs.h <<_ACEOF
26159 #define HAVE__POWL 1
26160 _ACEOF
26161
26162 fi
26163 done
26164
26165 fi
26166 fi
26167
26168
26169
26170
26171
26172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26173 $as_echo_n "checking for sqrtl declaration... " >&6; }
26174 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26175 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26176 $as_echo_n "(cached) " >&6
26177 else
26178
26179
26180 ac_ext=cpp
26181 ac_cpp='$CXXCPP $CPPFLAGS'
26182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26185
26186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26187 /* end confdefs.h. */
26188 #include <math.h>
26189 #ifdef HAVE_IEEEFP_H
26190 #include <ieeefp.h>
26191 #endif
26192
26193 int
26194 main ()
26195 {
26196 sqrtl(0);
26197 ;
26198 return 0;
26199 }
26200 _ACEOF
26201 if ac_fn_cxx_try_compile "$LINENO"; then :
26202 glibcxx_cv_func_sqrtl_use=yes
26203 else
26204 glibcxx_cv_func_sqrtl_use=no
26205 fi
26206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26207 ac_ext=c
26208 ac_cpp='$CPP $CPPFLAGS'
26209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26212
26213
26214 fi
26215
26216 fi
26217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26218 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26219
26220 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26221 for ac_func in sqrtl
26222 do :
26223 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26224 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26225 cat >>confdefs.h <<_ACEOF
26226 #define HAVE_SQRTL 1
26227 _ACEOF
26228
26229 fi
26230 done
26231
26232 else
26233
26234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26235 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26236 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26237 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26238 $as_echo_n "(cached) " >&6
26239 else
26240
26241
26242 ac_ext=cpp
26243 ac_cpp='$CXXCPP $CPPFLAGS'
26244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26247
26248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26249 /* end confdefs.h. */
26250 #include <math.h>
26251 #ifdef HAVE_IEEEFP_H
26252 #include <ieeefp.h>
26253 #endif
26254
26255 int
26256 main ()
26257 {
26258 _sqrtl(0);
26259 ;
26260 return 0;
26261 }
26262 _ACEOF
26263 if ac_fn_cxx_try_compile "$LINENO"; then :
26264 glibcxx_cv_func__sqrtl_use=yes
26265 else
26266 glibcxx_cv_func__sqrtl_use=no
26267 fi
26268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26269 ac_ext=c
26270 ac_cpp='$CPP $CPPFLAGS'
26271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26274
26275
26276 fi
26277
26278 fi
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26280 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26281
26282 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26283 for ac_func in _sqrtl
26284 do :
26285 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26286 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26287 cat >>confdefs.h <<_ACEOF
26288 #define HAVE__SQRTL 1
26289 _ACEOF
26290
26291 fi
26292 done
26293
26294 fi
26295 fi
26296
26297
26298
26299
26300
26301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26302 $as_echo_n "checking for sincosl declaration... " >&6; }
26303 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26304 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26305 $as_echo_n "(cached) " >&6
26306 else
26307
26308
26309 ac_ext=cpp
26310 ac_cpp='$CXXCPP $CPPFLAGS'
26311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26314
26315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26316 /* end confdefs.h. */
26317 #include <math.h>
26318 int
26319 main ()
26320 {
26321 sincosl(0, 0, 0);
26322 ;
26323 return 0;
26324 }
26325 _ACEOF
26326 if ac_fn_cxx_try_compile "$LINENO"; then :
26327 glibcxx_cv_func_sincosl_use=yes
26328 else
26329 glibcxx_cv_func_sincosl_use=no
26330 fi
26331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26332 ac_ext=c
26333 ac_cpp='$CPP $CPPFLAGS'
26334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26337
26338
26339 fi
26340
26341 fi
26342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26343 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26344
26345 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26346 for ac_func in sincosl
26347 do :
26348 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26349 if test "x$ac_cv_func_sincosl" = x""yes; then :
26350 cat >>confdefs.h <<_ACEOF
26351 #define HAVE_SINCOSL 1
26352 _ACEOF
26353
26354 fi
26355 done
26356
26357 else
26358
26359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26360 $as_echo_n "checking for _sincosl declaration... " >&6; }
26361 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26362 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26363 $as_echo_n "(cached) " >&6
26364 else
26365
26366
26367 ac_ext=cpp
26368 ac_cpp='$CXXCPP $CPPFLAGS'
26369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26372
26373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26374 /* end confdefs.h. */
26375 #include <math.h>
26376 int
26377 main ()
26378 {
26379 _sincosl(0, 0, 0);
26380 ;
26381 return 0;
26382 }
26383 _ACEOF
26384 if ac_fn_cxx_try_compile "$LINENO"; then :
26385 glibcxx_cv_func__sincosl_use=yes
26386 else
26387 glibcxx_cv_func__sincosl_use=no
26388 fi
26389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26390 ac_ext=c
26391 ac_cpp='$CPP $CPPFLAGS'
26392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26395
26396
26397 fi
26398
26399 fi
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26401 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26402
26403 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26404 for ac_func in _sincosl
26405 do :
26406 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26407 if test "x$ac_cv_func__sincosl" = x""yes; then :
26408 cat >>confdefs.h <<_ACEOF
26409 #define HAVE__SINCOSL 1
26410 _ACEOF
26411
26412 fi
26413 done
26414
26415 fi
26416 fi
26417
26418
26419
26420
26421
26422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26423 $as_echo_n "checking for finitel declaration... " >&6; }
26424 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26425 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26426 $as_echo_n "(cached) " >&6
26427 else
26428
26429
26430 ac_ext=cpp
26431 ac_cpp='$CXXCPP $CPPFLAGS'
26432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26435
26436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26437 /* end confdefs.h. */
26438 #include <math.h>
26439 #ifdef HAVE_IEEEFP_H
26440 #include <ieeefp.h>
26441 #endif
26442
26443 int
26444 main ()
26445 {
26446 finitel(0);
26447 ;
26448 return 0;
26449 }
26450 _ACEOF
26451 if ac_fn_cxx_try_compile "$LINENO"; then :
26452 glibcxx_cv_func_finitel_use=yes
26453 else
26454 glibcxx_cv_func_finitel_use=no
26455 fi
26456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26457 ac_ext=c
26458 ac_cpp='$CPP $CPPFLAGS'
26459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26462
26463
26464 fi
26465
26466 fi
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26468 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26469
26470 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26471 for ac_func in finitel
26472 do :
26473 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26474 if test "x$ac_cv_func_finitel" = x""yes; then :
26475 cat >>confdefs.h <<_ACEOF
26476 #define HAVE_FINITEL 1
26477 _ACEOF
26478
26479 fi
26480 done
26481
26482 else
26483
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26485 $as_echo_n "checking for _finitel declaration... " >&6; }
26486 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26487 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26488 $as_echo_n "(cached) " >&6
26489 else
26490
26491
26492 ac_ext=cpp
26493 ac_cpp='$CXXCPP $CPPFLAGS'
26494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26497
26498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26499 /* end confdefs.h. */
26500 #include <math.h>
26501 #ifdef HAVE_IEEEFP_H
26502 #include <ieeefp.h>
26503 #endif
26504
26505 int
26506 main ()
26507 {
26508 _finitel(0);
26509 ;
26510 return 0;
26511 }
26512 _ACEOF
26513 if ac_fn_cxx_try_compile "$LINENO"; then :
26514 glibcxx_cv_func__finitel_use=yes
26515 else
26516 glibcxx_cv_func__finitel_use=no
26517 fi
26518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26519 ac_ext=c
26520 ac_cpp='$CPP $CPPFLAGS'
26521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26524
26525
26526 fi
26527
26528 fi
26529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26530 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26531
26532 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26533 for ac_func in _finitel
26534 do :
26535 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26536 if test "x$ac_cv_func__finitel" = x""yes; then :
26537 cat >>confdefs.h <<_ACEOF
26538 #define HAVE__FINITEL 1
26539 _ACEOF
26540
26541 fi
26542 done
26543
26544 fi
26545 fi
26546
26547
26548
26549
26550 LIBS="$ac_save_LIBS"
26551 CXXFLAGS="$ac_save_CXXFLAGS"
26552
26553
26554 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26555 ac_save_CXXFLAGS="$CXXFLAGS"
26556 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26557
26558
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26560 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26561 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26562 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26563 $as_echo_n "(cached) " >&6
26564 else
26565
26566
26567 ac_ext=cpp
26568 ac_cpp='$CXXCPP $CPPFLAGS'
26569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26572
26573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26574 /* end confdefs.h. */
26575 #include <stdlib.h>
26576 int
26577 main ()
26578 {
26579 at_quick_exit(0);
26580 ;
26581 return 0;
26582 }
26583 _ACEOF
26584 if ac_fn_cxx_try_compile "$LINENO"; then :
26585 glibcxx_cv_func_at_quick_exit_use=yes
26586 else
26587 glibcxx_cv_func_at_quick_exit_use=no
26588 fi
26589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26590 ac_ext=c
26591 ac_cpp='$CPP $CPPFLAGS'
26592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26595
26596
26597 fi
26598
26599 fi
26600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26601 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26602 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26603 for ac_func in at_quick_exit
26604 do :
26605 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26606 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26607 cat >>confdefs.h <<_ACEOF
26608 #define HAVE_AT_QUICK_EXIT 1
26609 _ACEOF
26610
26611 fi
26612 done
26613
26614 fi
26615
26616
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26618 $as_echo_n "checking for quick_exit declaration... " >&6; }
26619 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26620 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26621 $as_echo_n "(cached) " >&6
26622 else
26623
26624
26625 ac_ext=cpp
26626 ac_cpp='$CXXCPP $CPPFLAGS'
26627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26630
26631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26632 /* end confdefs.h. */
26633 #include <stdlib.h>
26634 int
26635 main ()
26636 {
26637 quick_exit(0);
26638 ;
26639 return 0;
26640 }
26641 _ACEOF
26642 if ac_fn_cxx_try_compile "$LINENO"; then :
26643 glibcxx_cv_func_quick_exit_use=yes
26644 else
26645 glibcxx_cv_func_quick_exit_use=no
26646 fi
26647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648 ac_ext=c
26649 ac_cpp='$CPP $CPPFLAGS'
26650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26653
26654
26655 fi
26656
26657 fi
26658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26659 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26660 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26661 for ac_func in quick_exit
26662 do :
26663 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26664 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26665 cat >>confdefs.h <<_ACEOF
26666 #define HAVE_QUICK_EXIT 1
26667 _ACEOF
26668
26669 fi
26670 done
26671
26672 fi
26673
26674
26675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26676 $as_echo_n "checking for strtold declaration... " >&6; }
26677 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26678 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26679 $as_echo_n "(cached) " >&6
26680 else
26681
26682
26683 ac_ext=cpp
26684 ac_cpp='$CXXCPP $CPPFLAGS'
26685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26688
26689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26690 /* end confdefs.h. */
26691 #include <stdlib.h>
26692 int
26693 main ()
26694 {
26695 strtold(0, 0);
26696 ;
26697 return 0;
26698 }
26699 _ACEOF
26700 if ac_fn_cxx_try_compile "$LINENO"; then :
26701 glibcxx_cv_func_strtold_use=yes
26702 else
26703 glibcxx_cv_func_strtold_use=no
26704 fi
26705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26706 ac_ext=c
26707 ac_cpp='$CPP $CPPFLAGS'
26708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26711
26712
26713 fi
26714
26715 fi
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26717 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26718 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26719 for ac_func in strtold
26720 do :
26721 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26722 if test "x$ac_cv_func_strtold" = x""yes; then :
26723 cat >>confdefs.h <<_ACEOF
26724 #define HAVE_STRTOLD 1
26725 _ACEOF
26726
26727 fi
26728 done
26729
26730 fi
26731
26732
26733
26734
26735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26736 $as_echo_n "checking for strtof declaration... " >&6; }
26737 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26738 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26739 $as_echo_n "(cached) " >&6
26740 else
26741
26742
26743 ac_ext=cpp
26744 ac_cpp='$CXXCPP $CPPFLAGS'
26745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26748
26749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26750 /* end confdefs.h. */
26751 #include <stdlib.h>
26752 int
26753 main ()
26754 {
26755 strtof(0, 0);
26756 ;
26757 return 0;
26758 }
26759 _ACEOF
26760 if ac_fn_cxx_try_compile "$LINENO"; then :
26761 glibcxx_cv_func_strtof_use=yes
26762 else
26763 glibcxx_cv_func_strtof_use=no
26764 fi
26765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26766 ac_ext=c
26767 ac_cpp='$CPP $CPPFLAGS'
26768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26771
26772
26773 fi
26774
26775 fi
26776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26777 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26778 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26779 for ac_func in strtof
26780 do :
26781 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26782 if test "x$ac_cv_func_strtof" = x""yes; then :
26783 cat >>confdefs.h <<_ACEOF
26784 #define HAVE_STRTOF 1
26785 _ACEOF
26786
26787 fi
26788 done
26789
26790 fi
26791
26792
26793
26794
26795 CXXFLAGS="$ac_save_CXXFLAGS"
26796
26797
26798 # For /dev/random and /dev/urandom for TR1.
26799
26800
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26802 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26803 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26804 $as_echo_n "(cached) " >&6
26805 else
26806
26807 if test -r /dev/random && test -r /dev/urandom; then
26808 ## For MSys environment the test above is detect as false-positive
26809 ## on mingw-targets. So disable it explicit for them.
26810 case ${target_os} in
26811 *mingw*) glibcxx_cv_random_tr1=no ;;
26812 *) glibcxx_cv_random_tr1=yes ;;
26813 esac
26814 else
26815 glibcxx_cv_random_tr1=no;
26816 fi
26817
26818 fi
26819
26820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26821 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26822
26823 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26824
26825 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26826
26827 fi
26828
26829
26830
26831 # For TLS support.
26832
26833
26834 # Check whether --enable-tls was given.
26835 if test "${enable_tls+set}" = set; then :
26836 enableval=$enable_tls;
26837 case "$enableval" in
26838 yes|no) ;;
26839 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26840 esac
26841
26842 else
26843 enable_tls=yes
26844 fi
26845
26846
26847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26848 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26849 if test "${gcc_cv_have_tls+set}" = set; then :
26850 $as_echo_n "(cached) " >&6
26851 else
26852
26853 if test "$cross_compiling" = yes; then :
26854 if test x$gcc_no_link = xyes; then
26855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26856 fi
26857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26858 /* end confdefs.h. */
26859 __thread int a; int b; int main() { return a = b; }
26860 _ACEOF
26861 if ac_fn_c_try_link "$LINENO"; then :
26862 chktls_save_LDFLAGS="$LDFLAGS"
26863 case $host in
26864 *-*-linux*)
26865 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26866 ;;
26867 esac
26868 chktls_save_CFLAGS="$CFLAGS"
26869 CFLAGS="-fPIC $CFLAGS"
26870 if test x$gcc_no_link = xyes; then
26871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26872 fi
26873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26874 /* end confdefs.h. */
26875 int f() { return 0; }
26876 _ACEOF
26877 if ac_fn_c_try_link "$LINENO"; then :
26878 if test x$gcc_no_link = xyes; then
26879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26880 fi
26881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26882 /* end confdefs.h. */
26883 __thread int a; int b; int f() { return a = b; }
26884 _ACEOF
26885 if ac_fn_c_try_link "$LINENO"; then :
26886 gcc_cv_have_tls=yes
26887 else
26888 gcc_cv_have_tls=no
26889 fi
26890 rm -f core conftest.err conftest.$ac_objext \
26891 conftest$ac_exeext conftest.$ac_ext
26892 else
26893 gcc_cv_have_tls=yes
26894 fi
26895 rm -f core conftest.err conftest.$ac_objext \
26896 conftest$ac_exeext conftest.$ac_ext
26897 CFLAGS="$chktls_save_CFLAGS"
26898 LDFLAGS="$chktls_save_LDFLAGS"
26899 else
26900 gcc_cv_have_tls=no
26901 fi
26902 rm -f core conftest.err conftest.$ac_objext \
26903 conftest$ac_exeext conftest.$ac_ext
26904
26905
26906 else
26907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26908 /* end confdefs.h. */
26909 __thread int a; int b; int main() { return a = b; }
26910 _ACEOF
26911 if ac_fn_c_try_run "$LINENO"; then :
26912 chktls_save_LDFLAGS="$LDFLAGS"
26913 LDFLAGS="-static $LDFLAGS"
26914 if test x$gcc_no_link = xyes; then
26915 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26916 fi
26917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26918 /* end confdefs.h. */
26919 int main() { return 0; }
26920 _ACEOF
26921 if ac_fn_c_try_link "$LINENO"; then :
26922 if test "$cross_compiling" = yes; then :
26923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26925 as_fn_error "cannot run test program while cross compiling
26926 See \`config.log' for more details." "$LINENO" 5; }
26927 else
26928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26929 /* end confdefs.h. */
26930 __thread int a; int b; int main() { return a = b; }
26931 _ACEOF
26932 if ac_fn_c_try_run "$LINENO"; then :
26933 gcc_cv_have_tls=yes
26934 else
26935 gcc_cv_have_tls=no
26936 fi
26937 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26938 conftest.$ac_objext conftest.beam conftest.$ac_ext
26939 fi
26940
26941 else
26942 gcc_cv_have_tls=yes
26943 fi
26944 rm -f core conftest.err conftest.$ac_objext \
26945 conftest$ac_exeext conftest.$ac_ext
26946 LDFLAGS="$chktls_save_LDFLAGS"
26947 if test $gcc_cv_have_tls = yes; then
26948 chktls_save_CFLAGS="$CFLAGS"
26949 thread_CFLAGS=failed
26950 for flag in '' '-pthread' '-lpthread'; do
26951 CFLAGS="$flag $chktls_save_CFLAGS"
26952 if test x$gcc_no_link = xyes; then
26953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26954 fi
26955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26956 /* end confdefs.h. */
26957 #include <pthread.h>
26958 void *g(void *d) { return NULL; }
26959 int
26960 main ()
26961 {
26962 pthread_t t; pthread_create(&t,NULL,g,NULL);
26963 ;
26964 return 0;
26965 }
26966 _ACEOF
26967 if ac_fn_c_try_link "$LINENO"; then :
26968 thread_CFLAGS="$flag"
26969 fi
26970 rm -f core conftest.err conftest.$ac_objext \
26971 conftest$ac_exeext conftest.$ac_ext
26972 if test "X$thread_CFLAGS" != Xfailed; then
26973 break
26974 fi
26975 done
26976 CFLAGS="$chktls_save_CFLAGS"
26977 if test "X$thread_CFLAGS" != Xfailed; then
26978 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26979 if test "$cross_compiling" = yes; then :
26980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26982 as_fn_error "cannot run test program while cross compiling
26983 See \`config.log' for more details." "$LINENO" 5; }
26984 else
26985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26986 /* end confdefs.h. */
26987 #include <pthread.h>
26988 __thread int a;
26989 static int *volatile a_in_other_thread;
26990 static void *
26991 thread_func (void *arg)
26992 {
26993 a_in_other_thread = &a;
26994 return (void *)0;
26995 }
26996 int
26997 main ()
26998 {
26999 pthread_t thread;
27000 void *thread_retval;
27001 int *volatile a_in_main_thread;
27002 a_in_main_thread = &a;
27003 if (pthread_create (&thread, (pthread_attr_t *)0,
27004 thread_func, (void *)0))
27005 return 0;
27006 if (pthread_join (thread, &thread_retval))
27007 return 0;
27008 return (a_in_other_thread == a_in_main_thread);
27009 ;
27010 return 0;
27011 }
27012 _ACEOF
27013 if ac_fn_c_try_run "$LINENO"; then :
27014 gcc_cv_have_tls=yes
27015 else
27016 gcc_cv_have_tls=no
27017 fi
27018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27019 conftest.$ac_objext conftest.beam conftest.$ac_ext
27020 fi
27021
27022 CFLAGS="$chktls_save_CFLAGS"
27023 fi
27024 fi
27025 else
27026 gcc_cv_have_tls=no
27027 fi
27028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27029 conftest.$ac_objext conftest.beam conftest.$ac_ext
27030 fi
27031
27032 fi
27033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27034 $as_echo "$gcc_cv_have_tls" >&6; }
27035 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27036
27037 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27038
27039 fi
27040
27041 for ac_func in __cxa_thread_atexit_impl
27042 do :
27043 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27044 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27045 cat >>confdefs.h <<_ACEOF
27046 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27047 _ACEOF
27048
27049 fi
27050 done
27051
27052
27053 # For iconv support.
27054
27055 if test "X$prefix" = "XNONE"; then
27056 acl_final_prefix="$ac_default_prefix"
27057 else
27058 acl_final_prefix="$prefix"
27059 fi
27060 if test "X$exec_prefix" = "XNONE"; then
27061 acl_final_exec_prefix='${prefix}'
27062 else
27063 acl_final_exec_prefix="$exec_prefix"
27064 fi
27065 acl_save_prefix="$prefix"
27066 prefix="$acl_final_prefix"
27067 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27068 prefix="$acl_save_prefix"
27069
27070
27071 # Check whether --with-gnu-ld was given.
27072 if test "${with_gnu_ld+set}" = set; then :
27073 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27074 else
27075 with_gnu_ld=no
27076 fi
27077
27078 # Prepare PATH_SEPARATOR.
27079 # The user is always right.
27080 if test "${PATH_SEPARATOR+set}" != set; then
27081 echo "#! /bin/sh" >conf$$.sh
27082 echo "exit 0" >>conf$$.sh
27083 chmod +x conf$$.sh
27084 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27085 PATH_SEPARATOR=';'
27086 else
27087 PATH_SEPARATOR=:
27088 fi
27089 rm -f conf$$.sh
27090 fi
27091 ac_prog=ld
27092 if test "$GCC" = yes; then
27093 # Check if gcc -print-prog-name=ld gives a path.
27094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27095 $as_echo_n "checking for ld used by GCC... " >&6; }
27096 case $host in
27097 *-*-mingw*)
27098 # gcc leaves a trailing carriage return which upsets mingw
27099 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27100 *)
27101 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27102 esac
27103 case $ac_prog in
27104 # Accept absolute paths.
27105 [\\/]* | [A-Za-z]:[\\/]*)
27106 re_direlt='/[^/][^/]*/\.\./'
27107 # Canonicalize the path of ld
27108 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27109 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27110 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27111 done
27112 test -z "$LD" && LD="$ac_prog"
27113 ;;
27114 "")
27115 # If it fails, then pretend we aren't using GCC.
27116 ac_prog=ld
27117 ;;
27118 *)
27119 # If it is relative, then search for the first ld in PATH.
27120 with_gnu_ld=unknown
27121 ;;
27122 esac
27123 elif test "$with_gnu_ld" = yes; then
27124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27125 $as_echo_n "checking for GNU ld... " >&6; }
27126 else
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27128 $as_echo_n "checking for non-GNU ld... " >&6; }
27129 fi
27130 if test "${acl_cv_path_LD+set}" = set; then :
27131 $as_echo_n "(cached) " >&6
27132 else
27133 if test -z "$LD"; then
27134 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27135 for ac_dir in $PATH; do
27136 test -z "$ac_dir" && ac_dir=.
27137 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27138 acl_cv_path_LD="$ac_dir/$ac_prog"
27139 # Check to see if the program is GNU ld. I'd rather use --version,
27140 # but apparently some GNU ld's only accept -v.
27141 # Break only if it was the GNU/non-GNU ld that we prefer.
27142 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27143 test "$with_gnu_ld" != no && break
27144 else
27145 test "$with_gnu_ld" != yes && break
27146 fi
27147 fi
27148 done
27149 IFS="$ac_save_ifs"
27150 else
27151 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27152 fi
27153 fi
27154
27155 LD="$acl_cv_path_LD"
27156 if test -n "$LD"; then
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27158 $as_echo "$LD" >&6; }
27159 else
27160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27161 $as_echo "no" >&6; }
27162 fi
27163 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27165 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27166 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27167 $as_echo_n "(cached) " >&6
27168 else
27169 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27170 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27171 acl_cv_prog_gnu_ld=yes
27172 else
27173 acl_cv_prog_gnu_ld=no
27174 fi
27175 fi
27176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27177 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27178 with_gnu_ld=$acl_cv_prog_gnu_ld
27179
27180
27181
27182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27183 $as_echo_n "checking for shared library run path origin... " >&6; }
27184 if test "${acl_cv_rpath+set}" = set; then :
27185 $as_echo_n "(cached) " >&6
27186 else
27187
27188 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27189 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27190 . ./conftest.sh
27191 rm -f ./conftest.sh
27192 acl_cv_rpath=done
27193
27194 fi
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27196 $as_echo "$acl_cv_rpath" >&6; }
27197 wl="$acl_cv_wl"
27198 libext="$acl_cv_libext"
27199 shlibext="$acl_cv_shlibext"
27200 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27201 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27202 hardcode_direct="$acl_cv_hardcode_direct"
27203 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27204 # Check whether --enable-rpath was given.
27205 if test "${enable_rpath+set}" = set; then :
27206 enableval=$enable_rpath; :
27207 else
27208 enable_rpath=yes
27209 fi
27210
27211
27212
27213
27214
27215
27216
27217
27218 use_additional=yes
27219
27220 acl_save_prefix="$prefix"
27221 prefix="$acl_final_prefix"
27222 acl_save_exec_prefix="$exec_prefix"
27223 exec_prefix="$acl_final_exec_prefix"
27224
27225 eval additional_includedir=\"$includedir\"
27226 eval additional_libdir=\"$libdir\"
27227
27228 exec_prefix="$acl_save_exec_prefix"
27229 prefix="$acl_save_prefix"
27230
27231
27232 # Check whether --with-libiconv-prefix was given.
27233 if test "${with_libiconv_prefix+set}" = set; then :
27234 withval=$with_libiconv_prefix;
27235 if test "X$withval" = "Xno"; then
27236 use_additional=no
27237 else
27238 if test "X$withval" = "X"; then
27239
27240 acl_save_prefix="$prefix"
27241 prefix="$acl_final_prefix"
27242 acl_save_exec_prefix="$exec_prefix"
27243 exec_prefix="$acl_final_exec_prefix"
27244
27245 eval additional_includedir=\"$includedir\"
27246 eval additional_libdir=\"$libdir\"
27247
27248 exec_prefix="$acl_save_exec_prefix"
27249 prefix="$acl_save_prefix"
27250
27251 else
27252 additional_includedir="$withval/include"
27253 additional_libdir="$withval/lib"
27254 fi
27255 fi
27256
27257 fi
27258
27259 LIBICONV=
27260 LTLIBICONV=
27261 INCICONV=
27262 rpathdirs=
27263 ltrpathdirs=
27264 names_already_handled=
27265 names_next_round='iconv '
27266 while test -n "$names_next_round"; do
27267 names_this_round="$names_next_round"
27268 names_next_round=
27269 for name in $names_this_round; do
27270 already_handled=
27271 for n in $names_already_handled; do
27272 if test "$n" = "$name"; then
27273 already_handled=yes
27274 break
27275 fi
27276 done
27277 if test -z "$already_handled"; then
27278 names_already_handled="$names_already_handled $name"
27279 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27280 eval value=\"\$HAVE_LIB$uppername\"
27281 if test -n "$value"; then
27282 if test "$value" = yes; then
27283 eval value=\"\$LIB$uppername\"
27284 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27285 eval value=\"\$LTLIB$uppername\"
27286 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27287 else
27288 :
27289 fi
27290 else
27291 found_dir=
27292 found_la=
27293 found_so=
27294 found_a=
27295 if test $use_additional = yes; then
27296 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27297 found_dir="$additional_libdir"
27298 found_so="$additional_libdir/lib$name.$shlibext"
27299 if test -f "$additional_libdir/lib$name.la"; then
27300 found_la="$additional_libdir/lib$name.la"
27301 fi
27302 else
27303 if test -f "$additional_libdir/lib$name.$libext"; then
27304 found_dir="$additional_libdir"
27305 found_a="$additional_libdir/lib$name.$libext"
27306 if test -f "$additional_libdir/lib$name.la"; then
27307 found_la="$additional_libdir/lib$name.la"
27308 fi
27309 fi
27310 fi
27311 fi
27312 if test "X$found_dir" = "X"; then
27313 for x in $LDFLAGS $LTLIBICONV; do
27314
27315 acl_save_prefix="$prefix"
27316 prefix="$acl_final_prefix"
27317 acl_save_exec_prefix="$exec_prefix"
27318 exec_prefix="$acl_final_exec_prefix"
27319 eval x=\"$x\"
27320 exec_prefix="$acl_save_exec_prefix"
27321 prefix="$acl_save_prefix"
27322
27323 case "$x" in
27324 -L*)
27325 dir=`echo "X$x" | sed -e 's/^X-L//'`
27326 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27327 found_dir="$dir"
27328 found_so="$dir/lib$name.$shlibext"
27329 if test -f "$dir/lib$name.la"; then
27330 found_la="$dir/lib$name.la"
27331 fi
27332 else
27333 if test -f "$dir/lib$name.$libext"; then
27334 found_dir="$dir"
27335 found_a="$dir/lib$name.$libext"
27336 if test -f "$dir/lib$name.la"; then
27337 found_la="$dir/lib$name.la"
27338 fi
27339 fi
27340 fi
27341 ;;
27342 esac
27343 if test "X$found_dir" != "X"; then
27344 break
27345 fi
27346 done
27347 fi
27348 if test "X$found_dir" != "X"; then
27349 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27350 if test "X$found_so" != "X"; then
27351 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27352 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27353 else
27354 haveit=
27355 for x in $ltrpathdirs; do
27356 if test "X$x" = "X$found_dir"; then
27357 haveit=yes
27358 break
27359 fi
27360 done
27361 if test -z "$haveit"; then
27362 ltrpathdirs="$ltrpathdirs $found_dir"
27363 fi
27364 if test "$hardcode_direct" = yes; then
27365 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27366 else
27367 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27368 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27369 haveit=
27370 for x in $rpathdirs; do
27371 if test "X$x" = "X$found_dir"; then
27372 haveit=yes
27373 break
27374 fi
27375 done
27376 if test -z "$haveit"; then
27377 rpathdirs="$rpathdirs $found_dir"
27378 fi
27379 else
27380 haveit=
27381 for x in $LDFLAGS $LIBICONV; do
27382
27383 acl_save_prefix="$prefix"
27384 prefix="$acl_final_prefix"
27385 acl_save_exec_prefix="$exec_prefix"
27386 exec_prefix="$acl_final_exec_prefix"
27387 eval x=\"$x\"
27388 exec_prefix="$acl_save_exec_prefix"
27389 prefix="$acl_save_prefix"
27390
27391 if test "X$x" = "X-L$found_dir"; then
27392 haveit=yes
27393 break
27394 fi
27395 done
27396 if test -z "$haveit"; then
27397 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27398 fi
27399 if test "$hardcode_minus_L" != no; then
27400 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27401 else
27402 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27403 fi
27404 fi
27405 fi
27406 fi
27407 else
27408 if test "X$found_a" != "X"; then
27409 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27410 else
27411 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27412 fi
27413 fi
27414 additional_includedir=
27415 case "$found_dir" in
27416 */lib | */lib/)
27417 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27418 additional_includedir="$basedir/include"
27419 ;;
27420 esac
27421 if test "X$additional_includedir" != "X"; then
27422 if test "X$additional_includedir" != "X/usr/include"; then
27423 haveit=
27424 if test "X$additional_includedir" = "X/usr/local/include"; then
27425 if test -n "$GCC"; then
27426 case $host_os in
27427 linux*) haveit=yes;;
27428 esac
27429 fi
27430 fi
27431 if test -z "$haveit"; then
27432 for x in $CPPFLAGS $INCICONV; do
27433
27434 acl_save_prefix="$prefix"
27435 prefix="$acl_final_prefix"
27436 acl_save_exec_prefix="$exec_prefix"
27437 exec_prefix="$acl_final_exec_prefix"
27438 eval x=\"$x\"
27439 exec_prefix="$acl_save_exec_prefix"
27440 prefix="$acl_save_prefix"
27441
27442 if test "X$x" = "X-I$additional_includedir"; then
27443 haveit=yes
27444 break
27445 fi
27446 done
27447 if test -z "$haveit"; then
27448 if test -d "$additional_includedir"; then
27449 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27450 fi
27451 fi
27452 fi
27453 fi
27454 fi
27455 if test -n "$found_la"; then
27456 save_libdir="$libdir"
27457 case "$found_la" in
27458 */* | *\\*) . "$found_la" ;;
27459 *) . "./$found_la" ;;
27460 esac
27461 libdir="$save_libdir"
27462 for dep in $dependency_libs; do
27463 case "$dep" in
27464 -L*)
27465 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27466 if test "X$additional_libdir" != "X/usr/lib"; then
27467 haveit=
27468 if test "X$additional_libdir" = "X/usr/local/lib"; then
27469 if test -n "$GCC"; then
27470 case $host_os in
27471 linux*) haveit=yes;;
27472 esac
27473 fi
27474 fi
27475 if test -z "$haveit"; then
27476 haveit=
27477 for x in $LDFLAGS $LIBICONV; do
27478
27479 acl_save_prefix="$prefix"
27480 prefix="$acl_final_prefix"
27481 acl_save_exec_prefix="$exec_prefix"
27482 exec_prefix="$acl_final_exec_prefix"
27483 eval x=\"$x\"
27484 exec_prefix="$acl_save_exec_prefix"
27485 prefix="$acl_save_prefix"
27486
27487 if test "X$x" = "X-L$additional_libdir"; then
27488 haveit=yes
27489 break
27490 fi
27491 done
27492 if test -z "$haveit"; then
27493 if test -d "$additional_libdir"; then
27494 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27495 fi
27496 fi
27497 haveit=
27498 for x in $LDFLAGS $LTLIBICONV; do
27499
27500 acl_save_prefix="$prefix"
27501 prefix="$acl_final_prefix"
27502 acl_save_exec_prefix="$exec_prefix"
27503 exec_prefix="$acl_final_exec_prefix"
27504 eval x=\"$x\"
27505 exec_prefix="$acl_save_exec_prefix"
27506 prefix="$acl_save_prefix"
27507
27508 if test "X$x" = "X-L$additional_libdir"; then
27509 haveit=yes
27510 break
27511 fi
27512 done
27513 if test -z "$haveit"; then
27514 if test -d "$additional_libdir"; then
27515 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27516 fi
27517 fi
27518 fi
27519 fi
27520 ;;
27521 -R*)
27522 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27523 if test "$enable_rpath" != no; then
27524 haveit=
27525 for x in $rpathdirs; do
27526 if test "X$x" = "X$dir"; then
27527 haveit=yes
27528 break
27529 fi
27530 done
27531 if test -z "$haveit"; then
27532 rpathdirs="$rpathdirs $dir"
27533 fi
27534 haveit=
27535 for x in $ltrpathdirs; do
27536 if test "X$x" = "X$dir"; then
27537 haveit=yes
27538 break
27539 fi
27540 done
27541 if test -z "$haveit"; then
27542 ltrpathdirs="$ltrpathdirs $dir"
27543 fi
27544 fi
27545 ;;
27546 -l*)
27547 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27548 ;;
27549 *.la)
27550 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27551 ;;
27552 *)
27553 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27554 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27555 ;;
27556 esac
27557 done
27558 fi
27559 else
27560 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27561 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27562 fi
27563 fi
27564 fi
27565 done
27566 done
27567 if test "X$rpathdirs" != "X"; then
27568 if test -n "$hardcode_libdir_separator"; then
27569 alldirs=
27570 for found_dir in $rpathdirs; do
27571 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27572 done
27573 acl_save_libdir="$libdir"
27574 libdir="$alldirs"
27575 eval flag=\"$hardcode_libdir_flag_spec\"
27576 libdir="$acl_save_libdir"
27577 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27578 else
27579 for found_dir in $rpathdirs; do
27580 acl_save_libdir="$libdir"
27581 libdir="$found_dir"
27582 eval flag=\"$hardcode_libdir_flag_spec\"
27583 libdir="$acl_save_libdir"
27584 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27585 done
27586 fi
27587 fi
27588 if test "X$ltrpathdirs" != "X"; then
27589 for found_dir in $ltrpathdirs; do
27590 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27591 done
27592 fi
27593
27594
27595
27596
27597
27598
27599
27600 am_save_CPPFLAGS="$CPPFLAGS"
27601
27602 for element in $INCICONV; do
27603 haveit=
27604 for x in $CPPFLAGS; do
27605
27606 acl_save_prefix="$prefix"
27607 prefix="$acl_final_prefix"
27608 acl_save_exec_prefix="$exec_prefix"
27609 exec_prefix="$acl_final_exec_prefix"
27610 eval x=\"$x\"
27611 exec_prefix="$acl_save_exec_prefix"
27612 prefix="$acl_save_prefix"
27613
27614 if test "X$x" = "X$element"; then
27615 haveit=yes
27616 break
27617 fi
27618 done
27619 if test -z "$haveit"; then
27620 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27621 fi
27622 done
27623
27624
27625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27626 $as_echo_n "checking for iconv... " >&6; }
27627 if test "${am_cv_func_iconv+set}" = set; then :
27628 $as_echo_n "(cached) " >&6
27629 else
27630
27631 am_cv_func_iconv="no, consider installing GNU libiconv"
27632 am_cv_lib_iconv=no
27633 if test x$gcc_no_link = xyes; then
27634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27635 fi
27636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27637 /* end confdefs.h. */
27638 #include <stdlib.h>
27639 #include <iconv.h>
27640 int
27641 main ()
27642 {
27643 iconv_t cd = iconv_open("","");
27644 iconv(cd,NULL,NULL,NULL,NULL);
27645 iconv_close(cd);
27646 ;
27647 return 0;
27648 }
27649 _ACEOF
27650 if ac_fn_c_try_link "$LINENO"; then :
27651 am_cv_func_iconv=yes
27652 fi
27653 rm -f core conftest.err conftest.$ac_objext \
27654 conftest$ac_exeext conftest.$ac_ext
27655 if test "$am_cv_func_iconv" != yes; then
27656 am_save_LIBS="$LIBS"
27657 LIBS="$LIBS $LIBICONV"
27658 if test x$gcc_no_link = xyes; then
27659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27660 fi
27661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27662 /* end confdefs.h. */
27663 #include <stdlib.h>
27664 #include <iconv.h>
27665 int
27666 main ()
27667 {
27668 iconv_t cd = iconv_open("","");
27669 iconv(cd,NULL,NULL,NULL,NULL);
27670 iconv_close(cd);
27671 ;
27672 return 0;
27673 }
27674 _ACEOF
27675 if ac_fn_c_try_link "$LINENO"; then :
27676 am_cv_lib_iconv=yes
27677 am_cv_func_iconv=yes
27678 fi
27679 rm -f core conftest.err conftest.$ac_objext \
27680 conftest$ac_exeext conftest.$ac_ext
27681 LIBS="$am_save_LIBS"
27682 fi
27683
27684 fi
27685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27686 $as_echo "$am_cv_func_iconv" >&6; }
27687 if test "$am_cv_func_iconv" = yes; then
27688
27689 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27690
27691 fi
27692 if test "$am_cv_lib_iconv" = yes; then
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27694 $as_echo_n "checking how to link with libiconv... " >&6; }
27695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27696 $as_echo "$LIBICONV" >&6; }
27697 else
27698 CPPFLAGS="$am_save_CPPFLAGS"
27699 LIBICONV=
27700 LTLIBICONV=
27701 fi
27702
27703
27704
27705 if test "$am_cv_func_iconv" = yes; then
27706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27707 $as_echo_n "checking for iconv declaration... " >&6; }
27708 if test "${am_cv_proto_iconv+set}" = set; then :
27709 $as_echo_n "(cached) " >&6
27710 else
27711
27712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27713 /* end confdefs.h. */
27714
27715 #include <stdlib.h>
27716 #include <iconv.h>
27717 extern
27718 #ifdef __cplusplus
27719 "C"
27720 #endif
27721 #if defined(__STDC__) || defined(__cplusplus)
27722 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27723 #else
27724 size_t iconv();
27725 #endif
27726
27727 int
27728 main ()
27729 {
27730
27731 ;
27732 return 0;
27733 }
27734 _ACEOF
27735 if ac_fn_c_try_compile "$LINENO"; then :
27736 am_cv_proto_iconv_arg1=""
27737 else
27738 am_cv_proto_iconv_arg1="const"
27739 fi
27740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27741 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);"
27742 fi
27743
27744 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27746 }$am_cv_proto_iconv" >&5
27747 $as_echo "${ac_t:-
27748 }$am_cv_proto_iconv" >&6; }
27749
27750 cat >>confdefs.h <<_ACEOF
27751 #define ICONV_CONST $am_cv_proto_iconv_arg1
27752 _ACEOF
27753
27754 fi
27755
27756
27757 else
27758
27759 # This lets us hard-code the functionality we know we'll have in the cross
27760 # target environment. "Let" is a sugar-coated word placed on an especially
27761 # dull and tedious hack, actually.
27762 #
27763 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27764 # that involve linking, can't be used:
27765 # "cannot open sim-crt0.o"
27766 # "cannot open crt0.o"
27767 # etc. All this is because there currently exists no unified, consistent
27768 # way for top level CC information to be passed down to target directories:
27769 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27770 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27771 # crosses can be removed.
27772
27773 # If Canadian cross, then don't pick up tools from the build directory.
27774 # Used only in GLIBCXX_EXPORT_INCLUDES.
27775 if test -n "$with_cross_host" &&
27776 test x"$build_alias" != x"$with_cross_host" &&
27777 test x"$build" != x"$target";
27778 then
27779 CANADIAN=yes
27780 else
27781 CANADIAN=no
27782 fi
27783
27784 # Construct crosses by hand, eliminating bits that need ld...
27785 # GLIBCXX_CHECK_MATH_SUPPORT
27786
27787 # First, test for "known" system libraries. We may be using newlib even
27788 # on a hosted environment.
27789 if test "x${with_newlib}" = "xyes"; then
27790 os_include_dir="os/newlib"
27791 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27792
27793
27794 # GLIBCXX_CHECK_STDLIB_SUPPORT
27795 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27796
27797
27798 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27799
27800 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27801
27802 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27803
27804 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27805
27806 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27807
27808 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27809
27810 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27811
27812 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27813
27814 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27815
27816 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27817
27818 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27819
27820 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27821
27822 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27823
27824 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27825
27826 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27827
27828 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27829
27830 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27831
27832 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27833
27834 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27835
27836 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27837
27838 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27839
27840 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27841
27842
27843 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27844
27845 else
27846
27847 # Base decisions on target environment.
27848 case "${host}" in
27849 arm*-*-symbianelf*)
27850 # This is a freestanding configuration; there is nothing to do here.
27851 ;;
27852
27853 mips*-sde-elf*)
27854 # These definitions are for the SDE C library rather than newlib.
27855 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27856
27857
27858 # All these tests are for C++; save the language and the compiler flags.
27859 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27860 # found in GLIBCXX_CONFIGURE.
27861
27862 ac_ext=cpp
27863 ac_cpp='$CXXCPP $CPPFLAGS'
27864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27867
27868 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27869 ac_save_CXXFLAGS="$CXXFLAGS"
27870
27871 # Check for maintainer-mode bits.
27872 if test x"$USE_MAINTAINER_MODE" = xno; then
27873 WERROR=''
27874 else
27875 WERROR='-Werror'
27876 fi
27877
27878 # Check for -ffunction-sections -fdata-sections
27879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27880 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27881 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27883 /* end confdefs.h. */
27884 int foo; void bar() { };
27885 int
27886 main ()
27887 {
27888
27889 ;
27890 return 0;
27891 }
27892 _ACEOF
27893 if ac_fn_cxx_try_compile "$LINENO"; then :
27894 ac_fdsections=yes
27895 else
27896 ac_fdsections=no
27897 fi
27898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27899 if test "$ac_test_CXXFLAGS" = set; then
27900 CXXFLAGS="$ac_save_CXXFLAGS"
27901 else
27902 # this is the suspicious part
27903 CXXFLAGS=''
27904 fi
27905 if test x"$ac_fdsections" = x"yes"; then
27906 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27907 fi
27908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27909 $as_echo "$ac_fdsections" >&6; }
27910
27911 ac_ext=c
27912 ac_cpp='$CPP $CPPFLAGS'
27913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27916
27917
27918
27919
27920
27921 # If we're not using GNU ld, then there's no point in even trying these
27922 # tests. Check for that first. We should have already tested for gld
27923 # by now (in libtool), but require it now just to be safe...
27924 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27925 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27926
27927
27928
27929 # The name set by libtool depends on the version of libtool. Shame on us
27930 # for depending on an impl detail, but c'est la vie. Older versions used
27931 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27932 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27933 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27934 # set (hence we're using an older libtool), then set it.
27935 if test x${with_gnu_ld+set} != xset; then
27936 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27937 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27938 with_gnu_ld=no
27939 else
27940 with_gnu_ld=$ac_cv_prog_gnu_ld
27941 fi
27942 fi
27943
27944 # Start by getting the version number. I think the libtool test already
27945 # does some of this, but throws away the result.
27946 glibcxx_ld_is_gold=no
27947 if test x"$with_gnu_ld" = x"yes"; then
27948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27949 $as_echo_n "checking for ld version... " >&6; }
27950
27951 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27952 glibcxx_ld_is_gold=yes
27953 fi
27954 ldver=`$LD --version 2>/dev/null |
27955 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'`
27956
27957 glibcxx_gnu_ld_version=`echo $ldver | \
27958 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27960 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27961 fi
27962
27963 # Set --gc-sections.
27964 glibcxx_have_gc_sections=no
27965 if test "$glibcxx_ld_is_gold" = "yes"; then
27966 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27967 glibcxx_have_gc_sections=yes
27968 fi
27969 else
27970 glibcxx_gcsections_min_ld=21602
27971 if test x"$with_gnu_ld" = x"yes" &&
27972 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27973 glibcxx_have_gc_sections=yes
27974 fi
27975 fi
27976 if test "$glibcxx_have_gc_sections" = "yes"; then
27977 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27978 # NB: This flag only works reliably after 2.16.1. Configure tests
27979 # for this are difficult, so hard wire a value that should work.
27980
27981 ac_test_CFLAGS="${CFLAGS+set}"
27982 ac_save_CFLAGS="$CFLAGS"
27983 CFLAGS='-Wl,--gc-sections'
27984
27985 # Check for -Wl,--gc-sections
27986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27987 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27988 if test x$gcc_no_link = xyes; then
27989 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27990 fi
27991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27992 /* end confdefs.h. */
27993 int one(void) { return 1; }
27994 int two(void) { return 2; }
27995
27996 int
27997 main ()
27998 {
27999 two();
28000 ;
28001 return 0;
28002 }
28003 _ACEOF
28004 if ac_fn_c_try_link "$LINENO"; then :
28005 ac_gcsections=yes
28006 else
28007 ac_gcsections=no
28008 fi
28009 rm -f core conftest.err conftest.$ac_objext \
28010 conftest$ac_exeext conftest.$ac_ext
28011 if test "$ac_gcsections" = "yes"; then
28012 rm -f conftest.c
28013 touch conftest.c
28014 if $CC -c conftest.c; then
28015 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28016 grep "Warning: gc-sections option ignored" > /dev/null; then
28017 ac_gcsections=no
28018 fi
28019 fi
28020 rm -f conftest.c conftest.o conftest
28021 fi
28022 if test "$ac_gcsections" = "yes"; then
28023 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28024 fi
28025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28026 $as_echo "$ac_gcsections" >&6; }
28027
28028 if test "$ac_test_CFLAGS" = set; then
28029 CFLAGS="$ac_save_CFLAGS"
28030 else
28031 # this is the suspicious part
28032 CFLAGS=''
28033 fi
28034 fi
28035
28036 # Set -z,relro.
28037 # Note this is only for shared objects.
28038 ac_ld_relro=no
28039 if test x"$with_gnu_ld" = x"yes"; then
28040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28041 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28042 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28043 if test -n "$cxx_z_relo"; then
28044 OPT_LDFLAGS="-Wl,-z,relro"
28045 ac_ld_relro=yes
28046 fi
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28048 $as_echo "$ac_ld_relro" >&6; }
28049 fi
28050
28051 # Set linker optimization flags.
28052 if test x"$with_gnu_ld" = x"yes"; then
28053 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28054 fi
28055
28056
28057
28058
28059
28060 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28061 ac_save_CXXFLAGS="$CXXFLAGS"
28062 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28063
28064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28065 $as_echo_n "checking for sin in -lm... " >&6; }
28066 if test "${ac_cv_lib_m_sin+set}" = set; then :
28067 $as_echo_n "(cached) " >&6
28068 else
28069 ac_check_lib_save_LIBS=$LIBS
28070 LIBS="-lm $LIBS"
28071 if test x$gcc_no_link = xyes; then
28072 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28073 fi
28074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28075 /* end confdefs.h. */
28076
28077 /* Override any GCC internal prototype to avoid an error.
28078 Use char because int might match the return type of a GCC
28079 builtin and then its argument prototype would still apply. */
28080 #ifdef __cplusplus
28081 extern "C"
28082 #endif
28083 char sin ();
28084 int
28085 main ()
28086 {
28087 return sin ();
28088 ;
28089 return 0;
28090 }
28091 _ACEOF
28092 if ac_fn_c_try_link "$LINENO"; then :
28093 ac_cv_lib_m_sin=yes
28094 else
28095 ac_cv_lib_m_sin=no
28096 fi
28097 rm -f core conftest.err conftest.$ac_objext \
28098 conftest$ac_exeext conftest.$ac_ext
28099 LIBS=$ac_check_lib_save_LIBS
28100 fi
28101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28102 $as_echo "$ac_cv_lib_m_sin" >&6; }
28103 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28104 libm="-lm"
28105 fi
28106
28107 ac_save_LIBS="$LIBS"
28108 LIBS="$LIBS $libm"
28109
28110
28111
28112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28113 $as_echo_n "checking for isinf declaration... " >&6; }
28114 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28115 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28116 $as_echo_n "(cached) " >&6
28117 else
28118
28119
28120 ac_ext=cpp
28121 ac_cpp='$CXXCPP $CPPFLAGS'
28122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28125
28126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28127 /* end confdefs.h. */
28128 #include <math.h>
28129 #ifdef HAVE_IEEEFP_H
28130 #include <ieeefp.h>
28131 #endif
28132
28133 int
28134 main ()
28135 {
28136 isinf(0);
28137 ;
28138 return 0;
28139 }
28140 _ACEOF
28141 if ac_fn_cxx_try_compile "$LINENO"; then :
28142 glibcxx_cv_func_isinf_use=yes
28143 else
28144 glibcxx_cv_func_isinf_use=no
28145 fi
28146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28147 ac_ext=c
28148 ac_cpp='$CPP $CPPFLAGS'
28149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28152
28153
28154 fi
28155
28156 fi
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28158 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28159
28160 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28161 for ac_func in isinf
28162 do :
28163 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28164 if test "x$ac_cv_func_isinf" = x""yes; then :
28165 cat >>confdefs.h <<_ACEOF
28166 #define HAVE_ISINF 1
28167 _ACEOF
28168
28169 fi
28170 done
28171
28172 else
28173
28174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28175 $as_echo_n "checking for _isinf declaration... " >&6; }
28176 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28177 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28178 $as_echo_n "(cached) " >&6
28179 else
28180
28181
28182 ac_ext=cpp
28183 ac_cpp='$CXXCPP $CPPFLAGS'
28184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28187
28188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28189 /* end confdefs.h. */
28190 #include <math.h>
28191 #ifdef HAVE_IEEEFP_H
28192 #include <ieeefp.h>
28193 #endif
28194
28195 int
28196 main ()
28197 {
28198 _isinf(0);
28199 ;
28200 return 0;
28201 }
28202 _ACEOF
28203 if ac_fn_cxx_try_compile "$LINENO"; then :
28204 glibcxx_cv_func__isinf_use=yes
28205 else
28206 glibcxx_cv_func__isinf_use=no
28207 fi
28208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28209 ac_ext=c
28210 ac_cpp='$CPP $CPPFLAGS'
28211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28214
28215
28216 fi
28217
28218 fi
28219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28220 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28221
28222 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28223 for ac_func in _isinf
28224 do :
28225 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28226 if test "x$ac_cv_func__isinf" = x""yes; then :
28227 cat >>confdefs.h <<_ACEOF
28228 #define HAVE__ISINF 1
28229 _ACEOF
28230
28231 fi
28232 done
28233
28234 fi
28235 fi
28236
28237
28238
28239
28240
28241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28242 $as_echo_n "checking for isnan declaration... " >&6; }
28243 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28244 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28245 $as_echo_n "(cached) " >&6
28246 else
28247
28248
28249 ac_ext=cpp
28250 ac_cpp='$CXXCPP $CPPFLAGS'
28251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28254
28255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28256 /* end confdefs.h. */
28257 #include <math.h>
28258 #ifdef HAVE_IEEEFP_H
28259 #include <ieeefp.h>
28260 #endif
28261
28262 int
28263 main ()
28264 {
28265 isnan(0);
28266 ;
28267 return 0;
28268 }
28269 _ACEOF
28270 if ac_fn_cxx_try_compile "$LINENO"; then :
28271 glibcxx_cv_func_isnan_use=yes
28272 else
28273 glibcxx_cv_func_isnan_use=no
28274 fi
28275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28276 ac_ext=c
28277 ac_cpp='$CPP $CPPFLAGS'
28278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28281
28282
28283 fi
28284
28285 fi
28286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28287 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28288
28289 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28290 for ac_func in isnan
28291 do :
28292 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28293 if test "x$ac_cv_func_isnan" = x""yes; then :
28294 cat >>confdefs.h <<_ACEOF
28295 #define HAVE_ISNAN 1
28296 _ACEOF
28297
28298 fi
28299 done
28300
28301 else
28302
28303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28304 $as_echo_n "checking for _isnan declaration... " >&6; }
28305 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28306 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28307 $as_echo_n "(cached) " >&6
28308 else
28309
28310
28311 ac_ext=cpp
28312 ac_cpp='$CXXCPP $CPPFLAGS'
28313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28316
28317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28318 /* end confdefs.h. */
28319 #include <math.h>
28320 #ifdef HAVE_IEEEFP_H
28321 #include <ieeefp.h>
28322 #endif
28323
28324 int
28325 main ()
28326 {
28327 _isnan(0);
28328 ;
28329 return 0;
28330 }
28331 _ACEOF
28332 if ac_fn_cxx_try_compile "$LINENO"; then :
28333 glibcxx_cv_func__isnan_use=yes
28334 else
28335 glibcxx_cv_func__isnan_use=no
28336 fi
28337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28338 ac_ext=c
28339 ac_cpp='$CPP $CPPFLAGS'
28340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28343
28344
28345 fi
28346
28347 fi
28348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28349 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28350
28351 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28352 for ac_func in _isnan
28353 do :
28354 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28355 if test "x$ac_cv_func__isnan" = x""yes; then :
28356 cat >>confdefs.h <<_ACEOF
28357 #define HAVE__ISNAN 1
28358 _ACEOF
28359
28360 fi
28361 done
28362
28363 fi
28364 fi
28365
28366
28367
28368
28369
28370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28371 $as_echo_n "checking for finite declaration... " >&6; }
28372 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28373 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28374 $as_echo_n "(cached) " >&6
28375 else
28376
28377
28378 ac_ext=cpp
28379 ac_cpp='$CXXCPP $CPPFLAGS'
28380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28383
28384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28385 /* end confdefs.h. */
28386 #include <math.h>
28387 #ifdef HAVE_IEEEFP_H
28388 #include <ieeefp.h>
28389 #endif
28390
28391 int
28392 main ()
28393 {
28394 finite(0);
28395 ;
28396 return 0;
28397 }
28398 _ACEOF
28399 if ac_fn_cxx_try_compile "$LINENO"; then :
28400 glibcxx_cv_func_finite_use=yes
28401 else
28402 glibcxx_cv_func_finite_use=no
28403 fi
28404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28405 ac_ext=c
28406 ac_cpp='$CPP $CPPFLAGS'
28407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28410
28411
28412 fi
28413
28414 fi
28415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28416 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28417
28418 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28419 for ac_func in finite
28420 do :
28421 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28422 if test "x$ac_cv_func_finite" = x""yes; then :
28423 cat >>confdefs.h <<_ACEOF
28424 #define HAVE_FINITE 1
28425 _ACEOF
28426
28427 fi
28428 done
28429
28430 else
28431
28432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28433 $as_echo_n "checking for _finite declaration... " >&6; }
28434 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28435 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28436 $as_echo_n "(cached) " >&6
28437 else
28438
28439
28440 ac_ext=cpp
28441 ac_cpp='$CXXCPP $CPPFLAGS'
28442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28445
28446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28447 /* end confdefs.h. */
28448 #include <math.h>
28449 #ifdef HAVE_IEEEFP_H
28450 #include <ieeefp.h>
28451 #endif
28452
28453 int
28454 main ()
28455 {
28456 _finite(0);
28457 ;
28458 return 0;
28459 }
28460 _ACEOF
28461 if ac_fn_cxx_try_compile "$LINENO"; then :
28462 glibcxx_cv_func__finite_use=yes
28463 else
28464 glibcxx_cv_func__finite_use=no
28465 fi
28466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28467 ac_ext=c
28468 ac_cpp='$CPP $CPPFLAGS'
28469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28472
28473
28474 fi
28475
28476 fi
28477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28478 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28479
28480 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28481 for ac_func in _finite
28482 do :
28483 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28484 if test "x$ac_cv_func__finite" = x""yes; then :
28485 cat >>confdefs.h <<_ACEOF
28486 #define HAVE__FINITE 1
28487 _ACEOF
28488
28489 fi
28490 done
28491
28492 fi
28493 fi
28494
28495
28496
28497
28498
28499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28500 $as_echo_n "checking for sincos declaration... " >&6; }
28501 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28502 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28503 $as_echo_n "(cached) " >&6
28504 else
28505
28506
28507 ac_ext=cpp
28508 ac_cpp='$CXXCPP $CPPFLAGS'
28509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28512
28513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28514 /* end confdefs.h. */
28515 #include <math.h>
28516 int
28517 main ()
28518 {
28519 sincos(0, 0, 0);
28520 ;
28521 return 0;
28522 }
28523 _ACEOF
28524 if ac_fn_cxx_try_compile "$LINENO"; then :
28525 glibcxx_cv_func_sincos_use=yes
28526 else
28527 glibcxx_cv_func_sincos_use=no
28528 fi
28529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28530 ac_ext=c
28531 ac_cpp='$CPP $CPPFLAGS'
28532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28535
28536
28537 fi
28538
28539 fi
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28541 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28542
28543 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28544 for ac_func in sincos
28545 do :
28546 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28547 if test "x$ac_cv_func_sincos" = x""yes; then :
28548 cat >>confdefs.h <<_ACEOF
28549 #define HAVE_SINCOS 1
28550 _ACEOF
28551
28552 fi
28553 done
28554
28555 else
28556
28557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28558 $as_echo_n "checking for _sincos declaration... " >&6; }
28559 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28560 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28561 $as_echo_n "(cached) " >&6
28562 else
28563
28564
28565 ac_ext=cpp
28566 ac_cpp='$CXXCPP $CPPFLAGS'
28567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28570
28571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28572 /* end confdefs.h. */
28573 #include <math.h>
28574 int
28575 main ()
28576 {
28577 _sincos(0, 0, 0);
28578 ;
28579 return 0;
28580 }
28581 _ACEOF
28582 if ac_fn_cxx_try_compile "$LINENO"; then :
28583 glibcxx_cv_func__sincos_use=yes
28584 else
28585 glibcxx_cv_func__sincos_use=no
28586 fi
28587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28588 ac_ext=c
28589 ac_cpp='$CPP $CPPFLAGS'
28590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28593
28594
28595 fi
28596
28597 fi
28598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28599 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28600
28601 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28602 for ac_func in _sincos
28603 do :
28604 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28605 if test "x$ac_cv_func__sincos" = x""yes; then :
28606 cat >>confdefs.h <<_ACEOF
28607 #define HAVE__SINCOS 1
28608 _ACEOF
28609
28610 fi
28611 done
28612
28613 fi
28614 fi
28615
28616
28617
28618
28619
28620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28621 $as_echo_n "checking for fpclass declaration... " >&6; }
28622 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28623 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28624 $as_echo_n "(cached) " >&6
28625 else
28626
28627
28628 ac_ext=cpp
28629 ac_cpp='$CXXCPP $CPPFLAGS'
28630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28633
28634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28635 /* end confdefs.h. */
28636 #include <math.h>
28637 #ifdef HAVE_IEEEFP_H
28638 #include <ieeefp.h>
28639 #endif
28640
28641 int
28642 main ()
28643 {
28644 fpclass(0);
28645 ;
28646 return 0;
28647 }
28648 _ACEOF
28649 if ac_fn_cxx_try_compile "$LINENO"; then :
28650 glibcxx_cv_func_fpclass_use=yes
28651 else
28652 glibcxx_cv_func_fpclass_use=no
28653 fi
28654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28655 ac_ext=c
28656 ac_cpp='$CPP $CPPFLAGS'
28657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28660
28661
28662 fi
28663
28664 fi
28665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28666 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28667
28668 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28669 for ac_func in fpclass
28670 do :
28671 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28672 if test "x$ac_cv_func_fpclass" = x""yes; then :
28673 cat >>confdefs.h <<_ACEOF
28674 #define HAVE_FPCLASS 1
28675 _ACEOF
28676
28677 fi
28678 done
28679
28680 else
28681
28682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28683 $as_echo_n "checking for _fpclass declaration... " >&6; }
28684 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28685 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28686 $as_echo_n "(cached) " >&6
28687 else
28688
28689
28690 ac_ext=cpp
28691 ac_cpp='$CXXCPP $CPPFLAGS'
28692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28695
28696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28697 /* end confdefs.h. */
28698 #include <math.h>
28699 #ifdef HAVE_IEEEFP_H
28700 #include <ieeefp.h>
28701 #endif
28702
28703 int
28704 main ()
28705 {
28706 _fpclass(0);
28707 ;
28708 return 0;
28709 }
28710 _ACEOF
28711 if ac_fn_cxx_try_compile "$LINENO"; then :
28712 glibcxx_cv_func__fpclass_use=yes
28713 else
28714 glibcxx_cv_func__fpclass_use=no
28715 fi
28716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28717 ac_ext=c
28718 ac_cpp='$CPP $CPPFLAGS'
28719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28722
28723
28724 fi
28725
28726 fi
28727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28728 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28729
28730 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28731 for ac_func in _fpclass
28732 do :
28733 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28734 if test "x$ac_cv_func__fpclass" = x""yes; then :
28735 cat >>confdefs.h <<_ACEOF
28736 #define HAVE__FPCLASS 1
28737 _ACEOF
28738
28739 fi
28740 done
28741
28742 fi
28743 fi
28744
28745
28746
28747
28748
28749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28750 $as_echo_n "checking for qfpclass declaration... " >&6; }
28751 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28752 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28753 $as_echo_n "(cached) " >&6
28754 else
28755
28756
28757 ac_ext=cpp
28758 ac_cpp='$CXXCPP $CPPFLAGS'
28759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28762
28763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28764 /* end confdefs.h. */
28765 #include <math.h>
28766 #ifdef HAVE_IEEEFP_H
28767 #include <ieeefp.h>
28768 #endif
28769
28770 int
28771 main ()
28772 {
28773 qfpclass(0);
28774 ;
28775 return 0;
28776 }
28777 _ACEOF
28778 if ac_fn_cxx_try_compile "$LINENO"; then :
28779 glibcxx_cv_func_qfpclass_use=yes
28780 else
28781 glibcxx_cv_func_qfpclass_use=no
28782 fi
28783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28784 ac_ext=c
28785 ac_cpp='$CPP $CPPFLAGS'
28786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28789
28790
28791 fi
28792
28793 fi
28794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28795 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28796
28797 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28798 for ac_func in qfpclass
28799 do :
28800 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28801 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28802 cat >>confdefs.h <<_ACEOF
28803 #define HAVE_QFPCLASS 1
28804 _ACEOF
28805
28806 fi
28807 done
28808
28809 else
28810
28811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28812 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28813 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28814 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28815 $as_echo_n "(cached) " >&6
28816 else
28817
28818
28819 ac_ext=cpp
28820 ac_cpp='$CXXCPP $CPPFLAGS'
28821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28824
28825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28826 /* end confdefs.h. */
28827 #include <math.h>
28828 #ifdef HAVE_IEEEFP_H
28829 #include <ieeefp.h>
28830 #endif
28831
28832 int
28833 main ()
28834 {
28835 _qfpclass(0);
28836 ;
28837 return 0;
28838 }
28839 _ACEOF
28840 if ac_fn_cxx_try_compile "$LINENO"; then :
28841 glibcxx_cv_func__qfpclass_use=yes
28842 else
28843 glibcxx_cv_func__qfpclass_use=no
28844 fi
28845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28846 ac_ext=c
28847 ac_cpp='$CPP $CPPFLAGS'
28848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28851
28852
28853 fi
28854
28855 fi
28856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28857 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28858
28859 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28860 for ac_func in _qfpclass
28861 do :
28862 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28863 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28864 cat >>confdefs.h <<_ACEOF
28865 #define HAVE__QFPCLASS 1
28866 _ACEOF
28867
28868 fi
28869 done
28870
28871 fi
28872 fi
28873
28874
28875
28876
28877
28878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28879 $as_echo_n "checking for hypot declaration... " >&6; }
28880 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28881 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28882 $as_echo_n "(cached) " >&6
28883 else
28884
28885
28886 ac_ext=cpp
28887 ac_cpp='$CXXCPP $CPPFLAGS'
28888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28891
28892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28893 /* end confdefs.h. */
28894 #include <math.h>
28895 int
28896 main ()
28897 {
28898 hypot(0, 0);
28899 ;
28900 return 0;
28901 }
28902 _ACEOF
28903 if ac_fn_cxx_try_compile "$LINENO"; then :
28904 glibcxx_cv_func_hypot_use=yes
28905 else
28906 glibcxx_cv_func_hypot_use=no
28907 fi
28908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28909 ac_ext=c
28910 ac_cpp='$CPP $CPPFLAGS'
28911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28914
28915
28916 fi
28917
28918 fi
28919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28920 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28921
28922 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28923 for ac_func in hypot
28924 do :
28925 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28926 if test "x$ac_cv_func_hypot" = x""yes; then :
28927 cat >>confdefs.h <<_ACEOF
28928 #define HAVE_HYPOT 1
28929 _ACEOF
28930
28931 fi
28932 done
28933
28934 else
28935
28936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28937 $as_echo_n "checking for _hypot declaration... " >&6; }
28938 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28939 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28940 $as_echo_n "(cached) " >&6
28941 else
28942
28943
28944 ac_ext=cpp
28945 ac_cpp='$CXXCPP $CPPFLAGS'
28946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28949
28950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28951 /* end confdefs.h. */
28952 #include <math.h>
28953 int
28954 main ()
28955 {
28956 _hypot(0, 0);
28957 ;
28958 return 0;
28959 }
28960 _ACEOF
28961 if ac_fn_cxx_try_compile "$LINENO"; then :
28962 glibcxx_cv_func__hypot_use=yes
28963 else
28964 glibcxx_cv_func__hypot_use=no
28965 fi
28966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28967 ac_ext=c
28968 ac_cpp='$CPP $CPPFLAGS'
28969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28972
28973
28974 fi
28975
28976 fi
28977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28978 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28979
28980 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28981 for ac_func in _hypot
28982 do :
28983 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28984 if test "x$ac_cv_func__hypot" = x""yes; then :
28985 cat >>confdefs.h <<_ACEOF
28986 #define HAVE__HYPOT 1
28987 _ACEOF
28988
28989 fi
28990 done
28991
28992 fi
28993 fi
28994
28995
28996
28997
28998
28999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29000 $as_echo_n "checking for float trig functions... " >&6; }
29001 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29002 $as_echo_n "(cached) " >&6
29003 else
29004
29005
29006 ac_ext=cpp
29007 ac_cpp='$CXXCPP $CPPFLAGS'
29008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29011
29012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29013 /* end confdefs.h. */
29014 #include <math.h>
29015 int
29016 main ()
29017 {
29018 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29019 ;
29020 return 0;
29021 }
29022 _ACEOF
29023 if ac_fn_cxx_try_compile "$LINENO"; then :
29024 glibcxx_cv_func_float_trig_use=yes
29025 else
29026 glibcxx_cv_func_float_trig_use=no
29027 fi
29028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29029 ac_ext=c
29030 ac_cpp='$CPP $CPPFLAGS'
29031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29034
29035 fi
29036
29037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29038 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29039 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29040 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29041 do :
29042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29044 eval as_val=\$$as_ac_var
29045 if test "x$as_val" = x""yes; then :
29046 cat >>confdefs.h <<_ACEOF
29047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29048 _ACEOF
29049
29050 fi
29051 done
29052
29053 else
29054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29055 $as_echo_n "checking for _float trig functions... " >&6; }
29056 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29057 $as_echo_n "(cached) " >&6
29058 else
29059
29060
29061 ac_ext=cpp
29062 ac_cpp='$CXXCPP $CPPFLAGS'
29063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29066
29067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29068 /* end confdefs.h. */
29069 #include <math.h>
29070 int
29071 main ()
29072 {
29073 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29074 ;
29075 return 0;
29076 }
29077 _ACEOF
29078 if ac_fn_cxx_try_compile "$LINENO"; then :
29079 glibcxx_cv_func__float_trig_use=yes
29080 else
29081 glibcxx_cv_func__float_trig_use=no
29082 fi
29083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29084 ac_ext=c
29085 ac_cpp='$CPP $CPPFLAGS'
29086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29089
29090 fi
29091
29092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29093 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29094 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29095 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29096 do :
29097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29099 eval as_val=\$$as_ac_var
29100 if test "x$as_val" = x""yes; then :
29101 cat >>confdefs.h <<_ACEOF
29102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29103 _ACEOF
29104
29105 fi
29106 done
29107
29108 fi
29109 fi
29110
29111
29112
29113
29114
29115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29116 $as_echo_n "checking for float round functions... " >&6; }
29117 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29118 $as_echo_n "(cached) " >&6
29119 else
29120
29121
29122 ac_ext=cpp
29123 ac_cpp='$CXXCPP $CPPFLAGS'
29124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29127
29128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29129 /* end confdefs.h. */
29130 #include <math.h>
29131 int
29132 main ()
29133 {
29134 ceilf (0); floorf (0);
29135 ;
29136 return 0;
29137 }
29138 _ACEOF
29139 if ac_fn_cxx_try_compile "$LINENO"; then :
29140 glibcxx_cv_func_float_round_use=yes
29141 else
29142 glibcxx_cv_func_float_round_use=no
29143 fi
29144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29145 ac_ext=c
29146 ac_cpp='$CPP $CPPFLAGS'
29147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29150
29151 fi
29152
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29154 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29155 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29156 for ac_func in ceilf floorf
29157 do :
29158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29160 eval as_val=\$$as_ac_var
29161 if test "x$as_val" = x""yes; then :
29162 cat >>confdefs.h <<_ACEOF
29163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29164 _ACEOF
29165
29166 fi
29167 done
29168
29169 else
29170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29171 $as_echo_n "checking for _float round functions... " >&6; }
29172 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29173 $as_echo_n "(cached) " >&6
29174 else
29175
29176
29177 ac_ext=cpp
29178 ac_cpp='$CXXCPP $CPPFLAGS'
29179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29182
29183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29184 /* end confdefs.h. */
29185 #include <math.h>
29186 int
29187 main ()
29188 {
29189 _ceilf (0); _floorf (0);
29190 ;
29191 return 0;
29192 }
29193 _ACEOF
29194 if ac_fn_cxx_try_compile "$LINENO"; then :
29195 glibcxx_cv_func__float_round_use=yes
29196 else
29197 glibcxx_cv_func__float_round_use=no
29198 fi
29199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29200 ac_ext=c
29201 ac_cpp='$CPP $CPPFLAGS'
29202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29205
29206 fi
29207
29208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29209 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29210 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29211 for ac_func in _ceilf _floorf
29212 do :
29213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29215 eval as_val=\$$as_ac_var
29216 if test "x$as_val" = x""yes; then :
29217 cat >>confdefs.h <<_ACEOF
29218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29219 _ACEOF
29220
29221 fi
29222 done
29223
29224 fi
29225 fi
29226
29227
29228
29229
29230
29231
29232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29233 $as_echo_n "checking for expf declaration... " >&6; }
29234 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29235 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29236 $as_echo_n "(cached) " >&6
29237 else
29238
29239
29240 ac_ext=cpp
29241 ac_cpp='$CXXCPP $CPPFLAGS'
29242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29245
29246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29247 /* end confdefs.h. */
29248 #include <math.h>
29249 #ifdef HAVE_IEEEFP_H
29250 #include <ieeefp.h>
29251 #endif
29252
29253 int
29254 main ()
29255 {
29256 expf(0);
29257 ;
29258 return 0;
29259 }
29260 _ACEOF
29261 if ac_fn_cxx_try_compile "$LINENO"; then :
29262 glibcxx_cv_func_expf_use=yes
29263 else
29264 glibcxx_cv_func_expf_use=no
29265 fi
29266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29267 ac_ext=c
29268 ac_cpp='$CPP $CPPFLAGS'
29269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29272
29273
29274 fi
29275
29276 fi
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29278 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29279
29280 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29281 for ac_func in expf
29282 do :
29283 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29284 if test "x$ac_cv_func_expf" = x""yes; then :
29285 cat >>confdefs.h <<_ACEOF
29286 #define HAVE_EXPF 1
29287 _ACEOF
29288
29289 fi
29290 done
29291
29292 else
29293
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29295 $as_echo_n "checking for _expf declaration... " >&6; }
29296 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29297 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29298 $as_echo_n "(cached) " >&6
29299 else
29300
29301
29302 ac_ext=cpp
29303 ac_cpp='$CXXCPP $CPPFLAGS'
29304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29307
29308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29309 /* end confdefs.h. */
29310 #include <math.h>
29311 #ifdef HAVE_IEEEFP_H
29312 #include <ieeefp.h>
29313 #endif
29314
29315 int
29316 main ()
29317 {
29318 _expf(0);
29319 ;
29320 return 0;
29321 }
29322 _ACEOF
29323 if ac_fn_cxx_try_compile "$LINENO"; then :
29324 glibcxx_cv_func__expf_use=yes
29325 else
29326 glibcxx_cv_func__expf_use=no
29327 fi
29328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29329 ac_ext=c
29330 ac_cpp='$CPP $CPPFLAGS'
29331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29334
29335
29336 fi
29337
29338 fi
29339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29340 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29341
29342 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29343 for ac_func in _expf
29344 do :
29345 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29346 if test "x$ac_cv_func__expf" = x""yes; then :
29347 cat >>confdefs.h <<_ACEOF
29348 #define HAVE__EXPF 1
29349 _ACEOF
29350
29351 fi
29352 done
29353
29354 fi
29355 fi
29356
29357
29358
29359
29360
29361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29362 $as_echo_n "checking for isnanf declaration... " >&6; }
29363 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29364 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29365 $as_echo_n "(cached) " >&6
29366 else
29367
29368
29369 ac_ext=cpp
29370 ac_cpp='$CXXCPP $CPPFLAGS'
29371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29374
29375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29376 /* end confdefs.h. */
29377 #include <math.h>
29378 #ifdef HAVE_IEEEFP_H
29379 #include <ieeefp.h>
29380 #endif
29381
29382 int
29383 main ()
29384 {
29385 isnanf(0);
29386 ;
29387 return 0;
29388 }
29389 _ACEOF
29390 if ac_fn_cxx_try_compile "$LINENO"; then :
29391 glibcxx_cv_func_isnanf_use=yes
29392 else
29393 glibcxx_cv_func_isnanf_use=no
29394 fi
29395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29396 ac_ext=c
29397 ac_cpp='$CPP $CPPFLAGS'
29398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29401
29402
29403 fi
29404
29405 fi
29406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29407 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29408
29409 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29410 for ac_func in isnanf
29411 do :
29412 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29413 if test "x$ac_cv_func_isnanf" = x""yes; then :
29414 cat >>confdefs.h <<_ACEOF
29415 #define HAVE_ISNANF 1
29416 _ACEOF
29417
29418 fi
29419 done
29420
29421 else
29422
29423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29424 $as_echo_n "checking for _isnanf declaration... " >&6; }
29425 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29426 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29427 $as_echo_n "(cached) " >&6
29428 else
29429
29430
29431 ac_ext=cpp
29432 ac_cpp='$CXXCPP $CPPFLAGS'
29433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29436
29437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29438 /* end confdefs.h. */
29439 #include <math.h>
29440 #ifdef HAVE_IEEEFP_H
29441 #include <ieeefp.h>
29442 #endif
29443
29444 int
29445 main ()
29446 {
29447 _isnanf(0);
29448 ;
29449 return 0;
29450 }
29451 _ACEOF
29452 if ac_fn_cxx_try_compile "$LINENO"; then :
29453 glibcxx_cv_func__isnanf_use=yes
29454 else
29455 glibcxx_cv_func__isnanf_use=no
29456 fi
29457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29458 ac_ext=c
29459 ac_cpp='$CPP $CPPFLAGS'
29460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29463
29464
29465 fi
29466
29467 fi
29468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29469 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29470
29471 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29472 for ac_func in _isnanf
29473 do :
29474 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29475 if test "x$ac_cv_func__isnanf" = x""yes; then :
29476 cat >>confdefs.h <<_ACEOF
29477 #define HAVE__ISNANF 1
29478 _ACEOF
29479
29480 fi
29481 done
29482
29483 fi
29484 fi
29485
29486
29487
29488
29489
29490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29491 $as_echo_n "checking for isinff declaration... " >&6; }
29492 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29493 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29494 $as_echo_n "(cached) " >&6
29495 else
29496
29497
29498 ac_ext=cpp
29499 ac_cpp='$CXXCPP $CPPFLAGS'
29500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29503
29504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29505 /* end confdefs.h. */
29506 #include <math.h>
29507 #ifdef HAVE_IEEEFP_H
29508 #include <ieeefp.h>
29509 #endif
29510
29511 int
29512 main ()
29513 {
29514 isinff(0);
29515 ;
29516 return 0;
29517 }
29518 _ACEOF
29519 if ac_fn_cxx_try_compile "$LINENO"; then :
29520 glibcxx_cv_func_isinff_use=yes
29521 else
29522 glibcxx_cv_func_isinff_use=no
29523 fi
29524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29525 ac_ext=c
29526 ac_cpp='$CPP $CPPFLAGS'
29527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29530
29531
29532 fi
29533
29534 fi
29535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29536 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29537
29538 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29539 for ac_func in isinff
29540 do :
29541 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29542 if test "x$ac_cv_func_isinff" = x""yes; then :
29543 cat >>confdefs.h <<_ACEOF
29544 #define HAVE_ISINFF 1
29545 _ACEOF
29546
29547 fi
29548 done
29549
29550 else
29551
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29553 $as_echo_n "checking for _isinff declaration... " >&6; }
29554 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29555 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29556 $as_echo_n "(cached) " >&6
29557 else
29558
29559
29560 ac_ext=cpp
29561 ac_cpp='$CXXCPP $CPPFLAGS'
29562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29565
29566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29567 /* end confdefs.h. */
29568 #include <math.h>
29569 #ifdef HAVE_IEEEFP_H
29570 #include <ieeefp.h>
29571 #endif
29572
29573 int
29574 main ()
29575 {
29576 _isinff(0);
29577 ;
29578 return 0;
29579 }
29580 _ACEOF
29581 if ac_fn_cxx_try_compile "$LINENO"; then :
29582 glibcxx_cv_func__isinff_use=yes
29583 else
29584 glibcxx_cv_func__isinff_use=no
29585 fi
29586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29587 ac_ext=c
29588 ac_cpp='$CPP $CPPFLAGS'
29589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29592
29593
29594 fi
29595
29596 fi
29597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29598 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29599
29600 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29601 for ac_func in _isinff
29602 do :
29603 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29604 if test "x$ac_cv_func__isinff" = x""yes; then :
29605 cat >>confdefs.h <<_ACEOF
29606 #define HAVE__ISINFF 1
29607 _ACEOF
29608
29609 fi
29610 done
29611
29612 fi
29613 fi
29614
29615
29616
29617
29618
29619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29620 $as_echo_n "checking for atan2f declaration... " >&6; }
29621 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29622 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29623 $as_echo_n "(cached) " >&6
29624 else
29625
29626
29627 ac_ext=cpp
29628 ac_cpp='$CXXCPP $CPPFLAGS'
29629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29632
29633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29634 /* end confdefs.h. */
29635 #include <math.h>
29636 int
29637 main ()
29638 {
29639 atan2f(0, 0);
29640 ;
29641 return 0;
29642 }
29643 _ACEOF
29644 if ac_fn_cxx_try_compile "$LINENO"; then :
29645 glibcxx_cv_func_atan2f_use=yes
29646 else
29647 glibcxx_cv_func_atan2f_use=no
29648 fi
29649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29650 ac_ext=c
29651 ac_cpp='$CPP $CPPFLAGS'
29652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29655
29656
29657 fi
29658
29659 fi
29660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29661 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29662
29663 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29664 for ac_func in atan2f
29665 do :
29666 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29667 if test "x$ac_cv_func_atan2f" = x""yes; then :
29668 cat >>confdefs.h <<_ACEOF
29669 #define HAVE_ATAN2F 1
29670 _ACEOF
29671
29672 fi
29673 done
29674
29675 else
29676
29677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29678 $as_echo_n "checking for _atan2f declaration... " >&6; }
29679 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29680 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29681 $as_echo_n "(cached) " >&6
29682 else
29683
29684
29685 ac_ext=cpp
29686 ac_cpp='$CXXCPP $CPPFLAGS'
29687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29690
29691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29692 /* end confdefs.h. */
29693 #include <math.h>
29694 int
29695 main ()
29696 {
29697 _atan2f(0, 0);
29698 ;
29699 return 0;
29700 }
29701 _ACEOF
29702 if ac_fn_cxx_try_compile "$LINENO"; then :
29703 glibcxx_cv_func__atan2f_use=yes
29704 else
29705 glibcxx_cv_func__atan2f_use=no
29706 fi
29707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29708 ac_ext=c
29709 ac_cpp='$CPP $CPPFLAGS'
29710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29713
29714
29715 fi
29716
29717 fi
29718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29719 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29720
29721 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29722 for ac_func in _atan2f
29723 do :
29724 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29725 if test "x$ac_cv_func__atan2f" = x""yes; then :
29726 cat >>confdefs.h <<_ACEOF
29727 #define HAVE__ATAN2F 1
29728 _ACEOF
29729
29730 fi
29731 done
29732
29733 fi
29734 fi
29735
29736
29737
29738
29739
29740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29741 $as_echo_n "checking for fabsf declaration... " >&6; }
29742 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29743 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29744 $as_echo_n "(cached) " >&6
29745 else
29746
29747
29748 ac_ext=cpp
29749 ac_cpp='$CXXCPP $CPPFLAGS'
29750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29753
29754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29755 /* end confdefs.h. */
29756 #include <math.h>
29757 #ifdef HAVE_IEEEFP_H
29758 #include <ieeefp.h>
29759 #endif
29760
29761 int
29762 main ()
29763 {
29764 fabsf(0);
29765 ;
29766 return 0;
29767 }
29768 _ACEOF
29769 if ac_fn_cxx_try_compile "$LINENO"; then :
29770 glibcxx_cv_func_fabsf_use=yes
29771 else
29772 glibcxx_cv_func_fabsf_use=no
29773 fi
29774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29775 ac_ext=c
29776 ac_cpp='$CPP $CPPFLAGS'
29777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29780
29781
29782 fi
29783
29784 fi
29785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29786 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29787
29788 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29789 for ac_func in fabsf
29790 do :
29791 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29792 if test "x$ac_cv_func_fabsf" = x""yes; then :
29793 cat >>confdefs.h <<_ACEOF
29794 #define HAVE_FABSF 1
29795 _ACEOF
29796
29797 fi
29798 done
29799
29800 else
29801
29802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29803 $as_echo_n "checking for _fabsf declaration... " >&6; }
29804 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29805 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29806 $as_echo_n "(cached) " >&6
29807 else
29808
29809
29810 ac_ext=cpp
29811 ac_cpp='$CXXCPP $CPPFLAGS'
29812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29815
29816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29817 /* end confdefs.h. */
29818 #include <math.h>
29819 #ifdef HAVE_IEEEFP_H
29820 #include <ieeefp.h>
29821 #endif
29822
29823 int
29824 main ()
29825 {
29826 _fabsf(0);
29827 ;
29828 return 0;
29829 }
29830 _ACEOF
29831 if ac_fn_cxx_try_compile "$LINENO"; then :
29832 glibcxx_cv_func__fabsf_use=yes
29833 else
29834 glibcxx_cv_func__fabsf_use=no
29835 fi
29836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29837 ac_ext=c
29838 ac_cpp='$CPP $CPPFLAGS'
29839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29842
29843
29844 fi
29845
29846 fi
29847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29848 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29849
29850 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29851 for ac_func in _fabsf
29852 do :
29853 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29854 if test "x$ac_cv_func__fabsf" = x""yes; then :
29855 cat >>confdefs.h <<_ACEOF
29856 #define HAVE__FABSF 1
29857 _ACEOF
29858
29859 fi
29860 done
29861
29862 fi
29863 fi
29864
29865
29866
29867
29868
29869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29870 $as_echo_n "checking for fmodf declaration... " >&6; }
29871 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29872 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29873 $as_echo_n "(cached) " >&6
29874 else
29875
29876
29877 ac_ext=cpp
29878 ac_cpp='$CXXCPP $CPPFLAGS'
29879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29882
29883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29884 /* end confdefs.h. */
29885 #include <math.h>
29886 int
29887 main ()
29888 {
29889 fmodf(0, 0);
29890 ;
29891 return 0;
29892 }
29893 _ACEOF
29894 if ac_fn_cxx_try_compile "$LINENO"; then :
29895 glibcxx_cv_func_fmodf_use=yes
29896 else
29897 glibcxx_cv_func_fmodf_use=no
29898 fi
29899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29900 ac_ext=c
29901 ac_cpp='$CPP $CPPFLAGS'
29902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29905
29906
29907 fi
29908
29909 fi
29910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29911 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29912
29913 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29914 for ac_func in fmodf
29915 do :
29916 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29917 if test "x$ac_cv_func_fmodf" = x""yes; then :
29918 cat >>confdefs.h <<_ACEOF
29919 #define HAVE_FMODF 1
29920 _ACEOF
29921
29922 fi
29923 done
29924
29925 else
29926
29927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29928 $as_echo_n "checking for _fmodf declaration... " >&6; }
29929 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29930 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29931 $as_echo_n "(cached) " >&6
29932 else
29933
29934
29935 ac_ext=cpp
29936 ac_cpp='$CXXCPP $CPPFLAGS'
29937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29940
29941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29942 /* end confdefs.h. */
29943 #include <math.h>
29944 int
29945 main ()
29946 {
29947 _fmodf(0, 0);
29948 ;
29949 return 0;
29950 }
29951 _ACEOF
29952 if ac_fn_cxx_try_compile "$LINENO"; then :
29953 glibcxx_cv_func__fmodf_use=yes
29954 else
29955 glibcxx_cv_func__fmodf_use=no
29956 fi
29957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29958 ac_ext=c
29959 ac_cpp='$CPP $CPPFLAGS'
29960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29963
29964
29965 fi
29966
29967 fi
29968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29969 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29970
29971 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29972 for ac_func in _fmodf
29973 do :
29974 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29975 if test "x$ac_cv_func__fmodf" = x""yes; then :
29976 cat >>confdefs.h <<_ACEOF
29977 #define HAVE__FMODF 1
29978 _ACEOF
29979
29980 fi
29981 done
29982
29983 fi
29984 fi
29985
29986
29987
29988
29989
29990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29991 $as_echo_n "checking for frexpf declaration... " >&6; }
29992 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29993 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29994 $as_echo_n "(cached) " >&6
29995 else
29996
29997
29998 ac_ext=cpp
29999 ac_cpp='$CXXCPP $CPPFLAGS'
30000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30003
30004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30005 /* end confdefs.h. */
30006 #include <math.h>
30007 int
30008 main ()
30009 {
30010 frexpf(0, 0);
30011 ;
30012 return 0;
30013 }
30014 _ACEOF
30015 if ac_fn_cxx_try_compile "$LINENO"; then :
30016 glibcxx_cv_func_frexpf_use=yes
30017 else
30018 glibcxx_cv_func_frexpf_use=no
30019 fi
30020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30021 ac_ext=c
30022 ac_cpp='$CPP $CPPFLAGS'
30023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30026
30027
30028 fi
30029
30030 fi
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30032 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30033
30034 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30035 for ac_func in frexpf
30036 do :
30037 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30038 if test "x$ac_cv_func_frexpf" = x""yes; then :
30039 cat >>confdefs.h <<_ACEOF
30040 #define HAVE_FREXPF 1
30041 _ACEOF
30042
30043 fi
30044 done
30045
30046 else
30047
30048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30049 $as_echo_n "checking for _frexpf declaration... " >&6; }
30050 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30051 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30052 $as_echo_n "(cached) " >&6
30053 else
30054
30055
30056 ac_ext=cpp
30057 ac_cpp='$CXXCPP $CPPFLAGS'
30058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30061
30062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30063 /* end confdefs.h. */
30064 #include <math.h>
30065 int
30066 main ()
30067 {
30068 _frexpf(0, 0);
30069 ;
30070 return 0;
30071 }
30072 _ACEOF
30073 if ac_fn_cxx_try_compile "$LINENO"; then :
30074 glibcxx_cv_func__frexpf_use=yes
30075 else
30076 glibcxx_cv_func__frexpf_use=no
30077 fi
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30079 ac_ext=c
30080 ac_cpp='$CPP $CPPFLAGS'
30081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30084
30085
30086 fi
30087
30088 fi
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30090 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30091
30092 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30093 for ac_func in _frexpf
30094 do :
30095 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30096 if test "x$ac_cv_func__frexpf" = x""yes; then :
30097 cat >>confdefs.h <<_ACEOF
30098 #define HAVE__FREXPF 1
30099 _ACEOF
30100
30101 fi
30102 done
30103
30104 fi
30105 fi
30106
30107
30108
30109
30110
30111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30112 $as_echo_n "checking for hypotf declaration... " >&6; }
30113 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30114 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30115 $as_echo_n "(cached) " >&6
30116 else
30117
30118
30119 ac_ext=cpp
30120 ac_cpp='$CXXCPP $CPPFLAGS'
30121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30124
30125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30126 /* end confdefs.h. */
30127 #include <math.h>
30128 int
30129 main ()
30130 {
30131 hypotf(0, 0);
30132 ;
30133 return 0;
30134 }
30135 _ACEOF
30136 if ac_fn_cxx_try_compile "$LINENO"; then :
30137 glibcxx_cv_func_hypotf_use=yes
30138 else
30139 glibcxx_cv_func_hypotf_use=no
30140 fi
30141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30142 ac_ext=c
30143 ac_cpp='$CPP $CPPFLAGS'
30144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30147
30148
30149 fi
30150
30151 fi
30152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30153 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30154
30155 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30156 for ac_func in hypotf
30157 do :
30158 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30159 if test "x$ac_cv_func_hypotf" = x""yes; then :
30160 cat >>confdefs.h <<_ACEOF
30161 #define HAVE_HYPOTF 1
30162 _ACEOF
30163
30164 fi
30165 done
30166
30167 else
30168
30169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30170 $as_echo_n "checking for _hypotf declaration... " >&6; }
30171 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30172 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30173 $as_echo_n "(cached) " >&6
30174 else
30175
30176
30177 ac_ext=cpp
30178 ac_cpp='$CXXCPP $CPPFLAGS'
30179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30182
30183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30184 /* end confdefs.h. */
30185 #include <math.h>
30186 int
30187 main ()
30188 {
30189 _hypotf(0, 0);
30190 ;
30191 return 0;
30192 }
30193 _ACEOF
30194 if ac_fn_cxx_try_compile "$LINENO"; then :
30195 glibcxx_cv_func__hypotf_use=yes
30196 else
30197 glibcxx_cv_func__hypotf_use=no
30198 fi
30199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30200 ac_ext=c
30201 ac_cpp='$CPP $CPPFLAGS'
30202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30205
30206
30207 fi
30208
30209 fi
30210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30211 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30212
30213 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30214 for ac_func in _hypotf
30215 do :
30216 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30217 if test "x$ac_cv_func__hypotf" = x""yes; then :
30218 cat >>confdefs.h <<_ACEOF
30219 #define HAVE__HYPOTF 1
30220 _ACEOF
30221
30222 fi
30223 done
30224
30225 fi
30226 fi
30227
30228
30229
30230
30231
30232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30233 $as_echo_n "checking for ldexpf declaration... " >&6; }
30234 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30235 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30236 $as_echo_n "(cached) " >&6
30237 else
30238
30239
30240 ac_ext=cpp
30241 ac_cpp='$CXXCPP $CPPFLAGS'
30242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30245
30246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30247 /* end confdefs.h. */
30248 #include <math.h>
30249 int
30250 main ()
30251 {
30252 ldexpf(0, 0);
30253 ;
30254 return 0;
30255 }
30256 _ACEOF
30257 if ac_fn_cxx_try_compile "$LINENO"; then :
30258 glibcxx_cv_func_ldexpf_use=yes
30259 else
30260 glibcxx_cv_func_ldexpf_use=no
30261 fi
30262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30263 ac_ext=c
30264 ac_cpp='$CPP $CPPFLAGS'
30265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30268
30269
30270 fi
30271
30272 fi
30273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30274 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30275
30276 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30277 for ac_func in ldexpf
30278 do :
30279 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30280 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30281 cat >>confdefs.h <<_ACEOF
30282 #define HAVE_LDEXPF 1
30283 _ACEOF
30284
30285 fi
30286 done
30287
30288 else
30289
30290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30291 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30292 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30293 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30294 $as_echo_n "(cached) " >&6
30295 else
30296
30297
30298 ac_ext=cpp
30299 ac_cpp='$CXXCPP $CPPFLAGS'
30300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30303
30304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30305 /* end confdefs.h. */
30306 #include <math.h>
30307 int
30308 main ()
30309 {
30310 _ldexpf(0, 0);
30311 ;
30312 return 0;
30313 }
30314 _ACEOF
30315 if ac_fn_cxx_try_compile "$LINENO"; then :
30316 glibcxx_cv_func__ldexpf_use=yes
30317 else
30318 glibcxx_cv_func__ldexpf_use=no
30319 fi
30320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30321 ac_ext=c
30322 ac_cpp='$CPP $CPPFLAGS'
30323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30326
30327
30328 fi
30329
30330 fi
30331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30332 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30333
30334 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30335 for ac_func in _ldexpf
30336 do :
30337 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30338 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30339 cat >>confdefs.h <<_ACEOF
30340 #define HAVE__LDEXPF 1
30341 _ACEOF
30342
30343 fi
30344 done
30345
30346 fi
30347 fi
30348
30349
30350
30351
30352
30353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30354 $as_echo_n "checking for logf declaration... " >&6; }
30355 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30356 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30357 $as_echo_n "(cached) " >&6
30358 else
30359
30360
30361 ac_ext=cpp
30362 ac_cpp='$CXXCPP $CPPFLAGS'
30363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30366
30367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30368 /* end confdefs.h. */
30369 #include <math.h>
30370 #ifdef HAVE_IEEEFP_H
30371 #include <ieeefp.h>
30372 #endif
30373
30374 int
30375 main ()
30376 {
30377 logf(0);
30378 ;
30379 return 0;
30380 }
30381 _ACEOF
30382 if ac_fn_cxx_try_compile "$LINENO"; then :
30383 glibcxx_cv_func_logf_use=yes
30384 else
30385 glibcxx_cv_func_logf_use=no
30386 fi
30387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30388 ac_ext=c
30389 ac_cpp='$CPP $CPPFLAGS'
30390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30393
30394
30395 fi
30396
30397 fi
30398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30399 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30400
30401 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30402 for ac_func in logf
30403 do :
30404 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30405 if test "x$ac_cv_func_logf" = x""yes; then :
30406 cat >>confdefs.h <<_ACEOF
30407 #define HAVE_LOGF 1
30408 _ACEOF
30409
30410 fi
30411 done
30412
30413 else
30414
30415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30416 $as_echo_n "checking for _logf declaration... " >&6; }
30417 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30418 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30419 $as_echo_n "(cached) " >&6
30420 else
30421
30422
30423 ac_ext=cpp
30424 ac_cpp='$CXXCPP $CPPFLAGS'
30425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30428
30429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30430 /* end confdefs.h. */
30431 #include <math.h>
30432 #ifdef HAVE_IEEEFP_H
30433 #include <ieeefp.h>
30434 #endif
30435
30436 int
30437 main ()
30438 {
30439 _logf(0);
30440 ;
30441 return 0;
30442 }
30443 _ACEOF
30444 if ac_fn_cxx_try_compile "$LINENO"; then :
30445 glibcxx_cv_func__logf_use=yes
30446 else
30447 glibcxx_cv_func__logf_use=no
30448 fi
30449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30450 ac_ext=c
30451 ac_cpp='$CPP $CPPFLAGS'
30452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30455
30456
30457 fi
30458
30459 fi
30460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30461 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30462
30463 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30464 for ac_func in _logf
30465 do :
30466 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30467 if test "x$ac_cv_func__logf" = x""yes; then :
30468 cat >>confdefs.h <<_ACEOF
30469 #define HAVE__LOGF 1
30470 _ACEOF
30471
30472 fi
30473 done
30474
30475 fi
30476 fi
30477
30478
30479
30480
30481
30482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30483 $as_echo_n "checking for log10f declaration... " >&6; }
30484 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30485 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30486 $as_echo_n "(cached) " >&6
30487 else
30488
30489
30490 ac_ext=cpp
30491 ac_cpp='$CXXCPP $CPPFLAGS'
30492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30495
30496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30497 /* end confdefs.h. */
30498 #include <math.h>
30499 #ifdef HAVE_IEEEFP_H
30500 #include <ieeefp.h>
30501 #endif
30502
30503 int
30504 main ()
30505 {
30506 log10f(0);
30507 ;
30508 return 0;
30509 }
30510 _ACEOF
30511 if ac_fn_cxx_try_compile "$LINENO"; then :
30512 glibcxx_cv_func_log10f_use=yes
30513 else
30514 glibcxx_cv_func_log10f_use=no
30515 fi
30516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30517 ac_ext=c
30518 ac_cpp='$CPP $CPPFLAGS'
30519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30522
30523
30524 fi
30525
30526 fi
30527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30528 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30529
30530 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30531 for ac_func in log10f
30532 do :
30533 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30534 if test "x$ac_cv_func_log10f" = x""yes; then :
30535 cat >>confdefs.h <<_ACEOF
30536 #define HAVE_LOG10F 1
30537 _ACEOF
30538
30539 fi
30540 done
30541
30542 else
30543
30544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30545 $as_echo_n "checking for _log10f declaration... " >&6; }
30546 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30547 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30548 $as_echo_n "(cached) " >&6
30549 else
30550
30551
30552 ac_ext=cpp
30553 ac_cpp='$CXXCPP $CPPFLAGS'
30554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30557
30558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30559 /* end confdefs.h. */
30560 #include <math.h>
30561 #ifdef HAVE_IEEEFP_H
30562 #include <ieeefp.h>
30563 #endif
30564
30565 int
30566 main ()
30567 {
30568 _log10f(0);
30569 ;
30570 return 0;
30571 }
30572 _ACEOF
30573 if ac_fn_cxx_try_compile "$LINENO"; then :
30574 glibcxx_cv_func__log10f_use=yes
30575 else
30576 glibcxx_cv_func__log10f_use=no
30577 fi
30578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30579 ac_ext=c
30580 ac_cpp='$CPP $CPPFLAGS'
30581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30584
30585
30586 fi
30587
30588 fi
30589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30590 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30591
30592 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30593 for ac_func in _log10f
30594 do :
30595 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30596 if test "x$ac_cv_func__log10f" = x""yes; then :
30597 cat >>confdefs.h <<_ACEOF
30598 #define HAVE__LOG10F 1
30599 _ACEOF
30600
30601 fi
30602 done
30603
30604 fi
30605 fi
30606
30607
30608
30609
30610
30611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30612 $as_echo_n "checking for modff declaration... " >&6; }
30613 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30614 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30615 $as_echo_n "(cached) " >&6
30616 else
30617
30618
30619 ac_ext=cpp
30620 ac_cpp='$CXXCPP $CPPFLAGS'
30621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30624
30625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30626 /* end confdefs.h. */
30627 #include <math.h>
30628 int
30629 main ()
30630 {
30631 modff(0, 0);
30632 ;
30633 return 0;
30634 }
30635 _ACEOF
30636 if ac_fn_cxx_try_compile "$LINENO"; then :
30637 glibcxx_cv_func_modff_use=yes
30638 else
30639 glibcxx_cv_func_modff_use=no
30640 fi
30641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30642 ac_ext=c
30643 ac_cpp='$CPP $CPPFLAGS'
30644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30647
30648
30649 fi
30650
30651 fi
30652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30653 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30654
30655 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30656 for ac_func in modff
30657 do :
30658 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30659 if test "x$ac_cv_func_modff" = x""yes; then :
30660 cat >>confdefs.h <<_ACEOF
30661 #define HAVE_MODFF 1
30662 _ACEOF
30663
30664 fi
30665 done
30666
30667 else
30668
30669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30670 $as_echo_n "checking for _modff declaration... " >&6; }
30671 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30672 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30673 $as_echo_n "(cached) " >&6
30674 else
30675
30676
30677 ac_ext=cpp
30678 ac_cpp='$CXXCPP $CPPFLAGS'
30679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30682
30683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30684 /* end confdefs.h. */
30685 #include <math.h>
30686 int
30687 main ()
30688 {
30689 _modff(0, 0);
30690 ;
30691 return 0;
30692 }
30693 _ACEOF
30694 if ac_fn_cxx_try_compile "$LINENO"; then :
30695 glibcxx_cv_func__modff_use=yes
30696 else
30697 glibcxx_cv_func__modff_use=no
30698 fi
30699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30700 ac_ext=c
30701 ac_cpp='$CPP $CPPFLAGS'
30702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30705
30706
30707 fi
30708
30709 fi
30710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30711 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30712
30713 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30714 for ac_func in _modff
30715 do :
30716 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30717 if test "x$ac_cv_func__modff" = x""yes; then :
30718 cat >>confdefs.h <<_ACEOF
30719 #define HAVE__MODFF 1
30720 _ACEOF
30721
30722 fi
30723 done
30724
30725 fi
30726 fi
30727
30728
30729
30730
30731
30732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30733 $as_echo_n "checking for modf declaration... " >&6; }
30734 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30735 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30736 $as_echo_n "(cached) " >&6
30737 else
30738
30739
30740 ac_ext=cpp
30741 ac_cpp='$CXXCPP $CPPFLAGS'
30742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30745
30746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30747 /* end confdefs.h. */
30748 #include <math.h>
30749 int
30750 main ()
30751 {
30752 modf(0, 0);
30753 ;
30754 return 0;
30755 }
30756 _ACEOF
30757 if ac_fn_cxx_try_compile "$LINENO"; then :
30758 glibcxx_cv_func_modf_use=yes
30759 else
30760 glibcxx_cv_func_modf_use=no
30761 fi
30762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30763 ac_ext=c
30764 ac_cpp='$CPP $CPPFLAGS'
30765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30768
30769
30770 fi
30771
30772 fi
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30774 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30775
30776 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30777 for ac_func in modf
30778 do :
30779 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30780 if test "x$ac_cv_func_modf" = x""yes; then :
30781 cat >>confdefs.h <<_ACEOF
30782 #define HAVE_MODF 1
30783 _ACEOF
30784
30785 fi
30786 done
30787
30788 else
30789
30790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30791 $as_echo_n "checking for _modf declaration... " >&6; }
30792 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30793 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30794 $as_echo_n "(cached) " >&6
30795 else
30796
30797
30798 ac_ext=cpp
30799 ac_cpp='$CXXCPP $CPPFLAGS'
30800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30803
30804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30805 /* end confdefs.h. */
30806 #include <math.h>
30807 int
30808 main ()
30809 {
30810 _modf(0, 0);
30811 ;
30812 return 0;
30813 }
30814 _ACEOF
30815 if ac_fn_cxx_try_compile "$LINENO"; then :
30816 glibcxx_cv_func__modf_use=yes
30817 else
30818 glibcxx_cv_func__modf_use=no
30819 fi
30820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30821 ac_ext=c
30822 ac_cpp='$CPP $CPPFLAGS'
30823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30826
30827
30828 fi
30829
30830 fi
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30832 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30833
30834 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30835 for ac_func in _modf
30836 do :
30837 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30838 if test "x$ac_cv_func__modf" = x""yes; then :
30839 cat >>confdefs.h <<_ACEOF
30840 #define HAVE__MODF 1
30841 _ACEOF
30842
30843 fi
30844 done
30845
30846 fi
30847 fi
30848
30849
30850
30851
30852
30853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30854 $as_echo_n "checking for powf declaration... " >&6; }
30855 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30856 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30857 $as_echo_n "(cached) " >&6
30858 else
30859
30860
30861 ac_ext=cpp
30862 ac_cpp='$CXXCPP $CPPFLAGS'
30863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30866
30867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30868 /* end confdefs.h. */
30869 #include <math.h>
30870 int
30871 main ()
30872 {
30873 powf(0, 0);
30874 ;
30875 return 0;
30876 }
30877 _ACEOF
30878 if ac_fn_cxx_try_compile "$LINENO"; then :
30879 glibcxx_cv_func_powf_use=yes
30880 else
30881 glibcxx_cv_func_powf_use=no
30882 fi
30883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30884 ac_ext=c
30885 ac_cpp='$CPP $CPPFLAGS'
30886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30889
30890
30891 fi
30892
30893 fi
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30895 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30896
30897 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30898 for ac_func in powf
30899 do :
30900 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30901 if test "x$ac_cv_func_powf" = x""yes; then :
30902 cat >>confdefs.h <<_ACEOF
30903 #define HAVE_POWF 1
30904 _ACEOF
30905
30906 fi
30907 done
30908
30909 else
30910
30911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30912 $as_echo_n "checking for _powf declaration... " >&6; }
30913 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30914 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30915 $as_echo_n "(cached) " >&6
30916 else
30917
30918
30919 ac_ext=cpp
30920 ac_cpp='$CXXCPP $CPPFLAGS'
30921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30924
30925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30926 /* end confdefs.h. */
30927 #include <math.h>
30928 int
30929 main ()
30930 {
30931 _powf(0, 0);
30932 ;
30933 return 0;
30934 }
30935 _ACEOF
30936 if ac_fn_cxx_try_compile "$LINENO"; then :
30937 glibcxx_cv_func__powf_use=yes
30938 else
30939 glibcxx_cv_func__powf_use=no
30940 fi
30941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30942 ac_ext=c
30943 ac_cpp='$CPP $CPPFLAGS'
30944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30947
30948
30949 fi
30950
30951 fi
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30953 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30954
30955 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30956 for ac_func in _powf
30957 do :
30958 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30959 if test "x$ac_cv_func__powf" = x""yes; then :
30960 cat >>confdefs.h <<_ACEOF
30961 #define HAVE__POWF 1
30962 _ACEOF
30963
30964 fi
30965 done
30966
30967 fi
30968 fi
30969
30970
30971
30972
30973
30974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30975 $as_echo_n "checking for sqrtf declaration... " >&6; }
30976 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30977 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30978 $as_echo_n "(cached) " >&6
30979 else
30980
30981
30982 ac_ext=cpp
30983 ac_cpp='$CXXCPP $CPPFLAGS'
30984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30987
30988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30989 /* end confdefs.h. */
30990 #include <math.h>
30991 #ifdef HAVE_IEEEFP_H
30992 #include <ieeefp.h>
30993 #endif
30994
30995 int
30996 main ()
30997 {
30998 sqrtf(0);
30999 ;
31000 return 0;
31001 }
31002 _ACEOF
31003 if ac_fn_cxx_try_compile "$LINENO"; then :
31004 glibcxx_cv_func_sqrtf_use=yes
31005 else
31006 glibcxx_cv_func_sqrtf_use=no
31007 fi
31008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31009 ac_ext=c
31010 ac_cpp='$CPP $CPPFLAGS'
31011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31014
31015
31016 fi
31017
31018 fi
31019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31020 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31021
31022 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31023 for ac_func in sqrtf
31024 do :
31025 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31026 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31027 cat >>confdefs.h <<_ACEOF
31028 #define HAVE_SQRTF 1
31029 _ACEOF
31030
31031 fi
31032 done
31033
31034 else
31035
31036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31037 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31038 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31039 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31040 $as_echo_n "(cached) " >&6
31041 else
31042
31043
31044 ac_ext=cpp
31045 ac_cpp='$CXXCPP $CPPFLAGS'
31046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31049
31050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31051 /* end confdefs.h. */
31052 #include <math.h>
31053 #ifdef HAVE_IEEEFP_H
31054 #include <ieeefp.h>
31055 #endif
31056
31057 int
31058 main ()
31059 {
31060 _sqrtf(0);
31061 ;
31062 return 0;
31063 }
31064 _ACEOF
31065 if ac_fn_cxx_try_compile "$LINENO"; then :
31066 glibcxx_cv_func__sqrtf_use=yes
31067 else
31068 glibcxx_cv_func__sqrtf_use=no
31069 fi
31070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31071 ac_ext=c
31072 ac_cpp='$CPP $CPPFLAGS'
31073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31076
31077
31078 fi
31079
31080 fi
31081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31082 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31083
31084 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31085 for ac_func in _sqrtf
31086 do :
31087 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31088 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31089 cat >>confdefs.h <<_ACEOF
31090 #define HAVE__SQRTF 1
31091 _ACEOF
31092
31093 fi
31094 done
31095
31096 fi
31097 fi
31098
31099
31100
31101
31102
31103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31104 $as_echo_n "checking for sincosf declaration... " >&6; }
31105 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31106 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31107 $as_echo_n "(cached) " >&6
31108 else
31109
31110
31111 ac_ext=cpp
31112 ac_cpp='$CXXCPP $CPPFLAGS'
31113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31116
31117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31118 /* end confdefs.h. */
31119 #include <math.h>
31120 int
31121 main ()
31122 {
31123 sincosf(0, 0, 0);
31124 ;
31125 return 0;
31126 }
31127 _ACEOF
31128 if ac_fn_cxx_try_compile "$LINENO"; then :
31129 glibcxx_cv_func_sincosf_use=yes
31130 else
31131 glibcxx_cv_func_sincosf_use=no
31132 fi
31133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31134 ac_ext=c
31135 ac_cpp='$CPP $CPPFLAGS'
31136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31139
31140
31141 fi
31142
31143 fi
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31145 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31146
31147 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31148 for ac_func in sincosf
31149 do :
31150 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31151 if test "x$ac_cv_func_sincosf" = x""yes; then :
31152 cat >>confdefs.h <<_ACEOF
31153 #define HAVE_SINCOSF 1
31154 _ACEOF
31155
31156 fi
31157 done
31158
31159 else
31160
31161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31162 $as_echo_n "checking for _sincosf declaration... " >&6; }
31163 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31164 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31165 $as_echo_n "(cached) " >&6
31166 else
31167
31168
31169 ac_ext=cpp
31170 ac_cpp='$CXXCPP $CPPFLAGS'
31171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31174
31175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31176 /* end confdefs.h. */
31177 #include <math.h>
31178 int
31179 main ()
31180 {
31181 _sincosf(0, 0, 0);
31182 ;
31183 return 0;
31184 }
31185 _ACEOF
31186 if ac_fn_cxx_try_compile "$LINENO"; then :
31187 glibcxx_cv_func__sincosf_use=yes
31188 else
31189 glibcxx_cv_func__sincosf_use=no
31190 fi
31191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31192 ac_ext=c
31193 ac_cpp='$CPP $CPPFLAGS'
31194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31197
31198
31199 fi
31200
31201 fi
31202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31203 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31204
31205 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31206 for ac_func in _sincosf
31207 do :
31208 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31209 if test "x$ac_cv_func__sincosf" = x""yes; then :
31210 cat >>confdefs.h <<_ACEOF
31211 #define HAVE__SINCOSF 1
31212 _ACEOF
31213
31214 fi
31215 done
31216
31217 fi
31218 fi
31219
31220
31221
31222
31223
31224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31225 $as_echo_n "checking for finitef declaration... " >&6; }
31226 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31227 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31228 $as_echo_n "(cached) " >&6
31229 else
31230
31231
31232 ac_ext=cpp
31233 ac_cpp='$CXXCPP $CPPFLAGS'
31234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31237
31238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31239 /* end confdefs.h. */
31240 #include <math.h>
31241 #ifdef HAVE_IEEEFP_H
31242 #include <ieeefp.h>
31243 #endif
31244
31245 int
31246 main ()
31247 {
31248 finitef(0);
31249 ;
31250 return 0;
31251 }
31252 _ACEOF
31253 if ac_fn_cxx_try_compile "$LINENO"; then :
31254 glibcxx_cv_func_finitef_use=yes
31255 else
31256 glibcxx_cv_func_finitef_use=no
31257 fi
31258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31259 ac_ext=c
31260 ac_cpp='$CPP $CPPFLAGS'
31261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31264
31265
31266 fi
31267
31268 fi
31269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31270 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31271
31272 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31273 for ac_func in finitef
31274 do :
31275 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31276 if test "x$ac_cv_func_finitef" = x""yes; then :
31277 cat >>confdefs.h <<_ACEOF
31278 #define HAVE_FINITEF 1
31279 _ACEOF
31280
31281 fi
31282 done
31283
31284 else
31285
31286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31287 $as_echo_n "checking for _finitef declaration... " >&6; }
31288 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31289 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31290 $as_echo_n "(cached) " >&6
31291 else
31292
31293
31294 ac_ext=cpp
31295 ac_cpp='$CXXCPP $CPPFLAGS'
31296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31299
31300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31301 /* end confdefs.h. */
31302 #include <math.h>
31303 #ifdef HAVE_IEEEFP_H
31304 #include <ieeefp.h>
31305 #endif
31306
31307 int
31308 main ()
31309 {
31310 _finitef(0);
31311 ;
31312 return 0;
31313 }
31314 _ACEOF
31315 if ac_fn_cxx_try_compile "$LINENO"; then :
31316 glibcxx_cv_func__finitef_use=yes
31317 else
31318 glibcxx_cv_func__finitef_use=no
31319 fi
31320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31321 ac_ext=c
31322 ac_cpp='$CPP $CPPFLAGS'
31323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31326
31327
31328 fi
31329
31330 fi
31331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31332 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31333
31334 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31335 for ac_func in _finitef
31336 do :
31337 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31338 if test "x$ac_cv_func__finitef" = x""yes; then :
31339 cat >>confdefs.h <<_ACEOF
31340 #define HAVE__FINITEF 1
31341 _ACEOF
31342
31343 fi
31344 done
31345
31346 fi
31347 fi
31348
31349
31350
31351
31352
31353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31354 $as_echo_n "checking for long double trig functions... " >&6; }
31355 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31356 $as_echo_n "(cached) " >&6
31357 else
31358
31359
31360 ac_ext=cpp
31361 ac_cpp='$CXXCPP $CPPFLAGS'
31362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31365
31366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31367 /* end confdefs.h. */
31368 #include <math.h>
31369 int
31370 main ()
31371 {
31372 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31373 ;
31374 return 0;
31375 }
31376 _ACEOF
31377 if ac_fn_cxx_try_compile "$LINENO"; then :
31378 glibcxx_cv_func_long_double_trig_use=yes
31379 else
31380 glibcxx_cv_func_long_double_trig_use=no
31381 fi
31382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31383 ac_ext=c
31384 ac_cpp='$CPP $CPPFLAGS'
31385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31388
31389 fi
31390
31391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31392 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31393 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31394 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31395 do :
31396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31398 eval as_val=\$$as_ac_var
31399 if test "x$as_val" = x""yes; then :
31400 cat >>confdefs.h <<_ACEOF
31401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31402 _ACEOF
31403
31404 fi
31405 done
31406
31407 else
31408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31409 $as_echo_n "checking for _long double trig functions... " >&6; }
31410 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31411 $as_echo_n "(cached) " >&6
31412 else
31413
31414
31415 ac_ext=cpp
31416 ac_cpp='$CXXCPP $CPPFLAGS'
31417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31420
31421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31422 /* end confdefs.h. */
31423 #include <math.h>
31424 int
31425 main ()
31426 {
31427 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31428 ;
31429 return 0;
31430 }
31431 _ACEOF
31432 if ac_fn_cxx_try_compile "$LINENO"; then :
31433 glibcxx_cv_func__long_double_trig_use=yes
31434 else
31435 glibcxx_cv_func__long_double_trig_use=no
31436 fi
31437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31438 ac_ext=c
31439 ac_cpp='$CPP $CPPFLAGS'
31440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31443
31444 fi
31445
31446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31447 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31448 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31449 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31450 do :
31451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31453 eval as_val=\$$as_ac_var
31454 if test "x$as_val" = x""yes; then :
31455 cat >>confdefs.h <<_ACEOF
31456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31457 _ACEOF
31458
31459 fi
31460 done
31461
31462 fi
31463 fi
31464
31465
31466
31467
31468
31469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31470 $as_echo_n "checking for long double round functions... " >&6; }
31471 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31472 $as_echo_n "(cached) " >&6
31473 else
31474
31475
31476 ac_ext=cpp
31477 ac_cpp='$CXXCPP $CPPFLAGS'
31478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31481
31482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31483 /* end confdefs.h. */
31484 #include <math.h>
31485 int
31486 main ()
31487 {
31488 ceill (0); floorl (0);
31489 ;
31490 return 0;
31491 }
31492 _ACEOF
31493 if ac_fn_cxx_try_compile "$LINENO"; then :
31494 glibcxx_cv_func_long_double_round_use=yes
31495 else
31496 glibcxx_cv_func_long_double_round_use=no
31497 fi
31498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31499 ac_ext=c
31500 ac_cpp='$CPP $CPPFLAGS'
31501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31504
31505 fi
31506
31507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31508 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31509 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31510 for ac_func in ceill floorl
31511 do :
31512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31514 eval as_val=\$$as_ac_var
31515 if test "x$as_val" = x""yes; then :
31516 cat >>confdefs.h <<_ACEOF
31517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31518 _ACEOF
31519
31520 fi
31521 done
31522
31523 else
31524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31525 $as_echo_n "checking for _long double round functions... " >&6; }
31526 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31527 $as_echo_n "(cached) " >&6
31528 else
31529
31530
31531 ac_ext=cpp
31532 ac_cpp='$CXXCPP $CPPFLAGS'
31533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31536
31537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31538 /* end confdefs.h. */
31539 #include <math.h>
31540 int
31541 main ()
31542 {
31543 _ceill (0); _floorl (0);
31544 ;
31545 return 0;
31546 }
31547 _ACEOF
31548 if ac_fn_cxx_try_compile "$LINENO"; then :
31549 glibcxx_cv_func__long_double_round_use=yes
31550 else
31551 glibcxx_cv_func__long_double_round_use=no
31552 fi
31553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31554 ac_ext=c
31555 ac_cpp='$CPP $CPPFLAGS'
31556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31559
31560 fi
31561
31562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31563 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31564 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31565 for ac_func in _ceill _floorl
31566 do :
31567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31569 eval as_val=\$$as_ac_var
31570 if test "x$as_val" = x""yes; then :
31571 cat >>confdefs.h <<_ACEOF
31572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31573 _ACEOF
31574
31575 fi
31576 done
31577
31578 fi
31579 fi
31580
31581
31582
31583
31584
31585
31586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31587 $as_echo_n "checking for isnanl declaration... " >&6; }
31588 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31589 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31590 $as_echo_n "(cached) " >&6
31591 else
31592
31593
31594 ac_ext=cpp
31595 ac_cpp='$CXXCPP $CPPFLAGS'
31596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31599
31600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31601 /* end confdefs.h. */
31602 #include <math.h>
31603 #ifdef HAVE_IEEEFP_H
31604 #include <ieeefp.h>
31605 #endif
31606
31607 int
31608 main ()
31609 {
31610 isnanl(0);
31611 ;
31612 return 0;
31613 }
31614 _ACEOF
31615 if ac_fn_cxx_try_compile "$LINENO"; then :
31616 glibcxx_cv_func_isnanl_use=yes
31617 else
31618 glibcxx_cv_func_isnanl_use=no
31619 fi
31620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31621 ac_ext=c
31622 ac_cpp='$CPP $CPPFLAGS'
31623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31626
31627
31628 fi
31629
31630 fi
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31632 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31633
31634 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31635 for ac_func in isnanl
31636 do :
31637 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31638 if test "x$ac_cv_func_isnanl" = x""yes; then :
31639 cat >>confdefs.h <<_ACEOF
31640 #define HAVE_ISNANL 1
31641 _ACEOF
31642
31643 fi
31644 done
31645
31646 else
31647
31648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31649 $as_echo_n "checking for _isnanl declaration... " >&6; }
31650 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31651 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31652 $as_echo_n "(cached) " >&6
31653 else
31654
31655
31656 ac_ext=cpp
31657 ac_cpp='$CXXCPP $CPPFLAGS'
31658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31661
31662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31663 /* end confdefs.h. */
31664 #include <math.h>
31665 #ifdef HAVE_IEEEFP_H
31666 #include <ieeefp.h>
31667 #endif
31668
31669 int
31670 main ()
31671 {
31672 _isnanl(0);
31673 ;
31674 return 0;
31675 }
31676 _ACEOF
31677 if ac_fn_cxx_try_compile "$LINENO"; then :
31678 glibcxx_cv_func__isnanl_use=yes
31679 else
31680 glibcxx_cv_func__isnanl_use=no
31681 fi
31682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31683 ac_ext=c
31684 ac_cpp='$CPP $CPPFLAGS'
31685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31688
31689
31690 fi
31691
31692 fi
31693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31694 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31695
31696 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31697 for ac_func in _isnanl
31698 do :
31699 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31700 if test "x$ac_cv_func__isnanl" = x""yes; then :
31701 cat >>confdefs.h <<_ACEOF
31702 #define HAVE__ISNANL 1
31703 _ACEOF
31704
31705 fi
31706 done
31707
31708 fi
31709 fi
31710
31711
31712
31713
31714
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31716 $as_echo_n "checking for isinfl declaration... " >&6; }
31717 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31718 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31719 $as_echo_n "(cached) " >&6
31720 else
31721
31722
31723 ac_ext=cpp
31724 ac_cpp='$CXXCPP $CPPFLAGS'
31725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31728
31729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31730 /* end confdefs.h. */
31731 #include <math.h>
31732 #ifdef HAVE_IEEEFP_H
31733 #include <ieeefp.h>
31734 #endif
31735
31736 int
31737 main ()
31738 {
31739 isinfl(0);
31740 ;
31741 return 0;
31742 }
31743 _ACEOF
31744 if ac_fn_cxx_try_compile "$LINENO"; then :
31745 glibcxx_cv_func_isinfl_use=yes
31746 else
31747 glibcxx_cv_func_isinfl_use=no
31748 fi
31749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31750 ac_ext=c
31751 ac_cpp='$CPP $CPPFLAGS'
31752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31755
31756
31757 fi
31758
31759 fi
31760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31761 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31762
31763 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31764 for ac_func in isinfl
31765 do :
31766 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31767 if test "x$ac_cv_func_isinfl" = x""yes; then :
31768 cat >>confdefs.h <<_ACEOF
31769 #define HAVE_ISINFL 1
31770 _ACEOF
31771
31772 fi
31773 done
31774
31775 else
31776
31777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31778 $as_echo_n "checking for _isinfl declaration... " >&6; }
31779 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31780 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31781 $as_echo_n "(cached) " >&6
31782 else
31783
31784
31785 ac_ext=cpp
31786 ac_cpp='$CXXCPP $CPPFLAGS'
31787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31790
31791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31792 /* end confdefs.h. */
31793 #include <math.h>
31794 #ifdef HAVE_IEEEFP_H
31795 #include <ieeefp.h>
31796 #endif
31797
31798 int
31799 main ()
31800 {
31801 _isinfl(0);
31802 ;
31803 return 0;
31804 }
31805 _ACEOF
31806 if ac_fn_cxx_try_compile "$LINENO"; then :
31807 glibcxx_cv_func__isinfl_use=yes
31808 else
31809 glibcxx_cv_func__isinfl_use=no
31810 fi
31811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31812 ac_ext=c
31813 ac_cpp='$CPP $CPPFLAGS'
31814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31817
31818
31819 fi
31820
31821 fi
31822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31823 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31824
31825 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31826 for ac_func in _isinfl
31827 do :
31828 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31829 if test "x$ac_cv_func__isinfl" = x""yes; then :
31830 cat >>confdefs.h <<_ACEOF
31831 #define HAVE__ISINFL 1
31832 _ACEOF
31833
31834 fi
31835 done
31836
31837 fi
31838 fi
31839
31840
31841
31842
31843
31844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31845 $as_echo_n "checking for atan2l declaration... " >&6; }
31846 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31847 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31848 $as_echo_n "(cached) " >&6
31849 else
31850
31851
31852 ac_ext=cpp
31853 ac_cpp='$CXXCPP $CPPFLAGS'
31854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31857
31858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31859 /* end confdefs.h. */
31860 #include <math.h>
31861 int
31862 main ()
31863 {
31864 atan2l(0, 0);
31865 ;
31866 return 0;
31867 }
31868 _ACEOF
31869 if ac_fn_cxx_try_compile "$LINENO"; then :
31870 glibcxx_cv_func_atan2l_use=yes
31871 else
31872 glibcxx_cv_func_atan2l_use=no
31873 fi
31874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31875 ac_ext=c
31876 ac_cpp='$CPP $CPPFLAGS'
31877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31880
31881
31882 fi
31883
31884 fi
31885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31886 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31887
31888 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31889 for ac_func in atan2l
31890 do :
31891 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31892 if test "x$ac_cv_func_atan2l" = x""yes; then :
31893 cat >>confdefs.h <<_ACEOF
31894 #define HAVE_ATAN2L 1
31895 _ACEOF
31896
31897 fi
31898 done
31899
31900 else
31901
31902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31903 $as_echo_n "checking for _atan2l declaration... " >&6; }
31904 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31905 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31906 $as_echo_n "(cached) " >&6
31907 else
31908
31909
31910 ac_ext=cpp
31911 ac_cpp='$CXXCPP $CPPFLAGS'
31912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31915
31916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31917 /* end confdefs.h. */
31918 #include <math.h>
31919 int
31920 main ()
31921 {
31922 _atan2l(0, 0);
31923 ;
31924 return 0;
31925 }
31926 _ACEOF
31927 if ac_fn_cxx_try_compile "$LINENO"; then :
31928 glibcxx_cv_func__atan2l_use=yes
31929 else
31930 glibcxx_cv_func__atan2l_use=no
31931 fi
31932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31933 ac_ext=c
31934 ac_cpp='$CPP $CPPFLAGS'
31935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31938
31939
31940 fi
31941
31942 fi
31943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31944 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31945
31946 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31947 for ac_func in _atan2l
31948 do :
31949 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31950 if test "x$ac_cv_func__atan2l" = x""yes; then :
31951 cat >>confdefs.h <<_ACEOF
31952 #define HAVE__ATAN2L 1
31953 _ACEOF
31954
31955 fi
31956 done
31957
31958 fi
31959 fi
31960
31961
31962
31963
31964
31965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31966 $as_echo_n "checking for expl declaration... " >&6; }
31967 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31968 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31969 $as_echo_n "(cached) " >&6
31970 else
31971
31972
31973 ac_ext=cpp
31974 ac_cpp='$CXXCPP $CPPFLAGS'
31975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31978
31979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31980 /* end confdefs.h. */
31981 #include <math.h>
31982 #ifdef HAVE_IEEEFP_H
31983 #include <ieeefp.h>
31984 #endif
31985
31986 int
31987 main ()
31988 {
31989 expl(0);
31990 ;
31991 return 0;
31992 }
31993 _ACEOF
31994 if ac_fn_cxx_try_compile "$LINENO"; then :
31995 glibcxx_cv_func_expl_use=yes
31996 else
31997 glibcxx_cv_func_expl_use=no
31998 fi
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32000 ac_ext=c
32001 ac_cpp='$CPP $CPPFLAGS'
32002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32005
32006
32007 fi
32008
32009 fi
32010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32011 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32012
32013 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32014 for ac_func in expl
32015 do :
32016 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32017 if test "x$ac_cv_func_expl" = x""yes; then :
32018 cat >>confdefs.h <<_ACEOF
32019 #define HAVE_EXPL 1
32020 _ACEOF
32021
32022 fi
32023 done
32024
32025 else
32026
32027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32028 $as_echo_n "checking for _expl declaration... " >&6; }
32029 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32030 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32031 $as_echo_n "(cached) " >&6
32032 else
32033
32034
32035 ac_ext=cpp
32036 ac_cpp='$CXXCPP $CPPFLAGS'
32037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32040
32041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32042 /* end confdefs.h. */
32043 #include <math.h>
32044 #ifdef HAVE_IEEEFP_H
32045 #include <ieeefp.h>
32046 #endif
32047
32048 int
32049 main ()
32050 {
32051 _expl(0);
32052 ;
32053 return 0;
32054 }
32055 _ACEOF
32056 if ac_fn_cxx_try_compile "$LINENO"; then :
32057 glibcxx_cv_func__expl_use=yes
32058 else
32059 glibcxx_cv_func__expl_use=no
32060 fi
32061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32062 ac_ext=c
32063 ac_cpp='$CPP $CPPFLAGS'
32064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32067
32068
32069 fi
32070
32071 fi
32072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32073 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32074
32075 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32076 for ac_func in _expl
32077 do :
32078 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32079 if test "x$ac_cv_func__expl" = x""yes; then :
32080 cat >>confdefs.h <<_ACEOF
32081 #define HAVE__EXPL 1
32082 _ACEOF
32083
32084 fi
32085 done
32086
32087 fi
32088 fi
32089
32090
32091
32092
32093
32094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32095 $as_echo_n "checking for fabsl declaration... " >&6; }
32096 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32097 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32098 $as_echo_n "(cached) " >&6
32099 else
32100
32101
32102 ac_ext=cpp
32103 ac_cpp='$CXXCPP $CPPFLAGS'
32104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32107
32108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32109 /* end confdefs.h. */
32110 #include <math.h>
32111 #ifdef HAVE_IEEEFP_H
32112 #include <ieeefp.h>
32113 #endif
32114
32115 int
32116 main ()
32117 {
32118 fabsl(0);
32119 ;
32120 return 0;
32121 }
32122 _ACEOF
32123 if ac_fn_cxx_try_compile "$LINENO"; then :
32124 glibcxx_cv_func_fabsl_use=yes
32125 else
32126 glibcxx_cv_func_fabsl_use=no
32127 fi
32128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32129 ac_ext=c
32130 ac_cpp='$CPP $CPPFLAGS'
32131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32134
32135
32136 fi
32137
32138 fi
32139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32140 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32141
32142 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32143 for ac_func in fabsl
32144 do :
32145 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32146 if test "x$ac_cv_func_fabsl" = x""yes; then :
32147 cat >>confdefs.h <<_ACEOF
32148 #define HAVE_FABSL 1
32149 _ACEOF
32150
32151 fi
32152 done
32153
32154 else
32155
32156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32157 $as_echo_n "checking for _fabsl declaration... " >&6; }
32158 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32159 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32160 $as_echo_n "(cached) " >&6
32161 else
32162
32163
32164 ac_ext=cpp
32165 ac_cpp='$CXXCPP $CPPFLAGS'
32166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32169
32170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32171 /* end confdefs.h. */
32172 #include <math.h>
32173 #ifdef HAVE_IEEEFP_H
32174 #include <ieeefp.h>
32175 #endif
32176
32177 int
32178 main ()
32179 {
32180 _fabsl(0);
32181 ;
32182 return 0;
32183 }
32184 _ACEOF
32185 if ac_fn_cxx_try_compile "$LINENO"; then :
32186 glibcxx_cv_func__fabsl_use=yes
32187 else
32188 glibcxx_cv_func__fabsl_use=no
32189 fi
32190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32191 ac_ext=c
32192 ac_cpp='$CPP $CPPFLAGS'
32193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32196
32197
32198 fi
32199
32200 fi
32201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32202 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32203
32204 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32205 for ac_func in _fabsl
32206 do :
32207 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32208 if test "x$ac_cv_func__fabsl" = x""yes; then :
32209 cat >>confdefs.h <<_ACEOF
32210 #define HAVE__FABSL 1
32211 _ACEOF
32212
32213 fi
32214 done
32215
32216 fi
32217 fi
32218
32219
32220
32221
32222
32223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32224 $as_echo_n "checking for fmodl declaration... " >&6; }
32225 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32226 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32227 $as_echo_n "(cached) " >&6
32228 else
32229
32230
32231 ac_ext=cpp
32232 ac_cpp='$CXXCPP $CPPFLAGS'
32233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32236
32237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32238 /* end confdefs.h. */
32239 #include <math.h>
32240 int
32241 main ()
32242 {
32243 fmodl(0, 0);
32244 ;
32245 return 0;
32246 }
32247 _ACEOF
32248 if ac_fn_cxx_try_compile "$LINENO"; then :
32249 glibcxx_cv_func_fmodl_use=yes
32250 else
32251 glibcxx_cv_func_fmodl_use=no
32252 fi
32253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32254 ac_ext=c
32255 ac_cpp='$CPP $CPPFLAGS'
32256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32259
32260
32261 fi
32262
32263 fi
32264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32265 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32266
32267 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32268 for ac_func in fmodl
32269 do :
32270 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32271 if test "x$ac_cv_func_fmodl" = x""yes; then :
32272 cat >>confdefs.h <<_ACEOF
32273 #define HAVE_FMODL 1
32274 _ACEOF
32275
32276 fi
32277 done
32278
32279 else
32280
32281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32282 $as_echo_n "checking for _fmodl declaration... " >&6; }
32283 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32284 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32285 $as_echo_n "(cached) " >&6
32286 else
32287
32288
32289 ac_ext=cpp
32290 ac_cpp='$CXXCPP $CPPFLAGS'
32291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32294
32295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32296 /* end confdefs.h. */
32297 #include <math.h>
32298 int
32299 main ()
32300 {
32301 _fmodl(0, 0);
32302 ;
32303 return 0;
32304 }
32305 _ACEOF
32306 if ac_fn_cxx_try_compile "$LINENO"; then :
32307 glibcxx_cv_func__fmodl_use=yes
32308 else
32309 glibcxx_cv_func__fmodl_use=no
32310 fi
32311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32312 ac_ext=c
32313 ac_cpp='$CPP $CPPFLAGS'
32314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32317
32318
32319 fi
32320
32321 fi
32322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32323 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32324
32325 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32326 for ac_func in _fmodl
32327 do :
32328 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32329 if test "x$ac_cv_func__fmodl" = x""yes; then :
32330 cat >>confdefs.h <<_ACEOF
32331 #define HAVE__FMODL 1
32332 _ACEOF
32333
32334 fi
32335 done
32336
32337 fi
32338 fi
32339
32340
32341
32342
32343
32344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32345 $as_echo_n "checking for frexpl declaration... " >&6; }
32346 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32347 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32348 $as_echo_n "(cached) " >&6
32349 else
32350
32351
32352 ac_ext=cpp
32353 ac_cpp='$CXXCPP $CPPFLAGS'
32354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32357
32358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32359 /* end confdefs.h. */
32360 #include <math.h>
32361 int
32362 main ()
32363 {
32364 frexpl(0, 0);
32365 ;
32366 return 0;
32367 }
32368 _ACEOF
32369 if ac_fn_cxx_try_compile "$LINENO"; then :
32370 glibcxx_cv_func_frexpl_use=yes
32371 else
32372 glibcxx_cv_func_frexpl_use=no
32373 fi
32374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32375 ac_ext=c
32376 ac_cpp='$CPP $CPPFLAGS'
32377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32380
32381
32382 fi
32383
32384 fi
32385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32386 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32387
32388 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32389 for ac_func in frexpl
32390 do :
32391 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32392 if test "x$ac_cv_func_frexpl" = x""yes; then :
32393 cat >>confdefs.h <<_ACEOF
32394 #define HAVE_FREXPL 1
32395 _ACEOF
32396
32397 fi
32398 done
32399
32400 else
32401
32402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32403 $as_echo_n "checking for _frexpl declaration... " >&6; }
32404 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32405 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32406 $as_echo_n "(cached) " >&6
32407 else
32408
32409
32410 ac_ext=cpp
32411 ac_cpp='$CXXCPP $CPPFLAGS'
32412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32415
32416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32417 /* end confdefs.h. */
32418 #include <math.h>
32419 int
32420 main ()
32421 {
32422 _frexpl(0, 0);
32423 ;
32424 return 0;
32425 }
32426 _ACEOF
32427 if ac_fn_cxx_try_compile "$LINENO"; then :
32428 glibcxx_cv_func__frexpl_use=yes
32429 else
32430 glibcxx_cv_func__frexpl_use=no
32431 fi
32432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32433 ac_ext=c
32434 ac_cpp='$CPP $CPPFLAGS'
32435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32438
32439
32440 fi
32441
32442 fi
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32444 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32445
32446 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32447 for ac_func in _frexpl
32448 do :
32449 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32450 if test "x$ac_cv_func__frexpl" = x""yes; then :
32451 cat >>confdefs.h <<_ACEOF
32452 #define HAVE__FREXPL 1
32453 _ACEOF
32454
32455 fi
32456 done
32457
32458 fi
32459 fi
32460
32461
32462
32463
32464
32465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32466 $as_echo_n "checking for hypotl declaration... " >&6; }
32467 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32468 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32469 $as_echo_n "(cached) " >&6
32470 else
32471
32472
32473 ac_ext=cpp
32474 ac_cpp='$CXXCPP $CPPFLAGS'
32475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32478
32479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32480 /* end confdefs.h. */
32481 #include <math.h>
32482 int
32483 main ()
32484 {
32485 hypotl(0, 0);
32486 ;
32487 return 0;
32488 }
32489 _ACEOF
32490 if ac_fn_cxx_try_compile "$LINENO"; then :
32491 glibcxx_cv_func_hypotl_use=yes
32492 else
32493 glibcxx_cv_func_hypotl_use=no
32494 fi
32495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32496 ac_ext=c
32497 ac_cpp='$CPP $CPPFLAGS'
32498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32501
32502
32503 fi
32504
32505 fi
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32507 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32508
32509 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32510 for ac_func in hypotl
32511 do :
32512 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32513 if test "x$ac_cv_func_hypotl" = x""yes; then :
32514 cat >>confdefs.h <<_ACEOF
32515 #define HAVE_HYPOTL 1
32516 _ACEOF
32517
32518 fi
32519 done
32520
32521 else
32522
32523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32524 $as_echo_n "checking for _hypotl declaration... " >&6; }
32525 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32526 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32527 $as_echo_n "(cached) " >&6
32528 else
32529
32530
32531 ac_ext=cpp
32532 ac_cpp='$CXXCPP $CPPFLAGS'
32533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32536
32537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32538 /* end confdefs.h. */
32539 #include <math.h>
32540 int
32541 main ()
32542 {
32543 _hypotl(0, 0);
32544 ;
32545 return 0;
32546 }
32547 _ACEOF
32548 if ac_fn_cxx_try_compile "$LINENO"; then :
32549 glibcxx_cv_func__hypotl_use=yes
32550 else
32551 glibcxx_cv_func__hypotl_use=no
32552 fi
32553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32554 ac_ext=c
32555 ac_cpp='$CPP $CPPFLAGS'
32556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32559
32560
32561 fi
32562
32563 fi
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32565 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32566
32567 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32568 for ac_func in _hypotl
32569 do :
32570 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32571 if test "x$ac_cv_func__hypotl" = x""yes; then :
32572 cat >>confdefs.h <<_ACEOF
32573 #define HAVE__HYPOTL 1
32574 _ACEOF
32575
32576 fi
32577 done
32578
32579 fi
32580 fi
32581
32582
32583
32584
32585
32586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32587 $as_echo_n "checking for ldexpl declaration... " >&6; }
32588 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32589 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32590 $as_echo_n "(cached) " >&6
32591 else
32592
32593
32594 ac_ext=cpp
32595 ac_cpp='$CXXCPP $CPPFLAGS'
32596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32599
32600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32601 /* end confdefs.h. */
32602 #include <math.h>
32603 int
32604 main ()
32605 {
32606 ldexpl(0, 0);
32607 ;
32608 return 0;
32609 }
32610 _ACEOF
32611 if ac_fn_cxx_try_compile "$LINENO"; then :
32612 glibcxx_cv_func_ldexpl_use=yes
32613 else
32614 glibcxx_cv_func_ldexpl_use=no
32615 fi
32616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32617 ac_ext=c
32618 ac_cpp='$CPP $CPPFLAGS'
32619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32622
32623
32624 fi
32625
32626 fi
32627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32628 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32629
32630 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32631 for ac_func in ldexpl
32632 do :
32633 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32634 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32635 cat >>confdefs.h <<_ACEOF
32636 #define HAVE_LDEXPL 1
32637 _ACEOF
32638
32639 fi
32640 done
32641
32642 else
32643
32644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32645 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32646 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32647 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32648 $as_echo_n "(cached) " >&6
32649 else
32650
32651
32652 ac_ext=cpp
32653 ac_cpp='$CXXCPP $CPPFLAGS'
32654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32657
32658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32659 /* end confdefs.h. */
32660 #include <math.h>
32661 int
32662 main ()
32663 {
32664 _ldexpl(0, 0);
32665 ;
32666 return 0;
32667 }
32668 _ACEOF
32669 if ac_fn_cxx_try_compile "$LINENO"; then :
32670 glibcxx_cv_func__ldexpl_use=yes
32671 else
32672 glibcxx_cv_func__ldexpl_use=no
32673 fi
32674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32675 ac_ext=c
32676 ac_cpp='$CPP $CPPFLAGS'
32677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32680
32681
32682 fi
32683
32684 fi
32685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32686 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32687
32688 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32689 for ac_func in _ldexpl
32690 do :
32691 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32692 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32693 cat >>confdefs.h <<_ACEOF
32694 #define HAVE__LDEXPL 1
32695 _ACEOF
32696
32697 fi
32698 done
32699
32700 fi
32701 fi
32702
32703
32704
32705
32706
32707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32708 $as_echo_n "checking for logl declaration... " >&6; }
32709 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32710 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32711 $as_echo_n "(cached) " >&6
32712 else
32713
32714
32715 ac_ext=cpp
32716 ac_cpp='$CXXCPP $CPPFLAGS'
32717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32720
32721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32722 /* end confdefs.h. */
32723 #include <math.h>
32724 #ifdef HAVE_IEEEFP_H
32725 #include <ieeefp.h>
32726 #endif
32727
32728 int
32729 main ()
32730 {
32731 logl(0);
32732 ;
32733 return 0;
32734 }
32735 _ACEOF
32736 if ac_fn_cxx_try_compile "$LINENO"; then :
32737 glibcxx_cv_func_logl_use=yes
32738 else
32739 glibcxx_cv_func_logl_use=no
32740 fi
32741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32742 ac_ext=c
32743 ac_cpp='$CPP $CPPFLAGS'
32744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32747
32748
32749 fi
32750
32751 fi
32752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32753 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32754
32755 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32756 for ac_func in logl
32757 do :
32758 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32759 if test "x$ac_cv_func_logl" = x""yes; then :
32760 cat >>confdefs.h <<_ACEOF
32761 #define HAVE_LOGL 1
32762 _ACEOF
32763
32764 fi
32765 done
32766
32767 else
32768
32769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32770 $as_echo_n "checking for _logl declaration... " >&6; }
32771 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32772 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32773 $as_echo_n "(cached) " >&6
32774 else
32775
32776
32777 ac_ext=cpp
32778 ac_cpp='$CXXCPP $CPPFLAGS'
32779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32782
32783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32784 /* end confdefs.h. */
32785 #include <math.h>
32786 #ifdef HAVE_IEEEFP_H
32787 #include <ieeefp.h>
32788 #endif
32789
32790 int
32791 main ()
32792 {
32793 _logl(0);
32794 ;
32795 return 0;
32796 }
32797 _ACEOF
32798 if ac_fn_cxx_try_compile "$LINENO"; then :
32799 glibcxx_cv_func__logl_use=yes
32800 else
32801 glibcxx_cv_func__logl_use=no
32802 fi
32803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32804 ac_ext=c
32805 ac_cpp='$CPP $CPPFLAGS'
32806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32809
32810
32811 fi
32812
32813 fi
32814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32815 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32816
32817 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32818 for ac_func in _logl
32819 do :
32820 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32821 if test "x$ac_cv_func__logl" = x""yes; then :
32822 cat >>confdefs.h <<_ACEOF
32823 #define HAVE__LOGL 1
32824 _ACEOF
32825
32826 fi
32827 done
32828
32829 fi
32830 fi
32831
32832
32833
32834
32835
32836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32837 $as_echo_n "checking for log10l declaration... " >&6; }
32838 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32839 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32840 $as_echo_n "(cached) " >&6
32841 else
32842
32843
32844 ac_ext=cpp
32845 ac_cpp='$CXXCPP $CPPFLAGS'
32846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32849
32850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32851 /* end confdefs.h. */
32852 #include <math.h>
32853 #ifdef HAVE_IEEEFP_H
32854 #include <ieeefp.h>
32855 #endif
32856
32857 int
32858 main ()
32859 {
32860 log10l(0);
32861 ;
32862 return 0;
32863 }
32864 _ACEOF
32865 if ac_fn_cxx_try_compile "$LINENO"; then :
32866 glibcxx_cv_func_log10l_use=yes
32867 else
32868 glibcxx_cv_func_log10l_use=no
32869 fi
32870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32871 ac_ext=c
32872 ac_cpp='$CPP $CPPFLAGS'
32873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32876
32877
32878 fi
32879
32880 fi
32881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32882 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32883
32884 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32885 for ac_func in log10l
32886 do :
32887 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32888 if test "x$ac_cv_func_log10l" = x""yes; then :
32889 cat >>confdefs.h <<_ACEOF
32890 #define HAVE_LOG10L 1
32891 _ACEOF
32892
32893 fi
32894 done
32895
32896 else
32897
32898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32899 $as_echo_n "checking for _log10l declaration... " >&6; }
32900 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32901 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32902 $as_echo_n "(cached) " >&6
32903 else
32904
32905
32906 ac_ext=cpp
32907 ac_cpp='$CXXCPP $CPPFLAGS'
32908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32911
32912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32913 /* end confdefs.h. */
32914 #include <math.h>
32915 #ifdef HAVE_IEEEFP_H
32916 #include <ieeefp.h>
32917 #endif
32918
32919 int
32920 main ()
32921 {
32922 _log10l(0);
32923 ;
32924 return 0;
32925 }
32926 _ACEOF
32927 if ac_fn_cxx_try_compile "$LINENO"; then :
32928 glibcxx_cv_func__log10l_use=yes
32929 else
32930 glibcxx_cv_func__log10l_use=no
32931 fi
32932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32933 ac_ext=c
32934 ac_cpp='$CPP $CPPFLAGS'
32935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32938
32939
32940 fi
32941
32942 fi
32943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32944 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32945
32946 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32947 for ac_func in _log10l
32948 do :
32949 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32950 if test "x$ac_cv_func__log10l" = x""yes; then :
32951 cat >>confdefs.h <<_ACEOF
32952 #define HAVE__LOG10L 1
32953 _ACEOF
32954
32955 fi
32956 done
32957
32958 fi
32959 fi
32960
32961
32962
32963
32964
32965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32966 $as_echo_n "checking for modfl declaration... " >&6; }
32967 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32968 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32969 $as_echo_n "(cached) " >&6
32970 else
32971
32972
32973 ac_ext=cpp
32974 ac_cpp='$CXXCPP $CPPFLAGS'
32975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32978
32979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32980 /* end confdefs.h. */
32981 #include <math.h>
32982 int
32983 main ()
32984 {
32985 modfl(0, 0);
32986 ;
32987 return 0;
32988 }
32989 _ACEOF
32990 if ac_fn_cxx_try_compile "$LINENO"; then :
32991 glibcxx_cv_func_modfl_use=yes
32992 else
32993 glibcxx_cv_func_modfl_use=no
32994 fi
32995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32996 ac_ext=c
32997 ac_cpp='$CPP $CPPFLAGS'
32998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33001
33002
33003 fi
33004
33005 fi
33006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33007 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33008
33009 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33010 for ac_func in modfl
33011 do :
33012 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33013 if test "x$ac_cv_func_modfl" = x""yes; then :
33014 cat >>confdefs.h <<_ACEOF
33015 #define HAVE_MODFL 1
33016 _ACEOF
33017
33018 fi
33019 done
33020
33021 else
33022
33023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33024 $as_echo_n "checking for _modfl declaration... " >&6; }
33025 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33026 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33027 $as_echo_n "(cached) " >&6
33028 else
33029
33030
33031 ac_ext=cpp
33032 ac_cpp='$CXXCPP $CPPFLAGS'
33033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33036
33037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33038 /* end confdefs.h. */
33039 #include <math.h>
33040 int
33041 main ()
33042 {
33043 _modfl(0, 0);
33044 ;
33045 return 0;
33046 }
33047 _ACEOF
33048 if ac_fn_cxx_try_compile "$LINENO"; then :
33049 glibcxx_cv_func__modfl_use=yes
33050 else
33051 glibcxx_cv_func__modfl_use=no
33052 fi
33053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33054 ac_ext=c
33055 ac_cpp='$CPP $CPPFLAGS'
33056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33059
33060
33061 fi
33062
33063 fi
33064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33065 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33066
33067 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33068 for ac_func in _modfl
33069 do :
33070 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33071 if test "x$ac_cv_func__modfl" = x""yes; then :
33072 cat >>confdefs.h <<_ACEOF
33073 #define HAVE__MODFL 1
33074 _ACEOF
33075
33076 fi
33077 done
33078
33079 fi
33080 fi
33081
33082
33083
33084
33085
33086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33087 $as_echo_n "checking for powl declaration... " >&6; }
33088 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33089 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33090 $as_echo_n "(cached) " >&6
33091 else
33092
33093
33094 ac_ext=cpp
33095 ac_cpp='$CXXCPP $CPPFLAGS'
33096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33099
33100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33101 /* end confdefs.h. */
33102 #include <math.h>
33103 int
33104 main ()
33105 {
33106 powl(0, 0);
33107 ;
33108 return 0;
33109 }
33110 _ACEOF
33111 if ac_fn_cxx_try_compile "$LINENO"; then :
33112 glibcxx_cv_func_powl_use=yes
33113 else
33114 glibcxx_cv_func_powl_use=no
33115 fi
33116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33117 ac_ext=c
33118 ac_cpp='$CPP $CPPFLAGS'
33119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33122
33123
33124 fi
33125
33126 fi
33127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33128 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33129
33130 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33131 for ac_func in powl
33132 do :
33133 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33134 if test "x$ac_cv_func_powl" = x""yes; then :
33135 cat >>confdefs.h <<_ACEOF
33136 #define HAVE_POWL 1
33137 _ACEOF
33138
33139 fi
33140 done
33141
33142 else
33143
33144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33145 $as_echo_n "checking for _powl declaration... " >&6; }
33146 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33147 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33148 $as_echo_n "(cached) " >&6
33149 else
33150
33151
33152 ac_ext=cpp
33153 ac_cpp='$CXXCPP $CPPFLAGS'
33154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33157
33158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33159 /* end confdefs.h. */
33160 #include <math.h>
33161 int
33162 main ()
33163 {
33164 _powl(0, 0);
33165 ;
33166 return 0;
33167 }
33168 _ACEOF
33169 if ac_fn_cxx_try_compile "$LINENO"; then :
33170 glibcxx_cv_func__powl_use=yes
33171 else
33172 glibcxx_cv_func__powl_use=no
33173 fi
33174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33175 ac_ext=c
33176 ac_cpp='$CPP $CPPFLAGS'
33177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33180
33181
33182 fi
33183
33184 fi
33185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33186 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33187
33188 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33189 for ac_func in _powl
33190 do :
33191 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33192 if test "x$ac_cv_func__powl" = x""yes; then :
33193 cat >>confdefs.h <<_ACEOF
33194 #define HAVE__POWL 1
33195 _ACEOF
33196
33197 fi
33198 done
33199
33200 fi
33201 fi
33202
33203
33204
33205
33206
33207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33208 $as_echo_n "checking for sqrtl declaration... " >&6; }
33209 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33210 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33211 $as_echo_n "(cached) " >&6
33212 else
33213
33214
33215 ac_ext=cpp
33216 ac_cpp='$CXXCPP $CPPFLAGS'
33217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33220
33221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33222 /* end confdefs.h. */
33223 #include <math.h>
33224 #ifdef HAVE_IEEEFP_H
33225 #include <ieeefp.h>
33226 #endif
33227
33228 int
33229 main ()
33230 {
33231 sqrtl(0);
33232 ;
33233 return 0;
33234 }
33235 _ACEOF
33236 if ac_fn_cxx_try_compile "$LINENO"; then :
33237 glibcxx_cv_func_sqrtl_use=yes
33238 else
33239 glibcxx_cv_func_sqrtl_use=no
33240 fi
33241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33242 ac_ext=c
33243 ac_cpp='$CPP $CPPFLAGS'
33244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33247
33248
33249 fi
33250
33251 fi
33252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33253 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33254
33255 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33256 for ac_func in sqrtl
33257 do :
33258 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33259 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33260 cat >>confdefs.h <<_ACEOF
33261 #define HAVE_SQRTL 1
33262 _ACEOF
33263
33264 fi
33265 done
33266
33267 else
33268
33269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33270 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33271 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33272 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33273 $as_echo_n "(cached) " >&6
33274 else
33275
33276
33277 ac_ext=cpp
33278 ac_cpp='$CXXCPP $CPPFLAGS'
33279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33282
33283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33284 /* end confdefs.h. */
33285 #include <math.h>
33286 #ifdef HAVE_IEEEFP_H
33287 #include <ieeefp.h>
33288 #endif
33289
33290 int
33291 main ()
33292 {
33293 _sqrtl(0);
33294 ;
33295 return 0;
33296 }
33297 _ACEOF
33298 if ac_fn_cxx_try_compile "$LINENO"; then :
33299 glibcxx_cv_func__sqrtl_use=yes
33300 else
33301 glibcxx_cv_func__sqrtl_use=no
33302 fi
33303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33304 ac_ext=c
33305 ac_cpp='$CPP $CPPFLAGS'
33306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33309
33310
33311 fi
33312
33313 fi
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33315 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33316
33317 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33318 for ac_func in _sqrtl
33319 do :
33320 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33321 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33322 cat >>confdefs.h <<_ACEOF
33323 #define HAVE__SQRTL 1
33324 _ACEOF
33325
33326 fi
33327 done
33328
33329 fi
33330 fi
33331
33332
33333
33334
33335
33336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33337 $as_echo_n "checking for sincosl declaration... " >&6; }
33338 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33339 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33340 $as_echo_n "(cached) " >&6
33341 else
33342
33343
33344 ac_ext=cpp
33345 ac_cpp='$CXXCPP $CPPFLAGS'
33346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33349
33350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33351 /* end confdefs.h. */
33352 #include <math.h>
33353 int
33354 main ()
33355 {
33356 sincosl(0, 0, 0);
33357 ;
33358 return 0;
33359 }
33360 _ACEOF
33361 if ac_fn_cxx_try_compile "$LINENO"; then :
33362 glibcxx_cv_func_sincosl_use=yes
33363 else
33364 glibcxx_cv_func_sincosl_use=no
33365 fi
33366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33367 ac_ext=c
33368 ac_cpp='$CPP $CPPFLAGS'
33369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33372
33373
33374 fi
33375
33376 fi
33377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33378 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33379
33380 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33381 for ac_func in sincosl
33382 do :
33383 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33384 if test "x$ac_cv_func_sincosl" = x""yes; then :
33385 cat >>confdefs.h <<_ACEOF
33386 #define HAVE_SINCOSL 1
33387 _ACEOF
33388
33389 fi
33390 done
33391
33392 else
33393
33394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33395 $as_echo_n "checking for _sincosl declaration... " >&6; }
33396 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33397 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33398 $as_echo_n "(cached) " >&6
33399 else
33400
33401
33402 ac_ext=cpp
33403 ac_cpp='$CXXCPP $CPPFLAGS'
33404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33407
33408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33409 /* end confdefs.h. */
33410 #include <math.h>
33411 int
33412 main ()
33413 {
33414 _sincosl(0, 0, 0);
33415 ;
33416 return 0;
33417 }
33418 _ACEOF
33419 if ac_fn_cxx_try_compile "$LINENO"; then :
33420 glibcxx_cv_func__sincosl_use=yes
33421 else
33422 glibcxx_cv_func__sincosl_use=no
33423 fi
33424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33425 ac_ext=c
33426 ac_cpp='$CPP $CPPFLAGS'
33427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33430
33431
33432 fi
33433
33434 fi
33435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33436 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33437
33438 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33439 for ac_func in _sincosl
33440 do :
33441 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33442 if test "x$ac_cv_func__sincosl" = x""yes; then :
33443 cat >>confdefs.h <<_ACEOF
33444 #define HAVE__SINCOSL 1
33445 _ACEOF
33446
33447 fi
33448 done
33449
33450 fi
33451 fi
33452
33453
33454
33455
33456
33457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33458 $as_echo_n "checking for finitel declaration... " >&6; }
33459 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33460 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33461 $as_echo_n "(cached) " >&6
33462 else
33463
33464
33465 ac_ext=cpp
33466 ac_cpp='$CXXCPP $CPPFLAGS'
33467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33470
33471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33472 /* end confdefs.h. */
33473 #include <math.h>
33474 #ifdef HAVE_IEEEFP_H
33475 #include <ieeefp.h>
33476 #endif
33477
33478 int
33479 main ()
33480 {
33481 finitel(0);
33482 ;
33483 return 0;
33484 }
33485 _ACEOF
33486 if ac_fn_cxx_try_compile "$LINENO"; then :
33487 glibcxx_cv_func_finitel_use=yes
33488 else
33489 glibcxx_cv_func_finitel_use=no
33490 fi
33491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33492 ac_ext=c
33493 ac_cpp='$CPP $CPPFLAGS'
33494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33497
33498
33499 fi
33500
33501 fi
33502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33503 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33504
33505 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33506 for ac_func in finitel
33507 do :
33508 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33509 if test "x$ac_cv_func_finitel" = x""yes; then :
33510 cat >>confdefs.h <<_ACEOF
33511 #define HAVE_FINITEL 1
33512 _ACEOF
33513
33514 fi
33515 done
33516
33517 else
33518
33519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33520 $as_echo_n "checking for _finitel declaration... " >&6; }
33521 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33522 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33523 $as_echo_n "(cached) " >&6
33524 else
33525
33526
33527 ac_ext=cpp
33528 ac_cpp='$CXXCPP $CPPFLAGS'
33529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33532
33533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33534 /* end confdefs.h. */
33535 #include <math.h>
33536 #ifdef HAVE_IEEEFP_H
33537 #include <ieeefp.h>
33538 #endif
33539
33540 int
33541 main ()
33542 {
33543 _finitel(0);
33544 ;
33545 return 0;
33546 }
33547 _ACEOF
33548 if ac_fn_cxx_try_compile "$LINENO"; then :
33549 glibcxx_cv_func__finitel_use=yes
33550 else
33551 glibcxx_cv_func__finitel_use=no
33552 fi
33553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33554 ac_ext=c
33555 ac_cpp='$CPP $CPPFLAGS'
33556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33559
33560
33561 fi
33562
33563 fi
33564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33565 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33566
33567 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33568 for ac_func in _finitel
33569 do :
33570 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33571 if test "x$ac_cv_func__finitel" = x""yes; then :
33572 cat >>confdefs.h <<_ACEOF
33573 #define HAVE__FINITEL 1
33574 _ACEOF
33575
33576 fi
33577 done
33578
33579 fi
33580 fi
33581
33582
33583
33584
33585 LIBS="$ac_save_LIBS"
33586 CXXFLAGS="$ac_save_CXXFLAGS"
33587
33588
33589 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33590 ac_save_CXXFLAGS="$CXXFLAGS"
33591 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33592
33593
33594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33595 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33596 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33597 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33598 $as_echo_n "(cached) " >&6
33599 else
33600
33601
33602 ac_ext=cpp
33603 ac_cpp='$CXXCPP $CPPFLAGS'
33604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33607
33608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33609 /* end confdefs.h. */
33610 #include <stdlib.h>
33611 int
33612 main ()
33613 {
33614 at_quick_exit(0);
33615 ;
33616 return 0;
33617 }
33618 _ACEOF
33619 if ac_fn_cxx_try_compile "$LINENO"; then :
33620 glibcxx_cv_func_at_quick_exit_use=yes
33621 else
33622 glibcxx_cv_func_at_quick_exit_use=no
33623 fi
33624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33625 ac_ext=c
33626 ac_cpp='$CPP $CPPFLAGS'
33627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33630
33631
33632 fi
33633
33634 fi
33635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33636 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33637 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33638 for ac_func in at_quick_exit
33639 do :
33640 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33641 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33642 cat >>confdefs.h <<_ACEOF
33643 #define HAVE_AT_QUICK_EXIT 1
33644 _ACEOF
33645
33646 fi
33647 done
33648
33649 fi
33650
33651
33652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33653 $as_echo_n "checking for quick_exit declaration... " >&6; }
33654 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33655 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33656 $as_echo_n "(cached) " >&6
33657 else
33658
33659
33660 ac_ext=cpp
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33665
33666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33667 /* end confdefs.h. */
33668 #include <stdlib.h>
33669 int
33670 main ()
33671 {
33672 quick_exit(0);
33673 ;
33674 return 0;
33675 }
33676 _ACEOF
33677 if ac_fn_cxx_try_compile "$LINENO"; then :
33678 glibcxx_cv_func_quick_exit_use=yes
33679 else
33680 glibcxx_cv_func_quick_exit_use=no
33681 fi
33682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33683 ac_ext=c
33684 ac_cpp='$CPP $CPPFLAGS'
33685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33688
33689
33690 fi
33691
33692 fi
33693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33694 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33695 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33696 for ac_func in quick_exit
33697 do :
33698 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33699 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33700 cat >>confdefs.h <<_ACEOF
33701 #define HAVE_QUICK_EXIT 1
33702 _ACEOF
33703
33704 fi
33705 done
33706
33707 fi
33708
33709
33710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33711 $as_echo_n "checking for strtold declaration... " >&6; }
33712 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33713 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33714 $as_echo_n "(cached) " >&6
33715 else
33716
33717
33718 ac_ext=cpp
33719 ac_cpp='$CXXCPP $CPPFLAGS'
33720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33723
33724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33725 /* end confdefs.h. */
33726 #include <stdlib.h>
33727 int
33728 main ()
33729 {
33730 strtold(0, 0);
33731 ;
33732 return 0;
33733 }
33734 _ACEOF
33735 if ac_fn_cxx_try_compile "$LINENO"; then :
33736 glibcxx_cv_func_strtold_use=yes
33737 else
33738 glibcxx_cv_func_strtold_use=no
33739 fi
33740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33741 ac_ext=c
33742 ac_cpp='$CPP $CPPFLAGS'
33743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33746
33747
33748 fi
33749
33750 fi
33751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33752 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33753 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33754 for ac_func in strtold
33755 do :
33756 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33757 if test "x$ac_cv_func_strtold" = x""yes; then :
33758 cat >>confdefs.h <<_ACEOF
33759 #define HAVE_STRTOLD 1
33760 _ACEOF
33761
33762 fi
33763 done
33764
33765 fi
33766
33767
33768
33769
33770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33771 $as_echo_n "checking for strtof declaration... " >&6; }
33772 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33773 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33774 $as_echo_n "(cached) " >&6
33775 else
33776
33777
33778 ac_ext=cpp
33779 ac_cpp='$CXXCPP $CPPFLAGS'
33780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33783
33784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33785 /* end confdefs.h. */
33786 #include <stdlib.h>
33787 int
33788 main ()
33789 {
33790 strtof(0, 0);
33791 ;
33792 return 0;
33793 }
33794 _ACEOF
33795 if ac_fn_cxx_try_compile "$LINENO"; then :
33796 glibcxx_cv_func_strtof_use=yes
33797 else
33798 glibcxx_cv_func_strtof_use=no
33799 fi
33800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33801 ac_ext=c
33802 ac_cpp='$CPP $CPPFLAGS'
33803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33806
33807
33808 fi
33809
33810 fi
33811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33812 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33813 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33814 for ac_func in strtof
33815 do :
33816 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33817 if test "x$ac_cv_func_strtof" = x""yes; then :
33818 cat >>confdefs.h <<_ACEOF
33819 #define HAVE_STRTOF 1
33820 _ACEOF
33821
33822 fi
33823 done
33824
33825 fi
33826
33827
33828
33829
33830 CXXFLAGS="$ac_save_CXXFLAGS"
33831
33832
33833 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33834
33835 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33836
33837 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33838
33839 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33840
33841
33842 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33843
33844 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33845
33846 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33847
33848 ;;
33849
33850 spu-*-elf*)
33851
33852 # All these tests are for C++; save the language and the compiler flags.
33853 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33854 # found in GLIBCXX_CONFIGURE.
33855
33856 ac_ext=cpp
33857 ac_cpp='$CXXCPP $CPPFLAGS'
33858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33861
33862 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33863 ac_save_CXXFLAGS="$CXXFLAGS"
33864
33865 # Check for maintainer-mode bits.
33866 if test x"$USE_MAINTAINER_MODE" = xno; then
33867 WERROR=''
33868 else
33869 WERROR='-Werror'
33870 fi
33871
33872 # Check for -ffunction-sections -fdata-sections
33873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33874 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33875 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33877 /* end confdefs.h. */
33878 int foo; void bar() { };
33879 int
33880 main ()
33881 {
33882
33883 ;
33884 return 0;
33885 }
33886 _ACEOF
33887 if ac_fn_cxx_try_compile "$LINENO"; then :
33888 ac_fdsections=yes
33889 else
33890 ac_fdsections=no
33891 fi
33892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33893 if test "$ac_test_CXXFLAGS" = set; then
33894 CXXFLAGS="$ac_save_CXXFLAGS"
33895 else
33896 # this is the suspicious part
33897 CXXFLAGS=''
33898 fi
33899 if test x"$ac_fdsections" = x"yes"; then
33900 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33901 fi
33902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33903 $as_echo "$ac_fdsections" >&6; }
33904
33905 ac_ext=c
33906 ac_cpp='$CPP $CPPFLAGS'
33907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33910
33911
33912
33913
33914
33915 # If we're not using GNU ld, then there's no point in even trying these
33916 # tests. Check for that first. We should have already tested for gld
33917 # by now (in libtool), but require it now just to be safe...
33918 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33919 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33920
33921
33922
33923 # The name set by libtool depends on the version of libtool. Shame on us
33924 # for depending on an impl detail, but c'est la vie. Older versions used
33925 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33926 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33927 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33928 # set (hence we're using an older libtool), then set it.
33929 if test x${with_gnu_ld+set} != xset; then
33930 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33931 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33932 with_gnu_ld=no
33933 else
33934 with_gnu_ld=$ac_cv_prog_gnu_ld
33935 fi
33936 fi
33937
33938 # Start by getting the version number. I think the libtool test already
33939 # does some of this, but throws away the result.
33940 glibcxx_ld_is_gold=no
33941 if test x"$with_gnu_ld" = x"yes"; then
33942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33943 $as_echo_n "checking for ld version... " >&6; }
33944
33945 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33946 glibcxx_ld_is_gold=yes
33947 fi
33948 ldver=`$LD --version 2>/dev/null |
33949 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'`
33950
33951 glibcxx_gnu_ld_version=`echo $ldver | \
33952 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33954 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33955 fi
33956
33957 # Set --gc-sections.
33958 glibcxx_have_gc_sections=no
33959 if test "$glibcxx_ld_is_gold" = "yes"; then
33960 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33961 glibcxx_have_gc_sections=yes
33962 fi
33963 else
33964 glibcxx_gcsections_min_ld=21602
33965 if test x"$with_gnu_ld" = x"yes" &&
33966 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33967 glibcxx_have_gc_sections=yes
33968 fi
33969 fi
33970 if test "$glibcxx_have_gc_sections" = "yes"; then
33971 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33972 # NB: This flag only works reliably after 2.16.1. Configure tests
33973 # for this are difficult, so hard wire a value that should work.
33974
33975 ac_test_CFLAGS="${CFLAGS+set}"
33976 ac_save_CFLAGS="$CFLAGS"
33977 CFLAGS='-Wl,--gc-sections'
33978
33979 # Check for -Wl,--gc-sections
33980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33981 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33982 if test x$gcc_no_link = xyes; then
33983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33984 fi
33985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33986 /* end confdefs.h. */
33987 int one(void) { return 1; }
33988 int two(void) { return 2; }
33989
33990 int
33991 main ()
33992 {
33993 two();
33994 ;
33995 return 0;
33996 }
33997 _ACEOF
33998 if ac_fn_c_try_link "$LINENO"; then :
33999 ac_gcsections=yes
34000 else
34001 ac_gcsections=no
34002 fi
34003 rm -f core conftest.err conftest.$ac_objext \
34004 conftest$ac_exeext conftest.$ac_ext
34005 if test "$ac_gcsections" = "yes"; then
34006 rm -f conftest.c
34007 touch conftest.c
34008 if $CC -c conftest.c; then
34009 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34010 grep "Warning: gc-sections option ignored" > /dev/null; then
34011 ac_gcsections=no
34012 fi
34013 fi
34014 rm -f conftest.c conftest.o conftest
34015 fi
34016 if test "$ac_gcsections" = "yes"; then
34017 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34018 fi
34019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34020 $as_echo "$ac_gcsections" >&6; }
34021
34022 if test "$ac_test_CFLAGS" = set; then
34023 CFLAGS="$ac_save_CFLAGS"
34024 else
34025 # this is the suspicious part
34026 CFLAGS=''
34027 fi
34028 fi
34029
34030 # Set -z,relro.
34031 # Note this is only for shared objects.
34032 ac_ld_relro=no
34033 if test x"$with_gnu_ld" = x"yes"; then
34034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34035 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34036 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34037 if test -n "$cxx_z_relo"; then
34038 OPT_LDFLAGS="-Wl,-z,relro"
34039 ac_ld_relro=yes
34040 fi
34041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34042 $as_echo "$ac_ld_relro" >&6; }
34043 fi
34044
34045 # Set linker optimization flags.
34046 if test x"$with_gnu_ld" = x"yes"; then
34047 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34048 fi
34049
34050
34051
34052
34053
34054 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34055 ac_save_CXXFLAGS="$CXXFLAGS"
34056 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34057
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34059 $as_echo_n "checking for sin in -lm... " >&6; }
34060 if test "${ac_cv_lib_m_sin+set}" = set; then :
34061 $as_echo_n "(cached) " >&6
34062 else
34063 ac_check_lib_save_LIBS=$LIBS
34064 LIBS="-lm $LIBS"
34065 if test x$gcc_no_link = xyes; then
34066 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34067 fi
34068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34069 /* end confdefs.h. */
34070
34071 /* Override any GCC internal prototype to avoid an error.
34072 Use char because int might match the return type of a GCC
34073 builtin and then its argument prototype would still apply. */
34074 #ifdef __cplusplus
34075 extern "C"
34076 #endif
34077 char sin ();
34078 int
34079 main ()
34080 {
34081 return sin ();
34082 ;
34083 return 0;
34084 }
34085 _ACEOF
34086 if ac_fn_c_try_link "$LINENO"; then :
34087 ac_cv_lib_m_sin=yes
34088 else
34089 ac_cv_lib_m_sin=no
34090 fi
34091 rm -f core conftest.err conftest.$ac_objext \
34092 conftest$ac_exeext conftest.$ac_ext
34093 LIBS=$ac_check_lib_save_LIBS
34094 fi
34095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34096 $as_echo "$ac_cv_lib_m_sin" >&6; }
34097 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34098 libm="-lm"
34099 fi
34100
34101 ac_save_LIBS="$LIBS"
34102 LIBS="$LIBS $libm"
34103
34104
34105
34106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34107 $as_echo_n "checking for isinf declaration... " >&6; }
34108 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34109 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34110 $as_echo_n "(cached) " >&6
34111 else
34112
34113
34114 ac_ext=cpp
34115 ac_cpp='$CXXCPP $CPPFLAGS'
34116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34119
34120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34121 /* end confdefs.h. */
34122 #include <math.h>
34123 #ifdef HAVE_IEEEFP_H
34124 #include <ieeefp.h>
34125 #endif
34126
34127 int
34128 main ()
34129 {
34130 isinf(0);
34131 ;
34132 return 0;
34133 }
34134 _ACEOF
34135 if ac_fn_cxx_try_compile "$LINENO"; then :
34136 glibcxx_cv_func_isinf_use=yes
34137 else
34138 glibcxx_cv_func_isinf_use=no
34139 fi
34140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34141 ac_ext=c
34142 ac_cpp='$CPP $CPPFLAGS'
34143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34146
34147
34148 fi
34149
34150 fi
34151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34152 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34153
34154 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34155 for ac_func in isinf
34156 do :
34157 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34158 if test "x$ac_cv_func_isinf" = x""yes; then :
34159 cat >>confdefs.h <<_ACEOF
34160 #define HAVE_ISINF 1
34161 _ACEOF
34162
34163 fi
34164 done
34165
34166 else
34167
34168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34169 $as_echo_n "checking for _isinf declaration... " >&6; }
34170 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34171 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34172 $as_echo_n "(cached) " >&6
34173 else
34174
34175
34176 ac_ext=cpp
34177 ac_cpp='$CXXCPP $CPPFLAGS'
34178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34181
34182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34183 /* end confdefs.h. */
34184 #include <math.h>
34185 #ifdef HAVE_IEEEFP_H
34186 #include <ieeefp.h>
34187 #endif
34188
34189 int
34190 main ()
34191 {
34192 _isinf(0);
34193 ;
34194 return 0;
34195 }
34196 _ACEOF
34197 if ac_fn_cxx_try_compile "$LINENO"; then :
34198 glibcxx_cv_func__isinf_use=yes
34199 else
34200 glibcxx_cv_func__isinf_use=no
34201 fi
34202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34203 ac_ext=c
34204 ac_cpp='$CPP $CPPFLAGS'
34205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34208
34209
34210 fi
34211
34212 fi
34213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34214 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34215
34216 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34217 for ac_func in _isinf
34218 do :
34219 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34220 if test "x$ac_cv_func__isinf" = x""yes; then :
34221 cat >>confdefs.h <<_ACEOF
34222 #define HAVE__ISINF 1
34223 _ACEOF
34224
34225 fi
34226 done
34227
34228 fi
34229 fi
34230
34231
34232
34233
34234
34235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34236 $as_echo_n "checking for isnan declaration... " >&6; }
34237 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34238 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34239 $as_echo_n "(cached) " >&6
34240 else
34241
34242
34243 ac_ext=cpp
34244 ac_cpp='$CXXCPP $CPPFLAGS'
34245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34248
34249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34250 /* end confdefs.h. */
34251 #include <math.h>
34252 #ifdef HAVE_IEEEFP_H
34253 #include <ieeefp.h>
34254 #endif
34255
34256 int
34257 main ()
34258 {
34259 isnan(0);
34260 ;
34261 return 0;
34262 }
34263 _ACEOF
34264 if ac_fn_cxx_try_compile "$LINENO"; then :
34265 glibcxx_cv_func_isnan_use=yes
34266 else
34267 glibcxx_cv_func_isnan_use=no
34268 fi
34269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34270 ac_ext=c
34271 ac_cpp='$CPP $CPPFLAGS'
34272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34275
34276
34277 fi
34278
34279 fi
34280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34281 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34282
34283 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34284 for ac_func in isnan
34285 do :
34286 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34287 if test "x$ac_cv_func_isnan" = x""yes; then :
34288 cat >>confdefs.h <<_ACEOF
34289 #define HAVE_ISNAN 1
34290 _ACEOF
34291
34292 fi
34293 done
34294
34295 else
34296
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34298 $as_echo_n "checking for _isnan declaration... " >&6; }
34299 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34300 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34301 $as_echo_n "(cached) " >&6
34302 else
34303
34304
34305 ac_ext=cpp
34306 ac_cpp='$CXXCPP $CPPFLAGS'
34307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34310
34311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34312 /* end confdefs.h. */
34313 #include <math.h>
34314 #ifdef HAVE_IEEEFP_H
34315 #include <ieeefp.h>
34316 #endif
34317
34318 int
34319 main ()
34320 {
34321 _isnan(0);
34322 ;
34323 return 0;
34324 }
34325 _ACEOF
34326 if ac_fn_cxx_try_compile "$LINENO"; then :
34327 glibcxx_cv_func__isnan_use=yes
34328 else
34329 glibcxx_cv_func__isnan_use=no
34330 fi
34331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34332 ac_ext=c
34333 ac_cpp='$CPP $CPPFLAGS'
34334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34337
34338
34339 fi
34340
34341 fi
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34343 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34344
34345 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34346 for ac_func in _isnan
34347 do :
34348 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34349 if test "x$ac_cv_func__isnan" = x""yes; then :
34350 cat >>confdefs.h <<_ACEOF
34351 #define HAVE__ISNAN 1
34352 _ACEOF
34353
34354 fi
34355 done
34356
34357 fi
34358 fi
34359
34360
34361
34362
34363
34364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34365 $as_echo_n "checking for finite declaration... " >&6; }
34366 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34367 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34368 $as_echo_n "(cached) " >&6
34369 else
34370
34371
34372 ac_ext=cpp
34373 ac_cpp='$CXXCPP $CPPFLAGS'
34374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34377
34378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34379 /* end confdefs.h. */
34380 #include <math.h>
34381 #ifdef HAVE_IEEEFP_H
34382 #include <ieeefp.h>
34383 #endif
34384
34385 int
34386 main ()
34387 {
34388 finite(0);
34389 ;
34390 return 0;
34391 }
34392 _ACEOF
34393 if ac_fn_cxx_try_compile "$LINENO"; then :
34394 glibcxx_cv_func_finite_use=yes
34395 else
34396 glibcxx_cv_func_finite_use=no
34397 fi
34398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34399 ac_ext=c
34400 ac_cpp='$CPP $CPPFLAGS'
34401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34404
34405
34406 fi
34407
34408 fi
34409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34410 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34411
34412 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34413 for ac_func in finite
34414 do :
34415 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34416 if test "x$ac_cv_func_finite" = x""yes; then :
34417 cat >>confdefs.h <<_ACEOF
34418 #define HAVE_FINITE 1
34419 _ACEOF
34420
34421 fi
34422 done
34423
34424 else
34425
34426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34427 $as_echo_n "checking for _finite declaration... " >&6; }
34428 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34429 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34430 $as_echo_n "(cached) " >&6
34431 else
34432
34433
34434 ac_ext=cpp
34435 ac_cpp='$CXXCPP $CPPFLAGS'
34436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34439
34440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34441 /* end confdefs.h. */
34442 #include <math.h>
34443 #ifdef HAVE_IEEEFP_H
34444 #include <ieeefp.h>
34445 #endif
34446
34447 int
34448 main ()
34449 {
34450 _finite(0);
34451 ;
34452 return 0;
34453 }
34454 _ACEOF
34455 if ac_fn_cxx_try_compile "$LINENO"; then :
34456 glibcxx_cv_func__finite_use=yes
34457 else
34458 glibcxx_cv_func__finite_use=no
34459 fi
34460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34461 ac_ext=c
34462 ac_cpp='$CPP $CPPFLAGS'
34463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34466
34467
34468 fi
34469
34470 fi
34471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34472 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34473
34474 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34475 for ac_func in _finite
34476 do :
34477 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34478 if test "x$ac_cv_func__finite" = x""yes; then :
34479 cat >>confdefs.h <<_ACEOF
34480 #define HAVE__FINITE 1
34481 _ACEOF
34482
34483 fi
34484 done
34485
34486 fi
34487 fi
34488
34489
34490
34491
34492
34493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34494 $as_echo_n "checking for sincos declaration... " >&6; }
34495 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34496 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34497 $as_echo_n "(cached) " >&6
34498 else
34499
34500
34501 ac_ext=cpp
34502 ac_cpp='$CXXCPP $CPPFLAGS'
34503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34506
34507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34508 /* end confdefs.h. */
34509 #include <math.h>
34510 int
34511 main ()
34512 {
34513 sincos(0, 0, 0);
34514 ;
34515 return 0;
34516 }
34517 _ACEOF
34518 if ac_fn_cxx_try_compile "$LINENO"; then :
34519 glibcxx_cv_func_sincos_use=yes
34520 else
34521 glibcxx_cv_func_sincos_use=no
34522 fi
34523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34524 ac_ext=c
34525 ac_cpp='$CPP $CPPFLAGS'
34526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34529
34530
34531 fi
34532
34533 fi
34534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34535 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34536
34537 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34538 for ac_func in sincos
34539 do :
34540 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34541 if test "x$ac_cv_func_sincos" = x""yes; then :
34542 cat >>confdefs.h <<_ACEOF
34543 #define HAVE_SINCOS 1
34544 _ACEOF
34545
34546 fi
34547 done
34548
34549 else
34550
34551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34552 $as_echo_n "checking for _sincos declaration... " >&6; }
34553 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34554 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34555 $as_echo_n "(cached) " >&6
34556 else
34557
34558
34559 ac_ext=cpp
34560 ac_cpp='$CXXCPP $CPPFLAGS'
34561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34564
34565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34566 /* end confdefs.h. */
34567 #include <math.h>
34568 int
34569 main ()
34570 {
34571 _sincos(0, 0, 0);
34572 ;
34573 return 0;
34574 }
34575 _ACEOF
34576 if ac_fn_cxx_try_compile "$LINENO"; then :
34577 glibcxx_cv_func__sincos_use=yes
34578 else
34579 glibcxx_cv_func__sincos_use=no
34580 fi
34581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34582 ac_ext=c
34583 ac_cpp='$CPP $CPPFLAGS'
34584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34587
34588
34589 fi
34590
34591 fi
34592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34593 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34594
34595 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34596 for ac_func in _sincos
34597 do :
34598 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34599 if test "x$ac_cv_func__sincos" = x""yes; then :
34600 cat >>confdefs.h <<_ACEOF
34601 #define HAVE__SINCOS 1
34602 _ACEOF
34603
34604 fi
34605 done
34606
34607 fi
34608 fi
34609
34610
34611
34612
34613
34614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34615 $as_echo_n "checking for fpclass declaration... " >&6; }
34616 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34617 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34618 $as_echo_n "(cached) " >&6
34619 else
34620
34621
34622 ac_ext=cpp
34623 ac_cpp='$CXXCPP $CPPFLAGS'
34624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34627
34628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34629 /* end confdefs.h. */
34630 #include <math.h>
34631 #ifdef HAVE_IEEEFP_H
34632 #include <ieeefp.h>
34633 #endif
34634
34635 int
34636 main ()
34637 {
34638 fpclass(0);
34639 ;
34640 return 0;
34641 }
34642 _ACEOF
34643 if ac_fn_cxx_try_compile "$LINENO"; then :
34644 glibcxx_cv_func_fpclass_use=yes
34645 else
34646 glibcxx_cv_func_fpclass_use=no
34647 fi
34648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34649 ac_ext=c
34650 ac_cpp='$CPP $CPPFLAGS'
34651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34654
34655
34656 fi
34657
34658 fi
34659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34660 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34661
34662 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34663 for ac_func in fpclass
34664 do :
34665 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34666 if test "x$ac_cv_func_fpclass" = x""yes; then :
34667 cat >>confdefs.h <<_ACEOF
34668 #define HAVE_FPCLASS 1
34669 _ACEOF
34670
34671 fi
34672 done
34673
34674 else
34675
34676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34677 $as_echo_n "checking for _fpclass declaration... " >&6; }
34678 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34679 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34680 $as_echo_n "(cached) " >&6
34681 else
34682
34683
34684 ac_ext=cpp
34685 ac_cpp='$CXXCPP $CPPFLAGS'
34686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34689
34690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34691 /* end confdefs.h. */
34692 #include <math.h>
34693 #ifdef HAVE_IEEEFP_H
34694 #include <ieeefp.h>
34695 #endif
34696
34697 int
34698 main ()
34699 {
34700 _fpclass(0);
34701 ;
34702 return 0;
34703 }
34704 _ACEOF
34705 if ac_fn_cxx_try_compile "$LINENO"; then :
34706 glibcxx_cv_func__fpclass_use=yes
34707 else
34708 glibcxx_cv_func__fpclass_use=no
34709 fi
34710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34711 ac_ext=c
34712 ac_cpp='$CPP $CPPFLAGS'
34713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34716
34717
34718 fi
34719
34720 fi
34721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34722 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34723
34724 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34725 for ac_func in _fpclass
34726 do :
34727 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34728 if test "x$ac_cv_func__fpclass" = x""yes; then :
34729 cat >>confdefs.h <<_ACEOF
34730 #define HAVE__FPCLASS 1
34731 _ACEOF
34732
34733 fi
34734 done
34735
34736 fi
34737 fi
34738
34739
34740
34741
34742
34743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34744 $as_echo_n "checking for qfpclass declaration... " >&6; }
34745 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34746 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34747 $as_echo_n "(cached) " >&6
34748 else
34749
34750
34751 ac_ext=cpp
34752 ac_cpp='$CXXCPP $CPPFLAGS'
34753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34756
34757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34758 /* end confdefs.h. */
34759 #include <math.h>
34760 #ifdef HAVE_IEEEFP_H
34761 #include <ieeefp.h>
34762 #endif
34763
34764 int
34765 main ()
34766 {
34767 qfpclass(0);
34768 ;
34769 return 0;
34770 }
34771 _ACEOF
34772 if ac_fn_cxx_try_compile "$LINENO"; then :
34773 glibcxx_cv_func_qfpclass_use=yes
34774 else
34775 glibcxx_cv_func_qfpclass_use=no
34776 fi
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34778 ac_ext=c
34779 ac_cpp='$CPP $CPPFLAGS'
34780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34783
34784
34785 fi
34786
34787 fi
34788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34789 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34790
34791 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34792 for ac_func in qfpclass
34793 do :
34794 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34795 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34796 cat >>confdefs.h <<_ACEOF
34797 #define HAVE_QFPCLASS 1
34798 _ACEOF
34799
34800 fi
34801 done
34802
34803 else
34804
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34806 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34807 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34808 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34809 $as_echo_n "(cached) " >&6
34810 else
34811
34812
34813 ac_ext=cpp
34814 ac_cpp='$CXXCPP $CPPFLAGS'
34815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34818
34819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34820 /* end confdefs.h. */
34821 #include <math.h>
34822 #ifdef HAVE_IEEEFP_H
34823 #include <ieeefp.h>
34824 #endif
34825
34826 int
34827 main ()
34828 {
34829 _qfpclass(0);
34830 ;
34831 return 0;
34832 }
34833 _ACEOF
34834 if ac_fn_cxx_try_compile "$LINENO"; then :
34835 glibcxx_cv_func__qfpclass_use=yes
34836 else
34837 glibcxx_cv_func__qfpclass_use=no
34838 fi
34839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34840 ac_ext=c
34841 ac_cpp='$CPP $CPPFLAGS'
34842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34845
34846
34847 fi
34848
34849 fi
34850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34851 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34852
34853 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34854 for ac_func in _qfpclass
34855 do :
34856 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34857 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34858 cat >>confdefs.h <<_ACEOF
34859 #define HAVE__QFPCLASS 1
34860 _ACEOF
34861
34862 fi
34863 done
34864
34865 fi
34866 fi
34867
34868
34869
34870
34871
34872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34873 $as_echo_n "checking for hypot declaration... " >&6; }
34874 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34875 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34876 $as_echo_n "(cached) " >&6
34877 else
34878
34879
34880 ac_ext=cpp
34881 ac_cpp='$CXXCPP $CPPFLAGS'
34882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34885
34886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34887 /* end confdefs.h. */
34888 #include <math.h>
34889 int
34890 main ()
34891 {
34892 hypot(0, 0);
34893 ;
34894 return 0;
34895 }
34896 _ACEOF
34897 if ac_fn_cxx_try_compile "$LINENO"; then :
34898 glibcxx_cv_func_hypot_use=yes
34899 else
34900 glibcxx_cv_func_hypot_use=no
34901 fi
34902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34903 ac_ext=c
34904 ac_cpp='$CPP $CPPFLAGS'
34905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34908
34909
34910 fi
34911
34912 fi
34913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34914 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34915
34916 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34917 for ac_func in hypot
34918 do :
34919 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34920 if test "x$ac_cv_func_hypot" = x""yes; then :
34921 cat >>confdefs.h <<_ACEOF
34922 #define HAVE_HYPOT 1
34923 _ACEOF
34924
34925 fi
34926 done
34927
34928 else
34929
34930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34931 $as_echo_n "checking for _hypot declaration... " >&6; }
34932 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34933 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34934 $as_echo_n "(cached) " >&6
34935 else
34936
34937
34938 ac_ext=cpp
34939 ac_cpp='$CXXCPP $CPPFLAGS'
34940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34943
34944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34945 /* end confdefs.h. */
34946 #include <math.h>
34947 int
34948 main ()
34949 {
34950 _hypot(0, 0);
34951 ;
34952 return 0;
34953 }
34954 _ACEOF
34955 if ac_fn_cxx_try_compile "$LINENO"; then :
34956 glibcxx_cv_func__hypot_use=yes
34957 else
34958 glibcxx_cv_func__hypot_use=no
34959 fi
34960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34961 ac_ext=c
34962 ac_cpp='$CPP $CPPFLAGS'
34963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34966
34967
34968 fi
34969
34970 fi
34971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34972 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34973
34974 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34975 for ac_func in _hypot
34976 do :
34977 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34978 if test "x$ac_cv_func__hypot" = x""yes; then :
34979 cat >>confdefs.h <<_ACEOF
34980 #define HAVE__HYPOT 1
34981 _ACEOF
34982
34983 fi
34984 done
34985
34986 fi
34987 fi
34988
34989
34990
34991
34992
34993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34994 $as_echo_n "checking for float trig functions... " >&6; }
34995 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34996 $as_echo_n "(cached) " >&6
34997 else
34998
34999
35000 ac_ext=cpp
35001 ac_cpp='$CXXCPP $CPPFLAGS'
35002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35005
35006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35007 /* end confdefs.h. */
35008 #include <math.h>
35009 int
35010 main ()
35011 {
35012 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35013 ;
35014 return 0;
35015 }
35016 _ACEOF
35017 if ac_fn_cxx_try_compile "$LINENO"; then :
35018 glibcxx_cv_func_float_trig_use=yes
35019 else
35020 glibcxx_cv_func_float_trig_use=no
35021 fi
35022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35023 ac_ext=c
35024 ac_cpp='$CPP $CPPFLAGS'
35025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35028
35029 fi
35030
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35032 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35033 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35034 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35035 do :
35036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35038 eval as_val=\$$as_ac_var
35039 if test "x$as_val" = x""yes; then :
35040 cat >>confdefs.h <<_ACEOF
35041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35042 _ACEOF
35043
35044 fi
35045 done
35046
35047 else
35048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35049 $as_echo_n "checking for _float trig functions... " >&6; }
35050 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35051 $as_echo_n "(cached) " >&6
35052 else
35053
35054
35055 ac_ext=cpp
35056 ac_cpp='$CXXCPP $CPPFLAGS'
35057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35060
35061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35062 /* end confdefs.h. */
35063 #include <math.h>
35064 int
35065 main ()
35066 {
35067 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35068 ;
35069 return 0;
35070 }
35071 _ACEOF
35072 if ac_fn_cxx_try_compile "$LINENO"; then :
35073 glibcxx_cv_func__float_trig_use=yes
35074 else
35075 glibcxx_cv_func__float_trig_use=no
35076 fi
35077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35078 ac_ext=c
35079 ac_cpp='$CPP $CPPFLAGS'
35080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35083
35084 fi
35085
35086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35087 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35088 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35089 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35090 do :
35091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35093 eval as_val=\$$as_ac_var
35094 if test "x$as_val" = x""yes; then :
35095 cat >>confdefs.h <<_ACEOF
35096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35097 _ACEOF
35098
35099 fi
35100 done
35101
35102 fi
35103 fi
35104
35105
35106
35107
35108
35109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35110 $as_echo_n "checking for float round functions... " >&6; }
35111 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35112 $as_echo_n "(cached) " >&6
35113 else
35114
35115
35116 ac_ext=cpp
35117 ac_cpp='$CXXCPP $CPPFLAGS'
35118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35121
35122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35123 /* end confdefs.h. */
35124 #include <math.h>
35125 int
35126 main ()
35127 {
35128 ceilf (0); floorf (0);
35129 ;
35130 return 0;
35131 }
35132 _ACEOF
35133 if ac_fn_cxx_try_compile "$LINENO"; then :
35134 glibcxx_cv_func_float_round_use=yes
35135 else
35136 glibcxx_cv_func_float_round_use=no
35137 fi
35138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35139 ac_ext=c
35140 ac_cpp='$CPP $CPPFLAGS'
35141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35144
35145 fi
35146
35147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35148 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35149 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35150 for ac_func in ceilf floorf
35151 do :
35152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35154 eval as_val=\$$as_ac_var
35155 if test "x$as_val" = x""yes; then :
35156 cat >>confdefs.h <<_ACEOF
35157 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35158 _ACEOF
35159
35160 fi
35161 done
35162
35163 else
35164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35165 $as_echo_n "checking for _float round functions... " >&6; }
35166 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35167 $as_echo_n "(cached) " >&6
35168 else
35169
35170
35171 ac_ext=cpp
35172 ac_cpp='$CXXCPP $CPPFLAGS'
35173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35176
35177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35178 /* end confdefs.h. */
35179 #include <math.h>
35180 int
35181 main ()
35182 {
35183 _ceilf (0); _floorf (0);
35184 ;
35185 return 0;
35186 }
35187 _ACEOF
35188 if ac_fn_cxx_try_compile "$LINENO"; then :
35189 glibcxx_cv_func__float_round_use=yes
35190 else
35191 glibcxx_cv_func__float_round_use=no
35192 fi
35193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35194 ac_ext=c
35195 ac_cpp='$CPP $CPPFLAGS'
35196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35199
35200 fi
35201
35202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35203 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35204 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35205 for ac_func in _ceilf _floorf
35206 do :
35207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35208 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35209 eval as_val=\$$as_ac_var
35210 if test "x$as_val" = x""yes; then :
35211 cat >>confdefs.h <<_ACEOF
35212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35213 _ACEOF
35214
35215 fi
35216 done
35217
35218 fi
35219 fi
35220
35221
35222
35223
35224
35225
35226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35227 $as_echo_n "checking for expf declaration... " >&6; }
35228 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35229 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35230 $as_echo_n "(cached) " >&6
35231 else
35232
35233
35234 ac_ext=cpp
35235 ac_cpp='$CXXCPP $CPPFLAGS'
35236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35239
35240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35241 /* end confdefs.h. */
35242 #include <math.h>
35243 #ifdef HAVE_IEEEFP_H
35244 #include <ieeefp.h>
35245 #endif
35246
35247 int
35248 main ()
35249 {
35250 expf(0);
35251 ;
35252 return 0;
35253 }
35254 _ACEOF
35255 if ac_fn_cxx_try_compile "$LINENO"; then :
35256 glibcxx_cv_func_expf_use=yes
35257 else
35258 glibcxx_cv_func_expf_use=no
35259 fi
35260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35261 ac_ext=c
35262 ac_cpp='$CPP $CPPFLAGS'
35263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35266
35267
35268 fi
35269
35270 fi
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35272 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35273
35274 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35275 for ac_func in expf
35276 do :
35277 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35278 if test "x$ac_cv_func_expf" = x""yes; then :
35279 cat >>confdefs.h <<_ACEOF
35280 #define HAVE_EXPF 1
35281 _ACEOF
35282
35283 fi
35284 done
35285
35286 else
35287
35288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35289 $as_echo_n "checking for _expf declaration... " >&6; }
35290 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35291 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35292 $as_echo_n "(cached) " >&6
35293 else
35294
35295
35296 ac_ext=cpp
35297 ac_cpp='$CXXCPP $CPPFLAGS'
35298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35301
35302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35303 /* end confdefs.h. */
35304 #include <math.h>
35305 #ifdef HAVE_IEEEFP_H
35306 #include <ieeefp.h>
35307 #endif
35308
35309 int
35310 main ()
35311 {
35312 _expf(0);
35313 ;
35314 return 0;
35315 }
35316 _ACEOF
35317 if ac_fn_cxx_try_compile "$LINENO"; then :
35318 glibcxx_cv_func__expf_use=yes
35319 else
35320 glibcxx_cv_func__expf_use=no
35321 fi
35322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35323 ac_ext=c
35324 ac_cpp='$CPP $CPPFLAGS'
35325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35328
35329
35330 fi
35331
35332 fi
35333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35334 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35335
35336 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35337 for ac_func in _expf
35338 do :
35339 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35340 if test "x$ac_cv_func__expf" = x""yes; then :
35341 cat >>confdefs.h <<_ACEOF
35342 #define HAVE__EXPF 1
35343 _ACEOF
35344
35345 fi
35346 done
35347
35348 fi
35349 fi
35350
35351
35352
35353
35354
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35356 $as_echo_n "checking for isnanf declaration... " >&6; }
35357 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35358 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35359 $as_echo_n "(cached) " >&6
35360 else
35361
35362
35363 ac_ext=cpp
35364 ac_cpp='$CXXCPP $CPPFLAGS'
35365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35368
35369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35370 /* end confdefs.h. */
35371 #include <math.h>
35372 #ifdef HAVE_IEEEFP_H
35373 #include <ieeefp.h>
35374 #endif
35375
35376 int
35377 main ()
35378 {
35379 isnanf(0);
35380 ;
35381 return 0;
35382 }
35383 _ACEOF
35384 if ac_fn_cxx_try_compile "$LINENO"; then :
35385 glibcxx_cv_func_isnanf_use=yes
35386 else
35387 glibcxx_cv_func_isnanf_use=no
35388 fi
35389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35390 ac_ext=c
35391 ac_cpp='$CPP $CPPFLAGS'
35392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35395
35396
35397 fi
35398
35399 fi
35400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35401 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35402
35403 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35404 for ac_func in isnanf
35405 do :
35406 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35407 if test "x$ac_cv_func_isnanf" = x""yes; then :
35408 cat >>confdefs.h <<_ACEOF
35409 #define HAVE_ISNANF 1
35410 _ACEOF
35411
35412 fi
35413 done
35414
35415 else
35416
35417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35418 $as_echo_n "checking for _isnanf declaration... " >&6; }
35419 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35420 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35421 $as_echo_n "(cached) " >&6
35422 else
35423
35424
35425 ac_ext=cpp
35426 ac_cpp='$CXXCPP $CPPFLAGS'
35427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35430
35431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35432 /* end confdefs.h. */
35433 #include <math.h>
35434 #ifdef HAVE_IEEEFP_H
35435 #include <ieeefp.h>
35436 #endif
35437
35438 int
35439 main ()
35440 {
35441 _isnanf(0);
35442 ;
35443 return 0;
35444 }
35445 _ACEOF
35446 if ac_fn_cxx_try_compile "$LINENO"; then :
35447 glibcxx_cv_func__isnanf_use=yes
35448 else
35449 glibcxx_cv_func__isnanf_use=no
35450 fi
35451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35452 ac_ext=c
35453 ac_cpp='$CPP $CPPFLAGS'
35454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35457
35458
35459 fi
35460
35461 fi
35462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35463 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35464
35465 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35466 for ac_func in _isnanf
35467 do :
35468 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35469 if test "x$ac_cv_func__isnanf" = x""yes; then :
35470 cat >>confdefs.h <<_ACEOF
35471 #define HAVE__ISNANF 1
35472 _ACEOF
35473
35474 fi
35475 done
35476
35477 fi
35478 fi
35479
35480
35481
35482
35483
35484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35485 $as_echo_n "checking for isinff declaration... " >&6; }
35486 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35487 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35488 $as_echo_n "(cached) " >&6
35489 else
35490
35491
35492 ac_ext=cpp
35493 ac_cpp='$CXXCPP $CPPFLAGS'
35494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35497
35498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35499 /* end confdefs.h. */
35500 #include <math.h>
35501 #ifdef HAVE_IEEEFP_H
35502 #include <ieeefp.h>
35503 #endif
35504
35505 int
35506 main ()
35507 {
35508 isinff(0);
35509 ;
35510 return 0;
35511 }
35512 _ACEOF
35513 if ac_fn_cxx_try_compile "$LINENO"; then :
35514 glibcxx_cv_func_isinff_use=yes
35515 else
35516 glibcxx_cv_func_isinff_use=no
35517 fi
35518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35519 ac_ext=c
35520 ac_cpp='$CPP $CPPFLAGS'
35521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35524
35525
35526 fi
35527
35528 fi
35529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35530 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35531
35532 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35533 for ac_func in isinff
35534 do :
35535 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35536 if test "x$ac_cv_func_isinff" = x""yes; then :
35537 cat >>confdefs.h <<_ACEOF
35538 #define HAVE_ISINFF 1
35539 _ACEOF
35540
35541 fi
35542 done
35543
35544 else
35545
35546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35547 $as_echo_n "checking for _isinff declaration... " >&6; }
35548 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35549 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35550 $as_echo_n "(cached) " >&6
35551 else
35552
35553
35554 ac_ext=cpp
35555 ac_cpp='$CXXCPP $CPPFLAGS'
35556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35559
35560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35561 /* end confdefs.h. */
35562 #include <math.h>
35563 #ifdef HAVE_IEEEFP_H
35564 #include <ieeefp.h>
35565 #endif
35566
35567 int
35568 main ()
35569 {
35570 _isinff(0);
35571 ;
35572 return 0;
35573 }
35574 _ACEOF
35575 if ac_fn_cxx_try_compile "$LINENO"; then :
35576 glibcxx_cv_func__isinff_use=yes
35577 else
35578 glibcxx_cv_func__isinff_use=no
35579 fi
35580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35581 ac_ext=c
35582 ac_cpp='$CPP $CPPFLAGS'
35583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35586
35587
35588 fi
35589
35590 fi
35591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35592 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35593
35594 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35595 for ac_func in _isinff
35596 do :
35597 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35598 if test "x$ac_cv_func__isinff" = x""yes; then :
35599 cat >>confdefs.h <<_ACEOF
35600 #define HAVE__ISINFF 1
35601 _ACEOF
35602
35603 fi
35604 done
35605
35606 fi
35607 fi
35608
35609
35610
35611
35612
35613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35614 $as_echo_n "checking for atan2f declaration... " >&6; }
35615 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35616 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35617 $as_echo_n "(cached) " >&6
35618 else
35619
35620
35621 ac_ext=cpp
35622 ac_cpp='$CXXCPP $CPPFLAGS'
35623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35626
35627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35628 /* end confdefs.h. */
35629 #include <math.h>
35630 int
35631 main ()
35632 {
35633 atan2f(0, 0);
35634 ;
35635 return 0;
35636 }
35637 _ACEOF
35638 if ac_fn_cxx_try_compile "$LINENO"; then :
35639 glibcxx_cv_func_atan2f_use=yes
35640 else
35641 glibcxx_cv_func_atan2f_use=no
35642 fi
35643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35644 ac_ext=c
35645 ac_cpp='$CPP $CPPFLAGS'
35646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35649
35650
35651 fi
35652
35653 fi
35654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35655 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35656
35657 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35658 for ac_func in atan2f
35659 do :
35660 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35661 if test "x$ac_cv_func_atan2f" = x""yes; then :
35662 cat >>confdefs.h <<_ACEOF
35663 #define HAVE_ATAN2F 1
35664 _ACEOF
35665
35666 fi
35667 done
35668
35669 else
35670
35671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35672 $as_echo_n "checking for _atan2f declaration... " >&6; }
35673 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35674 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35675 $as_echo_n "(cached) " >&6
35676 else
35677
35678
35679 ac_ext=cpp
35680 ac_cpp='$CXXCPP $CPPFLAGS'
35681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35684
35685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35686 /* end confdefs.h. */
35687 #include <math.h>
35688 int
35689 main ()
35690 {
35691 _atan2f(0, 0);
35692 ;
35693 return 0;
35694 }
35695 _ACEOF
35696 if ac_fn_cxx_try_compile "$LINENO"; then :
35697 glibcxx_cv_func__atan2f_use=yes
35698 else
35699 glibcxx_cv_func__atan2f_use=no
35700 fi
35701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35702 ac_ext=c
35703 ac_cpp='$CPP $CPPFLAGS'
35704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35707
35708
35709 fi
35710
35711 fi
35712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35713 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35714
35715 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35716 for ac_func in _atan2f
35717 do :
35718 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35719 if test "x$ac_cv_func__atan2f" = x""yes; then :
35720 cat >>confdefs.h <<_ACEOF
35721 #define HAVE__ATAN2F 1
35722 _ACEOF
35723
35724 fi
35725 done
35726
35727 fi
35728 fi
35729
35730
35731
35732
35733
35734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35735 $as_echo_n "checking for fabsf declaration... " >&6; }
35736 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35737 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35738 $as_echo_n "(cached) " >&6
35739 else
35740
35741
35742 ac_ext=cpp
35743 ac_cpp='$CXXCPP $CPPFLAGS'
35744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35747
35748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35749 /* end confdefs.h. */
35750 #include <math.h>
35751 #ifdef HAVE_IEEEFP_H
35752 #include <ieeefp.h>
35753 #endif
35754
35755 int
35756 main ()
35757 {
35758 fabsf(0);
35759 ;
35760 return 0;
35761 }
35762 _ACEOF
35763 if ac_fn_cxx_try_compile "$LINENO"; then :
35764 glibcxx_cv_func_fabsf_use=yes
35765 else
35766 glibcxx_cv_func_fabsf_use=no
35767 fi
35768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35769 ac_ext=c
35770 ac_cpp='$CPP $CPPFLAGS'
35771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35774
35775
35776 fi
35777
35778 fi
35779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35780 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35781
35782 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35783 for ac_func in fabsf
35784 do :
35785 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35786 if test "x$ac_cv_func_fabsf" = x""yes; then :
35787 cat >>confdefs.h <<_ACEOF
35788 #define HAVE_FABSF 1
35789 _ACEOF
35790
35791 fi
35792 done
35793
35794 else
35795
35796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35797 $as_echo_n "checking for _fabsf declaration... " >&6; }
35798 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35799 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35800 $as_echo_n "(cached) " >&6
35801 else
35802
35803
35804 ac_ext=cpp
35805 ac_cpp='$CXXCPP $CPPFLAGS'
35806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35809
35810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35811 /* end confdefs.h. */
35812 #include <math.h>
35813 #ifdef HAVE_IEEEFP_H
35814 #include <ieeefp.h>
35815 #endif
35816
35817 int
35818 main ()
35819 {
35820 _fabsf(0);
35821 ;
35822 return 0;
35823 }
35824 _ACEOF
35825 if ac_fn_cxx_try_compile "$LINENO"; then :
35826 glibcxx_cv_func__fabsf_use=yes
35827 else
35828 glibcxx_cv_func__fabsf_use=no
35829 fi
35830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35831 ac_ext=c
35832 ac_cpp='$CPP $CPPFLAGS'
35833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35836
35837
35838 fi
35839
35840 fi
35841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35842 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35843
35844 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35845 for ac_func in _fabsf
35846 do :
35847 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35848 if test "x$ac_cv_func__fabsf" = x""yes; then :
35849 cat >>confdefs.h <<_ACEOF
35850 #define HAVE__FABSF 1
35851 _ACEOF
35852
35853 fi
35854 done
35855
35856 fi
35857 fi
35858
35859
35860
35861
35862
35863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35864 $as_echo_n "checking for fmodf declaration... " >&6; }
35865 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35866 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35867 $as_echo_n "(cached) " >&6
35868 else
35869
35870
35871 ac_ext=cpp
35872 ac_cpp='$CXXCPP $CPPFLAGS'
35873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35876
35877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35878 /* end confdefs.h. */
35879 #include <math.h>
35880 int
35881 main ()
35882 {
35883 fmodf(0, 0);
35884 ;
35885 return 0;
35886 }
35887 _ACEOF
35888 if ac_fn_cxx_try_compile "$LINENO"; then :
35889 glibcxx_cv_func_fmodf_use=yes
35890 else
35891 glibcxx_cv_func_fmodf_use=no
35892 fi
35893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35894 ac_ext=c
35895 ac_cpp='$CPP $CPPFLAGS'
35896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35899
35900
35901 fi
35902
35903 fi
35904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35905 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35906
35907 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35908 for ac_func in fmodf
35909 do :
35910 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35911 if test "x$ac_cv_func_fmodf" = x""yes; then :
35912 cat >>confdefs.h <<_ACEOF
35913 #define HAVE_FMODF 1
35914 _ACEOF
35915
35916 fi
35917 done
35918
35919 else
35920
35921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35922 $as_echo_n "checking for _fmodf declaration... " >&6; }
35923 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35924 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35925 $as_echo_n "(cached) " >&6
35926 else
35927
35928
35929 ac_ext=cpp
35930 ac_cpp='$CXXCPP $CPPFLAGS'
35931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35934
35935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35936 /* end confdefs.h. */
35937 #include <math.h>
35938 int
35939 main ()
35940 {
35941 _fmodf(0, 0);
35942 ;
35943 return 0;
35944 }
35945 _ACEOF
35946 if ac_fn_cxx_try_compile "$LINENO"; then :
35947 glibcxx_cv_func__fmodf_use=yes
35948 else
35949 glibcxx_cv_func__fmodf_use=no
35950 fi
35951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35952 ac_ext=c
35953 ac_cpp='$CPP $CPPFLAGS'
35954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35957
35958
35959 fi
35960
35961 fi
35962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35963 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35964
35965 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35966 for ac_func in _fmodf
35967 do :
35968 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35969 if test "x$ac_cv_func__fmodf" = x""yes; then :
35970 cat >>confdefs.h <<_ACEOF
35971 #define HAVE__FMODF 1
35972 _ACEOF
35973
35974 fi
35975 done
35976
35977 fi
35978 fi
35979
35980
35981
35982
35983
35984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35985 $as_echo_n "checking for frexpf declaration... " >&6; }
35986 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35987 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35988 $as_echo_n "(cached) " >&6
35989 else
35990
35991
35992 ac_ext=cpp
35993 ac_cpp='$CXXCPP $CPPFLAGS'
35994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35997
35998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35999 /* end confdefs.h. */
36000 #include <math.h>
36001 int
36002 main ()
36003 {
36004 frexpf(0, 0);
36005 ;
36006 return 0;
36007 }
36008 _ACEOF
36009 if ac_fn_cxx_try_compile "$LINENO"; then :
36010 glibcxx_cv_func_frexpf_use=yes
36011 else
36012 glibcxx_cv_func_frexpf_use=no
36013 fi
36014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36015 ac_ext=c
36016 ac_cpp='$CPP $CPPFLAGS'
36017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36020
36021
36022 fi
36023
36024 fi
36025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36026 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36027
36028 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36029 for ac_func in frexpf
36030 do :
36031 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36032 if test "x$ac_cv_func_frexpf" = x""yes; then :
36033 cat >>confdefs.h <<_ACEOF
36034 #define HAVE_FREXPF 1
36035 _ACEOF
36036
36037 fi
36038 done
36039
36040 else
36041
36042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36043 $as_echo_n "checking for _frexpf declaration... " >&6; }
36044 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36045 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36046 $as_echo_n "(cached) " >&6
36047 else
36048
36049
36050 ac_ext=cpp
36051 ac_cpp='$CXXCPP $CPPFLAGS'
36052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36055
36056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36057 /* end confdefs.h. */
36058 #include <math.h>
36059 int
36060 main ()
36061 {
36062 _frexpf(0, 0);
36063 ;
36064 return 0;
36065 }
36066 _ACEOF
36067 if ac_fn_cxx_try_compile "$LINENO"; then :
36068 glibcxx_cv_func__frexpf_use=yes
36069 else
36070 glibcxx_cv_func__frexpf_use=no
36071 fi
36072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36073 ac_ext=c
36074 ac_cpp='$CPP $CPPFLAGS'
36075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36078
36079
36080 fi
36081
36082 fi
36083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36084 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36085
36086 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36087 for ac_func in _frexpf
36088 do :
36089 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36090 if test "x$ac_cv_func__frexpf" = x""yes; then :
36091 cat >>confdefs.h <<_ACEOF
36092 #define HAVE__FREXPF 1
36093 _ACEOF
36094
36095 fi
36096 done
36097
36098 fi
36099 fi
36100
36101
36102
36103
36104
36105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36106 $as_echo_n "checking for hypotf declaration... " >&6; }
36107 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36108 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36109 $as_echo_n "(cached) " >&6
36110 else
36111
36112
36113 ac_ext=cpp
36114 ac_cpp='$CXXCPP $CPPFLAGS'
36115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36118
36119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36120 /* end confdefs.h. */
36121 #include <math.h>
36122 int
36123 main ()
36124 {
36125 hypotf(0, 0);
36126 ;
36127 return 0;
36128 }
36129 _ACEOF
36130 if ac_fn_cxx_try_compile "$LINENO"; then :
36131 glibcxx_cv_func_hypotf_use=yes
36132 else
36133 glibcxx_cv_func_hypotf_use=no
36134 fi
36135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36136 ac_ext=c
36137 ac_cpp='$CPP $CPPFLAGS'
36138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36141
36142
36143 fi
36144
36145 fi
36146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36147 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36148
36149 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36150 for ac_func in hypotf
36151 do :
36152 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36153 if test "x$ac_cv_func_hypotf" = x""yes; then :
36154 cat >>confdefs.h <<_ACEOF
36155 #define HAVE_HYPOTF 1
36156 _ACEOF
36157
36158 fi
36159 done
36160
36161 else
36162
36163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36164 $as_echo_n "checking for _hypotf declaration... " >&6; }
36165 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36166 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36167 $as_echo_n "(cached) " >&6
36168 else
36169
36170
36171 ac_ext=cpp
36172 ac_cpp='$CXXCPP $CPPFLAGS'
36173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36176
36177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36178 /* end confdefs.h. */
36179 #include <math.h>
36180 int
36181 main ()
36182 {
36183 _hypotf(0, 0);
36184 ;
36185 return 0;
36186 }
36187 _ACEOF
36188 if ac_fn_cxx_try_compile "$LINENO"; then :
36189 glibcxx_cv_func__hypotf_use=yes
36190 else
36191 glibcxx_cv_func__hypotf_use=no
36192 fi
36193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36194 ac_ext=c
36195 ac_cpp='$CPP $CPPFLAGS'
36196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36199
36200
36201 fi
36202
36203 fi
36204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36205 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36206
36207 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36208 for ac_func in _hypotf
36209 do :
36210 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36211 if test "x$ac_cv_func__hypotf" = x""yes; then :
36212 cat >>confdefs.h <<_ACEOF
36213 #define HAVE__HYPOTF 1
36214 _ACEOF
36215
36216 fi
36217 done
36218
36219 fi
36220 fi
36221
36222
36223
36224
36225
36226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36227 $as_echo_n "checking for ldexpf declaration... " >&6; }
36228 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36229 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36230 $as_echo_n "(cached) " >&6
36231 else
36232
36233
36234 ac_ext=cpp
36235 ac_cpp='$CXXCPP $CPPFLAGS'
36236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36239
36240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36241 /* end confdefs.h. */
36242 #include <math.h>
36243 int
36244 main ()
36245 {
36246 ldexpf(0, 0);
36247 ;
36248 return 0;
36249 }
36250 _ACEOF
36251 if ac_fn_cxx_try_compile "$LINENO"; then :
36252 glibcxx_cv_func_ldexpf_use=yes
36253 else
36254 glibcxx_cv_func_ldexpf_use=no
36255 fi
36256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36257 ac_ext=c
36258 ac_cpp='$CPP $CPPFLAGS'
36259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36262
36263
36264 fi
36265
36266 fi
36267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36268 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36269
36270 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36271 for ac_func in ldexpf
36272 do :
36273 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36274 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36275 cat >>confdefs.h <<_ACEOF
36276 #define HAVE_LDEXPF 1
36277 _ACEOF
36278
36279 fi
36280 done
36281
36282 else
36283
36284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36285 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36286 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36287 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36288 $as_echo_n "(cached) " >&6
36289 else
36290
36291
36292 ac_ext=cpp
36293 ac_cpp='$CXXCPP $CPPFLAGS'
36294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36297
36298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36299 /* end confdefs.h. */
36300 #include <math.h>
36301 int
36302 main ()
36303 {
36304 _ldexpf(0, 0);
36305 ;
36306 return 0;
36307 }
36308 _ACEOF
36309 if ac_fn_cxx_try_compile "$LINENO"; then :
36310 glibcxx_cv_func__ldexpf_use=yes
36311 else
36312 glibcxx_cv_func__ldexpf_use=no
36313 fi
36314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36315 ac_ext=c
36316 ac_cpp='$CPP $CPPFLAGS'
36317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36320
36321
36322 fi
36323
36324 fi
36325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36326 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36327
36328 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36329 for ac_func in _ldexpf
36330 do :
36331 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36332 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36333 cat >>confdefs.h <<_ACEOF
36334 #define HAVE__LDEXPF 1
36335 _ACEOF
36336
36337 fi
36338 done
36339
36340 fi
36341 fi
36342
36343
36344
36345
36346
36347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36348 $as_echo_n "checking for logf declaration... " >&6; }
36349 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36350 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36351 $as_echo_n "(cached) " >&6
36352 else
36353
36354
36355 ac_ext=cpp
36356 ac_cpp='$CXXCPP $CPPFLAGS'
36357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36360
36361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36362 /* end confdefs.h. */
36363 #include <math.h>
36364 #ifdef HAVE_IEEEFP_H
36365 #include <ieeefp.h>
36366 #endif
36367
36368 int
36369 main ()
36370 {
36371 logf(0);
36372 ;
36373 return 0;
36374 }
36375 _ACEOF
36376 if ac_fn_cxx_try_compile "$LINENO"; then :
36377 glibcxx_cv_func_logf_use=yes
36378 else
36379 glibcxx_cv_func_logf_use=no
36380 fi
36381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36382 ac_ext=c
36383 ac_cpp='$CPP $CPPFLAGS'
36384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36387
36388
36389 fi
36390
36391 fi
36392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36393 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36394
36395 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36396 for ac_func in logf
36397 do :
36398 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36399 if test "x$ac_cv_func_logf" = x""yes; then :
36400 cat >>confdefs.h <<_ACEOF
36401 #define HAVE_LOGF 1
36402 _ACEOF
36403
36404 fi
36405 done
36406
36407 else
36408
36409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36410 $as_echo_n "checking for _logf declaration... " >&6; }
36411 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36412 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36413 $as_echo_n "(cached) " >&6
36414 else
36415
36416
36417 ac_ext=cpp
36418 ac_cpp='$CXXCPP $CPPFLAGS'
36419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36422
36423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36424 /* end confdefs.h. */
36425 #include <math.h>
36426 #ifdef HAVE_IEEEFP_H
36427 #include <ieeefp.h>
36428 #endif
36429
36430 int
36431 main ()
36432 {
36433 _logf(0);
36434 ;
36435 return 0;
36436 }
36437 _ACEOF
36438 if ac_fn_cxx_try_compile "$LINENO"; then :
36439 glibcxx_cv_func__logf_use=yes
36440 else
36441 glibcxx_cv_func__logf_use=no
36442 fi
36443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36444 ac_ext=c
36445 ac_cpp='$CPP $CPPFLAGS'
36446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36449
36450
36451 fi
36452
36453 fi
36454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36455 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36456
36457 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36458 for ac_func in _logf
36459 do :
36460 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36461 if test "x$ac_cv_func__logf" = x""yes; then :
36462 cat >>confdefs.h <<_ACEOF
36463 #define HAVE__LOGF 1
36464 _ACEOF
36465
36466 fi
36467 done
36468
36469 fi
36470 fi
36471
36472
36473
36474
36475
36476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36477 $as_echo_n "checking for log10f declaration... " >&6; }
36478 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36479 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36480 $as_echo_n "(cached) " >&6
36481 else
36482
36483
36484 ac_ext=cpp
36485 ac_cpp='$CXXCPP $CPPFLAGS'
36486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36489
36490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36491 /* end confdefs.h. */
36492 #include <math.h>
36493 #ifdef HAVE_IEEEFP_H
36494 #include <ieeefp.h>
36495 #endif
36496
36497 int
36498 main ()
36499 {
36500 log10f(0);
36501 ;
36502 return 0;
36503 }
36504 _ACEOF
36505 if ac_fn_cxx_try_compile "$LINENO"; then :
36506 glibcxx_cv_func_log10f_use=yes
36507 else
36508 glibcxx_cv_func_log10f_use=no
36509 fi
36510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36511 ac_ext=c
36512 ac_cpp='$CPP $CPPFLAGS'
36513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36516
36517
36518 fi
36519
36520 fi
36521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36522 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36523
36524 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36525 for ac_func in log10f
36526 do :
36527 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36528 if test "x$ac_cv_func_log10f" = x""yes; then :
36529 cat >>confdefs.h <<_ACEOF
36530 #define HAVE_LOG10F 1
36531 _ACEOF
36532
36533 fi
36534 done
36535
36536 else
36537
36538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36539 $as_echo_n "checking for _log10f declaration... " >&6; }
36540 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36541 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36542 $as_echo_n "(cached) " >&6
36543 else
36544
36545
36546 ac_ext=cpp
36547 ac_cpp='$CXXCPP $CPPFLAGS'
36548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36551
36552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36553 /* end confdefs.h. */
36554 #include <math.h>
36555 #ifdef HAVE_IEEEFP_H
36556 #include <ieeefp.h>
36557 #endif
36558
36559 int
36560 main ()
36561 {
36562 _log10f(0);
36563 ;
36564 return 0;
36565 }
36566 _ACEOF
36567 if ac_fn_cxx_try_compile "$LINENO"; then :
36568 glibcxx_cv_func__log10f_use=yes
36569 else
36570 glibcxx_cv_func__log10f_use=no
36571 fi
36572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36573 ac_ext=c
36574 ac_cpp='$CPP $CPPFLAGS'
36575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36578
36579
36580 fi
36581
36582 fi
36583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36584 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36585
36586 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36587 for ac_func in _log10f
36588 do :
36589 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36590 if test "x$ac_cv_func__log10f" = x""yes; then :
36591 cat >>confdefs.h <<_ACEOF
36592 #define HAVE__LOG10F 1
36593 _ACEOF
36594
36595 fi
36596 done
36597
36598 fi
36599 fi
36600
36601
36602
36603
36604
36605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36606 $as_echo_n "checking for modff declaration... " >&6; }
36607 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36608 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36609 $as_echo_n "(cached) " >&6
36610 else
36611
36612
36613 ac_ext=cpp
36614 ac_cpp='$CXXCPP $CPPFLAGS'
36615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36618
36619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36620 /* end confdefs.h. */
36621 #include <math.h>
36622 int
36623 main ()
36624 {
36625 modff(0, 0);
36626 ;
36627 return 0;
36628 }
36629 _ACEOF
36630 if ac_fn_cxx_try_compile "$LINENO"; then :
36631 glibcxx_cv_func_modff_use=yes
36632 else
36633 glibcxx_cv_func_modff_use=no
36634 fi
36635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36636 ac_ext=c
36637 ac_cpp='$CPP $CPPFLAGS'
36638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36641
36642
36643 fi
36644
36645 fi
36646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36647 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36648
36649 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36650 for ac_func in modff
36651 do :
36652 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36653 if test "x$ac_cv_func_modff" = x""yes; then :
36654 cat >>confdefs.h <<_ACEOF
36655 #define HAVE_MODFF 1
36656 _ACEOF
36657
36658 fi
36659 done
36660
36661 else
36662
36663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36664 $as_echo_n "checking for _modff declaration... " >&6; }
36665 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36666 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36667 $as_echo_n "(cached) " >&6
36668 else
36669
36670
36671 ac_ext=cpp
36672 ac_cpp='$CXXCPP $CPPFLAGS'
36673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36676
36677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36678 /* end confdefs.h. */
36679 #include <math.h>
36680 int
36681 main ()
36682 {
36683 _modff(0, 0);
36684 ;
36685 return 0;
36686 }
36687 _ACEOF
36688 if ac_fn_cxx_try_compile "$LINENO"; then :
36689 glibcxx_cv_func__modff_use=yes
36690 else
36691 glibcxx_cv_func__modff_use=no
36692 fi
36693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36694 ac_ext=c
36695 ac_cpp='$CPP $CPPFLAGS'
36696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36699
36700
36701 fi
36702
36703 fi
36704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36705 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36706
36707 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36708 for ac_func in _modff
36709 do :
36710 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36711 if test "x$ac_cv_func__modff" = x""yes; then :
36712 cat >>confdefs.h <<_ACEOF
36713 #define HAVE__MODFF 1
36714 _ACEOF
36715
36716 fi
36717 done
36718
36719 fi
36720 fi
36721
36722
36723
36724
36725
36726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36727 $as_echo_n "checking for modf declaration... " >&6; }
36728 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36729 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36730 $as_echo_n "(cached) " >&6
36731 else
36732
36733
36734 ac_ext=cpp
36735 ac_cpp='$CXXCPP $CPPFLAGS'
36736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36739
36740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36741 /* end confdefs.h. */
36742 #include <math.h>
36743 int
36744 main ()
36745 {
36746 modf(0, 0);
36747 ;
36748 return 0;
36749 }
36750 _ACEOF
36751 if ac_fn_cxx_try_compile "$LINENO"; then :
36752 glibcxx_cv_func_modf_use=yes
36753 else
36754 glibcxx_cv_func_modf_use=no
36755 fi
36756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36757 ac_ext=c
36758 ac_cpp='$CPP $CPPFLAGS'
36759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36762
36763
36764 fi
36765
36766 fi
36767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36768 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36769
36770 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36771 for ac_func in modf
36772 do :
36773 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36774 if test "x$ac_cv_func_modf" = x""yes; then :
36775 cat >>confdefs.h <<_ACEOF
36776 #define HAVE_MODF 1
36777 _ACEOF
36778
36779 fi
36780 done
36781
36782 else
36783
36784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36785 $as_echo_n "checking for _modf declaration... " >&6; }
36786 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36787 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36788 $as_echo_n "(cached) " >&6
36789 else
36790
36791
36792 ac_ext=cpp
36793 ac_cpp='$CXXCPP $CPPFLAGS'
36794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36797
36798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36799 /* end confdefs.h. */
36800 #include <math.h>
36801 int
36802 main ()
36803 {
36804 _modf(0, 0);
36805 ;
36806 return 0;
36807 }
36808 _ACEOF
36809 if ac_fn_cxx_try_compile "$LINENO"; then :
36810 glibcxx_cv_func__modf_use=yes
36811 else
36812 glibcxx_cv_func__modf_use=no
36813 fi
36814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36815 ac_ext=c
36816 ac_cpp='$CPP $CPPFLAGS'
36817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36820
36821
36822 fi
36823
36824 fi
36825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36826 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36827
36828 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36829 for ac_func in _modf
36830 do :
36831 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36832 if test "x$ac_cv_func__modf" = x""yes; then :
36833 cat >>confdefs.h <<_ACEOF
36834 #define HAVE__MODF 1
36835 _ACEOF
36836
36837 fi
36838 done
36839
36840 fi
36841 fi
36842
36843
36844
36845
36846
36847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36848 $as_echo_n "checking for powf declaration... " >&6; }
36849 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36850 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36851 $as_echo_n "(cached) " >&6
36852 else
36853
36854
36855 ac_ext=cpp
36856 ac_cpp='$CXXCPP $CPPFLAGS'
36857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36860
36861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36862 /* end confdefs.h. */
36863 #include <math.h>
36864 int
36865 main ()
36866 {
36867 powf(0, 0);
36868 ;
36869 return 0;
36870 }
36871 _ACEOF
36872 if ac_fn_cxx_try_compile "$LINENO"; then :
36873 glibcxx_cv_func_powf_use=yes
36874 else
36875 glibcxx_cv_func_powf_use=no
36876 fi
36877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36878 ac_ext=c
36879 ac_cpp='$CPP $CPPFLAGS'
36880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36883
36884
36885 fi
36886
36887 fi
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36889 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36890
36891 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36892 for ac_func in powf
36893 do :
36894 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36895 if test "x$ac_cv_func_powf" = x""yes; then :
36896 cat >>confdefs.h <<_ACEOF
36897 #define HAVE_POWF 1
36898 _ACEOF
36899
36900 fi
36901 done
36902
36903 else
36904
36905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36906 $as_echo_n "checking for _powf declaration... " >&6; }
36907 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36908 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36909 $as_echo_n "(cached) " >&6
36910 else
36911
36912
36913 ac_ext=cpp
36914 ac_cpp='$CXXCPP $CPPFLAGS'
36915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36918
36919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36920 /* end confdefs.h. */
36921 #include <math.h>
36922 int
36923 main ()
36924 {
36925 _powf(0, 0);
36926 ;
36927 return 0;
36928 }
36929 _ACEOF
36930 if ac_fn_cxx_try_compile "$LINENO"; then :
36931 glibcxx_cv_func__powf_use=yes
36932 else
36933 glibcxx_cv_func__powf_use=no
36934 fi
36935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36936 ac_ext=c
36937 ac_cpp='$CPP $CPPFLAGS'
36938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36941
36942
36943 fi
36944
36945 fi
36946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36947 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36948
36949 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36950 for ac_func in _powf
36951 do :
36952 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36953 if test "x$ac_cv_func__powf" = x""yes; then :
36954 cat >>confdefs.h <<_ACEOF
36955 #define HAVE__POWF 1
36956 _ACEOF
36957
36958 fi
36959 done
36960
36961 fi
36962 fi
36963
36964
36965
36966
36967
36968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36969 $as_echo_n "checking for sqrtf declaration... " >&6; }
36970 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36971 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36972 $as_echo_n "(cached) " >&6
36973 else
36974
36975
36976 ac_ext=cpp
36977 ac_cpp='$CXXCPP $CPPFLAGS'
36978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36981
36982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36983 /* end confdefs.h. */
36984 #include <math.h>
36985 #ifdef HAVE_IEEEFP_H
36986 #include <ieeefp.h>
36987 #endif
36988
36989 int
36990 main ()
36991 {
36992 sqrtf(0);
36993 ;
36994 return 0;
36995 }
36996 _ACEOF
36997 if ac_fn_cxx_try_compile "$LINENO"; then :
36998 glibcxx_cv_func_sqrtf_use=yes
36999 else
37000 glibcxx_cv_func_sqrtf_use=no
37001 fi
37002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37003 ac_ext=c
37004 ac_cpp='$CPP $CPPFLAGS'
37005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37008
37009
37010 fi
37011
37012 fi
37013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37014 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37015
37016 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37017 for ac_func in sqrtf
37018 do :
37019 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37020 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37021 cat >>confdefs.h <<_ACEOF
37022 #define HAVE_SQRTF 1
37023 _ACEOF
37024
37025 fi
37026 done
37027
37028 else
37029
37030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37031 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37032 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37033 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37034 $as_echo_n "(cached) " >&6
37035 else
37036
37037
37038 ac_ext=cpp
37039 ac_cpp='$CXXCPP $CPPFLAGS'
37040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37043
37044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37045 /* end confdefs.h. */
37046 #include <math.h>
37047 #ifdef HAVE_IEEEFP_H
37048 #include <ieeefp.h>
37049 #endif
37050
37051 int
37052 main ()
37053 {
37054 _sqrtf(0);
37055 ;
37056 return 0;
37057 }
37058 _ACEOF
37059 if ac_fn_cxx_try_compile "$LINENO"; then :
37060 glibcxx_cv_func__sqrtf_use=yes
37061 else
37062 glibcxx_cv_func__sqrtf_use=no
37063 fi
37064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37065 ac_ext=c
37066 ac_cpp='$CPP $CPPFLAGS'
37067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37070
37071
37072 fi
37073
37074 fi
37075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37076 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37077
37078 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37079 for ac_func in _sqrtf
37080 do :
37081 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37082 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37083 cat >>confdefs.h <<_ACEOF
37084 #define HAVE__SQRTF 1
37085 _ACEOF
37086
37087 fi
37088 done
37089
37090 fi
37091 fi
37092
37093
37094
37095
37096
37097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37098 $as_echo_n "checking for sincosf declaration... " >&6; }
37099 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37100 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37101 $as_echo_n "(cached) " >&6
37102 else
37103
37104
37105 ac_ext=cpp
37106 ac_cpp='$CXXCPP $CPPFLAGS'
37107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37110
37111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37112 /* end confdefs.h. */
37113 #include <math.h>
37114 int
37115 main ()
37116 {
37117 sincosf(0, 0, 0);
37118 ;
37119 return 0;
37120 }
37121 _ACEOF
37122 if ac_fn_cxx_try_compile "$LINENO"; then :
37123 glibcxx_cv_func_sincosf_use=yes
37124 else
37125 glibcxx_cv_func_sincosf_use=no
37126 fi
37127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37128 ac_ext=c
37129 ac_cpp='$CPP $CPPFLAGS'
37130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37133
37134
37135 fi
37136
37137 fi
37138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37139 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37140
37141 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37142 for ac_func in sincosf
37143 do :
37144 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37145 if test "x$ac_cv_func_sincosf" = x""yes; then :
37146 cat >>confdefs.h <<_ACEOF
37147 #define HAVE_SINCOSF 1
37148 _ACEOF
37149
37150 fi
37151 done
37152
37153 else
37154
37155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37156 $as_echo_n "checking for _sincosf declaration... " >&6; }
37157 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37158 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37159 $as_echo_n "(cached) " >&6
37160 else
37161
37162
37163 ac_ext=cpp
37164 ac_cpp='$CXXCPP $CPPFLAGS'
37165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37168
37169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37170 /* end confdefs.h. */
37171 #include <math.h>
37172 int
37173 main ()
37174 {
37175 _sincosf(0, 0, 0);
37176 ;
37177 return 0;
37178 }
37179 _ACEOF
37180 if ac_fn_cxx_try_compile "$LINENO"; then :
37181 glibcxx_cv_func__sincosf_use=yes
37182 else
37183 glibcxx_cv_func__sincosf_use=no
37184 fi
37185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37186 ac_ext=c
37187 ac_cpp='$CPP $CPPFLAGS'
37188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37191
37192
37193 fi
37194
37195 fi
37196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37197 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37198
37199 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37200 for ac_func in _sincosf
37201 do :
37202 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37203 if test "x$ac_cv_func__sincosf" = x""yes; then :
37204 cat >>confdefs.h <<_ACEOF
37205 #define HAVE__SINCOSF 1
37206 _ACEOF
37207
37208 fi
37209 done
37210
37211 fi
37212 fi
37213
37214
37215
37216
37217
37218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37219 $as_echo_n "checking for finitef declaration... " >&6; }
37220 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37221 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37222 $as_echo_n "(cached) " >&6
37223 else
37224
37225
37226 ac_ext=cpp
37227 ac_cpp='$CXXCPP $CPPFLAGS'
37228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37231
37232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37233 /* end confdefs.h. */
37234 #include <math.h>
37235 #ifdef HAVE_IEEEFP_H
37236 #include <ieeefp.h>
37237 #endif
37238
37239 int
37240 main ()
37241 {
37242 finitef(0);
37243 ;
37244 return 0;
37245 }
37246 _ACEOF
37247 if ac_fn_cxx_try_compile "$LINENO"; then :
37248 glibcxx_cv_func_finitef_use=yes
37249 else
37250 glibcxx_cv_func_finitef_use=no
37251 fi
37252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37253 ac_ext=c
37254 ac_cpp='$CPP $CPPFLAGS'
37255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37258
37259
37260 fi
37261
37262 fi
37263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37264 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37265
37266 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37267 for ac_func in finitef
37268 do :
37269 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37270 if test "x$ac_cv_func_finitef" = x""yes; then :
37271 cat >>confdefs.h <<_ACEOF
37272 #define HAVE_FINITEF 1
37273 _ACEOF
37274
37275 fi
37276 done
37277
37278 else
37279
37280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37281 $as_echo_n "checking for _finitef declaration... " >&6; }
37282 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37283 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37284 $as_echo_n "(cached) " >&6
37285 else
37286
37287
37288 ac_ext=cpp
37289 ac_cpp='$CXXCPP $CPPFLAGS'
37290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37293
37294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37295 /* end confdefs.h. */
37296 #include <math.h>
37297 #ifdef HAVE_IEEEFP_H
37298 #include <ieeefp.h>
37299 #endif
37300
37301 int
37302 main ()
37303 {
37304 _finitef(0);
37305 ;
37306 return 0;
37307 }
37308 _ACEOF
37309 if ac_fn_cxx_try_compile "$LINENO"; then :
37310 glibcxx_cv_func__finitef_use=yes
37311 else
37312 glibcxx_cv_func__finitef_use=no
37313 fi
37314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37315 ac_ext=c
37316 ac_cpp='$CPP $CPPFLAGS'
37317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37320
37321
37322 fi
37323
37324 fi
37325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37326 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37327
37328 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37329 for ac_func in _finitef
37330 do :
37331 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37332 if test "x$ac_cv_func__finitef" = x""yes; then :
37333 cat >>confdefs.h <<_ACEOF
37334 #define HAVE__FINITEF 1
37335 _ACEOF
37336
37337 fi
37338 done
37339
37340 fi
37341 fi
37342
37343
37344
37345
37346
37347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37348 $as_echo_n "checking for long double trig functions... " >&6; }
37349 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37350 $as_echo_n "(cached) " >&6
37351 else
37352
37353
37354 ac_ext=cpp
37355 ac_cpp='$CXXCPP $CPPFLAGS'
37356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37359
37360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37361 /* end confdefs.h. */
37362 #include <math.h>
37363 int
37364 main ()
37365 {
37366 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37367 ;
37368 return 0;
37369 }
37370 _ACEOF
37371 if ac_fn_cxx_try_compile "$LINENO"; then :
37372 glibcxx_cv_func_long_double_trig_use=yes
37373 else
37374 glibcxx_cv_func_long_double_trig_use=no
37375 fi
37376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37377 ac_ext=c
37378 ac_cpp='$CPP $CPPFLAGS'
37379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37382
37383 fi
37384
37385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37386 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37387 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37388 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37389 do :
37390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37392 eval as_val=\$$as_ac_var
37393 if test "x$as_val" = x""yes; then :
37394 cat >>confdefs.h <<_ACEOF
37395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37396 _ACEOF
37397
37398 fi
37399 done
37400
37401 else
37402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37403 $as_echo_n "checking for _long double trig functions... " >&6; }
37404 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37405 $as_echo_n "(cached) " >&6
37406 else
37407
37408
37409 ac_ext=cpp
37410 ac_cpp='$CXXCPP $CPPFLAGS'
37411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37414
37415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37416 /* end confdefs.h. */
37417 #include <math.h>
37418 int
37419 main ()
37420 {
37421 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37422 ;
37423 return 0;
37424 }
37425 _ACEOF
37426 if ac_fn_cxx_try_compile "$LINENO"; then :
37427 glibcxx_cv_func__long_double_trig_use=yes
37428 else
37429 glibcxx_cv_func__long_double_trig_use=no
37430 fi
37431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37432 ac_ext=c
37433 ac_cpp='$CPP $CPPFLAGS'
37434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37437
37438 fi
37439
37440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37441 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37442 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37443 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37444 do :
37445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37447 eval as_val=\$$as_ac_var
37448 if test "x$as_val" = x""yes; then :
37449 cat >>confdefs.h <<_ACEOF
37450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37451 _ACEOF
37452
37453 fi
37454 done
37455
37456 fi
37457 fi
37458
37459
37460
37461
37462
37463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37464 $as_echo_n "checking for long double round functions... " >&6; }
37465 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37466 $as_echo_n "(cached) " >&6
37467 else
37468
37469
37470 ac_ext=cpp
37471 ac_cpp='$CXXCPP $CPPFLAGS'
37472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37475
37476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37477 /* end confdefs.h. */
37478 #include <math.h>
37479 int
37480 main ()
37481 {
37482 ceill (0); floorl (0);
37483 ;
37484 return 0;
37485 }
37486 _ACEOF
37487 if ac_fn_cxx_try_compile "$LINENO"; then :
37488 glibcxx_cv_func_long_double_round_use=yes
37489 else
37490 glibcxx_cv_func_long_double_round_use=no
37491 fi
37492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37493 ac_ext=c
37494 ac_cpp='$CPP $CPPFLAGS'
37495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37498
37499 fi
37500
37501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37502 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37503 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37504 for ac_func in ceill floorl
37505 do :
37506 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37507 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37508 eval as_val=\$$as_ac_var
37509 if test "x$as_val" = x""yes; then :
37510 cat >>confdefs.h <<_ACEOF
37511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37512 _ACEOF
37513
37514 fi
37515 done
37516
37517 else
37518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37519 $as_echo_n "checking for _long double round functions... " >&6; }
37520 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37521 $as_echo_n "(cached) " >&6
37522 else
37523
37524
37525 ac_ext=cpp
37526 ac_cpp='$CXXCPP $CPPFLAGS'
37527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37530
37531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37532 /* end confdefs.h. */
37533 #include <math.h>
37534 int
37535 main ()
37536 {
37537 _ceill (0); _floorl (0);
37538 ;
37539 return 0;
37540 }
37541 _ACEOF
37542 if ac_fn_cxx_try_compile "$LINENO"; then :
37543 glibcxx_cv_func__long_double_round_use=yes
37544 else
37545 glibcxx_cv_func__long_double_round_use=no
37546 fi
37547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37548 ac_ext=c
37549 ac_cpp='$CPP $CPPFLAGS'
37550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37553
37554 fi
37555
37556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37557 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37558 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37559 for ac_func in _ceill _floorl
37560 do :
37561 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37562 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37563 eval as_val=\$$as_ac_var
37564 if test "x$as_val" = x""yes; then :
37565 cat >>confdefs.h <<_ACEOF
37566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37567 _ACEOF
37568
37569 fi
37570 done
37571
37572 fi
37573 fi
37574
37575
37576
37577
37578
37579
37580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37581 $as_echo_n "checking for isnanl declaration... " >&6; }
37582 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37583 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37584 $as_echo_n "(cached) " >&6
37585 else
37586
37587
37588 ac_ext=cpp
37589 ac_cpp='$CXXCPP $CPPFLAGS'
37590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37593
37594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37595 /* end confdefs.h. */
37596 #include <math.h>
37597 #ifdef HAVE_IEEEFP_H
37598 #include <ieeefp.h>
37599 #endif
37600
37601 int
37602 main ()
37603 {
37604 isnanl(0);
37605 ;
37606 return 0;
37607 }
37608 _ACEOF
37609 if ac_fn_cxx_try_compile "$LINENO"; then :
37610 glibcxx_cv_func_isnanl_use=yes
37611 else
37612 glibcxx_cv_func_isnanl_use=no
37613 fi
37614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37615 ac_ext=c
37616 ac_cpp='$CPP $CPPFLAGS'
37617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37620
37621
37622 fi
37623
37624 fi
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37626 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37627
37628 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37629 for ac_func in isnanl
37630 do :
37631 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37632 if test "x$ac_cv_func_isnanl" = x""yes; then :
37633 cat >>confdefs.h <<_ACEOF
37634 #define HAVE_ISNANL 1
37635 _ACEOF
37636
37637 fi
37638 done
37639
37640 else
37641
37642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37643 $as_echo_n "checking for _isnanl declaration... " >&6; }
37644 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37645 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37646 $as_echo_n "(cached) " >&6
37647 else
37648
37649
37650 ac_ext=cpp
37651 ac_cpp='$CXXCPP $CPPFLAGS'
37652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37655
37656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37657 /* end confdefs.h. */
37658 #include <math.h>
37659 #ifdef HAVE_IEEEFP_H
37660 #include <ieeefp.h>
37661 #endif
37662
37663 int
37664 main ()
37665 {
37666 _isnanl(0);
37667 ;
37668 return 0;
37669 }
37670 _ACEOF
37671 if ac_fn_cxx_try_compile "$LINENO"; then :
37672 glibcxx_cv_func__isnanl_use=yes
37673 else
37674 glibcxx_cv_func__isnanl_use=no
37675 fi
37676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37677 ac_ext=c
37678 ac_cpp='$CPP $CPPFLAGS'
37679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37682
37683
37684 fi
37685
37686 fi
37687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37688 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37689
37690 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37691 for ac_func in _isnanl
37692 do :
37693 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37694 if test "x$ac_cv_func__isnanl" = x""yes; then :
37695 cat >>confdefs.h <<_ACEOF
37696 #define HAVE__ISNANL 1
37697 _ACEOF
37698
37699 fi
37700 done
37701
37702 fi
37703 fi
37704
37705
37706
37707
37708
37709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37710 $as_echo_n "checking for isinfl declaration... " >&6; }
37711 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37712 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37713 $as_echo_n "(cached) " >&6
37714 else
37715
37716
37717 ac_ext=cpp
37718 ac_cpp='$CXXCPP $CPPFLAGS'
37719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37722
37723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37724 /* end confdefs.h. */
37725 #include <math.h>
37726 #ifdef HAVE_IEEEFP_H
37727 #include <ieeefp.h>
37728 #endif
37729
37730 int
37731 main ()
37732 {
37733 isinfl(0);
37734 ;
37735 return 0;
37736 }
37737 _ACEOF
37738 if ac_fn_cxx_try_compile "$LINENO"; then :
37739 glibcxx_cv_func_isinfl_use=yes
37740 else
37741 glibcxx_cv_func_isinfl_use=no
37742 fi
37743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37744 ac_ext=c
37745 ac_cpp='$CPP $CPPFLAGS'
37746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37749
37750
37751 fi
37752
37753 fi
37754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37755 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37756
37757 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37758 for ac_func in isinfl
37759 do :
37760 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37761 if test "x$ac_cv_func_isinfl" = x""yes; then :
37762 cat >>confdefs.h <<_ACEOF
37763 #define HAVE_ISINFL 1
37764 _ACEOF
37765
37766 fi
37767 done
37768
37769 else
37770
37771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37772 $as_echo_n "checking for _isinfl declaration... " >&6; }
37773 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37774 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37775 $as_echo_n "(cached) " >&6
37776 else
37777
37778
37779 ac_ext=cpp
37780 ac_cpp='$CXXCPP $CPPFLAGS'
37781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37784
37785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37786 /* end confdefs.h. */
37787 #include <math.h>
37788 #ifdef HAVE_IEEEFP_H
37789 #include <ieeefp.h>
37790 #endif
37791
37792 int
37793 main ()
37794 {
37795 _isinfl(0);
37796 ;
37797 return 0;
37798 }
37799 _ACEOF
37800 if ac_fn_cxx_try_compile "$LINENO"; then :
37801 glibcxx_cv_func__isinfl_use=yes
37802 else
37803 glibcxx_cv_func__isinfl_use=no
37804 fi
37805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37806 ac_ext=c
37807 ac_cpp='$CPP $CPPFLAGS'
37808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37811
37812
37813 fi
37814
37815 fi
37816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37817 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37818
37819 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37820 for ac_func in _isinfl
37821 do :
37822 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37823 if test "x$ac_cv_func__isinfl" = x""yes; then :
37824 cat >>confdefs.h <<_ACEOF
37825 #define HAVE__ISINFL 1
37826 _ACEOF
37827
37828 fi
37829 done
37830
37831 fi
37832 fi
37833
37834
37835
37836
37837
37838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37839 $as_echo_n "checking for atan2l declaration... " >&6; }
37840 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37841 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37842 $as_echo_n "(cached) " >&6
37843 else
37844
37845
37846 ac_ext=cpp
37847 ac_cpp='$CXXCPP $CPPFLAGS'
37848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37851
37852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37853 /* end confdefs.h. */
37854 #include <math.h>
37855 int
37856 main ()
37857 {
37858 atan2l(0, 0);
37859 ;
37860 return 0;
37861 }
37862 _ACEOF
37863 if ac_fn_cxx_try_compile "$LINENO"; then :
37864 glibcxx_cv_func_atan2l_use=yes
37865 else
37866 glibcxx_cv_func_atan2l_use=no
37867 fi
37868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37869 ac_ext=c
37870 ac_cpp='$CPP $CPPFLAGS'
37871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37874
37875
37876 fi
37877
37878 fi
37879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37880 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37881
37882 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37883 for ac_func in atan2l
37884 do :
37885 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37886 if test "x$ac_cv_func_atan2l" = x""yes; then :
37887 cat >>confdefs.h <<_ACEOF
37888 #define HAVE_ATAN2L 1
37889 _ACEOF
37890
37891 fi
37892 done
37893
37894 else
37895
37896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37897 $as_echo_n "checking for _atan2l declaration... " >&6; }
37898 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37899 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37900 $as_echo_n "(cached) " >&6
37901 else
37902
37903
37904 ac_ext=cpp
37905 ac_cpp='$CXXCPP $CPPFLAGS'
37906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37909
37910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37911 /* end confdefs.h. */
37912 #include <math.h>
37913 int
37914 main ()
37915 {
37916 _atan2l(0, 0);
37917 ;
37918 return 0;
37919 }
37920 _ACEOF
37921 if ac_fn_cxx_try_compile "$LINENO"; then :
37922 glibcxx_cv_func__atan2l_use=yes
37923 else
37924 glibcxx_cv_func__atan2l_use=no
37925 fi
37926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37927 ac_ext=c
37928 ac_cpp='$CPP $CPPFLAGS'
37929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37932
37933
37934 fi
37935
37936 fi
37937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37938 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37939
37940 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37941 for ac_func in _atan2l
37942 do :
37943 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37944 if test "x$ac_cv_func__atan2l" = x""yes; then :
37945 cat >>confdefs.h <<_ACEOF
37946 #define HAVE__ATAN2L 1
37947 _ACEOF
37948
37949 fi
37950 done
37951
37952 fi
37953 fi
37954
37955
37956
37957
37958
37959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37960 $as_echo_n "checking for expl declaration... " >&6; }
37961 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37962 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37963 $as_echo_n "(cached) " >&6
37964 else
37965
37966
37967 ac_ext=cpp
37968 ac_cpp='$CXXCPP $CPPFLAGS'
37969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37972
37973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37974 /* end confdefs.h. */
37975 #include <math.h>
37976 #ifdef HAVE_IEEEFP_H
37977 #include <ieeefp.h>
37978 #endif
37979
37980 int
37981 main ()
37982 {
37983 expl(0);
37984 ;
37985 return 0;
37986 }
37987 _ACEOF
37988 if ac_fn_cxx_try_compile "$LINENO"; then :
37989 glibcxx_cv_func_expl_use=yes
37990 else
37991 glibcxx_cv_func_expl_use=no
37992 fi
37993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37994 ac_ext=c
37995 ac_cpp='$CPP $CPPFLAGS'
37996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37999
38000
38001 fi
38002
38003 fi
38004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38005 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38006
38007 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38008 for ac_func in expl
38009 do :
38010 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38011 if test "x$ac_cv_func_expl" = x""yes; then :
38012 cat >>confdefs.h <<_ACEOF
38013 #define HAVE_EXPL 1
38014 _ACEOF
38015
38016 fi
38017 done
38018
38019 else
38020
38021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38022 $as_echo_n "checking for _expl declaration... " >&6; }
38023 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38024 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38025 $as_echo_n "(cached) " >&6
38026 else
38027
38028
38029 ac_ext=cpp
38030 ac_cpp='$CXXCPP $CPPFLAGS'
38031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38034
38035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38036 /* end confdefs.h. */
38037 #include <math.h>
38038 #ifdef HAVE_IEEEFP_H
38039 #include <ieeefp.h>
38040 #endif
38041
38042 int
38043 main ()
38044 {
38045 _expl(0);
38046 ;
38047 return 0;
38048 }
38049 _ACEOF
38050 if ac_fn_cxx_try_compile "$LINENO"; then :
38051 glibcxx_cv_func__expl_use=yes
38052 else
38053 glibcxx_cv_func__expl_use=no
38054 fi
38055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38056 ac_ext=c
38057 ac_cpp='$CPP $CPPFLAGS'
38058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38061
38062
38063 fi
38064
38065 fi
38066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38067 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38068
38069 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38070 for ac_func in _expl
38071 do :
38072 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38073 if test "x$ac_cv_func__expl" = x""yes; then :
38074 cat >>confdefs.h <<_ACEOF
38075 #define HAVE__EXPL 1
38076 _ACEOF
38077
38078 fi
38079 done
38080
38081 fi
38082 fi
38083
38084
38085
38086
38087
38088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38089 $as_echo_n "checking for fabsl declaration... " >&6; }
38090 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38091 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38092 $as_echo_n "(cached) " >&6
38093 else
38094
38095
38096 ac_ext=cpp
38097 ac_cpp='$CXXCPP $CPPFLAGS'
38098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38101
38102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38103 /* end confdefs.h. */
38104 #include <math.h>
38105 #ifdef HAVE_IEEEFP_H
38106 #include <ieeefp.h>
38107 #endif
38108
38109 int
38110 main ()
38111 {
38112 fabsl(0);
38113 ;
38114 return 0;
38115 }
38116 _ACEOF
38117 if ac_fn_cxx_try_compile "$LINENO"; then :
38118 glibcxx_cv_func_fabsl_use=yes
38119 else
38120 glibcxx_cv_func_fabsl_use=no
38121 fi
38122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38123 ac_ext=c
38124 ac_cpp='$CPP $CPPFLAGS'
38125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38128
38129
38130 fi
38131
38132 fi
38133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38134 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38135
38136 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38137 for ac_func in fabsl
38138 do :
38139 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38140 if test "x$ac_cv_func_fabsl" = x""yes; then :
38141 cat >>confdefs.h <<_ACEOF
38142 #define HAVE_FABSL 1
38143 _ACEOF
38144
38145 fi
38146 done
38147
38148 else
38149
38150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38151 $as_echo_n "checking for _fabsl declaration... " >&6; }
38152 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38153 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38154 $as_echo_n "(cached) " >&6
38155 else
38156
38157
38158 ac_ext=cpp
38159 ac_cpp='$CXXCPP $CPPFLAGS'
38160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38163
38164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38165 /* end confdefs.h. */
38166 #include <math.h>
38167 #ifdef HAVE_IEEEFP_H
38168 #include <ieeefp.h>
38169 #endif
38170
38171 int
38172 main ()
38173 {
38174 _fabsl(0);
38175 ;
38176 return 0;
38177 }
38178 _ACEOF
38179 if ac_fn_cxx_try_compile "$LINENO"; then :
38180 glibcxx_cv_func__fabsl_use=yes
38181 else
38182 glibcxx_cv_func__fabsl_use=no
38183 fi
38184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38185 ac_ext=c
38186 ac_cpp='$CPP $CPPFLAGS'
38187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38190
38191
38192 fi
38193
38194 fi
38195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38196 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38197
38198 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38199 for ac_func in _fabsl
38200 do :
38201 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38202 if test "x$ac_cv_func__fabsl" = x""yes; then :
38203 cat >>confdefs.h <<_ACEOF
38204 #define HAVE__FABSL 1
38205 _ACEOF
38206
38207 fi
38208 done
38209
38210 fi
38211 fi
38212
38213
38214
38215
38216
38217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38218 $as_echo_n "checking for fmodl declaration... " >&6; }
38219 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38220 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38221 $as_echo_n "(cached) " >&6
38222 else
38223
38224
38225 ac_ext=cpp
38226 ac_cpp='$CXXCPP $CPPFLAGS'
38227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38230
38231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38232 /* end confdefs.h. */
38233 #include <math.h>
38234 int
38235 main ()
38236 {
38237 fmodl(0, 0);
38238 ;
38239 return 0;
38240 }
38241 _ACEOF
38242 if ac_fn_cxx_try_compile "$LINENO"; then :
38243 glibcxx_cv_func_fmodl_use=yes
38244 else
38245 glibcxx_cv_func_fmodl_use=no
38246 fi
38247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38248 ac_ext=c
38249 ac_cpp='$CPP $CPPFLAGS'
38250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38253
38254
38255 fi
38256
38257 fi
38258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38259 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38260
38261 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38262 for ac_func in fmodl
38263 do :
38264 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38265 if test "x$ac_cv_func_fmodl" = x""yes; then :
38266 cat >>confdefs.h <<_ACEOF
38267 #define HAVE_FMODL 1
38268 _ACEOF
38269
38270 fi
38271 done
38272
38273 else
38274
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38276 $as_echo_n "checking for _fmodl declaration... " >&6; }
38277 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38278 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38279 $as_echo_n "(cached) " >&6
38280 else
38281
38282
38283 ac_ext=cpp
38284 ac_cpp='$CXXCPP $CPPFLAGS'
38285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38288
38289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38290 /* end confdefs.h. */
38291 #include <math.h>
38292 int
38293 main ()
38294 {
38295 _fmodl(0, 0);
38296 ;
38297 return 0;
38298 }
38299 _ACEOF
38300 if ac_fn_cxx_try_compile "$LINENO"; then :
38301 glibcxx_cv_func__fmodl_use=yes
38302 else
38303 glibcxx_cv_func__fmodl_use=no
38304 fi
38305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38306 ac_ext=c
38307 ac_cpp='$CPP $CPPFLAGS'
38308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38311
38312
38313 fi
38314
38315 fi
38316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38317 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38318
38319 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38320 for ac_func in _fmodl
38321 do :
38322 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38323 if test "x$ac_cv_func__fmodl" = x""yes; then :
38324 cat >>confdefs.h <<_ACEOF
38325 #define HAVE__FMODL 1
38326 _ACEOF
38327
38328 fi
38329 done
38330
38331 fi
38332 fi
38333
38334
38335
38336
38337
38338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38339 $as_echo_n "checking for frexpl declaration... " >&6; }
38340 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38341 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38342 $as_echo_n "(cached) " >&6
38343 else
38344
38345
38346 ac_ext=cpp
38347 ac_cpp='$CXXCPP $CPPFLAGS'
38348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38351
38352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38353 /* end confdefs.h. */
38354 #include <math.h>
38355 int
38356 main ()
38357 {
38358 frexpl(0, 0);
38359 ;
38360 return 0;
38361 }
38362 _ACEOF
38363 if ac_fn_cxx_try_compile "$LINENO"; then :
38364 glibcxx_cv_func_frexpl_use=yes
38365 else
38366 glibcxx_cv_func_frexpl_use=no
38367 fi
38368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38369 ac_ext=c
38370 ac_cpp='$CPP $CPPFLAGS'
38371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38374
38375
38376 fi
38377
38378 fi
38379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38380 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38381
38382 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38383 for ac_func in frexpl
38384 do :
38385 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38386 if test "x$ac_cv_func_frexpl" = x""yes; then :
38387 cat >>confdefs.h <<_ACEOF
38388 #define HAVE_FREXPL 1
38389 _ACEOF
38390
38391 fi
38392 done
38393
38394 else
38395
38396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38397 $as_echo_n "checking for _frexpl declaration... " >&6; }
38398 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38399 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38400 $as_echo_n "(cached) " >&6
38401 else
38402
38403
38404 ac_ext=cpp
38405 ac_cpp='$CXXCPP $CPPFLAGS'
38406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38409
38410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38411 /* end confdefs.h. */
38412 #include <math.h>
38413 int
38414 main ()
38415 {
38416 _frexpl(0, 0);
38417 ;
38418 return 0;
38419 }
38420 _ACEOF
38421 if ac_fn_cxx_try_compile "$LINENO"; then :
38422 glibcxx_cv_func__frexpl_use=yes
38423 else
38424 glibcxx_cv_func__frexpl_use=no
38425 fi
38426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38427 ac_ext=c
38428 ac_cpp='$CPP $CPPFLAGS'
38429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38432
38433
38434 fi
38435
38436 fi
38437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38438 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38439
38440 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38441 for ac_func in _frexpl
38442 do :
38443 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38444 if test "x$ac_cv_func__frexpl" = x""yes; then :
38445 cat >>confdefs.h <<_ACEOF
38446 #define HAVE__FREXPL 1
38447 _ACEOF
38448
38449 fi
38450 done
38451
38452 fi
38453 fi
38454
38455
38456
38457
38458
38459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38460 $as_echo_n "checking for hypotl declaration... " >&6; }
38461 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38462 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38463 $as_echo_n "(cached) " >&6
38464 else
38465
38466
38467 ac_ext=cpp
38468 ac_cpp='$CXXCPP $CPPFLAGS'
38469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38472
38473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38474 /* end confdefs.h. */
38475 #include <math.h>
38476 int
38477 main ()
38478 {
38479 hypotl(0, 0);
38480 ;
38481 return 0;
38482 }
38483 _ACEOF
38484 if ac_fn_cxx_try_compile "$LINENO"; then :
38485 glibcxx_cv_func_hypotl_use=yes
38486 else
38487 glibcxx_cv_func_hypotl_use=no
38488 fi
38489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38490 ac_ext=c
38491 ac_cpp='$CPP $CPPFLAGS'
38492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38495
38496
38497 fi
38498
38499 fi
38500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38501 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38502
38503 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38504 for ac_func in hypotl
38505 do :
38506 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38507 if test "x$ac_cv_func_hypotl" = x""yes; then :
38508 cat >>confdefs.h <<_ACEOF
38509 #define HAVE_HYPOTL 1
38510 _ACEOF
38511
38512 fi
38513 done
38514
38515 else
38516
38517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38518 $as_echo_n "checking for _hypotl declaration... " >&6; }
38519 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38520 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38521 $as_echo_n "(cached) " >&6
38522 else
38523
38524
38525 ac_ext=cpp
38526 ac_cpp='$CXXCPP $CPPFLAGS'
38527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38530
38531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38532 /* end confdefs.h. */
38533 #include <math.h>
38534 int
38535 main ()
38536 {
38537 _hypotl(0, 0);
38538 ;
38539 return 0;
38540 }
38541 _ACEOF
38542 if ac_fn_cxx_try_compile "$LINENO"; then :
38543 glibcxx_cv_func__hypotl_use=yes
38544 else
38545 glibcxx_cv_func__hypotl_use=no
38546 fi
38547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38548 ac_ext=c
38549 ac_cpp='$CPP $CPPFLAGS'
38550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38553
38554
38555 fi
38556
38557 fi
38558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38559 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38560
38561 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38562 for ac_func in _hypotl
38563 do :
38564 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38565 if test "x$ac_cv_func__hypotl" = x""yes; then :
38566 cat >>confdefs.h <<_ACEOF
38567 #define HAVE__HYPOTL 1
38568 _ACEOF
38569
38570 fi
38571 done
38572
38573 fi
38574 fi
38575
38576
38577
38578
38579
38580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38581 $as_echo_n "checking for ldexpl declaration... " >&6; }
38582 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38583 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38584 $as_echo_n "(cached) " >&6
38585 else
38586
38587
38588 ac_ext=cpp
38589 ac_cpp='$CXXCPP $CPPFLAGS'
38590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38593
38594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38595 /* end confdefs.h. */
38596 #include <math.h>
38597 int
38598 main ()
38599 {
38600 ldexpl(0, 0);
38601 ;
38602 return 0;
38603 }
38604 _ACEOF
38605 if ac_fn_cxx_try_compile "$LINENO"; then :
38606 glibcxx_cv_func_ldexpl_use=yes
38607 else
38608 glibcxx_cv_func_ldexpl_use=no
38609 fi
38610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38611 ac_ext=c
38612 ac_cpp='$CPP $CPPFLAGS'
38613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38616
38617
38618 fi
38619
38620 fi
38621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38622 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38623
38624 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38625 for ac_func in ldexpl
38626 do :
38627 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38628 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38629 cat >>confdefs.h <<_ACEOF
38630 #define HAVE_LDEXPL 1
38631 _ACEOF
38632
38633 fi
38634 done
38635
38636 else
38637
38638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38639 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38640 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38641 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38642 $as_echo_n "(cached) " >&6
38643 else
38644
38645
38646 ac_ext=cpp
38647 ac_cpp='$CXXCPP $CPPFLAGS'
38648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38651
38652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38653 /* end confdefs.h. */
38654 #include <math.h>
38655 int
38656 main ()
38657 {
38658 _ldexpl(0, 0);
38659 ;
38660 return 0;
38661 }
38662 _ACEOF
38663 if ac_fn_cxx_try_compile "$LINENO"; then :
38664 glibcxx_cv_func__ldexpl_use=yes
38665 else
38666 glibcxx_cv_func__ldexpl_use=no
38667 fi
38668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38669 ac_ext=c
38670 ac_cpp='$CPP $CPPFLAGS'
38671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38674
38675
38676 fi
38677
38678 fi
38679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38680 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38681
38682 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38683 for ac_func in _ldexpl
38684 do :
38685 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38686 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38687 cat >>confdefs.h <<_ACEOF
38688 #define HAVE__LDEXPL 1
38689 _ACEOF
38690
38691 fi
38692 done
38693
38694 fi
38695 fi
38696
38697
38698
38699
38700
38701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38702 $as_echo_n "checking for logl declaration... " >&6; }
38703 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38704 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38705 $as_echo_n "(cached) " >&6
38706 else
38707
38708
38709 ac_ext=cpp
38710 ac_cpp='$CXXCPP $CPPFLAGS'
38711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38714
38715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38716 /* end confdefs.h. */
38717 #include <math.h>
38718 #ifdef HAVE_IEEEFP_H
38719 #include <ieeefp.h>
38720 #endif
38721
38722 int
38723 main ()
38724 {
38725 logl(0);
38726 ;
38727 return 0;
38728 }
38729 _ACEOF
38730 if ac_fn_cxx_try_compile "$LINENO"; then :
38731 glibcxx_cv_func_logl_use=yes
38732 else
38733 glibcxx_cv_func_logl_use=no
38734 fi
38735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38736 ac_ext=c
38737 ac_cpp='$CPP $CPPFLAGS'
38738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38741
38742
38743 fi
38744
38745 fi
38746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38747 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38748
38749 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38750 for ac_func in logl
38751 do :
38752 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38753 if test "x$ac_cv_func_logl" = x""yes; then :
38754 cat >>confdefs.h <<_ACEOF
38755 #define HAVE_LOGL 1
38756 _ACEOF
38757
38758 fi
38759 done
38760
38761 else
38762
38763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38764 $as_echo_n "checking for _logl declaration... " >&6; }
38765 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38766 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38767 $as_echo_n "(cached) " >&6
38768 else
38769
38770
38771 ac_ext=cpp
38772 ac_cpp='$CXXCPP $CPPFLAGS'
38773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38776
38777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38778 /* end confdefs.h. */
38779 #include <math.h>
38780 #ifdef HAVE_IEEEFP_H
38781 #include <ieeefp.h>
38782 #endif
38783
38784 int
38785 main ()
38786 {
38787 _logl(0);
38788 ;
38789 return 0;
38790 }
38791 _ACEOF
38792 if ac_fn_cxx_try_compile "$LINENO"; then :
38793 glibcxx_cv_func__logl_use=yes
38794 else
38795 glibcxx_cv_func__logl_use=no
38796 fi
38797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38798 ac_ext=c
38799 ac_cpp='$CPP $CPPFLAGS'
38800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38803
38804
38805 fi
38806
38807 fi
38808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38809 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38810
38811 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38812 for ac_func in _logl
38813 do :
38814 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38815 if test "x$ac_cv_func__logl" = x""yes; then :
38816 cat >>confdefs.h <<_ACEOF
38817 #define HAVE__LOGL 1
38818 _ACEOF
38819
38820 fi
38821 done
38822
38823 fi
38824 fi
38825
38826
38827
38828
38829
38830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38831 $as_echo_n "checking for log10l declaration... " >&6; }
38832 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38833 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38834 $as_echo_n "(cached) " >&6
38835 else
38836
38837
38838 ac_ext=cpp
38839 ac_cpp='$CXXCPP $CPPFLAGS'
38840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38843
38844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38845 /* end confdefs.h. */
38846 #include <math.h>
38847 #ifdef HAVE_IEEEFP_H
38848 #include <ieeefp.h>
38849 #endif
38850
38851 int
38852 main ()
38853 {
38854 log10l(0);
38855 ;
38856 return 0;
38857 }
38858 _ACEOF
38859 if ac_fn_cxx_try_compile "$LINENO"; then :
38860 glibcxx_cv_func_log10l_use=yes
38861 else
38862 glibcxx_cv_func_log10l_use=no
38863 fi
38864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38865 ac_ext=c
38866 ac_cpp='$CPP $CPPFLAGS'
38867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38870
38871
38872 fi
38873
38874 fi
38875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38876 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38877
38878 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38879 for ac_func in log10l
38880 do :
38881 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38882 if test "x$ac_cv_func_log10l" = x""yes; then :
38883 cat >>confdefs.h <<_ACEOF
38884 #define HAVE_LOG10L 1
38885 _ACEOF
38886
38887 fi
38888 done
38889
38890 else
38891
38892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38893 $as_echo_n "checking for _log10l declaration... " >&6; }
38894 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38895 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38896 $as_echo_n "(cached) " >&6
38897 else
38898
38899
38900 ac_ext=cpp
38901 ac_cpp='$CXXCPP $CPPFLAGS'
38902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38905
38906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38907 /* end confdefs.h. */
38908 #include <math.h>
38909 #ifdef HAVE_IEEEFP_H
38910 #include <ieeefp.h>
38911 #endif
38912
38913 int
38914 main ()
38915 {
38916 _log10l(0);
38917 ;
38918 return 0;
38919 }
38920 _ACEOF
38921 if ac_fn_cxx_try_compile "$LINENO"; then :
38922 glibcxx_cv_func__log10l_use=yes
38923 else
38924 glibcxx_cv_func__log10l_use=no
38925 fi
38926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38927 ac_ext=c
38928 ac_cpp='$CPP $CPPFLAGS'
38929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38932
38933
38934 fi
38935
38936 fi
38937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38938 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38939
38940 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38941 for ac_func in _log10l
38942 do :
38943 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38944 if test "x$ac_cv_func__log10l" = x""yes; then :
38945 cat >>confdefs.h <<_ACEOF
38946 #define HAVE__LOG10L 1
38947 _ACEOF
38948
38949 fi
38950 done
38951
38952 fi
38953 fi
38954
38955
38956
38957
38958
38959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38960 $as_echo_n "checking for modfl declaration... " >&6; }
38961 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38962 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38963 $as_echo_n "(cached) " >&6
38964 else
38965
38966
38967 ac_ext=cpp
38968 ac_cpp='$CXXCPP $CPPFLAGS'
38969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38972
38973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38974 /* end confdefs.h. */
38975 #include <math.h>
38976 int
38977 main ()
38978 {
38979 modfl(0, 0);
38980 ;
38981 return 0;
38982 }
38983 _ACEOF
38984 if ac_fn_cxx_try_compile "$LINENO"; then :
38985 glibcxx_cv_func_modfl_use=yes
38986 else
38987 glibcxx_cv_func_modfl_use=no
38988 fi
38989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38990 ac_ext=c
38991 ac_cpp='$CPP $CPPFLAGS'
38992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38995
38996
38997 fi
38998
38999 fi
39000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39001 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39002
39003 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39004 for ac_func in modfl
39005 do :
39006 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39007 if test "x$ac_cv_func_modfl" = x""yes; then :
39008 cat >>confdefs.h <<_ACEOF
39009 #define HAVE_MODFL 1
39010 _ACEOF
39011
39012 fi
39013 done
39014
39015 else
39016
39017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39018 $as_echo_n "checking for _modfl declaration... " >&6; }
39019 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39020 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39021 $as_echo_n "(cached) " >&6
39022 else
39023
39024
39025 ac_ext=cpp
39026 ac_cpp='$CXXCPP $CPPFLAGS'
39027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39030
39031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39032 /* end confdefs.h. */
39033 #include <math.h>
39034 int
39035 main ()
39036 {
39037 _modfl(0, 0);
39038 ;
39039 return 0;
39040 }
39041 _ACEOF
39042 if ac_fn_cxx_try_compile "$LINENO"; then :
39043 glibcxx_cv_func__modfl_use=yes
39044 else
39045 glibcxx_cv_func__modfl_use=no
39046 fi
39047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39048 ac_ext=c
39049 ac_cpp='$CPP $CPPFLAGS'
39050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39053
39054
39055 fi
39056
39057 fi
39058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39059 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39060
39061 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39062 for ac_func in _modfl
39063 do :
39064 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39065 if test "x$ac_cv_func__modfl" = x""yes; then :
39066 cat >>confdefs.h <<_ACEOF
39067 #define HAVE__MODFL 1
39068 _ACEOF
39069
39070 fi
39071 done
39072
39073 fi
39074 fi
39075
39076
39077
39078
39079
39080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39081 $as_echo_n "checking for powl declaration... " >&6; }
39082 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39083 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39084 $as_echo_n "(cached) " >&6
39085 else
39086
39087
39088 ac_ext=cpp
39089 ac_cpp='$CXXCPP $CPPFLAGS'
39090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39093
39094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39095 /* end confdefs.h. */
39096 #include <math.h>
39097 int
39098 main ()
39099 {
39100 powl(0, 0);
39101 ;
39102 return 0;
39103 }
39104 _ACEOF
39105 if ac_fn_cxx_try_compile "$LINENO"; then :
39106 glibcxx_cv_func_powl_use=yes
39107 else
39108 glibcxx_cv_func_powl_use=no
39109 fi
39110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39111 ac_ext=c
39112 ac_cpp='$CPP $CPPFLAGS'
39113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39116
39117
39118 fi
39119
39120 fi
39121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39122 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39123
39124 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39125 for ac_func in powl
39126 do :
39127 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39128 if test "x$ac_cv_func_powl" = x""yes; then :
39129 cat >>confdefs.h <<_ACEOF
39130 #define HAVE_POWL 1
39131 _ACEOF
39132
39133 fi
39134 done
39135
39136 else
39137
39138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39139 $as_echo_n "checking for _powl declaration... " >&6; }
39140 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39141 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39142 $as_echo_n "(cached) " >&6
39143 else
39144
39145
39146 ac_ext=cpp
39147 ac_cpp='$CXXCPP $CPPFLAGS'
39148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39151
39152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39153 /* end confdefs.h. */
39154 #include <math.h>
39155 int
39156 main ()
39157 {
39158 _powl(0, 0);
39159 ;
39160 return 0;
39161 }
39162 _ACEOF
39163 if ac_fn_cxx_try_compile "$LINENO"; then :
39164 glibcxx_cv_func__powl_use=yes
39165 else
39166 glibcxx_cv_func__powl_use=no
39167 fi
39168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39169 ac_ext=c
39170 ac_cpp='$CPP $CPPFLAGS'
39171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39174
39175
39176 fi
39177
39178 fi
39179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39180 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39181
39182 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39183 for ac_func in _powl
39184 do :
39185 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39186 if test "x$ac_cv_func__powl" = x""yes; then :
39187 cat >>confdefs.h <<_ACEOF
39188 #define HAVE__POWL 1
39189 _ACEOF
39190
39191 fi
39192 done
39193
39194 fi
39195 fi
39196
39197
39198
39199
39200
39201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39202 $as_echo_n "checking for sqrtl declaration... " >&6; }
39203 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39204 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39205 $as_echo_n "(cached) " >&6
39206 else
39207
39208
39209 ac_ext=cpp
39210 ac_cpp='$CXXCPP $CPPFLAGS'
39211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39214
39215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39216 /* end confdefs.h. */
39217 #include <math.h>
39218 #ifdef HAVE_IEEEFP_H
39219 #include <ieeefp.h>
39220 #endif
39221
39222 int
39223 main ()
39224 {
39225 sqrtl(0);
39226 ;
39227 return 0;
39228 }
39229 _ACEOF
39230 if ac_fn_cxx_try_compile "$LINENO"; then :
39231 glibcxx_cv_func_sqrtl_use=yes
39232 else
39233 glibcxx_cv_func_sqrtl_use=no
39234 fi
39235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39236 ac_ext=c
39237 ac_cpp='$CPP $CPPFLAGS'
39238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39241
39242
39243 fi
39244
39245 fi
39246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39247 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39248
39249 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39250 for ac_func in sqrtl
39251 do :
39252 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39253 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39254 cat >>confdefs.h <<_ACEOF
39255 #define HAVE_SQRTL 1
39256 _ACEOF
39257
39258 fi
39259 done
39260
39261 else
39262
39263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39264 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39265 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39266 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39267 $as_echo_n "(cached) " >&6
39268 else
39269
39270
39271 ac_ext=cpp
39272 ac_cpp='$CXXCPP $CPPFLAGS'
39273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39276
39277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39278 /* end confdefs.h. */
39279 #include <math.h>
39280 #ifdef HAVE_IEEEFP_H
39281 #include <ieeefp.h>
39282 #endif
39283
39284 int
39285 main ()
39286 {
39287 _sqrtl(0);
39288 ;
39289 return 0;
39290 }
39291 _ACEOF
39292 if ac_fn_cxx_try_compile "$LINENO"; then :
39293 glibcxx_cv_func__sqrtl_use=yes
39294 else
39295 glibcxx_cv_func__sqrtl_use=no
39296 fi
39297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39298 ac_ext=c
39299 ac_cpp='$CPP $CPPFLAGS'
39300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39303
39304
39305 fi
39306
39307 fi
39308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39309 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39310
39311 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39312 for ac_func in _sqrtl
39313 do :
39314 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39315 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39316 cat >>confdefs.h <<_ACEOF
39317 #define HAVE__SQRTL 1
39318 _ACEOF
39319
39320 fi
39321 done
39322
39323 fi
39324 fi
39325
39326
39327
39328
39329
39330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39331 $as_echo_n "checking for sincosl declaration... " >&6; }
39332 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39333 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39334 $as_echo_n "(cached) " >&6
39335 else
39336
39337
39338 ac_ext=cpp
39339 ac_cpp='$CXXCPP $CPPFLAGS'
39340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39343
39344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39345 /* end confdefs.h. */
39346 #include <math.h>
39347 int
39348 main ()
39349 {
39350 sincosl(0, 0, 0);
39351 ;
39352 return 0;
39353 }
39354 _ACEOF
39355 if ac_fn_cxx_try_compile "$LINENO"; then :
39356 glibcxx_cv_func_sincosl_use=yes
39357 else
39358 glibcxx_cv_func_sincosl_use=no
39359 fi
39360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39361 ac_ext=c
39362 ac_cpp='$CPP $CPPFLAGS'
39363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39366
39367
39368 fi
39369
39370 fi
39371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39372 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39373
39374 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39375 for ac_func in sincosl
39376 do :
39377 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39378 if test "x$ac_cv_func_sincosl" = x""yes; then :
39379 cat >>confdefs.h <<_ACEOF
39380 #define HAVE_SINCOSL 1
39381 _ACEOF
39382
39383 fi
39384 done
39385
39386 else
39387
39388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39389 $as_echo_n "checking for _sincosl declaration... " >&6; }
39390 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39391 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39392 $as_echo_n "(cached) " >&6
39393 else
39394
39395
39396 ac_ext=cpp
39397 ac_cpp='$CXXCPP $CPPFLAGS'
39398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39401
39402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39403 /* end confdefs.h. */
39404 #include <math.h>
39405 int
39406 main ()
39407 {
39408 _sincosl(0, 0, 0);
39409 ;
39410 return 0;
39411 }
39412 _ACEOF
39413 if ac_fn_cxx_try_compile "$LINENO"; then :
39414 glibcxx_cv_func__sincosl_use=yes
39415 else
39416 glibcxx_cv_func__sincosl_use=no
39417 fi
39418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39419 ac_ext=c
39420 ac_cpp='$CPP $CPPFLAGS'
39421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39424
39425
39426 fi
39427
39428 fi
39429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39430 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39431
39432 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39433 for ac_func in _sincosl
39434 do :
39435 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39436 if test "x$ac_cv_func__sincosl" = x""yes; then :
39437 cat >>confdefs.h <<_ACEOF
39438 #define HAVE__SINCOSL 1
39439 _ACEOF
39440
39441 fi
39442 done
39443
39444 fi
39445 fi
39446
39447
39448
39449
39450
39451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39452 $as_echo_n "checking for finitel declaration... " >&6; }
39453 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39454 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39455 $as_echo_n "(cached) " >&6
39456 else
39457
39458
39459 ac_ext=cpp
39460 ac_cpp='$CXXCPP $CPPFLAGS'
39461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39464
39465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39466 /* end confdefs.h. */
39467 #include <math.h>
39468 #ifdef HAVE_IEEEFP_H
39469 #include <ieeefp.h>
39470 #endif
39471
39472 int
39473 main ()
39474 {
39475 finitel(0);
39476 ;
39477 return 0;
39478 }
39479 _ACEOF
39480 if ac_fn_cxx_try_compile "$LINENO"; then :
39481 glibcxx_cv_func_finitel_use=yes
39482 else
39483 glibcxx_cv_func_finitel_use=no
39484 fi
39485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39486 ac_ext=c
39487 ac_cpp='$CPP $CPPFLAGS'
39488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39491
39492
39493 fi
39494
39495 fi
39496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39497 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39498
39499 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39500 for ac_func in finitel
39501 do :
39502 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39503 if test "x$ac_cv_func_finitel" = x""yes; then :
39504 cat >>confdefs.h <<_ACEOF
39505 #define HAVE_FINITEL 1
39506 _ACEOF
39507
39508 fi
39509 done
39510
39511 else
39512
39513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39514 $as_echo_n "checking for _finitel declaration... " >&6; }
39515 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39516 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39517 $as_echo_n "(cached) " >&6
39518 else
39519
39520
39521 ac_ext=cpp
39522 ac_cpp='$CXXCPP $CPPFLAGS'
39523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39526
39527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39528 /* end confdefs.h. */
39529 #include <math.h>
39530 #ifdef HAVE_IEEEFP_H
39531 #include <ieeefp.h>
39532 #endif
39533
39534 int
39535 main ()
39536 {
39537 _finitel(0);
39538 ;
39539 return 0;
39540 }
39541 _ACEOF
39542 if ac_fn_cxx_try_compile "$LINENO"; then :
39543 glibcxx_cv_func__finitel_use=yes
39544 else
39545 glibcxx_cv_func__finitel_use=no
39546 fi
39547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39548 ac_ext=c
39549 ac_cpp='$CPP $CPPFLAGS'
39550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39553
39554
39555 fi
39556
39557 fi
39558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39559 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39560
39561 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39562 for ac_func in _finitel
39563 do :
39564 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39565 if test "x$ac_cv_func__finitel" = x""yes; then :
39566 cat >>confdefs.h <<_ACEOF
39567 #define HAVE__FINITEL 1
39568 _ACEOF
39569
39570 fi
39571 done
39572
39573 fi
39574 fi
39575
39576
39577
39578
39579 LIBS="$ac_save_LIBS"
39580 CXXFLAGS="$ac_save_CXXFLAGS"
39581
39582
39583 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39584 ac_save_CXXFLAGS="$CXXFLAGS"
39585 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39586
39587
39588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39589 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39590 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39591 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39592 $as_echo_n "(cached) " >&6
39593 else
39594
39595
39596 ac_ext=cpp
39597 ac_cpp='$CXXCPP $CPPFLAGS'
39598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39601
39602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39603 /* end confdefs.h. */
39604 #include <stdlib.h>
39605 int
39606 main ()
39607 {
39608 at_quick_exit(0);
39609 ;
39610 return 0;
39611 }
39612 _ACEOF
39613 if ac_fn_cxx_try_compile "$LINENO"; then :
39614 glibcxx_cv_func_at_quick_exit_use=yes
39615 else
39616 glibcxx_cv_func_at_quick_exit_use=no
39617 fi
39618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39619 ac_ext=c
39620 ac_cpp='$CPP $CPPFLAGS'
39621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39624
39625
39626 fi
39627
39628 fi
39629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39630 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39631 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39632 for ac_func in at_quick_exit
39633 do :
39634 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39635 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39636 cat >>confdefs.h <<_ACEOF
39637 #define HAVE_AT_QUICK_EXIT 1
39638 _ACEOF
39639
39640 fi
39641 done
39642
39643 fi
39644
39645
39646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39647 $as_echo_n "checking for quick_exit declaration... " >&6; }
39648 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39649 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39650 $as_echo_n "(cached) " >&6
39651 else
39652
39653
39654 ac_ext=cpp
39655 ac_cpp='$CXXCPP $CPPFLAGS'
39656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39659
39660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39661 /* end confdefs.h. */
39662 #include <stdlib.h>
39663 int
39664 main ()
39665 {
39666 quick_exit(0);
39667 ;
39668 return 0;
39669 }
39670 _ACEOF
39671 if ac_fn_cxx_try_compile "$LINENO"; then :
39672 glibcxx_cv_func_quick_exit_use=yes
39673 else
39674 glibcxx_cv_func_quick_exit_use=no
39675 fi
39676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39677 ac_ext=c
39678 ac_cpp='$CPP $CPPFLAGS'
39679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39682
39683
39684 fi
39685
39686 fi
39687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39688 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39689 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39690 for ac_func in quick_exit
39691 do :
39692 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39693 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39694 cat >>confdefs.h <<_ACEOF
39695 #define HAVE_QUICK_EXIT 1
39696 _ACEOF
39697
39698 fi
39699 done
39700
39701 fi
39702
39703
39704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39705 $as_echo_n "checking for strtold declaration... " >&6; }
39706 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39707 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39708 $as_echo_n "(cached) " >&6
39709 else
39710
39711
39712 ac_ext=cpp
39713 ac_cpp='$CXXCPP $CPPFLAGS'
39714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39717
39718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39719 /* end confdefs.h. */
39720 #include <stdlib.h>
39721 int
39722 main ()
39723 {
39724 strtold(0, 0);
39725 ;
39726 return 0;
39727 }
39728 _ACEOF
39729 if ac_fn_cxx_try_compile "$LINENO"; then :
39730 glibcxx_cv_func_strtold_use=yes
39731 else
39732 glibcxx_cv_func_strtold_use=no
39733 fi
39734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39735 ac_ext=c
39736 ac_cpp='$CPP $CPPFLAGS'
39737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39740
39741
39742 fi
39743
39744 fi
39745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39746 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39747 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39748 for ac_func in strtold
39749 do :
39750 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39751 if test "x$ac_cv_func_strtold" = x""yes; then :
39752 cat >>confdefs.h <<_ACEOF
39753 #define HAVE_STRTOLD 1
39754 _ACEOF
39755
39756 fi
39757 done
39758
39759 fi
39760
39761
39762
39763
39764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39765 $as_echo_n "checking for strtof declaration... " >&6; }
39766 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39767 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39768 $as_echo_n "(cached) " >&6
39769 else
39770
39771
39772 ac_ext=cpp
39773 ac_cpp='$CXXCPP $CPPFLAGS'
39774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39777
39778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39779 /* end confdefs.h. */
39780 #include <stdlib.h>
39781 int
39782 main ()
39783 {
39784 strtof(0, 0);
39785 ;
39786 return 0;
39787 }
39788 _ACEOF
39789 if ac_fn_cxx_try_compile "$LINENO"; then :
39790 glibcxx_cv_func_strtof_use=yes
39791 else
39792 glibcxx_cv_func_strtof_use=no
39793 fi
39794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39795 ac_ext=c
39796 ac_cpp='$CPP $CPPFLAGS'
39797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39800
39801
39802 fi
39803
39804 fi
39805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39806 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39807 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39808 for ac_func in strtof
39809 do :
39810 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39811 if test "x$ac_cv_func_strtof" = x""yes; then :
39812 cat >>confdefs.h <<_ACEOF
39813 #define HAVE_STRTOF 1
39814 _ACEOF
39815
39816 fi
39817 done
39818
39819 fi
39820
39821
39822
39823
39824 CXXFLAGS="$ac_save_CXXFLAGS"
39825
39826
39827
39828
39829
39830
39831 am_save_CPPFLAGS="$CPPFLAGS"
39832
39833 for element in $INCICONV; do
39834 haveit=
39835 for x in $CPPFLAGS; do
39836
39837 acl_save_prefix="$prefix"
39838 prefix="$acl_final_prefix"
39839 acl_save_exec_prefix="$exec_prefix"
39840 exec_prefix="$acl_final_exec_prefix"
39841 eval x=\"$x\"
39842 exec_prefix="$acl_save_exec_prefix"
39843 prefix="$acl_save_prefix"
39844
39845 if test "X$x" = "X$element"; then
39846 haveit=yes
39847 break
39848 fi
39849 done
39850 if test -z "$haveit"; then
39851 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39852 fi
39853 done
39854
39855
39856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39857 $as_echo_n "checking for iconv... " >&6; }
39858 if test "${am_cv_func_iconv+set}" = set; then :
39859 $as_echo_n "(cached) " >&6
39860 else
39861
39862 am_cv_func_iconv="no, consider installing GNU libiconv"
39863 am_cv_lib_iconv=no
39864 if test x$gcc_no_link = xyes; then
39865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39866 fi
39867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39868 /* end confdefs.h. */
39869 #include <stdlib.h>
39870 #include <iconv.h>
39871 int
39872 main ()
39873 {
39874 iconv_t cd = iconv_open("","");
39875 iconv(cd,NULL,NULL,NULL,NULL);
39876 iconv_close(cd);
39877 ;
39878 return 0;
39879 }
39880 _ACEOF
39881 if ac_fn_c_try_link "$LINENO"; then :
39882 am_cv_func_iconv=yes
39883 fi
39884 rm -f core conftest.err conftest.$ac_objext \
39885 conftest$ac_exeext conftest.$ac_ext
39886 if test "$am_cv_func_iconv" != yes; then
39887 am_save_LIBS="$LIBS"
39888 LIBS="$LIBS $LIBICONV"
39889 if test x$gcc_no_link = xyes; then
39890 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39891 fi
39892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39893 /* end confdefs.h. */
39894 #include <stdlib.h>
39895 #include <iconv.h>
39896 int
39897 main ()
39898 {
39899 iconv_t cd = iconv_open("","");
39900 iconv(cd,NULL,NULL,NULL,NULL);
39901 iconv_close(cd);
39902 ;
39903 return 0;
39904 }
39905 _ACEOF
39906 if ac_fn_c_try_link "$LINENO"; then :
39907 am_cv_lib_iconv=yes
39908 am_cv_func_iconv=yes
39909 fi
39910 rm -f core conftest.err conftest.$ac_objext \
39911 conftest$ac_exeext conftest.$ac_ext
39912 LIBS="$am_save_LIBS"
39913 fi
39914
39915 fi
39916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39917 $as_echo "$am_cv_func_iconv" >&6; }
39918 if test "$am_cv_func_iconv" = yes; then
39919
39920 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39921
39922 fi
39923 if test "$am_cv_lib_iconv" = yes; then
39924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39925 $as_echo_n "checking how to link with libiconv... " >&6; }
39926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39927 $as_echo "$LIBICONV" >&6; }
39928 else
39929 CPPFLAGS="$am_save_CPPFLAGS"
39930 LIBICONV=
39931 LTLIBICONV=
39932 fi
39933
39934
39935
39936 if test "$am_cv_func_iconv" = yes; then
39937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39938 $as_echo_n "checking for iconv declaration... " >&6; }
39939 if test "${am_cv_proto_iconv+set}" = set; then :
39940 $as_echo_n "(cached) " >&6
39941 else
39942
39943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39944 /* end confdefs.h. */
39945
39946 #include <stdlib.h>
39947 #include <iconv.h>
39948 extern
39949 #ifdef __cplusplus
39950 "C"
39951 #endif
39952 #if defined(__STDC__) || defined(__cplusplus)
39953 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39954 #else
39955 size_t iconv();
39956 #endif
39957
39958 int
39959 main ()
39960 {
39961
39962 ;
39963 return 0;
39964 }
39965 _ACEOF
39966 if ac_fn_c_try_compile "$LINENO"; then :
39967 am_cv_proto_iconv_arg1=""
39968 else
39969 am_cv_proto_iconv_arg1="const"
39970 fi
39971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39972 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);"
39973 fi
39974
39975 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39977 }$am_cv_proto_iconv" >&5
39978 $as_echo "${ac_t:-
39979 }$am_cv_proto_iconv" >&6; }
39980
39981 cat >>confdefs.h <<_ACEOF
39982 #define ICONV_CONST $am_cv_proto_iconv_arg1
39983 _ACEOF
39984
39985 fi
39986
39987 ;;
39988
39989 *-aix*)
39990
39991 # If we're not using GNU ld, then there's no point in even trying these
39992 # tests. Check for that first. We should have already tested for gld
39993 # by now (in libtool), but require it now just to be safe...
39994 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
39995 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
39996
39997
39998
39999 # The name set by libtool depends on the version of libtool. Shame on us
40000 # for depending on an impl detail, but c'est la vie. Older versions used
40001 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40002 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40003 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40004 # set (hence we're using an older libtool), then set it.
40005 if test x${with_gnu_ld+set} != xset; then
40006 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40007 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40008 with_gnu_ld=no
40009 else
40010 with_gnu_ld=$ac_cv_prog_gnu_ld
40011 fi
40012 fi
40013
40014 # Start by getting the version number. I think the libtool test already
40015 # does some of this, but throws away the result.
40016 glibcxx_ld_is_gold=no
40017 if test x"$with_gnu_ld" = x"yes"; then
40018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40019 $as_echo_n "checking for ld version... " >&6; }
40020
40021 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40022 glibcxx_ld_is_gold=yes
40023 fi
40024 ldver=`$LD --version 2>/dev/null |
40025 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'`
40026
40027 glibcxx_gnu_ld_version=`echo $ldver | \
40028 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40030 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40031 fi
40032
40033 # Set --gc-sections.
40034 glibcxx_have_gc_sections=no
40035 if test "$glibcxx_ld_is_gold" = "yes"; then
40036 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40037 glibcxx_have_gc_sections=yes
40038 fi
40039 else
40040 glibcxx_gcsections_min_ld=21602
40041 if test x"$with_gnu_ld" = x"yes" &&
40042 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40043 glibcxx_have_gc_sections=yes
40044 fi
40045 fi
40046 if test "$glibcxx_have_gc_sections" = "yes"; then
40047 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40048 # NB: This flag only works reliably after 2.16.1. Configure tests
40049 # for this are difficult, so hard wire a value that should work.
40050
40051 ac_test_CFLAGS="${CFLAGS+set}"
40052 ac_save_CFLAGS="$CFLAGS"
40053 CFLAGS='-Wl,--gc-sections'
40054
40055 # Check for -Wl,--gc-sections
40056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40057 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40058 if test x$gcc_no_link = xyes; then
40059 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40060 fi
40061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40062 /* end confdefs.h. */
40063 int one(void) { return 1; }
40064 int two(void) { return 2; }
40065
40066 int
40067 main ()
40068 {
40069 two();
40070 ;
40071 return 0;
40072 }
40073 _ACEOF
40074 if ac_fn_c_try_link "$LINENO"; then :
40075 ac_gcsections=yes
40076 else
40077 ac_gcsections=no
40078 fi
40079 rm -f core conftest.err conftest.$ac_objext \
40080 conftest$ac_exeext conftest.$ac_ext
40081 if test "$ac_gcsections" = "yes"; then
40082 rm -f conftest.c
40083 touch conftest.c
40084 if $CC -c conftest.c; then
40085 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40086 grep "Warning: gc-sections option ignored" > /dev/null; then
40087 ac_gcsections=no
40088 fi
40089 fi
40090 rm -f conftest.c conftest.o conftest
40091 fi
40092 if test "$ac_gcsections" = "yes"; then
40093 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40094 fi
40095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40096 $as_echo "$ac_gcsections" >&6; }
40097
40098 if test "$ac_test_CFLAGS" = set; then
40099 CFLAGS="$ac_save_CFLAGS"
40100 else
40101 # this is the suspicious part
40102 CFLAGS=''
40103 fi
40104 fi
40105
40106 # Set -z,relro.
40107 # Note this is only for shared objects.
40108 ac_ld_relro=no
40109 if test x"$with_gnu_ld" = x"yes"; then
40110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40111 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40112 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40113 if test -n "$cxx_z_relo"; then
40114 OPT_LDFLAGS="-Wl,-z,relro"
40115 ac_ld_relro=yes
40116 fi
40117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40118 $as_echo "$ac_ld_relro" >&6; }
40119 fi
40120
40121 # Set linker optimization flags.
40122 if test x"$with_gnu_ld" = x"yes"; then
40123 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40124 fi
40125
40126
40127
40128
40129
40130 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40131 ac_save_CXXFLAGS="$CXXFLAGS"
40132 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40133
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40135 $as_echo_n "checking for sin in -lm... " >&6; }
40136 if test "${ac_cv_lib_m_sin+set}" = set; then :
40137 $as_echo_n "(cached) " >&6
40138 else
40139 ac_check_lib_save_LIBS=$LIBS
40140 LIBS="-lm $LIBS"
40141 if test x$gcc_no_link = xyes; then
40142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40143 fi
40144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40145 /* end confdefs.h. */
40146
40147 /* Override any GCC internal prototype to avoid an error.
40148 Use char because int might match the return type of a GCC
40149 builtin and then its argument prototype would still apply. */
40150 #ifdef __cplusplus
40151 extern "C"
40152 #endif
40153 char sin ();
40154 int
40155 main ()
40156 {
40157 return sin ();
40158 ;
40159 return 0;
40160 }
40161 _ACEOF
40162 if ac_fn_c_try_link "$LINENO"; then :
40163 ac_cv_lib_m_sin=yes
40164 else
40165 ac_cv_lib_m_sin=no
40166 fi
40167 rm -f core conftest.err conftest.$ac_objext \
40168 conftest$ac_exeext conftest.$ac_ext
40169 LIBS=$ac_check_lib_save_LIBS
40170 fi
40171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40172 $as_echo "$ac_cv_lib_m_sin" >&6; }
40173 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40174 libm="-lm"
40175 fi
40176
40177 ac_save_LIBS="$LIBS"
40178 LIBS="$LIBS $libm"
40179
40180
40181
40182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40183 $as_echo_n "checking for isinf declaration... " >&6; }
40184 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40185 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40186 $as_echo_n "(cached) " >&6
40187 else
40188
40189
40190 ac_ext=cpp
40191 ac_cpp='$CXXCPP $CPPFLAGS'
40192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40195
40196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40197 /* end confdefs.h. */
40198 #include <math.h>
40199 #ifdef HAVE_IEEEFP_H
40200 #include <ieeefp.h>
40201 #endif
40202
40203 int
40204 main ()
40205 {
40206 isinf(0);
40207 ;
40208 return 0;
40209 }
40210 _ACEOF
40211 if ac_fn_cxx_try_compile "$LINENO"; then :
40212 glibcxx_cv_func_isinf_use=yes
40213 else
40214 glibcxx_cv_func_isinf_use=no
40215 fi
40216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40217 ac_ext=c
40218 ac_cpp='$CPP $CPPFLAGS'
40219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40222
40223
40224 fi
40225
40226 fi
40227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40228 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40229
40230 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40231 for ac_func in isinf
40232 do :
40233 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40234 if test "x$ac_cv_func_isinf" = x""yes; then :
40235 cat >>confdefs.h <<_ACEOF
40236 #define HAVE_ISINF 1
40237 _ACEOF
40238
40239 fi
40240 done
40241
40242 else
40243
40244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40245 $as_echo_n "checking for _isinf declaration... " >&6; }
40246 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40247 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40248 $as_echo_n "(cached) " >&6
40249 else
40250
40251
40252 ac_ext=cpp
40253 ac_cpp='$CXXCPP $CPPFLAGS'
40254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40257
40258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40259 /* end confdefs.h. */
40260 #include <math.h>
40261 #ifdef HAVE_IEEEFP_H
40262 #include <ieeefp.h>
40263 #endif
40264
40265 int
40266 main ()
40267 {
40268 _isinf(0);
40269 ;
40270 return 0;
40271 }
40272 _ACEOF
40273 if ac_fn_cxx_try_compile "$LINENO"; then :
40274 glibcxx_cv_func__isinf_use=yes
40275 else
40276 glibcxx_cv_func__isinf_use=no
40277 fi
40278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40279 ac_ext=c
40280 ac_cpp='$CPP $CPPFLAGS'
40281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40284
40285
40286 fi
40287
40288 fi
40289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40290 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40291
40292 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40293 for ac_func in _isinf
40294 do :
40295 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40296 if test "x$ac_cv_func__isinf" = x""yes; then :
40297 cat >>confdefs.h <<_ACEOF
40298 #define HAVE__ISINF 1
40299 _ACEOF
40300
40301 fi
40302 done
40303
40304 fi
40305 fi
40306
40307
40308
40309
40310
40311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40312 $as_echo_n "checking for isnan declaration... " >&6; }
40313 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40314 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40315 $as_echo_n "(cached) " >&6
40316 else
40317
40318
40319 ac_ext=cpp
40320 ac_cpp='$CXXCPP $CPPFLAGS'
40321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40324
40325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40326 /* end confdefs.h. */
40327 #include <math.h>
40328 #ifdef HAVE_IEEEFP_H
40329 #include <ieeefp.h>
40330 #endif
40331
40332 int
40333 main ()
40334 {
40335 isnan(0);
40336 ;
40337 return 0;
40338 }
40339 _ACEOF
40340 if ac_fn_cxx_try_compile "$LINENO"; then :
40341 glibcxx_cv_func_isnan_use=yes
40342 else
40343 glibcxx_cv_func_isnan_use=no
40344 fi
40345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40346 ac_ext=c
40347 ac_cpp='$CPP $CPPFLAGS'
40348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40351
40352
40353 fi
40354
40355 fi
40356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40357 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40358
40359 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40360 for ac_func in isnan
40361 do :
40362 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40363 if test "x$ac_cv_func_isnan" = x""yes; then :
40364 cat >>confdefs.h <<_ACEOF
40365 #define HAVE_ISNAN 1
40366 _ACEOF
40367
40368 fi
40369 done
40370
40371 else
40372
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40374 $as_echo_n "checking for _isnan declaration... " >&6; }
40375 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40376 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40377 $as_echo_n "(cached) " >&6
40378 else
40379
40380
40381 ac_ext=cpp
40382 ac_cpp='$CXXCPP $CPPFLAGS'
40383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40386
40387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40388 /* end confdefs.h. */
40389 #include <math.h>
40390 #ifdef HAVE_IEEEFP_H
40391 #include <ieeefp.h>
40392 #endif
40393
40394 int
40395 main ()
40396 {
40397 _isnan(0);
40398 ;
40399 return 0;
40400 }
40401 _ACEOF
40402 if ac_fn_cxx_try_compile "$LINENO"; then :
40403 glibcxx_cv_func__isnan_use=yes
40404 else
40405 glibcxx_cv_func__isnan_use=no
40406 fi
40407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40408 ac_ext=c
40409 ac_cpp='$CPP $CPPFLAGS'
40410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40413
40414
40415 fi
40416
40417 fi
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40419 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40420
40421 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40422 for ac_func in _isnan
40423 do :
40424 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40425 if test "x$ac_cv_func__isnan" = x""yes; then :
40426 cat >>confdefs.h <<_ACEOF
40427 #define HAVE__ISNAN 1
40428 _ACEOF
40429
40430 fi
40431 done
40432
40433 fi
40434 fi
40435
40436
40437
40438
40439
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40441 $as_echo_n "checking for finite declaration... " >&6; }
40442 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40443 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40444 $as_echo_n "(cached) " >&6
40445 else
40446
40447
40448 ac_ext=cpp
40449 ac_cpp='$CXXCPP $CPPFLAGS'
40450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40453
40454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40455 /* end confdefs.h. */
40456 #include <math.h>
40457 #ifdef HAVE_IEEEFP_H
40458 #include <ieeefp.h>
40459 #endif
40460
40461 int
40462 main ()
40463 {
40464 finite(0);
40465 ;
40466 return 0;
40467 }
40468 _ACEOF
40469 if ac_fn_cxx_try_compile "$LINENO"; then :
40470 glibcxx_cv_func_finite_use=yes
40471 else
40472 glibcxx_cv_func_finite_use=no
40473 fi
40474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40475 ac_ext=c
40476 ac_cpp='$CPP $CPPFLAGS'
40477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40480
40481
40482 fi
40483
40484 fi
40485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40486 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40487
40488 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40489 for ac_func in finite
40490 do :
40491 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40492 if test "x$ac_cv_func_finite" = x""yes; then :
40493 cat >>confdefs.h <<_ACEOF
40494 #define HAVE_FINITE 1
40495 _ACEOF
40496
40497 fi
40498 done
40499
40500 else
40501
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40503 $as_echo_n "checking for _finite declaration... " >&6; }
40504 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40505 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40506 $as_echo_n "(cached) " >&6
40507 else
40508
40509
40510 ac_ext=cpp
40511 ac_cpp='$CXXCPP $CPPFLAGS'
40512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40515
40516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40517 /* end confdefs.h. */
40518 #include <math.h>
40519 #ifdef HAVE_IEEEFP_H
40520 #include <ieeefp.h>
40521 #endif
40522
40523 int
40524 main ()
40525 {
40526 _finite(0);
40527 ;
40528 return 0;
40529 }
40530 _ACEOF
40531 if ac_fn_cxx_try_compile "$LINENO"; then :
40532 glibcxx_cv_func__finite_use=yes
40533 else
40534 glibcxx_cv_func__finite_use=no
40535 fi
40536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40537 ac_ext=c
40538 ac_cpp='$CPP $CPPFLAGS'
40539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40542
40543
40544 fi
40545
40546 fi
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40548 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40549
40550 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40551 for ac_func in _finite
40552 do :
40553 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40554 if test "x$ac_cv_func__finite" = x""yes; then :
40555 cat >>confdefs.h <<_ACEOF
40556 #define HAVE__FINITE 1
40557 _ACEOF
40558
40559 fi
40560 done
40561
40562 fi
40563 fi
40564
40565
40566
40567
40568
40569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40570 $as_echo_n "checking for sincos declaration... " >&6; }
40571 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40572 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40573 $as_echo_n "(cached) " >&6
40574 else
40575
40576
40577 ac_ext=cpp
40578 ac_cpp='$CXXCPP $CPPFLAGS'
40579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40582
40583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40584 /* end confdefs.h. */
40585 #include <math.h>
40586 int
40587 main ()
40588 {
40589 sincos(0, 0, 0);
40590 ;
40591 return 0;
40592 }
40593 _ACEOF
40594 if ac_fn_cxx_try_compile "$LINENO"; then :
40595 glibcxx_cv_func_sincos_use=yes
40596 else
40597 glibcxx_cv_func_sincos_use=no
40598 fi
40599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40600 ac_ext=c
40601 ac_cpp='$CPP $CPPFLAGS'
40602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40605
40606
40607 fi
40608
40609 fi
40610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40611 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40612
40613 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40614 for ac_func in sincos
40615 do :
40616 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40617 if test "x$ac_cv_func_sincos" = x""yes; then :
40618 cat >>confdefs.h <<_ACEOF
40619 #define HAVE_SINCOS 1
40620 _ACEOF
40621
40622 fi
40623 done
40624
40625 else
40626
40627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40628 $as_echo_n "checking for _sincos declaration... " >&6; }
40629 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40630 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40631 $as_echo_n "(cached) " >&6
40632 else
40633
40634
40635 ac_ext=cpp
40636 ac_cpp='$CXXCPP $CPPFLAGS'
40637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40640
40641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40642 /* end confdefs.h. */
40643 #include <math.h>
40644 int
40645 main ()
40646 {
40647 _sincos(0, 0, 0);
40648 ;
40649 return 0;
40650 }
40651 _ACEOF
40652 if ac_fn_cxx_try_compile "$LINENO"; then :
40653 glibcxx_cv_func__sincos_use=yes
40654 else
40655 glibcxx_cv_func__sincos_use=no
40656 fi
40657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40658 ac_ext=c
40659 ac_cpp='$CPP $CPPFLAGS'
40660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40663
40664
40665 fi
40666
40667 fi
40668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40669 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40670
40671 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40672 for ac_func in _sincos
40673 do :
40674 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40675 if test "x$ac_cv_func__sincos" = x""yes; then :
40676 cat >>confdefs.h <<_ACEOF
40677 #define HAVE__SINCOS 1
40678 _ACEOF
40679
40680 fi
40681 done
40682
40683 fi
40684 fi
40685
40686
40687
40688
40689
40690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40691 $as_echo_n "checking for fpclass declaration... " >&6; }
40692 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40693 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40694 $as_echo_n "(cached) " >&6
40695 else
40696
40697
40698 ac_ext=cpp
40699 ac_cpp='$CXXCPP $CPPFLAGS'
40700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40703
40704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40705 /* end confdefs.h. */
40706 #include <math.h>
40707 #ifdef HAVE_IEEEFP_H
40708 #include <ieeefp.h>
40709 #endif
40710
40711 int
40712 main ()
40713 {
40714 fpclass(0);
40715 ;
40716 return 0;
40717 }
40718 _ACEOF
40719 if ac_fn_cxx_try_compile "$LINENO"; then :
40720 glibcxx_cv_func_fpclass_use=yes
40721 else
40722 glibcxx_cv_func_fpclass_use=no
40723 fi
40724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40725 ac_ext=c
40726 ac_cpp='$CPP $CPPFLAGS'
40727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40730
40731
40732 fi
40733
40734 fi
40735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40736 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40737
40738 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40739 for ac_func in fpclass
40740 do :
40741 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40742 if test "x$ac_cv_func_fpclass" = x""yes; then :
40743 cat >>confdefs.h <<_ACEOF
40744 #define HAVE_FPCLASS 1
40745 _ACEOF
40746
40747 fi
40748 done
40749
40750 else
40751
40752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40753 $as_echo_n "checking for _fpclass declaration... " >&6; }
40754 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40755 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40756 $as_echo_n "(cached) " >&6
40757 else
40758
40759
40760 ac_ext=cpp
40761 ac_cpp='$CXXCPP $CPPFLAGS'
40762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40765
40766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40767 /* end confdefs.h. */
40768 #include <math.h>
40769 #ifdef HAVE_IEEEFP_H
40770 #include <ieeefp.h>
40771 #endif
40772
40773 int
40774 main ()
40775 {
40776 _fpclass(0);
40777 ;
40778 return 0;
40779 }
40780 _ACEOF
40781 if ac_fn_cxx_try_compile "$LINENO"; then :
40782 glibcxx_cv_func__fpclass_use=yes
40783 else
40784 glibcxx_cv_func__fpclass_use=no
40785 fi
40786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40787 ac_ext=c
40788 ac_cpp='$CPP $CPPFLAGS'
40789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40792
40793
40794 fi
40795
40796 fi
40797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40798 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40799
40800 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40801 for ac_func in _fpclass
40802 do :
40803 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40804 if test "x$ac_cv_func__fpclass" = x""yes; then :
40805 cat >>confdefs.h <<_ACEOF
40806 #define HAVE__FPCLASS 1
40807 _ACEOF
40808
40809 fi
40810 done
40811
40812 fi
40813 fi
40814
40815
40816
40817
40818
40819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40820 $as_echo_n "checking for qfpclass declaration... " >&6; }
40821 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40822 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40823 $as_echo_n "(cached) " >&6
40824 else
40825
40826
40827 ac_ext=cpp
40828 ac_cpp='$CXXCPP $CPPFLAGS'
40829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40832
40833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40834 /* end confdefs.h. */
40835 #include <math.h>
40836 #ifdef HAVE_IEEEFP_H
40837 #include <ieeefp.h>
40838 #endif
40839
40840 int
40841 main ()
40842 {
40843 qfpclass(0);
40844 ;
40845 return 0;
40846 }
40847 _ACEOF
40848 if ac_fn_cxx_try_compile "$LINENO"; then :
40849 glibcxx_cv_func_qfpclass_use=yes
40850 else
40851 glibcxx_cv_func_qfpclass_use=no
40852 fi
40853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40854 ac_ext=c
40855 ac_cpp='$CPP $CPPFLAGS'
40856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40859
40860
40861 fi
40862
40863 fi
40864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40865 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40866
40867 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40868 for ac_func in qfpclass
40869 do :
40870 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40871 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40872 cat >>confdefs.h <<_ACEOF
40873 #define HAVE_QFPCLASS 1
40874 _ACEOF
40875
40876 fi
40877 done
40878
40879 else
40880
40881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40882 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40883 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40884 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40885 $as_echo_n "(cached) " >&6
40886 else
40887
40888
40889 ac_ext=cpp
40890 ac_cpp='$CXXCPP $CPPFLAGS'
40891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40894
40895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40896 /* end confdefs.h. */
40897 #include <math.h>
40898 #ifdef HAVE_IEEEFP_H
40899 #include <ieeefp.h>
40900 #endif
40901
40902 int
40903 main ()
40904 {
40905 _qfpclass(0);
40906 ;
40907 return 0;
40908 }
40909 _ACEOF
40910 if ac_fn_cxx_try_compile "$LINENO"; then :
40911 glibcxx_cv_func__qfpclass_use=yes
40912 else
40913 glibcxx_cv_func__qfpclass_use=no
40914 fi
40915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40916 ac_ext=c
40917 ac_cpp='$CPP $CPPFLAGS'
40918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40921
40922
40923 fi
40924
40925 fi
40926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40927 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40928
40929 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40930 for ac_func in _qfpclass
40931 do :
40932 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40933 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40934 cat >>confdefs.h <<_ACEOF
40935 #define HAVE__QFPCLASS 1
40936 _ACEOF
40937
40938 fi
40939 done
40940
40941 fi
40942 fi
40943
40944
40945
40946
40947
40948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40949 $as_echo_n "checking for hypot declaration... " >&6; }
40950 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40951 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40952 $as_echo_n "(cached) " >&6
40953 else
40954
40955
40956 ac_ext=cpp
40957 ac_cpp='$CXXCPP $CPPFLAGS'
40958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40961
40962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40963 /* end confdefs.h. */
40964 #include <math.h>
40965 int
40966 main ()
40967 {
40968 hypot(0, 0);
40969 ;
40970 return 0;
40971 }
40972 _ACEOF
40973 if ac_fn_cxx_try_compile "$LINENO"; then :
40974 glibcxx_cv_func_hypot_use=yes
40975 else
40976 glibcxx_cv_func_hypot_use=no
40977 fi
40978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40979 ac_ext=c
40980 ac_cpp='$CPP $CPPFLAGS'
40981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40984
40985
40986 fi
40987
40988 fi
40989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40990 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40991
40992 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40993 for ac_func in hypot
40994 do :
40995 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40996 if test "x$ac_cv_func_hypot" = x""yes; then :
40997 cat >>confdefs.h <<_ACEOF
40998 #define HAVE_HYPOT 1
40999 _ACEOF
41000
41001 fi
41002 done
41003
41004 else
41005
41006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41007 $as_echo_n "checking for _hypot declaration... " >&6; }
41008 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41009 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41010 $as_echo_n "(cached) " >&6
41011 else
41012
41013
41014 ac_ext=cpp
41015 ac_cpp='$CXXCPP $CPPFLAGS'
41016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41019
41020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41021 /* end confdefs.h. */
41022 #include <math.h>
41023 int
41024 main ()
41025 {
41026 _hypot(0, 0);
41027 ;
41028 return 0;
41029 }
41030 _ACEOF
41031 if ac_fn_cxx_try_compile "$LINENO"; then :
41032 glibcxx_cv_func__hypot_use=yes
41033 else
41034 glibcxx_cv_func__hypot_use=no
41035 fi
41036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41037 ac_ext=c
41038 ac_cpp='$CPP $CPPFLAGS'
41039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41042
41043
41044 fi
41045
41046 fi
41047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41048 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41049
41050 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41051 for ac_func in _hypot
41052 do :
41053 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41054 if test "x$ac_cv_func__hypot" = x""yes; then :
41055 cat >>confdefs.h <<_ACEOF
41056 #define HAVE__HYPOT 1
41057 _ACEOF
41058
41059 fi
41060 done
41061
41062 fi
41063 fi
41064
41065
41066
41067
41068
41069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41070 $as_echo_n "checking for float trig functions... " >&6; }
41071 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41072 $as_echo_n "(cached) " >&6
41073 else
41074
41075
41076 ac_ext=cpp
41077 ac_cpp='$CXXCPP $CPPFLAGS'
41078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41081
41082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41083 /* end confdefs.h. */
41084 #include <math.h>
41085 int
41086 main ()
41087 {
41088 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41089 ;
41090 return 0;
41091 }
41092 _ACEOF
41093 if ac_fn_cxx_try_compile "$LINENO"; then :
41094 glibcxx_cv_func_float_trig_use=yes
41095 else
41096 glibcxx_cv_func_float_trig_use=no
41097 fi
41098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41099 ac_ext=c
41100 ac_cpp='$CPP $CPPFLAGS'
41101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41104
41105 fi
41106
41107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41108 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41109 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41110 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41111 do :
41112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41114 eval as_val=\$$as_ac_var
41115 if test "x$as_val" = x""yes; then :
41116 cat >>confdefs.h <<_ACEOF
41117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41118 _ACEOF
41119
41120 fi
41121 done
41122
41123 else
41124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41125 $as_echo_n "checking for _float trig functions... " >&6; }
41126 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41127 $as_echo_n "(cached) " >&6
41128 else
41129
41130
41131 ac_ext=cpp
41132 ac_cpp='$CXXCPP $CPPFLAGS'
41133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41136
41137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41138 /* end confdefs.h. */
41139 #include <math.h>
41140 int
41141 main ()
41142 {
41143 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41144 ;
41145 return 0;
41146 }
41147 _ACEOF
41148 if ac_fn_cxx_try_compile "$LINENO"; then :
41149 glibcxx_cv_func__float_trig_use=yes
41150 else
41151 glibcxx_cv_func__float_trig_use=no
41152 fi
41153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41154 ac_ext=c
41155 ac_cpp='$CPP $CPPFLAGS'
41156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41159
41160 fi
41161
41162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41163 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41164 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41165 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41166 do :
41167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41169 eval as_val=\$$as_ac_var
41170 if test "x$as_val" = x""yes; then :
41171 cat >>confdefs.h <<_ACEOF
41172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41173 _ACEOF
41174
41175 fi
41176 done
41177
41178 fi
41179 fi
41180
41181
41182
41183
41184
41185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41186 $as_echo_n "checking for float round functions... " >&6; }
41187 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41188 $as_echo_n "(cached) " >&6
41189 else
41190
41191
41192 ac_ext=cpp
41193 ac_cpp='$CXXCPP $CPPFLAGS'
41194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41197
41198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41199 /* end confdefs.h. */
41200 #include <math.h>
41201 int
41202 main ()
41203 {
41204 ceilf (0); floorf (0);
41205 ;
41206 return 0;
41207 }
41208 _ACEOF
41209 if ac_fn_cxx_try_compile "$LINENO"; then :
41210 glibcxx_cv_func_float_round_use=yes
41211 else
41212 glibcxx_cv_func_float_round_use=no
41213 fi
41214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41215 ac_ext=c
41216 ac_cpp='$CPP $CPPFLAGS'
41217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41220
41221 fi
41222
41223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41224 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41225 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41226 for ac_func in ceilf floorf
41227 do :
41228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41229 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41230 eval as_val=\$$as_ac_var
41231 if test "x$as_val" = x""yes; then :
41232 cat >>confdefs.h <<_ACEOF
41233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41234 _ACEOF
41235
41236 fi
41237 done
41238
41239 else
41240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41241 $as_echo_n "checking for _float round functions... " >&6; }
41242 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41243 $as_echo_n "(cached) " >&6
41244 else
41245
41246
41247 ac_ext=cpp
41248 ac_cpp='$CXXCPP $CPPFLAGS'
41249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41252
41253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41254 /* end confdefs.h. */
41255 #include <math.h>
41256 int
41257 main ()
41258 {
41259 _ceilf (0); _floorf (0);
41260 ;
41261 return 0;
41262 }
41263 _ACEOF
41264 if ac_fn_cxx_try_compile "$LINENO"; then :
41265 glibcxx_cv_func__float_round_use=yes
41266 else
41267 glibcxx_cv_func__float_round_use=no
41268 fi
41269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41270 ac_ext=c
41271 ac_cpp='$CPP $CPPFLAGS'
41272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41275
41276 fi
41277
41278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41279 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41280 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41281 for ac_func in _ceilf _floorf
41282 do :
41283 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41285 eval as_val=\$$as_ac_var
41286 if test "x$as_val" = x""yes; then :
41287 cat >>confdefs.h <<_ACEOF
41288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41289 _ACEOF
41290
41291 fi
41292 done
41293
41294 fi
41295 fi
41296
41297
41298
41299
41300
41301
41302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41303 $as_echo_n "checking for expf declaration... " >&6; }
41304 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41305 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41306 $as_echo_n "(cached) " >&6
41307 else
41308
41309
41310 ac_ext=cpp
41311 ac_cpp='$CXXCPP $CPPFLAGS'
41312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41315
41316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41317 /* end confdefs.h. */
41318 #include <math.h>
41319 #ifdef HAVE_IEEEFP_H
41320 #include <ieeefp.h>
41321 #endif
41322
41323 int
41324 main ()
41325 {
41326 expf(0);
41327 ;
41328 return 0;
41329 }
41330 _ACEOF
41331 if ac_fn_cxx_try_compile "$LINENO"; then :
41332 glibcxx_cv_func_expf_use=yes
41333 else
41334 glibcxx_cv_func_expf_use=no
41335 fi
41336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41337 ac_ext=c
41338 ac_cpp='$CPP $CPPFLAGS'
41339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41342
41343
41344 fi
41345
41346 fi
41347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41348 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41349
41350 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41351 for ac_func in expf
41352 do :
41353 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41354 if test "x$ac_cv_func_expf" = x""yes; then :
41355 cat >>confdefs.h <<_ACEOF
41356 #define HAVE_EXPF 1
41357 _ACEOF
41358
41359 fi
41360 done
41361
41362 else
41363
41364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41365 $as_echo_n "checking for _expf declaration... " >&6; }
41366 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41367 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41368 $as_echo_n "(cached) " >&6
41369 else
41370
41371
41372 ac_ext=cpp
41373 ac_cpp='$CXXCPP $CPPFLAGS'
41374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41377
41378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41379 /* end confdefs.h. */
41380 #include <math.h>
41381 #ifdef HAVE_IEEEFP_H
41382 #include <ieeefp.h>
41383 #endif
41384
41385 int
41386 main ()
41387 {
41388 _expf(0);
41389 ;
41390 return 0;
41391 }
41392 _ACEOF
41393 if ac_fn_cxx_try_compile "$LINENO"; then :
41394 glibcxx_cv_func__expf_use=yes
41395 else
41396 glibcxx_cv_func__expf_use=no
41397 fi
41398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41399 ac_ext=c
41400 ac_cpp='$CPP $CPPFLAGS'
41401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41404
41405
41406 fi
41407
41408 fi
41409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41410 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41411
41412 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41413 for ac_func in _expf
41414 do :
41415 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41416 if test "x$ac_cv_func__expf" = x""yes; then :
41417 cat >>confdefs.h <<_ACEOF
41418 #define HAVE__EXPF 1
41419 _ACEOF
41420
41421 fi
41422 done
41423
41424 fi
41425 fi
41426
41427
41428
41429
41430
41431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41432 $as_echo_n "checking for isnanf declaration... " >&6; }
41433 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41434 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41435 $as_echo_n "(cached) " >&6
41436 else
41437
41438
41439 ac_ext=cpp
41440 ac_cpp='$CXXCPP $CPPFLAGS'
41441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41444
41445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41446 /* end confdefs.h. */
41447 #include <math.h>
41448 #ifdef HAVE_IEEEFP_H
41449 #include <ieeefp.h>
41450 #endif
41451
41452 int
41453 main ()
41454 {
41455 isnanf(0);
41456 ;
41457 return 0;
41458 }
41459 _ACEOF
41460 if ac_fn_cxx_try_compile "$LINENO"; then :
41461 glibcxx_cv_func_isnanf_use=yes
41462 else
41463 glibcxx_cv_func_isnanf_use=no
41464 fi
41465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41466 ac_ext=c
41467 ac_cpp='$CPP $CPPFLAGS'
41468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41471
41472
41473 fi
41474
41475 fi
41476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41477 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41478
41479 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41480 for ac_func in isnanf
41481 do :
41482 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41483 if test "x$ac_cv_func_isnanf" = x""yes; then :
41484 cat >>confdefs.h <<_ACEOF
41485 #define HAVE_ISNANF 1
41486 _ACEOF
41487
41488 fi
41489 done
41490
41491 else
41492
41493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41494 $as_echo_n "checking for _isnanf declaration... " >&6; }
41495 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41496 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41497 $as_echo_n "(cached) " >&6
41498 else
41499
41500
41501 ac_ext=cpp
41502 ac_cpp='$CXXCPP $CPPFLAGS'
41503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41506
41507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41508 /* end confdefs.h. */
41509 #include <math.h>
41510 #ifdef HAVE_IEEEFP_H
41511 #include <ieeefp.h>
41512 #endif
41513
41514 int
41515 main ()
41516 {
41517 _isnanf(0);
41518 ;
41519 return 0;
41520 }
41521 _ACEOF
41522 if ac_fn_cxx_try_compile "$LINENO"; then :
41523 glibcxx_cv_func__isnanf_use=yes
41524 else
41525 glibcxx_cv_func__isnanf_use=no
41526 fi
41527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41528 ac_ext=c
41529 ac_cpp='$CPP $CPPFLAGS'
41530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41533
41534
41535 fi
41536
41537 fi
41538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41539 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41540
41541 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41542 for ac_func in _isnanf
41543 do :
41544 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41545 if test "x$ac_cv_func__isnanf" = x""yes; then :
41546 cat >>confdefs.h <<_ACEOF
41547 #define HAVE__ISNANF 1
41548 _ACEOF
41549
41550 fi
41551 done
41552
41553 fi
41554 fi
41555
41556
41557
41558
41559
41560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41561 $as_echo_n "checking for isinff declaration... " >&6; }
41562 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41563 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41564 $as_echo_n "(cached) " >&6
41565 else
41566
41567
41568 ac_ext=cpp
41569 ac_cpp='$CXXCPP $CPPFLAGS'
41570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41573
41574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41575 /* end confdefs.h. */
41576 #include <math.h>
41577 #ifdef HAVE_IEEEFP_H
41578 #include <ieeefp.h>
41579 #endif
41580
41581 int
41582 main ()
41583 {
41584 isinff(0);
41585 ;
41586 return 0;
41587 }
41588 _ACEOF
41589 if ac_fn_cxx_try_compile "$LINENO"; then :
41590 glibcxx_cv_func_isinff_use=yes
41591 else
41592 glibcxx_cv_func_isinff_use=no
41593 fi
41594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41595 ac_ext=c
41596 ac_cpp='$CPP $CPPFLAGS'
41597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41600
41601
41602 fi
41603
41604 fi
41605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41606 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41607
41608 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41609 for ac_func in isinff
41610 do :
41611 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41612 if test "x$ac_cv_func_isinff" = x""yes; then :
41613 cat >>confdefs.h <<_ACEOF
41614 #define HAVE_ISINFF 1
41615 _ACEOF
41616
41617 fi
41618 done
41619
41620 else
41621
41622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41623 $as_echo_n "checking for _isinff declaration... " >&6; }
41624 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41625 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41626 $as_echo_n "(cached) " >&6
41627 else
41628
41629
41630 ac_ext=cpp
41631 ac_cpp='$CXXCPP $CPPFLAGS'
41632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41635
41636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41637 /* end confdefs.h. */
41638 #include <math.h>
41639 #ifdef HAVE_IEEEFP_H
41640 #include <ieeefp.h>
41641 #endif
41642
41643 int
41644 main ()
41645 {
41646 _isinff(0);
41647 ;
41648 return 0;
41649 }
41650 _ACEOF
41651 if ac_fn_cxx_try_compile "$LINENO"; then :
41652 glibcxx_cv_func__isinff_use=yes
41653 else
41654 glibcxx_cv_func__isinff_use=no
41655 fi
41656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41657 ac_ext=c
41658 ac_cpp='$CPP $CPPFLAGS'
41659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41662
41663
41664 fi
41665
41666 fi
41667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41668 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41669
41670 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41671 for ac_func in _isinff
41672 do :
41673 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41674 if test "x$ac_cv_func__isinff" = x""yes; then :
41675 cat >>confdefs.h <<_ACEOF
41676 #define HAVE__ISINFF 1
41677 _ACEOF
41678
41679 fi
41680 done
41681
41682 fi
41683 fi
41684
41685
41686
41687
41688
41689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41690 $as_echo_n "checking for atan2f declaration... " >&6; }
41691 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41692 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41693 $as_echo_n "(cached) " >&6
41694 else
41695
41696
41697 ac_ext=cpp
41698 ac_cpp='$CXXCPP $CPPFLAGS'
41699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41702
41703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41704 /* end confdefs.h. */
41705 #include <math.h>
41706 int
41707 main ()
41708 {
41709 atan2f(0, 0);
41710 ;
41711 return 0;
41712 }
41713 _ACEOF
41714 if ac_fn_cxx_try_compile "$LINENO"; then :
41715 glibcxx_cv_func_atan2f_use=yes
41716 else
41717 glibcxx_cv_func_atan2f_use=no
41718 fi
41719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41720 ac_ext=c
41721 ac_cpp='$CPP $CPPFLAGS'
41722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41725
41726
41727 fi
41728
41729 fi
41730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41731 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41732
41733 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41734 for ac_func in atan2f
41735 do :
41736 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41737 if test "x$ac_cv_func_atan2f" = x""yes; then :
41738 cat >>confdefs.h <<_ACEOF
41739 #define HAVE_ATAN2F 1
41740 _ACEOF
41741
41742 fi
41743 done
41744
41745 else
41746
41747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41748 $as_echo_n "checking for _atan2f declaration... " >&6; }
41749 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41750 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41751 $as_echo_n "(cached) " >&6
41752 else
41753
41754
41755 ac_ext=cpp
41756 ac_cpp='$CXXCPP $CPPFLAGS'
41757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41760
41761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41762 /* end confdefs.h. */
41763 #include <math.h>
41764 int
41765 main ()
41766 {
41767 _atan2f(0, 0);
41768 ;
41769 return 0;
41770 }
41771 _ACEOF
41772 if ac_fn_cxx_try_compile "$LINENO"; then :
41773 glibcxx_cv_func__atan2f_use=yes
41774 else
41775 glibcxx_cv_func__atan2f_use=no
41776 fi
41777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41778 ac_ext=c
41779 ac_cpp='$CPP $CPPFLAGS'
41780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41783
41784
41785 fi
41786
41787 fi
41788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41789 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41790
41791 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41792 for ac_func in _atan2f
41793 do :
41794 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41795 if test "x$ac_cv_func__atan2f" = x""yes; then :
41796 cat >>confdefs.h <<_ACEOF
41797 #define HAVE__ATAN2F 1
41798 _ACEOF
41799
41800 fi
41801 done
41802
41803 fi
41804 fi
41805
41806
41807
41808
41809
41810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41811 $as_echo_n "checking for fabsf declaration... " >&6; }
41812 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41813 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41814 $as_echo_n "(cached) " >&6
41815 else
41816
41817
41818 ac_ext=cpp
41819 ac_cpp='$CXXCPP $CPPFLAGS'
41820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41823
41824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41825 /* end confdefs.h. */
41826 #include <math.h>
41827 #ifdef HAVE_IEEEFP_H
41828 #include <ieeefp.h>
41829 #endif
41830
41831 int
41832 main ()
41833 {
41834 fabsf(0);
41835 ;
41836 return 0;
41837 }
41838 _ACEOF
41839 if ac_fn_cxx_try_compile "$LINENO"; then :
41840 glibcxx_cv_func_fabsf_use=yes
41841 else
41842 glibcxx_cv_func_fabsf_use=no
41843 fi
41844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41845 ac_ext=c
41846 ac_cpp='$CPP $CPPFLAGS'
41847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41850
41851
41852 fi
41853
41854 fi
41855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41856 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41857
41858 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41859 for ac_func in fabsf
41860 do :
41861 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41862 if test "x$ac_cv_func_fabsf" = x""yes; then :
41863 cat >>confdefs.h <<_ACEOF
41864 #define HAVE_FABSF 1
41865 _ACEOF
41866
41867 fi
41868 done
41869
41870 else
41871
41872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41873 $as_echo_n "checking for _fabsf declaration... " >&6; }
41874 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41875 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41876 $as_echo_n "(cached) " >&6
41877 else
41878
41879
41880 ac_ext=cpp
41881 ac_cpp='$CXXCPP $CPPFLAGS'
41882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41885
41886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41887 /* end confdefs.h. */
41888 #include <math.h>
41889 #ifdef HAVE_IEEEFP_H
41890 #include <ieeefp.h>
41891 #endif
41892
41893 int
41894 main ()
41895 {
41896 _fabsf(0);
41897 ;
41898 return 0;
41899 }
41900 _ACEOF
41901 if ac_fn_cxx_try_compile "$LINENO"; then :
41902 glibcxx_cv_func__fabsf_use=yes
41903 else
41904 glibcxx_cv_func__fabsf_use=no
41905 fi
41906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41907 ac_ext=c
41908 ac_cpp='$CPP $CPPFLAGS'
41909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41912
41913
41914 fi
41915
41916 fi
41917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41918 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41919
41920 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41921 for ac_func in _fabsf
41922 do :
41923 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41924 if test "x$ac_cv_func__fabsf" = x""yes; then :
41925 cat >>confdefs.h <<_ACEOF
41926 #define HAVE__FABSF 1
41927 _ACEOF
41928
41929 fi
41930 done
41931
41932 fi
41933 fi
41934
41935
41936
41937
41938
41939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41940 $as_echo_n "checking for fmodf declaration... " >&6; }
41941 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41942 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41943 $as_echo_n "(cached) " >&6
41944 else
41945
41946
41947 ac_ext=cpp
41948 ac_cpp='$CXXCPP $CPPFLAGS'
41949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41952
41953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41954 /* end confdefs.h. */
41955 #include <math.h>
41956 int
41957 main ()
41958 {
41959 fmodf(0, 0);
41960 ;
41961 return 0;
41962 }
41963 _ACEOF
41964 if ac_fn_cxx_try_compile "$LINENO"; then :
41965 glibcxx_cv_func_fmodf_use=yes
41966 else
41967 glibcxx_cv_func_fmodf_use=no
41968 fi
41969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41970 ac_ext=c
41971 ac_cpp='$CPP $CPPFLAGS'
41972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41975
41976
41977 fi
41978
41979 fi
41980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41981 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41982
41983 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41984 for ac_func in fmodf
41985 do :
41986 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41987 if test "x$ac_cv_func_fmodf" = x""yes; then :
41988 cat >>confdefs.h <<_ACEOF
41989 #define HAVE_FMODF 1
41990 _ACEOF
41991
41992 fi
41993 done
41994
41995 else
41996
41997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41998 $as_echo_n "checking for _fmodf declaration... " >&6; }
41999 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42000 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42001 $as_echo_n "(cached) " >&6
42002 else
42003
42004
42005 ac_ext=cpp
42006 ac_cpp='$CXXCPP $CPPFLAGS'
42007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42010
42011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42012 /* end confdefs.h. */
42013 #include <math.h>
42014 int
42015 main ()
42016 {
42017 _fmodf(0, 0);
42018 ;
42019 return 0;
42020 }
42021 _ACEOF
42022 if ac_fn_cxx_try_compile "$LINENO"; then :
42023 glibcxx_cv_func__fmodf_use=yes
42024 else
42025 glibcxx_cv_func__fmodf_use=no
42026 fi
42027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42028 ac_ext=c
42029 ac_cpp='$CPP $CPPFLAGS'
42030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42033
42034
42035 fi
42036
42037 fi
42038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42039 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42040
42041 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42042 for ac_func in _fmodf
42043 do :
42044 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42045 if test "x$ac_cv_func__fmodf" = x""yes; then :
42046 cat >>confdefs.h <<_ACEOF
42047 #define HAVE__FMODF 1
42048 _ACEOF
42049
42050 fi
42051 done
42052
42053 fi
42054 fi
42055
42056
42057
42058
42059
42060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42061 $as_echo_n "checking for frexpf declaration... " >&6; }
42062 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42063 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42064 $as_echo_n "(cached) " >&6
42065 else
42066
42067
42068 ac_ext=cpp
42069 ac_cpp='$CXXCPP $CPPFLAGS'
42070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42073
42074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42075 /* end confdefs.h. */
42076 #include <math.h>
42077 int
42078 main ()
42079 {
42080 frexpf(0, 0);
42081 ;
42082 return 0;
42083 }
42084 _ACEOF
42085 if ac_fn_cxx_try_compile "$LINENO"; then :
42086 glibcxx_cv_func_frexpf_use=yes
42087 else
42088 glibcxx_cv_func_frexpf_use=no
42089 fi
42090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42091 ac_ext=c
42092 ac_cpp='$CPP $CPPFLAGS'
42093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42096
42097
42098 fi
42099
42100 fi
42101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42102 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42103
42104 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42105 for ac_func in frexpf
42106 do :
42107 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42108 if test "x$ac_cv_func_frexpf" = x""yes; then :
42109 cat >>confdefs.h <<_ACEOF
42110 #define HAVE_FREXPF 1
42111 _ACEOF
42112
42113 fi
42114 done
42115
42116 else
42117
42118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42119 $as_echo_n "checking for _frexpf declaration... " >&6; }
42120 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42121 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42122 $as_echo_n "(cached) " >&6
42123 else
42124
42125
42126 ac_ext=cpp
42127 ac_cpp='$CXXCPP $CPPFLAGS'
42128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42131
42132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42133 /* end confdefs.h. */
42134 #include <math.h>
42135 int
42136 main ()
42137 {
42138 _frexpf(0, 0);
42139 ;
42140 return 0;
42141 }
42142 _ACEOF
42143 if ac_fn_cxx_try_compile "$LINENO"; then :
42144 glibcxx_cv_func__frexpf_use=yes
42145 else
42146 glibcxx_cv_func__frexpf_use=no
42147 fi
42148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42149 ac_ext=c
42150 ac_cpp='$CPP $CPPFLAGS'
42151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42154
42155
42156 fi
42157
42158 fi
42159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42160 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42161
42162 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42163 for ac_func in _frexpf
42164 do :
42165 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42166 if test "x$ac_cv_func__frexpf" = x""yes; then :
42167 cat >>confdefs.h <<_ACEOF
42168 #define HAVE__FREXPF 1
42169 _ACEOF
42170
42171 fi
42172 done
42173
42174 fi
42175 fi
42176
42177
42178
42179
42180
42181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42182 $as_echo_n "checking for hypotf declaration... " >&6; }
42183 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42184 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42185 $as_echo_n "(cached) " >&6
42186 else
42187
42188
42189 ac_ext=cpp
42190 ac_cpp='$CXXCPP $CPPFLAGS'
42191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42194
42195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42196 /* end confdefs.h. */
42197 #include <math.h>
42198 int
42199 main ()
42200 {
42201 hypotf(0, 0);
42202 ;
42203 return 0;
42204 }
42205 _ACEOF
42206 if ac_fn_cxx_try_compile "$LINENO"; then :
42207 glibcxx_cv_func_hypotf_use=yes
42208 else
42209 glibcxx_cv_func_hypotf_use=no
42210 fi
42211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42212 ac_ext=c
42213 ac_cpp='$CPP $CPPFLAGS'
42214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42217
42218
42219 fi
42220
42221 fi
42222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42223 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42224
42225 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42226 for ac_func in hypotf
42227 do :
42228 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42229 if test "x$ac_cv_func_hypotf" = x""yes; then :
42230 cat >>confdefs.h <<_ACEOF
42231 #define HAVE_HYPOTF 1
42232 _ACEOF
42233
42234 fi
42235 done
42236
42237 else
42238
42239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42240 $as_echo_n "checking for _hypotf declaration... " >&6; }
42241 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42242 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42243 $as_echo_n "(cached) " >&6
42244 else
42245
42246
42247 ac_ext=cpp
42248 ac_cpp='$CXXCPP $CPPFLAGS'
42249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42252
42253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42254 /* end confdefs.h. */
42255 #include <math.h>
42256 int
42257 main ()
42258 {
42259 _hypotf(0, 0);
42260 ;
42261 return 0;
42262 }
42263 _ACEOF
42264 if ac_fn_cxx_try_compile "$LINENO"; then :
42265 glibcxx_cv_func__hypotf_use=yes
42266 else
42267 glibcxx_cv_func__hypotf_use=no
42268 fi
42269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42270 ac_ext=c
42271 ac_cpp='$CPP $CPPFLAGS'
42272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42275
42276
42277 fi
42278
42279 fi
42280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42281 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42282
42283 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42284 for ac_func in _hypotf
42285 do :
42286 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42287 if test "x$ac_cv_func__hypotf" = x""yes; then :
42288 cat >>confdefs.h <<_ACEOF
42289 #define HAVE__HYPOTF 1
42290 _ACEOF
42291
42292 fi
42293 done
42294
42295 fi
42296 fi
42297
42298
42299
42300
42301
42302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42303 $as_echo_n "checking for ldexpf declaration... " >&6; }
42304 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42305 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42306 $as_echo_n "(cached) " >&6
42307 else
42308
42309
42310 ac_ext=cpp
42311 ac_cpp='$CXXCPP $CPPFLAGS'
42312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42315
42316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42317 /* end confdefs.h. */
42318 #include <math.h>
42319 int
42320 main ()
42321 {
42322 ldexpf(0, 0);
42323 ;
42324 return 0;
42325 }
42326 _ACEOF
42327 if ac_fn_cxx_try_compile "$LINENO"; then :
42328 glibcxx_cv_func_ldexpf_use=yes
42329 else
42330 glibcxx_cv_func_ldexpf_use=no
42331 fi
42332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42333 ac_ext=c
42334 ac_cpp='$CPP $CPPFLAGS'
42335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42338
42339
42340 fi
42341
42342 fi
42343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42344 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42345
42346 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42347 for ac_func in ldexpf
42348 do :
42349 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42350 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42351 cat >>confdefs.h <<_ACEOF
42352 #define HAVE_LDEXPF 1
42353 _ACEOF
42354
42355 fi
42356 done
42357
42358 else
42359
42360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42361 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42362 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42363 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42364 $as_echo_n "(cached) " >&6
42365 else
42366
42367
42368 ac_ext=cpp
42369 ac_cpp='$CXXCPP $CPPFLAGS'
42370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42373
42374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42375 /* end confdefs.h. */
42376 #include <math.h>
42377 int
42378 main ()
42379 {
42380 _ldexpf(0, 0);
42381 ;
42382 return 0;
42383 }
42384 _ACEOF
42385 if ac_fn_cxx_try_compile "$LINENO"; then :
42386 glibcxx_cv_func__ldexpf_use=yes
42387 else
42388 glibcxx_cv_func__ldexpf_use=no
42389 fi
42390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42391 ac_ext=c
42392 ac_cpp='$CPP $CPPFLAGS'
42393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42396
42397
42398 fi
42399
42400 fi
42401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42402 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42403
42404 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42405 for ac_func in _ldexpf
42406 do :
42407 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42408 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42409 cat >>confdefs.h <<_ACEOF
42410 #define HAVE__LDEXPF 1
42411 _ACEOF
42412
42413 fi
42414 done
42415
42416 fi
42417 fi
42418
42419
42420
42421
42422
42423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42424 $as_echo_n "checking for logf declaration... " >&6; }
42425 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42426 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42427 $as_echo_n "(cached) " >&6
42428 else
42429
42430
42431 ac_ext=cpp
42432 ac_cpp='$CXXCPP $CPPFLAGS'
42433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42436
42437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42438 /* end confdefs.h. */
42439 #include <math.h>
42440 #ifdef HAVE_IEEEFP_H
42441 #include <ieeefp.h>
42442 #endif
42443
42444 int
42445 main ()
42446 {
42447 logf(0);
42448 ;
42449 return 0;
42450 }
42451 _ACEOF
42452 if ac_fn_cxx_try_compile "$LINENO"; then :
42453 glibcxx_cv_func_logf_use=yes
42454 else
42455 glibcxx_cv_func_logf_use=no
42456 fi
42457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42458 ac_ext=c
42459 ac_cpp='$CPP $CPPFLAGS'
42460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42463
42464
42465 fi
42466
42467 fi
42468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42469 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42470
42471 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42472 for ac_func in logf
42473 do :
42474 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42475 if test "x$ac_cv_func_logf" = x""yes; then :
42476 cat >>confdefs.h <<_ACEOF
42477 #define HAVE_LOGF 1
42478 _ACEOF
42479
42480 fi
42481 done
42482
42483 else
42484
42485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42486 $as_echo_n "checking for _logf declaration... " >&6; }
42487 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42488 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42489 $as_echo_n "(cached) " >&6
42490 else
42491
42492
42493 ac_ext=cpp
42494 ac_cpp='$CXXCPP $CPPFLAGS'
42495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42498
42499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42500 /* end confdefs.h. */
42501 #include <math.h>
42502 #ifdef HAVE_IEEEFP_H
42503 #include <ieeefp.h>
42504 #endif
42505
42506 int
42507 main ()
42508 {
42509 _logf(0);
42510 ;
42511 return 0;
42512 }
42513 _ACEOF
42514 if ac_fn_cxx_try_compile "$LINENO"; then :
42515 glibcxx_cv_func__logf_use=yes
42516 else
42517 glibcxx_cv_func__logf_use=no
42518 fi
42519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42520 ac_ext=c
42521 ac_cpp='$CPP $CPPFLAGS'
42522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42525
42526
42527 fi
42528
42529 fi
42530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42531 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42532
42533 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42534 for ac_func in _logf
42535 do :
42536 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42537 if test "x$ac_cv_func__logf" = x""yes; then :
42538 cat >>confdefs.h <<_ACEOF
42539 #define HAVE__LOGF 1
42540 _ACEOF
42541
42542 fi
42543 done
42544
42545 fi
42546 fi
42547
42548
42549
42550
42551
42552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42553 $as_echo_n "checking for log10f declaration... " >&6; }
42554 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42555 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42556 $as_echo_n "(cached) " >&6
42557 else
42558
42559
42560 ac_ext=cpp
42561 ac_cpp='$CXXCPP $CPPFLAGS'
42562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42565
42566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42567 /* end confdefs.h. */
42568 #include <math.h>
42569 #ifdef HAVE_IEEEFP_H
42570 #include <ieeefp.h>
42571 #endif
42572
42573 int
42574 main ()
42575 {
42576 log10f(0);
42577 ;
42578 return 0;
42579 }
42580 _ACEOF
42581 if ac_fn_cxx_try_compile "$LINENO"; then :
42582 glibcxx_cv_func_log10f_use=yes
42583 else
42584 glibcxx_cv_func_log10f_use=no
42585 fi
42586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42587 ac_ext=c
42588 ac_cpp='$CPP $CPPFLAGS'
42589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42592
42593
42594 fi
42595
42596 fi
42597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42598 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42599
42600 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42601 for ac_func in log10f
42602 do :
42603 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42604 if test "x$ac_cv_func_log10f" = x""yes; then :
42605 cat >>confdefs.h <<_ACEOF
42606 #define HAVE_LOG10F 1
42607 _ACEOF
42608
42609 fi
42610 done
42611
42612 else
42613
42614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42615 $as_echo_n "checking for _log10f declaration... " >&6; }
42616 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42617 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42618 $as_echo_n "(cached) " >&6
42619 else
42620
42621
42622 ac_ext=cpp
42623 ac_cpp='$CXXCPP $CPPFLAGS'
42624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42627
42628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42629 /* end confdefs.h. */
42630 #include <math.h>
42631 #ifdef HAVE_IEEEFP_H
42632 #include <ieeefp.h>
42633 #endif
42634
42635 int
42636 main ()
42637 {
42638 _log10f(0);
42639 ;
42640 return 0;
42641 }
42642 _ACEOF
42643 if ac_fn_cxx_try_compile "$LINENO"; then :
42644 glibcxx_cv_func__log10f_use=yes
42645 else
42646 glibcxx_cv_func__log10f_use=no
42647 fi
42648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42649 ac_ext=c
42650 ac_cpp='$CPP $CPPFLAGS'
42651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42654
42655
42656 fi
42657
42658 fi
42659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42660 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42661
42662 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42663 for ac_func in _log10f
42664 do :
42665 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42666 if test "x$ac_cv_func__log10f" = x""yes; then :
42667 cat >>confdefs.h <<_ACEOF
42668 #define HAVE__LOG10F 1
42669 _ACEOF
42670
42671 fi
42672 done
42673
42674 fi
42675 fi
42676
42677
42678
42679
42680
42681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42682 $as_echo_n "checking for modff declaration... " >&6; }
42683 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42684 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42685 $as_echo_n "(cached) " >&6
42686 else
42687
42688
42689 ac_ext=cpp
42690 ac_cpp='$CXXCPP $CPPFLAGS'
42691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42694
42695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42696 /* end confdefs.h. */
42697 #include <math.h>
42698 int
42699 main ()
42700 {
42701 modff(0, 0);
42702 ;
42703 return 0;
42704 }
42705 _ACEOF
42706 if ac_fn_cxx_try_compile "$LINENO"; then :
42707 glibcxx_cv_func_modff_use=yes
42708 else
42709 glibcxx_cv_func_modff_use=no
42710 fi
42711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42712 ac_ext=c
42713 ac_cpp='$CPP $CPPFLAGS'
42714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42717
42718
42719 fi
42720
42721 fi
42722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42723 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42724
42725 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42726 for ac_func in modff
42727 do :
42728 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42729 if test "x$ac_cv_func_modff" = x""yes; then :
42730 cat >>confdefs.h <<_ACEOF
42731 #define HAVE_MODFF 1
42732 _ACEOF
42733
42734 fi
42735 done
42736
42737 else
42738
42739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42740 $as_echo_n "checking for _modff declaration... " >&6; }
42741 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42742 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42743 $as_echo_n "(cached) " >&6
42744 else
42745
42746
42747 ac_ext=cpp
42748 ac_cpp='$CXXCPP $CPPFLAGS'
42749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42752
42753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42754 /* end confdefs.h. */
42755 #include <math.h>
42756 int
42757 main ()
42758 {
42759 _modff(0, 0);
42760 ;
42761 return 0;
42762 }
42763 _ACEOF
42764 if ac_fn_cxx_try_compile "$LINENO"; then :
42765 glibcxx_cv_func__modff_use=yes
42766 else
42767 glibcxx_cv_func__modff_use=no
42768 fi
42769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42770 ac_ext=c
42771 ac_cpp='$CPP $CPPFLAGS'
42772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42775
42776
42777 fi
42778
42779 fi
42780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42781 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42782
42783 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42784 for ac_func in _modff
42785 do :
42786 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42787 if test "x$ac_cv_func__modff" = x""yes; then :
42788 cat >>confdefs.h <<_ACEOF
42789 #define HAVE__MODFF 1
42790 _ACEOF
42791
42792 fi
42793 done
42794
42795 fi
42796 fi
42797
42798
42799
42800
42801
42802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42803 $as_echo_n "checking for modf declaration... " >&6; }
42804 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42805 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42806 $as_echo_n "(cached) " >&6
42807 else
42808
42809
42810 ac_ext=cpp
42811 ac_cpp='$CXXCPP $CPPFLAGS'
42812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42815
42816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42817 /* end confdefs.h. */
42818 #include <math.h>
42819 int
42820 main ()
42821 {
42822 modf(0, 0);
42823 ;
42824 return 0;
42825 }
42826 _ACEOF
42827 if ac_fn_cxx_try_compile "$LINENO"; then :
42828 glibcxx_cv_func_modf_use=yes
42829 else
42830 glibcxx_cv_func_modf_use=no
42831 fi
42832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42833 ac_ext=c
42834 ac_cpp='$CPP $CPPFLAGS'
42835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42838
42839
42840 fi
42841
42842 fi
42843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42844 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42845
42846 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42847 for ac_func in modf
42848 do :
42849 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42850 if test "x$ac_cv_func_modf" = x""yes; then :
42851 cat >>confdefs.h <<_ACEOF
42852 #define HAVE_MODF 1
42853 _ACEOF
42854
42855 fi
42856 done
42857
42858 else
42859
42860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42861 $as_echo_n "checking for _modf declaration... " >&6; }
42862 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42863 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42864 $as_echo_n "(cached) " >&6
42865 else
42866
42867
42868 ac_ext=cpp
42869 ac_cpp='$CXXCPP $CPPFLAGS'
42870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42873
42874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42875 /* end confdefs.h. */
42876 #include <math.h>
42877 int
42878 main ()
42879 {
42880 _modf(0, 0);
42881 ;
42882 return 0;
42883 }
42884 _ACEOF
42885 if ac_fn_cxx_try_compile "$LINENO"; then :
42886 glibcxx_cv_func__modf_use=yes
42887 else
42888 glibcxx_cv_func__modf_use=no
42889 fi
42890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42891 ac_ext=c
42892 ac_cpp='$CPP $CPPFLAGS'
42893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42896
42897
42898 fi
42899
42900 fi
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42902 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42903
42904 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42905 for ac_func in _modf
42906 do :
42907 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42908 if test "x$ac_cv_func__modf" = x""yes; then :
42909 cat >>confdefs.h <<_ACEOF
42910 #define HAVE__MODF 1
42911 _ACEOF
42912
42913 fi
42914 done
42915
42916 fi
42917 fi
42918
42919
42920
42921
42922
42923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42924 $as_echo_n "checking for powf declaration... " >&6; }
42925 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42926 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42927 $as_echo_n "(cached) " >&6
42928 else
42929
42930
42931 ac_ext=cpp
42932 ac_cpp='$CXXCPP $CPPFLAGS'
42933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42936
42937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42938 /* end confdefs.h. */
42939 #include <math.h>
42940 int
42941 main ()
42942 {
42943 powf(0, 0);
42944 ;
42945 return 0;
42946 }
42947 _ACEOF
42948 if ac_fn_cxx_try_compile "$LINENO"; then :
42949 glibcxx_cv_func_powf_use=yes
42950 else
42951 glibcxx_cv_func_powf_use=no
42952 fi
42953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42954 ac_ext=c
42955 ac_cpp='$CPP $CPPFLAGS'
42956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42959
42960
42961 fi
42962
42963 fi
42964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42965 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42966
42967 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42968 for ac_func in powf
42969 do :
42970 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42971 if test "x$ac_cv_func_powf" = x""yes; then :
42972 cat >>confdefs.h <<_ACEOF
42973 #define HAVE_POWF 1
42974 _ACEOF
42975
42976 fi
42977 done
42978
42979 else
42980
42981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42982 $as_echo_n "checking for _powf declaration... " >&6; }
42983 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42984 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42985 $as_echo_n "(cached) " >&6
42986 else
42987
42988
42989 ac_ext=cpp
42990 ac_cpp='$CXXCPP $CPPFLAGS'
42991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42994
42995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42996 /* end confdefs.h. */
42997 #include <math.h>
42998 int
42999 main ()
43000 {
43001 _powf(0, 0);
43002 ;
43003 return 0;
43004 }
43005 _ACEOF
43006 if ac_fn_cxx_try_compile "$LINENO"; then :
43007 glibcxx_cv_func__powf_use=yes
43008 else
43009 glibcxx_cv_func__powf_use=no
43010 fi
43011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43012 ac_ext=c
43013 ac_cpp='$CPP $CPPFLAGS'
43014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43017
43018
43019 fi
43020
43021 fi
43022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43023 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43024
43025 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43026 for ac_func in _powf
43027 do :
43028 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43029 if test "x$ac_cv_func__powf" = x""yes; then :
43030 cat >>confdefs.h <<_ACEOF
43031 #define HAVE__POWF 1
43032 _ACEOF
43033
43034 fi
43035 done
43036
43037 fi
43038 fi
43039
43040
43041
43042
43043
43044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43045 $as_echo_n "checking for sqrtf declaration... " >&6; }
43046 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43047 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43048 $as_echo_n "(cached) " >&6
43049 else
43050
43051
43052 ac_ext=cpp
43053 ac_cpp='$CXXCPP $CPPFLAGS'
43054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43057
43058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43059 /* end confdefs.h. */
43060 #include <math.h>
43061 #ifdef HAVE_IEEEFP_H
43062 #include <ieeefp.h>
43063 #endif
43064
43065 int
43066 main ()
43067 {
43068 sqrtf(0);
43069 ;
43070 return 0;
43071 }
43072 _ACEOF
43073 if ac_fn_cxx_try_compile "$LINENO"; then :
43074 glibcxx_cv_func_sqrtf_use=yes
43075 else
43076 glibcxx_cv_func_sqrtf_use=no
43077 fi
43078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43079 ac_ext=c
43080 ac_cpp='$CPP $CPPFLAGS'
43081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43084
43085
43086 fi
43087
43088 fi
43089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43090 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43091
43092 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43093 for ac_func in sqrtf
43094 do :
43095 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43096 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43097 cat >>confdefs.h <<_ACEOF
43098 #define HAVE_SQRTF 1
43099 _ACEOF
43100
43101 fi
43102 done
43103
43104 else
43105
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43107 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43108 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43109 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43110 $as_echo_n "(cached) " >&6
43111 else
43112
43113
43114 ac_ext=cpp
43115 ac_cpp='$CXXCPP $CPPFLAGS'
43116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43119
43120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43121 /* end confdefs.h. */
43122 #include <math.h>
43123 #ifdef HAVE_IEEEFP_H
43124 #include <ieeefp.h>
43125 #endif
43126
43127 int
43128 main ()
43129 {
43130 _sqrtf(0);
43131 ;
43132 return 0;
43133 }
43134 _ACEOF
43135 if ac_fn_cxx_try_compile "$LINENO"; then :
43136 glibcxx_cv_func__sqrtf_use=yes
43137 else
43138 glibcxx_cv_func__sqrtf_use=no
43139 fi
43140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43141 ac_ext=c
43142 ac_cpp='$CPP $CPPFLAGS'
43143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43146
43147
43148 fi
43149
43150 fi
43151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43152 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43153
43154 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43155 for ac_func in _sqrtf
43156 do :
43157 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43158 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43159 cat >>confdefs.h <<_ACEOF
43160 #define HAVE__SQRTF 1
43161 _ACEOF
43162
43163 fi
43164 done
43165
43166 fi
43167 fi
43168
43169
43170
43171
43172
43173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43174 $as_echo_n "checking for sincosf declaration... " >&6; }
43175 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43176 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43177 $as_echo_n "(cached) " >&6
43178 else
43179
43180
43181 ac_ext=cpp
43182 ac_cpp='$CXXCPP $CPPFLAGS'
43183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43186
43187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43188 /* end confdefs.h. */
43189 #include <math.h>
43190 int
43191 main ()
43192 {
43193 sincosf(0, 0, 0);
43194 ;
43195 return 0;
43196 }
43197 _ACEOF
43198 if ac_fn_cxx_try_compile "$LINENO"; then :
43199 glibcxx_cv_func_sincosf_use=yes
43200 else
43201 glibcxx_cv_func_sincosf_use=no
43202 fi
43203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43204 ac_ext=c
43205 ac_cpp='$CPP $CPPFLAGS'
43206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43209
43210
43211 fi
43212
43213 fi
43214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43215 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43216
43217 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43218 for ac_func in sincosf
43219 do :
43220 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43221 if test "x$ac_cv_func_sincosf" = x""yes; then :
43222 cat >>confdefs.h <<_ACEOF
43223 #define HAVE_SINCOSF 1
43224 _ACEOF
43225
43226 fi
43227 done
43228
43229 else
43230
43231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43232 $as_echo_n "checking for _sincosf declaration... " >&6; }
43233 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43234 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43235 $as_echo_n "(cached) " >&6
43236 else
43237
43238
43239 ac_ext=cpp
43240 ac_cpp='$CXXCPP $CPPFLAGS'
43241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43244
43245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43246 /* end confdefs.h. */
43247 #include <math.h>
43248 int
43249 main ()
43250 {
43251 _sincosf(0, 0, 0);
43252 ;
43253 return 0;
43254 }
43255 _ACEOF
43256 if ac_fn_cxx_try_compile "$LINENO"; then :
43257 glibcxx_cv_func__sincosf_use=yes
43258 else
43259 glibcxx_cv_func__sincosf_use=no
43260 fi
43261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43262 ac_ext=c
43263 ac_cpp='$CPP $CPPFLAGS'
43264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43267
43268
43269 fi
43270
43271 fi
43272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43273 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43274
43275 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43276 for ac_func in _sincosf
43277 do :
43278 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43279 if test "x$ac_cv_func__sincosf" = x""yes; then :
43280 cat >>confdefs.h <<_ACEOF
43281 #define HAVE__SINCOSF 1
43282 _ACEOF
43283
43284 fi
43285 done
43286
43287 fi
43288 fi
43289
43290
43291
43292
43293
43294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43295 $as_echo_n "checking for finitef declaration... " >&6; }
43296 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43297 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43298 $as_echo_n "(cached) " >&6
43299 else
43300
43301
43302 ac_ext=cpp
43303 ac_cpp='$CXXCPP $CPPFLAGS'
43304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43307
43308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43309 /* end confdefs.h. */
43310 #include <math.h>
43311 #ifdef HAVE_IEEEFP_H
43312 #include <ieeefp.h>
43313 #endif
43314
43315 int
43316 main ()
43317 {
43318 finitef(0);
43319 ;
43320 return 0;
43321 }
43322 _ACEOF
43323 if ac_fn_cxx_try_compile "$LINENO"; then :
43324 glibcxx_cv_func_finitef_use=yes
43325 else
43326 glibcxx_cv_func_finitef_use=no
43327 fi
43328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43329 ac_ext=c
43330 ac_cpp='$CPP $CPPFLAGS'
43331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43334
43335
43336 fi
43337
43338 fi
43339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43340 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43341
43342 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43343 for ac_func in finitef
43344 do :
43345 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43346 if test "x$ac_cv_func_finitef" = x""yes; then :
43347 cat >>confdefs.h <<_ACEOF
43348 #define HAVE_FINITEF 1
43349 _ACEOF
43350
43351 fi
43352 done
43353
43354 else
43355
43356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43357 $as_echo_n "checking for _finitef declaration... " >&6; }
43358 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43359 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43360 $as_echo_n "(cached) " >&6
43361 else
43362
43363
43364 ac_ext=cpp
43365 ac_cpp='$CXXCPP $CPPFLAGS'
43366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43369
43370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43371 /* end confdefs.h. */
43372 #include <math.h>
43373 #ifdef HAVE_IEEEFP_H
43374 #include <ieeefp.h>
43375 #endif
43376
43377 int
43378 main ()
43379 {
43380 _finitef(0);
43381 ;
43382 return 0;
43383 }
43384 _ACEOF
43385 if ac_fn_cxx_try_compile "$LINENO"; then :
43386 glibcxx_cv_func__finitef_use=yes
43387 else
43388 glibcxx_cv_func__finitef_use=no
43389 fi
43390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43391 ac_ext=c
43392 ac_cpp='$CPP $CPPFLAGS'
43393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43396
43397
43398 fi
43399
43400 fi
43401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43402 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43403
43404 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43405 for ac_func in _finitef
43406 do :
43407 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43408 if test "x$ac_cv_func__finitef" = x""yes; then :
43409 cat >>confdefs.h <<_ACEOF
43410 #define HAVE__FINITEF 1
43411 _ACEOF
43412
43413 fi
43414 done
43415
43416 fi
43417 fi
43418
43419
43420
43421
43422
43423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43424 $as_echo_n "checking for long double trig functions... " >&6; }
43425 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43426 $as_echo_n "(cached) " >&6
43427 else
43428
43429
43430 ac_ext=cpp
43431 ac_cpp='$CXXCPP $CPPFLAGS'
43432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43435
43436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43437 /* end confdefs.h. */
43438 #include <math.h>
43439 int
43440 main ()
43441 {
43442 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43443 ;
43444 return 0;
43445 }
43446 _ACEOF
43447 if ac_fn_cxx_try_compile "$LINENO"; then :
43448 glibcxx_cv_func_long_double_trig_use=yes
43449 else
43450 glibcxx_cv_func_long_double_trig_use=no
43451 fi
43452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43453 ac_ext=c
43454 ac_cpp='$CPP $CPPFLAGS'
43455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43458
43459 fi
43460
43461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43462 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43463 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43464 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43465 do :
43466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43468 eval as_val=\$$as_ac_var
43469 if test "x$as_val" = x""yes; then :
43470 cat >>confdefs.h <<_ACEOF
43471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43472 _ACEOF
43473
43474 fi
43475 done
43476
43477 else
43478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43479 $as_echo_n "checking for _long double trig functions... " >&6; }
43480 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43481 $as_echo_n "(cached) " >&6
43482 else
43483
43484
43485 ac_ext=cpp
43486 ac_cpp='$CXXCPP $CPPFLAGS'
43487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43490
43491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43492 /* end confdefs.h. */
43493 #include <math.h>
43494 int
43495 main ()
43496 {
43497 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43498 ;
43499 return 0;
43500 }
43501 _ACEOF
43502 if ac_fn_cxx_try_compile "$LINENO"; then :
43503 glibcxx_cv_func__long_double_trig_use=yes
43504 else
43505 glibcxx_cv_func__long_double_trig_use=no
43506 fi
43507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43508 ac_ext=c
43509 ac_cpp='$CPP $CPPFLAGS'
43510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43513
43514 fi
43515
43516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43517 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43518 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43519 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43520 do :
43521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43523 eval as_val=\$$as_ac_var
43524 if test "x$as_val" = x""yes; then :
43525 cat >>confdefs.h <<_ACEOF
43526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43527 _ACEOF
43528
43529 fi
43530 done
43531
43532 fi
43533 fi
43534
43535
43536
43537
43538
43539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43540 $as_echo_n "checking for long double round functions... " >&6; }
43541 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43542 $as_echo_n "(cached) " >&6
43543 else
43544
43545
43546 ac_ext=cpp
43547 ac_cpp='$CXXCPP $CPPFLAGS'
43548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43551
43552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43553 /* end confdefs.h. */
43554 #include <math.h>
43555 int
43556 main ()
43557 {
43558 ceill (0); floorl (0);
43559 ;
43560 return 0;
43561 }
43562 _ACEOF
43563 if ac_fn_cxx_try_compile "$LINENO"; then :
43564 glibcxx_cv_func_long_double_round_use=yes
43565 else
43566 glibcxx_cv_func_long_double_round_use=no
43567 fi
43568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43569 ac_ext=c
43570 ac_cpp='$CPP $CPPFLAGS'
43571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43574
43575 fi
43576
43577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43578 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43579 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43580 for ac_func in ceill floorl
43581 do :
43582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43584 eval as_val=\$$as_ac_var
43585 if test "x$as_val" = x""yes; then :
43586 cat >>confdefs.h <<_ACEOF
43587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43588 _ACEOF
43589
43590 fi
43591 done
43592
43593 else
43594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43595 $as_echo_n "checking for _long double round functions... " >&6; }
43596 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43597 $as_echo_n "(cached) " >&6
43598 else
43599
43600
43601 ac_ext=cpp
43602 ac_cpp='$CXXCPP $CPPFLAGS'
43603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43606
43607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43608 /* end confdefs.h. */
43609 #include <math.h>
43610 int
43611 main ()
43612 {
43613 _ceill (0); _floorl (0);
43614 ;
43615 return 0;
43616 }
43617 _ACEOF
43618 if ac_fn_cxx_try_compile "$LINENO"; then :
43619 glibcxx_cv_func__long_double_round_use=yes
43620 else
43621 glibcxx_cv_func__long_double_round_use=no
43622 fi
43623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43624 ac_ext=c
43625 ac_cpp='$CPP $CPPFLAGS'
43626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43629
43630 fi
43631
43632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43633 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43634 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43635 for ac_func in _ceill _floorl
43636 do :
43637 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43638 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43639 eval as_val=\$$as_ac_var
43640 if test "x$as_val" = x""yes; then :
43641 cat >>confdefs.h <<_ACEOF
43642 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43643 _ACEOF
43644
43645 fi
43646 done
43647
43648 fi
43649 fi
43650
43651
43652
43653
43654
43655
43656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43657 $as_echo_n "checking for isnanl declaration... " >&6; }
43658 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43659 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43660 $as_echo_n "(cached) " >&6
43661 else
43662
43663
43664 ac_ext=cpp
43665 ac_cpp='$CXXCPP $CPPFLAGS'
43666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43669
43670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43671 /* end confdefs.h. */
43672 #include <math.h>
43673 #ifdef HAVE_IEEEFP_H
43674 #include <ieeefp.h>
43675 #endif
43676
43677 int
43678 main ()
43679 {
43680 isnanl(0);
43681 ;
43682 return 0;
43683 }
43684 _ACEOF
43685 if ac_fn_cxx_try_compile "$LINENO"; then :
43686 glibcxx_cv_func_isnanl_use=yes
43687 else
43688 glibcxx_cv_func_isnanl_use=no
43689 fi
43690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43691 ac_ext=c
43692 ac_cpp='$CPP $CPPFLAGS'
43693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43696
43697
43698 fi
43699
43700 fi
43701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43702 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43703
43704 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43705 for ac_func in isnanl
43706 do :
43707 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43708 if test "x$ac_cv_func_isnanl" = x""yes; then :
43709 cat >>confdefs.h <<_ACEOF
43710 #define HAVE_ISNANL 1
43711 _ACEOF
43712
43713 fi
43714 done
43715
43716 else
43717
43718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43719 $as_echo_n "checking for _isnanl declaration... " >&6; }
43720 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43721 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43722 $as_echo_n "(cached) " >&6
43723 else
43724
43725
43726 ac_ext=cpp
43727 ac_cpp='$CXXCPP $CPPFLAGS'
43728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43731
43732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43733 /* end confdefs.h. */
43734 #include <math.h>
43735 #ifdef HAVE_IEEEFP_H
43736 #include <ieeefp.h>
43737 #endif
43738
43739 int
43740 main ()
43741 {
43742 _isnanl(0);
43743 ;
43744 return 0;
43745 }
43746 _ACEOF
43747 if ac_fn_cxx_try_compile "$LINENO"; then :
43748 glibcxx_cv_func__isnanl_use=yes
43749 else
43750 glibcxx_cv_func__isnanl_use=no
43751 fi
43752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43753 ac_ext=c
43754 ac_cpp='$CPP $CPPFLAGS'
43755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43758
43759
43760 fi
43761
43762 fi
43763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43764 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43765
43766 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43767 for ac_func in _isnanl
43768 do :
43769 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43770 if test "x$ac_cv_func__isnanl" = x""yes; then :
43771 cat >>confdefs.h <<_ACEOF
43772 #define HAVE__ISNANL 1
43773 _ACEOF
43774
43775 fi
43776 done
43777
43778 fi
43779 fi
43780
43781
43782
43783
43784
43785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43786 $as_echo_n "checking for isinfl declaration... " >&6; }
43787 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43788 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43789 $as_echo_n "(cached) " >&6
43790 else
43791
43792
43793 ac_ext=cpp
43794 ac_cpp='$CXXCPP $CPPFLAGS'
43795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43798
43799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43800 /* end confdefs.h. */
43801 #include <math.h>
43802 #ifdef HAVE_IEEEFP_H
43803 #include <ieeefp.h>
43804 #endif
43805
43806 int
43807 main ()
43808 {
43809 isinfl(0);
43810 ;
43811 return 0;
43812 }
43813 _ACEOF
43814 if ac_fn_cxx_try_compile "$LINENO"; then :
43815 glibcxx_cv_func_isinfl_use=yes
43816 else
43817 glibcxx_cv_func_isinfl_use=no
43818 fi
43819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43820 ac_ext=c
43821 ac_cpp='$CPP $CPPFLAGS'
43822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43825
43826
43827 fi
43828
43829 fi
43830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43831 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43832
43833 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43834 for ac_func in isinfl
43835 do :
43836 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43837 if test "x$ac_cv_func_isinfl" = x""yes; then :
43838 cat >>confdefs.h <<_ACEOF
43839 #define HAVE_ISINFL 1
43840 _ACEOF
43841
43842 fi
43843 done
43844
43845 else
43846
43847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43848 $as_echo_n "checking for _isinfl declaration... " >&6; }
43849 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43850 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43851 $as_echo_n "(cached) " >&6
43852 else
43853
43854
43855 ac_ext=cpp
43856 ac_cpp='$CXXCPP $CPPFLAGS'
43857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43860
43861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43862 /* end confdefs.h. */
43863 #include <math.h>
43864 #ifdef HAVE_IEEEFP_H
43865 #include <ieeefp.h>
43866 #endif
43867
43868 int
43869 main ()
43870 {
43871 _isinfl(0);
43872 ;
43873 return 0;
43874 }
43875 _ACEOF
43876 if ac_fn_cxx_try_compile "$LINENO"; then :
43877 glibcxx_cv_func__isinfl_use=yes
43878 else
43879 glibcxx_cv_func__isinfl_use=no
43880 fi
43881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43882 ac_ext=c
43883 ac_cpp='$CPP $CPPFLAGS'
43884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43887
43888
43889 fi
43890
43891 fi
43892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43893 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43894
43895 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43896 for ac_func in _isinfl
43897 do :
43898 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43899 if test "x$ac_cv_func__isinfl" = x""yes; then :
43900 cat >>confdefs.h <<_ACEOF
43901 #define HAVE__ISINFL 1
43902 _ACEOF
43903
43904 fi
43905 done
43906
43907 fi
43908 fi
43909
43910
43911
43912
43913
43914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43915 $as_echo_n "checking for atan2l declaration... " >&6; }
43916 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43917 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43918 $as_echo_n "(cached) " >&6
43919 else
43920
43921
43922 ac_ext=cpp
43923 ac_cpp='$CXXCPP $CPPFLAGS'
43924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43927
43928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43929 /* end confdefs.h. */
43930 #include <math.h>
43931 int
43932 main ()
43933 {
43934 atan2l(0, 0);
43935 ;
43936 return 0;
43937 }
43938 _ACEOF
43939 if ac_fn_cxx_try_compile "$LINENO"; then :
43940 glibcxx_cv_func_atan2l_use=yes
43941 else
43942 glibcxx_cv_func_atan2l_use=no
43943 fi
43944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43945 ac_ext=c
43946 ac_cpp='$CPP $CPPFLAGS'
43947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43950
43951
43952 fi
43953
43954 fi
43955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43956 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43957
43958 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43959 for ac_func in atan2l
43960 do :
43961 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43962 if test "x$ac_cv_func_atan2l" = x""yes; then :
43963 cat >>confdefs.h <<_ACEOF
43964 #define HAVE_ATAN2L 1
43965 _ACEOF
43966
43967 fi
43968 done
43969
43970 else
43971
43972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43973 $as_echo_n "checking for _atan2l declaration... " >&6; }
43974 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43975 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43976 $as_echo_n "(cached) " >&6
43977 else
43978
43979
43980 ac_ext=cpp
43981 ac_cpp='$CXXCPP $CPPFLAGS'
43982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43985
43986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43987 /* end confdefs.h. */
43988 #include <math.h>
43989 int
43990 main ()
43991 {
43992 _atan2l(0, 0);
43993 ;
43994 return 0;
43995 }
43996 _ACEOF
43997 if ac_fn_cxx_try_compile "$LINENO"; then :
43998 glibcxx_cv_func__atan2l_use=yes
43999 else
44000 glibcxx_cv_func__atan2l_use=no
44001 fi
44002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44003 ac_ext=c
44004 ac_cpp='$CPP $CPPFLAGS'
44005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44008
44009
44010 fi
44011
44012 fi
44013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44014 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44015
44016 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44017 for ac_func in _atan2l
44018 do :
44019 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44020 if test "x$ac_cv_func__atan2l" = x""yes; then :
44021 cat >>confdefs.h <<_ACEOF
44022 #define HAVE__ATAN2L 1
44023 _ACEOF
44024
44025 fi
44026 done
44027
44028 fi
44029 fi
44030
44031
44032
44033
44034
44035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44036 $as_echo_n "checking for expl declaration... " >&6; }
44037 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44038 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44039 $as_echo_n "(cached) " >&6
44040 else
44041
44042
44043 ac_ext=cpp
44044 ac_cpp='$CXXCPP $CPPFLAGS'
44045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44048
44049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44050 /* end confdefs.h. */
44051 #include <math.h>
44052 #ifdef HAVE_IEEEFP_H
44053 #include <ieeefp.h>
44054 #endif
44055
44056 int
44057 main ()
44058 {
44059 expl(0);
44060 ;
44061 return 0;
44062 }
44063 _ACEOF
44064 if ac_fn_cxx_try_compile "$LINENO"; then :
44065 glibcxx_cv_func_expl_use=yes
44066 else
44067 glibcxx_cv_func_expl_use=no
44068 fi
44069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44070 ac_ext=c
44071 ac_cpp='$CPP $CPPFLAGS'
44072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44075
44076
44077 fi
44078
44079 fi
44080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44081 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44082
44083 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44084 for ac_func in expl
44085 do :
44086 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44087 if test "x$ac_cv_func_expl" = x""yes; then :
44088 cat >>confdefs.h <<_ACEOF
44089 #define HAVE_EXPL 1
44090 _ACEOF
44091
44092 fi
44093 done
44094
44095 else
44096
44097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44098 $as_echo_n "checking for _expl declaration... " >&6; }
44099 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44100 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44101 $as_echo_n "(cached) " >&6
44102 else
44103
44104
44105 ac_ext=cpp
44106 ac_cpp='$CXXCPP $CPPFLAGS'
44107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44110
44111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44112 /* end confdefs.h. */
44113 #include <math.h>
44114 #ifdef HAVE_IEEEFP_H
44115 #include <ieeefp.h>
44116 #endif
44117
44118 int
44119 main ()
44120 {
44121 _expl(0);
44122 ;
44123 return 0;
44124 }
44125 _ACEOF
44126 if ac_fn_cxx_try_compile "$LINENO"; then :
44127 glibcxx_cv_func__expl_use=yes
44128 else
44129 glibcxx_cv_func__expl_use=no
44130 fi
44131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44132 ac_ext=c
44133 ac_cpp='$CPP $CPPFLAGS'
44134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44137
44138
44139 fi
44140
44141 fi
44142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44143 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44144
44145 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44146 for ac_func in _expl
44147 do :
44148 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44149 if test "x$ac_cv_func__expl" = x""yes; then :
44150 cat >>confdefs.h <<_ACEOF
44151 #define HAVE__EXPL 1
44152 _ACEOF
44153
44154 fi
44155 done
44156
44157 fi
44158 fi
44159
44160
44161
44162
44163
44164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44165 $as_echo_n "checking for fabsl declaration... " >&6; }
44166 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44167 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44168 $as_echo_n "(cached) " >&6
44169 else
44170
44171
44172 ac_ext=cpp
44173 ac_cpp='$CXXCPP $CPPFLAGS'
44174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44177
44178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44179 /* end confdefs.h. */
44180 #include <math.h>
44181 #ifdef HAVE_IEEEFP_H
44182 #include <ieeefp.h>
44183 #endif
44184
44185 int
44186 main ()
44187 {
44188 fabsl(0);
44189 ;
44190 return 0;
44191 }
44192 _ACEOF
44193 if ac_fn_cxx_try_compile "$LINENO"; then :
44194 glibcxx_cv_func_fabsl_use=yes
44195 else
44196 glibcxx_cv_func_fabsl_use=no
44197 fi
44198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44199 ac_ext=c
44200 ac_cpp='$CPP $CPPFLAGS'
44201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44204
44205
44206 fi
44207
44208 fi
44209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44210 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44211
44212 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44213 for ac_func in fabsl
44214 do :
44215 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44216 if test "x$ac_cv_func_fabsl" = x""yes; then :
44217 cat >>confdefs.h <<_ACEOF
44218 #define HAVE_FABSL 1
44219 _ACEOF
44220
44221 fi
44222 done
44223
44224 else
44225
44226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44227 $as_echo_n "checking for _fabsl declaration... " >&6; }
44228 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44229 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44230 $as_echo_n "(cached) " >&6
44231 else
44232
44233
44234 ac_ext=cpp
44235 ac_cpp='$CXXCPP $CPPFLAGS'
44236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44239
44240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44241 /* end confdefs.h. */
44242 #include <math.h>
44243 #ifdef HAVE_IEEEFP_H
44244 #include <ieeefp.h>
44245 #endif
44246
44247 int
44248 main ()
44249 {
44250 _fabsl(0);
44251 ;
44252 return 0;
44253 }
44254 _ACEOF
44255 if ac_fn_cxx_try_compile "$LINENO"; then :
44256 glibcxx_cv_func__fabsl_use=yes
44257 else
44258 glibcxx_cv_func__fabsl_use=no
44259 fi
44260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44261 ac_ext=c
44262 ac_cpp='$CPP $CPPFLAGS'
44263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44266
44267
44268 fi
44269
44270 fi
44271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44272 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44273
44274 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44275 for ac_func in _fabsl
44276 do :
44277 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44278 if test "x$ac_cv_func__fabsl" = x""yes; then :
44279 cat >>confdefs.h <<_ACEOF
44280 #define HAVE__FABSL 1
44281 _ACEOF
44282
44283 fi
44284 done
44285
44286 fi
44287 fi
44288
44289
44290
44291
44292
44293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44294 $as_echo_n "checking for fmodl declaration... " >&6; }
44295 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44296 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44297 $as_echo_n "(cached) " >&6
44298 else
44299
44300
44301 ac_ext=cpp
44302 ac_cpp='$CXXCPP $CPPFLAGS'
44303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44306
44307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44308 /* end confdefs.h. */
44309 #include <math.h>
44310 int
44311 main ()
44312 {
44313 fmodl(0, 0);
44314 ;
44315 return 0;
44316 }
44317 _ACEOF
44318 if ac_fn_cxx_try_compile "$LINENO"; then :
44319 glibcxx_cv_func_fmodl_use=yes
44320 else
44321 glibcxx_cv_func_fmodl_use=no
44322 fi
44323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44324 ac_ext=c
44325 ac_cpp='$CPP $CPPFLAGS'
44326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44329
44330
44331 fi
44332
44333 fi
44334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44335 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44336
44337 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44338 for ac_func in fmodl
44339 do :
44340 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44341 if test "x$ac_cv_func_fmodl" = x""yes; then :
44342 cat >>confdefs.h <<_ACEOF
44343 #define HAVE_FMODL 1
44344 _ACEOF
44345
44346 fi
44347 done
44348
44349 else
44350
44351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44352 $as_echo_n "checking for _fmodl declaration... " >&6; }
44353 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44354 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44355 $as_echo_n "(cached) " >&6
44356 else
44357
44358
44359 ac_ext=cpp
44360 ac_cpp='$CXXCPP $CPPFLAGS'
44361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44364
44365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44366 /* end confdefs.h. */
44367 #include <math.h>
44368 int
44369 main ()
44370 {
44371 _fmodl(0, 0);
44372 ;
44373 return 0;
44374 }
44375 _ACEOF
44376 if ac_fn_cxx_try_compile "$LINENO"; then :
44377 glibcxx_cv_func__fmodl_use=yes
44378 else
44379 glibcxx_cv_func__fmodl_use=no
44380 fi
44381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44382 ac_ext=c
44383 ac_cpp='$CPP $CPPFLAGS'
44384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44387
44388
44389 fi
44390
44391 fi
44392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44393 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44394
44395 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44396 for ac_func in _fmodl
44397 do :
44398 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44399 if test "x$ac_cv_func__fmodl" = x""yes; then :
44400 cat >>confdefs.h <<_ACEOF
44401 #define HAVE__FMODL 1
44402 _ACEOF
44403
44404 fi
44405 done
44406
44407 fi
44408 fi
44409
44410
44411
44412
44413
44414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44415 $as_echo_n "checking for frexpl declaration... " >&6; }
44416 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44417 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44418 $as_echo_n "(cached) " >&6
44419 else
44420
44421
44422 ac_ext=cpp
44423 ac_cpp='$CXXCPP $CPPFLAGS'
44424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44427
44428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44429 /* end confdefs.h. */
44430 #include <math.h>
44431 int
44432 main ()
44433 {
44434 frexpl(0, 0);
44435 ;
44436 return 0;
44437 }
44438 _ACEOF
44439 if ac_fn_cxx_try_compile "$LINENO"; then :
44440 glibcxx_cv_func_frexpl_use=yes
44441 else
44442 glibcxx_cv_func_frexpl_use=no
44443 fi
44444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44445 ac_ext=c
44446 ac_cpp='$CPP $CPPFLAGS'
44447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44450
44451
44452 fi
44453
44454 fi
44455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44456 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44457
44458 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44459 for ac_func in frexpl
44460 do :
44461 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44462 if test "x$ac_cv_func_frexpl" = x""yes; then :
44463 cat >>confdefs.h <<_ACEOF
44464 #define HAVE_FREXPL 1
44465 _ACEOF
44466
44467 fi
44468 done
44469
44470 else
44471
44472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44473 $as_echo_n "checking for _frexpl declaration... " >&6; }
44474 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44475 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44476 $as_echo_n "(cached) " >&6
44477 else
44478
44479
44480 ac_ext=cpp
44481 ac_cpp='$CXXCPP $CPPFLAGS'
44482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44485
44486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44487 /* end confdefs.h. */
44488 #include <math.h>
44489 int
44490 main ()
44491 {
44492 _frexpl(0, 0);
44493 ;
44494 return 0;
44495 }
44496 _ACEOF
44497 if ac_fn_cxx_try_compile "$LINENO"; then :
44498 glibcxx_cv_func__frexpl_use=yes
44499 else
44500 glibcxx_cv_func__frexpl_use=no
44501 fi
44502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44503 ac_ext=c
44504 ac_cpp='$CPP $CPPFLAGS'
44505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44508
44509
44510 fi
44511
44512 fi
44513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44514 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44515
44516 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44517 for ac_func in _frexpl
44518 do :
44519 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44520 if test "x$ac_cv_func__frexpl" = x""yes; then :
44521 cat >>confdefs.h <<_ACEOF
44522 #define HAVE__FREXPL 1
44523 _ACEOF
44524
44525 fi
44526 done
44527
44528 fi
44529 fi
44530
44531
44532
44533
44534
44535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44536 $as_echo_n "checking for hypotl declaration... " >&6; }
44537 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44538 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44539 $as_echo_n "(cached) " >&6
44540 else
44541
44542
44543 ac_ext=cpp
44544 ac_cpp='$CXXCPP $CPPFLAGS'
44545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44548
44549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44550 /* end confdefs.h. */
44551 #include <math.h>
44552 int
44553 main ()
44554 {
44555 hypotl(0, 0);
44556 ;
44557 return 0;
44558 }
44559 _ACEOF
44560 if ac_fn_cxx_try_compile "$LINENO"; then :
44561 glibcxx_cv_func_hypotl_use=yes
44562 else
44563 glibcxx_cv_func_hypotl_use=no
44564 fi
44565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44566 ac_ext=c
44567 ac_cpp='$CPP $CPPFLAGS'
44568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44571
44572
44573 fi
44574
44575 fi
44576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44577 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44578
44579 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44580 for ac_func in hypotl
44581 do :
44582 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44583 if test "x$ac_cv_func_hypotl" = x""yes; then :
44584 cat >>confdefs.h <<_ACEOF
44585 #define HAVE_HYPOTL 1
44586 _ACEOF
44587
44588 fi
44589 done
44590
44591 else
44592
44593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44594 $as_echo_n "checking for _hypotl declaration... " >&6; }
44595 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44596 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44597 $as_echo_n "(cached) " >&6
44598 else
44599
44600
44601 ac_ext=cpp
44602 ac_cpp='$CXXCPP $CPPFLAGS'
44603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44606
44607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44608 /* end confdefs.h. */
44609 #include <math.h>
44610 int
44611 main ()
44612 {
44613 _hypotl(0, 0);
44614 ;
44615 return 0;
44616 }
44617 _ACEOF
44618 if ac_fn_cxx_try_compile "$LINENO"; then :
44619 glibcxx_cv_func__hypotl_use=yes
44620 else
44621 glibcxx_cv_func__hypotl_use=no
44622 fi
44623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44624 ac_ext=c
44625 ac_cpp='$CPP $CPPFLAGS'
44626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44629
44630
44631 fi
44632
44633 fi
44634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44635 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44636
44637 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44638 for ac_func in _hypotl
44639 do :
44640 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44641 if test "x$ac_cv_func__hypotl" = x""yes; then :
44642 cat >>confdefs.h <<_ACEOF
44643 #define HAVE__HYPOTL 1
44644 _ACEOF
44645
44646 fi
44647 done
44648
44649 fi
44650 fi
44651
44652
44653
44654
44655
44656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44657 $as_echo_n "checking for ldexpl declaration... " >&6; }
44658 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44659 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44660 $as_echo_n "(cached) " >&6
44661 else
44662
44663
44664 ac_ext=cpp
44665 ac_cpp='$CXXCPP $CPPFLAGS'
44666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44669
44670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44671 /* end confdefs.h. */
44672 #include <math.h>
44673 int
44674 main ()
44675 {
44676 ldexpl(0, 0);
44677 ;
44678 return 0;
44679 }
44680 _ACEOF
44681 if ac_fn_cxx_try_compile "$LINENO"; then :
44682 glibcxx_cv_func_ldexpl_use=yes
44683 else
44684 glibcxx_cv_func_ldexpl_use=no
44685 fi
44686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44687 ac_ext=c
44688 ac_cpp='$CPP $CPPFLAGS'
44689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44692
44693
44694 fi
44695
44696 fi
44697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44698 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44699
44700 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44701 for ac_func in ldexpl
44702 do :
44703 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44704 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44705 cat >>confdefs.h <<_ACEOF
44706 #define HAVE_LDEXPL 1
44707 _ACEOF
44708
44709 fi
44710 done
44711
44712 else
44713
44714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44715 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44716 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44717 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44718 $as_echo_n "(cached) " >&6
44719 else
44720
44721
44722 ac_ext=cpp
44723 ac_cpp='$CXXCPP $CPPFLAGS'
44724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44727
44728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44729 /* end confdefs.h. */
44730 #include <math.h>
44731 int
44732 main ()
44733 {
44734 _ldexpl(0, 0);
44735 ;
44736 return 0;
44737 }
44738 _ACEOF
44739 if ac_fn_cxx_try_compile "$LINENO"; then :
44740 glibcxx_cv_func__ldexpl_use=yes
44741 else
44742 glibcxx_cv_func__ldexpl_use=no
44743 fi
44744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44745 ac_ext=c
44746 ac_cpp='$CPP $CPPFLAGS'
44747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44750
44751
44752 fi
44753
44754 fi
44755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44756 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44757
44758 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44759 for ac_func in _ldexpl
44760 do :
44761 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44762 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44763 cat >>confdefs.h <<_ACEOF
44764 #define HAVE__LDEXPL 1
44765 _ACEOF
44766
44767 fi
44768 done
44769
44770 fi
44771 fi
44772
44773
44774
44775
44776
44777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44778 $as_echo_n "checking for logl declaration... " >&6; }
44779 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44780 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44781 $as_echo_n "(cached) " >&6
44782 else
44783
44784
44785 ac_ext=cpp
44786 ac_cpp='$CXXCPP $CPPFLAGS'
44787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44790
44791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44792 /* end confdefs.h. */
44793 #include <math.h>
44794 #ifdef HAVE_IEEEFP_H
44795 #include <ieeefp.h>
44796 #endif
44797
44798 int
44799 main ()
44800 {
44801 logl(0);
44802 ;
44803 return 0;
44804 }
44805 _ACEOF
44806 if ac_fn_cxx_try_compile "$LINENO"; then :
44807 glibcxx_cv_func_logl_use=yes
44808 else
44809 glibcxx_cv_func_logl_use=no
44810 fi
44811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44812 ac_ext=c
44813 ac_cpp='$CPP $CPPFLAGS'
44814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44817
44818
44819 fi
44820
44821 fi
44822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44823 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44824
44825 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44826 for ac_func in logl
44827 do :
44828 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44829 if test "x$ac_cv_func_logl" = x""yes; then :
44830 cat >>confdefs.h <<_ACEOF
44831 #define HAVE_LOGL 1
44832 _ACEOF
44833
44834 fi
44835 done
44836
44837 else
44838
44839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44840 $as_echo_n "checking for _logl declaration... " >&6; }
44841 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44842 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44843 $as_echo_n "(cached) " >&6
44844 else
44845
44846
44847 ac_ext=cpp
44848 ac_cpp='$CXXCPP $CPPFLAGS'
44849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44852
44853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44854 /* end confdefs.h. */
44855 #include <math.h>
44856 #ifdef HAVE_IEEEFP_H
44857 #include <ieeefp.h>
44858 #endif
44859
44860 int
44861 main ()
44862 {
44863 _logl(0);
44864 ;
44865 return 0;
44866 }
44867 _ACEOF
44868 if ac_fn_cxx_try_compile "$LINENO"; then :
44869 glibcxx_cv_func__logl_use=yes
44870 else
44871 glibcxx_cv_func__logl_use=no
44872 fi
44873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44874 ac_ext=c
44875 ac_cpp='$CPP $CPPFLAGS'
44876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44879
44880
44881 fi
44882
44883 fi
44884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44885 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44886
44887 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44888 for ac_func in _logl
44889 do :
44890 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44891 if test "x$ac_cv_func__logl" = x""yes; then :
44892 cat >>confdefs.h <<_ACEOF
44893 #define HAVE__LOGL 1
44894 _ACEOF
44895
44896 fi
44897 done
44898
44899 fi
44900 fi
44901
44902
44903
44904
44905
44906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44907 $as_echo_n "checking for log10l declaration... " >&6; }
44908 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44909 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44910 $as_echo_n "(cached) " >&6
44911 else
44912
44913
44914 ac_ext=cpp
44915 ac_cpp='$CXXCPP $CPPFLAGS'
44916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44919
44920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44921 /* end confdefs.h. */
44922 #include <math.h>
44923 #ifdef HAVE_IEEEFP_H
44924 #include <ieeefp.h>
44925 #endif
44926
44927 int
44928 main ()
44929 {
44930 log10l(0);
44931 ;
44932 return 0;
44933 }
44934 _ACEOF
44935 if ac_fn_cxx_try_compile "$LINENO"; then :
44936 glibcxx_cv_func_log10l_use=yes
44937 else
44938 glibcxx_cv_func_log10l_use=no
44939 fi
44940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44941 ac_ext=c
44942 ac_cpp='$CPP $CPPFLAGS'
44943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44946
44947
44948 fi
44949
44950 fi
44951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44952 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44953
44954 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44955 for ac_func in log10l
44956 do :
44957 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44958 if test "x$ac_cv_func_log10l" = x""yes; then :
44959 cat >>confdefs.h <<_ACEOF
44960 #define HAVE_LOG10L 1
44961 _ACEOF
44962
44963 fi
44964 done
44965
44966 else
44967
44968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44969 $as_echo_n "checking for _log10l declaration... " >&6; }
44970 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44971 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44972 $as_echo_n "(cached) " >&6
44973 else
44974
44975
44976 ac_ext=cpp
44977 ac_cpp='$CXXCPP $CPPFLAGS'
44978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44981
44982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44983 /* end confdefs.h. */
44984 #include <math.h>
44985 #ifdef HAVE_IEEEFP_H
44986 #include <ieeefp.h>
44987 #endif
44988
44989 int
44990 main ()
44991 {
44992 _log10l(0);
44993 ;
44994 return 0;
44995 }
44996 _ACEOF
44997 if ac_fn_cxx_try_compile "$LINENO"; then :
44998 glibcxx_cv_func__log10l_use=yes
44999 else
45000 glibcxx_cv_func__log10l_use=no
45001 fi
45002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45003 ac_ext=c
45004 ac_cpp='$CPP $CPPFLAGS'
45005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45008
45009
45010 fi
45011
45012 fi
45013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45014 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45015
45016 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45017 for ac_func in _log10l
45018 do :
45019 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45020 if test "x$ac_cv_func__log10l" = x""yes; then :
45021 cat >>confdefs.h <<_ACEOF
45022 #define HAVE__LOG10L 1
45023 _ACEOF
45024
45025 fi
45026 done
45027
45028 fi
45029 fi
45030
45031
45032
45033
45034
45035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45036 $as_echo_n "checking for modfl declaration... " >&6; }
45037 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45038 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45039 $as_echo_n "(cached) " >&6
45040 else
45041
45042
45043 ac_ext=cpp
45044 ac_cpp='$CXXCPP $CPPFLAGS'
45045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45048
45049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45050 /* end confdefs.h. */
45051 #include <math.h>
45052 int
45053 main ()
45054 {
45055 modfl(0, 0);
45056 ;
45057 return 0;
45058 }
45059 _ACEOF
45060 if ac_fn_cxx_try_compile "$LINENO"; then :
45061 glibcxx_cv_func_modfl_use=yes
45062 else
45063 glibcxx_cv_func_modfl_use=no
45064 fi
45065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45066 ac_ext=c
45067 ac_cpp='$CPP $CPPFLAGS'
45068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45071
45072
45073 fi
45074
45075 fi
45076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45077 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45078
45079 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45080 for ac_func in modfl
45081 do :
45082 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45083 if test "x$ac_cv_func_modfl" = x""yes; then :
45084 cat >>confdefs.h <<_ACEOF
45085 #define HAVE_MODFL 1
45086 _ACEOF
45087
45088 fi
45089 done
45090
45091 else
45092
45093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45094 $as_echo_n "checking for _modfl declaration... " >&6; }
45095 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45096 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45097 $as_echo_n "(cached) " >&6
45098 else
45099
45100
45101 ac_ext=cpp
45102 ac_cpp='$CXXCPP $CPPFLAGS'
45103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45106
45107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45108 /* end confdefs.h. */
45109 #include <math.h>
45110 int
45111 main ()
45112 {
45113 _modfl(0, 0);
45114 ;
45115 return 0;
45116 }
45117 _ACEOF
45118 if ac_fn_cxx_try_compile "$LINENO"; then :
45119 glibcxx_cv_func__modfl_use=yes
45120 else
45121 glibcxx_cv_func__modfl_use=no
45122 fi
45123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45124 ac_ext=c
45125 ac_cpp='$CPP $CPPFLAGS'
45126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45129
45130
45131 fi
45132
45133 fi
45134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45135 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45136
45137 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45138 for ac_func in _modfl
45139 do :
45140 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45141 if test "x$ac_cv_func__modfl" = x""yes; then :
45142 cat >>confdefs.h <<_ACEOF
45143 #define HAVE__MODFL 1
45144 _ACEOF
45145
45146 fi
45147 done
45148
45149 fi
45150 fi
45151
45152
45153
45154
45155
45156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45157 $as_echo_n "checking for powl declaration... " >&6; }
45158 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45159 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45160 $as_echo_n "(cached) " >&6
45161 else
45162
45163
45164 ac_ext=cpp
45165 ac_cpp='$CXXCPP $CPPFLAGS'
45166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45169
45170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45171 /* end confdefs.h. */
45172 #include <math.h>
45173 int
45174 main ()
45175 {
45176 powl(0, 0);
45177 ;
45178 return 0;
45179 }
45180 _ACEOF
45181 if ac_fn_cxx_try_compile "$LINENO"; then :
45182 glibcxx_cv_func_powl_use=yes
45183 else
45184 glibcxx_cv_func_powl_use=no
45185 fi
45186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45187 ac_ext=c
45188 ac_cpp='$CPP $CPPFLAGS'
45189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45192
45193
45194 fi
45195
45196 fi
45197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45198 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45199
45200 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45201 for ac_func in powl
45202 do :
45203 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45204 if test "x$ac_cv_func_powl" = x""yes; then :
45205 cat >>confdefs.h <<_ACEOF
45206 #define HAVE_POWL 1
45207 _ACEOF
45208
45209 fi
45210 done
45211
45212 else
45213
45214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45215 $as_echo_n "checking for _powl declaration... " >&6; }
45216 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45217 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45218 $as_echo_n "(cached) " >&6
45219 else
45220
45221
45222 ac_ext=cpp
45223 ac_cpp='$CXXCPP $CPPFLAGS'
45224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45227
45228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45229 /* end confdefs.h. */
45230 #include <math.h>
45231 int
45232 main ()
45233 {
45234 _powl(0, 0);
45235 ;
45236 return 0;
45237 }
45238 _ACEOF
45239 if ac_fn_cxx_try_compile "$LINENO"; then :
45240 glibcxx_cv_func__powl_use=yes
45241 else
45242 glibcxx_cv_func__powl_use=no
45243 fi
45244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45245 ac_ext=c
45246 ac_cpp='$CPP $CPPFLAGS'
45247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45250
45251
45252 fi
45253
45254 fi
45255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45256 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45257
45258 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45259 for ac_func in _powl
45260 do :
45261 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45262 if test "x$ac_cv_func__powl" = x""yes; then :
45263 cat >>confdefs.h <<_ACEOF
45264 #define HAVE__POWL 1
45265 _ACEOF
45266
45267 fi
45268 done
45269
45270 fi
45271 fi
45272
45273
45274
45275
45276
45277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45278 $as_echo_n "checking for sqrtl declaration... " >&6; }
45279 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45280 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45281 $as_echo_n "(cached) " >&6
45282 else
45283
45284
45285 ac_ext=cpp
45286 ac_cpp='$CXXCPP $CPPFLAGS'
45287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45290
45291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45292 /* end confdefs.h. */
45293 #include <math.h>
45294 #ifdef HAVE_IEEEFP_H
45295 #include <ieeefp.h>
45296 #endif
45297
45298 int
45299 main ()
45300 {
45301 sqrtl(0);
45302 ;
45303 return 0;
45304 }
45305 _ACEOF
45306 if ac_fn_cxx_try_compile "$LINENO"; then :
45307 glibcxx_cv_func_sqrtl_use=yes
45308 else
45309 glibcxx_cv_func_sqrtl_use=no
45310 fi
45311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45312 ac_ext=c
45313 ac_cpp='$CPP $CPPFLAGS'
45314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45317
45318
45319 fi
45320
45321 fi
45322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45323 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45324
45325 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45326 for ac_func in sqrtl
45327 do :
45328 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45329 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45330 cat >>confdefs.h <<_ACEOF
45331 #define HAVE_SQRTL 1
45332 _ACEOF
45333
45334 fi
45335 done
45336
45337 else
45338
45339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45340 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45341 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45342 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45343 $as_echo_n "(cached) " >&6
45344 else
45345
45346
45347 ac_ext=cpp
45348 ac_cpp='$CXXCPP $CPPFLAGS'
45349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45352
45353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45354 /* end confdefs.h. */
45355 #include <math.h>
45356 #ifdef HAVE_IEEEFP_H
45357 #include <ieeefp.h>
45358 #endif
45359
45360 int
45361 main ()
45362 {
45363 _sqrtl(0);
45364 ;
45365 return 0;
45366 }
45367 _ACEOF
45368 if ac_fn_cxx_try_compile "$LINENO"; then :
45369 glibcxx_cv_func__sqrtl_use=yes
45370 else
45371 glibcxx_cv_func__sqrtl_use=no
45372 fi
45373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45374 ac_ext=c
45375 ac_cpp='$CPP $CPPFLAGS'
45376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45379
45380
45381 fi
45382
45383 fi
45384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45385 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45386
45387 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45388 for ac_func in _sqrtl
45389 do :
45390 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45391 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45392 cat >>confdefs.h <<_ACEOF
45393 #define HAVE__SQRTL 1
45394 _ACEOF
45395
45396 fi
45397 done
45398
45399 fi
45400 fi
45401
45402
45403
45404
45405
45406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45407 $as_echo_n "checking for sincosl declaration... " >&6; }
45408 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45409 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45410 $as_echo_n "(cached) " >&6
45411 else
45412
45413
45414 ac_ext=cpp
45415 ac_cpp='$CXXCPP $CPPFLAGS'
45416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45419
45420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45421 /* end confdefs.h. */
45422 #include <math.h>
45423 int
45424 main ()
45425 {
45426 sincosl(0, 0, 0);
45427 ;
45428 return 0;
45429 }
45430 _ACEOF
45431 if ac_fn_cxx_try_compile "$LINENO"; then :
45432 glibcxx_cv_func_sincosl_use=yes
45433 else
45434 glibcxx_cv_func_sincosl_use=no
45435 fi
45436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45437 ac_ext=c
45438 ac_cpp='$CPP $CPPFLAGS'
45439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45442
45443
45444 fi
45445
45446 fi
45447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45448 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45449
45450 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45451 for ac_func in sincosl
45452 do :
45453 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45454 if test "x$ac_cv_func_sincosl" = x""yes; then :
45455 cat >>confdefs.h <<_ACEOF
45456 #define HAVE_SINCOSL 1
45457 _ACEOF
45458
45459 fi
45460 done
45461
45462 else
45463
45464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45465 $as_echo_n "checking for _sincosl declaration... " >&6; }
45466 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45467 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45468 $as_echo_n "(cached) " >&6
45469 else
45470
45471
45472 ac_ext=cpp
45473 ac_cpp='$CXXCPP $CPPFLAGS'
45474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45477
45478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45479 /* end confdefs.h. */
45480 #include <math.h>
45481 int
45482 main ()
45483 {
45484 _sincosl(0, 0, 0);
45485 ;
45486 return 0;
45487 }
45488 _ACEOF
45489 if ac_fn_cxx_try_compile "$LINENO"; then :
45490 glibcxx_cv_func__sincosl_use=yes
45491 else
45492 glibcxx_cv_func__sincosl_use=no
45493 fi
45494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45495 ac_ext=c
45496 ac_cpp='$CPP $CPPFLAGS'
45497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45500
45501
45502 fi
45503
45504 fi
45505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45506 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45507
45508 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45509 for ac_func in _sincosl
45510 do :
45511 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45512 if test "x$ac_cv_func__sincosl" = x""yes; then :
45513 cat >>confdefs.h <<_ACEOF
45514 #define HAVE__SINCOSL 1
45515 _ACEOF
45516
45517 fi
45518 done
45519
45520 fi
45521 fi
45522
45523
45524
45525
45526
45527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45528 $as_echo_n "checking for finitel declaration... " >&6; }
45529 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45530 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45531 $as_echo_n "(cached) " >&6
45532 else
45533
45534
45535 ac_ext=cpp
45536 ac_cpp='$CXXCPP $CPPFLAGS'
45537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45540
45541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45542 /* end confdefs.h. */
45543 #include <math.h>
45544 #ifdef HAVE_IEEEFP_H
45545 #include <ieeefp.h>
45546 #endif
45547
45548 int
45549 main ()
45550 {
45551 finitel(0);
45552 ;
45553 return 0;
45554 }
45555 _ACEOF
45556 if ac_fn_cxx_try_compile "$LINENO"; then :
45557 glibcxx_cv_func_finitel_use=yes
45558 else
45559 glibcxx_cv_func_finitel_use=no
45560 fi
45561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45562 ac_ext=c
45563 ac_cpp='$CPP $CPPFLAGS'
45564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45567
45568
45569 fi
45570
45571 fi
45572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45573 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45574
45575 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45576 for ac_func in finitel
45577 do :
45578 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45579 if test "x$ac_cv_func_finitel" = x""yes; then :
45580 cat >>confdefs.h <<_ACEOF
45581 #define HAVE_FINITEL 1
45582 _ACEOF
45583
45584 fi
45585 done
45586
45587 else
45588
45589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45590 $as_echo_n "checking for _finitel declaration... " >&6; }
45591 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45592 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45593 $as_echo_n "(cached) " >&6
45594 else
45595
45596
45597 ac_ext=cpp
45598 ac_cpp='$CXXCPP $CPPFLAGS'
45599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45602
45603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45604 /* end confdefs.h. */
45605 #include <math.h>
45606 #ifdef HAVE_IEEEFP_H
45607 #include <ieeefp.h>
45608 #endif
45609
45610 int
45611 main ()
45612 {
45613 _finitel(0);
45614 ;
45615 return 0;
45616 }
45617 _ACEOF
45618 if ac_fn_cxx_try_compile "$LINENO"; then :
45619 glibcxx_cv_func__finitel_use=yes
45620 else
45621 glibcxx_cv_func__finitel_use=no
45622 fi
45623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45624 ac_ext=c
45625 ac_cpp='$CPP $CPPFLAGS'
45626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45629
45630
45631 fi
45632
45633 fi
45634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45635 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45636
45637 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45638 for ac_func in _finitel
45639 do :
45640 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45641 if test "x$ac_cv_func__finitel" = x""yes; then :
45642 cat >>confdefs.h <<_ACEOF
45643 #define HAVE__FINITEL 1
45644 _ACEOF
45645
45646 fi
45647 done
45648
45649 fi
45650 fi
45651
45652
45653
45654
45655 LIBS="$ac_save_LIBS"
45656 CXXFLAGS="$ac_save_CXXFLAGS"
45657
45658
45659 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45660 ac_save_CXXFLAGS="$CXXFLAGS"
45661 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45662
45663
45664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45665 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45666 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45667 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45668 $as_echo_n "(cached) " >&6
45669 else
45670
45671
45672 ac_ext=cpp
45673 ac_cpp='$CXXCPP $CPPFLAGS'
45674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45677
45678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45679 /* end confdefs.h. */
45680 #include <stdlib.h>
45681 int
45682 main ()
45683 {
45684 at_quick_exit(0);
45685 ;
45686 return 0;
45687 }
45688 _ACEOF
45689 if ac_fn_cxx_try_compile "$LINENO"; then :
45690 glibcxx_cv_func_at_quick_exit_use=yes
45691 else
45692 glibcxx_cv_func_at_quick_exit_use=no
45693 fi
45694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45695 ac_ext=c
45696 ac_cpp='$CPP $CPPFLAGS'
45697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45700
45701
45702 fi
45703
45704 fi
45705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45706 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45707 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45708 for ac_func in at_quick_exit
45709 do :
45710 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45711 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45712 cat >>confdefs.h <<_ACEOF
45713 #define HAVE_AT_QUICK_EXIT 1
45714 _ACEOF
45715
45716 fi
45717 done
45718
45719 fi
45720
45721
45722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45723 $as_echo_n "checking for quick_exit declaration... " >&6; }
45724 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45725 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45726 $as_echo_n "(cached) " >&6
45727 else
45728
45729
45730 ac_ext=cpp
45731 ac_cpp='$CXXCPP $CPPFLAGS'
45732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45735
45736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45737 /* end confdefs.h. */
45738 #include <stdlib.h>
45739 int
45740 main ()
45741 {
45742 quick_exit(0);
45743 ;
45744 return 0;
45745 }
45746 _ACEOF
45747 if ac_fn_cxx_try_compile "$LINENO"; then :
45748 glibcxx_cv_func_quick_exit_use=yes
45749 else
45750 glibcxx_cv_func_quick_exit_use=no
45751 fi
45752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45753 ac_ext=c
45754 ac_cpp='$CPP $CPPFLAGS'
45755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45758
45759
45760 fi
45761
45762 fi
45763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45764 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45765 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45766 for ac_func in quick_exit
45767 do :
45768 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45769 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45770 cat >>confdefs.h <<_ACEOF
45771 #define HAVE_QUICK_EXIT 1
45772 _ACEOF
45773
45774 fi
45775 done
45776
45777 fi
45778
45779
45780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45781 $as_echo_n "checking for strtold declaration... " >&6; }
45782 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45783 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45784 $as_echo_n "(cached) " >&6
45785 else
45786
45787
45788 ac_ext=cpp
45789 ac_cpp='$CXXCPP $CPPFLAGS'
45790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45793
45794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45795 /* end confdefs.h. */
45796 #include <stdlib.h>
45797 int
45798 main ()
45799 {
45800 strtold(0, 0);
45801 ;
45802 return 0;
45803 }
45804 _ACEOF
45805 if ac_fn_cxx_try_compile "$LINENO"; then :
45806 glibcxx_cv_func_strtold_use=yes
45807 else
45808 glibcxx_cv_func_strtold_use=no
45809 fi
45810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45811 ac_ext=c
45812 ac_cpp='$CPP $CPPFLAGS'
45813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45816
45817
45818 fi
45819
45820 fi
45821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45822 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45823 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45824 for ac_func in strtold
45825 do :
45826 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45827 if test "x$ac_cv_func_strtold" = x""yes; then :
45828 cat >>confdefs.h <<_ACEOF
45829 #define HAVE_STRTOLD 1
45830 _ACEOF
45831
45832 fi
45833 done
45834
45835 fi
45836
45837
45838
45839
45840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45841 $as_echo_n "checking for strtof declaration... " >&6; }
45842 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45843 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45844 $as_echo_n "(cached) " >&6
45845 else
45846
45847
45848 ac_ext=cpp
45849 ac_cpp='$CXXCPP $CPPFLAGS'
45850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45853
45854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45855 /* end confdefs.h. */
45856 #include <stdlib.h>
45857 int
45858 main ()
45859 {
45860 strtof(0, 0);
45861 ;
45862 return 0;
45863 }
45864 _ACEOF
45865 if ac_fn_cxx_try_compile "$LINENO"; then :
45866 glibcxx_cv_func_strtof_use=yes
45867 else
45868 glibcxx_cv_func_strtof_use=no
45869 fi
45870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45871 ac_ext=c
45872 ac_cpp='$CPP $CPPFLAGS'
45873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45876
45877
45878 fi
45879
45880 fi
45881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45882 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45883 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45884 for ac_func in strtof
45885 do :
45886 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45887 if test "x$ac_cv_func_strtof" = x""yes; then :
45888 cat >>confdefs.h <<_ACEOF
45889 #define HAVE_STRTOF 1
45890 _ACEOF
45891
45892 fi
45893 done
45894
45895 fi
45896
45897
45898
45899
45900 CXXFLAGS="$ac_save_CXXFLAGS"
45901
45902 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45903
45904 # We don't yet support AIX's TLS ABI.
45905 #GCC_CHECK_TLS
45906
45907
45908
45909
45910
45911 am_save_CPPFLAGS="$CPPFLAGS"
45912
45913 for element in $INCICONV; do
45914 haveit=
45915 for x in $CPPFLAGS; do
45916
45917 acl_save_prefix="$prefix"
45918 prefix="$acl_final_prefix"
45919 acl_save_exec_prefix="$exec_prefix"
45920 exec_prefix="$acl_final_exec_prefix"
45921 eval x=\"$x\"
45922 exec_prefix="$acl_save_exec_prefix"
45923 prefix="$acl_save_prefix"
45924
45925 if test "X$x" = "X$element"; then
45926 haveit=yes
45927 break
45928 fi
45929 done
45930 if test -z "$haveit"; then
45931 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45932 fi
45933 done
45934
45935
45936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45937 $as_echo_n "checking for iconv... " >&6; }
45938 if test "${am_cv_func_iconv+set}" = set; then :
45939 $as_echo_n "(cached) " >&6
45940 else
45941
45942 am_cv_func_iconv="no, consider installing GNU libiconv"
45943 am_cv_lib_iconv=no
45944 if test x$gcc_no_link = xyes; then
45945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45946 fi
45947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45948 /* end confdefs.h. */
45949 #include <stdlib.h>
45950 #include <iconv.h>
45951 int
45952 main ()
45953 {
45954 iconv_t cd = iconv_open("","");
45955 iconv(cd,NULL,NULL,NULL,NULL);
45956 iconv_close(cd);
45957 ;
45958 return 0;
45959 }
45960 _ACEOF
45961 if ac_fn_c_try_link "$LINENO"; then :
45962 am_cv_func_iconv=yes
45963 fi
45964 rm -f core conftest.err conftest.$ac_objext \
45965 conftest$ac_exeext conftest.$ac_ext
45966 if test "$am_cv_func_iconv" != yes; then
45967 am_save_LIBS="$LIBS"
45968 LIBS="$LIBS $LIBICONV"
45969 if test x$gcc_no_link = xyes; then
45970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45971 fi
45972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45973 /* end confdefs.h. */
45974 #include <stdlib.h>
45975 #include <iconv.h>
45976 int
45977 main ()
45978 {
45979 iconv_t cd = iconv_open("","");
45980 iconv(cd,NULL,NULL,NULL,NULL);
45981 iconv_close(cd);
45982 ;
45983 return 0;
45984 }
45985 _ACEOF
45986 if ac_fn_c_try_link "$LINENO"; then :
45987 am_cv_lib_iconv=yes
45988 am_cv_func_iconv=yes
45989 fi
45990 rm -f core conftest.err conftest.$ac_objext \
45991 conftest$ac_exeext conftest.$ac_ext
45992 LIBS="$am_save_LIBS"
45993 fi
45994
45995 fi
45996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
45997 $as_echo "$am_cv_func_iconv" >&6; }
45998 if test "$am_cv_func_iconv" = yes; then
45999
46000 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46001
46002 fi
46003 if test "$am_cv_lib_iconv" = yes; then
46004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46005 $as_echo_n "checking how to link with libiconv... " >&6; }
46006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46007 $as_echo "$LIBICONV" >&6; }
46008 else
46009 CPPFLAGS="$am_save_CPPFLAGS"
46010 LIBICONV=
46011 LTLIBICONV=
46012 fi
46013
46014
46015
46016 if test "$am_cv_func_iconv" = yes; then
46017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46018 $as_echo_n "checking for iconv declaration... " >&6; }
46019 if test "${am_cv_proto_iconv+set}" = set; then :
46020 $as_echo_n "(cached) " >&6
46021 else
46022
46023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46024 /* end confdefs.h. */
46025
46026 #include <stdlib.h>
46027 #include <iconv.h>
46028 extern
46029 #ifdef __cplusplus
46030 "C"
46031 #endif
46032 #if defined(__STDC__) || defined(__cplusplus)
46033 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46034 #else
46035 size_t iconv();
46036 #endif
46037
46038 int
46039 main ()
46040 {
46041
46042 ;
46043 return 0;
46044 }
46045 _ACEOF
46046 if ac_fn_c_try_compile "$LINENO"; then :
46047 am_cv_proto_iconv_arg1=""
46048 else
46049 am_cv_proto_iconv_arg1="const"
46050 fi
46051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46052 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);"
46053 fi
46054
46055 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46057 }$am_cv_proto_iconv" >&5
46058 $as_echo "${ac_t:-
46059 }$am_cv_proto_iconv" >&6; }
46060
46061 cat >>confdefs.h <<_ACEOF
46062 #define ICONV_CONST $am_cv_proto_iconv_arg1
46063 _ACEOF
46064
46065 fi
46066
46067 ;;
46068
46069 *-darwin*)
46070 # Darwin versions vary, but the linker should work in a cross environment,
46071 # so we just check for all the features here.
46072 # Check for available headers.
46073
46074 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46075
46076 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46077 ac_save_CXXFLAGS="$CXXFLAGS"
46078 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46079
46080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46081 $as_echo_n "checking for sin in -lm... " >&6; }
46082 if test "${ac_cv_lib_m_sin+set}" = set; then :
46083 $as_echo_n "(cached) " >&6
46084 else
46085 ac_check_lib_save_LIBS=$LIBS
46086 LIBS="-lm $LIBS"
46087 if test x$gcc_no_link = xyes; then
46088 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46089 fi
46090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46091 /* end confdefs.h. */
46092
46093 /* Override any GCC internal prototype to avoid an error.
46094 Use char because int might match the return type of a GCC
46095 builtin and then its argument prototype would still apply. */
46096 #ifdef __cplusplus
46097 extern "C"
46098 #endif
46099 char sin ();
46100 int
46101 main ()
46102 {
46103 return sin ();
46104 ;
46105 return 0;
46106 }
46107 _ACEOF
46108 if ac_fn_c_try_link "$LINENO"; then :
46109 ac_cv_lib_m_sin=yes
46110 else
46111 ac_cv_lib_m_sin=no
46112 fi
46113 rm -f core conftest.err conftest.$ac_objext \
46114 conftest$ac_exeext conftest.$ac_ext
46115 LIBS=$ac_check_lib_save_LIBS
46116 fi
46117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46118 $as_echo "$ac_cv_lib_m_sin" >&6; }
46119 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46120 libm="-lm"
46121 fi
46122
46123 ac_save_LIBS="$LIBS"
46124 LIBS="$LIBS $libm"
46125
46126
46127
46128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46129 $as_echo_n "checking for isinf declaration... " >&6; }
46130 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46131 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46132 $as_echo_n "(cached) " >&6
46133 else
46134
46135
46136 ac_ext=cpp
46137 ac_cpp='$CXXCPP $CPPFLAGS'
46138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46141
46142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46143 /* end confdefs.h. */
46144 #include <math.h>
46145 #ifdef HAVE_IEEEFP_H
46146 #include <ieeefp.h>
46147 #endif
46148
46149 int
46150 main ()
46151 {
46152 isinf(0);
46153 ;
46154 return 0;
46155 }
46156 _ACEOF
46157 if ac_fn_cxx_try_compile "$LINENO"; then :
46158 glibcxx_cv_func_isinf_use=yes
46159 else
46160 glibcxx_cv_func_isinf_use=no
46161 fi
46162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46163 ac_ext=c
46164 ac_cpp='$CPP $CPPFLAGS'
46165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46168
46169
46170 fi
46171
46172 fi
46173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46174 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46175
46176 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46177 for ac_func in isinf
46178 do :
46179 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46180 if test "x$ac_cv_func_isinf" = x""yes; then :
46181 cat >>confdefs.h <<_ACEOF
46182 #define HAVE_ISINF 1
46183 _ACEOF
46184
46185 fi
46186 done
46187
46188 else
46189
46190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46191 $as_echo_n "checking for _isinf declaration... " >&6; }
46192 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46193 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46194 $as_echo_n "(cached) " >&6
46195 else
46196
46197
46198 ac_ext=cpp
46199 ac_cpp='$CXXCPP $CPPFLAGS'
46200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46203
46204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46205 /* end confdefs.h. */
46206 #include <math.h>
46207 #ifdef HAVE_IEEEFP_H
46208 #include <ieeefp.h>
46209 #endif
46210
46211 int
46212 main ()
46213 {
46214 _isinf(0);
46215 ;
46216 return 0;
46217 }
46218 _ACEOF
46219 if ac_fn_cxx_try_compile "$LINENO"; then :
46220 glibcxx_cv_func__isinf_use=yes
46221 else
46222 glibcxx_cv_func__isinf_use=no
46223 fi
46224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46225 ac_ext=c
46226 ac_cpp='$CPP $CPPFLAGS'
46227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46230
46231
46232 fi
46233
46234 fi
46235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46236 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46237
46238 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46239 for ac_func in _isinf
46240 do :
46241 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46242 if test "x$ac_cv_func__isinf" = x""yes; then :
46243 cat >>confdefs.h <<_ACEOF
46244 #define HAVE__ISINF 1
46245 _ACEOF
46246
46247 fi
46248 done
46249
46250 fi
46251 fi
46252
46253
46254
46255
46256
46257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46258 $as_echo_n "checking for isnan declaration... " >&6; }
46259 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46260 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46261 $as_echo_n "(cached) " >&6
46262 else
46263
46264
46265 ac_ext=cpp
46266 ac_cpp='$CXXCPP $CPPFLAGS'
46267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46270
46271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46272 /* end confdefs.h. */
46273 #include <math.h>
46274 #ifdef HAVE_IEEEFP_H
46275 #include <ieeefp.h>
46276 #endif
46277
46278 int
46279 main ()
46280 {
46281 isnan(0);
46282 ;
46283 return 0;
46284 }
46285 _ACEOF
46286 if ac_fn_cxx_try_compile "$LINENO"; then :
46287 glibcxx_cv_func_isnan_use=yes
46288 else
46289 glibcxx_cv_func_isnan_use=no
46290 fi
46291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46292 ac_ext=c
46293 ac_cpp='$CPP $CPPFLAGS'
46294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46297
46298
46299 fi
46300
46301 fi
46302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46303 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46304
46305 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46306 for ac_func in isnan
46307 do :
46308 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46309 if test "x$ac_cv_func_isnan" = x""yes; then :
46310 cat >>confdefs.h <<_ACEOF
46311 #define HAVE_ISNAN 1
46312 _ACEOF
46313
46314 fi
46315 done
46316
46317 else
46318
46319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46320 $as_echo_n "checking for _isnan declaration... " >&6; }
46321 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46322 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46323 $as_echo_n "(cached) " >&6
46324 else
46325
46326
46327 ac_ext=cpp
46328 ac_cpp='$CXXCPP $CPPFLAGS'
46329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46332
46333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46334 /* end confdefs.h. */
46335 #include <math.h>
46336 #ifdef HAVE_IEEEFP_H
46337 #include <ieeefp.h>
46338 #endif
46339
46340 int
46341 main ()
46342 {
46343 _isnan(0);
46344 ;
46345 return 0;
46346 }
46347 _ACEOF
46348 if ac_fn_cxx_try_compile "$LINENO"; then :
46349 glibcxx_cv_func__isnan_use=yes
46350 else
46351 glibcxx_cv_func__isnan_use=no
46352 fi
46353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46354 ac_ext=c
46355 ac_cpp='$CPP $CPPFLAGS'
46356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46359
46360
46361 fi
46362
46363 fi
46364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46365 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46366
46367 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46368 for ac_func in _isnan
46369 do :
46370 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46371 if test "x$ac_cv_func__isnan" = x""yes; then :
46372 cat >>confdefs.h <<_ACEOF
46373 #define HAVE__ISNAN 1
46374 _ACEOF
46375
46376 fi
46377 done
46378
46379 fi
46380 fi
46381
46382
46383
46384
46385
46386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46387 $as_echo_n "checking for finite declaration... " >&6; }
46388 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46389 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46390 $as_echo_n "(cached) " >&6
46391 else
46392
46393
46394 ac_ext=cpp
46395 ac_cpp='$CXXCPP $CPPFLAGS'
46396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46399
46400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46401 /* end confdefs.h. */
46402 #include <math.h>
46403 #ifdef HAVE_IEEEFP_H
46404 #include <ieeefp.h>
46405 #endif
46406
46407 int
46408 main ()
46409 {
46410 finite(0);
46411 ;
46412 return 0;
46413 }
46414 _ACEOF
46415 if ac_fn_cxx_try_compile "$LINENO"; then :
46416 glibcxx_cv_func_finite_use=yes
46417 else
46418 glibcxx_cv_func_finite_use=no
46419 fi
46420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46421 ac_ext=c
46422 ac_cpp='$CPP $CPPFLAGS'
46423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46426
46427
46428 fi
46429
46430 fi
46431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46432 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46433
46434 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46435 for ac_func in finite
46436 do :
46437 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46438 if test "x$ac_cv_func_finite" = x""yes; then :
46439 cat >>confdefs.h <<_ACEOF
46440 #define HAVE_FINITE 1
46441 _ACEOF
46442
46443 fi
46444 done
46445
46446 else
46447
46448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46449 $as_echo_n "checking for _finite declaration... " >&6; }
46450 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46451 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46452 $as_echo_n "(cached) " >&6
46453 else
46454
46455
46456 ac_ext=cpp
46457 ac_cpp='$CXXCPP $CPPFLAGS'
46458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46461
46462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46463 /* end confdefs.h. */
46464 #include <math.h>
46465 #ifdef HAVE_IEEEFP_H
46466 #include <ieeefp.h>
46467 #endif
46468
46469 int
46470 main ()
46471 {
46472 _finite(0);
46473 ;
46474 return 0;
46475 }
46476 _ACEOF
46477 if ac_fn_cxx_try_compile "$LINENO"; then :
46478 glibcxx_cv_func__finite_use=yes
46479 else
46480 glibcxx_cv_func__finite_use=no
46481 fi
46482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46483 ac_ext=c
46484 ac_cpp='$CPP $CPPFLAGS'
46485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46488
46489
46490 fi
46491
46492 fi
46493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46494 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46495
46496 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46497 for ac_func in _finite
46498 do :
46499 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46500 if test "x$ac_cv_func__finite" = x""yes; then :
46501 cat >>confdefs.h <<_ACEOF
46502 #define HAVE__FINITE 1
46503 _ACEOF
46504
46505 fi
46506 done
46507
46508 fi
46509 fi
46510
46511
46512
46513
46514
46515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46516 $as_echo_n "checking for sincos declaration... " >&6; }
46517 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46518 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46519 $as_echo_n "(cached) " >&6
46520 else
46521
46522
46523 ac_ext=cpp
46524 ac_cpp='$CXXCPP $CPPFLAGS'
46525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46528
46529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46530 /* end confdefs.h. */
46531 #include <math.h>
46532 int
46533 main ()
46534 {
46535 sincos(0, 0, 0);
46536 ;
46537 return 0;
46538 }
46539 _ACEOF
46540 if ac_fn_cxx_try_compile "$LINENO"; then :
46541 glibcxx_cv_func_sincos_use=yes
46542 else
46543 glibcxx_cv_func_sincos_use=no
46544 fi
46545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46546 ac_ext=c
46547 ac_cpp='$CPP $CPPFLAGS'
46548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46551
46552
46553 fi
46554
46555 fi
46556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46557 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46558
46559 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46560 for ac_func in sincos
46561 do :
46562 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46563 if test "x$ac_cv_func_sincos" = x""yes; then :
46564 cat >>confdefs.h <<_ACEOF
46565 #define HAVE_SINCOS 1
46566 _ACEOF
46567
46568 fi
46569 done
46570
46571 else
46572
46573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46574 $as_echo_n "checking for _sincos declaration... " >&6; }
46575 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46576 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46577 $as_echo_n "(cached) " >&6
46578 else
46579
46580
46581 ac_ext=cpp
46582 ac_cpp='$CXXCPP $CPPFLAGS'
46583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46586
46587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46588 /* end confdefs.h. */
46589 #include <math.h>
46590 int
46591 main ()
46592 {
46593 _sincos(0, 0, 0);
46594 ;
46595 return 0;
46596 }
46597 _ACEOF
46598 if ac_fn_cxx_try_compile "$LINENO"; then :
46599 glibcxx_cv_func__sincos_use=yes
46600 else
46601 glibcxx_cv_func__sincos_use=no
46602 fi
46603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46604 ac_ext=c
46605 ac_cpp='$CPP $CPPFLAGS'
46606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46609
46610
46611 fi
46612
46613 fi
46614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46615 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46616
46617 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46618 for ac_func in _sincos
46619 do :
46620 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46621 if test "x$ac_cv_func__sincos" = x""yes; then :
46622 cat >>confdefs.h <<_ACEOF
46623 #define HAVE__SINCOS 1
46624 _ACEOF
46625
46626 fi
46627 done
46628
46629 fi
46630 fi
46631
46632
46633
46634
46635
46636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46637 $as_echo_n "checking for fpclass declaration... " >&6; }
46638 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46639 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46640 $as_echo_n "(cached) " >&6
46641 else
46642
46643
46644 ac_ext=cpp
46645 ac_cpp='$CXXCPP $CPPFLAGS'
46646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46649
46650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46651 /* end confdefs.h. */
46652 #include <math.h>
46653 #ifdef HAVE_IEEEFP_H
46654 #include <ieeefp.h>
46655 #endif
46656
46657 int
46658 main ()
46659 {
46660 fpclass(0);
46661 ;
46662 return 0;
46663 }
46664 _ACEOF
46665 if ac_fn_cxx_try_compile "$LINENO"; then :
46666 glibcxx_cv_func_fpclass_use=yes
46667 else
46668 glibcxx_cv_func_fpclass_use=no
46669 fi
46670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46671 ac_ext=c
46672 ac_cpp='$CPP $CPPFLAGS'
46673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46676
46677
46678 fi
46679
46680 fi
46681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46682 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46683
46684 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46685 for ac_func in fpclass
46686 do :
46687 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46688 if test "x$ac_cv_func_fpclass" = x""yes; then :
46689 cat >>confdefs.h <<_ACEOF
46690 #define HAVE_FPCLASS 1
46691 _ACEOF
46692
46693 fi
46694 done
46695
46696 else
46697
46698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46699 $as_echo_n "checking for _fpclass declaration... " >&6; }
46700 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46701 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46702 $as_echo_n "(cached) " >&6
46703 else
46704
46705
46706 ac_ext=cpp
46707 ac_cpp='$CXXCPP $CPPFLAGS'
46708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46711
46712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46713 /* end confdefs.h. */
46714 #include <math.h>
46715 #ifdef HAVE_IEEEFP_H
46716 #include <ieeefp.h>
46717 #endif
46718
46719 int
46720 main ()
46721 {
46722 _fpclass(0);
46723 ;
46724 return 0;
46725 }
46726 _ACEOF
46727 if ac_fn_cxx_try_compile "$LINENO"; then :
46728 glibcxx_cv_func__fpclass_use=yes
46729 else
46730 glibcxx_cv_func__fpclass_use=no
46731 fi
46732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46733 ac_ext=c
46734 ac_cpp='$CPP $CPPFLAGS'
46735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46738
46739
46740 fi
46741
46742 fi
46743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46744 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46745
46746 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46747 for ac_func in _fpclass
46748 do :
46749 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46750 if test "x$ac_cv_func__fpclass" = x""yes; then :
46751 cat >>confdefs.h <<_ACEOF
46752 #define HAVE__FPCLASS 1
46753 _ACEOF
46754
46755 fi
46756 done
46757
46758 fi
46759 fi
46760
46761
46762
46763
46764
46765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46766 $as_echo_n "checking for qfpclass declaration... " >&6; }
46767 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46768 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46769 $as_echo_n "(cached) " >&6
46770 else
46771
46772
46773 ac_ext=cpp
46774 ac_cpp='$CXXCPP $CPPFLAGS'
46775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46778
46779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46780 /* end confdefs.h. */
46781 #include <math.h>
46782 #ifdef HAVE_IEEEFP_H
46783 #include <ieeefp.h>
46784 #endif
46785
46786 int
46787 main ()
46788 {
46789 qfpclass(0);
46790 ;
46791 return 0;
46792 }
46793 _ACEOF
46794 if ac_fn_cxx_try_compile "$LINENO"; then :
46795 glibcxx_cv_func_qfpclass_use=yes
46796 else
46797 glibcxx_cv_func_qfpclass_use=no
46798 fi
46799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46800 ac_ext=c
46801 ac_cpp='$CPP $CPPFLAGS'
46802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46805
46806
46807 fi
46808
46809 fi
46810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46811 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46812
46813 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46814 for ac_func in qfpclass
46815 do :
46816 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46817 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46818 cat >>confdefs.h <<_ACEOF
46819 #define HAVE_QFPCLASS 1
46820 _ACEOF
46821
46822 fi
46823 done
46824
46825 else
46826
46827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46828 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46829 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46830 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46831 $as_echo_n "(cached) " >&6
46832 else
46833
46834
46835 ac_ext=cpp
46836 ac_cpp='$CXXCPP $CPPFLAGS'
46837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46840
46841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46842 /* end confdefs.h. */
46843 #include <math.h>
46844 #ifdef HAVE_IEEEFP_H
46845 #include <ieeefp.h>
46846 #endif
46847
46848 int
46849 main ()
46850 {
46851 _qfpclass(0);
46852 ;
46853 return 0;
46854 }
46855 _ACEOF
46856 if ac_fn_cxx_try_compile "$LINENO"; then :
46857 glibcxx_cv_func__qfpclass_use=yes
46858 else
46859 glibcxx_cv_func__qfpclass_use=no
46860 fi
46861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46862 ac_ext=c
46863 ac_cpp='$CPP $CPPFLAGS'
46864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46867
46868
46869 fi
46870
46871 fi
46872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46873 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46874
46875 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46876 for ac_func in _qfpclass
46877 do :
46878 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46879 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46880 cat >>confdefs.h <<_ACEOF
46881 #define HAVE__QFPCLASS 1
46882 _ACEOF
46883
46884 fi
46885 done
46886
46887 fi
46888 fi
46889
46890
46891
46892
46893
46894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46895 $as_echo_n "checking for hypot declaration... " >&6; }
46896 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46897 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46898 $as_echo_n "(cached) " >&6
46899 else
46900
46901
46902 ac_ext=cpp
46903 ac_cpp='$CXXCPP $CPPFLAGS'
46904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46907
46908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46909 /* end confdefs.h. */
46910 #include <math.h>
46911 int
46912 main ()
46913 {
46914 hypot(0, 0);
46915 ;
46916 return 0;
46917 }
46918 _ACEOF
46919 if ac_fn_cxx_try_compile "$LINENO"; then :
46920 glibcxx_cv_func_hypot_use=yes
46921 else
46922 glibcxx_cv_func_hypot_use=no
46923 fi
46924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46925 ac_ext=c
46926 ac_cpp='$CPP $CPPFLAGS'
46927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46930
46931
46932 fi
46933
46934 fi
46935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46936 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46937
46938 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46939 for ac_func in hypot
46940 do :
46941 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46942 if test "x$ac_cv_func_hypot" = x""yes; then :
46943 cat >>confdefs.h <<_ACEOF
46944 #define HAVE_HYPOT 1
46945 _ACEOF
46946
46947 fi
46948 done
46949
46950 else
46951
46952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46953 $as_echo_n "checking for _hypot declaration... " >&6; }
46954 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46955 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46956 $as_echo_n "(cached) " >&6
46957 else
46958
46959
46960 ac_ext=cpp
46961 ac_cpp='$CXXCPP $CPPFLAGS'
46962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46965
46966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46967 /* end confdefs.h. */
46968 #include <math.h>
46969 int
46970 main ()
46971 {
46972 _hypot(0, 0);
46973 ;
46974 return 0;
46975 }
46976 _ACEOF
46977 if ac_fn_cxx_try_compile "$LINENO"; then :
46978 glibcxx_cv_func__hypot_use=yes
46979 else
46980 glibcxx_cv_func__hypot_use=no
46981 fi
46982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46983 ac_ext=c
46984 ac_cpp='$CPP $CPPFLAGS'
46985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46988
46989
46990 fi
46991
46992 fi
46993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46994 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46995
46996 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46997 for ac_func in _hypot
46998 do :
46999 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47000 if test "x$ac_cv_func__hypot" = x""yes; then :
47001 cat >>confdefs.h <<_ACEOF
47002 #define HAVE__HYPOT 1
47003 _ACEOF
47004
47005 fi
47006 done
47007
47008 fi
47009 fi
47010
47011
47012
47013
47014
47015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47016 $as_echo_n "checking for float trig functions... " >&6; }
47017 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47018 $as_echo_n "(cached) " >&6
47019 else
47020
47021
47022 ac_ext=cpp
47023 ac_cpp='$CXXCPP $CPPFLAGS'
47024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47027
47028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47029 /* end confdefs.h. */
47030 #include <math.h>
47031 int
47032 main ()
47033 {
47034 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47035 ;
47036 return 0;
47037 }
47038 _ACEOF
47039 if ac_fn_cxx_try_compile "$LINENO"; then :
47040 glibcxx_cv_func_float_trig_use=yes
47041 else
47042 glibcxx_cv_func_float_trig_use=no
47043 fi
47044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47045 ac_ext=c
47046 ac_cpp='$CPP $CPPFLAGS'
47047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47050
47051 fi
47052
47053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47054 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47055 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47056 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47057 do :
47058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47060 eval as_val=\$$as_ac_var
47061 if test "x$as_val" = x""yes; then :
47062 cat >>confdefs.h <<_ACEOF
47063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47064 _ACEOF
47065
47066 fi
47067 done
47068
47069 else
47070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47071 $as_echo_n "checking for _float trig functions... " >&6; }
47072 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47073 $as_echo_n "(cached) " >&6
47074 else
47075
47076
47077 ac_ext=cpp
47078 ac_cpp='$CXXCPP $CPPFLAGS'
47079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47082
47083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47084 /* end confdefs.h. */
47085 #include <math.h>
47086 int
47087 main ()
47088 {
47089 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47090 ;
47091 return 0;
47092 }
47093 _ACEOF
47094 if ac_fn_cxx_try_compile "$LINENO"; then :
47095 glibcxx_cv_func__float_trig_use=yes
47096 else
47097 glibcxx_cv_func__float_trig_use=no
47098 fi
47099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47100 ac_ext=c
47101 ac_cpp='$CPP $CPPFLAGS'
47102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47105
47106 fi
47107
47108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47109 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47110 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47111 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47112 do :
47113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47115 eval as_val=\$$as_ac_var
47116 if test "x$as_val" = x""yes; then :
47117 cat >>confdefs.h <<_ACEOF
47118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47119 _ACEOF
47120
47121 fi
47122 done
47123
47124 fi
47125 fi
47126
47127
47128
47129
47130
47131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47132 $as_echo_n "checking for float round functions... " >&6; }
47133 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47134 $as_echo_n "(cached) " >&6
47135 else
47136
47137
47138 ac_ext=cpp
47139 ac_cpp='$CXXCPP $CPPFLAGS'
47140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47143
47144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47145 /* end confdefs.h. */
47146 #include <math.h>
47147 int
47148 main ()
47149 {
47150 ceilf (0); floorf (0);
47151 ;
47152 return 0;
47153 }
47154 _ACEOF
47155 if ac_fn_cxx_try_compile "$LINENO"; then :
47156 glibcxx_cv_func_float_round_use=yes
47157 else
47158 glibcxx_cv_func_float_round_use=no
47159 fi
47160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47161 ac_ext=c
47162 ac_cpp='$CPP $CPPFLAGS'
47163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47166
47167 fi
47168
47169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47170 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47171 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47172 for ac_func in ceilf floorf
47173 do :
47174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47176 eval as_val=\$$as_ac_var
47177 if test "x$as_val" = x""yes; then :
47178 cat >>confdefs.h <<_ACEOF
47179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47180 _ACEOF
47181
47182 fi
47183 done
47184
47185 else
47186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47187 $as_echo_n "checking for _float round functions... " >&6; }
47188 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47189 $as_echo_n "(cached) " >&6
47190 else
47191
47192
47193 ac_ext=cpp
47194 ac_cpp='$CXXCPP $CPPFLAGS'
47195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47198
47199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47200 /* end confdefs.h. */
47201 #include <math.h>
47202 int
47203 main ()
47204 {
47205 _ceilf (0); _floorf (0);
47206 ;
47207 return 0;
47208 }
47209 _ACEOF
47210 if ac_fn_cxx_try_compile "$LINENO"; then :
47211 glibcxx_cv_func__float_round_use=yes
47212 else
47213 glibcxx_cv_func__float_round_use=no
47214 fi
47215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47216 ac_ext=c
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47221
47222 fi
47223
47224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47225 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47226 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47227 for ac_func in _ceilf _floorf
47228 do :
47229 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47230 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47231 eval as_val=\$$as_ac_var
47232 if test "x$as_val" = x""yes; then :
47233 cat >>confdefs.h <<_ACEOF
47234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47235 _ACEOF
47236
47237 fi
47238 done
47239
47240 fi
47241 fi
47242
47243
47244
47245
47246
47247
47248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47249 $as_echo_n "checking for expf declaration... " >&6; }
47250 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47251 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47252 $as_echo_n "(cached) " >&6
47253 else
47254
47255
47256 ac_ext=cpp
47257 ac_cpp='$CXXCPP $CPPFLAGS'
47258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47261
47262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47263 /* end confdefs.h. */
47264 #include <math.h>
47265 #ifdef HAVE_IEEEFP_H
47266 #include <ieeefp.h>
47267 #endif
47268
47269 int
47270 main ()
47271 {
47272 expf(0);
47273 ;
47274 return 0;
47275 }
47276 _ACEOF
47277 if ac_fn_cxx_try_compile "$LINENO"; then :
47278 glibcxx_cv_func_expf_use=yes
47279 else
47280 glibcxx_cv_func_expf_use=no
47281 fi
47282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47283 ac_ext=c
47284 ac_cpp='$CPP $CPPFLAGS'
47285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47288
47289
47290 fi
47291
47292 fi
47293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47294 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47295
47296 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47297 for ac_func in expf
47298 do :
47299 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47300 if test "x$ac_cv_func_expf" = x""yes; then :
47301 cat >>confdefs.h <<_ACEOF
47302 #define HAVE_EXPF 1
47303 _ACEOF
47304
47305 fi
47306 done
47307
47308 else
47309
47310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47311 $as_echo_n "checking for _expf declaration... " >&6; }
47312 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47313 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47314 $as_echo_n "(cached) " >&6
47315 else
47316
47317
47318 ac_ext=cpp
47319 ac_cpp='$CXXCPP $CPPFLAGS'
47320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47323
47324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47325 /* end confdefs.h. */
47326 #include <math.h>
47327 #ifdef HAVE_IEEEFP_H
47328 #include <ieeefp.h>
47329 #endif
47330
47331 int
47332 main ()
47333 {
47334 _expf(0);
47335 ;
47336 return 0;
47337 }
47338 _ACEOF
47339 if ac_fn_cxx_try_compile "$LINENO"; then :
47340 glibcxx_cv_func__expf_use=yes
47341 else
47342 glibcxx_cv_func__expf_use=no
47343 fi
47344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47345 ac_ext=c
47346 ac_cpp='$CPP $CPPFLAGS'
47347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47350
47351
47352 fi
47353
47354 fi
47355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47356 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47357
47358 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47359 for ac_func in _expf
47360 do :
47361 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47362 if test "x$ac_cv_func__expf" = x""yes; then :
47363 cat >>confdefs.h <<_ACEOF
47364 #define HAVE__EXPF 1
47365 _ACEOF
47366
47367 fi
47368 done
47369
47370 fi
47371 fi
47372
47373
47374
47375
47376
47377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47378 $as_echo_n "checking for isnanf declaration... " >&6; }
47379 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47380 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47381 $as_echo_n "(cached) " >&6
47382 else
47383
47384
47385 ac_ext=cpp
47386 ac_cpp='$CXXCPP $CPPFLAGS'
47387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47390
47391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47392 /* end confdefs.h. */
47393 #include <math.h>
47394 #ifdef HAVE_IEEEFP_H
47395 #include <ieeefp.h>
47396 #endif
47397
47398 int
47399 main ()
47400 {
47401 isnanf(0);
47402 ;
47403 return 0;
47404 }
47405 _ACEOF
47406 if ac_fn_cxx_try_compile "$LINENO"; then :
47407 glibcxx_cv_func_isnanf_use=yes
47408 else
47409 glibcxx_cv_func_isnanf_use=no
47410 fi
47411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47412 ac_ext=c
47413 ac_cpp='$CPP $CPPFLAGS'
47414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47417
47418
47419 fi
47420
47421 fi
47422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47423 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47424
47425 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47426 for ac_func in isnanf
47427 do :
47428 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47429 if test "x$ac_cv_func_isnanf" = x""yes; then :
47430 cat >>confdefs.h <<_ACEOF
47431 #define HAVE_ISNANF 1
47432 _ACEOF
47433
47434 fi
47435 done
47436
47437 else
47438
47439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47440 $as_echo_n "checking for _isnanf declaration... " >&6; }
47441 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47442 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47443 $as_echo_n "(cached) " >&6
47444 else
47445
47446
47447 ac_ext=cpp
47448 ac_cpp='$CXXCPP $CPPFLAGS'
47449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47452
47453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47454 /* end confdefs.h. */
47455 #include <math.h>
47456 #ifdef HAVE_IEEEFP_H
47457 #include <ieeefp.h>
47458 #endif
47459
47460 int
47461 main ()
47462 {
47463 _isnanf(0);
47464 ;
47465 return 0;
47466 }
47467 _ACEOF
47468 if ac_fn_cxx_try_compile "$LINENO"; then :
47469 glibcxx_cv_func__isnanf_use=yes
47470 else
47471 glibcxx_cv_func__isnanf_use=no
47472 fi
47473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47474 ac_ext=c
47475 ac_cpp='$CPP $CPPFLAGS'
47476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47479
47480
47481 fi
47482
47483 fi
47484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47485 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47486
47487 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47488 for ac_func in _isnanf
47489 do :
47490 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47491 if test "x$ac_cv_func__isnanf" = x""yes; then :
47492 cat >>confdefs.h <<_ACEOF
47493 #define HAVE__ISNANF 1
47494 _ACEOF
47495
47496 fi
47497 done
47498
47499 fi
47500 fi
47501
47502
47503
47504
47505
47506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47507 $as_echo_n "checking for isinff declaration... " >&6; }
47508 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47509 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47510 $as_echo_n "(cached) " >&6
47511 else
47512
47513
47514 ac_ext=cpp
47515 ac_cpp='$CXXCPP $CPPFLAGS'
47516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47519
47520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47521 /* end confdefs.h. */
47522 #include <math.h>
47523 #ifdef HAVE_IEEEFP_H
47524 #include <ieeefp.h>
47525 #endif
47526
47527 int
47528 main ()
47529 {
47530 isinff(0);
47531 ;
47532 return 0;
47533 }
47534 _ACEOF
47535 if ac_fn_cxx_try_compile "$LINENO"; then :
47536 glibcxx_cv_func_isinff_use=yes
47537 else
47538 glibcxx_cv_func_isinff_use=no
47539 fi
47540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47541 ac_ext=c
47542 ac_cpp='$CPP $CPPFLAGS'
47543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47546
47547
47548 fi
47549
47550 fi
47551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47552 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47553
47554 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47555 for ac_func in isinff
47556 do :
47557 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47558 if test "x$ac_cv_func_isinff" = x""yes; then :
47559 cat >>confdefs.h <<_ACEOF
47560 #define HAVE_ISINFF 1
47561 _ACEOF
47562
47563 fi
47564 done
47565
47566 else
47567
47568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47569 $as_echo_n "checking for _isinff declaration... " >&6; }
47570 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47571 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47572 $as_echo_n "(cached) " >&6
47573 else
47574
47575
47576 ac_ext=cpp
47577 ac_cpp='$CXXCPP $CPPFLAGS'
47578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47581
47582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47583 /* end confdefs.h. */
47584 #include <math.h>
47585 #ifdef HAVE_IEEEFP_H
47586 #include <ieeefp.h>
47587 #endif
47588
47589 int
47590 main ()
47591 {
47592 _isinff(0);
47593 ;
47594 return 0;
47595 }
47596 _ACEOF
47597 if ac_fn_cxx_try_compile "$LINENO"; then :
47598 glibcxx_cv_func__isinff_use=yes
47599 else
47600 glibcxx_cv_func__isinff_use=no
47601 fi
47602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47603 ac_ext=c
47604 ac_cpp='$CPP $CPPFLAGS'
47605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47608
47609
47610 fi
47611
47612 fi
47613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47614 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47615
47616 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47617 for ac_func in _isinff
47618 do :
47619 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47620 if test "x$ac_cv_func__isinff" = x""yes; then :
47621 cat >>confdefs.h <<_ACEOF
47622 #define HAVE__ISINFF 1
47623 _ACEOF
47624
47625 fi
47626 done
47627
47628 fi
47629 fi
47630
47631
47632
47633
47634
47635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47636 $as_echo_n "checking for atan2f declaration... " >&6; }
47637 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47638 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47639 $as_echo_n "(cached) " >&6
47640 else
47641
47642
47643 ac_ext=cpp
47644 ac_cpp='$CXXCPP $CPPFLAGS'
47645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47648
47649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47650 /* end confdefs.h. */
47651 #include <math.h>
47652 int
47653 main ()
47654 {
47655 atan2f(0, 0);
47656 ;
47657 return 0;
47658 }
47659 _ACEOF
47660 if ac_fn_cxx_try_compile "$LINENO"; then :
47661 glibcxx_cv_func_atan2f_use=yes
47662 else
47663 glibcxx_cv_func_atan2f_use=no
47664 fi
47665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47666 ac_ext=c
47667 ac_cpp='$CPP $CPPFLAGS'
47668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47671
47672
47673 fi
47674
47675 fi
47676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47677 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47678
47679 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47680 for ac_func in atan2f
47681 do :
47682 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47683 if test "x$ac_cv_func_atan2f" = x""yes; then :
47684 cat >>confdefs.h <<_ACEOF
47685 #define HAVE_ATAN2F 1
47686 _ACEOF
47687
47688 fi
47689 done
47690
47691 else
47692
47693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47694 $as_echo_n "checking for _atan2f declaration... " >&6; }
47695 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47696 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47697 $as_echo_n "(cached) " >&6
47698 else
47699
47700
47701 ac_ext=cpp
47702 ac_cpp='$CXXCPP $CPPFLAGS'
47703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47706
47707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47708 /* end confdefs.h. */
47709 #include <math.h>
47710 int
47711 main ()
47712 {
47713 _atan2f(0, 0);
47714 ;
47715 return 0;
47716 }
47717 _ACEOF
47718 if ac_fn_cxx_try_compile "$LINENO"; then :
47719 glibcxx_cv_func__atan2f_use=yes
47720 else
47721 glibcxx_cv_func__atan2f_use=no
47722 fi
47723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47724 ac_ext=c
47725 ac_cpp='$CPP $CPPFLAGS'
47726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47729
47730
47731 fi
47732
47733 fi
47734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47735 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47736
47737 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47738 for ac_func in _atan2f
47739 do :
47740 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47741 if test "x$ac_cv_func__atan2f" = x""yes; then :
47742 cat >>confdefs.h <<_ACEOF
47743 #define HAVE__ATAN2F 1
47744 _ACEOF
47745
47746 fi
47747 done
47748
47749 fi
47750 fi
47751
47752
47753
47754
47755
47756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47757 $as_echo_n "checking for fabsf declaration... " >&6; }
47758 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47759 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47760 $as_echo_n "(cached) " >&6
47761 else
47762
47763
47764 ac_ext=cpp
47765 ac_cpp='$CXXCPP $CPPFLAGS'
47766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47769
47770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47771 /* end confdefs.h. */
47772 #include <math.h>
47773 #ifdef HAVE_IEEEFP_H
47774 #include <ieeefp.h>
47775 #endif
47776
47777 int
47778 main ()
47779 {
47780 fabsf(0);
47781 ;
47782 return 0;
47783 }
47784 _ACEOF
47785 if ac_fn_cxx_try_compile "$LINENO"; then :
47786 glibcxx_cv_func_fabsf_use=yes
47787 else
47788 glibcxx_cv_func_fabsf_use=no
47789 fi
47790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47791 ac_ext=c
47792 ac_cpp='$CPP $CPPFLAGS'
47793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47796
47797
47798 fi
47799
47800 fi
47801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47802 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47803
47804 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47805 for ac_func in fabsf
47806 do :
47807 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47808 if test "x$ac_cv_func_fabsf" = x""yes; then :
47809 cat >>confdefs.h <<_ACEOF
47810 #define HAVE_FABSF 1
47811 _ACEOF
47812
47813 fi
47814 done
47815
47816 else
47817
47818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47819 $as_echo_n "checking for _fabsf declaration... " >&6; }
47820 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47821 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47822 $as_echo_n "(cached) " >&6
47823 else
47824
47825
47826 ac_ext=cpp
47827 ac_cpp='$CXXCPP $CPPFLAGS'
47828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47831
47832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47833 /* end confdefs.h. */
47834 #include <math.h>
47835 #ifdef HAVE_IEEEFP_H
47836 #include <ieeefp.h>
47837 #endif
47838
47839 int
47840 main ()
47841 {
47842 _fabsf(0);
47843 ;
47844 return 0;
47845 }
47846 _ACEOF
47847 if ac_fn_cxx_try_compile "$LINENO"; then :
47848 glibcxx_cv_func__fabsf_use=yes
47849 else
47850 glibcxx_cv_func__fabsf_use=no
47851 fi
47852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47853 ac_ext=c
47854 ac_cpp='$CPP $CPPFLAGS'
47855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47858
47859
47860 fi
47861
47862 fi
47863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47864 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47865
47866 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47867 for ac_func in _fabsf
47868 do :
47869 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47870 if test "x$ac_cv_func__fabsf" = x""yes; then :
47871 cat >>confdefs.h <<_ACEOF
47872 #define HAVE__FABSF 1
47873 _ACEOF
47874
47875 fi
47876 done
47877
47878 fi
47879 fi
47880
47881
47882
47883
47884
47885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47886 $as_echo_n "checking for fmodf declaration... " >&6; }
47887 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47888 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47889 $as_echo_n "(cached) " >&6
47890 else
47891
47892
47893 ac_ext=cpp
47894 ac_cpp='$CXXCPP $CPPFLAGS'
47895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47898
47899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47900 /* end confdefs.h. */
47901 #include <math.h>
47902 int
47903 main ()
47904 {
47905 fmodf(0, 0);
47906 ;
47907 return 0;
47908 }
47909 _ACEOF
47910 if ac_fn_cxx_try_compile "$LINENO"; then :
47911 glibcxx_cv_func_fmodf_use=yes
47912 else
47913 glibcxx_cv_func_fmodf_use=no
47914 fi
47915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47916 ac_ext=c
47917 ac_cpp='$CPP $CPPFLAGS'
47918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47921
47922
47923 fi
47924
47925 fi
47926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47927 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47928
47929 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47930 for ac_func in fmodf
47931 do :
47932 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47933 if test "x$ac_cv_func_fmodf" = x""yes; then :
47934 cat >>confdefs.h <<_ACEOF
47935 #define HAVE_FMODF 1
47936 _ACEOF
47937
47938 fi
47939 done
47940
47941 else
47942
47943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47944 $as_echo_n "checking for _fmodf declaration... " >&6; }
47945 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47946 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47947 $as_echo_n "(cached) " >&6
47948 else
47949
47950
47951 ac_ext=cpp
47952 ac_cpp='$CXXCPP $CPPFLAGS'
47953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47956
47957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47958 /* end confdefs.h. */
47959 #include <math.h>
47960 int
47961 main ()
47962 {
47963 _fmodf(0, 0);
47964 ;
47965 return 0;
47966 }
47967 _ACEOF
47968 if ac_fn_cxx_try_compile "$LINENO"; then :
47969 glibcxx_cv_func__fmodf_use=yes
47970 else
47971 glibcxx_cv_func__fmodf_use=no
47972 fi
47973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47974 ac_ext=c
47975 ac_cpp='$CPP $CPPFLAGS'
47976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47979
47980
47981 fi
47982
47983 fi
47984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47985 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47986
47987 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47988 for ac_func in _fmodf
47989 do :
47990 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47991 if test "x$ac_cv_func__fmodf" = x""yes; then :
47992 cat >>confdefs.h <<_ACEOF
47993 #define HAVE__FMODF 1
47994 _ACEOF
47995
47996 fi
47997 done
47998
47999 fi
48000 fi
48001
48002
48003
48004
48005
48006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48007 $as_echo_n "checking for frexpf declaration... " >&6; }
48008 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48009 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48010 $as_echo_n "(cached) " >&6
48011 else
48012
48013
48014 ac_ext=cpp
48015 ac_cpp='$CXXCPP $CPPFLAGS'
48016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48019
48020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48021 /* end confdefs.h. */
48022 #include <math.h>
48023 int
48024 main ()
48025 {
48026 frexpf(0, 0);
48027 ;
48028 return 0;
48029 }
48030 _ACEOF
48031 if ac_fn_cxx_try_compile "$LINENO"; then :
48032 glibcxx_cv_func_frexpf_use=yes
48033 else
48034 glibcxx_cv_func_frexpf_use=no
48035 fi
48036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48037 ac_ext=c
48038 ac_cpp='$CPP $CPPFLAGS'
48039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48042
48043
48044 fi
48045
48046 fi
48047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48048 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48049
48050 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48051 for ac_func in frexpf
48052 do :
48053 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48054 if test "x$ac_cv_func_frexpf" = x""yes; then :
48055 cat >>confdefs.h <<_ACEOF
48056 #define HAVE_FREXPF 1
48057 _ACEOF
48058
48059 fi
48060 done
48061
48062 else
48063
48064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48065 $as_echo_n "checking for _frexpf declaration... " >&6; }
48066 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48067 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48068 $as_echo_n "(cached) " >&6
48069 else
48070
48071
48072 ac_ext=cpp
48073 ac_cpp='$CXXCPP $CPPFLAGS'
48074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48077
48078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48079 /* end confdefs.h. */
48080 #include <math.h>
48081 int
48082 main ()
48083 {
48084 _frexpf(0, 0);
48085 ;
48086 return 0;
48087 }
48088 _ACEOF
48089 if ac_fn_cxx_try_compile "$LINENO"; then :
48090 glibcxx_cv_func__frexpf_use=yes
48091 else
48092 glibcxx_cv_func__frexpf_use=no
48093 fi
48094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48095 ac_ext=c
48096 ac_cpp='$CPP $CPPFLAGS'
48097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48100
48101
48102 fi
48103
48104 fi
48105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48106 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48107
48108 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48109 for ac_func in _frexpf
48110 do :
48111 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48112 if test "x$ac_cv_func__frexpf" = x""yes; then :
48113 cat >>confdefs.h <<_ACEOF
48114 #define HAVE__FREXPF 1
48115 _ACEOF
48116
48117 fi
48118 done
48119
48120 fi
48121 fi
48122
48123
48124
48125
48126
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48128 $as_echo_n "checking for hypotf declaration... " >&6; }
48129 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48130 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48131 $as_echo_n "(cached) " >&6
48132 else
48133
48134
48135 ac_ext=cpp
48136 ac_cpp='$CXXCPP $CPPFLAGS'
48137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48140
48141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48142 /* end confdefs.h. */
48143 #include <math.h>
48144 int
48145 main ()
48146 {
48147 hypotf(0, 0);
48148 ;
48149 return 0;
48150 }
48151 _ACEOF
48152 if ac_fn_cxx_try_compile "$LINENO"; then :
48153 glibcxx_cv_func_hypotf_use=yes
48154 else
48155 glibcxx_cv_func_hypotf_use=no
48156 fi
48157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48158 ac_ext=c
48159 ac_cpp='$CPP $CPPFLAGS'
48160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48163
48164
48165 fi
48166
48167 fi
48168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48169 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48170
48171 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48172 for ac_func in hypotf
48173 do :
48174 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48175 if test "x$ac_cv_func_hypotf" = x""yes; then :
48176 cat >>confdefs.h <<_ACEOF
48177 #define HAVE_HYPOTF 1
48178 _ACEOF
48179
48180 fi
48181 done
48182
48183 else
48184
48185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48186 $as_echo_n "checking for _hypotf declaration... " >&6; }
48187 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48188 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48189 $as_echo_n "(cached) " >&6
48190 else
48191
48192
48193 ac_ext=cpp
48194 ac_cpp='$CXXCPP $CPPFLAGS'
48195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48198
48199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48200 /* end confdefs.h. */
48201 #include <math.h>
48202 int
48203 main ()
48204 {
48205 _hypotf(0, 0);
48206 ;
48207 return 0;
48208 }
48209 _ACEOF
48210 if ac_fn_cxx_try_compile "$LINENO"; then :
48211 glibcxx_cv_func__hypotf_use=yes
48212 else
48213 glibcxx_cv_func__hypotf_use=no
48214 fi
48215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48216 ac_ext=c
48217 ac_cpp='$CPP $CPPFLAGS'
48218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48221
48222
48223 fi
48224
48225 fi
48226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48227 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48228
48229 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48230 for ac_func in _hypotf
48231 do :
48232 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48233 if test "x$ac_cv_func__hypotf" = x""yes; then :
48234 cat >>confdefs.h <<_ACEOF
48235 #define HAVE__HYPOTF 1
48236 _ACEOF
48237
48238 fi
48239 done
48240
48241 fi
48242 fi
48243
48244
48245
48246
48247
48248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48249 $as_echo_n "checking for ldexpf declaration... " >&6; }
48250 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48251 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48252 $as_echo_n "(cached) " >&6
48253 else
48254
48255
48256 ac_ext=cpp
48257 ac_cpp='$CXXCPP $CPPFLAGS'
48258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48261
48262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48263 /* end confdefs.h. */
48264 #include <math.h>
48265 int
48266 main ()
48267 {
48268 ldexpf(0, 0);
48269 ;
48270 return 0;
48271 }
48272 _ACEOF
48273 if ac_fn_cxx_try_compile "$LINENO"; then :
48274 glibcxx_cv_func_ldexpf_use=yes
48275 else
48276 glibcxx_cv_func_ldexpf_use=no
48277 fi
48278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48279 ac_ext=c
48280 ac_cpp='$CPP $CPPFLAGS'
48281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48284
48285
48286 fi
48287
48288 fi
48289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48290 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48291
48292 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48293 for ac_func in ldexpf
48294 do :
48295 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48296 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48297 cat >>confdefs.h <<_ACEOF
48298 #define HAVE_LDEXPF 1
48299 _ACEOF
48300
48301 fi
48302 done
48303
48304 else
48305
48306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48307 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48308 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48309 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48310 $as_echo_n "(cached) " >&6
48311 else
48312
48313
48314 ac_ext=cpp
48315 ac_cpp='$CXXCPP $CPPFLAGS'
48316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48319
48320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48321 /* end confdefs.h. */
48322 #include <math.h>
48323 int
48324 main ()
48325 {
48326 _ldexpf(0, 0);
48327 ;
48328 return 0;
48329 }
48330 _ACEOF
48331 if ac_fn_cxx_try_compile "$LINENO"; then :
48332 glibcxx_cv_func__ldexpf_use=yes
48333 else
48334 glibcxx_cv_func__ldexpf_use=no
48335 fi
48336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48337 ac_ext=c
48338 ac_cpp='$CPP $CPPFLAGS'
48339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48342
48343
48344 fi
48345
48346 fi
48347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48348 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48349
48350 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48351 for ac_func in _ldexpf
48352 do :
48353 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48354 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48355 cat >>confdefs.h <<_ACEOF
48356 #define HAVE__LDEXPF 1
48357 _ACEOF
48358
48359 fi
48360 done
48361
48362 fi
48363 fi
48364
48365
48366
48367
48368
48369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48370 $as_echo_n "checking for logf declaration... " >&6; }
48371 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48372 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48373 $as_echo_n "(cached) " >&6
48374 else
48375
48376
48377 ac_ext=cpp
48378 ac_cpp='$CXXCPP $CPPFLAGS'
48379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48382
48383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48384 /* end confdefs.h. */
48385 #include <math.h>
48386 #ifdef HAVE_IEEEFP_H
48387 #include <ieeefp.h>
48388 #endif
48389
48390 int
48391 main ()
48392 {
48393 logf(0);
48394 ;
48395 return 0;
48396 }
48397 _ACEOF
48398 if ac_fn_cxx_try_compile "$LINENO"; then :
48399 glibcxx_cv_func_logf_use=yes
48400 else
48401 glibcxx_cv_func_logf_use=no
48402 fi
48403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48404 ac_ext=c
48405 ac_cpp='$CPP $CPPFLAGS'
48406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48409
48410
48411 fi
48412
48413 fi
48414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48415 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48416
48417 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48418 for ac_func in logf
48419 do :
48420 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48421 if test "x$ac_cv_func_logf" = x""yes; then :
48422 cat >>confdefs.h <<_ACEOF
48423 #define HAVE_LOGF 1
48424 _ACEOF
48425
48426 fi
48427 done
48428
48429 else
48430
48431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48432 $as_echo_n "checking for _logf declaration... " >&6; }
48433 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48434 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48435 $as_echo_n "(cached) " >&6
48436 else
48437
48438
48439 ac_ext=cpp
48440 ac_cpp='$CXXCPP $CPPFLAGS'
48441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48444
48445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48446 /* end confdefs.h. */
48447 #include <math.h>
48448 #ifdef HAVE_IEEEFP_H
48449 #include <ieeefp.h>
48450 #endif
48451
48452 int
48453 main ()
48454 {
48455 _logf(0);
48456 ;
48457 return 0;
48458 }
48459 _ACEOF
48460 if ac_fn_cxx_try_compile "$LINENO"; then :
48461 glibcxx_cv_func__logf_use=yes
48462 else
48463 glibcxx_cv_func__logf_use=no
48464 fi
48465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48466 ac_ext=c
48467 ac_cpp='$CPP $CPPFLAGS'
48468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48471
48472
48473 fi
48474
48475 fi
48476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48477 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48478
48479 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48480 for ac_func in _logf
48481 do :
48482 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48483 if test "x$ac_cv_func__logf" = x""yes; then :
48484 cat >>confdefs.h <<_ACEOF
48485 #define HAVE__LOGF 1
48486 _ACEOF
48487
48488 fi
48489 done
48490
48491 fi
48492 fi
48493
48494
48495
48496
48497
48498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48499 $as_echo_n "checking for log10f declaration... " >&6; }
48500 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48501 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48502 $as_echo_n "(cached) " >&6
48503 else
48504
48505
48506 ac_ext=cpp
48507 ac_cpp='$CXXCPP $CPPFLAGS'
48508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48511
48512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48513 /* end confdefs.h. */
48514 #include <math.h>
48515 #ifdef HAVE_IEEEFP_H
48516 #include <ieeefp.h>
48517 #endif
48518
48519 int
48520 main ()
48521 {
48522 log10f(0);
48523 ;
48524 return 0;
48525 }
48526 _ACEOF
48527 if ac_fn_cxx_try_compile "$LINENO"; then :
48528 glibcxx_cv_func_log10f_use=yes
48529 else
48530 glibcxx_cv_func_log10f_use=no
48531 fi
48532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48533 ac_ext=c
48534 ac_cpp='$CPP $CPPFLAGS'
48535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48538
48539
48540 fi
48541
48542 fi
48543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48544 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48545
48546 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48547 for ac_func in log10f
48548 do :
48549 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48550 if test "x$ac_cv_func_log10f" = x""yes; then :
48551 cat >>confdefs.h <<_ACEOF
48552 #define HAVE_LOG10F 1
48553 _ACEOF
48554
48555 fi
48556 done
48557
48558 else
48559
48560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48561 $as_echo_n "checking for _log10f declaration... " >&6; }
48562 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48563 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48564 $as_echo_n "(cached) " >&6
48565 else
48566
48567
48568 ac_ext=cpp
48569 ac_cpp='$CXXCPP $CPPFLAGS'
48570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48573
48574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48575 /* end confdefs.h. */
48576 #include <math.h>
48577 #ifdef HAVE_IEEEFP_H
48578 #include <ieeefp.h>
48579 #endif
48580
48581 int
48582 main ()
48583 {
48584 _log10f(0);
48585 ;
48586 return 0;
48587 }
48588 _ACEOF
48589 if ac_fn_cxx_try_compile "$LINENO"; then :
48590 glibcxx_cv_func__log10f_use=yes
48591 else
48592 glibcxx_cv_func__log10f_use=no
48593 fi
48594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48595 ac_ext=c
48596 ac_cpp='$CPP $CPPFLAGS'
48597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48600
48601
48602 fi
48603
48604 fi
48605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48606 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48607
48608 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48609 for ac_func in _log10f
48610 do :
48611 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48612 if test "x$ac_cv_func__log10f" = x""yes; then :
48613 cat >>confdefs.h <<_ACEOF
48614 #define HAVE__LOG10F 1
48615 _ACEOF
48616
48617 fi
48618 done
48619
48620 fi
48621 fi
48622
48623
48624
48625
48626
48627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48628 $as_echo_n "checking for modff declaration... " >&6; }
48629 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48630 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48631 $as_echo_n "(cached) " >&6
48632 else
48633
48634
48635 ac_ext=cpp
48636 ac_cpp='$CXXCPP $CPPFLAGS'
48637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48640
48641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48642 /* end confdefs.h. */
48643 #include <math.h>
48644 int
48645 main ()
48646 {
48647 modff(0, 0);
48648 ;
48649 return 0;
48650 }
48651 _ACEOF
48652 if ac_fn_cxx_try_compile "$LINENO"; then :
48653 glibcxx_cv_func_modff_use=yes
48654 else
48655 glibcxx_cv_func_modff_use=no
48656 fi
48657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48658 ac_ext=c
48659 ac_cpp='$CPP $CPPFLAGS'
48660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48663
48664
48665 fi
48666
48667 fi
48668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48669 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48670
48671 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48672 for ac_func in modff
48673 do :
48674 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48675 if test "x$ac_cv_func_modff" = x""yes; then :
48676 cat >>confdefs.h <<_ACEOF
48677 #define HAVE_MODFF 1
48678 _ACEOF
48679
48680 fi
48681 done
48682
48683 else
48684
48685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48686 $as_echo_n "checking for _modff declaration... " >&6; }
48687 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48688 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48689 $as_echo_n "(cached) " >&6
48690 else
48691
48692
48693 ac_ext=cpp
48694 ac_cpp='$CXXCPP $CPPFLAGS'
48695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48698
48699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48700 /* end confdefs.h. */
48701 #include <math.h>
48702 int
48703 main ()
48704 {
48705 _modff(0, 0);
48706 ;
48707 return 0;
48708 }
48709 _ACEOF
48710 if ac_fn_cxx_try_compile "$LINENO"; then :
48711 glibcxx_cv_func__modff_use=yes
48712 else
48713 glibcxx_cv_func__modff_use=no
48714 fi
48715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48716 ac_ext=c
48717 ac_cpp='$CPP $CPPFLAGS'
48718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48721
48722
48723 fi
48724
48725 fi
48726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48727 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48728
48729 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48730 for ac_func in _modff
48731 do :
48732 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48733 if test "x$ac_cv_func__modff" = x""yes; then :
48734 cat >>confdefs.h <<_ACEOF
48735 #define HAVE__MODFF 1
48736 _ACEOF
48737
48738 fi
48739 done
48740
48741 fi
48742 fi
48743
48744
48745
48746
48747
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48749 $as_echo_n "checking for modf declaration... " >&6; }
48750 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48751 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48752 $as_echo_n "(cached) " >&6
48753 else
48754
48755
48756 ac_ext=cpp
48757 ac_cpp='$CXXCPP $CPPFLAGS'
48758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48761
48762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48763 /* end confdefs.h. */
48764 #include <math.h>
48765 int
48766 main ()
48767 {
48768 modf(0, 0);
48769 ;
48770 return 0;
48771 }
48772 _ACEOF
48773 if ac_fn_cxx_try_compile "$LINENO"; then :
48774 glibcxx_cv_func_modf_use=yes
48775 else
48776 glibcxx_cv_func_modf_use=no
48777 fi
48778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48779 ac_ext=c
48780 ac_cpp='$CPP $CPPFLAGS'
48781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48784
48785
48786 fi
48787
48788 fi
48789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48790 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48791
48792 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48793 for ac_func in modf
48794 do :
48795 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48796 if test "x$ac_cv_func_modf" = x""yes; then :
48797 cat >>confdefs.h <<_ACEOF
48798 #define HAVE_MODF 1
48799 _ACEOF
48800
48801 fi
48802 done
48803
48804 else
48805
48806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48807 $as_echo_n "checking for _modf declaration... " >&6; }
48808 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48809 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48810 $as_echo_n "(cached) " >&6
48811 else
48812
48813
48814 ac_ext=cpp
48815 ac_cpp='$CXXCPP $CPPFLAGS'
48816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48819
48820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48821 /* end confdefs.h. */
48822 #include <math.h>
48823 int
48824 main ()
48825 {
48826 _modf(0, 0);
48827 ;
48828 return 0;
48829 }
48830 _ACEOF
48831 if ac_fn_cxx_try_compile "$LINENO"; then :
48832 glibcxx_cv_func__modf_use=yes
48833 else
48834 glibcxx_cv_func__modf_use=no
48835 fi
48836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48837 ac_ext=c
48838 ac_cpp='$CPP $CPPFLAGS'
48839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48842
48843
48844 fi
48845
48846 fi
48847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48848 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48849
48850 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48851 for ac_func in _modf
48852 do :
48853 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48854 if test "x$ac_cv_func__modf" = x""yes; then :
48855 cat >>confdefs.h <<_ACEOF
48856 #define HAVE__MODF 1
48857 _ACEOF
48858
48859 fi
48860 done
48861
48862 fi
48863 fi
48864
48865
48866
48867
48868
48869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48870 $as_echo_n "checking for powf declaration... " >&6; }
48871 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48872 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48873 $as_echo_n "(cached) " >&6
48874 else
48875
48876
48877 ac_ext=cpp
48878 ac_cpp='$CXXCPP $CPPFLAGS'
48879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48882
48883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48884 /* end confdefs.h. */
48885 #include <math.h>
48886 int
48887 main ()
48888 {
48889 powf(0, 0);
48890 ;
48891 return 0;
48892 }
48893 _ACEOF
48894 if ac_fn_cxx_try_compile "$LINENO"; then :
48895 glibcxx_cv_func_powf_use=yes
48896 else
48897 glibcxx_cv_func_powf_use=no
48898 fi
48899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48900 ac_ext=c
48901 ac_cpp='$CPP $CPPFLAGS'
48902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48905
48906
48907 fi
48908
48909 fi
48910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48911 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48912
48913 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48914 for ac_func in powf
48915 do :
48916 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48917 if test "x$ac_cv_func_powf" = x""yes; then :
48918 cat >>confdefs.h <<_ACEOF
48919 #define HAVE_POWF 1
48920 _ACEOF
48921
48922 fi
48923 done
48924
48925 else
48926
48927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48928 $as_echo_n "checking for _powf declaration... " >&6; }
48929 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48930 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48931 $as_echo_n "(cached) " >&6
48932 else
48933
48934
48935 ac_ext=cpp
48936 ac_cpp='$CXXCPP $CPPFLAGS'
48937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48940
48941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48942 /* end confdefs.h. */
48943 #include <math.h>
48944 int
48945 main ()
48946 {
48947 _powf(0, 0);
48948 ;
48949 return 0;
48950 }
48951 _ACEOF
48952 if ac_fn_cxx_try_compile "$LINENO"; then :
48953 glibcxx_cv_func__powf_use=yes
48954 else
48955 glibcxx_cv_func__powf_use=no
48956 fi
48957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48958 ac_ext=c
48959 ac_cpp='$CPP $CPPFLAGS'
48960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48963
48964
48965 fi
48966
48967 fi
48968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48969 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48970
48971 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48972 for ac_func in _powf
48973 do :
48974 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48975 if test "x$ac_cv_func__powf" = x""yes; then :
48976 cat >>confdefs.h <<_ACEOF
48977 #define HAVE__POWF 1
48978 _ACEOF
48979
48980 fi
48981 done
48982
48983 fi
48984 fi
48985
48986
48987
48988
48989
48990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48991 $as_echo_n "checking for sqrtf declaration... " >&6; }
48992 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48993 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48994 $as_echo_n "(cached) " >&6
48995 else
48996
48997
48998 ac_ext=cpp
48999 ac_cpp='$CXXCPP $CPPFLAGS'
49000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49003
49004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49005 /* end confdefs.h. */
49006 #include <math.h>
49007 #ifdef HAVE_IEEEFP_H
49008 #include <ieeefp.h>
49009 #endif
49010
49011 int
49012 main ()
49013 {
49014 sqrtf(0);
49015 ;
49016 return 0;
49017 }
49018 _ACEOF
49019 if ac_fn_cxx_try_compile "$LINENO"; then :
49020 glibcxx_cv_func_sqrtf_use=yes
49021 else
49022 glibcxx_cv_func_sqrtf_use=no
49023 fi
49024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49025 ac_ext=c
49026 ac_cpp='$CPP $CPPFLAGS'
49027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49030
49031
49032 fi
49033
49034 fi
49035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49036 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49037
49038 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49039 for ac_func in sqrtf
49040 do :
49041 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49042 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49043 cat >>confdefs.h <<_ACEOF
49044 #define HAVE_SQRTF 1
49045 _ACEOF
49046
49047 fi
49048 done
49049
49050 else
49051
49052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49053 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49054 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49055 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49056 $as_echo_n "(cached) " >&6
49057 else
49058
49059
49060 ac_ext=cpp
49061 ac_cpp='$CXXCPP $CPPFLAGS'
49062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49065
49066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49067 /* end confdefs.h. */
49068 #include <math.h>
49069 #ifdef HAVE_IEEEFP_H
49070 #include <ieeefp.h>
49071 #endif
49072
49073 int
49074 main ()
49075 {
49076 _sqrtf(0);
49077 ;
49078 return 0;
49079 }
49080 _ACEOF
49081 if ac_fn_cxx_try_compile "$LINENO"; then :
49082 glibcxx_cv_func__sqrtf_use=yes
49083 else
49084 glibcxx_cv_func__sqrtf_use=no
49085 fi
49086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49087 ac_ext=c
49088 ac_cpp='$CPP $CPPFLAGS'
49089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49092
49093
49094 fi
49095
49096 fi
49097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49098 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49099
49100 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49101 for ac_func in _sqrtf
49102 do :
49103 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49104 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49105 cat >>confdefs.h <<_ACEOF
49106 #define HAVE__SQRTF 1
49107 _ACEOF
49108
49109 fi
49110 done
49111
49112 fi
49113 fi
49114
49115
49116
49117
49118
49119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49120 $as_echo_n "checking for sincosf declaration... " >&6; }
49121 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49122 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49123 $as_echo_n "(cached) " >&6
49124 else
49125
49126
49127 ac_ext=cpp
49128 ac_cpp='$CXXCPP $CPPFLAGS'
49129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49132
49133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49134 /* end confdefs.h. */
49135 #include <math.h>
49136 int
49137 main ()
49138 {
49139 sincosf(0, 0, 0);
49140 ;
49141 return 0;
49142 }
49143 _ACEOF
49144 if ac_fn_cxx_try_compile "$LINENO"; then :
49145 glibcxx_cv_func_sincosf_use=yes
49146 else
49147 glibcxx_cv_func_sincosf_use=no
49148 fi
49149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49150 ac_ext=c
49151 ac_cpp='$CPP $CPPFLAGS'
49152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49155
49156
49157 fi
49158
49159 fi
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49161 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49162
49163 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49164 for ac_func in sincosf
49165 do :
49166 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49167 if test "x$ac_cv_func_sincosf" = x""yes; then :
49168 cat >>confdefs.h <<_ACEOF
49169 #define HAVE_SINCOSF 1
49170 _ACEOF
49171
49172 fi
49173 done
49174
49175 else
49176
49177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49178 $as_echo_n "checking for _sincosf declaration... " >&6; }
49179 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49180 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49181 $as_echo_n "(cached) " >&6
49182 else
49183
49184
49185 ac_ext=cpp
49186 ac_cpp='$CXXCPP $CPPFLAGS'
49187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49190
49191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49192 /* end confdefs.h. */
49193 #include <math.h>
49194 int
49195 main ()
49196 {
49197 _sincosf(0, 0, 0);
49198 ;
49199 return 0;
49200 }
49201 _ACEOF
49202 if ac_fn_cxx_try_compile "$LINENO"; then :
49203 glibcxx_cv_func__sincosf_use=yes
49204 else
49205 glibcxx_cv_func__sincosf_use=no
49206 fi
49207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49208 ac_ext=c
49209 ac_cpp='$CPP $CPPFLAGS'
49210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49213
49214
49215 fi
49216
49217 fi
49218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49219 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49220
49221 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49222 for ac_func in _sincosf
49223 do :
49224 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49225 if test "x$ac_cv_func__sincosf" = x""yes; then :
49226 cat >>confdefs.h <<_ACEOF
49227 #define HAVE__SINCOSF 1
49228 _ACEOF
49229
49230 fi
49231 done
49232
49233 fi
49234 fi
49235
49236
49237
49238
49239
49240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49241 $as_echo_n "checking for finitef declaration... " >&6; }
49242 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49243 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49244 $as_echo_n "(cached) " >&6
49245 else
49246
49247
49248 ac_ext=cpp
49249 ac_cpp='$CXXCPP $CPPFLAGS'
49250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49253
49254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49255 /* end confdefs.h. */
49256 #include <math.h>
49257 #ifdef HAVE_IEEEFP_H
49258 #include <ieeefp.h>
49259 #endif
49260
49261 int
49262 main ()
49263 {
49264 finitef(0);
49265 ;
49266 return 0;
49267 }
49268 _ACEOF
49269 if ac_fn_cxx_try_compile "$LINENO"; then :
49270 glibcxx_cv_func_finitef_use=yes
49271 else
49272 glibcxx_cv_func_finitef_use=no
49273 fi
49274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49275 ac_ext=c
49276 ac_cpp='$CPP $CPPFLAGS'
49277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49280
49281
49282 fi
49283
49284 fi
49285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49286 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49287
49288 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49289 for ac_func in finitef
49290 do :
49291 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49292 if test "x$ac_cv_func_finitef" = x""yes; then :
49293 cat >>confdefs.h <<_ACEOF
49294 #define HAVE_FINITEF 1
49295 _ACEOF
49296
49297 fi
49298 done
49299
49300 else
49301
49302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49303 $as_echo_n "checking for _finitef declaration... " >&6; }
49304 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49305 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49306 $as_echo_n "(cached) " >&6
49307 else
49308
49309
49310 ac_ext=cpp
49311 ac_cpp='$CXXCPP $CPPFLAGS'
49312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49315
49316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49317 /* end confdefs.h. */
49318 #include <math.h>
49319 #ifdef HAVE_IEEEFP_H
49320 #include <ieeefp.h>
49321 #endif
49322
49323 int
49324 main ()
49325 {
49326 _finitef(0);
49327 ;
49328 return 0;
49329 }
49330 _ACEOF
49331 if ac_fn_cxx_try_compile "$LINENO"; then :
49332 glibcxx_cv_func__finitef_use=yes
49333 else
49334 glibcxx_cv_func__finitef_use=no
49335 fi
49336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49337 ac_ext=c
49338 ac_cpp='$CPP $CPPFLAGS'
49339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49342
49343
49344 fi
49345
49346 fi
49347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49348 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49349
49350 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49351 for ac_func in _finitef
49352 do :
49353 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49354 if test "x$ac_cv_func__finitef" = x""yes; then :
49355 cat >>confdefs.h <<_ACEOF
49356 #define HAVE__FINITEF 1
49357 _ACEOF
49358
49359 fi
49360 done
49361
49362 fi
49363 fi
49364
49365
49366
49367
49368
49369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49370 $as_echo_n "checking for long double trig functions... " >&6; }
49371 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49372 $as_echo_n "(cached) " >&6
49373 else
49374
49375
49376 ac_ext=cpp
49377 ac_cpp='$CXXCPP $CPPFLAGS'
49378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49381
49382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49383 /* end confdefs.h. */
49384 #include <math.h>
49385 int
49386 main ()
49387 {
49388 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49389 ;
49390 return 0;
49391 }
49392 _ACEOF
49393 if ac_fn_cxx_try_compile "$LINENO"; then :
49394 glibcxx_cv_func_long_double_trig_use=yes
49395 else
49396 glibcxx_cv_func_long_double_trig_use=no
49397 fi
49398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49399 ac_ext=c
49400 ac_cpp='$CPP $CPPFLAGS'
49401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49404
49405 fi
49406
49407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49408 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49409 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49410 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49411 do :
49412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49414 eval as_val=\$$as_ac_var
49415 if test "x$as_val" = x""yes; then :
49416 cat >>confdefs.h <<_ACEOF
49417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49418 _ACEOF
49419
49420 fi
49421 done
49422
49423 else
49424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49425 $as_echo_n "checking for _long double trig functions... " >&6; }
49426 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49427 $as_echo_n "(cached) " >&6
49428 else
49429
49430
49431 ac_ext=cpp
49432 ac_cpp='$CXXCPP $CPPFLAGS'
49433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49436
49437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49438 /* end confdefs.h. */
49439 #include <math.h>
49440 int
49441 main ()
49442 {
49443 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49444 ;
49445 return 0;
49446 }
49447 _ACEOF
49448 if ac_fn_cxx_try_compile "$LINENO"; then :
49449 glibcxx_cv_func__long_double_trig_use=yes
49450 else
49451 glibcxx_cv_func__long_double_trig_use=no
49452 fi
49453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49454 ac_ext=c
49455 ac_cpp='$CPP $CPPFLAGS'
49456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49459
49460 fi
49461
49462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49463 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49464 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49465 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49466 do :
49467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49469 eval as_val=\$$as_ac_var
49470 if test "x$as_val" = x""yes; then :
49471 cat >>confdefs.h <<_ACEOF
49472 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49473 _ACEOF
49474
49475 fi
49476 done
49477
49478 fi
49479 fi
49480
49481
49482
49483
49484
49485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49486 $as_echo_n "checking for long double round functions... " >&6; }
49487 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49488 $as_echo_n "(cached) " >&6
49489 else
49490
49491
49492 ac_ext=cpp
49493 ac_cpp='$CXXCPP $CPPFLAGS'
49494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49497
49498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49499 /* end confdefs.h. */
49500 #include <math.h>
49501 int
49502 main ()
49503 {
49504 ceill (0); floorl (0);
49505 ;
49506 return 0;
49507 }
49508 _ACEOF
49509 if ac_fn_cxx_try_compile "$LINENO"; then :
49510 glibcxx_cv_func_long_double_round_use=yes
49511 else
49512 glibcxx_cv_func_long_double_round_use=no
49513 fi
49514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49515 ac_ext=c
49516 ac_cpp='$CPP $CPPFLAGS'
49517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49520
49521 fi
49522
49523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49524 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49525 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49526 for ac_func in ceill floorl
49527 do :
49528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49530 eval as_val=\$$as_ac_var
49531 if test "x$as_val" = x""yes; then :
49532 cat >>confdefs.h <<_ACEOF
49533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49534 _ACEOF
49535
49536 fi
49537 done
49538
49539 else
49540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49541 $as_echo_n "checking for _long double round functions... " >&6; }
49542 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49543 $as_echo_n "(cached) " >&6
49544 else
49545
49546
49547 ac_ext=cpp
49548 ac_cpp='$CXXCPP $CPPFLAGS'
49549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49552
49553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49554 /* end confdefs.h. */
49555 #include <math.h>
49556 int
49557 main ()
49558 {
49559 _ceill (0); _floorl (0);
49560 ;
49561 return 0;
49562 }
49563 _ACEOF
49564 if ac_fn_cxx_try_compile "$LINENO"; then :
49565 glibcxx_cv_func__long_double_round_use=yes
49566 else
49567 glibcxx_cv_func__long_double_round_use=no
49568 fi
49569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49570 ac_ext=c
49571 ac_cpp='$CPP $CPPFLAGS'
49572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49575
49576 fi
49577
49578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49579 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49580 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49581 for ac_func in _ceill _floorl
49582 do :
49583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49585 eval as_val=\$$as_ac_var
49586 if test "x$as_val" = x""yes; then :
49587 cat >>confdefs.h <<_ACEOF
49588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49589 _ACEOF
49590
49591 fi
49592 done
49593
49594 fi
49595 fi
49596
49597
49598
49599
49600
49601
49602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49603 $as_echo_n "checking for isnanl declaration... " >&6; }
49604 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49605 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49606 $as_echo_n "(cached) " >&6
49607 else
49608
49609
49610 ac_ext=cpp
49611 ac_cpp='$CXXCPP $CPPFLAGS'
49612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49615
49616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49617 /* end confdefs.h. */
49618 #include <math.h>
49619 #ifdef HAVE_IEEEFP_H
49620 #include <ieeefp.h>
49621 #endif
49622
49623 int
49624 main ()
49625 {
49626 isnanl(0);
49627 ;
49628 return 0;
49629 }
49630 _ACEOF
49631 if ac_fn_cxx_try_compile "$LINENO"; then :
49632 glibcxx_cv_func_isnanl_use=yes
49633 else
49634 glibcxx_cv_func_isnanl_use=no
49635 fi
49636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49637 ac_ext=c
49638 ac_cpp='$CPP $CPPFLAGS'
49639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49642
49643
49644 fi
49645
49646 fi
49647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49648 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49649
49650 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49651 for ac_func in isnanl
49652 do :
49653 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49654 if test "x$ac_cv_func_isnanl" = x""yes; then :
49655 cat >>confdefs.h <<_ACEOF
49656 #define HAVE_ISNANL 1
49657 _ACEOF
49658
49659 fi
49660 done
49661
49662 else
49663
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49665 $as_echo_n "checking for _isnanl declaration... " >&6; }
49666 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49667 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49668 $as_echo_n "(cached) " >&6
49669 else
49670
49671
49672 ac_ext=cpp
49673 ac_cpp='$CXXCPP $CPPFLAGS'
49674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49677
49678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49679 /* end confdefs.h. */
49680 #include <math.h>
49681 #ifdef HAVE_IEEEFP_H
49682 #include <ieeefp.h>
49683 #endif
49684
49685 int
49686 main ()
49687 {
49688 _isnanl(0);
49689 ;
49690 return 0;
49691 }
49692 _ACEOF
49693 if ac_fn_cxx_try_compile "$LINENO"; then :
49694 glibcxx_cv_func__isnanl_use=yes
49695 else
49696 glibcxx_cv_func__isnanl_use=no
49697 fi
49698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49699 ac_ext=c
49700 ac_cpp='$CPP $CPPFLAGS'
49701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49704
49705
49706 fi
49707
49708 fi
49709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49710 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49711
49712 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49713 for ac_func in _isnanl
49714 do :
49715 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49716 if test "x$ac_cv_func__isnanl" = x""yes; then :
49717 cat >>confdefs.h <<_ACEOF
49718 #define HAVE__ISNANL 1
49719 _ACEOF
49720
49721 fi
49722 done
49723
49724 fi
49725 fi
49726
49727
49728
49729
49730
49731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49732 $as_echo_n "checking for isinfl declaration... " >&6; }
49733 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49734 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49735 $as_echo_n "(cached) " >&6
49736 else
49737
49738
49739 ac_ext=cpp
49740 ac_cpp='$CXXCPP $CPPFLAGS'
49741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49744
49745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49746 /* end confdefs.h. */
49747 #include <math.h>
49748 #ifdef HAVE_IEEEFP_H
49749 #include <ieeefp.h>
49750 #endif
49751
49752 int
49753 main ()
49754 {
49755 isinfl(0);
49756 ;
49757 return 0;
49758 }
49759 _ACEOF
49760 if ac_fn_cxx_try_compile "$LINENO"; then :
49761 glibcxx_cv_func_isinfl_use=yes
49762 else
49763 glibcxx_cv_func_isinfl_use=no
49764 fi
49765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49766 ac_ext=c
49767 ac_cpp='$CPP $CPPFLAGS'
49768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49771
49772
49773 fi
49774
49775 fi
49776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49777 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49778
49779 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49780 for ac_func in isinfl
49781 do :
49782 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49783 if test "x$ac_cv_func_isinfl" = x""yes; then :
49784 cat >>confdefs.h <<_ACEOF
49785 #define HAVE_ISINFL 1
49786 _ACEOF
49787
49788 fi
49789 done
49790
49791 else
49792
49793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49794 $as_echo_n "checking for _isinfl declaration... " >&6; }
49795 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49796 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49797 $as_echo_n "(cached) " >&6
49798 else
49799
49800
49801 ac_ext=cpp
49802 ac_cpp='$CXXCPP $CPPFLAGS'
49803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49806
49807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49808 /* end confdefs.h. */
49809 #include <math.h>
49810 #ifdef HAVE_IEEEFP_H
49811 #include <ieeefp.h>
49812 #endif
49813
49814 int
49815 main ()
49816 {
49817 _isinfl(0);
49818 ;
49819 return 0;
49820 }
49821 _ACEOF
49822 if ac_fn_cxx_try_compile "$LINENO"; then :
49823 glibcxx_cv_func__isinfl_use=yes
49824 else
49825 glibcxx_cv_func__isinfl_use=no
49826 fi
49827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49828 ac_ext=c
49829 ac_cpp='$CPP $CPPFLAGS'
49830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49833
49834
49835 fi
49836
49837 fi
49838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49839 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49840
49841 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49842 for ac_func in _isinfl
49843 do :
49844 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49845 if test "x$ac_cv_func__isinfl" = x""yes; then :
49846 cat >>confdefs.h <<_ACEOF
49847 #define HAVE__ISINFL 1
49848 _ACEOF
49849
49850 fi
49851 done
49852
49853 fi
49854 fi
49855
49856
49857
49858
49859
49860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49861 $as_echo_n "checking for atan2l declaration... " >&6; }
49862 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49863 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49864 $as_echo_n "(cached) " >&6
49865 else
49866
49867
49868 ac_ext=cpp
49869 ac_cpp='$CXXCPP $CPPFLAGS'
49870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49873
49874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49875 /* end confdefs.h. */
49876 #include <math.h>
49877 int
49878 main ()
49879 {
49880 atan2l(0, 0);
49881 ;
49882 return 0;
49883 }
49884 _ACEOF
49885 if ac_fn_cxx_try_compile "$LINENO"; then :
49886 glibcxx_cv_func_atan2l_use=yes
49887 else
49888 glibcxx_cv_func_atan2l_use=no
49889 fi
49890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49891 ac_ext=c
49892 ac_cpp='$CPP $CPPFLAGS'
49893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49896
49897
49898 fi
49899
49900 fi
49901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49902 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49903
49904 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49905 for ac_func in atan2l
49906 do :
49907 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49908 if test "x$ac_cv_func_atan2l" = x""yes; then :
49909 cat >>confdefs.h <<_ACEOF
49910 #define HAVE_ATAN2L 1
49911 _ACEOF
49912
49913 fi
49914 done
49915
49916 else
49917
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49919 $as_echo_n "checking for _atan2l declaration... " >&6; }
49920 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49921 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49922 $as_echo_n "(cached) " >&6
49923 else
49924
49925
49926 ac_ext=cpp
49927 ac_cpp='$CXXCPP $CPPFLAGS'
49928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49931
49932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49933 /* end confdefs.h. */
49934 #include <math.h>
49935 int
49936 main ()
49937 {
49938 _atan2l(0, 0);
49939 ;
49940 return 0;
49941 }
49942 _ACEOF
49943 if ac_fn_cxx_try_compile "$LINENO"; then :
49944 glibcxx_cv_func__atan2l_use=yes
49945 else
49946 glibcxx_cv_func__atan2l_use=no
49947 fi
49948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49949 ac_ext=c
49950 ac_cpp='$CPP $CPPFLAGS'
49951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49954
49955
49956 fi
49957
49958 fi
49959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49960 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49961
49962 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49963 for ac_func in _atan2l
49964 do :
49965 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49966 if test "x$ac_cv_func__atan2l" = x""yes; then :
49967 cat >>confdefs.h <<_ACEOF
49968 #define HAVE__ATAN2L 1
49969 _ACEOF
49970
49971 fi
49972 done
49973
49974 fi
49975 fi
49976
49977
49978
49979
49980
49981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49982 $as_echo_n "checking for expl declaration... " >&6; }
49983 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49984 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49985 $as_echo_n "(cached) " >&6
49986 else
49987
49988
49989 ac_ext=cpp
49990 ac_cpp='$CXXCPP $CPPFLAGS'
49991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49994
49995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49996 /* end confdefs.h. */
49997 #include <math.h>
49998 #ifdef HAVE_IEEEFP_H
49999 #include <ieeefp.h>
50000 #endif
50001
50002 int
50003 main ()
50004 {
50005 expl(0);
50006 ;
50007 return 0;
50008 }
50009 _ACEOF
50010 if ac_fn_cxx_try_compile "$LINENO"; then :
50011 glibcxx_cv_func_expl_use=yes
50012 else
50013 glibcxx_cv_func_expl_use=no
50014 fi
50015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50016 ac_ext=c
50017 ac_cpp='$CPP $CPPFLAGS'
50018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50021
50022
50023 fi
50024
50025 fi
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50027 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50028
50029 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50030 for ac_func in expl
50031 do :
50032 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50033 if test "x$ac_cv_func_expl" = x""yes; then :
50034 cat >>confdefs.h <<_ACEOF
50035 #define HAVE_EXPL 1
50036 _ACEOF
50037
50038 fi
50039 done
50040
50041 else
50042
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50044 $as_echo_n "checking for _expl declaration... " >&6; }
50045 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50046 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50047 $as_echo_n "(cached) " >&6
50048 else
50049
50050
50051 ac_ext=cpp
50052 ac_cpp='$CXXCPP $CPPFLAGS'
50053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50056
50057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50058 /* end confdefs.h. */
50059 #include <math.h>
50060 #ifdef HAVE_IEEEFP_H
50061 #include <ieeefp.h>
50062 #endif
50063
50064 int
50065 main ()
50066 {
50067 _expl(0);
50068 ;
50069 return 0;
50070 }
50071 _ACEOF
50072 if ac_fn_cxx_try_compile "$LINENO"; then :
50073 glibcxx_cv_func__expl_use=yes
50074 else
50075 glibcxx_cv_func__expl_use=no
50076 fi
50077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50078 ac_ext=c
50079 ac_cpp='$CPP $CPPFLAGS'
50080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50083
50084
50085 fi
50086
50087 fi
50088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50089 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50090
50091 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50092 for ac_func in _expl
50093 do :
50094 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50095 if test "x$ac_cv_func__expl" = x""yes; then :
50096 cat >>confdefs.h <<_ACEOF
50097 #define HAVE__EXPL 1
50098 _ACEOF
50099
50100 fi
50101 done
50102
50103 fi
50104 fi
50105
50106
50107
50108
50109
50110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50111 $as_echo_n "checking for fabsl declaration... " >&6; }
50112 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50113 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50114 $as_echo_n "(cached) " >&6
50115 else
50116
50117
50118 ac_ext=cpp
50119 ac_cpp='$CXXCPP $CPPFLAGS'
50120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50123
50124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50125 /* end confdefs.h. */
50126 #include <math.h>
50127 #ifdef HAVE_IEEEFP_H
50128 #include <ieeefp.h>
50129 #endif
50130
50131 int
50132 main ()
50133 {
50134 fabsl(0);
50135 ;
50136 return 0;
50137 }
50138 _ACEOF
50139 if ac_fn_cxx_try_compile "$LINENO"; then :
50140 glibcxx_cv_func_fabsl_use=yes
50141 else
50142 glibcxx_cv_func_fabsl_use=no
50143 fi
50144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50145 ac_ext=c
50146 ac_cpp='$CPP $CPPFLAGS'
50147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50150
50151
50152 fi
50153
50154 fi
50155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50156 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50157
50158 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50159 for ac_func in fabsl
50160 do :
50161 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50162 if test "x$ac_cv_func_fabsl" = x""yes; then :
50163 cat >>confdefs.h <<_ACEOF
50164 #define HAVE_FABSL 1
50165 _ACEOF
50166
50167 fi
50168 done
50169
50170 else
50171
50172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50173 $as_echo_n "checking for _fabsl declaration... " >&6; }
50174 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50175 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50176 $as_echo_n "(cached) " >&6
50177 else
50178
50179
50180 ac_ext=cpp
50181 ac_cpp='$CXXCPP $CPPFLAGS'
50182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50185
50186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50187 /* end confdefs.h. */
50188 #include <math.h>
50189 #ifdef HAVE_IEEEFP_H
50190 #include <ieeefp.h>
50191 #endif
50192
50193 int
50194 main ()
50195 {
50196 _fabsl(0);
50197 ;
50198 return 0;
50199 }
50200 _ACEOF
50201 if ac_fn_cxx_try_compile "$LINENO"; then :
50202 glibcxx_cv_func__fabsl_use=yes
50203 else
50204 glibcxx_cv_func__fabsl_use=no
50205 fi
50206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50207 ac_ext=c
50208 ac_cpp='$CPP $CPPFLAGS'
50209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50212
50213
50214 fi
50215
50216 fi
50217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50218 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50219
50220 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50221 for ac_func in _fabsl
50222 do :
50223 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50224 if test "x$ac_cv_func__fabsl" = x""yes; then :
50225 cat >>confdefs.h <<_ACEOF
50226 #define HAVE__FABSL 1
50227 _ACEOF
50228
50229 fi
50230 done
50231
50232 fi
50233 fi
50234
50235
50236
50237
50238
50239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50240 $as_echo_n "checking for fmodl declaration... " >&6; }
50241 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50242 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50243 $as_echo_n "(cached) " >&6
50244 else
50245
50246
50247 ac_ext=cpp
50248 ac_cpp='$CXXCPP $CPPFLAGS'
50249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50252
50253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50254 /* end confdefs.h. */
50255 #include <math.h>
50256 int
50257 main ()
50258 {
50259 fmodl(0, 0);
50260 ;
50261 return 0;
50262 }
50263 _ACEOF
50264 if ac_fn_cxx_try_compile "$LINENO"; then :
50265 glibcxx_cv_func_fmodl_use=yes
50266 else
50267 glibcxx_cv_func_fmodl_use=no
50268 fi
50269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50270 ac_ext=c
50271 ac_cpp='$CPP $CPPFLAGS'
50272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50275
50276
50277 fi
50278
50279 fi
50280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50281 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50282
50283 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50284 for ac_func in fmodl
50285 do :
50286 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50287 if test "x$ac_cv_func_fmodl" = x""yes; then :
50288 cat >>confdefs.h <<_ACEOF
50289 #define HAVE_FMODL 1
50290 _ACEOF
50291
50292 fi
50293 done
50294
50295 else
50296
50297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50298 $as_echo_n "checking for _fmodl declaration... " >&6; }
50299 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50300 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50301 $as_echo_n "(cached) " >&6
50302 else
50303
50304
50305 ac_ext=cpp
50306 ac_cpp='$CXXCPP $CPPFLAGS'
50307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50310
50311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50312 /* end confdefs.h. */
50313 #include <math.h>
50314 int
50315 main ()
50316 {
50317 _fmodl(0, 0);
50318 ;
50319 return 0;
50320 }
50321 _ACEOF
50322 if ac_fn_cxx_try_compile "$LINENO"; then :
50323 glibcxx_cv_func__fmodl_use=yes
50324 else
50325 glibcxx_cv_func__fmodl_use=no
50326 fi
50327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50328 ac_ext=c
50329 ac_cpp='$CPP $CPPFLAGS'
50330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50333
50334
50335 fi
50336
50337 fi
50338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50339 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50340
50341 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50342 for ac_func in _fmodl
50343 do :
50344 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50345 if test "x$ac_cv_func__fmodl" = x""yes; then :
50346 cat >>confdefs.h <<_ACEOF
50347 #define HAVE__FMODL 1
50348 _ACEOF
50349
50350 fi
50351 done
50352
50353 fi
50354 fi
50355
50356
50357
50358
50359
50360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50361 $as_echo_n "checking for frexpl declaration... " >&6; }
50362 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50363 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50364 $as_echo_n "(cached) " >&6
50365 else
50366
50367
50368 ac_ext=cpp
50369 ac_cpp='$CXXCPP $CPPFLAGS'
50370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50373
50374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50375 /* end confdefs.h. */
50376 #include <math.h>
50377 int
50378 main ()
50379 {
50380 frexpl(0, 0);
50381 ;
50382 return 0;
50383 }
50384 _ACEOF
50385 if ac_fn_cxx_try_compile "$LINENO"; then :
50386 glibcxx_cv_func_frexpl_use=yes
50387 else
50388 glibcxx_cv_func_frexpl_use=no
50389 fi
50390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50391 ac_ext=c
50392 ac_cpp='$CPP $CPPFLAGS'
50393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50396
50397
50398 fi
50399
50400 fi
50401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50402 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50403
50404 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50405 for ac_func in frexpl
50406 do :
50407 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50408 if test "x$ac_cv_func_frexpl" = x""yes; then :
50409 cat >>confdefs.h <<_ACEOF
50410 #define HAVE_FREXPL 1
50411 _ACEOF
50412
50413 fi
50414 done
50415
50416 else
50417
50418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50419 $as_echo_n "checking for _frexpl declaration... " >&6; }
50420 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50421 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50422 $as_echo_n "(cached) " >&6
50423 else
50424
50425
50426 ac_ext=cpp
50427 ac_cpp='$CXXCPP $CPPFLAGS'
50428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50431
50432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50433 /* end confdefs.h. */
50434 #include <math.h>
50435 int
50436 main ()
50437 {
50438 _frexpl(0, 0);
50439 ;
50440 return 0;
50441 }
50442 _ACEOF
50443 if ac_fn_cxx_try_compile "$LINENO"; then :
50444 glibcxx_cv_func__frexpl_use=yes
50445 else
50446 glibcxx_cv_func__frexpl_use=no
50447 fi
50448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50449 ac_ext=c
50450 ac_cpp='$CPP $CPPFLAGS'
50451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50454
50455
50456 fi
50457
50458 fi
50459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50460 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50461
50462 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50463 for ac_func in _frexpl
50464 do :
50465 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50466 if test "x$ac_cv_func__frexpl" = x""yes; then :
50467 cat >>confdefs.h <<_ACEOF
50468 #define HAVE__FREXPL 1
50469 _ACEOF
50470
50471 fi
50472 done
50473
50474 fi
50475 fi
50476
50477
50478
50479
50480
50481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50482 $as_echo_n "checking for hypotl declaration... " >&6; }
50483 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50484 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50485 $as_echo_n "(cached) " >&6
50486 else
50487
50488
50489 ac_ext=cpp
50490 ac_cpp='$CXXCPP $CPPFLAGS'
50491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50494
50495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50496 /* end confdefs.h. */
50497 #include <math.h>
50498 int
50499 main ()
50500 {
50501 hypotl(0, 0);
50502 ;
50503 return 0;
50504 }
50505 _ACEOF
50506 if ac_fn_cxx_try_compile "$LINENO"; then :
50507 glibcxx_cv_func_hypotl_use=yes
50508 else
50509 glibcxx_cv_func_hypotl_use=no
50510 fi
50511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50512 ac_ext=c
50513 ac_cpp='$CPP $CPPFLAGS'
50514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50517
50518
50519 fi
50520
50521 fi
50522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50523 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50524
50525 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50526 for ac_func in hypotl
50527 do :
50528 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50529 if test "x$ac_cv_func_hypotl" = x""yes; then :
50530 cat >>confdefs.h <<_ACEOF
50531 #define HAVE_HYPOTL 1
50532 _ACEOF
50533
50534 fi
50535 done
50536
50537 else
50538
50539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50540 $as_echo_n "checking for _hypotl declaration... " >&6; }
50541 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50542 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50543 $as_echo_n "(cached) " >&6
50544 else
50545
50546
50547 ac_ext=cpp
50548 ac_cpp='$CXXCPP $CPPFLAGS'
50549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50552
50553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50554 /* end confdefs.h. */
50555 #include <math.h>
50556 int
50557 main ()
50558 {
50559 _hypotl(0, 0);
50560 ;
50561 return 0;
50562 }
50563 _ACEOF
50564 if ac_fn_cxx_try_compile "$LINENO"; then :
50565 glibcxx_cv_func__hypotl_use=yes
50566 else
50567 glibcxx_cv_func__hypotl_use=no
50568 fi
50569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50570 ac_ext=c
50571 ac_cpp='$CPP $CPPFLAGS'
50572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50575
50576
50577 fi
50578
50579 fi
50580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50581 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50582
50583 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50584 for ac_func in _hypotl
50585 do :
50586 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50587 if test "x$ac_cv_func__hypotl" = x""yes; then :
50588 cat >>confdefs.h <<_ACEOF
50589 #define HAVE__HYPOTL 1
50590 _ACEOF
50591
50592 fi
50593 done
50594
50595 fi
50596 fi
50597
50598
50599
50600
50601
50602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50603 $as_echo_n "checking for ldexpl declaration... " >&6; }
50604 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50605 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50606 $as_echo_n "(cached) " >&6
50607 else
50608
50609
50610 ac_ext=cpp
50611 ac_cpp='$CXXCPP $CPPFLAGS'
50612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50615
50616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50617 /* end confdefs.h. */
50618 #include <math.h>
50619 int
50620 main ()
50621 {
50622 ldexpl(0, 0);
50623 ;
50624 return 0;
50625 }
50626 _ACEOF
50627 if ac_fn_cxx_try_compile "$LINENO"; then :
50628 glibcxx_cv_func_ldexpl_use=yes
50629 else
50630 glibcxx_cv_func_ldexpl_use=no
50631 fi
50632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50633 ac_ext=c
50634 ac_cpp='$CPP $CPPFLAGS'
50635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50638
50639
50640 fi
50641
50642 fi
50643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50644 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50645
50646 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50647 for ac_func in ldexpl
50648 do :
50649 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50650 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50651 cat >>confdefs.h <<_ACEOF
50652 #define HAVE_LDEXPL 1
50653 _ACEOF
50654
50655 fi
50656 done
50657
50658 else
50659
50660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50661 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50662 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50663 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50664 $as_echo_n "(cached) " >&6
50665 else
50666
50667
50668 ac_ext=cpp
50669 ac_cpp='$CXXCPP $CPPFLAGS'
50670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50673
50674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50675 /* end confdefs.h. */
50676 #include <math.h>
50677 int
50678 main ()
50679 {
50680 _ldexpl(0, 0);
50681 ;
50682 return 0;
50683 }
50684 _ACEOF
50685 if ac_fn_cxx_try_compile "$LINENO"; then :
50686 glibcxx_cv_func__ldexpl_use=yes
50687 else
50688 glibcxx_cv_func__ldexpl_use=no
50689 fi
50690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50691 ac_ext=c
50692 ac_cpp='$CPP $CPPFLAGS'
50693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50696
50697
50698 fi
50699
50700 fi
50701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50702 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50703
50704 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50705 for ac_func in _ldexpl
50706 do :
50707 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50708 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50709 cat >>confdefs.h <<_ACEOF
50710 #define HAVE__LDEXPL 1
50711 _ACEOF
50712
50713 fi
50714 done
50715
50716 fi
50717 fi
50718
50719
50720
50721
50722
50723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50724 $as_echo_n "checking for logl declaration... " >&6; }
50725 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50726 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50727 $as_echo_n "(cached) " >&6
50728 else
50729
50730
50731 ac_ext=cpp
50732 ac_cpp='$CXXCPP $CPPFLAGS'
50733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50736
50737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50738 /* end confdefs.h. */
50739 #include <math.h>
50740 #ifdef HAVE_IEEEFP_H
50741 #include <ieeefp.h>
50742 #endif
50743
50744 int
50745 main ()
50746 {
50747 logl(0);
50748 ;
50749 return 0;
50750 }
50751 _ACEOF
50752 if ac_fn_cxx_try_compile "$LINENO"; then :
50753 glibcxx_cv_func_logl_use=yes
50754 else
50755 glibcxx_cv_func_logl_use=no
50756 fi
50757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50758 ac_ext=c
50759 ac_cpp='$CPP $CPPFLAGS'
50760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50763
50764
50765 fi
50766
50767 fi
50768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50769 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50770
50771 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50772 for ac_func in logl
50773 do :
50774 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50775 if test "x$ac_cv_func_logl" = x""yes; then :
50776 cat >>confdefs.h <<_ACEOF
50777 #define HAVE_LOGL 1
50778 _ACEOF
50779
50780 fi
50781 done
50782
50783 else
50784
50785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50786 $as_echo_n "checking for _logl declaration... " >&6; }
50787 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50788 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50789 $as_echo_n "(cached) " >&6
50790 else
50791
50792
50793 ac_ext=cpp
50794 ac_cpp='$CXXCPP $CPPFLAGS'
50795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50798
50799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50800 /* end confdefs.h. */
50801 #include <math.h>
50802 #ifdef HAVE_IEEEFP_H
50803 #include <ieeefp.h>
50804 #endif
50805
50806 int
50807 main ()
50808 {
50809 _logl(0);
50810 ;
50811 return 0;
50812 }
50813 _ACEOF
50814 if ac_fn_cxx_try_compile "$LINENO"; then :
50815 glibcxx_cv_func__logl_use=yes
50816 else
50817 glibcxx_cv_func__logl_use=no
50818 fi
50819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50820 ac_ext=c
50821 ac_cpp='$CPP $CPPFLAGS'
50822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50825
50826
50827 fi
50828
50829 fi
50830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50831 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50832
50833 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50834 for ac_func in _logl
50835 do :
50836 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50837 if test "x$ac_cv_func__logl" = x""yes; then :
50838 cat >>confdefs.h <<_ACEOF
50839 #define HAVE__LOGL 1
50840 _ACEOF
50841
50842 fi
50843 done
50844
50845 fi
50846 fi
50847
50848
50849
50850
50851
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50853 $as_echo_n "checking for log10l declaration... " >&6; }
50854 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50855 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50856 $as_echo_n "(cached) " >&6
50857 else
50858
50859
50860 ac_ext=cpp
50861 ac_cpp='$CXXCPP $CPPFLAGS'
50862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50865
50866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50867 /* end confdefs.h. */
50868 #include <math.h>
50869 #ifdef HAVE_IEEEFP_H
50870 #include <ieeefp.h>
50871 #endif
50872
50873 int
50874 main ()
50875 {
50876 log10l(0);
50877 ;
50878 return 0;
50879 }
50880 _ACEOF
50881 if ac_fn_cxx_try_compile "$LINENO"; then :
50882 glibcxx_cv_func_log10l_use=yes
50883 else
50884 glibcxx_cv_func_log10l_use=no
50885 fi
50886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50887 ac_ext=c
50888 ac_cpp='$CPP $CPPFLAGS'
50889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50892
50893
50894 fi
50895
50896 fi
50897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50898 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50899
50900 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50901 for ac_func in log10l
50902 do :
50903 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50904 if test "x$ac_cv_func_log10l" = x""yes; then :
50905 cat >>confdefs.h <<_ACEOF
50906 #define HAVE_LOG10L 1
50907 _ACEOF
50908
50909 fi
50910 done
50911
50912 else
50913
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50915 $as_echo_n "checking for _log10l declaration... " >&6; }
50916 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50917 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50918 $as_echo_n "(cached) " >&6
50919 else
50920
50921
50922 ac_ext=cpp
50923 ac_cpp='$CXXCPP $CPPFLAGS'
50924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50927
50928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50929 /* end confdefs.h. */
50930 #include <math.h>
50931 #ifdef HAVE_IEEEFP_H
50932 #include <ieeefp.h>
50933 #endif
50934
50935 int
50936 main ()
50937 {
50938 _log10l(0);
50939 ;
50940 return 0;
50941 }
50942 _ACEOF
50943 if ac_fn_cxx_try_compile "$LINENO"; then :
50944 glibcxx_cv_func__log10l_use=yes
50945 else
50946 glibcxx_cv_func__log10l_use=no
50947 fi
50948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50949 ac_ext=c
50950 ac_cpp='$CPP $CPPFLAGS'
50951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50954
50955
50956 fi
50957
50958 fi
50959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50960 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50961
50962 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50963 for ac_func in _log10l
50964 do :
50965 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50966 if test "x$ac_cv_func__log10l" = x""yes; then :
50967 cat >>confdefs.h <<_ACEOF
50968 #define HAVE__LOG10L 1
50969 _ACEOF
50970
50971 fi
50972 done
50973
50974 fi
50975 fi
50976
50977
50978
50979
50980
50981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50982 $as_echo_n "checking for modfl declaration... " >&6; }
50983 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50984 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50985 $as_echo_n "(cached) " >&6
50986 else
50987
50988
50989 ac_ext=cpp
50990 ac_cpp='$CXXCPP $CPPFLAGS'
50991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50994
50995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50996 /* end confdefs.h. */
50997 #include <math.h>
50998 int
50999 main ()
51000 {
51001 modfl(0, 0);
51002 ;
51003 return 0;
51004 }
51005 _ACEOF
51006 if ac_fn_cxx_try_compile "$LINENO"; then :
51007 glibcxx_cv_func_modfl_use=yes
51008 else
51009 glibcxx_cv_func_modfl_use=no
51010 fi
51011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51012 ac_ext=c
51013 ac_cpp='$CPP $CPPFLAGS'
51014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51017
51018
51019 fi
51020
51021 fi
51022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51023 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51024
51025 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51026 for ac_func in modfl
51027 do :
51028 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51029 if test "x$ac_cv_func_modfl" = x""yes; then :
51030 cat >>confdefs.h <<_ACEOF
51031 #define HAVE_MODFL 1
51032 _ACEOF
51033
51034 fi
51035 done
51036
51037 else
51038
51039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51040 $as_echo_n "checking for _modfl declaration... " >&6; }
51041 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51042 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51043 $as_echo_n "(cached) " >&6
51044 else
51045
51046
51047 ac_ext=cpp
51048 ac_cpp='$CXXCPP $CPPFLAGS'
51049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51052
51053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51054 /* end confdefs.h. */
51055 #include <math.h>
51056 int
51057 main ()
51058 {
51059 _modfl(0, 0);
51060 ;
51061 return 0;
51062 }
51063 _ACEOF
51064 if ac_fn_cxx_try_compile "$LINENO"; then :
51065 glibcxx_cv_func__modfl_use=yes
51066 else
51067 glibcxx_cv_func__modfl_use=no
51068 fi
51069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51070 ac_ext=c
51071 ac_cpp='$CPP $CPPFLAGS'
51072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51075
51076
51077 fi
51078
51079 fi
51080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51081 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51082
51083 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51084 for ac_func in _modfl
51085 do :
51086 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51087 if test "x$ac_cv_func__modfl" = x""yes; then :
51088 cat >>confdefs.h <<_ACEOF
51089 #define HAVE__MODFL 1
51090 _ACEOF
51091
51092 fi
51093 done
51094
51095 fi
51096 fi
51097
51098
51099
51100
51101
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51103 $as_echo_n "checking for powl declaration... " >&6; }
51104 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51105 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51106 $as_echo_n "(cached) " >&6
51107 else
51108
51109
51110 ac_ext=cpp
51111 ac_cpp='$CXXCPP $CPPFLAGS'
51112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51115
51116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51117 /* end confdefs.h. */
51118 #include <math.h>
51119 int
51120 main ()
51121 {
51122 powl(0, 0);
51123 ;
51124 return 0;
51125 }
51126 _ACEOF
51127 if ac_fn_cxx_try_compile "$LINENO"; then :
51128 glibcxx_cv_func_powl_use=yes
51129 else
51130 glibcxx_cv_func_powl_use=no
51131 fi
51132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51133 ac_ext=c
51134 ac_cpp='$CPP $CPPFLAGS'
51135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51138
51139
51140 fi
51141
51142 fi
51143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51144 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51145
51146 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51147 for ac_func in powl
51148 do :
51149 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51150 if test "x$ac_cv_func_powl" = x""yes; then :
51151 cat >>confdefs.h <<_ACEOF
51152 #define HAVE_POWL 1
51153 _ACEOF
51154
51155 fi
51156 done
51157
51158 else
51159
51160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51161 $as_echo_n "checking for _powl declaration... " >&6; }
51162 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51163 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51164 $as_echo_n "(cached) " >&6
51165 else
51166
51167
51168 ac_ext=cpp
51169 ac_cpp='$CXXCPP $CPPFLAGS'
51170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51173
51174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51175 /* end confdefs.h. */
51176 #include <math.h>
51177 int
51178 main ()
51179 {
51180 _powl(0, 0);
51181 ;
51182 return 0;
51183 }
51184 _ACEOF
51185 if ac_fn_cxx_try_compile "$LINENO"; then :
51186 glibcxx_cv_func__powl_use=yes
51187 else
51188 glibcxx_cv_func__powl_use=no
51189 fi
51190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51191 ac_ext=c
51192 ac_cpp='$CPP $CPPFLAGS'
51193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51196
51197
51198 fi
51199
51200 fi
51201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51202 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51203
51204 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51205 for ac_func in _powl
51206 do :
51207 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51208 if test "x$ac_cv_func__powl" = x""yes; then :
51209 cat >>confdefs.h <<_ACEOF
51210 #define HAVE__POWL 1
51211 _ACEOF
51212
51213 fi
51214 done
51215
51216 fi
51217 fi
51218
51219
51220
51221
51222
51223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51224 $as_echo_n "checking for sqrtl declaration... " >&6; }
51225 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51226 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51227 $as_echo_n "(cached) " >&6
51228 else
51229
51230
51231 ac_ext=cpp
51232 ac_cpp='$CXXCPP $CPPFLAGS'
51233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51236
51237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51238 /* end confdefs.h. */
51239 #include <math.h>
51240 #ifdef HAVE_IEEEFP_H
51241 #include <ieeefp.h>
51242 #endif
51243
51244 int
51245 main ()
51246 {
51247 sqrtl(0);
51248 ;
51249 return 0;
51250 }
51251 _ACEOF
51252 if ac_fn_cxx_try_compile "$LINENO"; then :
51253 glibcxx_cv_func_sqrtl_use=yes
51254 else
51255 glibcxx_cv_func_sqrtl_use=no
51256 fi
51257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51258 ac_ext=c
51259 ac_cpp='$CPP $CPPFLAGS'
51260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51263
51264
51265 fi
51266
51267 fi
51268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51269 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51270
51271 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51272 for ac_func in sqrtl
51273 do :
51274 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51275 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51276 cat >>confdefs.h <<_ACEOF
51277 #define HAVE_SQRTL 1
51278 _ACEOF
51279
51280 fi
51281 done
51282
51283 else
51284
51285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51286 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51287 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51288 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51289 $as_echo_n "(cached) " >&6
51290 else
51291
51292
51293 ac_ext=cpp
51294 ac_cpp='$CXXCPP $CPPFLAGS'
51295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51298
51299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51300 /* end confdefs.h. */
51301 #include <math.h>
51302 #ifdef HAVE_IEEEFP_H
51303 #include <ieeefp.h>
51304 #endif
51305
51306 int
51307 main ()
51308 {
51309 _sqrtl(0);
51310 ;
51311 return 0;
51312 }
51313 _ACEOF
51314 if ac_fn_cxx_try_compile "$LINENO"; then :
51315 glibcxx_cv_func__sqrtl_use=yes
51316 else
51317 glibcxx_cv_func__sqrtl_use=no
51318 fi
51319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51320 ac_ext=c
51321 ac_cpp='$CPP $CPPFLAGS'
51322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51325
51326
51327 fi
51328
51329 fi
51330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51331 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51332
51333 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51334 for ac_func in _sqrtl
51335 do :
51336 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51337 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51338 cat >>confdefs.h <<_ACEOF
51339 #define HAVE__SQRTL 1
51340 _ACEOF
51341
51342 fi
51343 done
51344
51345 fi
51346 fi
51347
51348
51349
51350
51351
51352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51353 $as_echo_n "checking for sincosl declaration... " >&6; }
51354 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51355 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51356 $as_echo_n "(cached) " >&6
51357 else
51358
51359
51360 ac_ext=cpp
51361 ac_cpp='$CXXCPP $CPPFLAGS'
51362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51365
51366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51367 /* end confdefs.h. */
51368 #include <math.h>
51369 int
51370 main ()
51371 {
51372 sincosl(0, 0, 0);
51373 ;
51374 return 0;
51375 }
51376 _ACEOF
51377 if ac_fn_cxx_try_compile "$LINENO"; then :
51378 glibcxx_cv_func_sincosl_use=yes
51379 else
51380 glibcxx_cv_func_sincosl_use=no
51381 fi
51382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51383 ac_ext=c
51384 ac_cpp='$CPP $CPPFLAGS'
51385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51388
51389
51390 fi
51391
51392 fi
51393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51394 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51395
51396 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51397 for ac_func in sincosl
51398 do :
51399 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51400 if test "x$ac_cv_func_sincosl" = x""yes; then :
51401 cat >>confdefs.h <<_ACEOF
51402 #define HAVE_SINCOSL 1
51403 _ACEOF
51404
51405 fi
51406 done
51407
51408 else
51409
51410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51411 $as_echo_n "checking for _sincosl declaration... " >&6; }
51412 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51413 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51414 $as_echo_n "(cached) " >&6
51415 else
51416
51417
51418 ac_ext=cpp
51419 ac_cpp='$CXXCPP $CPPFLAGS'
51420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51423
51424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51425 /* end confdefs.h. */
51426 #include <math.h>
51427 int
51428 main ()
51429 {
51430 _sincosl(0, 0, 0);
51431 ;
51432 return 0;
51433 }
51434 _ACEOF
51435 if ac_fn_cxx_try_compile "$LINENO"; then :
51436 glibcxx_cv_func__sincosl_use=yes
51437 else
51438 glibcxx_cv_func__sincosl_use=no
51439 fi
51440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51441 ac_ext=c
51442 ac_cpp='$CPP $CPPFLAGS'
51443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51446
51447
51448 fi
51449
51450 fi
51451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51452 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51453
51454 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51455 for ac_func in _sincosl
51456 do :
51457 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51458 if test "x$ac_cv_func__sincosl" = x""yes; then :
51459 cat >>confdefs.h <<_ACEOF
51460 #define HAVE__SINCOSL 1
51461 _ACEOF
51462
51463 fi
51464 done
51465
51466 fi
51467 fi
51468
51469
51470
51471
51472
51473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51474 $as_echo_n "checking for finitel declaration... " >&6; }
51475 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51476 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51477 $as_echo_n "(cached) " >&6
51478 else
51479
51480
51481 ac_ext=cpp
51482 ac_cpp='$CXXCPP $CPPFLAGS'
51483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51486
51487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51488 /* end confdefs.h. */
51489 #include <math.h>
51490 #ifdef HAVE_IEEEFP_H
51491 #include <ieeefp.h>
51492 #endif
51493
51494 int
51495 main ()
51496 {
51497 finitel(0);
51498 ;
51499 return 0;
51500 }
51501 _ACEOF
51502 if ac_fn_cxx_try_compile "$LINENO"; then :
51503 glibcxx_cv_func_finitel_use=yes
51504 else
51505 glibcxx_cv_func_finitel_use=no
51506 fi
51507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51508 ac_ext=c
51509 ac_cpp='$CPP $CPPFLAGS'
51510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51513
51514
51515 fi
51516
51517 fi
51518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51519 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51520
51521 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51522 for ac_func in finitel
51523 do :
51524 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51525 if test "x$ac_cv_func_finitel" = x""yes; then :
51526 cat >>confdefs.h <<_ACEOF
51527 #define HAVE_FINITEL 1
51528 _ACEOF
51529
51530 fi
51531 done
51532
51533 else
51534
51535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51536 $as_echo_n "checking for _finitel declaration... " >&6; }
51537 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51538 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51539 $as_echo_n "(cached) " >&6
51540 else
51541
51542
51543 ac_ext=cpp
51544 ac_cpp='$CXXCPP $CPPFLAGS'
51545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51548
51549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51550 /* end confdefs.h. */
51551 #include <math.h>
51552 #ifdef HAVE_IEEEFP_H
51553 #include <ieeefp.h>
51554 #endif
51555
51556 int
51557 main ()
51558 {
51559 _finitel(0);
51560 ;
51561 return 0;
51562 }
51563 _ACEOF
51564 if ac_fn_cxx_try_compile "$LINENO"; then :
51565 glibcxx_cv_func__finitel_use=yes
51566 else
51567 glibcxx_cv_func__finitel_use=no
51568 fi
51569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51570 ac_ext=c
51571 ac_cpp='$CPP $CPPFLAGS'
51572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51575
51576
51577 fi
51578
51579 fi
51580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51581 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51582
51583 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51584 for ac_func in _finitel
51585 do :
51586 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51587 if test "x$ac_cv_func__finitel" = x""yes; then :
51588 cat >>confdefs.h <<_ACEOF
51589 #define HAVE__FINITEL 1
51590 _ACEOF
51591
51592 fi
51593 done
51594
51595 fi
51596 fi
51597
51598
51599
51600
51601 LIBS="$ac_save_LIBS"
51602 CXXFLAGS="$ac_save_CXXFLAGS"
51603
51604
51605 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51606 ac_save_CXXFLAGS="$CXXFLAGS"
51607 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51608
51609
51610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51611 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51612 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51613 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51614 $as_echo_n "(cached) " >&6
51615 else
51616
51617
51618 ac_ext=cpp
51619 ac_cpp='$CXXCPP $CPPFLAGS'
51620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51623
51624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51625 /* end confdefs.h. */
51626 #include <stdlib.h>
51627 int
51628 main ()
51629 {
51630 at_quick_exit(0);
51631 ;
51632 return 0;
51633 }
51634 _ACEOF
51635 if ac_fn_cxx_try_compile "$LINENO"; then :
51636 glibcxx_cv_func_at_quick_exit_use=yes
51637 else
51638 glibcxx_cv_func_at_quick_exit_use=no
51639 fi
51640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51641 ac_ext=c
51642 ac_cpp='$CPP $CPPFLAGS'
51643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51646
51647
51648 fi
51649
51650 fi
51651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51652 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51653 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51654 for ac_func in at_quick_exit
51655 do :
51656 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51657 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51658 cat >>confdefs.h <<_ACEOF
51659 #define HAVE_AT_QUICK_EXIT 1
51660 _ACEOF
51661
51662 fi
51663 done
51664
51665 fi
51666
51667
51668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51669 $as_echo_n "checking for quick_exit declaration... " >&6; }
51670 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51671 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51672 $as_echo_n "(cached) " >&6
51673 else
51674
51675
51676 ac_ext=cpp
51677 ac_cpp='$CXXCPP $CPPFLAGS'
51678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51681
51682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51683 /* end confdefs.h. */
51684 #include <stdlib.h>
51685 int
51686 main ()
51687 {
51688 quick_exit(0);
51689 ;
51690 return 0;
51691 }
51692 _ACEOF
51693 if ac_fn_cxx_try_compile "$LINENO"; then :
51694 glibcxx_cv_func_quick_exit_use=yes
51695 else
51696 glibcxx_cv_func_quick_exit_use=no
51697 fi
51698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51699 ac_ext=c
51700 ac_cpp='$CPP $CPPFLAGS'
51701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51704
51705
51706 fi
51707
51708 fi
51709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51710 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51711 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51712 for ac_func in quick_exit
51713 do :
51714 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51715 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51716 cat >>confdefs.h <<_ACEOF
51717 #define HAVE_QUICK_EXIT 1
51718 _ACEOF
51719
51720 fi
51721 done
51722
51723 fi
51724
51725
51726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51727 $as_echo_n "checking for strtold declaration... " >&6; }
51728 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51729 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51730 $as_echo_n "(cached) " >&6
51731 else
51732
51733
51734 ac_ext=cpp
51735 ac_cpp='$CXXCPP $CPPFLAGS'
51736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51739
51740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51741 /* end confdefs.h. */
51742 #include <stdlib.h>
51743 int
51744 main ()
51745 {
51746 strtold(0, 0);
51747 ;
51748 return 0;
51749 }
51750 _ACEOF
51751 if ac_fn_cxx_try_compile "$LINENO"; then :
51752 glibcxx_cv_func_strtold_use=yes
51753 else
51754 glibcxx_cv_func_strtold_use=no
51755 fi
51756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51757 ac_ext=c
51758 ac_cpp='$CPP $CPPFLAGS'
51759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51762
51763
51764 fi
51765
51766 fi
51767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51768 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51769 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51770 for ac_func in strtold
51771 do :
51772 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51773 if test "x$ac_cv_func_strtold" = x""yes; then :
51774 cat >>confdefs.h <<_ACEOF
51775 #define HAVE_STRTOLD 1
51776 _ACEOF
51777
51778 fi
51779 done
51780
51781 fi
51782
51783
51784
51785
51786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51787 $as_echo_n "checking for strtof declaration... " >&6; }
51788 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51789 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51790 $as_echo_n "(cached) " >&6
51791 else
51792
51793
51794 ac_ext=cpp
51795 ac_cpp='$CXXCPP $CPPFLAGS'
51796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51799
51800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51801 /* end confdefs.h. */
51802 #include <stdlib.h>
51803 int
51804 main ()
51805 {
51806 strtof(0, 0);
51807 ;
51808 return 0;
51809 }
51810 _ACEOF
51811 if ac_fn_cxx_try_compile "$LINENO"; then :
51812 glibcxx_cv_func_strtof_use=yes
51813 else
51814 glibcxx_cv_func_strtof_use=no
51815 fi
51816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51817 ac_ext=c
51818 ac_cpp='$CPP $CPPFLAGS'
51819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51822
51823
51824 fi
51825
51826 fi
51827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51828 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51829 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51830 for ac_func in strtof
51831 do :
51832 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51833 if test "x$ac_cv_func_strtof" = x""yes; then :
51834 cat >>confdefs.h <<_ACEOF
51835 #define HAVE_STRTOF 1
51836 _ACEOF
51837
51838 fi
51839 done
51840
51841 fi
51842
51843
51844
51845
51846 CXXFLAGS="$ac_save_CXXFLAGS"
51847
51848 ;;
51849
51850 *djgpp)
51851 # GLIBCXX_CHECK_MATH_SUPPORT
51852 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51853
51854 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51855
51856 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51857
51858 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51859
51860 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51861
51862 ;;
51863
51864 *-freebsd*)
51865 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51866
51867
51868 # If we're not using GNU ld, then there's no point in even trying these
51869 # tests. Check for that first. We should have already tested for gld
51870 # by now (in libtool), but require it now just to be safe...
51871 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51872 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51873
51874
51875
51876 # The name set by libtool depends on the version of libtool. Shame on us
51877 # for depending on an impl detail, but c'est la vie. Older versions used
51878 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51879 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51880 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51881 # set (hence we're using an older libtool), then set it.
51882 if test x${with_gnu_ld+set} != xset; then
51883 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51884 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51885 with_gnu_ld=no
51886 else
51887 with_gnu_ld=$ac_cv_prog_gnu_ld
51888 fi
51889 fi
51890
51891 # Start by getting the version number. I think the libtool test already
51892 # does some of this, but throws away the result.
51893 glibcxx_ld_is_gold=no
51894 if test x"$with_gnu_ld" = x"yes"; then
51895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51896 $as_echo_n "checking for ld version... " >&6; }
51897
51898 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51899 glibcxx_ld_is_gold=yes
51900 fi
51901 ldver=`$LD --version 2>/dev/null |
51902 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'`
51903
51904 glibcxx_gnu_ld_version=`echo $ldver | \
51905 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51907 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51908 fi
51909
51910 # Set --gc-sections.
51911 glibcxx_have_gc_sections=no
51912 if test "$glibcxx_ld_is_gold" = "yes"; then
51913 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51914 glibcxx_have_gc_sections=yes
51915 fi
51916 else
51917 glibcxx_gcsections_min_ld=21602
51918 if test x"$with_gnu_ld" = x"yes" &&
51919 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51920 glibcxx_have_gc_sections=yes
51921 fi
51922 fi
51923 if test "$glibcxx_have_gc_sections" = "yes"; then
51924 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51925 # NB: This flag only works reliably after 2.16.1. Configure tests
51926 # for this are difficult, so hard wire a value that should work.
51927
51928 ac_test_CFLAGS="${CFLAGS+set}"
51929 ac_save_CFLAGS="$CFLAGS"
51930 CFLAGS='-Wl,--gc-sections'
51931
51932 # Check for -Wl,--gc-sections
51933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51934 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51935 if test x$gcc_no_link = xyes; then
51936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51937 fi
51938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h. */
51940 int one(void) { return 1; }
51941 int two(void) { return 2; }
51942
51943 int
51944 main ()
51945 {
51946 two();
51947 ;
51948 return 0;
51949 }
51950 _ACEOF
51951 if ac_fn_c_try_link "$LINENO"; then :
51952 ac_gcsections=yes
51953 else
51954 ac_gcsections=no
51955 fi
51956 rm -f core conftest.err conftest.$ac_objext \
51957 conftest$ac_exeext conftest.$ac_ext
51958 if test "$ac_gcsections" = "yes"; then
51959 rm -f conftest.c
51960 touch conftest.c
51961 if $CC -c conftest.c; then
51962 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51963 grep "Warning: gc-sections option ignored" > /dev/null; then
51964 ac_gcsections=no
51965 fi
51966 fi
51967 rm -f conftest.c conftest.o conftest
51968 fi
51969 if test "$ac_gcsections" = "yes"; then
51970 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51971 fi
51972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51973 $as_echo "$ac_gcsections" >&6; }
51974
51975 if test "$ac_test_CFLAGS" = set; then
51976 CFLAGS="$ac_save_CFLAGS"
51977 else
51978 # this is the suspicious part
51979 CFLAGS=''
51980 fi
51981 fi
51982
51983 # Set -z,relro.
51984 # Note this is only for shared objects.
51985 ac_ld_relro=no
51986 if test x"$with_gnu_ld" = x"yes"; then
51987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51988 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51989 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51990 if test -n "$cxx_z_relo"; then
51991 OPT_LDFLAGS="-Wl,-z,relro"
51992 ac_ld_relro=yes
51993 fi
51994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51995 $as_echo "$ac_ld_relro" >&6; }
51996 fi
51997
51998 # Set linker optimization flags.
51999 if test x"$with_gnu_ld" = x"yes"; then
52000 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52001 fi
52002
52003
52004
52005
52006 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52007
52008 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52009
52010 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52011
52012 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52013
52014 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52015
52016 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52017
52018 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52019
52020 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52021
52022 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52023
52024
52025 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52026
52027 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52028
52029 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52030
52031 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52032
52033 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52034
52035 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52036
52037 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52038
52039 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52040
52041 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52042
52043 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52044
52045 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52046
52047 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52048
52049 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52050
52051 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52052
52053 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52054
52055 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52056
52057 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52058
52059 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52060
52061 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52062
52063 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52064
52065 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52066
52067 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52068
52069 if test x"long_double_math_on_this_cpu" = x"yes"; then
52070 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52071
52072 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52073
52074 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52075
52076 fi
52077 ;;
52078 *-hpux*)
52079 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52080
52081
52082 # If we're not using GNU ld, then there's no point in even trying these
52083 # tests. Check for that first. We should have already tested for gld
52084 # by now (in libtool), but require it now just to be safe...
52085 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52086 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52087
52088
52089
52090 # The name set by libtool depends on the version of libtool. Shame on us
52091 # for depending on an impl detail, but c'est la vie. Older versions used
52092 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52093 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52094 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52095 # set (hence we're using an older libtool), then set it.
52096 if test x${with_gnu_ld+set} != xset; then
52097 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52098 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52099 with_gnu_ld=no
52100 else
52101 with_gnu_ld=$ac_cv_prog_gnu_ld
52102 fi
52103 fi
52104
52105 # Start by getting the version number. I think the libtool test already
52106 # does some of this, but throws away the result.
52107 glibcxx_ld_is_gold=no
52108 if test x"$with_gnu_ld" = x"yes"; then
52109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52110 $as_echo_n "checking for ld version... " >&6; }
52111
52112 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52113 glibcxx_ld_is_gold=yes
52114 fi
52115 ldver=`$LD --version 2>/dev/null |
52116 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'`
52117
52118 glibcxx_gnu_ld_version=`echo $ldver | \
52119 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52121 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52122 fi
52123
52124 # Set --gc-sections.
52125 glibcxx_have_gc_sections=no
52126 if test "$glibcxx_ld_is_gold" = "yes"; then
52127 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52128 glibcxx_have_gc_sections=yes
52129 fi
52130 else
52131 glibcxx_gcsections_min_ld=21602
52132 if test x"$with_gnu_ld" = x"yes" &&
52133 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52134 glibcxx_have_gc_sections=yes
52135 fi
52136 fi
52137 if test "$glibcxx_have_gc_sections" = "yes"; then
52138 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52139 # NB: This flag only works reliably after 2.16.1. Configure tests
52140 # for this are difficult, so hard wire a value that should work.
52141
52142 ac_test_CFLAGS="${CFLAGS+set}"
52143 ac_save_CFLAGS="$CFLAGS"
52144 CFLAGS='-Wl,--gc-sections'
52145
52146 # Check for -Wl,--gc-sections
52147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52148 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52149 if test x$gcc_no_link = xyes; then
52150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52151 fi
52152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52153 /* end confdefs.h. */
52154 int one(void) { return 1; }
52155 int two(void) { return 2; }
52156
52157 int
52158 main ()
52159 {
52160 two();
52161 ;
52162 return 0;
52163 }
52164 _ACEOF
52165 if ac_fn_c_try_link "$LINENO"; then :
52166 ac_gcsections=yes
52167 else
52168 ac_gcsections=no
52169 fi
52170 rm -f core conftest.err conftest.$ac_objext \
52171 conftest$ac_exeext conftest.$ac_ext
52172 if test "$ac_gcsections" = "yes"; then
52173 rm -f conftest.c
52174 touch conftest.c
52175 if $CC -c conftest.c; then
52176 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52177 grep "Warning: gc-sections option ignored" > /dev/null; then
52178 ac_gcsections=no
52179 fi
52180 fi
52181 rm -f conftest.c conftest.o conftest
52182 fi
52183 if test "$ac_gcsections" = "yes"; then
52184 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52185 fi
52186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52187 $as_echo "$ac_gcsections" >&6; }
52188
52189 if test "$ac_test_CFLAGS" = set; then
52190 CFLAGS="$ac_save_CFLAGS"
52191 else
52192 # this is the suspicious part
52193 CFLAGS=''
52194 fi
52195 fi
52196
52197 # Set -z,relro.
52198 # Note this is only for shared objects.
52199 ac_ld_relro=no
52200 if test x"$with_gnu_ld" = x"yes"; then
52201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52202 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52203 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52204 if test -n "$cxx_z_relo"; then
52205 OPT_LDFLAGS="-Wl,-z,relro"
52206 ac_ld_relro=yes
52207 fi
52208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52209 $as_echo "$ac_ld_relro" >&6; }
52210 fi
52211
52212 # Set linker optimization flags.
52213 if test x"$with_gnu_ld" = x"yes"; then
52214 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52215 fi
52216
52217
52218
52219
52220
52221 # GLIBCXX_CHECK_MATH_SUPPORT
52222 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52223
52224 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52225
52226 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52227
52228 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52229
52230 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52231
52232 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52233
52234 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52235
52236 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52237
52238 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52239
52240 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52241
52242 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52243
52244 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52245
52246 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52247
52248 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52249
52250 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52251
52252 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52253
52254 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52255
52256 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52257
52258 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52259
52260 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52261
52262 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52263
52264
52265 # GLIBCXX_CHECK_STDLIB_SUPPORT
52266 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52267
52268
52269
52270
52271 # Check whether --enable-tls was given.
52272 if test "${enable_tls+set}" = set; then :
52273 enableval=$enable_tls;
52274 case "$enableval" in
52275 yes|no) ;;
52276 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52277 esac
52278
52279 else
52280 enable_tls=yes
52281 fi
52282
52283
52284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52285 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52286 if test "${gcc_cv_have_tls+set}" = set; then :
52287 $as_echo_n "(cached) " >&6
52288 else
52289
52290 if test "$cross_compiling" = yes; then :
52291 if test x$gcc_no_link = xyes; then
52292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52293 fi
52294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52295 /* end confdefs.h. */
52296 __thread int a; int b; int main() { return a = b; }
52297 _ACEOF
52298 if ac_fn_c_try_link "$LINENO"; then :
52299 chktls_save_LDFLAGS="$LDFLAGS"
52300 case $host in
52301 *-*-linux*)
52302 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52303 ;;
52304 esac
52305 chktls_save_CFLAGS="$CFLAGS"
52306 CFLAGS="-fPIC $CFLAGS"
52307 if test x$gcc_no_link = xyes; then
52308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52309 fi
52310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52311 /* end confdefs.h. */
52312 int f() { return 0; }
52313 _ACEOF
52314 if ac_fn_c_try_link "$LINENO"; then :
52315 if test x$gcc_no_link = xyes; then
52316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52317 fi
52318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52319 /* end confdefs.h. */
52320 __thread int a; int b; int f() { return a = b; }
52321 _ACEOF
52322 if ac_fn_c_try_link "$LINENO"; then :
52323 gcc_cv_have_tls=yes
52324 else
52325 gcc_cv_have_tls=no
52326 fi
52327 rm -f core conftest.err conftest.$ac_objext \
52328 conftest$ac_exeext conftest.$ac_ext
52329 else
52330 gcc_cv_have_tls=yes
52331 fi
52332 rm -f core conftest.err conftest.$ac_objext \
52333 conftest$ac_exeext conftest.$ac_ext
52334 CFLAGS="$chktls_save_CFLAGS"
52335 LDFLAGS="$chktls_save_LDFLAGS"
52336 else
52337 gcc_cv_have_tls=no
52338 fi
52339 rm -f core conftest.err conftest.$ac_objext \
52340 conftest$ac_exeext conftest.$ac_ext
52341
52342
52343 else
52344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52345 /* end confdefs.h. */
52346 __thread int a; int b; int main() { return a = b; }
52347 _ACEOF
52348 if ac_fn_c_try_run "$LINENO"; then :
52349 chktls_save_LDFLAGS="$LDFLAGS"
52350 LDFLAGS="-static $LDFLAGS"
52351 if test x$gcc_no_link = xyes; then
52352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52353 fi
52354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52355 /* end confdefs.h. */
52356 int main() { return 0; }
52357 _ACEOF
52358 if ac_fn_c_try_link "$LINENO"; then :
52359 if test "$cross_compiling" = yes; then :
52360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52362 as_fn_error "cannot run test program while cross compiling
52363 See \`config.log' for more details." "$LINENO" 5; }
52364 else
52365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52366 /* end confdefs.h. */
52367 __thread int a; int b; int main() { return a = b; }
52368 _ACEOF
52369 if ac_fn_c_try_run "$LINENO"; then :
52370 gcc_cv_have_tls=yes
52371 else
52372 gcc_cv_have_tls=no
52373 fi
52374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52375 conftest.$ac_objext conftest.beam conftest.$ac_ext
52376 fi
52377
52378 else
52379 gcc_cv_have_tls=yes
52380 fi
52381 rm -f core conftest.err conftest.$ac_objext \
52382 conftest$ac_exeext conftest.$ac_ext
52383 LDFLAGS="$chktls_save_LDFLAGS"
52384 if test $gcc_cv_have_tls = yes; then
52385 chktls_save_CFLAGS="$CFLAGS"
52386 thread_CFLAGS=failed
52387 for flag in '' '-pthread' '-lpthread'; do
52388 CFLAGS="$flag $chktls_save_CFLAGS"
52389 if test x$gcc_no_link = xyes; then
52390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52391 fi
52392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52393 /* end confdefs.h. */
52394 #include <pthread.h>
52395 void *g(void *d) { return NULL; }
52396 int
52397 main ()
52398 {
52399 pthread_t t; pthread_create(&t,NULL,g,NULL);
52400 ;
52401 return 0;
52402 }
52403 _ACEOF
52404 if ac_fn_c_try_link "$LINENO"; then :
52405 thread_CFLAGS="$flag"
52406 fi
52407 rm -f core conftest.err conftest.$ac_objext \
52408 conftest$ac_exeext conftest.$ac_ext
52409 if test "X$thread_CFLAGS" != Xfailed; then
52410 break
52411 fi
52412 done
52413 CFLAGS="$chktls_save_CFLAGS"
52414 if test "X$thread_CFLAGS" != Xfailed; then
52415 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52416 if test "$cross_compiling" = yes; then :
52417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52419 as_fn_error "cannot run test program while cross compiling
52420 See \`config.log' for more details." "$LINENO" 5; }
52421 else
52422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52423 /* end confdefs.h. */
52424 #include <pthread.h>
52425 __thread int a;
52426 static int *volatile a_in_other_thread;
52427 static void *
52428 thread_func (void *arg)
52429 {
52430 a_in_other_thread = &a;
52431 return (void *)0;
52432 }
52433 int
52434 main ()
52435 {
52436 pthread_t thread;
52437 void *thread_retval;
52438 int *volatile a_in_main_thread;
52439 a_in_main_thread = &a;
52440 if (pthread_create (&thread, (pthread_attr_t *)0,
52441 thread_func, (void *)0))
52442 return 0;
52443 if (pthread_join (thread, &thread_retval))
52444 return 0;
52445 return (a_in_other_thread == a_in_main_thread);
52446 ;
52447 return 0;
52448 }
52449 _ACEOF
52450 if ac_fn_c_try_run "$LINENO"; then :
52451 gcc_cv_have_tls=yes
52452 else
52453 gcc_cv_have_tls=no
52454 fi
52455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52456 conftest.$ac_objext conftest.beam conftest.$ac_ext
52457 fi
52458
52459 CFLAGS="$chktls_save_CFLAGS"
52460 fi
52461 fi
52462 else
52463 gcc_cv_have_tls=no
52464 fi
52465 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52466 conftest.$ac_objext conftest.beam conftest.$ac_ext
52467 fi
52468
52469 fi
52470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52471 $as_echo "$gcc_cv_have_tls" >&6; }
52472 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52473
52474 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52475
52476 fi
52477 case "$target" in
52478 *-hpux10*)
52479 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52480
52481 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52482
52483 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52484
52485 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52486
52487 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52488
52489 ;;
52490 esac
52491 ;;
52492 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52493
52494 # All these tests are for C++; save the language and the compiler flags.
52495 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52496 # found in GLIBCXX_CONFIGURE.
52497
52498 ac_ext=cpp
52499 ac_cpp='$CXXCPP $CPPFLAGS'
52500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52503
52504 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52505 ac_save_CXXFLAGS="$CXXFLAGS"
52506
52507 # Check for maintainer-mode bits.
52508 if test x"$USE_MAINTAINER_MODE" = xno; then
52509 WERROR=''
52510 else
52511 WERROR='-Werror'
52512 fi
52513
52514 # Check for -ffunction-sections -fdata-sections
52515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52516 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52517 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52519 /* end confdefs.h. */
52520 int foo; void bar() { };
52521 int
52522 main ()
52523 {
52524
52525 ;
52526 return 0;
52527 }
52528 _ACEOF
52529 if ac_fn_cxx_try_compile "$LINENO"; then :
52530 ac_fdsections=yes
52531 else
52532 ac_fdsections=no
52533 fi
52534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52535 if test "$ac_test_CXXFLAGS" = set; then
52536 CXXFLAGS="$ac_save_CXXFLAGS"
52537 else
52538 # this is the suspicious part
52539 CXXFLAGS=''
52540 fi
52541 if test x"$ac_fdsections" = x"yes"; then
52542 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52543 fi
52544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52545 $as_echo "$ac_fdsections" >&6; }
52546
52547 ac_ext=c
52548 ac_cpp='$CPP $CPPFLAGS'
52549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52552
52553
52554
52555
52556
52557 # If we're not using GNU ld, then there's no point in even trying these
52558 # tests. Check for that first. We should have already tested for gld
52559 # by now (in libtool), but require it now just to be safe...
52560 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52561 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52562
52563
52564
52565 # The name set by libtool depends on the version of libtool. Shame on us
52566 # for depending on an impl detail, but c'est la vie. Older versions used
52567 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52568 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52569 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52570 # set (hence we're using an older libtool), then set it.
52571 if test x${with_gnu_ld+set} != xset; then
52572 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52573 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52574 with_gnu_ld=no
52575 else
52576 with_gnu_ld=$ac_cv_prog_gnu_ld
52577 fi
52578 fi
52579
52580 # Start by getting the version number. I think the libtool test already
52581 # does some of this, but throws away the result.
52582 glibcxx_ld_is_gold=no
52583 if test x"$with_gnu_ld" = x"yes"; then
52584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52585 $as_echo_n "checking for ld version... " >&6; }
52586
52587 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52588 glibcxx_ld_is_gold=yes
52589 fi
52590 ldver=`$LD --version 2>/dev/null |
52591 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'`
52592
52593 glibcxx_gnu_ld_version=`echo $ldver | \
52594 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52596 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52597 fi
52598
52599 # Set --gc-sections.
52600 glibcxx_have_gc_sections=no
52601 if test "$glibcxx_ld_is_gold" = "yes"; then
52602 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52603 glibcxx_have_gc_sections=yes
52604 fi
52605 else
52606 glibcxx_gcsections_min_ld=21602
52607 if test x"$with_gnu_ld" = x"yes" &&
52608 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52609 glibcxx_have_gc_sections=yes
52610 fi
52611 fi
52612 if test "$glibcxx_have_gc_sections" = "yes"; then
52613 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52614 # NB: This flag only works reliably after 2.16.1. Configure tests
52615 # for this are difficult, so hard wire a value that should work.
52616
52617 ac_test_CFLAGS="${CFLAGS+set}"
52618 ac_save_CFLAGS="$CFLAGS"
52619 CFLAGS='-Wl,--gc-sections'
52620
52621 # Check for -Wl,--gc-sections
52622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52623 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52624 if test x$gcc_no_link = xyes; then
52625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52626 fi
52627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52628 /* end confdefs.h. */
52629 int one(void) { return 1; }
52630 int two(void) { return 2; }
52631
52632 int
52633 main ()
52634 {
52635 two();
52636 ;
52637 return 0;
52638 }
52639 _ACEOF
52640 if ac_fn_c_try_link "$LINENO"; then :
52641 ac_gcsections=yes
52642 else
52643 ac_gcsections=no
52644 fi
52645 rm -f core conftest.err conftest.$ac_objext \
52646 conftest$ac_exeext conftest.$ac_ext
52647 if test "$ac_gcsections" = "yes"; then
52648 rm -f conftest.c
52649 touch conftest.c
52650 if $CC -c conftest.c; then
52651 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52652 grep "Warning: gc-sections option ignored" > /dev/null; then
52653 ac_gcsections=no
52654 fi
52655 fi
52656 rm -f conftest.c conftest.o conftest
52657 fi
52658 if test "$ac_gcsections" = "yes"; then
52659 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52660 fi
52661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52662 $as_echo "$ac_gcsections" >&6; }
52663
52664 if test "$ac_test_CFLAGS" = set; then
52665 CFLAGS="$ac_save_CFLAGS"
52666 else
52667 # this is the suspicious part
52668 CFLAGS=''
52669 fi
52670 fi
52671
52672 # Set -z,relro.
52673 # Note this is only for shared objects.
52674 ac_ld_relro=no
52675 if test x"$with_gnu_ld" = x"yes"; then
52676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52677 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52678 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52679 if test -n "$cxx_z_relo"; then
52680 OPT_LDFLAGS="-Wl,-z,relro"
52681 ac_ld_relro=yes
52682 fi
52683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52684 $as_echo "$ac_ld_relro" >&6; }
52685 fi
52686
52687 # Set linker optimization flags.
52688 if test x"$with_gnu_ld" = x"yes"; then
52689 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52690 fi
52691
52692
52693
52694
52695
52696 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52697 ac_save_CXXFLAGS="$CXXFLAGS"
52698 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52699
52700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52701 $as_echo_n "checking for sin in -lm... " >&6; }
52702 if test "${ac_cv_lib_m_sin+set}" = set; then :
52703 $as_echo_n "(cached) " >&6
52704 else
52705 ac_check_lib_save_LIBS=$LIBS
52706 LIBS="-lm $LIBS"
52707 if test x$gcc_no_link = xyes; then
52708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52709 fi
52710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52711 /* end confdefs.h. */
52712
52713 /* Override any GCC internal prototype to avoid an error.
52714 Use char because int might match the return type of a GCC
52715 builtin and then its argument prototype would still apply. */
52716 #ifdef __cplusplus
52717 extern "C"
52718 #endif
52719 char sin ();
52720 int
52721 main ()
52722 {
52723 return sin ();
52724 ;
52725 return 0;
52726 }
52727 _ACEOF
52728 if ac_fn_c_try_link "$LINENO"; then :
52729 ac_cv_lib_m_sin=yes
52730 else
52731 ac_cv_lib_m_sin=no
52732 fi
52733 rm -f core conftest.err conftest.$ac_objext \
52734 conftest$ac_exeext conftest.$ac_ext
52735 LIBS=$ac_check_lib_save_LIBS
52736 fi
52737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52738 $as_echo "$ac_cv_lib_m_sin" >&6; }
52739 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52740 libm="-lm"
52741 fi
52742
52743 ac_save_LIBS="$LIBS"
52744 LIBS="$LIBS $libm"
52745
52746
52747
52748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52749 $as_echo_n "checking for isinf declaration... " >&6; }
52750 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52751 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52752 $as_echo_n "(cached) " >&6
52753 else
52754
52755
52756 ac_ext=cpp
52757 ac_cpp='$CXXCPP $CPPFLAGS'
52758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52761
52762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52763 /* end confdefs.h. */
52764 #include <math.h>
52765 #ifdef HAVE_IEEEFP_H
52766 #include <ieeefp.h>
52767 #endif
52768
52769 int
52770 main ()
52771 {
52772 isinf(0);
52773 ;
52774 return 0;
52775 }
52776 _ACEOF
52777 if ac_fn_cxx_try_compile "$LINENO"; then :
52778 glibcxx_cv_func_isinf_use=yes
52779 else
52780 glibcxx_cv_func_isinf_use=no
52781 fi
52782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52783 ac_ext=c
52784 ac_cpp='$CPP $CPPFLAGS'
52785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52788
52789
52790 fi
52791
52792 fi
52793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52794 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52795
52796 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52797 for ac_func in isinf
52798 do :
52799 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52800 if test "x$ac_cv_func_isinf" = x""yes; then :
52801 cat >>confdefs.h <<_ACEOF
52802 #define HAVE_ISINF 1
52803 _ACEOF
52804
52805 fi
52806 done
52807
52808 else
52809
52810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52811 $as_echo_n "checking for _isinf declaration... " >&6; }
52812 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52813 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52814 $as_echo_n "(cached) " >&6
52815 else
52816
52817
52818 ac_ext=cpp
52819 ac_cpp='$CXXCPP $CPPFLAGS'
52820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52823
52824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52825 /* end confdefs.h. */
52826 #include <math.h>
52827 #ifdef HAVE_IEEEFP_H
52828 #include <ieeefp.h>
52829 #endif
52830
52831 int
52832 main ()
52833 {
52834 _isinf(0);
52835 ;
52836 return 0;
52837 }
52838 _ACEOF
52839 if ac_fn_cxx_try_compile "$LINENO"; then :
52840 glibcxx_cv_func__isinf_use=yes
52841 else
52842 glibcxx_cv_func__isinf_use=no
52843 fi
52844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52845 ac_ext=c
52846 ac_cpp='$CPP $CPPFLAGS'
52847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52850
52851
52852 fi
52853
52854 fi
52855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52856 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52857
52858 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52859 for ac_func in _isinf
52860 do :
52861 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52862 if test "x$ac_cv_func__isinf" = x""yes; then :
52863 cat >>confdefs.h <<_ACEOF
52864 #define HAVE__ISINF 1
52865 _ACEOF
52866
52867 fi
52868 done
52869
52870 fi
52871 fi
52872
52873
52874
52875
52876
52877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52878 $as_echo_n "checking for isnan declaration... " >&6; }
52879 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52880 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52881 $as_echo_n "(cached) " >&6
52882 else
52883
52884
52885 ac_ext=cpp
52886 ac_cpp='$CXXCPP $CPPFLAGS'
52887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52890
52891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52892 /* end confdefs.h. */
52893 #include <math.h>
52894 #ifdef HAVE_IEEEFP_H
52895 #include <ieeefp.h>
52896 #endif
52897
52898 int
52899 main ()
52900 {
52901 isnan(0);
52902 ;
52903 return 0;
52904 }
52905 _ACEOF
52906 if ac_fn_cxx_try_compile "$LINENO"; then :
52907 glibcxx_cv_func_isnan_use=yes
52908 else
52909 glibcxx_cv_func_isnan_use=no
52910 fi
52911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52912 ac_ext=c
52913 ac_cpp='$CPP $CPPFLAGS'
52914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52917
52918
52919 fi
52920
52921 fi
52922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52923 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52924
52925 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52926 for ac_func in isnan
52927 do :
52928 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52929 if test "x$ac_cv_func_isnan" = x""yes; then :
52930 cat >>confdefs.h <<_ACEOF
52931 #define HAVE_ISNAN 1
52932 _ACEOF
52933
52934 fi
52935 done
52936
52937 else
52938
52939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52940 $as_echo_n "checking for _isnan declaration... " >&6; }
52941 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52942 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52943 $as_echo_n "(cached) " >&6
52944 else
52945
52946
52947 ac_ext=cpp
52948 ac_cpp='$CXXCPP $CPPFLAGS'
52949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52952
52953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52954 /* end confdefs.h. */
52955 #include <math.h>
52956 #ifdef HAVE_IEEEFP_H
52957 #include <ieeefp.h>
52958 #endif
52959
52960 int
52961 main ()
52962 {
52963 _isnan(0);
52964 ;
52965 return 0;
52966 }
52967 _ACEOF
52968 if ac_fn_cxx_try_compile "$LINENO"; then :
52969 glibcxx_cv_func__isnan_use=yes
52970 else
52971 glibcxx_cv_func__isnan_use=no
52972 fi
52973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52974 ac_ext=c
52975 ac_cpp='$CPP $CPPFLAGS'
52976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52979
52980
52981 fi
52982
52983 fi
52984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52985 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52986
52987 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52988 for ac_func in _isnan
52989 do :
52990 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52991 if test "x$ac_cv_func__isnan" = x""yes; then :
52992 cat >>confdefs.h <<_ACEOF
52993 #define HAVE__ISNAN 1
52994 _ACEOF
52995
52996 fi
52997 done
52998
52999 fi
53000 fi
53001
53002
53003
53004
53005
53006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53007 $as_echo_n "checking for finite declaration... " >&6; }
53008 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53009 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53010 $as_echo_n "(cached) " >&6
53011 else
53012
53013
53014 ac_ext=cpp
53015 ac_cpp='$CXXCPP $CPPFLAGS'
53016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53019
53020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53021 /* end confdefs.h. */
53022 #include <math.h>
53023 #ifdef HAVE_IEEEFP_H
53024 #include <ieeefp.h>
53025 #endif
53026
53027 int
53028 main ()
53029 {
53030 finite(0);
53031 ;
53032 return 0;
53033 }
53034 _ACEOF
53035 if ac_fn_cxx_try_compile "$LINENO"; then :
53036 glibcxx_cv_func_finite_use=yes
53037 else
53038 glibcxx_cv_func_finite_use=no
53039 fi
53040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53041 ac_ext=c
53042 ac_cpp='$CPP $CPPFLAGS'
53043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53046
53047
53048 fi
53049
53050 fi
53051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53052 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53053
53054 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53055 for ac_func in finite
53056 do :
53057 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53058 if test "x$ac_cv_func_finite" = x""yes; then :
53059 cat >>confdefs.h <<_ACEOF
53060 #define HAVE_FINITE 1
53061 _ACEOF
53062
53063 fi
53064 done
53065
53066 else
53067
53068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53069 $as_echo_n "checking for _finite declaration... " >&6; }
53070 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53071 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53072 $as_echo_n "(cached) " >&6
53073 else
53074
53075
53076 ac_ext=cpp
53077 ac_cpp='$CXXCPP $CPPFLAGS'
53078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53081
53082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53083 /* end confdefs.h. */
53084 #include <math.h>
53085 #ifdef HAVE_IEEEFP_H
53086 #include <ieeefp.h>
53087 #endif
53088
53089 int
53090 main ()
53091 {
53092 _finite(0);
53093 ;
53094 return 0;
53095 }
53096 _ACEOF
53097 if ac_fn_cxx_try_compile "$LINENO"; then :
53098 glibcxx_cv_func__finite_use=yes
53099 else
53100 glibcxx_cv_func__finite_use=no
53101 fi
53102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53103 ac_ext=c
53104 ac_cpp='$CPP $CPPFLAGS'
53105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53108
53109
53110 fi
53111
53112 fi
53113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53114 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53115
53116 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53117 for ac_func in _finite
53118 do :
53119 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53120 if test "x$ac_cv_func__finite" = x""yes; then :
53121 cat >>confdefs.h <<_ACEOF
53122 #define HAVE__FINITE 1
53123 _ACEOF
53124
53125 fi
53126 done
53127
53128 fi
53129 fi
53130
53131
53132
53133
53134
53135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53136 $as_echo_n "checking for sincos declaration... " >&6; }
53137 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53138 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53139 $as_echo_n "(cached) " >&6
53140 else
53141
53142
53143 ac_ext=cpp
53144 ac_cpp='$CXXCPP $CPPFLAGS'
53145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53148
53149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53150 /* end confdefs.h. */
53151 #include <math.h>
53152 int
53153 main ()
53154 {
53155 sincos(0, 0, 0);
53156 ;
53157 return 0;
53158 }
53159 _ACEOF
53160 if ac_fn_cxx_try_compile "$LINENO"; then :
53161 glibcxx_cv_func_sincos_use=yes
53162 else
53163 glibcxx_cv_func_sincos_use=no
53164 fi
53165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53166 ac_ext=c
53167 ac_cpp='$CPP $CPPFLAGS'
53168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53171
53172
53173 fi
53174
53175 fi
53176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53177 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53178
53179 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53180 for ac_func in sincos
53181 do :
53182 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53183 if test "x$ac_cv_func_sincos" = x""yes; then :
53184 cat >>confdefs.h <<_ACEOF
53185 #define HAVE_SINCOS 1
53186 _ACEOF
53187
53188 fi
53189 done
53190
53191 else
53192
53193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53194 $as_echo_n "checking for _sincos declaration... " >&6; }
53195 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53196 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53197 $as_echo_n "(cached) " >&6
53198 else
53199
53200
53201 ac_ext=cpp
53202 ac_cpp='$CXXCPP $CPPFLAGS'
53203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53206
53207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53208 /* end confdefs.h. */
53209 #include <math.h>
53210 int
53211 main ()
53212 {
53213 _sincos(0, 0, 0);
53214 ;
53215 return 0;
53216 }
53217 _ACEOF
53218 if ac_fn_cxx_try_compile "$LINENO"; then :
53219 glibcxx_cv_func__sincos_use=yes
53220 else
53221 glibcxx_cv_func__sincos_use=no
53222 fi
53223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53224 ac_ext=c
53225 ac_cpp='$CPP $CPPFLAGS'
53226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53229
53230
53231 fi
53232
53233 fi
53234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53235 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53236
53237 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53238 for ac_func in _sincos
53239 do :
53240 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53241 if test "x$ac_cv_func__sincos" = x""yes; then :
53242 cat >>confdefs.h <<_ACEOF
53243 #define HAVE__SINCOS 1
53244 _ACEOF
53245
53246 fi
53247 done
53248
53249 fi
53250 fi
53251
53252
53253
53254
53255
53256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53257 $as_echo_n "checking for fpclass declaration... " >&6; }
53258 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53259 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53260 $as_echo_n "(cached) " >&6
53261 else
53262
53263
53264 ac_ext=cpp
53265 ac_cpp='$CXXCPP $CPPFLAGS'
53266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53269
53270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53271 /* end confdefs.h. */
53272 #include <math.h>
53273 #ifdef HAVE_IEEEFP_H
53274 #include <ieeefp.h>
53275 #endif
53276
53277 int
53278 main ()
53279 {
53280 fpclass(0);
53281 ;
53282 return 0;
53283 }
53284 _ACEOF
53285 if ac_fn_cxx_try_compile "$LINENO"; then :
53286 glibcxx_cv_func_fpclass_use=yes
53287 else
53288 glibcxx_cv_func_fpclass_use=no
53289 fi
53290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53291 ac_ext=c
53292 ac_cpp='$CPP $CPPFLAGS'
53293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53296
53297
53298 fi
53299
53300 fi
53301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53302 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53303
53304 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53305 for ac_func in fpclass
53306 do :
53307 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53308 if test "x$ac_cv_func_fpclass" = x""yes; then :
53309 cat >>confdefs.h <<_ACEOF
53310 #define HAVE_FPCLASS 1
53311 _ACEOF
53312
53313 fi
53314 done
53315
53316 else
53317
53318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53319 $as_echo_n "checking for _fpclass declaration... " >&6; }
53320 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53321 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53322 $as_echo_n "(cached) " >&6
53323 else
53324
53325
53326 ac_ext=cpp
53327 ac_cpp='$CXXCPP $CPPFLAGS'
53328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53331
53332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53333 /* end confdefs.h. */
53334 #include <math.h>
53335 #ifdef HAVE_IEEEFP_H
53336 #include <ieeefp.h>
53337 #endif
53338
53339 int
53340 main ()
53341 {
53342 _fpclass(0);
53343 ;
53344 return 0;
53345 }
53346 _ACEOF
53347 if ac_fn_cxx_try_compile "$LINENO"; then :
53348 glibcxx_cv_func__fpclass_use=yes
53349 else
53350 glibcxx_cv_func__fpclass_use=no
53351 fi
53352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53353 ac_ext=c
53354 ac_cpp='$CPP $CPPFLAGS'
53355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53358
53359
53360 fi
53361
53362 fi
53363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53364 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53365
53366 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53367 for ac_func in _fpclass
53368 do :
53369 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53370 if test "x$ac_cv_func__fpclass" = x""yes; then :
53371 cat >>confdefs.h <<_ACEOF
53372 #define HAVE__FPCLASS 1
53373 _ACEOF
53374
53375 fi
53376 done
53377
53378 fi
53379 fi
53380
53381
53382
53383
53384
53385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53386 $as_echo_n "checking for qfpclass declaration... " >&6; }
53387 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53388 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53389 $as_echo_n "(cached) " >&6
53390 else
53391
53392
53393 ac_ext=cpp
53394 ac_cpp='$CXXCPP $CPPFLAGS'
53395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53398
53399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53400 /* end confdefs.h. */
53401 #include <math.h>
53402 #ifdef HAVE_IEEEFP_H
53403 #include <ieeefp.h>
53404 #endif
53405
53406 int
53407 main ()
53408 {
53409 qfpclass(0);
53410 ;
53411 return 0;
53412 }
53413 _ACEOF
53414 if ac_fn_cxx_try_compile "$LINENO"; then :
53415 glibcxx_cv_func_qfpclass_use=yes
53416 else
53417 glibcxx_cv_func_qfpclass_use=no
53418 fi
53419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53420 ac_ext=c
53421 ac_cpp='$CPP $CPPFLAGS'
53422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53425
53426
53427 fi
53428
53429 fi
53430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53431 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53432
53433 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53434 for ac_func in qfpclass
53435 do :
53436 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53437 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53438 cat >>confdefs.h <<_ACEOF
53439 #define HAVE_QFPCLASS 1
53440 _ACEOF
53441
53442 fi
53443 done
53444
53445 else
53446
53447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53448 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53449 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53450 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53451 $as_echo_n "(cached) " >&6
53452 else
53453
53454
53455 ac_ext=cpp
53456 ac_cpp='$CXXCPP $CPPFLAGS'
53457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53460
53461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53462 /* end confdefs.h. */
53463 #include <math.h>
53464 #ifdef HAVE_IEEEFP_H
53465 #include <ieeefp.h>
53466 #endif
53467
53468 int
53469 main ()
53470 {
53471 _qfpclass(0);
53472 ;
53473 return 0;
53474 }
53475 _ACEOF
53476 if ac_fn_cxx_try_compile "$LINENO"; then :
53477 glibcxx_cv_func__qfpclass_use=yes
53478 else
53479 glibcxx_cv_func__qfpclass_use=no
53480 fi
53481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53482 ac_ext=c
53483 ac_cpp='$CPP $CPPFLAGS'
53484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53487
53488
53489 fi
53490
53491 fi
53492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53493 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53494
53495 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53496 for ac_func in _qfpclass
53497 do :
53498 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53499 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53500 cat >>confdefs.h <<_ACEOF
53501 #define HAVE__QFPCLASS 1
53502 _ACEOF
53503
53504 fi
53505 done
53506
53507 fi
53508 fi
53509
53510
53511
53512
53513
53514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53515 $as_echo_n "checking for hypot declaration... " >&6; }
53516 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53517 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53518 $as_echo_n "(cached) " >&6
53519 else
53520
53521
53522 ac_ext=cpp
53523 ac_cpp='$CXXCPP $CPPFLAGS'
53524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53527
53528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53529 /* end confdefs.h. */
53530 #include <math.h>
53531 int
53532 main ()
53533 {
53534 hypot(0, 0);
53535 ;
53536 return 0;
53537 }
53538 _ACEOF
53539 if ac_fn_cxx_try_compile "$LINENO"; then :
53540 glibcxx_cv_func_hypot_use=yes
53541 else
53542 glibcxx_cv_func_hypot_use=no
53543 fi
53544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53545 ac_ext=c
53546 ac_cpp='$CPP $CPPFLAGS'
53547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53550
53551
53552 fi
53553
53554 fi
53555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53556 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53557
53558 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53559 for ac_func in hypot
53560 do :
53561 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53562 if test "x$ac_cv_func_hypot" = x""yes; then :
53563 cat >>confdefs.h <<_ACEOF
53564 #define HAVE_HYPOT 1
53565 _ACEOF
53566
53567 fi
53568 done
53569
53570 else
53571
53572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53573 $as_echo_n "checking for _hypot declaration... " >&6; }
53574 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53575 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53576 $as_echo_n "(cached) " >&6
53577 else
53578
53579
53580 ac_ext=cpp
53581 ac_cpp='$CXXCPP $CPPFLAGS'
53582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53585
53586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53587 /* end confdefs.h. */
53588 #include <math.h>
53589 int
53590 main ()
53591 {
53592 _hypot(0, 0);
53593 ;
53594 return 0;
53595 }
53596 _ACEOF
53597 if ac_fn_cxx_try_compile "$LINENO"; then :
53598 glibcxx_cv_func__hypot_use=yes
53599 else
53600 glibcxx_cv_func__hypot_use=no
53601 fi
53602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53603 ac_ext=c
53604 ac_cpp='$CPP $CPPFLAGS'
53605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53608
53609
53610 fi
53611
53612 fi
53613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53614 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53615
53616 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53617 for ac_func in _hypot
53618 do :
53619 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53620 if test "x$ac_cv_func__hypot" = x""yes; then :
53621 cat >>confdefs.h <<_ACEOF
53622 #define HAVE__HYPOT 1
53623 _ACEOF
53624
53625 fi
53626 done
53627
53628 fi
53629 fi
53630
53631
53632
53633
53634
53635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53636 $as_echo_n "checking for float trig functions... " >&6; }
53637 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53638 $as_echo_n "(cached) " >&6
53639 else
53640
53641
53642 ac_ext=cpp
53643 ac_cpp='$CXXCPP $CPPFLAGS'
53644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53647
53648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53649 /* end confdefs.h. */
53650 #include <math.h>
53651 int
53652 main ()
53653 {
53654 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53655 ;
53656 return 0;
53657 }
53658 _ACEOF
53659 if ac_fn_cxx_try_compile "$LINENO"; then :
53660 glibcxx_cv_func_float_trig_use=yes
53661 else
53662 glibcxx_cv_func_float_trig_use=no
53663 fi
53664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53665 ac_ext=c
53666 ac_cpp='$CPP $CPPFLAGS'
53667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53670
53671 fi
53672
53673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53674 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53675 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53676 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53677 do :
53678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53680 eval as_val=\$$as_ac_var
53681 if test "x$as_val" = x""yes; then :
53682 cat >>confdefs.h <<_ACEOF
53683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53684 _ACEOF
53685
53686 fi
53687 done
53688
53689 else
53690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53691 $as_echo_n "checking for _float trig functions... " >&6; }
53692 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53693 $as_echo_n "(cached) " >&6
53694 else
53695
53696
53697 ac_ext=cpp
53698 ac_cpp='$CXXCPP $CPPFLAGS'
53699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53702
53703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53704 /* end confdefs.h. */
53705 #include <math.h>
53706 int
53707 main ()
53708 {
53709 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53710 ;
53711 return 0;
53712 }
53713 _ACEOF
53714 if ac_fn_cxx_try_compile "$LINENO"; then :
53715 glibcxx_cv_func__float_trig_use=yes
53716 else
53717 glibcxx_cv_func__float_trig_use=no
53718 fi
53719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53720 ac_ext=c
53721 ac_cpp='$CPP $CPPFLAGS'
53722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53725
53726 fi
53727
53728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53729 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53730 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53731 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53732 do :
53733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53734 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53735 eval as_val=\$$as_ac_var
53736 if test "x$as_val" = x""yes; then :
53737 cat >>confdefs.h <<_ACEOF
53738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53739 _ACEOF
53740
53741 fi
53742 done
53743
53744 fi
53745 fi
53746
53747
53748
53749
53750
53751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53752 $as_echo_n "checking for float round functions... " >&6; }
53753 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53754 $as_echo_n "(cached) " >&6
53755 else
53756
53757
53758 ac_ext=cpp
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53763
53764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765 /* end confdefs.h. */
53766 #include <math.h>
53767 int
53768 main ()
53769 {
53770 ceilf (0); floorf (0);
53771 ;
53772 return 0;
53773 }
53774 _ACEOF
53775 if ac_fn_cxx_try_compile "$LINENO"; then :
53776 glibcxx_cv_func_float_round_use=yes
53777 else
53778 glibcxx_cv_func_float_round_use=no
53779 fi
53780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53781 ac_ext=c
53782 ac_cpp='$CPP $CPPFLAGS'
53783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53786
53787 fi
53788
53789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53790 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53791 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53792 for ac_func in ceilf floorf
53793 do :
53794 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53795 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53796 eval as_val=\$$as_ac_var
53797 if test "x$as_val" = x""yes; then :
53798 cat >>confdefs.h <<_ACEOF
53799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53800 _ACEOF
53801
53802 fi
53803 done
53804
53805 else
53806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53807 $as_echo_n "checking for _float round functions... " >&6; }
53808 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53809 $as_echo_n "(cached) " >&6
53810 else
53811
53812
53813 ac_ext=cpp
53814 ac_cpp='$CXXCPP $CPPFLAGS'
53815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53818
53819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53820 /* end confdefs.h. */
53821 #include <math.h>
53822 int
53823 main ()
53824 {
53825 _ceilf (0); _floorf (0);
53826 ;
53827 return 0;
53828 }
53829 _ACEOF
53830 if ac_fn_cxx_try_compile "$LINENO"; then :
53831 glibcxx_cv_func__float_round_use=yes
53832 else
53833 glibcxx_cv_func__float_round_use=no
53834 fi
53835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53836 ac_ext=c
53837 ac_cpp='$CPP $CPPFLAGS'
53838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53841
53842 fi
53843
53844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53845 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53846 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53847 for ac_func in _ceilf _floorf
53848 do :
53849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53851 eval as_val=\$$as_ac_var
53852 if test "x$as_val" = x""yes; then :
53853 cat >>confdefs.h <<_ACEOF
53854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53855 _ACEOF
53856
53857 fi
53858 done
53859
53860 fi
53861 fi
53862
53863
53864
53865
53866
53867
53868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53869 $as_echo_n "checking for expf declaration... " >&6; }
53870 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53871 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53872 $as_echo_n "(cached) " >&6
53873 else
53874
53875
53876 ac_ext=cpp
53877 ac_cpp='$CXXCPP $CPPFLAGS'
53878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53881
53882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53883 /* end confdefs.h. */
53884 #include <math.h>
53885 #ifdef HAVE_IEEEFP_H
53886 #include <ieeefp.h>
53887 #endif
53888
53889 int
53890 main ()
53891 {
53892 expf(0);
53893 ;
53894 return 0;
53895 }
53896 _ACEOF
53897 if ac_fn_cxx_try_compile "$LINENO"; then :
53898 glibcxx_cv_func_expf_use=yes
53899 else
53900 glibcxx_cv_func_expf_use=no
53901 fi
53902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53903 ac_ext=c
53904 ac_cpp='$CPP $CPPFLAGS'
53905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53908
53909
53910 fi
53911
53912 fi
53913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53914 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53915
53916 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53917 for ac_func in expf
53918 do :
53919 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53920 if test "x$ac_cv_func_expf" = x""yes; then :
53921 cat >>confdefs.h <<_ACEOF
53922 #define HAVE_EXPF 1
53923 _ACEOF
53924
53925 fi
53926 done
53927
53928 else
53929
53930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53931 $as_echo_n "checking for _expf declaration... " >&6; }
53932 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53933 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53934 $as_echo_n "(cached) " >&6
53935 else
53936
53937
53938 ac_ext=cpp
53939 ac_cpp='$CXXCPP $CPPFLAGS'
53940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53943
53944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53945 /* end confdefs.h. */
53946 #include <math.h>
53947 #ifdef HAVE_IEEEFP_H
53948 #include <ieeefp.h>
53949 #endif
53950
53951 int
53952 main ()
53953 {
53954 _expf(0);
53955 ;
53956 return 0;
53957 }
53958 _ACEOF
53959 if ac_fn_cxx_try_compile "$LINENO"; then :
53960 glibcxx_cv_func__expf_use=yes
53961 else
53962 glibcxx_cv_func__expf_use=no
53963 fi
53964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53965 ac_ext=c
53966 ac_cpp='$CPP $CPPFLAGS'
53967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53970
53971
53972 fi
53973
53974 fi
53975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53976 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53977
53978 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53979 for ac_func in _expf
53980 do :
53981 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53982 if test "x$ac_cv_func__expf" = x""yes; then :
53983 cat >>confdefs.h <<_ACEOF
53984 #define HAVE__EXPF 1
53985 _ACEOF
53986
53987 fi
53988 done
53989
53990 fi
53991 fi
53992
53993
53994
53995
53996
53997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53998 $as_echo_n "checking for isnanf declaration... " >&6; }
53999 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54000 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54001 $as_echo_n "(cached) " >&6
54002 else
54003
54004
54005 ac_ext=cpp
54006 ac_cpp='$CXXCPP $CPPFLAGS'
54007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54010
54011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54012 /* end confdefs.h. */
54013 #include <math.h>
54014 #ifdef HAVE_IEEEFP_H
54015 #include <ieeefp.h>
54016 #endif
54017
54018 int
54019 main ()
54020 {
54021 isnanf(0);
54022 ;
54023 return 0;
54024 }
54025 _ACEOF
54026 if ac_fn_cxx_try_compile "$LINENO"; then :
54027 glibcxx_cv_func_isnanf_use=yes
54028 else
54029 glibcxx_cv_func_isnanf_use=no
54030 fi
54031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54032 ac_ext=c
54033 ac_cpp='$CPP $CPPFLAGS'
54034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54037
54038
54039 fi
54040
54041 fi
54042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54043 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54044
54045 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54046 for ac_func in isnanf
54047 do :
54048 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54049 if test "x$ac_cv_func_isnanf" = x""yes; then :
54050 cat >>confdefs.h <<_ACEOF
54051 #define HAVE_ISNANF 1
54052 _ACEOF
54053
54054 fi
54055 done
54056
54057 else
54058
54059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54060 $as_echo_n "checking for _isnanf declaration... " >&6; }
54061 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54062 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54063 $as_echo_n "(cached) " >&6
54064 else
54065
54066
54067 ac_ext=cpp
54068 ac_cpp='$CXXCPP $CPPFLAGS'
54069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54072
54073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54074 /* end confdefs.h. */
54075 #include <math.h>
54076 #ifdef HAVE_IEEEFP_H
54077 #include <ieeefp.h>
54078 #endif
54079
54080 int
54081 main ()
54082 {
54083 _isnanf(0);
54084 ;
54085 return 0;
54086 }
54087 _ACEOF
54088 if ac_fn_cxx_try_compile "$LINENO"; then :
54089 glibcxx_cv_func__isnanf_use=yes
54090 else
54091 glibcxx_cv_func__isnanf_use=no
54092 fi
54093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54094 ac_ext=c
54095 ac_cpp='$CPP $CPPFLAGS'
54096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54099
54100
54101 fi
54102
54103 fi
54104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54105 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54106
54107 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54108 for ac_func in _isnanf
54109 do :
54110 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54111 if test "x$ac_cv_func__isnanf" = x""yes; then :
54112 cat >>confdefs.h <<_ACEOF
54113 #define HAVE__ISNANF 1
54114 _ACEOF
54115
54116 fi
54117 done
54118
54119 fi
54120 fi
54121
54122
54123
54124
54125
54126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54127 $as_echo_n "checking for isinff declaration... " >&6; }
54128 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54129 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54130 $as_echo_n "(cached) " >&6
54131 else
54132
54133
54134 ac_ext=cpp
54135 ac_cpp='$CXXCPP $CPPFLAGS'
54136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54139
54140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54141 /* end confdefs.h. */
54142 #include <math.h>
54143 #ifdef HAVE_IEEEFP_H
54144 #include <ieeefp.h>
54145 #endif
54146
54147 int
54148 main ()
54149 {
54150 isinff(0);
54151 ;
54152 return 0;
54153 }
54154 _ACEOF
54155 if ac_fn_cxx_try_compile "$LINENO"; then :
54156 glibcxx_cv_func_isinff_use=yes
54157 else
54158 glibcxx_cv_func_isinff_use=no
54159 fi
54160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54161 ac_ext=c
54162 ac_cpp='$CPP $CPPFLAGS'
54163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54166
54167
54168 fi
54169
54170 fi
54171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54172 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54173
54174 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54175 for ac_func in isinff
54176 do :
54177 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54178 if test "x$ac_cv_func_isinff" = x""yes; then :
54179 cat >>confdefs.h <<_ACEOF
54180 #define HAVE_ISINFF 1
54181 _ACEOF
54182
54183 fi
54184 done
54185
54186 else
54187
54188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54189 $as_echo_n "checking for _isinff declaration... " >&6; }
54190 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54191 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54192 $as_echo_n "(cached) " >&6
54193 else
54194
54195
54196 ac_ext=cpp
54197 ac_cpp='$CXXCPP $CPPFLAGS'
54198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54201
54202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54203 /* end confdefs.h. */
54204 #include <math.h>
54205 #ifdef HAVE_IEEEFP_H
54206 #include <ieeefp.h>
54207 #endif
54208
54209 int
54210 main ()
54211 {
54212 _isinff(0);
54213 ;
54214 return 0;
54215 }
54216 _ACEOF
54217 if ac_fn_cxx_try_compile "$LINENO"; then :
54218 glibcxx_cv_func__isinff_use=yes
54219 else
54220 glibcxx_cv_func__isinff_use=no
54221 fi
54222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54223 ac_ext=c
54224 ac_cpp='$CPP $CPPFLAGS'
54225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54228
54229
54230 fi
54231
54232 fi
54233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54234 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54235
54236 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54237 for ac_func in _isinff
54238 do :
54239 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54240 if test "x$ac_cv_func__isinff" = x""yes; then :
54241 cat >>confdefs.h <<_ACEOF
54242 #define HAVE__ISINFF 1
54243 _ACEOF
54244
54245 fi
54246 done
54247
54248 fi
54249 fi
54250
54251
54252
54253
54254
54255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54256 $as_echo_n "checking for atan2f declaration... " >&6; }
54257 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54258 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54259 $as_echo_n "(cached) " >&6
54260 else
54261
54262
54263 ac_ext=cpp
54264 ac_cpp='$CXXCPP $CPPFLAGS'
54265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54268
54269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54270 /* end confdefs.h. */
54271 #include <math.h>
54272 int
54273 main ()
54274 {
54275 atan2f(0, 0);
54276 ;
54277 return 0;
54278 }
54279 _ACEOF
54280 if ac_fn_cxx_try_compile "$LINENO"; then :
54281 glibcxx_cv_func_atan2f_use=yes
54282 else
54283 glibcxx_cv_func_atan2f_use=no
54284 fi
54285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54286 ac_ext=c
54287 ac_cpp='$CPP $CPPFLAGS'
54288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54291
54292
54293 fi
54294
54295 fi
54296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54297 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54298
54299 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54300 for ac_func in atan2f
54301 do :
54302 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54303 if test "x$ac_cv_func_atan2f" = x""yes; then :
54304 cat >>confdefs.h <<_ACEOF
54305 #define HAVE_ATAN2F 1
54306 _ACEOF
54307
54308 fi
54309 done
54310
54311 else
54312
54313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54314 $as_echo_n "checking for _atan2f declaration... " >&6; }
54315 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54316 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54317 $as_echo_n "(cached) " >&6
54318 else
54319
54320
54321 ac_ext=cpp
54322 ac_cpp='$CXXCPP $CPPFLAGS'
54323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54326
54327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54328 /* end confdefs.h. */
54329 #include <math.h>
54330 int
54331 main ()
54332 {
54333 _atan2f(0, 0);
54334 ;
54335 return 0;
54336 }
54337 _ACEOF
54338 if ac_fn_cxx_try_compile "$LINENO"; then :
54339 glibcxx_cv_func__atan2f_use=yes
54340 else
54341 glibcxx_cv_func__atan2f_use=no
54342 fi
54343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54344 ac_ext=c
54345 ac_cpp='$CPP $CPPFLAGS'
54346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54349
54350
54351 fi
54352
54353 fi
54354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54355 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54356
54357 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54358 for ac_func in _atan2f
54359 do :
54360 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54361 if test "x$ac_cv_func__atan2f" = x""yes; then :
54362 cat >>confdefs.h <<_ACEOF
54363 #define HAVE__ATAN2F 1
54364 _ACEOF
54365
54366 fi
54367 done
54368
54369 fi
54370 fi
54371
54372
54373
54374
54375
54376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54377 $as_echo_n "checking for fabsf declaration... " >&6; }
54378 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54379 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54380 $as_echo_n "(cached) " >&6
54381 else
54382
54383
54384 ac_ext=cpp
54385 ac_cpp='$CXXCPP $CPPFLAGS'
54386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54389
54390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54391 /* end confdefs.h. */
54392 #include <math.h>
54393 #ifdef HAVE_IEEEFP_H
54394 #include <ieeefp.h>
54395 #endif
54396
54397 int
54398 main ()
54399 {
54400 fabsf(0);
54401 ;
54402 return 0;
54403 }
54404 _ACEOF
54405 if ac_fn_cxx_try_compile "$LINENO"; then :
54406 glibcxx_cv_func_fabsf_use=yes
54407 else
54408 glibcxx_cv_func_fabsf_use=no
54409 fi
54410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54411 ac_ext=c
54412 ac_cpp='$CPP $CPPFLAGS'
54413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54416
54417
54418 fi
54419
54420 fi
54421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54422 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54423
54424 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54425 for ac_func in fabsf
54426 do :
54427 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54428 if test "x$ac_cv_func_fabsf" = x""yes; then :
54429 cat >>confdefs.h <<_ACEOF
54430 #define HAVE_FABSF 1
54431 _ACEOF
54432
54433 fi
54434 done
54435
54436 else
54437
54438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54439 $as_echo_n "checking for _fabsf declaration... " >&6; }
54440 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54441 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54442 $as_echo_n "(cached) " >&6
54443 else
54444
54445
54446 ac_ext=cpp
54447 ac_cpp='$CXXCPP $CPPFLAGS'
54448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54451
54452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54453 /* end confdefs.h. */
54454 #include <math.h>
54455 #ifdef HAVE_IEEEFP_H
54456 #include <ieeefp.h>
54457 #endif
54458
54459 int
54460 main ()
54461 {
54462 _fabsf(0);
54463 ;
54464 return 0;
54465 }
54466 _ACEOF
54467 if ac_fn_cxx_try_compile "$LINENO"; then :
54468 glibcxx_cv_func__fabsf_use=yes
54469 else
54470 glibcxx_cv_func__fabsf_use=no
54471 fi
54472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54473 ac_ext=c
54474 ac_cpp='$CPP $CPPFLAGS'
54475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54478
54479
54480 fi
54481
54482 fi
54483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54484 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54485
54486 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54487 for ac_func in _fabsf
54488 do :
54489 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54490 if test "x$ac_cv_func__fabsf" = x""yes; then :
54491 cat >>confdefs.h <<_ACEOF
54492 #define HAVE__FABSF 1
54493 _ACEOF
54494
54495 fi
54496 done
54497
54498 fi
54499 fi
54500
54501
54502
54503
54504
54505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54506 $as_echo_n "checking for fmodf declaration... " >&6; }
54507 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54508 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54509 $as_echo_n "(cached) " >&6
54510 else
54511
54512
54513 ac_ext=cpp
54514 ac_cpp='$CXXCPP $CPPFLAGS'
54515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54518
54519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54520 /* end confdefs.h. */
54521 #include <math.h>
54522 int
54523 main ()
54524 {
54525 fmodf(0, 0);
54526 ;
54527 return 0;
54528 }
54529 _ACEOF
54530 if ac_fn_cxx_try_compile "$LINENO"; then :
54531 glibcxx_cv_func_fmodf_use=yes
54532 else
54533 glibcxx_cv_func_fmodf_use=no
54534 fi
54535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54536 ac_ext=c
54537 ac_cpp='$CPP $CPPFLAGS'
54538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54541
54542
54543 fi
54544
54545 fi
54546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54547 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54548
54549 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54550 for ac_func in fmodf
54551 do :
54552 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54553 if test "x$ac_cv_func_fmodf" = x""yes; then :
54554 cat >>confdefs.h <<_ACEOF
54555 #define HAVE_FMODF 1
54556 _ACEOF
54557
54558 fi
54559 done
54560
54561 else
54562
54563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54564 $as_echo_n "checking for _fmodf declaration... " >&6; }
54565 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54566 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54567 $as_echo_n "(cached) " >&6
54568 else
54569
54570
54571 ac_ext=cpp
54572 ac_cpp='$CXXCPP $CPPFLAGS'
54573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54576
54577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54578 /* end confdefs.h. */
54579 #include <math.h>
54580 int
54581 main ()
54582 {
54583 _fmodf(0, 0);
54584 ;
54585 return 0;
54586 }
54587 _ACEOF
54588 if ac_fn_cxx_try_compile "$LINENO"; then :
54589 glibcxx_cv_func__fmodf_use=yes
54590 else
54591 glibcxx_cv_func__fmodf_use=no
54592 fi
54593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54594 ac_ext=c
54595 ac_cpp='$CPP $CPPFLAGS'
54596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54599
54600
54601 fi
54602
54603 fi
54604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54605 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54606
54607 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54608 for ac_func in _fmodf
54609 do :
54610 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54611 if test "x$ac_cv_func__fmodf" = x""yes; then :
54612 cat >>confdefs.h <<_ACEOF
54613 #define HAVE__FMODF 1
54614 _ACEOF
54615
54616 fi
54617 done
54618
54619 fi
54620 fi
54621
54622
54623
54624
54625
54626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54627 $as_echo_n "checking for frexpf declaration... " >&6; }
54628 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54629 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54630 $as_echo_n "(cached) " >&6
54631 else
54632
54633
54634 ac_ext=cpp
54635 ac_cpp='$CXXCPP $CPPFLAGS'
54636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54639
54640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54641 /* end confdefs.h. */
54642 #include <math.h>
54643 int
54644 main ()
54645 {
54646 frexpf(0, 0);
54647 ;
54648 return 0;
54649 }
54650 _ACEOF
54651 if ac_fn_cxx_try_compile "$LINENO"; then :
54652 glibcxx_cv_func_frexpf_use=yes
54653 else
54654 glibcxx_cv_func_frexpf_use=no
54655 fi
54656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54657 ac_ext=c
54658 ac_cpp='$CPP $CPPFLAGS'
54659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54662
54663
54664 fi
54665
54666 fi
54667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54668 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54669
54670 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54671 for ac_func in frexpf
54672 do :
54673 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54674 if test "x$ac_cv_func_frexpf" = x""yes; then :
54675 cat >>confdefs.h <<_ACEOF
54676 #define HAVE_FREXPF 1
54677 _ACEOF
54678
54679 fi
54680 done
54681
54682 else
54683
54684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54685 $as_echo_n "checking for _frexpf declaration... " >&6; }
54686 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54687 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54688 $as_echo_n "(cached) " >&6
54689 else
54690
54691
54692 ac_ext=cpp
54693 ac_cpp='$CXXCPP $CPPFLAGS'
54694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54697
54698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54699 /* end confdefs.h. */
54700 #include <math.h>
54701 int
54702 main ()
54703 {
54704 _frexpf(0, 0);
54705 ;
54706 return 0;
54707 }
54708 _ACEOF
54709 if ac_fn_cxx_try_compile "$LINENO"; then :
54710 glibcxx_cv_func__frexpf_use=yes
54711 else
54712 glibcxx_cv_func__frexpf_use=no
54713 fi
54714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54715 ac_ext=c
54716 ac_cpp='$CPP $CPPFLAGS'
54717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54720
54721
54722 fi
54723
54724 fi
54725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54726 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54727
54728 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54729 for ac_func in _frexpf
54730 do :
54731 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54732 if test "x$ac_cv_func__frexpf" = x""yes; then :
54733 cat >>confdefs.h <<_ACEOF
54734 #define HAVE__FREXPF 1
54735 _ACEOF
54736
54737 fi
54738 done
54739
54740 fi
54741 fi
54742
54743
54744
54745
54746
54747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54748 $as_echo_n "checking for hypotf declaration... " >&6; }
54749 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54750 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54751 $as_echo_n "(cached) " >&6
54752 else
54753
54754
54755 ac_ext=cpp
54756 ac_cpp='$CXXCPP $CPPFLAGS'
54757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54760
54761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54762 /* end confdefs.h. */
54763 #include <math.h>
54764 int
54765 main ()
54766 {
54767 hypotf(0, 0);
54768 ;
54769 return 0;
54770 }
54771 _ACEOF
54772 if ac_fn_cxx_try_compile "$LINENO"; then :
54773 glibcxx_cv_func_hypotf_use=yes
54774 else
54775 glibcxx_cv_func_hypotf_use=no
54776 fi
54777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54778 ac_ext=c
54779 ac_cpp='$CPP $CPPFLAGS'
54780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54783
54784
54785 fi
54786
54787 fi
54788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54789 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54790
54791 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54792 for ac_func in hypotf
54793 do :
54794 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54795 if test "x$ac_cv_func_hypotf" = x""yes; then :
54796 cat >>confdefs.h <<_ACEOF
54797 #define HAVE_HYPOTF 1
54798 _ACEOF
54799
54800 fi
54801 done
54802
54803 else
54804
54805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54806 $as_echo_n "checking for _hypotf declaration... " >&6; }
54807 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54808 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54809 $as_echo_n "(cached) " >&6
54810 else
54811
54812
54813 ac_ext=cpp
54814 ac_cpp='$CXXCPP $CPPFLAGS'
54815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54818
54819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54820 /* end confdefs.h. */
54821 #include <math.h>
54822 int
54823 main ()
54824 {
54825 _hypotf(0, 0);
54826 ;
54827 return 0;
54828 }
54829 _ACEOF
54830 if ac_fn_cxx_try_compile "$LINENO"; then :
54831 glibcxx_cv_func__hypotf_use=yes
54832 else
54833 glibcxx_cv_func__hypotf_use=no
54834 fi
54835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54836 ac_ext=c
54837 ac_cpp='$CPP $CPPFLAGS'
54838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54841
54842
54843 fi
54844
54845 fi
54846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54847 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54848
54849 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54850 for ac_func in _hypotf
54851 do :
54852 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54853 if test "x$ac_cv_func__hypotf" = x""yes; then :
54854 cat >>confdefs.h <<_ACEOF
54855 #define HAVE__HYPOTF 1
54856 _ACEOF
54857
54858 fi
54859 done
54860
54861 fi
54862 fi
54863
54864
54865
54866
54867
54868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54869 $as_echo_n "checking for ldexpf declaration... " >&6; }
54870 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54871 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54872 $as_echo_n "(cached) " >&6
54873 else
54874
54875
54876 ac_ext=cpp
54877 ac_cpp='$CXXCPP $CPPFLAGS'
54878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54881
54882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54883 /* end confdefs.h. */
54884 #include <math.h>
54885 int
54886 main ()
54887 {
54888 ldexpf(0, 0);
54889 ;
54890 return 0;
54891 }
54892 _ACEOF
54893 if ac_fn_cxx_try_compile "$LINENO"; then :
54894 glibcxx_cv_func_ldexpf_use=yes
54895 else
54896 glibcxx_cv_func_ldexpf_use=no
54897 fi
54898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54899 ac_ext=c
54900 ac_cpp='$CPP $CPPFLAGS'
54901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54904
54905
54906 fi
54907
54908 fi
54909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54910 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54911
54912 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54913 for ac_func in ldexpf
54914 do :
54915 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54916 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54917 cat >>confdefs.h <<_ACEOF
54918 #define HAVE_LDEXPF 1
54919 _ACEOF
54920
54921 fi
54922 done
54923
54924 else
54925
54926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54927 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54928 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54929 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54930 $as_echo_n "(cached) " >&6
54931 else
54932
54933
54934 ac_ext=cpp
54935 ac_cpp='$CXXCPP $CPPFLAGS'
54936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54939
54940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54941 /* end confdefs.h. */
54942 #include <math.h>
54943 int
54944 main ()
54945 {
54946 _ldexpf(0, 0);
54947 ;
54948 return 0;
54949 }
54950 _ACEOF
54951 if ac_fn_cxx_try_compile "$LINENO"; then :
54952 glibcxx_cv_func__ldexpf_use=yes
54953 else
54954 glibcxx_cv_func__ldexpf_use=no
54955 fi
54956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54957 ac_ext=c
54958 ac_cpp='$CPP $CPPFLAGS'
54959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54962
54963
54964 fi
54965
54966 fi
54967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54968 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54969
54970 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54971 for ac_func in _ldexpf
54972 do :
54973 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54974 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54975 cat >>confdefs.h <<_ACEOF
54976 #define HAVE__LDEXPF 1
54977 _ACEOF
54978
54979 fi
54980 done
54981
54982 fi
54983 fi
54984
54985
54986
54987
54988
54989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54990 $as_echo_n "checking for logf declaration... " >&6; }
54991 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54992 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54993 $as_echo_n "(cached) " >&6
54994 else
54995
54996
54997 ac_ext=cpp
54998 ac_cpp='$CXXCPP $CPPFLAGS'
54999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55002
55003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55004 /* end confdefs.h. */
55005 #include <math.h>
55006 #ifdef HAVE_IEEEFP_H
55007 #include <ieeefp.h>
55008 #endif
55009
55010 int
55011 main ()
55012 {
55013 logf(0);
55014 ;
55015 return 0;
55016 }
55017 _ACEOF
55018 if ac_fn_cxx_try_compile "$LINENO"; then :
55019 glibcxx_cv_func_logf_use=yes
55020 else
55021 glibcxx_cv_func_logf_use=no
55022 fi
55023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55024 ac_ext=c
55025 ac_cpp='$CPP $CPPFLAGS'
55026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55029
55030
55031 fi
55032
55033 fi
55034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55035 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55036
55037 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55038 for ac_func in logf
55039 do :
55040 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55041 if test "x$ac_cv_func_logf" = x""yes; then :
55042 cat >>confdefs.h <<_ACEOF
55043 #define HAVE_LOGF 1
55044 _ACEOF
55045
55046 fi
55047 done
55048
55049 else
55050
55051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55052 $as_echo_n "checking for _logf declaration... " >&6; }
55053 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55054 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55055 $as_echo_n "(cached) " >&6
55056 else
55057
55058
55059 ac_ext=cpp
55060 ac_cpp='$CXXCPP $CPPFLAGS'
55061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55064
55065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55066 /* end confdefs.h. */
55067 #include <math.h>
55068 #ifdef HAVE_IEEEFP_H
55069 #include <ieeefp.h>
55070 #endif
55071
55072 int
55073 main ()
55074 {
55075 _logf(0);
55076 ;
55077 return 0;
55078 }
55079 _ACEOF
55080 if ac_fn_cxx_try_compile "$LINENO"; then :
55081 glibcxx_cv_func__logf_use=yes
55082 else
55083 glibcxx_cv_func__logf_use=no
55084 fi
55085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55086 ac_ext=c
55087 ac_cpp='$CPP $CPPFLAGS'
55088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55091
55092
55093 fi
55094
55095 fi
55096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55097 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55098
55099 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55100 for ac_func in _logf
55101 do :
55102 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55103 if test "x$ac_cv_func__logf" = x""yes; then :
55104 cat >>confdefs.h <<_ACEOF
55105 #define HAVE__LOGF 1
55106 _ACEOF
55107
55108 fi
55109 done
55110
55111 fi
55112 fi
55113
55114
55115
55116
55117
55118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55119 $as_echo_n "checking for log10f declaration... " >&6; }
55120 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55121 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55122 $as_echo_n "(cached) " >&6
55123 else
55124
55125
55126 ac_ext=cpp
55127 ac_cpp='$CXXCPP $CPPFLAGS'
55128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55131
55132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55133 /* end confdefs.h. */
55134 #include <math.h>
55135 #ifdef HAVE_IEEEFP_H
55136 #include <ieeefp.h>
55137 #endif
55138
55139 int
55140 main ()
55141 {
55142 log10f(0);
55143 ;
55144 return 0;
55145 }
55146 _ACEOF
55147 if ac_fn_cxx_try_compile "$LINENO"; then :
55148 glibcxx_cv_func_log10f_use=yes
55149 else
55150 glibcxx_cv_func_log10f_use=no
55151 fi
55152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55153 ac_ext=c
55154 ac_cpp='$CPP $CPPFLAGS'
55155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55158
55159
55160 fi
55161
55162 fi
55163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55164 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55165
55166 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55167 for ac_func in log10f
55168 do :
55169 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55170 if test "x$ac_cv_func_log10f" = x""yes; then :
55171 cat >>confdefs.h <<_ACEOF
55172 #define HAVE_LOG10F 1
55173 _ACEOF
55174
55175 fi
55176 done
55177
55178 else
55179
55180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55181 $as_echo_n "checking for _log10f declaration... " >&6; }
55182 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55183 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55184 $as_echo_n "(cached) " >&6
55185 else
55186
55187
55188 ac_ext=cpp
55189 ac_cpp='$CXXCPP $CPPFLAGS'
55190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55193
55194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55195 /* end confdefs.h. */
55196 #include <math.h>
55197 #ifdef HAVE_IEEEFP_H
55198 #include <ieeefp.h>
55199 #endif
55200
55201 int
55202 main ()
55203 {
55204 _log10f(0);
55205 ;
55206 return 0;
55207 }
55208 _ACEOF
55209 if ac_fn_cxx_try_compile "$LINENO"; then :
55210 glibcxx_cv_func__log10f_use=yes
55211 else
55212 glibcxx_cv_func__log10f_use=no
55213 fi
55214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55215 ac_ext=c
55216 ac_cpp='$CPP $CPPFLAGS'
55217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55220
55221
55222 fi
55223
55224 fi
55225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55226 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55227
55228 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55229 for ac_func in _log10f
55230 do :
55231 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55232 if test "x$ac_cv_func__log10f" = x""yes; then :
55233 cat >>confdefs.h <<_ACEOF
55234 #define HAVE__LOG10F 1
55235 _ACEOF
55236
55237 fi
55238 done
55239
55240 fi
55241 fi
55242
55243
55244
55245
55246
55247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55248 $as_echo_n "checking for modff declaration... " >&6; }
55249 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55250 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55251 $as_echo_n "(cached) " >&6
55252 else
55253
55254
55255 ac_ext=cpp
55256 ac_cpp='$CXXCPP $CPPFLAGS'
55257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55260
55261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55262 /* end confdefs.h. */
55263 #include <math.h>
55264 int
55265 main ()
55266 {
55267 modff(0, 0);
55268 ;
55269 return 0;
55270 }
55271 _ACEOF
55272 if ac_fn_cxx_try_compile "$LINENO"; then :
55273 glibcxx_cv_func_modff_use=yes
55274 else
55275 glibcxx_cv_func_modff_use=no
55276 fi
55277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55278 ac_ext=c
55279 ac_cpp='$CPP $CPPFLAGS'
55280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55283
55284
55285 fi
55286
55287 fi
55288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55289 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55290
55291 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55292 for ac_func in modff
55293 do :
55294 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55295 if test "x$ac_cv_func_modff" = x""yes; then :
55296 cat >>confdefs.h <<_ACEOF
55297 #define HAVE_MODFF 1
55298 _ACEOF
55299
55300 fi
55301 done
55302
55303 else
55304
55305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55306 $as_echo_n "checking for _modff declaration... " >&6; }
55307 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55308 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55309 $as_echo_n "(cached) " >&6
55310 else
55311
55312
55313 ac_ext=cpp
55314 ac_cpp='$CXXCPP $CPPFLAGS'
55315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55318
55319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55320 /* end confdefs.h. */
55321 #include <math.h>
55322 int
55323 main ()
55324 {
55325 _modff(0, 0);
55326 ;
55327 return 0;
55328 }
55329 _ACEOF
55330 if ac_fn_cxx_try_compile "$LINENO"; then :
55331 glibcxx_cv_func__modff_use=yes
55332 else
55333 glibcxx_cv_func__modff_use=no
55334 fi
55335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55336 ac_ext=c
55337 ac_cpp='$CPP $CPPFLAGS'
55338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55341
55342
55343 fi
55344
55345 fi
55346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55347 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55348
55349 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55350 for ac_func in _modff
55351 do :
55352 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55353 if test "x$ac_cv_func__modff" = x""yes; then :
55354 cat >>confdefs.h <<_ACEOF
55355 #define HAVE__MODFF 1
55356 _ACEOF
55357
55358 fi
55359 done
55360
55361 fi
55362 fi
55363
55364
55365
55366
55367
55368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55369 $as_echo_n "checking for modf declaration... " >&6; }
55370 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55371 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55372 $as_echo_n "(cached) " >&6
55373 else
55374
55375
55376 ac_ext=cpp
55377 ac_cpp='$CXXCPP $CPPFLAGS'
55378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55381
55382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55383 /* end confdefs.h. */
55384 #include <math.h>
55385 int
55386 main ()
55387 {
55388 modf(0, 0);
55389 ;
55390 return 0;
55391 }
55392 _ACEOF
55393 if ac_fn_cxx_try_compile "$LINENO"; then :
55394 glibcxx_cv_func_modf_use=yes
55395 else
55396 glibcxx_cv_func_modf_use=no
55397 fi
55398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55399 ac_ext=c
55400 ac_cpp='$CPP $CPPFLAGS'
55401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55404
55405
55406 fi
55407
55408 fi
55409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55410 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55411
55412 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55413 for ac_func in modf
55414 do :
55415 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55416 if test "x$ac_cv_func_modf" = x""yes; then :
55417 cat >>confdefs.h <<_ACEOF
55418 #define HAVE_MODF 1
55419 _ACEOF
55420
55421 fi
55422 done
55423
55424 else
55425
55426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55427 $as_echo_n "checking for _modf declaration... " >&6; }
55428 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55429 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55430 $as_echo_n "(cached) " >&6
55431 else
55432
55433
55434 ac_ext=cpp
55435 ac_cpp='$CXXCPP $CPPFLAGS'
55436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55439
55440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55441 /* end confdefs.h. */
55442 #include <math.h>
55443 int
55444 main ()
55445 {
55446 _modf(0, 0);
55447 ;
55448 return 0;
55449 }
55450 _ACEOF
55451 if ac_fn_cxx_try_compile "$LINENO"; then :
55452 glibcxx_cv_func__modf_use=yes
55453 else
55454 glibcxx_cv_func__modf_use=no
55455 fi
55456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55457 ac_ext=c
55458 ac_cpp='$CPP $CPPFLAGS'
55459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55462
55463
55464 fi
55465
55466 fi
55467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55468 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55469
55470 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55471 for ac_func in _modf
55472 do :
55473 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55474 if test "x$ac_cv_func__modf" = x""yes; then :
55475 cat >>confdefs.h <<_ACEOF
55476 #define HAVE__MODF 1
55477 _ACEOF
55478
55479 fi
55480 done
55481
55482 fi
55483 fi
55484
55485
55486
55487
55488
55489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55490 $as_echo_n "checking for powf declaration... " >&6; }
55491 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55492 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55493 $as_echo_n "(cached) " >&6
55494 else
55495
55496
55497 ac_ext=cpp
55498 ac_cpp='$CXXCPP $CPPFLAGS'
55499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55502
55503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55504 /* end confdefs.h. */
55505 #include <math.h>
55506 int
55507 main ()
55508 {
55509 powf(0, 0);
55510 ;
55511 return 0;
55512 }
55513 _ACEOF
55514 if ac_fn_cxx_try_compile "$LINENO"; then :
55515 glibcxx_cv_func_powf_use=yes
55516 else
55517 glibcxx_cv_func_powf_use=no
55518 fi
55519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55520 ac_ext=c
55521 ac_cpp='$CPP $CPPFLAGS'
55522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55525
55526
55527 fi
55528
55529 fi
55530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55531 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55532
55533 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55534 for ac_func in powf
55535 do :
55536 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55537 if test "x$ac_cv_func_powf" = x""yes; then :
55538 cat >>confdefs.h <<_ACEOF
55539 #define HAVE_POWF 1
55540 _ACEOF
55541
55542 fi
55543 done
55544
55545 else
55546
55547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55548 $as_echo_n "checking for _powf declaration... " >&6; }
55549 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55550 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55551 $as_echo_n "(cached) " >&6
55552 else
55553
55554
55555 ac_ext=cpp
55556 ac_cpp='$CXXCPP $CPPFLAGS'
55557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55560
55561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55562 /* end confdefs.h. */
55563 #include <math.h>
55564 int
55565 main ()
55566 {
55567 _powf(0, 0);
55568 ;
55569 return 0;
55570 }
55571 _ACEOF
55572 if ac_fn_cxx_try_compile "$LINENO"; then :
55573 glibcxx_cv_func__powf_use=yes
55574 else
55575 glibcxx_cv_func__powf_use=no
55576 fi
55577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55578 ac_ext=c
55579 ac_cpp='$CPP $CPPFLAGS'
55580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55583
55584
55585 fi
55586
55587 fi
55588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55589 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55590
55591 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55592 for ac_func in _powf
55593 do :
55594 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55595 if test "x$ac_cv_func__powf" = x""yes; then :
55596 cat >>confdefs.h <<_ACEOF
55597 #define HAVE__POWF 1
55598 _ACEOF
55599
55600 fi
55601 done
55602
55603 fi
55604 fi
55605
55606
55607
55608
55609
55610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55611 $as_echo_n "checking for sqrtf declaration... " >&6; }
55612 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55613 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55614 $as_echo_n "(cached) " >&6
55615 else
55616
55617
55618 ac_ext=cpp
55619 ac_cpp='$CXXCPP $CPPFLAGS'
55620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55623
55624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55625 /* end confdefs.h. */
55626 #include <math.h>
55627 #ifdef HAVE_IEEEFP_H
55628 #include <ieeefp.h>
55629 #endif
55630
55631 int
55632 main ()
55633 {
55634 sqrtf(0);
55635 ;
55636 return 0;
55637 }
55638 _ACEOF
55639 if ac_fn_cxx_try_compile "$LINENO"; then :
55640 glibcxx_cv_func_sqrtf_use=yes
55641 else
55642 glibcxx_cv_func_sqrtf_use=no
55643 fi
55644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55645 ac_ext=c
55646 ac_cpp='$CPP $CPPFLAGS'
55647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55650
55651
55652 fi
55653
55654 fi
55655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55656 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55657
55658 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55659 for ac_func in sqrtf
55660 do :
55661 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55662 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55663 cat >>confdefs.h <<_ACEOF
55664 #define HAVE_SQRTF 1
55665 _ACEOF
55666
55667 fi
55668 done
55669
55670 else
55671
55672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55673 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55674 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55675 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55676 $as_echo_n "(cached) " >&6
55677 else
55678
55679
55680 ac_ext=cpp
55681 ac_cpp='$CXXCPP $CPPFLAGS'
55682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55685
55686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55687 /* end confdefs.h. */
55688 #include <math.h>
55689 #ifdef HAVE_IEEEFP_H
55690 #include <ieeefp.h>
55691 #endif
55692
55693 int
55694 main ()
55695 {
55696 _sqrtf(0);
55697 ;
55698 return 0;
55699 }
55700 _ACEOF
55701 if ac_fn_cxx_try_compile "$LINENO"; then :
55702 glibcxx_cv_func__sqrtf_use=yes
55703 else
55704 glibcxx_cv_func__sqrtf_use=no
55705 fi
55706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55707 ac_ext=c
55708 ac_cpp='$CPP $CPPFLAGS'
55709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55712
55713
55714 fi
55715
55716 fi
55717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55718 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55719
55720 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55721 for ac_func in _sqrtf
55722 do :
55723 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55724 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55725 cat >>confdefs.h <<_ACEOF
55726 #define HAVE__SQRTF 1
55727 _ACEOF
55728
55729 fi
55730 done
55731
55732 fi
55733 fi
55734
55735
55736
55737
55738
55739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55740 $as_echo_n "checking for sincosf declaration... " >&6; }
55741 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55742 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55743 $as_echo_n "(cached) " >&6
55744 else
55745
55746
55747 ac_ext=cpp
55748 ac_cpp='$CXXCPP $CPPFLAGS'
55749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55752
55753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55754 /* end confdefs.h. */
55755 #include <math.h>
55756 int
55757 main ()
55758 {
55759 sincosf(0, 0, 0);
55760 ;
55761 return 0;
55762 }
55763 _ACEOF
55764 if ac_fn_cxx_try_compile "$LINENO"; then :
55765 glibcxx_cv_func_sincosf_use=yes
55766 else
55767 glibcxx_cv_func_sincosf_use=no
55768 fi
55769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55770 ac_ext=c
55771 ac_cpp='$CPP $CPPFLAGS'
55772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55775
55776
55777 fi
55778
55779 fi
55780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55781 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55782
55783 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55784 for ac_func in sincosf
55785 do :
55786 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55787 if test "x$ac_cv_func_sincosf" = x""yes; then :
55788 cat >>confdefs.h <<_ACEOF
55789 #define HAVE_SINCOSF 1
55790 _ACEOF
55791
55792 fi
55793 done
55794
55795 else
55796
55797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55798 $as_echo_n "checking for _sincosf declaration... " >&6; }
55799 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55800 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55801 $as_echo_n "(cached) " >&6
55802 else
55803
55804
55805 ac_ext=cpp
55806 ac_cpp='$CXXCPP $CPPFLAGS'
55807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55810
55811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55812 /* end confdefs.h. */
55813 #include <math.h>
55814 int
55815 main ()
55816 {
55817 _sincosf(0, 0, 0);
55818 ;
55819 return 0;
55820 }
55821 _ACEOF
55822 if ac_fn_cxx_try_compile "$LINENO"; then :
55823 glibcxx_cv_func__sincosf_use=yes
55824 else
55825 glibcxx_cv_func__sincosf_use=no
55826 fi
55827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55828 ac_ext=c
55829 ac_cpp='$CPP $CPPFLAGS'
55830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55833
55834
55835 fi
55836
55837 fi
55838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55839 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55840
55841 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55842 for ac_func in _sincosf
55843 do :
55844 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55845 if test "x$ac_cv_func__sincosf" = x""yes; then :
55846 cat >>confdefs.h <<_ACEOF
55847 #define HAVE__SINCOSF 1
55848 _ACEOF
55849
55850 fi
55851 done
55852
55853 fi
55854 fi
55855
55856
55857
55858
55859
55860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55861 $as_echo_n "checking for finitef declaration... " >&6; }
55862 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55863 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55864 $as_echo_n "(cached) " >&6
55865 else
55866
55867
55868 ac_ext=cpp
55869 ac_cpp='$CXXCPP $CPPFLAGS'
55870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55873
55874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55875 /* end confdefs.h. */
55876 #include <math.h>
55877 #ifdef HAVE_IEEEFP_H
55878 #include <ieeefp.h>
55879 #endif
55880
55881 int
55882 main ()
55883 {
55884 finitef(0);
55885 ;
55886 return 0;
55887 }
55888 _ACEOF
55889 if ac_fn_cxx_try_compile "$LINENO"; then :
55890 glibcxx_cv_func_finitef_use=yes
55891 else
55892 glibcxx_cv_func_finitef_use=no
55893 fi
55894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55895 ac_ext=c
55896 ac_cpp='$CPP $CPPFLAGS'
55897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55900
55901
55902 fi
55903
55904 fi
55905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55906 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55907
55908 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55909 for ac_func in finitef
55910 do :
55911 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55912 if test "x$ac_cv_func_finitef" = x""yes; then :
55913 cat >>confdefs.h <<_ACEOF
55914 #define HAVE_FINITEF 1
55915 _ACEOF
55916
55917 fi
55918 done
55919
55920 else
55921
55922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55923 $as_echo_n "checking for _finitef declaration... " >&6; }
55924 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55925 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55926 $as_echo_n "(cached) " >&6
55927 else
55928
55929
55930 ac_ext=cpp
55931 ac_cpp='$CXXCPP $CPPFLAGS'
55932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55935
55936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55937 /* end confdefs.h. */
55938 #include <math.h>
55939 #ifdef HAVE_IEEEFP_H
55940 #include <ieeefp.h>
55941 #endif
55942
55943 int
55944 main ()
55945 {
55946 _finitef(0);
55947 ;
55948 return 0;
55949 }
55950 _ACEOF
55951 if ac_fn_cxx_try_compile "$LINENO"; then :
55952 glibcxx_cv_func__finitef_use=yes
55953 else
55954 glibcxx_cv_func__finitef_use=no
55955 fi
55956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55957 ac_ext=c
55958 ac_cpp='$CPP $CPPFLAGS'
55959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55962
55963
55964 fi
55965
55966 fi
55967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55968 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55969
55970 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55971 for ac_func in _finitef
55972 do :
55973 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55974 if test "x$ac_cv_func__finitef" = x""yes; then :
55975 cat >>confdefs.h <<_ACEOF
55976 #define HAVE__FINITEF 1
55977 _ACEOF
55978
55979 fi
55980 done
55981
55982 fi
55983 fi
55984
55985
55986
55987
55988
55989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55990 $as_echo_n "checking for long double trig functions... " >&6; }
55991 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55992 $as_echo_n "(cached) " >&6
55993 else
55994
55995
55996 ac_ext=cpp
55997 ac_cpp='$CXXCPP $CPPFLAGS'
55998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56001
56002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56003 /* end confdefs.h. */
56004 #include <math.h>
56005 int
56006 main ()
56007 {
56008 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56009 ;
56010 return 0;
56011 }
56012 _ACEOF
56013 if ac_fn_cxx_try_compile "$LINENO"; then :
56014 glibcxx_cv_func_long_double_trig_use=yes
56015 else
56016 glibcxx_cv_func_long_double_trig_use=no
56017 fi
56018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56019 ac_ext=c
56020 ac_cpp='$CPP $CPPFLAGS'
56021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56024
56025 fi
56026
56027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56028 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56029 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56030 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56031 do :
56032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56034 eval as_val=\$$as_ac_var
56035 if test "x$as_val" = x""yes; then :
56036 cat >>confdefs.h <<_ACEOF
56037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56038 _ACEOF
56039
56040 fi
56041 done
56042
56043 else
56044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56045 $as_echo_n "checking for _long double trig functions... " >&6; }
56046 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56047 $as_echo_n "(cached) " >&6
56048 else
56049
56050
56051 ac_ext=cpp
56052 ac_cpp='$CXXCPP $CPPFLAGS'
56053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56056
56057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56058 /* end confdefs.h. */
56059 #include <math.h>
56060 int
56061 main ()
56062 {
56063 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56064 ;
56065 return 0;
56066 }
56067 _ACEOF
56068 if ac_fn_cxx_try_compile "$LINENO"; then :
56069 glibcxx_cv_func__long_double_trig_use=yes
56070 else
56071 glibcxx_cv_func__long_double_trig_use=no
56072 fi
56073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56074 ac_ext=c
56075 ac_cpp='$CPP $CPPFLAGS'
56076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56079
56080 fi
56081
56082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56083 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56084 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56085 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56086 do :
56087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56089 eval as_val=\$$as_ac_var
56090 if test "x$as_val" = x""yes; then :
56091 cat >>confdefs.h <<_ACEOF
56092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56093 _ACEOF
56094
56095 fi
56096 done
56097
56098 fi
56099 fi
56100
56101
56102
56103
56104
56105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56106 $as_echo_n "checking for long double round functions... " >&6; }
56107 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56108 $as_echo_n "(cached) " >&6
56109 else
56110
56111
56112 ac_ext=cpp
56113 ac_cpp='$CXXCPP $CPPFLAGS'
56114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56117
56118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56119 /* end confdefs.h. */
56120 #include <math.h>
56121 int
56122 main ()
56123 {
56124 ceill (0); floorl (0);
56125 ;
56126 return 0;
56127 }
56128 _ACEOF
56129 if ac_fn_cxx_try_compile "$LINENO"; then :
56130 glibcxx_cv_func_long_double_round_use=yes
56131 else
56132 glibcxx_cv_func_long_double_round_use=no
56133 fi
56134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56135 ac_ext=c
56136 ac_cpp='$CPP $CPPFLAGS'
56137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56140
56141 fi
56142
56143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56144 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56145 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56146 for ac_func in ceill floorl
56147 do :
56148 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56149 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56150 eval as_val=\$$as_ac_var
56151 if test "x$as_val" = x""yes; then :
56152 cat >>confdefs.h <<_ACEOF
56153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56154 _ACEOF
56155
56156 fi
56157 done
56158
56159 else
56160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56161 $as_echo_n "checking for _long double round functions... " >&6; }
56162 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56163 $as_echo_n "(cached) " >&6
56164 else
56165
56166
56167 ac_ext=cpp
56168 ac_cpp='$CXXCPP $CPPFLAGS'
56169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56172
56173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56174 /* end confdefs.h. */
56175 #include <math.h>
56176 int
56177 main ()
56178 {
56179 _ceill (0); _floorl (0);
56180 ;
56181 return 0;
56182 }
56183 _ACEOF
56184 if ac_fn_cxx_try_compile "$LINENO"; then :
56185 glibcxx_cv_func__long_double_round_use=yes
56186 else
56187 glibcxx_cv_func__long_double_round_use=no
56188 fi
56189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56190 ac_ext=c
56191 ac_cpp='$CPP $CPPFLAGS'
56192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56195
56196 fi
56197
56198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56199 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56200 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56201 for ac_func in _ceill _floorl
56202 do :
56203 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56205 eval as_val=\$$as_ac_var
56206 if test "x$as_val" = x""yes; then :
56207 cat >>confdefs.h <<_ACEOF
56208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56209 _ACEOF
56210
56211 fi
56212 done
56213
56214 fi
56215 fi
56216
56217
56218
56219
56220
56221
56222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56223 $as_echo_n "checking for isnanl declaration... " >&6; }
56224 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56225 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56226 $as_echo_n "(cached) " >&6
56227 else
56228
56229
56230 ac_ext=cpp
56231 ac_cpp='$CXXCPP $CPPFLAGS'
56232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56235
56236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56237 /* end confdefs.h. */
56238 #include <math.h>
56239 #ifdef HAVE_IEEEFP_H
56240 #include <ieeefp.h>
56241 #endif
56242
56243 int
56244 main ()
56245 {
56246 isnanl(0);
56247 ;
56248 return 0;
56249 }
56250 _ACEOF
56251 if ac_fn_cxx_try_compile "$LINENO"; then :
56252 glibcxx_cv_func_isnanl_use=yes
56253 else
56254 glibcxx_cv_func_isnanl_use=no
56255 fi
56256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56257 ac_ext=c
56258 ac_cpp='$CPP $CPPFLAGS'
56259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56262
56263
56264 fi
56265
56266 fi
56267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56268 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56269
56270 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56271 for ac_func in isnanl
56272 do :
56273 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56274 if test "x$ac_cv_func_isnanl" = x""yes; then :
56275 cat >>confdefs.h <<_ACEOF
56276 #define HAVE_ISNANL 1
56277 _ACEOF
56278
56279 fi
56280 done
56281
56282 else
56283
56284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56285 $as_echo_n "checking for _isnanl declaration... " >&6; }
56286 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56287 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56288 $as_echo_n "(cached) " >&6
56289 else
56290
56291
56292 ac_ext=cpp
56293 ac_cpp='$CXXCPP $CPPFLAGS'
56294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56297
56298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56299 /* end confdefs.h. */
56300 #include <math.h>
56301 #ifdef HAVE_IEEEFP_H
56302 #include <ieeefp.h>
56303 #endif
56304
56305 int
56306 main ()
56307 {
56308 _isnanl(0);
56309 ;
56310 return 0;
56311 }
56312 _ACEOF
56313 if ac_fn_cxx_try_compile "$LINENO"; then :
56314 glibcxx_cv_func__isnanl_use=yes
56315 else
56316 glibcxx_cv_func__isnanl_use=no
56317 fi
56318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56319 ac_ext=c
56320 ac_cpp='$CPP $CPPFLAGS'
56321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56324
56325
56326 fi
56327
56328 fi
56329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56330 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56331
56332 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56333 for ac_func in _isnanl
56334 do :
56335 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56336 if test "x$ac_cv_func__isnanl" = x""yes; then :
56337 cat >>confdefs.h <<_ACEOF
56338 #define HAVE__ISNANL 1
56339 _ACEOF
56340
56341 fi
56342 done
56343
56344 fi
56345 fi
56346
56347
56348
56349
56350
56351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56352 $as_echo_n "checking for isinfl declaration... " >&6; }
56353 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56354 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56355 $as_echo_n "(cached) " >&6
56356 else
56357
56358
56359 ac_ext=cpp
56360 ac_cpp='$CXXCPP $CPPFLAGS'
56361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56364
56365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56366 /* end confdefs.h. */
56367 #include <math.h>
56368 #ifdef HAVE_IEEEFP_H
56369 #include <ieeefp.h>
56370 #endif
56371
56372 int
56373 main ()
56374 {
56375 isinfl(0);
56376 ;
56377 return 0;
56378 }
56379 _ACEOF
56380 if ac_fn_cxx_try_compile "$LINENO"; then :
56381 glibcxx_cv_func_isinfl_use=yes
56382 else
56383 glibcxx_cv_func_isinfl_use=no
56384 fi
56385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56386 ac_ext=c
56387 ac_cpp='$CPP $CPPFLAGS'
56388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56391
56392
56393 fi
56394
56395 fi
56396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56397 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56398
56399 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56400 for ac_func in isinfl
56401 do :
56402 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56403 if test "x$ac_cv_func_isinfl" = x""yes; then :
56404 cat >>confdefs.h <<_ACEOF
56405 #define HAVE_ISINFL 1
56406 _ACEOF
56407
56408 fi
56409 done
56410
56411 else
56412
56413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56414 $as_echo_n "checking for _isinfl declaration... " >&6; }
56415 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56416 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56417 $as_echo_n "(cached) " >&6
56418 else
56419
56420
56421 ac_ext=cpp
56422 ac_cpp='$CXXCPP $CPPFLAGS'
56423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56426
56427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56428 /* end confdefs.h. */
56429 #include <math.h>
56430 #ifdef HAVE_IEEEFP_H
56431 #include <ieeefp.h>
56432 #endif
56433
56434 int
56435 main ()
56436 {
56437 _isinfl(0);
56438 ;
56439 return 0;
56440 }
56441 _ACEOF
56442 if ac_fn_cxx_try_compile "$LINENO"; then :
56443 glibcxx_cv_func__isinfl_use=yes
56444 else
56445 glibcxx_cv_func__isinfl_use=no
56446 fi
56447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56448 ac_ext=c
56449 ac_cpp='$CPP $CPPFLAGS'
56450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56453
56454
56455 fi
56456
56457 fi
56458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56459 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56460
56461 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56462 for ac_func in _isinfl
56463 do :
56464 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56465 if test "x$ac_cv_func__isinfl" = x""yes; then :
56466 cat >>confdefs.h <<_ACEOF
56467 #define HAVE__ISINFL 1
56468 _ACEOF
56469
56470 fi
56471 done
56472
56473 fi
56474 fi
56475
56476
56477
56478
56479
56480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56481 $as_echo_n "checking for atan2l declaration... " >&6; }
56482 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56483 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56484 $as_echo_n "(cached) " >&6
56485 else
56486
56487
56488 ac_ext=cpp
56489 ac_cpp='$CXXCPP $CPPFLAGS'
56490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56493
56494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56495 /* end confdefs.h. */
56496 #include <math.h>
56497 int
56498 main ()
56499 {
56500 atan2l(0, 0);
56501 ;
56502 return 0;
56503 }
56504 _ACEOF
56505 if ac_fn_cxx_try_compile "$LINENO"; then :
56506 glibcxx_cv_func_atan2l_use=yes
56507 else
56508 glibcxx_cv_func_atan2l_use=no
56509 fi
56510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56511 ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56516
56517
56518 fi
56519
56520 fi
56521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56522 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56523
56524 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56525 for ac_func in atan2l
56526 do :
56527 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56528 if test "x$ac_cv_func_atan2l" = x""yes; then :
56529 cat >>confdefs.h <<_ACEOF
56530 #define HAVE_ATAN2L 1
56531 _ACEOF
56532
56533 fi
56534 done
56535
56536 else
56537
56538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56539 $as_echo_n "checking for _atan2l declaration... " >&6; }
56540 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56541 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56542 $as_echo_n "(cached) " >&6
56543 else
56544
56545
56546 ac_ext=cpp
56547 ac_cpp='$CXXCPP $CPPFLAGS'
56548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56551
56552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56553 /* end confdefs.h. */
56554 #include <math.h>
56555 int
56556 main ()
56557 {
56558 _atan2l(0, 0);
56559 ;
56560 return 0;
56561 }
56562 _ACEOF
56563 if ac_fn_cxx_try_compile "$LINENO"; then :
56564 glibcxx_cv_func__atan2l_use=yes
56565 else
56566 glibcxx_cv_func__atan2l_use=no
56567 fi
56568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56569 ac_ext=c
56570 ac_cpp='$CPP $CPPFLAGS'
56571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56574
56575
56576 fi
56577
56578 fi
56579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56580 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56581
56582 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56583 for ac_func in _atan2l
56584 do :
56585 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56586 if test "x$ac_cv_func__atan2l" = x""yes; then :
56587 cat >>confdefs.h <<_ACEOF
56588 #define HAVE__ATAN2L 1
56589 _ACEOF
56590
56591 fi
56592 done
56593
56594 fi
56595 fi
56596
56597
56598
56599
56600
56601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56602 $as_echo_n "checking for expl declaration... " >&6; }
56603 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56604 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56605 $as_echo_n "(cached) " >&6
56606 else
56607
56608
56609 ac_ext=cpp
56610 ac_cpp='$CXXCPP $CPPFLAGS'
56611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56614
56615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56616 /* end confdefs.h. */
56617 #include <math.h>
56618 #ifdef HAVE_IEEEFP_H
56619 #include <ieeefp.h>
56620 #endif
56621
56622 int
56623 main ()
56624 {
56625 expl(0);
56626 ;
56627 return 0;
56628 }
56629 _ACEOF
56630 if ac_fn_cxx_try_compile "$LINENO"; then :
56631 glibcxx_cv_func_expl_use=yes
56632 else
56633 glibcxx_cv_func_expl_use=no
56634 fi
56635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56636 ac_ext=c
56637 ac_cpp='$CPP $CPPFLAGS'
56638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56641
56642
56643 fi
56644
56645 fi
56646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56647 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56648
56649 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56650 for ac_func in expl
56651 do :
56652 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56653 if test "x$ac_cv_func_expl" = x""yes; then :
56654 cat >>confdefs.h <<_ACEOF
56655 #define HAVE_EXPL 1
56656 _ACEOF
56657
56658 fi
56659 done
56660
56661 else
56662
56663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56664 $as_echo_n "checking for _expl declaration... " >&6; }
56665 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56666 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56667 $as_echo_n "(cached) " >&6
56668 else
56669
56670
56671 ac_ext=cpp
56672 ac_cpp='$CXXCPP $CPPFLAGS'
56673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56676
56677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56678 /* end confdefs.h. */
56679 #include <math.h>
56680 #ifdef HAVE_IEEEFP_H
56681 #include <ieeefp.h>
56682 #endif
56683
56684 int
56685 main ()
56686 {
56687 _expl(0);
56688 ;
56689 return 0;
56690 }
56691 _ACEOF
56692 if ac_fn_cxx_try_compile "$LINENO"; then :
56693 glibcxx_cv_func__expl_use=yes
56694 else
56695 glibcxx_cv_func__expl_use=no
56696 fi
56697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56698 ac_ext=c
56699 ac_cpp='$CPP $CPPFLAGS'
56700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56703
56704
56705 fi
56706
56707 fi
56708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56709 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56710
56711 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56712 for ac_func in _expl
56713 do :
56714 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56715 if test "x$ac_cv_func__expl" = x""yes; then :
56716 cat >>confdefs.h <<_ACEOF
56717 #define HAVE__EXPL 1
56718 _ACEOF
56719
56720 fi
56721 done
56722
56723 fi
56724 fi
56725
56726
56727
56728
56729
56730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56731 $as_echo_n "checking for fabsl declaration... " >&6; }
56732 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56733 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56734 $as_echo_n "(cached) " >&6
56735 else
56736
56737
56738 ac_ext=cpp
56739 ac_cpp='$CXXCPP $CPPFLAGS'
56740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56743
56744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56745 /* end confdefs.h. */
56746 #include <math.h>
56747 #ifdef HAVE_IEEEFP_H
56748 #include <ieeefp.h>
56749 #endif
56750
56751 int
56752 main ()
56753 {
56754 fabsl(0);
56755 ;
56756 return 0;
56757 }
56758 _ACEOF
56759 if ac_fn_cxx_try_compile "$LINENO"; then :
56760 glibcxx_cv_func_fabsl_use=yes
56761 else
56762 glibcxx_cv_func_fabsl_use=no
56763 fi
56764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56765 ac_ext=c
56766 ac_cpp='$CPP $CPPFLAGS'
56767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56770
56771
56772 fi
56773
56774 fi
56775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56776 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56777
56778 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56779 for ac_func in fabsl
56780 do :
56781 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56782 if test "x$ac_cv_func_fabsl" = x""yes; then :
56783 cat >>confdefs.h <<_ACEOF
56784 #define HAVE_FABSL 1
56785 _ACEOF
56786
56787 fi
56788 done
56789
56790 else
56791
56792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56793 $as_echo_n "checking for _fabsl declaration... " >&6; }
56794 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56795 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56796 $as_echo_n "(cached) " >&6
56797 else
56798
56799
56800 ac_ext=cpp
56801 ac_cpp='$CXXCPP $CPPFLAGS'
56802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56805
56806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56807 /* end confdefs.h. */
56808 #include <math.h>
56809 #ifdef HAVE_IEEEFP_H
56810 #include <ieeefp.h>
56811 #endif
56812
56813 int
56814 main ()
56815 {
56816 _fabsl(0);
56817 ;
56818 return 0;
56819 }
56820 _ACEOF
56821 if ac_fn_cxx_try_compile "$LINENO"; then :
56822 glibcxx_cv_func__fabsl_use=yes
56823 else
56824 glibcxx_cv_func__fabsl_use=no
56825 fi
56826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56827 ac_ext=c
56828 ac_cpp='$CPP $CPPFLAGS'
56829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56832
56833
56834 fi
56835
56836 fi
56837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56838 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56839
56840 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56841 for ac_func in _fabsl
56842 do :
56843 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56844 if test "x$ac_cv_func__fabsl" = x""yes; then :
56845 cat >>confdefs.h <<_ACEOF
56846 #define HAVE__FABSL 1
56847 _ACEOF
56848
56849 fi
56850 done
56851
56852 fi
56853 fi
56854
56855
56856
56857
56858
56859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56860 $as_echo_n "checking for fmodl declaration... " >&6; }
56861 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56862 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56863 $as_echo_n "(cached) " >&6
56864 else
56865
56866
56867 ac_ext=cpp
56868 ac_cpp='$CXXCPP $CPPFLAGS'
56869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56872
56873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56874 /* end confdefs.h. */
56875 #include <math.h>
56876 int
56877 main ()
56878 {
56879 fmodl(0, 0);
56880 ;
56881 return 0;
56882 }
56883 _ACEOF
56884 if ac_fn_cxx_try_compile "$LINENO"; then :
56885 glibcxx_cv_func_fmodl_use=yes
56886 else
56887 glibcxx_cv_func_fmodl_use=no
56888 fi
56889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56890 ac_ext=c
56891 ac_cpp='$CPP $CPPFLAGS'
56892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56895
56896
56897 fi
56898
56899 fi
56900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56901 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56902
56903 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56904 for ac_func in fmodl
56905 do :
56906 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56907 if test "x$ac_cv_func_fmodl" = x""yes; then :
56908 cat >>confdefs.h <<_ACEOF
56909 #define HAVE_FMODL 1
56910 _ACEOF
56911
56912 fi
56913 done
56914
56915 else
56916
56917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56918 $as_echo_n "checking for _fmodl declaration... " >&6; }
56919 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56920 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56921 $as_echo_n "(cached) " >&6
56922 else
56923
56924
56925 ac_ext=cpp
56926 ac_cpp='$CXXCPP $CPPFLAGS'
56927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56930
56931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56932 /* end confdefs.h. */
56933 #include <math.h>
56934 int
56935 main ()
56936 {
56937 _fmodl(0, 0);
56938 ;
56939 return 0;
56940 }
56941 _ACEOF
56942 if ac_fn_cxx_try_compile "$LINENO"; then :
56943 glibcxx_cv_func__fmodl_use=yes
56944 else
56945 glibcxx_cv_func__fmodl_use=no
56946 fi
56947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56948 ac_ext=c
56949 ac_cpp='$CPP $CPPFLAGS'
56950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56953
56954
56955 fi
56956
56957 fi
56958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56959 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56960
56961 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56962 for ac_func in _fmodl
56963 do :
56964 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56965 if test "x$ac_cv_func__fmodl" = x""yes; then :
56966 cat >>confdefs.h <<_ACEOF
56967 #define HAVE__FMODL 1
56968 _ACEOF
56969
56970 fi
56971 done
56972
56973 fi
56974 fi
56975
56976
56977
56978
56979
56980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56981 $as_echo_n "checking for frexpl declaration... " >&6; }
56982 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56983 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56984 $as_echo_n "(cached) " >&6
56985 else
56986
56987
56988 ac_ext=cpp
56989 ac_cpp='$CXXCPP $CPPFLAGS'
56990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56993
56994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56995 /* end confdefs.h. */
56996 #include <math.h>
56997 int
56998 main ()
56999 {
57000 frexpl(0, 0);
57001 ;
57002 return 0;
57003 }
57004 _ACEOF
57005 if ac_fn_cxx_try_compile "$LINENO"; then :
57006 glibcxx_cv_func_frexpl_use=yes
57007 else
57008 glibcxx_cv_func_frexpl_use=no
57009 fi
57010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57011 ac_ext=c
57012 ac_cpp='$CPP $CPPFLAGS'
57013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57016
57017
57018 fi
57019
57020 fi
57021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57022 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57023
57024 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57025 for ac_func in frexpl
57026 do :
57027 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57028 if test "x$ac_cv_func_frexpl" = x""yes; then :
57029 cat >>confdefs.h <<_ACEOF
57030 #define HAVE_FREXPL 1
57031 _ACEOF
57032
57033 fi
57034 done
57035
57036 else
57037
57038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57039 $as_echo_n "checking for _frexpl declaration... " >&6; }
57040 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57041 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57042 $as_echo_n "(cached) " >&6
57043 else
57044
57045
57046 ac_ext=cpp
57047 ac_cpp='$CXXCPP $CPPFLAGS'
57048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57051
57052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57053 /* end confdefs.h. */
57054 #include <math.h>
57055 int
57056 main ()
57057 {
57058 _frexpl(0, 0);
57059 ;
57060 return 0;
57061 }
57062 _ACEOF
57063 if ac_fn_cxx_try_compile "$LINENO"; then :
57064 glibcxx_cv_func__frexpl_use=yes
57065 else
57066 glibcxx_cv_func__frexpl_use=no
57067 fi
57068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57069 ac_ext=c
57070 ac_cpp='$CPP $CPPFLAGS'
57071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57074
57075
57076 fi
57077
57078 fi
57079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57080 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57081
57082 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57083 for ac_func in _frexpl
57084 do :
57085 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57086 if test "x$ac_cv_func__frexpl" = x""yes; then :
57087 cat >>confdefs.h <<_ACEOF
57088 #define HAVE__FREXPL 1
57089 _ACEOF
57090
57091 fi
57092 done
57093
57094 fi
57095 fi
57096
57097
57098
57099
57100
57101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57102 $as_echo_n "checking for hypotl declaration... " >&6; }
57103 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57104 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57105 $as_echo_n "(cached) " >&6
57106 else
57107
57108
57109 ac_ext=cpp
57110 ac_cpp='$CXXCPP $CPPFLAGS'
57111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57114
57115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57116 /* end confdefs.h. */
57117 #include <math.h>
57118 int
57119 main ()
57120 {
57121 hypotl(0, 0);
57122 ;
57123 return 0;
57124 }
57125 _ACEOF
57126 if ac_fn_cxx_try_compile "$LINENO"; then :
57127 glibcxx_cv_func_hypotl_use=yes
57128 else
57129 glibcxx_cv_func_hypotl_use=no
57130 fi
57131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57132 ac_ext=c
57133 ac_cpp='$CPP $CPPFLAGS'
57134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57137
57138
57139 fi
57140
57141 fi
57142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57143 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57144
57145 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57146 for ac_func in hypotl
57147 do :
57148 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57149 if test "x$ac_cv_func_hypotl" = x""yes; then :
57150 cat >>confdefs.h <<_ACEOF
57151 #define HAVE_HYPOTL 1
57152 _ACEOF
57153
57154 fi
57155 done
57156
57157 else
57158
57159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57160 $as_echo_n "checking for _hypotl declaration... " >&6; }
57161 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57162 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57163 $as_echo_n "(cached) " >&6
57164 else
57165
57166
57167 ac_ext=cpp
57168 ac_cpp='$CXXCPP $CPPFLAGS'
57169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57172
57173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57174 /* end confdefs.h. */
57175 #include <math.h>
57176 int
57177 main ()
57178 {
57179 _hypotl(0, 0);
57180 ;
57181 return 0;
57182 }
57183 _ACEOF
57184 if ac_fn_cxx_try_compile "$LINENO"; then :
57185 glibcxx_cv_func__hypotl_use=yes
57186 else
57187 glibcxx_cv_func__hypotl_use=no
57188 fi
57189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57190 ac_ext=c
57191 ac_cpp='$CPP $CPPFLAGS'
57192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57195
57196
57197 fi
57198
57199 fi
57200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57201 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57202
57203 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57204 for ac_func in _hypotl
57205 do :
57206 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57207 if test "x$ac_cv_func__hypotl" = x""yes; then :
57208 cat >>confdefs.h <<_ACEOF
57209 #define HAVE__HYPOTL 1
57210 _ACEOF
57211
57212 fi
57213 done
57214
57215 fi
57216 fi
57217
57218
57219
57220
57221
57222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57223 $as_echo_n "checking for ldexpl declaration... " >&6; }
57224 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57225 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57226 $as_echo_n "(cached) " >&6
57227 else
57228
57229
57230 ac_ext=cpp
57231 ac_cpp='$CXXCPP $CPPFLAGS'
57232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57235
57236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57237 /* end confdefs.h. */
57238 #include <math.h>
57239 int
57240 main ()
57241 {
57242 ldexpl(0, 0);
57243 ;
57244 return 0;
57245 }
57246 _ACEOF
57247 if ac_fn_cxx_try_compile "$LINENO"; then :
57248 glibcxx_cv_func_ldexpl_use=yes
57249 else
57250 glibcxx_cv_func_ldexpl_use=no
57251 fi
57252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57253 ac_ext=c
57254 ac_cpp='$CPP $CPPFLAGS'
57255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57258
57259
57260 fi
57261
57262 fi
57263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57264 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57265
57266 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57267 for ac_func in ldexpl
57268 do :
57269 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57270 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57271 cat >>confdefs.h <<_ACEOF
57272 #define HAVE_LDEXPL 1
57273 _ACEOF
57274
57275 fi
57276 done
57277
57278 else
57279
57280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57281 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57282 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57283 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57284 $as_echo_n "(cached) " >&6
57285 else
57286
57287
57288 ac_ext=cpp
57289 ac_cpp='$CXXCPP $CPPFLAGS'
57290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57293
57294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57295 /* end confdefs.h. */
57296 #include <math.h>
57297 int
57298 main ()
57299 {
57300 _ldexpl(0, 0);
57301 ;
57302 return 0;
57303 }
57304 _ACEOF
57305 if ac_fn_cxx_try_compile "$LINENO"; then :
57306 glibcxx_cv_func__ldexpl_use=yes
57307 else
57308 glibcxx_cv_func__ldexpl_use=no
57309 fi
57310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57311 ac_ext=c
57312 ac_cpp='$CPP $CPPFLAGS'
57313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57316
57317
57318 fi
57319
57320 fi
57321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57322 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57323
57324 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57325 for ac_func in _ldexpl
57326 do :
57327 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57328 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57329 cat >>confdefs.h <<_ACEOF
57330 #define HAVE__LDEXPL 1
57331 _ACEOF
57332
57333 fi
57334 done
57335
57336 fi
57337 fi
57338
57339
57340
57341
57342
57343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57344 $as_echo_n "checking for logl declaration... " >&6; }
57345 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57346 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57347 $as_echo_n "(cached) " >&6
57348 else
57349
57350
57351 ac_ext=cpp
57352 ac_cpp='$CXXCPP $CPPFLAGS'
57353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57356
57357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57358 /* end confdefs.h. */
57359 #include <math.h>
57360 #ifdef HAVE_IEEEFP_H
57361 #include <ieeefp.h>
57362 #endif
57363
57364 int
57365 main ()
57366 {
57367 logl(0);
57368 ;
57369 return 0;
57370 }
57371 _ACEOF
57372 if ac_fn_cxx_try_compile "$LINENO"; then :
57373 glibcxx_cv_func_logl_use=yes
57374 else
57375 glibcxx_cv_func_logl_use=no
57376 fi
57377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57378 ac_ext=c
57379 ac_cpp='$CPP $CPPFLAGS'
57380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57383
57384
57385 fi
57386
57387 fi
57388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57389 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57390
57391 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57392 for ac_func in logl
57393 do :
57394 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57395 if test "x$ac_cv_func_logl" = x""yes; then :
57396 cat >>confdefs.h <<_ACEOF
57397 #define HAVE_LOGL 1
57398 _ACEOF
57399
57400 fi
57401 done
57402
57403 else
57404
57405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57406 $as_echo_n "checking for _logl declaration... " >&6; }
57407 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57408 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57409 $as_echo_n "(cached) " >&6
57410 else
57411
57412
57413 ac_ext=cpp
57414 ac_cpp='$CXXCPP $CPPFLAGS'
57415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57418
57419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57420 /* end confdefs.h. */
57421 #include <math.h>
57422 #ifdef HAVE_IEEEFP_H
57423 #include <ieeefp.h>
57424 #endif
57425
57426 int
57427 main ()
57428 {
57429 _logl(0);
57430 ;
57431 return 0;
57432 }
57433 _ACEOF
57434 if ac_fn_cxx_try_compile "$LINENO"; then :
57435 glibcxx_cv_func__logl_use=yes
57436 else
57437 glibcxx_cv_func__logl_use=no
57438 fi
57439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57440 ac_ext=c
57441 ac_cpp='$CPP $CPPFLAGS'
57442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57445
57446
57447 fi
57448
57449 fi
57450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57451 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57452
57453 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57454 for ac_func in _logl
57455 do :
57456 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57457 if test "x$ac_cv_func__logl" = x""yes; then :
57458 cat >>confdefs.h <<_ACEOF
57459 #define HAVE__LOGL 1
57460 _ACEOF
57461
57462 fi
57463 done
57464
57465 fi
57466 fi
57467
57468
57469
57470
57471
57472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57473 $as_echo_n "checking for log10l declaration... " >&6; }
57474 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57475 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57476 $as_echo_n "(cached) " >&6
57477 else
57478
57479
57480 ac_ext=cpp
57481 ac_cpp='$CXXCPP $CPPFLAGS'
57482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57485
57486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57487 /* end confdefs.h. */
57488 #include <math.h>
57489 #ifdef HAVE_IEEEFP_H
57490 #include <ieeefp.h>
57491 #endif
57492
57493 int
57494 main ()
57495 {
57496 log10l(0);
57497 ;
57498 return 0;
57499 }
57500 _ACEOF
57501 if ac_fn_cxx_try_compile "$LINENO"; then :
57502 glibcxx_cv_func_log10l_use=yes
57503 else
57504 glibcxx_cv_func_log10l_use=no
57505 fi
57506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57507 ac_ext=c
57508 ac_cpp='$CPP $CPPFLAGS'
57509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57512
57513
57514 fi
57515
57516 fi
57517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57518 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57519
57520 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57521 for ac_func in log10l
57522 do :
57523 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57524 if test "x$ac_cv_func_log10l" = x""yes; then :
57525 cat >>confdefs.h <<_ACEOF
57526 #define HAVE_LOG10L 1
57527 _ACEOF
57528
57529 fi
57530 done
57531
57532 else
57533
57534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57535 $as_echo_n "checking for _log10l declaration... " >&6; }
57536 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57537 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57538 $as_echo_n "(cached) " >&6
57539 else
57540
57541
57542 ac_ext=cpp
57543 ac_cpp='$CXXCPP $CPPFLAGS'
57544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57547
57548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57549 /* end confdefs.h. */
57550 #include <math.h>
57551 #ifdef HAVE_IEEEFP_H
57552 #include <ieeefp.h>
57553 #endif
57554
57555 int
57556 main ()
57557 {
57558 _log10l(0);
57559 ;
57560 return 0;
57561 }
57562 _ACEOF
57563 if ac_fn_cxx_try_compile "$LINENO"; then :
57564 glibcxx_cv_func__log10l_use=yes
57565 else
57566 glibcxx_cv_func__log10l_use=no
57567 fi
57568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57569 ac_ext=c
57570 ac_cpp='$CPP $CPPFLAGS'
57571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57574
57575
57576 fi
57577
57578 fi
57579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57580 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57581
57582 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57583 for ac_func in _log10l
57584 do :
57585 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57586 if test "x$ac_cv_func__log10l" = x""yes; then :
57587 cat >>confdefs.h <<_ACEOF
57588 #define HAVE__LOG10L 1
57589 _ACEOF
57590
57591 fi
57592 done
57593
57594 fi
57595 fi
57596
57597
57598
57599
57600
57601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57602 $as_echo_n "checking for modfl declaration... " >&6; }
57603 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57604 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57605 $as_echo_n "(cached) " >&6
57606 else
57607
57608
57609 ac_ext=cpp
57610 ac_cpp='$CXXCPP $CPPFLAGS'
57611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57614
57615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57616 /* end confdefs.h. */
57617 #include <math.h>
57618 int
57619 main ()
57620 {
57621 modfl(0, 0);
57622 ;
57623 return 0;
57624 }
57625 _ACEOF
57626 if ac_fn_cxx_try_compile "$LINENO"; then :
57627 glibcxx_cv_func_modfl_use=yes
57628 else
57629 glibcxx_cv_func_modfl_use=no
57630 fi
57631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57632 ac_ext=c
57633 ac_cpp='$CPP $CPPFLAGS'
57634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57637
57638
57639 fi
57640
57641 fi
57642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57643 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57644
57645 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57646 for ac_func in modfl
57647 do :
57648 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57649 if test "x$ac_cv_func_modfl" = x""yes; then :
57650 cat >>confdefs.h <<_ACEOF
57651 #define HAVE_MODFL 1
57652 _ACEOF
57653
57654 fi
57655 done
57656
57657 else
57658
57659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57660 $as_echo_n "checking for _modfl declaration... " >&6; }
57661 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57662 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57663 $as_echo_n "(cached) " >&6
57664 else
57665
57666
57667 ac_ext=cpp
57668 ac_cpp='$CXXCPP $CPPFLAGS'
57669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57672
57673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57674 /* end confdefs.h. */
57675 #include <math.h>
57676 int
57677 main ()
57678 {
57679 _modfl(0, 0);
57680 ;
57681 return 0;
57682 }
57683 _ACEOF
57684 if ac_fn_cxx_try_compile "$LINENO"; then :
57685 glibcxx_cv_func__modfl_use=yes
57686 else
57687 glibcxx_cv_func__modfl_use=no
57688 fi
57689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57690 ac_ext=c
57691 ac_cpp='$CPP $CPPFLAGS'
57692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57695
57696
57697 fi
57698
57699 fi
57700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57701 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57702
57703 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57704 for ac_func in _modfl
57705 do :
57706 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57707 if test "x$ac_cv_func__modfl" = x""yes; then :
57708 cat >>confdefs.h <<_ACEOF
57709 #define HAVE__MODFL 1
57710 _ACEOF
57711
57712 fi
57713 done
57714
57715 fi
57716 fi
57717
57718
57719
57720
57721
57722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57723 $as_echo_n "checking for powl declaration... " >&6; }
57724 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57725 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57726 $as_echo_n "(cached) " >&6
57727 else
57728
57729
57730 ac_ext=cpp
57731 ac_cpp='$CXXCPP $CPPFLAGS'
57732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57735
57736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57737 /* end confdefs.h. */
57738 #include <math.h>
57739 int
57740 main ()
57741 {
57742 powl(0, 0);
57743 ;
57744 return 0;
57745 }
57746 _ACEOF
57747 if ac_fn_cxx_try_compile "$LINENO"; then :
57748 glibcxx_cv_func_powl_use=yes
57749 else
57750 glibcxx_cv_func_powl_use=no
57751 fi
57752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57753 ac_ext=c
57754 ac_cpp='$CPP $CPPFLAGS'
57755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57758
57759
57760 fi
57761
57762 fi
57763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57764 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57765
57766 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57767 for ac_func in powl
57768 do :
57769 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57770 if test "x$ac_cv_func_powl" = x""yes; then :
57771 cat >>confdefs.h <<_ACEOF
57772 #define HAVE_POWL 1
57773 _ACEOF
57774
57775 fi
57776 done
57777
57778 else
57779
57780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57781 $as_echo_n "checking for _powl declaration... " >&6; }
57782 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57783 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57784 $as_echo_n "(cached) " >&6
57785 else
57786
57787
57788 ac_ext=cpp
57789 ac_cpp='$CXXCPP $CPPFLAGS'
57790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57793
57794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57795 /* end confdefs.h. */
57796 #include <math.h>
57797 int
57798 main ()
57799 {
57800 _powl(0, 0);
57801 ;
57802 return 0;
57803 }
57804 _ACEOF
57805 if ac_fn_cxx_try_compile "$LINENO"; then :
57806 glibcxx_cv_func__powl_use=yes
57807 else
57808 glibcxx_cv_func__powl_use=no
57809 fi
57810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57811 ac_ext=c
57812 ac_cpp='$CPP $CPPFLAGS'
57813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57816
57817
57818 fi
57819
57820 fi
57821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57822 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57823
57824 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57825 for ac_func in _powl
57826 do :
57827 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57828 if test "x$ac_cv_func__powl" = x""yes; then :
57829 cat >>confdefs.h <<_ACEOF
57830 #define HAVE__POWL 1
57831 _ACEOF
57832
57833 fi
57834 done
57835
57836 fi
57837 fi
57838
57839
57840
57841
57842
57843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57844 $as_echo_n "checking for sqrtl declaration... " >&6; }
57845 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57846 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57847 $as_echo_n "(cached) " >&6
57848 else
57849
57850
57851 ac_ext=cpp
57852 ac_cpp='$CXXCPP $CPPFLAGS'
57853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57856
57857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57858 /* end confdefs.h. */
57859 #include <math.h>
57860 #ifdef HAVE_IEEEFP_H
57861 #include <ieeefp.h>
57862 #endif
57863
57864 int
57865 main ()
57866 {
57867 sqrtl(0);
57868 ;
57869 return 0;
57870 }
57871 _ACEOF
57872 if ac_fn_cxx_try_compile "$LINENO"; then :
57873 glibcxx_cv_func_sqrtl_use=yes
57874 else
57875 glibcxx_cv_func_sqrtl_use=no
57876 fi
57877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57878 ac_ext=c
57879 ac_cpp='$CPP $CPPFLAGS'
57880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57883
57884
57885 fi
57886
57887 fi
57888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57889 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57890
57891 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57892 for ac_func in sqrtl
57893 do :
57894 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57895 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57896 cat >>confdefs.h <<_ACEOF
57897 #define HAVE_SQRTL 1
57898 _ACEOF
57899
57900 fi
57901 done
57902
57903 else
57904
57905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57906 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57907 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57908 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57909 $as_echo_n "(cached) " >&6
57910 else
57911
57912
57913 ac_ext=cpp
57914 ac_cpp='$CXXCPP $CPPFLAGS'
57915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57918
57919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57920 /* end confdefs.h. */
57921 #include <math.h>
57922 #ifdef HAVE_IEEEFP_H
57923 #include <ieeefp.h>
57924 #endif
57925
57926 int
57927 main ()
57928 {
57929 _sqrtl(0);
57930 ;
57931 return 0;
57932 }
57933 _ACEOF
57934 if ac_fn_cxx_try_compile "$LINENO"; then :
57935 glibcxx_cv_func__sqrtl_use=yes
57936 else
57937 glibcxx_cv_func__sqrtl_use=no
57938 fi
57939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57940 ac_ext=c
57941 ac_cpp='$CPP $CPPFLAGS'
57942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57945
57946
57947 fi
57948
57949 fi
57950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57951 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57952
57953 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57954 for ac_func in _sqrtl
57955 do :
57956 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57957 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57958 cat >>confdefs.h <<_ACEOF
57959 #define HAVE__SQRTL 1
57960 _ACEOF
57961
57962 fi
57963 done
57964
57965 fi
57966 fi
57967
57968
57969
57970
57971
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57973 $as_echo_n "checking for sincosl declaration... " >&6; }
57974 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57975 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57976 $as_echo_n "(cached) " >&6
57977 else
57978
57979
57980 ac_ext=cpp
57981 ac_cpp='$CXXCPP $CPPFLAGS'
57982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57985
57986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57987 /* end confdefs.h. */
57988 #include <math.h>
57989 int
57990 main ()
57991 {
57992 sincosl(0, 0, 0);
57993 ;
57994 return 0;
57995 }
57996 _ACEOF
57997 if ac_fn_cxx_try_compile "$LINENO"; then :
57998 glibcxx_cv_func_sincosl_use=yes
57999 else
58000 glibcxx_cv_func_sincosl_use=no
58001 fi
58002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58003 ac_ext=c
58004 ac_cpp='$CPP $CPPFLAGS'
58005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58008
58009
58010 fi
58011
58012 fi
58013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58014 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58015
58016 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58017 for ac_func in sincosl
58018 do :
58019 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58020 if test "x$ac_cv_func_sincosl" = x""yes; then :
58021 cat >>confdefs.h <<_ACEOF
58022 #define HAVE_SINCOSL 1
58023 _ACEOF
58024
58025 fi
58026 done
58027
58028 else
58029
58030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58031 $as_echo_n "checking for _sincosl declaration... " >&6; }
58032 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58033 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58034 $as_echo_n "(cached) " >&6
58035 else
58036
58037
58038 ac_ext=cpp
58039 ac_cpp='$CXXCPP $CPPFLAGS'
58040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58043
58044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58045 /* end confdefs.h. */
58046 #include <math.h>
58047 int
58048 main ()
58049 {
58050 _sincosl(0, 0, 0);
58051 ;
58052 return 0;
58053 }
58054 _ACEOF
58055 if ac_fn_cxx_try_compile "$LINENO"; then :
58056 glibcxx_cv_func__sincosl_use=yes
58057 else
58058 glibcxx_cv_func__sincosl_use=no
58059 fi
58060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58061 ac_ext=c
58062 ac_cpp='$CPP $CPPFLAGS'
58063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58066
58067
58068 fi
58069
58070 fi
58071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58072 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58073
58074 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58075 for ac_func in _sincosl
58076 do :
58077 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58078 if test "x$ac_cv_func__sincosl" = x""yes; then :
58079 cat >>confdefs.h <<_ACEOF
58080 #define HAVE__SINCOSL 1
58081 _ACEOF
58082
58083 fi
58084 done
58085
58086 fi
58087 fi
58088
58089
58090
58091
58092
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58094 $as_echo_n "checking for finitel declaration... " >&6; }
58095 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58096 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58097 $as_echo_n "(cached) " >&6
58098 else
58099
58100
58101 ac_ext=cpp
58102 ac_cpp='$CXXCPP $CPPFLAGS'
58103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58106
58107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58108 /* end confdefs.h. */
58109 #include <math.h>
58110 #ifdef HAVE_IEEEFP_H
58111 #include <ieeefp.h>
58112 #endif
58113
58114 int
58115 main ()
58116 {
58117 finitel(0);
58118 ;
58119 return 0;
58120 }
58121 _ACEOF
58122 if ac_fn_cxx_try_compile "$LINENO"; then :
58123 glibcxx_cv_func_finitel_use=yes
58124 else
58125 glibcxx_cv_func_finitel_use=no
58126 fi
58127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58128 ac_ext=c
58129 ac_cpp='$CPP $CPPFLAGS'
58130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58133
58134
58135 fi
58136
58137 fi
58138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58139 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58140
58141 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58142 for ac_func in finitel
58143 do :
58144 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58145 if test "x$ac_cv_func_finitel" = x""yes; then :
58146 cat >>confdefs.h <<_ACEOF
58147 #define HAVE_FINITEL 1
58148 _ACEOF
58149
58150 fi
58151 done
58152
58153 else
58154
58155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58156 $as_echo_n "checking for _finitel declaration... " >&6; }
58157 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58158 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58159 $as_echo_n "(cached) " >&6
58160 else
58161
58162
58163 ac_ext=cpp
58164 ac_cpp='$CXXCPP $CPPFLAGS'
58165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58168
58169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58170 /* end confdefs.h. */
58171 #include <math.h>
58172 #ifdef HAVE_IEEEFP_H
58173 #include <ieeefp.h>
58174 #endif
58175
58176 int
58177 main ()
58178 {
58179 _finitel(0);
58180 ;
58181 return 0;
58182 }
58183 _ACEOF
58184 if ac_fn_cxx_try_compile "$LINENO"; then :
58185 glibcxx_cv_func__finitel_use=yes
58186 else
58187 glibcxx_cv_func__finitel_use=no
58188 fi
58189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58190 ac_ext=c
58191 ac_cpp='$CPP $CPPFLAGS'
58192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58195
58196
58197 fi
58198
58199 fi
58200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58201 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58202
58203 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58204 for ac_func in _finitel
58205 do :
58206 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58207 if test "x$ac_cv_func__finitel" = x""yes; then :
58208 cat >>confdefs.h <<_ACEOF
58209 #define HAVE__FINITEL 1
58210 _ACEOF
58211
58212 fi
58213 done
58214
58215 fi
58216 fi
58217
58218
58219
58220
58221 LIBS="$ac_save_LIBS"
58222 CXXFLAGS="$ac_save_CXXFLAGS"
58223
58224
58225 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58226 ac_save_CXXFLAGS="$CXXFLAGS"
58227 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58228
58229
58230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58231 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58232 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58233 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58234 $as_echo_n "(cached) " >&6
58235 else
58236
58237
58238 ac_ext=cpp
58239 ac_cpp='$CXXCPP $CPPFLAGS'
58240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58243
58244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58245 /* end confdefs.h. */
58246 #include <stdlib.h>
58247 int
58248 main ()
58249 {
58250 at_quick_exit(0);
58251 ;
58252 return 0;
58253 }
58254 _ACEOF
58255 if ac_fn_cxx_try_compile "$LINENO"; then :
58256 glibcxx_cv_func_at_quick_exit_use=yes
58257 else
58258 glibcxx_cv_func_at_quick_exit_use=no
58259 fi
58260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58261 ac_ext=c
58262 ac_cpp='$CPP $CPPFLAGS'
58263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58266
58267
58268 fi
58269
58270 fi
58271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58272 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58273 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58274 for ac_func in at_quick_exit
58275 do :
58276 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58277 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58278 cat >>confdefs.h <<_ACEOF
58279 #define HAVE_AT_QUICK_EXIT 1
58280 _ACEOF
58281
58282 fi
58283 done
58284
58285 fi
58286
58287
58288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58289 $as_echo_n "checking for quick_exit declaration... " >&6; }
58290 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58291 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58292 $as_echo_n "(cached) " >&6
58293 else
58294
58295
58296 ac_ext=cpp
58297 ac_cpp='$CXXCPP $CPPFLAGS'
58298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58301
58302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58303 /* end confdefs.h. */
58304 #include <stdlib.h>
58305 int
58306 main ()
58307 {
58308 quick_exit(0);
58309 ;
58310 return 0;
58311 }
58312 _ACEOF
58313 if ac_fn_cxx_try_compile "$LINENO"; then :
58314 glibcxx_cv_func_quick_exit_use=yes
58315 else
58316 glibcxx_cv_func_quick_exit_use=no
58317 fi
58318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58319 ac_ext=c
58320 ac_cpp='$CPP $CPPFLAGS'
58321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58324
58325
58326 fi
58327
58328 fi
58329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58330 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58331 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58332 for ac_func in quick_exit
58333 do :
58334 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58335 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58336 cat >>confdefs.h <<_ACEOF
58337 #define HAVE_QUICK_EXIT 1
58338 _ACEOF
58339
58340 fi
58341 done
58342
58343 fi
58344
58345
58346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58347 $as_echo_n "checking for strtold declaration... " >&6; }
58348 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58349 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58350 $as_echo_n "(cached) " >&6
58351 else
58352
58353
58354 ac_ext=cpp
58355 ac_cpp='$CXXCPP $CPPFLAGS'
58356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58359
58360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58361 /* end confdefs.h. */
58362 #include <stdlib.h>
58363 int
58364 main ()
58365 {
58366 strtold(0, 0);
58367 ;
58368 return 0;
58369 }
58370 _ACEOF
58371 if ac_fn_cxx_try_compile "$LINENO"; then :
58372 glibcxx_cv_func_strtold_use=yes
58373 else
58374 glibcxx_cv_func_strtold_use=no
58375 fi
58376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58377 ac_ext=c
58378 ac_cpp='$CPP $CPPFLAGS'
58379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58382
58383
58384 fi
58385
58386 fi
58387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58388 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58389 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58390 for ac_func in strtold
58391 do :
58392 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58393 if test "x$ac_cv_func_strtold" = x""yes; then :
58394 cat >>confdefs.h <<_ACEOF
58395 #define HAVE_STRTOLD 1
58396 _ACEOF
58397
58398 fi
58399 done
58400
58401 fi
58402
58403
58404
58405
58406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58407 $as_echo_n "checking for strtof declaration... " >&6; }
58408 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58409 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58410 $as_echo_n "(cached) " >&6
58411 else
58412
58413
58414 ac_ext=cpp
58415 ac_cpp='$CXXCPP $CPPFLAGS'
58416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58419
58420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58421 /* end confdefs.h. */
58422 #include <stdlib.h>
58423 int
58424 main ()
58425 {
58426 strtof(0, 0);
58427 ;
58428 return 0;
58429 }
58430 _ACEOF
58431 if ac_fn_cxx_try_compile "$LINENO"; then :
58432 glibcxx_cv_func_strtof_use=yes
58433 else
58434 glibcxx_cv_func_strtof_use=no
58435 fi
58436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58437 ac_ext=c
58438 ac_cpp='$CPP $CPPFLAGS'
58439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58442
58443
58444 fi
58445
58446 fi
58447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58448 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58449 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58450 for ac_func in strtof
58451 do :
58452 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58453 if test "x$ac_cv_func_strtof" = x""yes; then :
58454 cat >>confdefs.h <<_ACEOF
58455 #define HAVE_STRTOF 1
58456 _ACEOF
58457
58458 fi
58459 done
58460
58461 fi
58462
58463
58464
58465
58466 CXXFLAGS="$ac_save_CXXFLAGS"
58467
58468 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58469
58470
58471
58472 # Check whether --enable-tls was given.
58473 if test "${enable_tls+set}" = set; then :
58474 enableval=$enable_tls;
58475 case "$enableval" in
58476 yes|no) ;;
58477 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58478 esac
58479
58480 else
58481 enable_tls=yes
58482 fi
58483
58484
58485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58486 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58487 if test "${gcc_cv_have_tls+set}" = set; then :
58488 $as_echo_n "(cached) " >&6
58489 else
58490
58491 if test "$cross_compiling" = yes; then :
58492 if test x$gcc_no_link = xyes; then
58493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58494 fi
58495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58496 /* end confdefs.h. */
58497 __thread int a; int b; int main() { return a = b; }
58498 _ACEOF
58499 if ac_fn_c_try_link "$LINENO"; then :
58500 chktls_save_LDFLAGS="$LDFLAGS"
58501 case $host in
58502 *-*-linux*)
58503 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58504 ;;
58505 esac
58506 chktls_save_CFLAGS="$CFLAGS"
58507 CFLAGS="-fPIC $CFLAGS"
58508 if test x$gcc_no_link = xyes; then
58509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58510 fi
58511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58512 /* end confdefs.h. */
58513 int f() { return 0; }
58514 _ACEOF
58515 if ac_fn_c_try_link "$LINENO"; then :
58516 if test x$gcc_no_link = xyes; then
58517 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58518 fi
58519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58520 /* end confdefs.h. */
58521 __thread int a; int b; int f() { return a = b; }
58522 _ACEOF
58523 if ac_fn_c_try_link "$LINENO"; then :
58524 gcc_cv_have_tls=yes
58525 else
58526 gcc_cv_have_tls=no
58527 fi
58528 rm -f core conftest.err conftest.$ac_objext \
58529 conftest$ac_exeext conftest.$ac_ext
58530 else
58531 gcc_cv_have_tls=yes
58532 fi
58533 rm -f core conftest.err conftest.$ac_objext \
58534 conftest$ac_exeext conftest.$ac_ext
58535 CFLAGS="$chktls_save_CFLAGS"
58536 LDFLAGS="$chktls_save_LDFLAGS"
58537 else
58538 gcc_cv_have_tls=no
58539 fi
58540 rm -f core conftest.err conftest.$ac_objext \
58541 conftest$ac_exeext conftest.$ac_ext
58542
58543
58544 else
58545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58546 /* end confdefs.h. */
58547 __thread int a; int b; int main() { return a = b; }
58548 _ACEOF
58549 if ac_fn_c_try_run "$LINENO"; then :
58550 chktls_save_LDFLAGS="$LDFLAGS"
58551 LDFLAGS="-static $LDFLAGS"
58552 if test x$gcc_no_link = xyes; then
58553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58554 fi
58555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58556 /* end confdefs.h. */
58557 int main() { return 0; }
58558 _ACEOF
58559 if ac_fn_c_try_link "$LINENO"; then :
58560 if test "$cross_compiling" = yes; then :
58561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58563 as_fn_error "cannot run test program while cross compiling
58564 See \`config.log' for more details." "$LINENO" 5; }
58565 else
58566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58567 /* end confdefs.h. */
58568 __thread int a; int b; int main() { return a = b; }
58569 _ACEOF
58570 if ac_fn_c_try_run "$LINENO"; then :
58571 gcc_cv_have_tls=yes
58572 else
58573 gcc_cv_have_tls=no
58574 fi
58575 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58576 conftest.$ac_objext conftest.beam conftest.$ac_ext
58577 fi
58578
58579 else
58580 gcc_cv_have_tls=yes
58581 fi
58582 rm -f core conftest.err conftest.$ac_objext \
58583 conftest$ac_exeext conftest.$ac_ext
58584 LDFLAGS="$chktls_save_LDFLAGS"
58585 if test $gcc_cv_have_tls = yes; then
58586 chktls_save_CFLAGS="$CFLAGS"
58587 thread_CFLAGS=failed
58588 for flag in '' '-pthread' '-lpthread'; do
58589 CFLAGS="$flag $chktls_save_CFLAGS"
58590 if test x$gcc_no_link = xyes; then
58591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58592 fi
58593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58594 /* end confdefs.h. */
58595 #include <pthread.h>
58596 void *g(void *d) { return NULL; }
58597 int
58598 main ()
58599 {
58600 pthread_t t; pthread_create(&t,NULL,g,NULL);
58601 ;
58602 return 0;
58603 }
58604 _ACEOF
58605 if ac_fn_c_try_link "$LINENO"; then :
58606 thread_CFLAGS="$flag"
58607 fi
58608 rm -f core conftest.err conftest.$ac_objext \
58609 conftest$ac_exeext conftest.$ac_ext
58610 if test "X$thread_CFLAGS" != Xfailed; then
58611 break
58612 fi
58613 done
58614 CFLAGS="$chktls_save_CFLAGS"
58615 if test "X$thread_CFLAGS" != Xfailed; then
58616 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58617 if test "$cross_compiling" = yes; then :
58618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58620 as_fn_error "cannot run test program while cross compiling
58621 See \`config.log' for more details." "$LINENO" 5; }
58622 else
58623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58624 /* end confdefs.h. */
58625 #include <pthread.h>
58626 __thread int a;
58627 static int *volatile a_in_other_thread;
58628 static void *
58629 thread_func (void *arg)
58630 {
58631 a_in_other_thread = &a;
58632 return (void *)0;
58633 }
58634 int
58635 main ()
58636 {
58637 pthread_t thread;
58638 void *thread_retval;
58639 int *volatile a_in_main_thread;
58640 a_in_main_thread = &a;
58641 if (pthread_create (&thread, (pthread_attr_t *)0,
58642 thread_func, (void *)0))
58643 return 0;
58644 if (pthread_join (thread, &thread_retval))
58645 return 0;
58646 return (a_in_other_thread == a_in_main_thread);
58647 ;
58648 return 0;
58649 }
58650 _ACEOF
58651 if ac_fn_c_try_run "$LINENO"; then :
58652 gcc_cv_have_tls=yes
58653 else
58654 gcc_cv_have_tls=no
58655 fi
58656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58657 conftest.$ac_objext conftest.beam conftest.$ac_ext
58658 fi
58659
58660 CFLAGS="$chktls_save_CFLAGS"
58661 fi
58662 fi
58663 else
58664 gcc_cv_have_tls=no
58665 fi
58666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58667 conftest.$ac_objext conftest.beam conftest.$ac_ext
58668 fi
58669
58670 fi
58671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58672 $as_echo "$gcc_cv_have_tls" >&6; }
58673 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58674
58675 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58676
58677 fi
58678
58679
58680
58681
58682
58683 am_save_CPPFLAGS="$CPPFLAGS"
58684
58685 for element in $INCICONV; do
58686 haveit=
58687 for x in $CPPFLAGS; do
58688
58689 acl_save_prefix="$prefix"
58690 prefix="$acl_final_prefix"
58691 acl_save_exec_prefix="$exec_prefix"
58692 exec_prefix="$acl_final_exec_prefix"
58693 eval x=\"$x\"
58694 exec_prefix="$acl_save_exec_prefix"
58695 prefix="$acl_save_prefix"
58696
58697 if test "X$x" = "X$element"; then
58698 haveit=yes
58699 break
58700 fi
58701 done
58702 if test -z "$haveit"; then
58703 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58704 fi
58705 done
58706
58707
58708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58709 $as_echo_n "checking for iconv... " >&6; }
58710 if test "${am_cv_func_iconv+set}" = set; then :
58711 $as_echo_n "(cached) " >&6
58712 else
58713
58714 am_cv_func_iconv="no, consider installing GNU libiconv"
58715 am_cv_lib_iconv=no
58716 if test x$gcc_no_link = xyes; then
58717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58718 fi
58719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58720 /* end confdefs.h. */
58721 #include <stdlib.h>
58722 #include <iconv.h>
58723 int
58724 main ()
58725 {
58726 iconv_t cd = iconv_open("","");
58727 iconv(cd,NULL,NULL,NULL,NULL);
58728 iconv_close(cd);
58729 ;
58730 return 0;
58731 }
58732 _ACEOF
58733 if ac_fn_c_try_link "$LINENO"; then :
58734 am_cv_func_iconv=yes
58735 fi
58736 rm -f core conftest.err conftest.$ac_objext \
58737 conftest$ac_exeext conftest.$ac_ext
58738 if test "$am_cv_func_iconv" != yes; then
58739 am_save_LIBS="$LIBS"
58740 LIBS="$LIBS $LIBICONV"
58741 if test x$gcc_no_link = xyes; then
58742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58743 fi
58744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58745 /* end confdefs.h. */
58746 #include <stdlib.h>
58747 #include <iconv.h>
58748 int
58749 main ()
58750 {
58751 iconv_t cd = iconv_open("","");
58752 iconv(cd,NULL,NULL,NULL,NULL);
58753 iconv_close(cd);
58754 ;
58755 return 0;
58756 }
58757 _ACEOF
58758 if ac_fn_c_try_link "$LINENO"; then :
58759 am_cv_lib_iconv=yes
58760 am_cv_func_iconv=yes
58761 fi
58762 rm -f core conftest.err conftest.$ac_objext \
58763 conftest$ac_exeext conftest.$ac_ext
58764 LIBS="$am_save_LIBS"
58765 fi
58766
58767 fi
58768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58769 $as_echo "$am_cv_func_iconv" >&6; }
58770 if test "$am_cv_func_iconv" = yes; then
58771
58772 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58773
58774 fi
58775 if test "$am_cv_lib_iconv" = yes; then
58776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58777 $as_echo_n "checking how to link with libiconv... " >&6; }
58778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58779 $as_echo "$LIBICONV" >&6; }
58780 else
58781 CPPFLAGS="$am_save_CPPFLAGS"
58782 LIBICONV=
58783 LTLIBICONV=
58784 fi
58785
58786
58787
58788 if test "$am_cv_func_iconv" = yes; then
58789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58790 $as_echo_n "checking for iconv declaration... " >&6; }
58791 if test "${am_cv_proto_iconv+set}" = set; then :
58792 $as_echo_n "(cached) " >&6
58793 else
58794
58795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58796 /* end confdefs.h. */
58797
58798 #include <stdlib.h>
58799 #include <iconv.h>
58800 extern
58801 #ifdef __cplusplus
58802 "C"
58803 #endif
58804 #if defined(__STDC__) || defined(__cplusplus)
58805 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58806 #else
58807 size_t iconv();
58808 #endif
58809
58810 int
58811 main ()
58812 {
58813
58814 ;
58815 return 0;
58816 }
58817 _ACEOF
58818 if ac_fn_c_try_compile "$LINENO"; then :
58819 am_cv_proto_iconv_arg1=""
58820 else
58821 am_cv_proto_iconv_arg1="const"
58822 fi
58823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58824 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);"
58825 fi
58826
58827 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58829 }$am_cv_proto_iconv" >&5
58830 $as_echo "${ac_t:-
58831 }$am_cv_proto_iconv" >&6; }
58832
58833 cat >>confdefs.h <<_ACEOF
58834 #define ICONV_CONST $am_cv_proto_iconv_arg1
58835 _ACEOF
58836
58837 fi
58838
58839 ;;
58840 *-mingw32*)
58841
58842 # If we're not using GNU ld, then there's no point in even trying these
58843 # tests. Check for that first. We should have already tested for gld
58844 # by now (in libtool), but require it now just to be safe...
58845 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58846 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58847
58848
58849
58850 # The name set by libtool depends on the version of libtool. Shame on us
58851 # for depending on an impl detail, but c'est la vie. Older versions used
58852 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58853 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58854 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58855 # set (hence we're using an older libtool), then set it.
58856 if test x${with_gnu_ld+set} != xset; then
58857 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58858 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58859 with_gnu_ld=no
58860 else
58861 with_gnu_ld=$ac_cv_prog_gnu_ld
58862 fi
58863 fi
58864
58865 # Start by getting the version number. I think the libtool test already
58866 # does some of this, but throws away the result.
58867 glibcxx_ld_is_gold=no
58868 if test x"$with_gnu_ld" = x"yes"; then
58869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58870 $as_echo_n "checking for ld version... " >&6; }
58871
58872 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58873 glibcxx_ld_is_gold=yes
58874 fi
58875 ldver=`$LD --version 2>/dev/null |
58876 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'`
58877
58878 glibcxx_gnu_ld_version=`echo $ldver | \
58879 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58881 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58882 fi
58883
58884 # Set --gc-sections.
58885 glibcxx_have_gc_sections=no
58886 if test "$glibcxx_ld_is_gold" = "yes"; then
58887 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58888 glibcxx_have_gc_sections=yes
58889 fi
58890 else
58891 glibcxx_gcsections_min_ld=21602
58892 if test x"$with_gnu_ld" = x"yes" &&
58893 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58894 glibcxx_have_gc_sections=yes
58895 fi
58896 fi
58897 if test "$glibcxx_have_gc_sections" = "yes"; then
58898 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58899 # NB: This flag only works reliably after 2.16.1. Configure tests
58900 # for this are difficult, so hard wire a value that should work.
58901
58902 ac_test_CFLAGS="${CFLAGS+set}"
58903 ac_save_CFLAGS="$CFLAGS"
58904 CFLAGS='-Wl,--gc-sections'
58905
58906 # Check for -Wl,--gc-sections
58907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58908 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58909 if test x$gcc_no_link = xyes; then
58910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58911 fi
58912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58913 /* end confdefs.h. */
58914 int one(void) { return 1; }
58915 int two(void) { return 2; }
58916
58917 int
58918 main ()
58919 {
58920 two();
58921 ;
58922 return 0;
58923 }
58924 _ACEOF
58925 if ac_fn_c_try_link "$LINENO"; then :
58926 ac_gcsections=yes
58927 else
58928 ac_gcsections=no
58929 fi
58930 rm -f core conftest.err conftest.$ac_objext \
58931 conftest$ac_exeext conftest.$ac_ext
58932 if test "$ac_gcsections" = "yes"; then
58933 rm -f conftest.c
58934 touch conftest.c
58935 if $CC -c conftest.c; then
58936 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58937 grep "Warning: gc-sections option ignored" > /dev/null; then
58938 ac_gcsections=no
58939 fi
58940 fi
58941 rm -f conftest.c conftest.o conftest
58942 fi
58943 if test "$ac_gcsections" = "yes"; then
58944 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58945 fi
58946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58947 $as_echo "$ac_gcsections" >&6; }
58948
58949 if test "$ac_test_CFLAGS" = set; then
58950 CFLAGS="$ac_save_CFLAGS"
58951 else
58952 # this is the suspicious part
58953 CFLAGS=''
58954 fi
58955 fi
58956
58957 # Set -z,relro.
58958 # Note this is only for shared objects.
58959 ac_ld_relro=no
58960 if test x"$with_gnu_ld" = x"yes"; then
58961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58962 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58963 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58964 if test -n "$cxx_z_relo"; then
58965 OPT_LDFLAGS="-Wl,-z,relro"
58966 ac_ld_relro=yes
58967 fi
58968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58969 $as_echo "$ac_ld_relro" >&6; }
58970 fi
58971
58972 # Set linker optimization flags.
58973 if test x"$with_gnu_ld" = x"yes"; then
58974 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58975 fi
58976
58977
58978
58979
58980
58981 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58982 ac_save_CXXFLAGS="$CXXFLAGS"
58983 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58984
58985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58986 $as_echo_n "checking for sin in -lm... " >&6; }
58987 if test "${ac_cv_lib_m_sin+set}" = set; then :
58988 $as_echo_n "(cached) " >&6
58989 else
58990 ac_check_lib_save_LIBS=$LIBS
58991 LIBS="-lm $LIBS"
58992 if test x$gcc_no_link = xyes; then
58993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58994 fi
58995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58996 /* end confdefs.h. */
58997
58998 /* Override any GCC internal prototype to avoid an error.
58999 Use char because int might match the return type of a GCC
59000 builtin and then its argument prototype would still apply. */
59001 #ifdef __cplusplus
59002 extern "C"
59003 #endif
59004 char sin ();
59005 int
59006 main ()
59007 {
59008 return sin ();
59009 ;
59010 return 0;
59011 }
59012 _ACEOF
59013 if ac_fn_c_try_link "$LINENO"; then :
59014 ac_cv_lib_m_sin=yes
59015 else
59016 ac_cv_lib_m_sin=no
59017 fi
59018 rm -f core conftest.err conftest.$ac_objext \
59019 conftest$ac_exeext conftest.$ac_ext
59020 LIBS=$ac_check_lib_save_LIBS
59021 fi
59022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59023 $as_echo "$ac_cv_lib_m_sin" >&6; }
59024 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59025 libm="-lm"
59026 fi
59027
59028 ac_save_LIBS="$LIBS"
59029 LIBS="$LIBS $libm"
59030
59031
59032
59033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59034 $as_echo_n "checking for isinf declaration... " >&6; }
59035 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59036 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59037 $as_echo_n "(cached) " >&6
59038 else
59039
59040
59041 ac_ext=cpp
59042 ac_cpp='$CXXCPP $CPPFLAGS'
59043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59046
59047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59048 /* end confdefs.h. */
59049 #include <math.h>
59050 #ifdef HAVE_IEEEFP_H
59051 #include <ieeefp.h>
59052 #endif
59053
59054 int
59055 main ()
59056 {
59057 isinf(0);
59058 ;
59059 return 0;
59060 }
59061 _ACEOF
59062 if ac_fn_cxx_try_compile "$LINENO"; then :
59063 glibcxx_cv_func_isinf_use=yes
59064 else
59065 glibcxx_cv_func_isinf_use=no
59066 fi
59067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59068 ac_ext=c
59069 ac_cpp='$CPP $CPPFLAGS'
59070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59073
59074
59075 fi
59076
59077 fi
59078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59079 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59080
59081 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59082 for ac_func in isinf
59083 do :
59084 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59085 if test "x$ac_cv_func_isinf" = x""yes; then :
59086 cat >>confdefs.h <<_ACEOF
59087 #define HAVE_ISINF 1
59088 _ACEOF
59089
59090 fi
59091 done
59092
59093 else
59094
59095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59096 $as_echo_n "checking for _isinf declaration... " >&6; }
59097 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59098 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59099 $as_echo_n "(cached) " >&6
59100 else
59101
59102
59103 ac_ext=cpp
59104 ac_cpp='$CXXCPP $CPPFLAGS'
59105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59108
59109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59110 /* end confdefs.h. */
59111 #include <math.h>
59112 #ifdef HAVE_IEEEFP_H
59113 #include <ieeefp.h>
59114 #endif
59115
59116 int
59117 main ()
59118 {
59119 _isinf(0);
59120 ;
59121 return 0;
59122 }
59123 _ACEOF
59124 if ac_fn_cxx_try_compile "$LINENO"; then :
59125 glibcxx_cv_func__isinf_use=yes
59126 else
59127 glibcxx_cv_func__isinf_use=no
59128 fi
59129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59130 ac_ext=c
59131 ac_cpp='$CPP $CPPFLAGS'
59132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59135
59136
59137 fi
59138
59139 fi
59140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59141 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59142
59143 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59144 for ac_func in _isinf
59145 do :
59146 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59147 if test "x$ac_cv_func__isinf" = x""yes; then :
59148 cat >>confdefs.h <<_ACEOF
59149 #define HAVE__ISINF 1
59150 _ACEOF
59151
59152 fi
59153 done
59154
59155 fi
59156 fi
59157
59158
59159
59160
59161
59162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59163 $as_echo_n "checking for isnan declaration... " >&6; }
59164 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59165 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59166 $as_echo_n "(cached) " >&6
59167 else
59168
59169
59170 ac_ext=cpp
59171 ac_cpp='$CXXCPP $CPPFLAGS'
59172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59175
59176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59177 /* end confdefs.h. */
59178 #include <math.h>
59179 #ifdef HAVE_IEEEFP_H
59180 #include <ieeefp.h>
59181 #endif
59182
59183 int
59184 main ()
59185 {
59186 isnan(0);
59187 ;
59188 return 0;
59189 }
59190 _ACEOF
59191 if ac_fn_cxx_try_compile "$LINENO"; then :
59192 glibcxx_cv_func_isnan_use=yes
59193 else
59194 glibcxx_cv_func_isnan_use=no
59195 fi
59196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59197 ac_ext=c
59198 ac_cpp='$CPP $CPPFLAGS'
59199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59202
59203
59204 fi
59205
59206 fi
59207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59208 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59209
59210 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59211 for ac_func in isnan
59212 do :
59213 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59214 if test "x$ac_cv_func_isnan" = x""yes; then :
59215 cat >>confdefs.h <<_ACEOF
59216 #define HAVE_ISNAN 1
59217 _ACEOF
59218
59219 fi
59220 done
59221
59222 else
59223
59224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59225 $as_echo_n "checking for _isnan declaration... " >&6; }
59226 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59227 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59228 $as_echo_n "(cached) " >&6
59229 else
59230
59231
59232 ac_ext=cpp
59233 ac_cpp='$CXXCPP $CPPFLAGS'
59234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59237
59238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59239 /* end confdefs.h. */
59240 #include <math.h>
59241 #ifdef HAVE_IEEEFP_H
59242 #include <ieeefp.h>
59243 #endif
59244
59245 int
59246 main ()
59247 {
59248 _isnan(0);
59249 ;
59250 return 0;
59251 }
59252 _ACEOF
59253 if ac_fn_cxx_try_compile "$LINENO"; then :
59254 glibcxx_cv_func__isnan_use=yes
59255 else
59256 glibcxx_cv_func__isnan_use=no
59257 fi
59258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59259 ac_ext=c
59260 ac_cpp='$CPP $CPPFLAGS'
59261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59264
59265
59266 fi
59267
59268 fi
59269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59270 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59271
59272 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59273 for ac_func in _isnan
59274 do :
59275 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59276 if test "x$ac_cv_func__isnan" = x""yes; then :
59277 cat >>confdefs.h <<_ACEOF
59278 #define HAVE__ISNAN 1
59279 _ACEOF
59280
59281 fi
59282 done
59283
59284 fi
59285 fi
59286
59287
59288
59289
59290
59291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59292 $as_echo_n "checking for finite declaration... " >&6; }
59293 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59294 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59295 $as_echo_n "(cached) " >&6
59296 else
59297
59298
59299 ac_ext=cpp
59300 ac_cpp='$CXXCPP $CPPFLAGS'
59301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59304
59305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59306 /* end confdefs.h. */
59307 #include <math.h>
59308 #ifdef HAVE_IEEEFP_H
59309 #include <ieeefp.h>
59310 #endif
59311
59312 int
59313 main ()
59314 {
59315 finite(0);
59316 ;
59317 return 0;
59318 }
59319 _ACEOF
59320 if ac_fn_cxx_try_compile "$LINENO"; then :
59321 glibcxx_cv_func_finite_use=yes
59322 else
59323 glibcxx_cv_func_finite_use=no
59324 fi
59325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59326 ac_ext=c
59327 ac_cpp='$CPP $CPPFLAGS'
59328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59331
59332
59333 fi
59334
59335 fi
59336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59337 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59338
59339 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59340 for ac_func in finite
59341 do :
59342 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59343 if test "x$ac_cv_func_finite" = x""yes; then :
59344 cat >>confdefs.h <<_ACEOF
59345 #define HAVE_FINITE 1
59346 _ACEOF
59347
59348 fi
59349 done
59350
59351 else
59352
59353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59354 $as_echo_n "checking for _finite declaration... " >&6; }
59355 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59356 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59357 $as_echo_n "(cached) " >&6
59358 else
59359
59360
59361 ac_ext=cpp
59362 ac_cpp='$CXXCPP $CPPFLAGS'
59363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59366
59367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59368 /* end confdefs.h. */
59369 #include <math.h>
59370 #ifdef HAVE_IEEEFP_H
59371 #include <ieeefp.h>
59372 #endif
59373
59374 int
59375 main ()
59376 {
59377 _finite(0);
59378 ;
59379 return 0;
59380 }
59381 _ACEOF
59382 if ac_fn_cxx_try_compile "$LINENO"; then :
59383 glibcxx_cv_func__finite_use=yes
59384 else
59385 glibcxx_cv_func__finite_use=no
59386 fi
59387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59388 ac_ext=c
59389 ac_cpp='$CPP $CPPFLAGS'
59390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59393
59394
59395 fi
59396
59397 fi
59398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59399 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59400
59401 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59402 for ac_func in _finite
59403 do :
59404 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59405 if test "x$ac_cv_func__finite" = x""yes; then :
59406 cat >>confdefs.h <<_ACEOF
59407 #define HAVE__FINITE 1
59408 _ACEOF
59409
59410 fi
59411 done
59412
59413 fi
59414 fi
59415
59416
59417
59418
59419
59420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59421 $as_echo_n "checking for sincos declaration... " >&6; }
59422 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59423 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59424 $as_echo_n "(cached) " >&6
59425 else
59426
59427
59428 ac_ext=cpp
59429 ac_cpp='$CXXCPP $CPPFLAGS'
59430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59433
59434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59435 /* end confdefs.h. */
59436 #include <math.h>
59437 int
59438 main ()
59439 {
59440 sincos(0, 0, 0);
59441 ;
59442 return 0;
59443 }
59444 _ACEOF
59445 if ac_fn_cxx_try_compile "$LINENO"; then :
59446 glibcxx_cv_func_sincos_use=yes
59447 else
59448 glibcxx_cv_func_sincos_use=no
59449 fi
59450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59451 ac_ext=c
59452 ac_cpp='$CPP $CPPFLAGS'
59453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59456
59457
59458 fi
59459
59460 fi
59461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59462 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59463
59464 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59465 for ac_func in sincos
59466 do :
59467 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59468 if test "x$ac_cv_func_sincos" = x""yes; then :
59469 cat >>confdefs.h <<_ACEOF
59470 #define HAVE_SINCOS 1
59471 _ACEOF
59472
59473 fi
59474 done
59475
59476 else
59477
59478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59479 $as_echo_n "checking for _sincos declaration... " >&6; }
59480 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59481 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59482 $as_echo_n "(cached) " >&6
59483 else
59484
59485
59486 ac_ext=cpp
59487 ac_cpp='$CXXCPP $CPPFLAGS'
59488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59491
59492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59493 /* end confdefs.h. */
59494 #include <math.h>
59495 int
59496 main ()
59497 {
59498 _sincos(0, 0, 0);
59499 ;
59500 return 0;
59501 }
59502 _ACEOF
59503 if ac_fn_cxx_try_compile "$LINENO"; then :
59504 glibcxx_cv_func__sincos_use=yes
59505 else
59506 glibcxx_cv_func__sincos_use=no
59507 fi
59508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59509 ac_ext=c
59510 ac_cpp='$CPP $CPPFLAGS'
59511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59514
59515
59516 fi
59517
59518 fi
59519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59520 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59521
59522 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59523 for ac_func in _sincos
59524 do :
59525 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59526 if test "x$ac_cv_func__sincos" = x""yes; then :
59527 cat >>confdefs.h <<_ACEOF
59528 #define HAVE__SINCOS 1
59529 _ACEOF
59530
59531 fi
59532 done
59533
59534 fi
59535 fi
59536
59537
59538
59539
59540
59541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59542 $as_echo_n "checking for fpclass declaration... " >&6; }
59543 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59544 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59545 $as_echo_n "(cached) " >&6
59546 else
59547
59548
59549 ac_ext=cpp
59550 ac_cpp='$CXXCPP $CPPFLAGS'
59551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59554
59555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59556 /* end confdefs.h. */
59557 #include <math.h>
59558 #ifdef HAVE_IEEEFP_H
59559 #include <ieeefp.h>
59560 #endif
59561
59562 int
59563 main ()
59564 {
59565 fpclass(0);
59566 ;
59567 return 0;
59568 }
59569 _ACEOF
59570 if ac_fn_cxx_try_compile "$LINENO"; then :
59571 glibcxx_cv_func_fpclass_use=yes
59572 else
59573 glibcxx_cv_func_fpclass_use=no
59574 fi
59575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59576 ac_ext=c
59577 ac_cpp='$CPP $CPPFLAGS'
59578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59581
59582
59583 fi
59584
59585 fi
59586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59587 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59588
59589 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59590 for ac_func in fpclass
59591 do :
59592 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59593 if test "x$ac_cv_func_fpclass" = x""yes; then :
59594 cat >>confdefs.h <<_ACEOF
59595 #define HAVE_FPCLASS 1
59596 _ACEOF
59597
59598 fi
59599 done
59600
59601 else
59602
59603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59604 $as_echo_n "checking for _fpclass declaration... " >&6; }
59605 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59606 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59607 $as_echo_n "(cached) " >&6
59608 else
59609
59610
59611 ac_ext=cpp
59612 ac_cpp='$CXXCPP $CPPFLAGS'
59613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59616
59617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59618 /* end confdefs.h. */
59619 #include <math.h>
59620 #ifdef HAVE_IEEEFP_H
59621 #include <ieeefp.h>
59622 #endif
59623
59624 int
59625 main ()
59626 {
59627 _fpclass(0);
59628 ;
59629 return 0;
59630 }
59631 _ACEOF
59632 if ac_fn_cxx_try_compile "$LINENO"; then :
59633 glibcxx_cv_func__fpclass_use=yes
59634 else
59635 glibcxx_cv_func__fpclass_use=no
59636 fi
59637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59638 ac_ext=c
59639 ac_cpp='$CPP $CPPFLAGS'
59640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59643
59644
59645 fi
59646
59647 fi
59648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59649 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59650
59651 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59652 for ac_func in _fpclass
59653 do :
59654 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59655 if test "x$ac_cv_func__fpclass" = x""yes; then :
59656 cat >>confdefs.h <<_ACEOF
59657 #define HAVE__FPCLASS 1
59658 _ACEOF
59659
59660 fi
59661 done
59662
59663 fi
59664 fi
59665
59666
59667
59668
59669
59670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59671 $as_echo_n "checking for qfpclass declaration... " >&6; }
59672 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59673 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59674 $as_echo_n "(cached) " >&6
59675 else
59676
59677
59678 ac_ext=cpp
59679 ac_cpp='$CXXCPP $CPPFLAGS'
59680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59683
59684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59685 /* end confdefs.h. */
59686 #include <math.h>
59687 #ifdef HAVE_IEEEFP_H
59688 #include <ieeefp.h>
59689 #endif
59690
59691 int
59692 main ()
59693 {
59694 qfpclass(0);
59695 ;
59696 return 0;
59697 }
59698 _ACEOF
59699 if ac_fn_cxx_try_compile "$LINENO"; then :
59700 glibcxx_cv_func_qfpclass_use=yes
59701 else
59702 glibcxx_cv_func_qfpclass_use=no
59703 fi
59704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59705 ac_ext=c
59706 ac_cpp='$CPP $CPPFLAGS'
59707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59710
59711
59712 fi
59713
59714 fi
59715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59716 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59717
59718 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59719 for ac_func in qfpclass
59720 do :
59721 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59722 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59723 cat >>confdefs.h <<_ACEOF
59724 #define HAVE_QFPCLASS 1
59725 _ACEOF
59726
59727 fi
59728 done
59729
59730 else
59731
59732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59733 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59734 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59735 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59736 $as_echo_n "(cached) " >&6
59737 else
59738
59739
59740 ac_ext=cpp
59741 ac_cpp='$CXXCPP $CPPFLAGS'
59742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59745
59746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59747 /* end confdefs.h. */
59748 #include <math.h>
59749 #ifdef HAVE_IEEEFP_H
59750 #include <ieeefp.h>
59751 #endif
59752
59753 int
59754 main ()
59755 {
59756 _qfpclass(0);
59757 ;
59758 return 0;
59759 }
59760 _ACEOF
59761 if ac_fn_cxx_try_compile "$LINENO"; then :
59762 glibcxx_cv_func__qfpclass_use=yes
59763 else
59764 glibcxx_cv_func__qfpclass_use=no
59765 fi
59766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59767 ac_ext=c
59768 ac_cpp='$CPP $CPPFLAGS'
59769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59772
59773
59774 fi
59775
59776 fi
59777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59778 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59779
59780 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59781 for ac_func in _qfpclass
59782 do :
59783 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59784 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59785 cat >>confdefs.h <<_ACEOF
59786 #define HAVE__QFPCLASS 1
59787 _ACEOF
59788
59789 fi
59790 done
59791
59792 fi
59793 fi
59794
59795
59796
59797
59798
59799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59800 $as_echo_n "checking for hypot declaration... " >&6; }
59801 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59802 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59803 $as_echo_n "(cached) " >&6
59804 else
59805
59806
59807 ac_ext=cpp
59808 ac_cpp='$CXXCPP $CPPFLAGS'
59809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59812
59813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59814 /* end confdefs.h. */
59815 #include <math.h>
59816 int
59817 main ()
59818 {
59819 hypot(0, 0);
59820 ;
59821 return 0;
59822 }
59823 _ACEOF
59824 if ac_fn_cxx_try_compile "$LINENO"; then :
59825 glibcxx_cv_func_hypot_use=yes
59826 else
59827 glibcxx_cv_func_hypot_use=no
59828 fi
59829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59830 ac_ext=c
59831 ac_cpp='$CPP $CPPFLAGS'
59832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59835
59836
59837 fi
59838
59839 fi
59840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59841 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59842
59843 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59844 for ac_func in hypot
59845 do :
59846 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59847 if test "x$ac_cv_func_hypot" = x""yes; then :
59848 cat >>confdefs.h <<_ACEOF
59849 #define HAVE_HYPOT 1
59850 _ACEOF
59851
59852 fi
59853 done
59854
59855 else
59856
59857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59858 $as_echo_n "checking for _hypot declaration... " >&6; }
59859 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59860 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59861 $as_echo_n "(cached) " >&6
59862 else
59863
59864
59865 ac_ext=cpp
59866 ac_cpp='$CXXCPP $CPPFLAGS'
59867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59870
59871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59872 /* end confdefs.h. */
59873 #include <math.h>
59874 int
59875 main ()
59876 {
59877 _hypot(0, 0);
59878 ;
59879 return 0;
59880 }
59881 _ACEOF
59882 if ac_fn_cxx_try_compile "$LINENO"; then :
59883 glibcxx_cv_func__hypot_use=yes
59884 else
59885 glibcxx_cv_func__hypot_use=no
59886 fi
59887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59888 ac_ext=c
59889 ac_cpp='$CPP $CPPFLAGS'
59890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59893
59894
59895 fi
59896
59897 fi
59898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59899 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59900
59901 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59902 for ac_func in _hypot
59903 do :
59904 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59905 if test "x$ac_cv_func__hypot" = x""yes; then :
59906 cat >>confdefs.h <<_ACEOF
59907 #define HAVE__HYPOT 1
59908 _ACEOF
59909
59910 fi
59911 done
59912
59913 fi
59914 fi
59915
59916
59917
59918
59919
59920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59921 $as_echo_n "checking for float trig functions... " >&6; }
59922 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59923 $as_echo_n "(cached) " >&6
59924 else
59925
59926
59927 ac_ext=cpp
59928 ac_cpp='$CXXCPP $CPPFLAGS'
59929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59932
59933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59934 /* end confdefs.h. */
59935 #include <math.h>
59936 int
59937 main ()
59938 {
59939 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59940 ;
59941 return 0;
59942 }
59943 _ACEOF
59944 if ac_fn_cxx_try_compile "$LINENO"; then :
59945 glibcxx_cv_func_float_trig_use=yes
59946 else
59947 glibcxx_cv_func_float_trig_use=no
59948 fi
59949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59950 ac_ext=c
59951 ac_cpp='$CPP $CPPFLAGS'
59952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59955
59956 fi
59957
59958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59959 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59960 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59961 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59962 do :
59963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59965 eval as_val=\$$as_ac_var
59966 if test "x$as_val" = x""yes; then :
59967 cat >>confdefs.h <<_ACEOF
59968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59969 _ACEOF
59970
59971 fi
59972 done
59973
59974 else
59975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59976 $as_echo_n "checking for _float trig functions... " >&6; }
59977 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59978 $as_echo_n "(cached) " >&6
59979 else
59980
59981
59982 ac_ext=cpp
59983 ac_cpp='$CXXCPP $CPPFLAGS'
59984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59987
59988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59989 /* end confdefs.h. */
59990 #include <math.h>
59991 int
59992 main ()
59993 {
59994 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59995 ;
59996 return 0;
59997 }
59998 _ACEOF
59999 if ac_fn_cxx_try_compile "$LINENO"; then :
60000 glibcxx_cv_func__float_trig_use=yes
60001 else
60002 glibcxx_cv_func__float_trig_use=no
60003 fi
60004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60005 ac_ext=c
60006 ac_cpp='$CPP $CPPFLAGS'
60007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60010
60011 fi
60012
60013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60014 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60015 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60016 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60017 do :
60018 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60019 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60020 eval as_val=\$$as_ac_var
60021 if test "x$as_val" = x""yes; then :
60022 cat >>confdefs.h <<_ACEOF
60023 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60024 _ACEOF
60025
60026 fi
60027 done
60028
60029 fi
60030 fi
60031
60032
60033
60034
60035
60036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60037 $as_echo_n "checking for float round functions... " >&6; }
60038 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60039 $as_echo_n "(cached) " >&6
60040 else
60041
60042
60043 ac_ext=cpp
60044 ac_cpp='$CXXCPP $CPPFLAGS'
60045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60048
60049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60050 /* end confdefs.h. */
60051 #include <math.h>
60052 int
60053 main ()
60054 {
60055 ceilf (0); floorf (0);
60056 ;
60057 return 0;
60058 }
60059 _ACEOF
60060 if ac_fn_cxx_try_compile "$LINENO"; then :
60061 glibcxx_cv_func_float_round_use=yes
60062 else
60063 glibcxx_cv_func_float_round_use=no
60064 fi
60065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60066 ac_ext=c
60067 ac_cpp='$CPP $CPPFLAGS'
60068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60071
60072 fi
60073
60074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60075 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60076 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60077 for ac_func in ceilf floorf
60078 do :
60079 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60080 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60081 eval as_val=\$$as_ac_var
60082 if test "x$as_val" = x""yes; then :
60083 cat >>confdefs.h <<_ACEOF
60084 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60085 _ACEOF
60086
60087 fi
60088 done
60089
60090 else
60091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60092 $as_echo_n "checking for _float round functions... " >&6; }
60093 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60094 $as_echo_n "(cached) " >&6
60095 else
60096
60097
60098 ac_ext=cpp
60099 ac_cpp='$CXXCPP $CPPFLAGS'
60100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60103
60104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60105 /* end confdefs.h. */
60106 #include <math.h>
60107 int
60108 main ()
60109 {
60110 _ceilf (0); _floorf (0);
60111 ;
60112 return 0;
60113 }
60114 _ACEOF
60115 if ac_fn_cxx_try_compile "$LINENO"; then :
60116 glibcxx_cv_func__float_round_use=yes
60117 else
60118 glibcxx_cv_func__float_round_use=no
60119 fi
60120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60121 ac_ext=c
60122 ac_cpp='$CPP $CPPFLAGS'
60123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60126
60127 fi
60128
60129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60130 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60131 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60132 for ac_func in _ceilf _floorf
60133 do :
60134 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60135 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60136 eval as_val=\$$as_ac_var
60137 if test "x$as_val" = x""yes; then :
60138 cat >>confdefs.h <<_ACEOF
60139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60140 _ACEOF
60141
60142 fi
60143 done
60144
60145 fi
60146 fi
60147
60148
60149
60150
60151
60152
60153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60154 $as_echo_n "checking for expf declaration... " >&6; }
60155 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60156 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60157 $as_echo_n "(cached) " >&6
60158 else
60159
60160
60161 ac_ext=cpp
60162 ac_cpp='$CXXCPP $CPPFLAGS'
60163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60166
60167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60168 /* end confdefs.h. */
60169 #include <math.h>
60170 #ifdef HAVE_IEEEFP_H
60171 #include <ieeefp.h>
60172 #endif
60173
60174 int
60175 main ()
60176 {
60177 expf(0);
60178 ;
60179 return 0;
60180 }
60181 _ACEOF
60182 if ac_fn_cxx_try_compile "$LINENO"; then :
60183 glibcxx_cv_func_expf_use=yes
60184 else
60185 glibcxx_cv_func_expf_use=no
60186 fi
60187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60188 ac_ext=c
60189 ac_cpp='$CPP $CPPFLAGS'
60190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60193
60194
60195 fi
60196
60197 fi
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60199 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60200
60201 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60202 for ac_func in expf
60203 do :
60204 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60205 if test "x$ac_cv_func_expf" = x""yes; then :
60206 cat >>confdefs.h <<_ACEOF
60207 #define HAVE_EXPF 1
60208 _ACEOF
60209
60210 fi
60211 done
60212
60213 else
60214
60215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60216 $as_echo_n "checking for _expf declaration... " >&6; }
60217 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60218 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60219 $as_echo_n "(cached) " >&6
60220 else
60221
60222
60223 ac_ext=cpp
60224 ac_cpp='$CXXCPP $CPPFLAGS'
60225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60228
60229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60230 /* end confdefs.h. */
60231 #include <math.h>
60232 #ifdef HAVE_IEEEFP_H
60233 #include <ieeefp.h>
60234 #endif
60235
60236 int
60237 main ()
60238 {
60239 _expf(0);
60240 ;
60241 return 0;
60242 }
60243 _ACEOF
60244 if ac_fn_cxx_try_compile "$LINENO"; then :
60245 glibcxx_cv_func__expf_use=yes
60246 else
60247 glibcxx_cv_func__expf_use=no
60248 fi
60249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60250 ac_ext=c
60251 ac_cpp='$CPP $CPPFLAGS'
60252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60255
60256
60257 fi
60258
60259 fi
60260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60261 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60262
60263 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60264 for ac_func in _expf
60265 do :
60266 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60267 if test "x$ac_cv_func__expf" = x""yes; then :
60268 cat >>confdefs.h <<_ACEOF
60269 #define HAVE__EXPF 1
60270 _ACEOF
60271
60272 fi
60273 done
60274
60275 fi
60276 fi
60277
60278
60279
60280
60281
60282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60283 $as_echo_n "checking for isnanf declaration... " >&6; }
60284 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60285 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60286 $as_echo_n "(cached) " >&6
60287 else
60288
60289
60290 ac_ext=cpp
60291 ac_cpp='$CXXCPP $CPPFLAGS'
60292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60295
60296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60297 /* end confdefs.h. */
60298 #include <math.h>
60299 #ifdef HAVE_IEEEFP_H
60300 #include <ieeefp.h>
60301 #endif
60302
60303 int
60304 main ()
60305 {
60306 isnanf(0);
60307 ;
60308 return 0;
60309 }
60310 _ACEOF
60311 if ac_fn_cxx_try_compile "$LINENO"; then :
60312 glibcxx_cv_func_isnanf_use=yes
60313 else
60314 glibcxx_cv_func_isnanf_use=no
60315 fi
60316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60317 ac_ext=c
60318 ac_cpp='$CPP $CPPFLAGS'
60319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60322
60323
60324 fi
60325
60326 fi
60327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60328 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60329
60330 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60331 for ac_func in isnanf
60332 do :
60333 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60334 if test "x$ac_cv_func_isnanf" = x""yes; then :
60335 cat >>confdefs.h <<_ACEOF
60336 #define HAVE_ISNANF 1
60337 _ACEOF
60338
60339 fi
60340 done
60341
60342 else
60343
60344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60345 $as_echo_n "checking for _isnanf declaration... " >&6; }
60346 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60347 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60348 $as_echo_n "(cached) " >&6
60349 else
60350
60351
60352 ac_ext=cpp
60353 ac_cpp='$CXXCPP $CPPFLAGS'
60354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60357
60358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60359 /* end confdefs.h. */
60360 #include <math.h>
60361 #ifdef HAVE_IEEEFP_H
60362 #include <ieeefp.h>
60363 #endif
60364
60365 int
60366 main ()
60367 {
60368 _isnanf(0);
60369 ;
60370 return 0;
60371 }
60372 _ACEOF
60373 if ac_fn_cxx_try_compile "$LINENO"; then :
60374 glibcxx_cv_func__isnanf_use=yes
60375 else
60376 glibcxx_cv_func__isnanf_use=no
60377 fi
60378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60379 ac_ext=c
60380 ac_cpp='$CPP $CPPFLAGS'
60381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60384
60385
60386 fi
60387
60388 fi
60389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60390 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60391
60392 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60393 for ac_func in _isnanf
60394 do :
60395 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60396 if test "x$ac_cv_func__isnanf" = x""yes; then :
60397 cat >>confdefs.h <<_ACEOF
60398 #define HAVE__ISNANF 1
60399 _ACEOF
60400
60401 fi
60402 done
60403
60404 fi
60405 fi
60406
60407
60408
60409
60410
60411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60412 $as_echo_n "checking for isinff declaration... " >&6; }
60413 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60414 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60415 $as_echo_n "(cached) " >&6
60416 else
60417
60418
60419 ac_ext=cpp
60420 ac_cpp='$CXXCPP $CPPFLAGS'
60421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60424
60425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60426 /* end confdefs.h. */
60427 #include <math.h>
60428 #ifdef HAVE_IEEEFP_H
60429 #include <ieeefp.h>
60430 #endif
60431
60432 int
60433 main ()
60434 {
60435 isinff(0);
60436 ;
60437 return 0;
60438 }
60439 _ACEOF
60440 if ac_fn_cxx_try_compile "$LINENO"; then :
60441 glibcxx_cv_func_isinff_use=yes
60442 else
60443 glibcxx_cv_func_isinff_use=no
60444 fi
60445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60446 ac_ext=c
60447 ac_cpp='$CPP $CPPFLAGS'
60448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60451
60452
60453 fi
60454
60455 fi
60456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60457 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60458
60459 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60460 for ac_func in isinff
60461 do :
60462 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60463 if test "x$ac_cv_func_isinff" = x""yes; then :
60464 cat >>confdefs.h <<_ACEOF
60465 #define HAVE_ISINFF 1
60466 _ACEOF
60467
60468 fi
60469 done
60470
60471 else
60472
60473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60474 $as_echo_n "checking for _isinff declaration... " >&6; }
60475 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60476 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60477 $as_echo_n "(cached) " >&6
60478 else
60479
60480
60481 ac_ext=cpp
60482 ac_cpp='$CXXCPP $CPPFLAGS'
60483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60486
60487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60488 /* end confdefs.h. */
60489 #include <math.h>
60490 #ifdef HAVE_IEEEFP_H
60491 #include <ieeefp.h>
60492 #endif
60493
60494 int
60495 main ()
60496 {
60497 _isinff(0);
60498 ;
60499 return 0;
60500 }
60501 _ACEOF
60502 if ac_fn_cxx_try_compile "$LINENO"; then :
60503 glibcxx_cv_func__isinff_use=yes
60504 else
60505 glibcxx_cv_func__isinff_use=no
60506 fi
60507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60508 ac_ext=c
60509 ac_cpp='$CPP $CPPFLAGS'
60510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60513
60514
60515 fi
60516
60517 fi
60518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60519 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60520
60521 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60522 for ac_func in _isinff
60523 do :
60524 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60525 if test "x$ac_cv_func__isinff" = x""yes; then :
60526 cat >>confdefs.h <<_ACEOF
60527 #define HAVE__ISINFF 1
60528 _ACEOF
60529
60530 fi
60531 done
60532
60533 fi
60534 fi
60535
60536
60537
60538
60539
60540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60541 $as_echo_n "checking for atan2f declaration... " >&6; }
60542 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60543 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60544 $as_echo_n "(cached) " >&6
60545 else
60546
60547
60548 ac_ext=cpp
60549 ac_cpp='$CXXCPP $CPPFLAGS'
60550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60553
60554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60555 /* end confdefs.h. */
60556 #include <math.h>
60557 int
60558 main ()
60559 {
60560 atan2f(0, 0);
60561 ;
60562 return 0;
60563 }
60564 _ACEOF
60565 if ac_fn_cxx_try_compile "$LINENO"; then :
60566 glibcxx_cv_func_atan2f_use=yes
60567 else
60568 glibcxx_cv_func_atan2f_use=no
60569 fi
60570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60571 ac_ext=c
60572 ac_cpp='$CPP $CPPFLAGS'
60573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60576
60577
60578 fi
60579
60580 fi
60581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60582 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60583
60584 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60585 for ac_func in atan2f
60586 do :
60587 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60588 if test "x$ac_cv_func_atan2f" = x""yes; then :
60589 cat >>confdefs.h <<_ACEOF
60590 #define HAVE_ATAN2F 1
60591 _ACEOF
60592
60593 fi
60594 done
60595
60596 else
60597
60598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60599 $as_echo_n "checking for _atan2f declaration... " >&6; }
60600 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60601 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60602 $as_echo_n "(cached) " >&6
60603 else
60604
60605
60606 ac_ext=cpp
60607 ac_cpp='$CXXCPP $CPPFLAGS'
60608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60611
60612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60613 /* end confdefs.h. */
60614 #include <math.h>
60615 int
60616 main ()
60617 {
60618 _atan2f(0, 0);
60619 ;
60620 return 0;
60621 }
60622 _ACEOF
60623 if ac_fn_cxx_try_compile "$LINENO"; then :
60624 glibcxx_cv_func__atan2f_use=yes
60625 else
60626 glibcxx_cv_func__atan2f_use=no
60627 fi
60628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60629 ac_ext=c
60630 ac_cpp='$CPP $CPPFLAGS'
60631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60634
60635
60636 fi
60637
60638 fi
60639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60640 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60641
60642 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60643 for ac_func in _atan2f
60644 do :
60645 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60646 if test "x$ac_cv_func__atan2f" = x""yes; then :
60647 cat >>confdefs.h <<_ACEOF
60648 #define HAVE__ATAN2F 1
60649 _ACEOF
60650
60651 fi
60652 done
60653
60654 fi
60655 fi
60656
60657
60658
60659
60660
60661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60662 $as_echo_n "checking for fabsf declaration... " >&6; }
60663 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60664 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60665 $as_echo_n "(cached) " >&6
60666 else
60667
60668
60669 ac_ext=cpp
60670 ac_cpp='$CXXCPP $CPPFLAGS'
60671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60674
60675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60676 /* end confdefs.h. */
60677 #include <math.h>
60678 #ifdef HAVE_IEEEFP_H
60679 #include <ieeefp.h>
60680 #endif
60681
60682 int
60683 main ()
60684 {
60685 fabsf(0);
60686 ;
60687 return 0;
60688 }
60689 _ACEOF
60690 if ac_fn_cxx_try_compile "$LINENO"; then :
60691 glibcxx_cv_func_fabsf_use=yes
60692 else
60693 glibcxx_cv_func_fabsf_use=no
60694 fi
60695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60696 ac_ext=c
60697 ac_cpp='$CPP $CPPFLAGS'
60698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60701
60702
60703 fi
60704
60705 fi
60706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60707 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60708
60709 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60710 for ac_func in fabsf
60711 do :
60712 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60713 if test "x$ac_cv_func_fabsf" = x""yes; then :
60714 cat >>confdefs.h <<_ACEOF
60715 #define HAVE_FABSF 1
60716 _ACEOF
60717
60718 fi
60719 done
60720
60721 else
60722
60723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60724 $as_echo_n "checking for _fabsf declaration... " >&6; }
60725 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60726 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60727 $as_echo_n "(cached) " >&6
60728 else
60729
60730
60731 ac_ext=cpp
60732 ac_cpp='$CXXCPP $CPPFLAGS'
60733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60736
60737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60738 /* end confdefs.h. */
60739 #include <math.h>
60740 #ifdef HAVE_IEEEFP_H
60741 #include <ieeefp.h>
60742 #endif
60743
60744 int
60745 main ()
60746 {
60747 _fabsf(0);
60748 ;
60749 return 0;
60750 }
60751 _ACEOF
60752 if ac_fn_cxx_try_compile "$LINENO"; then :
60753 glibcxx_cv_func__fabsf_use=yes
60754 else
60755 glibcxx_cv_func__fabsf_use=no
60756 fi
60757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60758 ac_ext=c
60759 ac_cpp='$CPP $CPPFLAGS'
60760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60763
60764
60765 fi
60766
60767 fi
60768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60769 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60770
60771 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60772 for ac_func in _fabsf
60773 do :
60774 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60775 if test "x$ac_cv_func__fabsf" = x""yes; then :
60776 cat >>confdefs.h <<_ACEOF
60777 #define HAVE__FABSF 1
60778 _ACEOF
60779
60780 fi
60781 done
60782
60783 fi
60784 fi
60785
60786
60787
60788
60789
60790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60791 $as_echo_n "checking for fmodf declaration... " >&6; }
60792 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60793 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60794 $as_echo_n "(cached) " >&6
60795 else
60796
60797
60798 ac_ext=cpp
60799 ac_cpp='$CXXCPP $CPPFLAGS'
60800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60803
60804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60805 /* end confdefs.h. */
60806 #include <math.h>
60807 int
60808 main ()
60809 {
60810 fmodf(0, 0);
60811 ;
60812 return 0;
60813 }
60814 _ACEOF
60815 if ac_fn_cxx_try_compile "$LINENO"; then :
60816 glibcxx_cv_func_fmodf_use=yes
60817 else
60818 glibcxx_cv_func_fmodf_use=no
60819 fi
60820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60821 ac_ext=c
60822 ac_cpp='$CPP $CPPFLAGS'
60823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60826
60827
60828 fi
60829
60830 fi
60831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60832 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60833
60834 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60835 for ac_func in fmodf
60836 do :
60837 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60838 if test "x$ac_cv_func_fmodf" = x""yes; then :
60839 cat >>confdefs.h <<_ACEOF
60840 #define HAVE_FMODF 1
60841 _ACEOF
60842
60843 fi
60844 done
60845
60846 else
60847
60848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60849 $as_echo_n "checking for _fmodf declaration... " >&6; }
60850 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60851 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60852 $as_echo_n "(cached) " >&6
60853 else
60854
60855
60856 ac_ext=cpp
60857 ac_cpp='$CXXCPP $CPPFLAGS'
60858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60861
60862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60863 /* end confdefs.h. */
60864 #include <math.h>
60865 int
60866 main ()
60867 {
60868 _fmodf(0, 0);
60869 ;
60870 return 0;
60871 }
60872 _ACEOF
60873 if ac_fn_cxx_try_compile "$LINENO"; then :
60874 glibcxx_cv_func__fmodf_use=yes
60875 else
60876 glibcxx_cv_func__fmodf_use=no
60877 fi
60878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60879 ac_ext=c
60880 ac_cpp='$CPP $CPPFLAGS'
60881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60884
60885
60886 fi
60887
60888 fi
60889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60890 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60891
60892 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60893 for ac_func in _fmodf
60894 do :
60895 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60896 if test "x$ac_cv_func__fmodf" = x""yes; then :
60897 cat >>confdefs.h <<_ACEOF
60898 #define HAVE__FMODF 1
60899 _ACEOF
60900
60901 fi
60902 done
60903
60904 fi
60905 fi
60906
60907
60908
60909
60910
60911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60912 $as_echo_n "checking for frexpf declaration... " >&6; }
60913 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60914 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60915 $as_echo_n "(cached) " >&6
60916 else
60917
60918
60919 ac_ext=cpp
60920 ac_cpp='$CXXCPP $CPPFLAGS'
60921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60924
60925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60926 /* end confdefs.h. */
60927 #include <math.h>
60928 int
60929 main ()
60930 {
60931 frexpf(0, 0);
60932 ;
60933 return 0;
60934 }
60935 _ACEOF
60936 if ac_fn_cxx_try_compile "$LINENO"; then :
60937 glibcxx_cv_func_frexpf_use=yes
60938 else
60939 glibcxx_cv_func_frexpf_use=no
60940 fi
60941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60942 ac_ext=c
60943 ac_cpp='$CPP $CPPFLAGS'
60944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60947
60948
60949 fi
60950
60951 fi
60952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60953 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60954
60955 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60956 for ac_func in frexpf
60957 do :
60958 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60959 if test "x$ac_cv_func_frexpf" = x""yes; then :
60960 cat >>confdefs.h <<_ACEOF
60961 #define HAVE_FREXPF 1
60962 _ACEOF
60963
60964 fi
60965 done
60966
60967 else
60968
60969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60970 $as_echo_n "checking for _frexpf declaration... " >&6; }
60971 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60972 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60973 $as_echo_n "(cached) " >&6
60974 else
60975
60976
60977 ac_ext=cpp
60978 ac_cpp='$CXXCPP $CPPFLAGS'
60979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60982
60983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60984 /* end confdefs.h. */
60985 #include <math.h>
60986 int
60987 main ()
60988 {
60989 _frexpf(0, 0);
60990 ;
60991 return 0;
60992 }
60993 _ACEOF
60994 if ac_fn_cxx_try_compile "$LINENO"; then :
60995 glibcxx_cv_func__frexpf_use=yes
60996 else
60997 glibcxx_cv_func__frexpf_use=no
60998 fi
60999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61000 ac_ext=c
61001 ac_cpp='$CPP $CPPFLAGS'
61002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61005
61006
61007 fi
61008
61009 fi
61010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61011 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61012
61013 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61014 for ac_func in _frexpf
61015 do :
61016 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61017 if test "x$ac_cv_func__frexpf" = x""yes; then :
61018 cat >>confdefs.h <<_ACEOF
61019 #define HAVE__FREXPF 1
61020 _ACEOF
61021
61022 fi
61023 done
61024
61025 fi
61026 fi
61027
61028
61029
61030
61031
61032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61033 $as_echo_n "checking for hypotf declaration... " >&6; }
61034 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61035 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61036 $as_echo_n "(cached) " >&6
61037 else
61038
61039
61040 ac_ext=cpp
61041 ac_cpp='$CXXCPP $CPPFLAGS'
61042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61045
61046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61047 /* end confdefs.h. */
61048 #include <math.h>
61049 int
61050 main ()
61051 {
61052 hypotf(0, 0);
61053 ;
61054 return 0;
61055 }
61056 _ACEOF
61057 if ac_fn_cxx_try_compile "$LINENO"; then :
61058 glibcxx_cv_func_hypotf_use=yes
61059 else
61060 glibcxx_cv_func_hypotf_use=no
61061 fi
61062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61063 ac_ext=c
61064 ac_cpp='$CPP $CPPFLAGS'
61065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61068
61069
61070 fi
61071
61072 fi
61073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61074 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61075
61076 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61077 for ac_func in hypotf
61078 do :
61079 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61080 if test "x$ac_cv_func_hypotf" = x""yes; then :
61081 cat >>confdefs.h <<_ACEOF
61082 #define HAVE_HYPOTF 1
61083 _ACEOF
61084
61085 fi
61086 done
61087
61088 else
61089
61090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61091 $as_echo_n "checking for _hypotf declaration... " >&6; }
61092 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61093 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61094 $as_echo_n "(cached) " >&6
61095 else
61096
61097
61098 ac_ext=cpp
61099 ac_cpp='$CXXCPP $CPPFLAGS'
61100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61103
61104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61105 /* end confdefs.h. */
61106 #include <math.h>
61107 int
61108 main ()
61109 {
61110 _hypotf(0, 0);
61111 ;
61112 return 0;
61113 }
61114 _ACEOF
61115 if ac_fn_cxx_try_compile "$LINENO"; then :
61116 glibcxx_cv_func__hypotf_use=yes
61117 else
61118 glibcxx_cv_func__hypotf_use=no
61119 fi
61120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61121 ac_ext=c
61122 ac_cpp='$CPP $CPPFLAGS'
61123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61126
61127
61128 fi
61129
61130 fi
61131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61132 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61133
61134 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61135 for ac_func in _hypotf
61136 do :
61137 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61138 if test "x$ac_cv_func__hypotf" = x""yes; then :
61139 cat >>confdefs.h <<_ACEOF
61140 #define HAVE__HYPOTF 1
61141 _ACEOF
61142
61143 fi
61144 done
61145
61146 fi
61147 fi
61148
61149
61150
61151
61152
61153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61154 $as_echo_n "checking for ldexpf declaration... " >&6; }
61155 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61156 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61157 $as_echo_n "(cached) " >&6
61158 else
61159
61160
61161 ac_ext=cpp
61162 ac_cpp='$CXXCPP $CPPFLAGS'
61163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61166
61167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61168 /* end confdefs.h. */
61169 #include <math.h>
61170 int
61171 main ()
61172 {
61173 ldexpf(0, 0);
61174 ;
61175 return 0;
61176 }
61177 _ACEOF
61178 if ac_fn_cxx_try_compile "$LINENO"; then :
61179 glibcxx_cv_func_ldexpf_use=yes
61180 else
61181 glibcxx_cv_func_ldexpf_use=no
61182 fi
61183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61184 ac_ext=c
61185 ac_cpp='$CPP $CPPFLAGS'
61186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61189
61190
61191 fi
61192
61193 fi
61194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61195 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61196
61197 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61198 for ac_func in ldexpf
61199 do :
61200 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61201 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61202 cat >>confdefs.h <<_ACEOF
61203 #define HAVE_LDEXPF 1
61204 _ACEOF
61205
61206 fi
61207 done
61208
61209 else
61210
61211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61212 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61213 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61214 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61215 $as_echo_n "(cached) " >&6
61216 else
61217
61218
61219 ac_ext=cpp
61220 ac_cpp='$CXXCPP $CPPFLAGS'
61221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61224
61225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61226 /* end confdefs.h. */
61227 #include <math.h>
61228 int
61229 main ()
61230 {
61231 _ldexpf(0, 0);
61232 ;
61233 return 0;
61234 }
61235 _ACEOF
61236 if ac_fn_cxx_try_compile "$LINENO"; then :
61237 glibcxx_cv_func__ldexpf_use=yes
61238 else
61239 glibcxx_cv_func__ldexpf_use=no
61240 fi
61241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61242 ac_ext=c
61243 ac_cpp='$CPP $CPPFLAGS'
61244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61247
61248
61249 fi
61250
61251 fi
61252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61253 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61254
61255 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61256 for ac_func in _ldexpf
61257 do :
61258 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61259 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61260 cat >>confdefs.h <<_ACEOF
61261 #define HAVE__LDEXPF 1
61262 _ACEOF
61263
61264 fi
61265 done
61266
61267 fi
61268 fi
61269
61270
61271
61272
61273
61274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61275 $as_echo_n "checking for logf declaration... " >&6; }
61276 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61277 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61278 $as_echo_n "(cached) " >&6
61279 else
61280
61281
61282 ac_ext=cpp
61283 ac_cpp='$CXXCPP $CPPFLAGS'
61284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61287
61288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61289 /* end confdefs.h. */
61290 #include <math.h>
61291 #ifdef HAVE_IEEEFP_H
61292 #include <ieeefp.h>
61293 #endif
61294
61295 int
61296 main ()
61297 {
61298 logf(0);
61299 ;
61300 return 0;
61301 }
61302 _ACEOF
61303 if ac_fn_cxx_try_compile "$LINENO"; then :
61304 glibcxx_cv_func_logf_use=yes
61305 else
61306 glibcxx_cv_func_logf_use=no
61307 fi
61308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61309 ac_ext=c
61310 ac_cpp='$CPP $CPPFLAGS'
61311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61314
61315
61316 fi
61317
61318 fi
61319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61320 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61321
61322 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61323 for ac_func in logf
61324 do :
61325 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61326 if test "x$ac_cv_func_logf" = x""yes; then :
61327 cat >>confdefs.h <<_ACEOF
61328 #define HAVE_LOGF 1
61329 _ACEOF
61330
61331 fi
61332 done
61333
61334 else
61335
61336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61337 $as_echo_n "checking for _logf declaration... " >&6; }
61338 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61339 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61340 $as_echo_n "(cached) " >&6
61341 else
61342
61343
61344 ac_ext=cpp
61345 ac_cpp='$CXXCPP $CPPFLAGS'
61346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61349
61350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61351 /* end confdefs.h. */
61352 #include <math.h>
61353 #ifdef HAVE_IEEEFP_H
61354 #include <ieeefp.h>
61355 #endif
61356
61357 int
61358 main ()
61359 {
61360 _logf(0);
61361 ;
61362 return 0;
61363 }
61364 _ACEOF
61365 if ac_fn_cxx_try_compile "$LINENO"; then :
61366 glibcxx_cv_func__logf_use=yes
61367 else
61368 glibcxx_cv_func__logf_use=no
61369 fi
61370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61371 ac_ext=c
61372 ac_cpp='$CPP $CPPFLAGS'
61373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61376
61377
61378 fi
61379
61380 fi
61381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61382 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61383
61384 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61385 for ac_func in _logf
61386 do :
61387 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61388 if test "x$ac_cv_func__logf" = x""yes; then :
61389 cat >>confdefs.h <<_ACEOF
61390 #define HAVE__LOGF 1
61391 _ACEOF
61392
61393 fi
61394 done
61395
61396 fi
61397 fi
61398
61399
61400
61401
61402
61403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61404 $as_echo_n "checking for log10f declaration... " >&6; }
61405 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61406 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61407 $as_echo_n "(cached) " >&6
61408 else
61409
61410
61411 ac_ext=cpp
61412 ac_cpp='$CXXCPP $CPPFLAGS'
61413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61416
61417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61418 /* end confdefs.h. */
61419 #include <math.h>
61420 #ifdef HAVE_IEEEFP_H
61421 #include <ieeefp.h>
61422 #endif
61423
61424 int
61425 main ()
61426 {
61427 log10f(0);
61428 ;
61429 return 0;
61430 }
61431 _ACEOF
61432 if ac_fn_cxx_try_compile "$LINENO"; then :
61433 glibcxx_cv_func_log10f_use=yes
61434 else
61435 glibcxx_cv_func_log10f_use=no
61436 fi
61437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61438 ac_ext=c
61439 ac_cpp='$CPP $CPPFLAGS'
61440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61443
61444
61445 fi
61446
61447 fi
61448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61449 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61450
61451 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61452 for ac_func in log10f
61453 do :
61454 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61455 if test "x$ac_cv_func_log10f" = x""yes; then :
61456 cat >>confdefs.h <<_ACEOF
61457 #define HAVE_LOG10F 1
61458 _ACEOF
61459
61460 fi
61461 done
61462
61463 else
61464
61465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61466 $as_echo_n "checking for _log10f declaration... " >&6; }
61467 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61468 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61469 $as_echo_n "(cached) " >&6
61470 else
61471
61472
61473 ac_ext=cpp
61474 ac_cpp='$CXXCPP $CPPFLAGS'
61475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61478
61479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61480 /* end confdefs.h. */
61481 #include <math.h>
61482 #ifdef HAVE_IEEEFP_H
61483 #include <ieeefp.h>
61484 #endif
61485
61486 int
61487 main ()
61488 {
61489 _log10f(0);
61490 ;
61491 return 0;
61492 }
61493 _ACEOF
61494 if ac_fn_cxx_try_compile "$LINENO"; then :
61495 glibcxx_cv_func__log10f_use=yes
61496 else
61497 glibcxx_cv_func__log10f_use=no
61498 fi
61499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61500 ac_ext=c
61501 ac_cpp='$CPP $CPPFLAGS'
61502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61505
61506
61507 fi
61508
61509 fi
61510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61511 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61512
61513 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61514 for ac_func in _log10f
61515 do :
61516 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61517 if test "x$ac_cv_func__log10f" = x""yes; then :
61518 cat >>confdefs.h <<_ACEOF
61519 #define HAVE__LOG10F 1
61520 _ACEOF
61521
61522 fi
61523 done
61524
61525 fi
61526 fi
61527
61528
61529
61530
61531
61532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61533 $as_echo_n "checking for modff declaration... " >&6; }
61534 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61535 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61536 $as_echo_n "(cached) " >&6
61537 else
61538
61539
61540 ac_ext=cpp
61541 ac_cpp='$CXXCPP $CPPFLAGS'
61542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61545
61546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61547 /* end confdefs.h. */
61548 #include <math.h>
61549 int
61550 main ()
61551 {
61552 modff(0, 0);
61553 ;
61554 return 0;
61555 }
61556 _ACEOF
61557 if ac_fn_cxx_try_compile "$LINENO"; then :
61558 glibcxx_cv_func_modff_use=yes
61559 else
61560 glibcxx_cv_func_modff_use=no
61561 fi
61562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61563 ac_ext=c
61564 ac_cpp='$CPP $CPPFLAGS'
61565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61568
61569
61570 fi
61571
61572 fi
61573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61574 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61575
61576 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61577 for ac_func in modff
61578 do :
61579 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61580 if test "x$ac_cv_func_modff" = x""yes; then :
61581 cat >>confdefs.h <<_ACEOF
61582 #define HAVE_MODFF 1
61583 _ACEOF
61584
61585 fi
61586 done
61587
61588 else
61589
61590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61591 $as_echo_n "checking for _modff declaration... " >&6; }
61592 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61593 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61594 $as_echo_n "(cached) " >&6
61595 else
61596
61597
61598 ac_ext=cpp
61599 ac_cpp='$CXXCPP $CPPFLAGS'
61600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61603
61604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61605 /* end confdefs.h. */
61606 #include <math.h>
61607 int
61608 main ()
61609 {
61610 _modff(0, 0);
61611 ;
61612 return 0;
61613 }
61614 _ACEOF
61615 if ac_fn_cxx_try_compile "$LINENO"; then :
61616 glibcxx_cv_func__modff_use=yes
61617 else
61618 glibcxx_cv_func__modff_use=no
61619 fi
61620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61621 ac_ext=c
61622 ac_cpp='$CPP $CPPFLAGS'
61623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61626
61627
61628 fi
61629
61630 fi
61631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61632 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61633
61634 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61635 for ac_func in _modff
61636 do :
61637 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61638 if test "x$ac_cv_func__modff" = x""yes; then :
61639 cat >>confdefs.h <<_ACEOF
61640 #define HAVE__MODFF 1
61641 _ACEOF
61642
61643 fi
61644 done
61645
61646 fi
61647 fi
61648
61649
61650
61651
61652
61653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61654 $as_echo_n "checking for modf declaration... " >&6; }
61655 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61656 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61657 $as_echo_n "(cached) " >&6
61658 else
61659
61660
61661 ac_ext=cpp
61662 ac_cpp='$CXXCPP $CPPFLAGS'
61663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61666
61667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61668 /* end confdefs.h. */
61669 #include <math.h>
61670 int
61671 main ()
61672 {
61673 modf(0, 0);
61674 ;
61675 return 0;
61676 }
61677 _ACEOF
61678 if ac_fn_cxx_try_compile "$LINENO"; then :
61679 glibcxx_cv_func_modf_use=yes
61680 else
61681 glibcxx_cv_func_modf_use=no
61682 fi
61683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61684 ac_ext=c
61685 ac_cpp='$CPP $CPPFLAGS'
61686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61689
61690
61691 fi
61692
61693 fi
61694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61695 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61696
61697 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61698 for ac_func in modf
61699 do :
61700 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61701 if test "x$ac_cv_func_modf" = x""yes; then :
61702 cat >>confdefs.h <<_ACEOF
61703 #define HAVE_MODF 1
61704 _ACEOF
61705
61706 fi
61707 done
61708
61709 else
61710
61711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61712 $as_echo_n "checking for _modf declaration... " >&6; }
61713 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61714 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61715 $as_echo_n "(cached) " >&6
61716 else
61717
61718
61719 ac_ext=cpp
61720 ac_cpp='$CXXCPP $CPPFLAGS'
61721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61724
61725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61726 /* end confdefs.h. */
61727 #include <math.h>
61728 int
61729 main ()
61730 {
61731 _modf(0, 0);
61732 ;
61733 return 0;
61734 }
61735 _ACEOF
61736 if ac_fn_cxx_try_compile "$LINENO"; then :
61737 glibcxx_cv_func__modf_use=yes
61738 else
61739 glibcxx_cv_func__modf_use=no
61740 fi
61741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61742 ac_ext=c
61743 ac_cpp='$CPP $CPPFLAGS'
61744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61747
61748
61749 fi
61750
61751 fi
61752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61753 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61754
61755 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61756 for ac_func in _modf
61757 do :
61758 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61759 if test "x$ac_cv_func__modf" = x""yes; then :
61760 cat >>confdefs.h <<_ACEOF
61761 #define HAVE__MODF 1
61762 _ACEOF
61763
61764 fi
61765 done
61766
61767 fi
61768 fi
61769
61770
61771
61772
61773
61774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61775 $as_echo_n "checking for powf declaration... " >&6; }
61776 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61777 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61778 $as_echo_n "(cached) " >&6
61779 else
61780
61781
61782 ac_ext=cpp
61783 ac_cpp='$CXXCPP $CPPFLAGS'
61784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61787
61788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61789 /* end confdefs.h. */
61790 #include <math.h>
61791 int
61792 main ()
61793 {
61794 powf(0, 0);
61795 ;
61796 return 0;
61797 }
61798 _ACEOF
61799 if ac_fn_cxx_try_compile "$LINENO"; then :
61800 glibcxx_cv_func_powf_use=yes
61801 else
61802 glibcxx_cv_func_powf_use=no
61803 fi
61804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61805 ac_ext=c
61806 ac_cpp='$CPP $CPPFLAGS'
61807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61810
61811
61812 fi
61813
61814 fi
61815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61816 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61817
61818 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61819 for ac_func in powf
61820 do :
61821 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61822 if test "x$ac_cv_func_powf" = x""yes; then :
61823 cat >>confdefs.h <<_ACEOF
61824 #define HAVE_POWF 1
61825 _ACEOF
61826
61827 fi
61828 done
61829
61830 else
61831
61832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61833 $as_echo_n "checking for _powf declaration... " >&6; }
61834 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61835 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61836 $as_echo_n "(cached) " >&6
61837 else
61838
61839
61840 ac_ext=cpp
61841 ac_cpp='$CXXCPP $CPPFLAGS'
61842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61845
61846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61847 /* end confdefs.h. */
61848 #include <math.h>
61849 int
61850 main ()
61851 {
61852 _powf(0, 0);
61853 ;
61854 return 0;
61855 }
61856 _ACEOF
61857 if ac_fn_cxx_try_compile "$LINENO"; then :
61858 glibcxx_cv_func__powf_use=yes
61859 else
61860 glibcxx_cv_func__powf_use=no
61861 fi
61862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61863 ac_ext=c
61864 ac_cpp='$CPP $CPPFLAGS'
61865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61868
61869
61870 fi
61871
61872 fi
61873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61874 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61875
61876 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61877 for ac_func in _powf
61878 do :
61879 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61880 if test "x$ac_cv_func__powf" = x""yes; then :
61881 cat >>confdefs.h <<_ACEOF
61882 #define HAVE__POWF 1
61883 _ACEOF
61884
61885 fi
61886 done
61887
61888 fi
61889 fi
61890
61891
61892
61893
61894
61895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61896 $as_echo_n "checking for sqrtf declaration... " >&6; }
61897 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61898 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61899 $as_echo_n "(cached) " >&6
61900 else
61901
61902
61903 ac_ext=cpp
61904 ac_cpp='$CXXCPP $CPPFLAGS'
61905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61908
61909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61910 /* end confdefs.h. */
61911 #include <math.h>
61912 #ifdef HAVE_IEEEFP_H
61913 #include <ieeefp.h>
61914 #endif
61915
61916 int
61917 main ()
61918 {
61919 sqrtf(0);
61920 ;
61921 return 0;
61922 }
61923 _ACEOF
61924 if ac_fn_cxx_try_compile "$LINENO"; then :
61925 glibcxx_cv_func_sqrtf_use=yes
61926 else
61927 glibcxx_cv_func_sqrtf_use=no
61928 fi
61929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61930 ac_ext=c
61931 ac_cpp='$CPP $CPPFLAGS'
61932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61935
61936
61937 fi
61938
61939 fi
61940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61941 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61942
61943 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61944 for ac_func in sqrtf
61945 do :
61946 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61947 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61948 cat >>confdefs.h <<_ACEOF
61949 #define HAVE_SQRTF 1
61950 _ACEOF
61951
61952 fi
61953 done
61954
61955 else
61956
61957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61958 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61959 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61960 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61961 $as_echo_n "(cached) " >&6
61962 else
61963
61964
61965 ac_ext=cpp
61966 ac_cpp='$CXXCPP $CPPFLAGS'
61967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61970
61971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61972 /* end confdefs.h. */
61973 #include <math.h>
61974 #ifdef HAVE_IEEEFP_H
61975 #include <ieeefp.h>
61976 #endif
61977
61978 int
61979 main ()
61980 {
61981 _sqrtf(0);
61982 ;
61983 return 0;
61984 }
61985 _ACEOF
61986 if ac_fn_cxx_try_compile "$LINENO"; then :
61987 glibcxx_cv_func__sqrtf_use=yes
61988 else
61989 glibcxx_cv_func__sqrtf_use=no
61990 fi
61991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61992 ac_ext=c
61993 ac_cpp='$CPP $CPPFLAGS'
61994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61997
61998
61999 fi
62000
62001 fi
62002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62003 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62004
62005 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62006 for ac_func in _sqrtf
62007 do :
62008 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62009 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62010 cat >>confdefs.h <<_ACEOF
62011 #define HAVE__SQRTF 1
62012 _ACEOF
62013
62014 fi
62015 done
62016
62017 fi
62018 fi
62019
62020
62021
62022
62023
62024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62025 $as_echo_n "checking for sincosf declaration... " >&6; }
62026 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62027 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62028 $as_echo_n "(cached) " >&6
62029 else
62030
62031
62032 ac_ext=cpp
62033 ac_cpp='$CXXCPP $CPPFLAGS'
62034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62037
62038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62039 /* end confdefs.h. */
62040 #include <math.h>
62041 int
62042 main ()
62043 {
62044 sincosf(0, 0, 0);
62045 ;
62046 return 0;
62047 }
62048 _ACEOF
62049 if ac_fn_cxx_try_compile "$LINENO"; then :
62050 glibcxx_cv_func_sincosf_use=yes
62051 else
62052 glibcxx_cv_func_sincosf_use=no
62053 fi
62054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62055 ac_ext=c
62056 ac_cpp='$CPP $CPPFLAGS'
62057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62060
62061
62062 fi
62063
62064 fi
62065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62066 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62067
62068 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62069 for ac_func in sincosf
62070 do :
62071 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62072 if test "x$ac_cv_func_sincosf" = x""yes; then :
62073 cat >>confdefs.h <<_ACEOF
62074 #define HAVE_SINCOSF 1
62075 _ACEOF
62076
62077 fi
62078 done
62079
62080 else
62081
62082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62083 $as_echo_n "checking for _sincosf declaration... " >&6; }
62084 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62085 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62086 $as_echo_n "(cached) " >&6
62087 else
62088
62089
62090 ac_ext=cpp
62091 ac_cpp='$CXXCPP $CPPFLAGS'
62092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62095
62096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62097 /* end confdefs.h. */
62098 #include <math.h>
62099 int
62100 main ()
62101 {
62102 _sincosf(0, 0, 0);
62103 ;
62104 return 0;
62105 }
62106 _ACEOF
62107 if ac_fn_cxx_try_compile "$LINENO"; then :
62108 glibcxx_cv_func__sincosf_use=yes
62109 else
62110 glibcxx_cv_func__sincosf_use=no
62111 fi
62112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62113 ac_ext=c
62114 ac_cpp='$CPP $CPPFLAGS'
62115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62118
62119
62120 fi
62121
62122 fi
62123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62124 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62125
62126 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62127 for ac_func in _sincosf
62128 do :
62129 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62130 if test "x$ac_cv_func__sincosf" = x""yes; then :
62131 cat >>confdefs.h <<_ACEOF
62132 #define HAVE__SINCOSF 1
62133 _ACEOF
62134
62135 fi
62136 done
62137
62138 fi
62139 fi
62140
62141
62142
62143
62144
62145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62146 $as_echo_n "checking for finitef declaration... " >&6; }
62147 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62148 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62149 $as_echo_n "(cached) " >&6
62150 else
62151
62152
62153 ac_ext=cpp
62154 ac_cpp='$CXXCPP $CPPFLAGS'
62155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62158
62159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62160 /* end confdefs.h. */
62161 #include <math.h>
62162 #ifdef HAVE_IEEEFP_H
62163 #include <ieeefp.h>
62164 #endif
62165
62166 int
62167 main ()
62168 {
62169 finitef(0);
62170 ;
62171 return 0;
62172 }
62173 _ACEOF
62174 if ac_fn_cxx_try_compile "$LINENO"; then :
62175 glibcxx_cv_func_finitef_use=yes
62176 else
62177 glibcxx_cv_func_finitef_use=no
62178 fi
62179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62180 ac_ext=c
62181 ac_cpp='$CPP $CPPFLAGS'
62182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62185
62186
62187 fi
62188
62189 fi
62190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62191 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62192
62193 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62194 for ac_func in finitef
62195 do :
62196 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62197 if test "x$ac_cv_func_finitef" = x""yes; then :
62198 cat >>confdefs.h <<_ACEOF
62199 #define HAVE_FINITEF 1
62200 _ACEOF
62201
62202 fi
62203 done
62204
62205 else
62206
62207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62208 $as_echo_n "checking for _finitef declaration... " >&6; }
62209 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62210 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62211 $as_echo_n "(cached) " >&6
62212 else
62213
62214
62215 ac_ext=cpp
62216 ac_cpp='$CXXCPP $CPPFLAGS'
62217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62220
62221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62222 /* end confdefs.h. */
62223 #include <math.h>
62224 #ifdef HAVE_IEEEFP_H
62225 #include <ieeefp.h>
62226 #endif
62227
62228 int
62229 main ()
62230 {
62231 _finitef(0);
62232 ;
62233 return 0;
62234 }
62235 _ACEOF
62236 if ac_fn_cxx_try_compile "$LINENO"; then :
62237 glibcxx_cv_func__finitef_use=yes
62238 else
62239 glibcxx_cv_func__finitef_use=no
62240 fi
62241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62242 ac_ext=c
62243 ac_cpp='$CPP $CPPFLAGS'
62244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62247
62248
62249 fi
62250
62251 fi
62252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62253 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62254
62255 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62256 for ac_func in _finitef
62257 do :
62258 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62259 if test "x$ac_cv_func__finitef" = x""yes; then :
62260 cat >>confdefs.h <<_ACEOF
62261 #define HAVE__FINITEF 1
62262 _ACEOF
62263
62264 fi
62265 done
62266
62267 fi
62268 fi
62269
62270
62271
62272
62273
62274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62275 $as_echo_n "checking for long double trig functions... " >&6; }
62276 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62277 $as_echo_n "(cached) " >&6
62278 else
62279
62280
62281 ac_ext=cpp
62282 ac_cpp='$CXXCPP $CPPFLAGS'
62283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62286
62287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62288 /* end confdefs.h. */
62289 #include <math.h>
62290 int
62291 main ()
62292 {
62293 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62294 ;
62295 return 0;
62296 }
62297 _ACEOF
62298 if ac_fn_cxx_try_compile "$LINENO"; then :
62299 glibcxx_cv_func_long_double_trig_use=yes
62300 else
62301 glibcxx_cv_func_long_double_trig_use=no
62302 fi
62303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62304 ac_ext=c
62305 ac_cpp='$CPP $CPPFLAGS'
62306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62309
62310 fi
62311
62312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62313 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62314 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62315 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62316 do :
62317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62319 eval as_val=\$$as_ac_var
62320 if test "x$as_val" = x""yes; then :
62321 cat >>confdefs.h <<_ACEOF
62322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62323 _ACEOF
62324
62325 fi
62326 done
62327
62328 else
62329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62330 $as_echo_n "checking for _long double trig functions... " >&6; }
62331 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62332 $as_echo_n "(cached) " >&6
62333 else
62334
62335
62336 ac_ext=cpp
62337 ac_cpp='$CXXCPP $CPPFLAGS'
62338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62341
62342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62343 /* end confdefs.h. */
62344 #include <math.h>
62345 int
62346 main ()
62347 {
62348 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62349 ;
62350 return 0;
62351 }
62352 _ACEOF
62353 if ac_fn_cxx_try_compile "$LINENO"; then :
62354 glibcxx_cv_func__long_double_trig_use=yes
62355 else
62356 glibcxx_cv_func__long_double_trig_use=no
62357 fi
62358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62359 ac_ext=c
62360 ac_cpp='$CPP $CPPFLAGS'
62361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62364
62365 fi
62366
62367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62368 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62369 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62370 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62371 do :
62372 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62373 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62374 eval as_val=\$$as_ac_var
62375 if test "x$as_val" = x""yes; then :
62376 cat >>confdefs.h <<_ACEOF
62377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62378 _ACEOF
62379
62380 fi
62381 done
62382
62383 fi
62384 fi
62385
62386
62387
62388
62389
62390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62391 $as_echo_n "checking for long double round functions... " >&6; }
62392 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62393 $as_echo_n "(cached) " >&6
62394 else
62395
62396
62397 ac_ext=cpp
62398 ac_cpp='$CXXCPP $CPPFLAGS'
62399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62402
62403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62404 /* end confdefs.h. */
62405 #include <math.h>
62406 int
62407 main ()
62408 {
62409 ceill (0); floorl (0);
62410 ;
62411 return 0;
62412 }
62413 _ACEOF
62414 if ac_fn_cxx_try_compile "$LINENO"; then :
62415 glibcxx_cv_func_long_double_round_use=yes
62416 else
62417 glibcxx_cv_func_long_double_round_use=no
62418 fi
62419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62420 ac_ext=c
62421 ac_cpp='$CPP $CPPFLAGS'
62422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62425
62426 fi
62427
62428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62429 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62430 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62431 for ac_func in ceill floorl
62432 do :
62433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62435 eval as_val=\$$as_ac_var
62436 if test "x$as_val" = x""yes; then :
62437 cat >>confdefs.h <<_ACEOF
62438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62439 _ACEOF
62440
62441 fi
62442 done
62443
62444 else
62445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62446 $as_echo_n "checking for _long double round functions... " >&6; }
62447 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62448 $as_echo_n "(cached) " >&6
62449 else
62450
62451
62452 ac_ext=cpp
62453 ac_cpp='$CXXCPP $CPPFLAGS'
62454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62457
62458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62459 /* end confdefs.h. */
62460 #include <math.h>
62461 int
62462 main ()
62463 {
62464 _ceill (0); _floorl (0);
62465 ;
62466 return 0;
62467 }
62468 _ACEOF
62469 if ac_fn_cxx_try_compile "$LINENO"; then :
62470 glibcxx_cv_func__long_double_round_use=yes
62471 else
62472 glibcxx_cv_func__long_double_round_use=no
62473 fi
62474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62475 ac_ext=c
62476 ac_cpp='$CPP $CPPFLAGS'
62477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62480
62481 fi
62482
62483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62484 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62485 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62486 for ac_func in _ceill _floorl
62487 do :
62488 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62489 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62490 eval as_val=\$$as_ac_var
62491 if test "x$as_val" = x""yes; then :
62492 cat >>confdefs.h <<_ACEOF
62493 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62494 _ACEOF
62495
62496 fi
62497 done
62498
62499 fi
62500 fi
62501
62502
62503
62504
62505
62506
62507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62508 $as_echo_n "checking for isnanl declaration... " >&6; }
62509 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62510 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62511 $as_echo_n "(cached) " >&6
62512 else
62513
62514
62515 ac_ext=cpp
62516 ac_cpp='$CXXCPP $CPPFLAGS'
62517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62520
62521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62522 /* end confdefs.h. */
62523 #include <math.h>
62524 #ifdef HAVE_IEEEFP_H
62525 #include <ieeefp.h>
62526 #endif
62527
62528 int
62529 main ()
62530 {
62531 isnanl(0);
62532 ;
62533 return 0;
62534 }
62535 _ACEOF
62536 if ac_fn_cxx_try_compile "$LINENO"; then :
62537 glibcxx_cv_func_isnanl_use=yes
62538 else
62539 glibcxx_cv_func_isnanl_use=no
62540 fi
62541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62542 ac_ext=c
62543 ac_cpp='$CPP $CPPFLAGS'
62544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62547
62548
62549 fi
62550
62551 fi
62552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62553 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62554
62555 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62556 for ac_func in isnanl
62557 do :
62558 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62559 if test "x$ac_cv_func_isnanl" = x""yes; then :
62560 cat >>confdefs.h <<_ACEOF
62561 #define HAVE_ISNANL 1
62562 _ACEOF
62563
62564 fi
62565 done
62566
62567 else
62568
62569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62570 $as_echo_n "checking for _isnanl declaration... " >&6; }
62571 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62572 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62573 $as_echo_n "(cached) " >&6
62574 else
62575
62576
62577 ac_ext=cpp
62578 ac_cpp='$CXXCPP $CPPFLAGS'
62579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62582
62583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62584 /* end confdefs.h. */
62585 #include <math.h>
62586 #ifdef HAVE_IEEEFP_H
62587 #include <ieeefp.h>
62588 #endif
62589
62590 int
62591 main ()
62592 {
62593 _isnanl(0);
62594 ;
62595 return 0;
62596 }
62597 _ACEOF
62598 if ac_fn_cxx_try_compile "$LINENO"; then :
62599 glibcxx_cv_func__isnanl_use=yes
62600 else
62601 glibcxx_cv_func__isnanl_use=no
62602 fi
62603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62604 ac_ext=c
62605 ac_cpp='$CPP $CPPFLAGS'
62606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62609
62610
62611 fi
62612
62613 fi
62614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62615 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62616
62617 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62618 for ac_func in _isnanl
62619 do :
62620 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62621 if test "x$ac_cv_func__isnanl" = x""yes; then :
62622 cat >>confdefs.h <<_ACEOF
62623 #define HAVE__ISNANL 1
62624 _ACEOF
62625
62626 fi
62627 done
62628
62629 fi
62630 fi
62631
62632
62633
62634
62635
62636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62637 $as_echo_n "checking for isinfl declaration... " >&6; }
62638 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62639 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62640 $as_echo_n "(cached) " >&6
62641 else
62642
62643
62644 ac_ext=cpp
62645 ac_cpp='$CXXCPP $CPPFLAGS'
62646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62649
62650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62651 /* end confdefs.h. */
62652 #include <math.h>
62653 #ifdef HAVE_IEEEFP_H
62654 #include <ieeefp.h>
62655 #endif
62656
62657 int
62658 main ()
62659 {
62660 isinfl(0);
62661 ;
62662 return 0;
62663 }
62664 _ACEOF
62665 if ac_fn_cxx_try_compile "$LINENO"; then :
62666 glibcxx_cv_func_isinfl_use=yes
62667 else
62668 glibcxx_cv_func_isinfl_use=no
62669 fi
62670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62671 ac_ext=c
62672 ac_cpp='$CPP $CPPFLAGS'
62673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62676
62677
62678 fi
62679
62680 fi
62681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62682 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62683
62684 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62685 for ac_func in isinfl
62686 do :
62687 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62688 if test "x$ac_cv_func_isinfl" = x""yes; then :
62689 cat >>confdefs.h <<_ACEOF
62690 #define HAVE_ISINFL 1
62691 _ACEOF
62692
62693 fi
62694 done
62695
62696 else
62697
62698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62699 $as_echo_n "checking for _isinfl declaration... " >&6; }
62700 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62701 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62702 $as_echo_n "(cached) " >&6
62703 else
62704
62705
62706 ac_ext=cpp
62707 ac_cpp='$CXXCPP $CPPFLAGS'
62708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62711
62712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62713 /* end confdefs.h. */
62714 #include <math.h>
62715 #ifdef HAVE_IEEEFP_H
62716 #include <ieeefp.h>
62717 #endif
62718
62719 int
62720 main ()
62721 {
62722 _isinfl(0);
62723 ;
62724 return 0;
62725 }
62726 _ACEOF
62727 if ac_fn_cxx_try_compile "$LINENO"; then :
62728 glibcxx_cv_func__isinfl_use=yes
62729 else
62730 glibcxx_cv_func__isinfl_use=no
62731 fi
62732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62733 ac_ext=c
62734 ac_cpp='$CPP $CPPFLAGS'
62735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62738
62739
62740 fi
62741
62742 fi
62743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62744 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62745
62746 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62747 for ac_func in _isinfl
62748 do :
62749 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62750 if test "x$ac_cv_func__isinfl" = x""yes; then :
62751 cat >>confdefs.h <<_ACEOF
62752 #define HAVE__ISINFL 1
62753 _ACEOF
62754
62755 fi
62756 done
62757
62758 fi
62759 fi
62760
62761
62762
62763
62764
62765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62766 $as_echo_n "checking for atan2l declaration... " >&6; }
62767 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62768 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62769 $as_echo_n "(cached) " >&6
62770 else
62771
62772
62773 ac_ext=cpp
62774 ac_cpp='$CXXCPP $CPPFLAGS'
62775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62778
62779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62780 /* end confdefs.h. */
62781 #include <math.h>
62782 int
62783 main ()
62784 {
62785 atan2l(0, 0);
62786 ;
62787 return 0;
62788 }
62789 _ACEOF
62790 if ac_fn_cxx_try_compile "$LINENO"; then :
62791 glibcxx_cv_func_atan2l_use=yes
62792 else
62793 glibcxx_cv_func_atan2l_use=no
62794 fi
62795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62796 ac_ext=c
62797 ac_cpp='$CPP $CPPFLAGS'
62798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62801
62802
62803 fi
62804
62805 fi
62806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62807 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62808
62809 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62810 for ac_func in atan2l
62811 do :
62812 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62813 if test "x$ac_cv_func_atan2l" = x""yes; then :
62814 cat >>confdefs.h <<_ACEOF
62815 #define HAVE_ATAN2L 1
62816 _ACEOF
62817
62818 fi
62819 done
62820
62821 else
62822
62823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62824 $as_echo_n "checking for _atan2l declaration... " >&6; }
62825 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62826 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62827 $as_echo_n "(cached) " >&6
62828 else
62829
62830
62831 ac_ext=cpp
62832 ac_cpp='$CXXCPP $CPPFLAGS'
62833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62836
62837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62838 /* end confdefs.h. */
62839 #include <math.h>
62840 int
62841 main ()
62842 {
62843 _atan2l(0, 0);
62844 ;
62845 return 0;
62846 }
62847 _ACEOF
62848 if ac_fn_cxx_try_compile "$LINENO"; then :
62849 glibcxx_cv_func__atan2l_use=yes
62850 else
62851 glibcxx_cv_func__atan2l_use=no
62852 fi
62853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62854 ac_ext=c
62855 ac_cpp='$CPP $CPPFLAGS'
62856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62859
62860
62861 fi
62862
62863 fi
62864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62865 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62866
62867 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62868 for ac_func in _atan2l
62869 do :
62870 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62871 if test "x$ac_cv_func__atan2l" = x""yes; then :
62872 cat >>confdefs.h <<_ACEOF
62873 #define HAVE__ATAN2L 1
62874 _ACEOF
62875
62876 fi
62877 done
62878
62879 fi
62880 fi
62881
62882
62883
62884
62885
62886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62887 $as_echo_n "checking for expl declaration... " >&6; }
62888 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62889 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62890 $as_echo_n "(cached) " >&6
62891 else
62892
62893
62894 ac_ext=cpp
62895 ac_cpp='$CXXCPP $CPPFLAGS'
62896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62899
62900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62901 /* end confdefs.h. */
62902 #include <math.h>
62903 #ifdef HAVE_IEEEFP_H
62904 #include <ieeefp.h>
62905 #endif
62906
62907 int
62908 main ()
62909 {
62910 expl(0);
62911 ;
62912 return 0;
62913 }
62914 _ACEOF
62915 if ac_fn_cxx_try_compile "$LINENO"; then :
62916 glibcxx_cv_func_expl_use=yes
62917 else
62918 glibcxx_cv_func_expl_use=no
62919 fi
62920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62921 ac_ext=c
62922 ac_cpp='$CPP $CPPFLAGS'
62923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62926
62927
62928 fi
62929
62930 fi
62931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62932 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62933
62934 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62935 for ac_func in expl
62936 do :
62937 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62938 if test "x$ac_cv_func_expl" = x""yes; then :
62939 cat >>confdefs.h <<_ACEOF
62940 #define HAVE_EXPL 1
62941 _ACEOF
62942
62943 fi
62944 done
62945
62946 else
62947
62948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62949 $as_echo_n "checking for _expl declaration... " >&6; }
62950 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62951 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62952 $as_echo_n "(cached) " >&6
62953 else
62954
62955
62956 ac_ext=cpp
62957 ac_cpp='$CXXCPP $CPPFLAGS'
62958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62961
62962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62963 /* end confdefs.h. */
62964 #include <math.h>
62965 #ifdef HAVE_IEEEFP_H
62966 #include <ieeefp.h>
62967 #endif
62968
62969 int
62970 main ()
62971 {
62972 _expl(0);
62973 ;
62974 return 0;
62975 }
62976 _ACEOF
62977 if ac_fn_cxx_try_compile "$LINENO"; then :
62978 glibcxx_cv_func__expl_use=yes
62979 else
62980 glibcxx_cv_func__expl_use=no
62981 fi
62982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62983 ac_ext=c
62984 ac_cpp='$CPP $CPPFLAGS'
62985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62988
62989
62990 fi
62991
62992 fi
62993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62994 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62995
62996 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62997 for ac_func in _expl
62998 do :
62999 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63000 if test "x$ac_cv_func__expl" = x""yes; then :
63001 cat >>confdefs.h <<_ACEOF
63002 #define HAVE__EXPL 1
63003 _ACEOF
63004
63005 fi
63006 done
63007
63008 fi
63009 fi
63010
63011
63012
63013
63014
63015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63016 $as_echo_n "checking for fabsl declaration... " >&6; }
63017 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63018 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63019 $as_echo_n "(cached) " >&6
63020 else
63021
63022
63023 ac_ext=cpp
63024 ac_cpp='$CXXCPP $CPPFLAGS'
63025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63028
63029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63030 /* end confdefs.h. */
63031 #include <math.h>
63032 #ifdef HAVE_IEEEFP_H
63033 #include <ieeefp.h>
63034 #endif
63035
63036 int
63037 main ()
63038 {
63039 fabsl(0);
63040 ;
63041 return 0;
63042 }
63043 _ACEOF
63044 if ac_fn_cxx_try_compile "$LINENO"; then :
63045 glibcxx_cv_func_fabsl_use=yes
63046 else
63047 glibcxx_cv_func_fabsl_use=no
63048 fi
63049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63050 ac_ext=c
63051 ac_cpp='$CPP $CPPFLAGS'
63052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63055
63056
63057 fi
63058
63059 fi
63060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63061 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63062
63063 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63064 for ac_func in fabsl
63065 do :
63066 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63067 if test "x$ac_cv_func_fabsl" = x""yes; then :
63068 cat >>confdefs.h <<_ACEOF
63069 #define HAVE_FABSL 1
63070 _ACEOF
63071
63072 fi
63073 done
63074
63075 else
63076
63077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63078 $as_echo_n "checking for _fabsl declaration... " >&6; }
63079 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63080 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63081 $as_echo_n "(cached) " >&6
63082 else
63083
63084
63085 ac_ext=cpp
63086 ac_cpp='$CXXCPP $CPPFLAGS'
63087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63090
63091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63092 /* end confdefs.h. */
63093 #include <math.h>
63094 #ifdef HAVE_IEEEFP_H
63095 #include <ieeefp.h>
63096 #endif
63097
63098 int
63099 main ()
63100 {
63101 _fabsl(0);
63102 ;
63103 return 0;
63104 }
63105 _ACEOF
63106 if ac_fn_cxx_try_compile "$LINENO"; then :
63107 glibcxx_cv_func__fabsl_use=yes
63108 else
63109 glibcxx_cv_func__fabsl_use=no
63110 fi
63111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63112 ac_ext=c
63113 ac_cpp='$CPP $CPPFLAGS'
63114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63117
63118
63119 fi
63120
63121 fi
63122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63123 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63124
63125 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63126 for ac_func in _fabsl
63127 do :
63128 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63129 if test "x$ac_cv_func__fabsl" = x""yes; then :
63130 cat >>confdefs.h <<_ACEOF
63131 #define HAVE__FABSL 1
63132 _ACEOF
63133
63134 fi
63135 done
63136
63137 fi
63138 fi
63139
63140
63141
63142
63143
63144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63145 $as_echo_n "checking for fmodl declaration... " >&6; }
63146 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63147 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63148 $as_echo_n "(cached) " >&6
63149 else
63150
63151
63152 ac_ext=cpp
63153 ac_cpp='$CXXCPP $CPPFLAGS'
63154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63157
63158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63159 /* end confdefs.h. */
63160 #include <math.h>
63161 int
63162 main ()
63163 {
63164 fmodl(0, 0);
63165 ;
63166 return 0;
63167 }
63168 _ACEOF
63169 if ac_fn_cxx_try_compile "$LINENO"; then :
63170 glibcxx_cv_func_fmodl_use=yes
63171 else
63172 glibcxx_cv_func_fmodl_use=no
63173 fi
63174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63175 ac_ext=c
63176 ac_cpp='$CPP $CPPFLAGS'
63177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63180
63181
63182 fi
63183
63184 fi
63185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63186 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63187
63188 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63189 for ac_func in fmodl
63190 do :
63191 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63192 if test "x$ac_cv_func_fmodl" = x""yes; then :
63193 cat >>confdefs.h <<_ACEOF
63194 #define HAVE_FMODL 1
63195 _ACEOF
63196
63197 fi
63198 done
63199
63200 else
63201
63202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63203 $as_echo_n "checking for _fmodl declaration... " >&6; }
63204 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63205 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63206 $as_echo_n "(cached) " >&6
63207 else
63208
63209
63210 ac_ext=cpp
63211 ac_cpp='$CXXCPP $CPPFLAGS'
63212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63215
63216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63217 /* end confdefs.h. */
63218 #include <math.h>
63219 int
63220 main ()
63221 {
63222 _fmodl(0, 0);
63223 ;
63224 return 0;
63225 }
63226 _ACEOF
63227 if ac_fn_cxx_try_compile "$LINENO"; then :
63228 glibcxx_cv_func__fmodl_use=yes
63229 else
63230 glibcxx_cv_func__fmodl_use=no
63231 fi
63232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63233 ac_ext=c
63234 ac_cpp='$CPP $CPPFLAGS'
63235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63238
63239
63240 fi
63241
63242 fi
63243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63244 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63245
63246 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63247 for ac_func in _fmodl
63248 do :
63249 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63250 if test "x$ac_cv_func__fmodl" = x""yes; then :
63251 cat >>confdefs.h <<_ACEOF
63252 #define HAVE__FMODL 1
63253 _ACEOF
63254
63255 fi
63256 done
63257
63258 fi
63259 fi
63260
63261
63262
63263
63264
63265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63266 $as_echo_n "checking for frexpl declaration... " >&6; }
63267 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63268 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63269 $as_echo_n "(cached) " >&6
63270 else
63271
63272
63273 ac_ext=cpp
63274 ac_cpp='$CXXCPP $CPPFLAGS'
63275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63278
63279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63280 /* end confdefs.h. */
63281 #include <math.h>
63282 int
63283 main ()
63284 {
63285 frexpl(0, 0);
63286 ;
63287 return 0;
63288 }
63289 _ACEOF
63290 if ac_fn_cxx_try_compile "$LINENO"; then :
63291 glibcxx_cv_func_frexpl_use=yes
63292 else
63293 glibcxx_cv_func_frexpl_use=no
63294 fi
63295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63296 ac_ext=c
63297 ac_cpp='$CPP $CPPFLAGS'
63298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63301
63302
63303 fi
63304
63305 fi
63306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63307 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63308
63309 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63310 for ac_func in frexpl
63311 do :
63312 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63313 if test "x$ac_cv_func_frexpl" = x""yes; then :
63314 cat >>confdefs.h <<_ACEOF
63315 #define HAVE_FREXPL 1
63316 _ACEOF
63317
63318 fi
63319 done
63320
63321 else
63322
63323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63324 $as_echo_n "checking for _frexpl declaration... " >&6; }
63325 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63326 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63327 $as_echo_n "(cached) " >&6
63328 else
63329
63330
63331 ac_ext=cpp
63332 ac_cpp='$CXXCPP $CPPFLAGS'
63333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63336
63337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63338 /* end confdefs.h. */
63339 #include <math.h>
63340 int
63341 main ()
63342 {
63343 _frexpl(0, 0);
63344 ;
63345 return 0;
63346 }
63347 _ACEOF
63348 if ac_fn_cxx_try_compile "$LINENO"; then :
63349 glibcxx_cv_func__frexpl_use=yes
63350 else
63351 glibcxx_cv_func__frexpl_use=no
63352 fi
63353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63354 ac_ext=c
63355 ac_cpp='$CPP $CPPFLAGS'
63356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63359
63360
63361 fi
63362
63363 fi
63364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63365 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63366
63367 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63368 for ac_func in _frexpl
63369 do :
63370 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63371 if test "x$ac_cv_func__frexpl" = x""yes; then :
63372 cat >>confdefs.h <<_ACEOF
63373 #define HAVE__FREXPL 1
63374 _ACEOF
63375
63376 fi
63377 done
63378
63379 fi
63380 fi
63381
63382
63383
63384
63385
63386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63387 $as_echo_n "checking for hypotl declaration... " >&6; }
63388 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63389 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63390 $as_echo_n "(cached) " >&6
63391 else
63392
63393
63394 ac_ext=cpp
63395 ac_cpp='$CXXCPP $CPPFLAGS'
63396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63399
63400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63401 /* end confdefs.h. */
63402 #include <math.h>
63403 int
63404 main ()
63405 {
63406 hypotl(0, 0);
63407 ;
63408 return 0;
63409 }
63410 _ACEOF
63411 if ac_fn_cxx_try_compile "$LINENO"; then :
63412 glibcxx_cv_func_hypotl_use=yes
63413 else
63414 glibcxx_cv_func_hypotl_use=no
63415 fi
63416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63417 ac_ext=c
63418 ac_cpp='$CPP $CPPFLAGS'
63419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63422
63423
63424 fi
63425
63426 fi
63427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63428 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63429
63430 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63431 for ac_func in hypotl
63432 do :
63433 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63434 if test "x$ac_cv_func_hypotl" = x""yes; then :
63435 cat >>confdefs.h <<_ACEOF
63436 #define HAVE_HYPOTL 1
63437 _ACEOF
63438
63439 fi
63440 done
63441
63442 else
63443
63444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63445 $as_echo_n "checking for _hypotl declaration... " >&6; }
63446 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63447 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63448 $as_echo_n "(cached) " >&6
63449 else
63450
63451
63452 ac_ext=cpp
63453 ac_cpp='$CXXCPP $CPPFLAGS'
63454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63457
63458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63459 /* end confdefs.h. */
63460 #include <math.h>
63461 int
63462 main ()
63463 {
63464 _hypotl(0, 0);
63465 ;
63466 return 0;
63467 }
63468 _ACEOF
63469 if ac_fn_cxx_try_compile "$LINENO"; then :
63470 glibcxx_cv_func__hypotl_use=yes
63471 else
63472 glibcxx_cv_func__hypotl_use=no
63473 fi
63474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63475 ac_ext=c
63476 ac_cpp='$CPP $CPPFLAGS'
63477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63480
63481
63482 fi
63483
63484 fi
63485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63486 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63487
63488 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63489 for ac_func in _hypotl
63490 do :
63491 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63492 if test "x$ac_cv_func__hypotl" = x""yes; then :
63493 cat >>confdefs.h <<_ACEOF
63494 #define HAVE__HYPOTL 1
63495 _ACEOF
63496
63497 fi
63498 done
63499
63500 fi
63501 fi
63502
63503
63504
63505
63506
63507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63508 $as_echo_n "checking for ldexpl declaration... " >&6; }
63509 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63510 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63511 $as_echo_n "(cached) " >&6
63512 else
63513
63514
63515 ac_ext=cpp
63516 ac_cpp='$CXXCPP $CPPFLAGS'
63517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63520
63521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63522 /* end confdefs.h. */
63523 #include <math.h>
63524 int
63525 main ()
63526 {
63527 ldexpl(0, 0);
63528 ;
63529 return 0;
63530 }
63531 _ACEOF
63532 if ac_fn_cxx_try_compile "$LINENO"; then :
63533 glibcxx_cv_func_ldexpl_use=yes
63534 else
63535 glibcxx_cv_func_ldexpl_use=no
63536 fi
63537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63538 ac_ext=c
63539 ac_cpp='$CPP $CPPFLAGS'
63540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63543
63544
63545 fi
63546
63547 fi
63548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63549 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63550
63551 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63552 for ac_func in ldexpl
63553 do :
63554 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63555 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63556 cat >>confdefs.h <<_ACEOF
63557 #define HAVE_LDEXPL 1
63558 _ACEOF
63559
63560 fi
63561 done
63562
63563 else
63564
63565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63566 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63567 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63568 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63569 $as_echo_n "(cached) " >&6
63570 else
63571
63572
63573 ac_ext=cpp
63574 ac_cpp='$CXXCPP $CPPFLAGS'
63575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63578
63579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63580 /* end confdefs.h. */
63581 #include <math.h>
63582 int
63583 main ()
63584 {
63585 _ldexpl(0, 0);
63586 ;
63587 return 0;
63588 }
63589 _ACEOF
63590 if ac_fn_cxx_try_compile "$LINENO"; then :
63591 glibcxx_cv_func__ldexpl_use=yes
63592 else
63593 glibcxx_cv_func__ldexpl_use=no
63594 fi
63595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63596 ac_ext=c
63597 ac_cpp='$CPP $CPPFLAGS'
63598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63601
63602
63603 fi
63604
63605 fi
63606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63607 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63608
63609 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63610 for ac_func in _ldexpl
63611 do :
63612 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63613 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63614 cat >>confdefs.h <<_ACEOF
63615 #define HAVE__LDEXPL 1
63616 _ACEOF
63617
63618 fi
63619 done
63620
63621 fi
63622 fi
63623
63624
63625
63626
63627
63628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63629 $as_echo_n "checking for logl declaration... " >&6; }
63630 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63631 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63632 $as_echo_n "(cached) " >&6
63633 else
63634
63635
63636 ac_ext=cpp
63637 ac_cpp='$CXXCPP $CPPFLAGS'
63638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63641
63642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63643 /* end confdefs.h. */
63644 #include <math.h>
63645 #ifdef HAVE_IEEEFP_H
63646 #include <ieeefp.h>
63647 #endif
63648
63649 int
63650 main ()
63651 {
63652 logl(0);
63653 ;
63654 return 0;
63655 }
63656 _ACEOF
63657 if ac_fn_cxx_try_compile "$LINENO"; then :
63658 glibcxx_cv_func_logl_use=yes
63659 else
63660 glibcxx_cv_func_logl_use=no
63661 fi
63662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63663 ac_ext=c
63664 ac_cpp='$CPP $CPPFLAGS'
63665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63668
63669
63670 fi
63671
63672 fi
63673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63674 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63675
63676 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63677 for ac_func in logl
63678 do :
63679 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63680 if test "x$ac_cv_func_logl" = x""yes; then :
63681 cat >>confdefs.h <<_ACEOF
63682 #define HAVE_LOGL 1
63683 _ACEOF
63684
63685 fi
63686 done
63687
63688 else
63689
63690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63691 $as_echo_n "checking for _logl declaration... " >&6; }
63692 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63693 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63694 $as_echo_n "(cached) " >&6
63695 else
63696
63697
63698 ac_ext=cpp
63699 ac_cpp='$CXXCPP $CPPFLAGS'
63700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63703
63704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63705 /* end confdefs.h. */
63706 #include <math.h>
63707 #ifdef HAVE_IEEEFP_H
63708 #include <ieeefp.h>
63709 #endif
63710
63711 int
63712 main ()
63713 {
63714 _logl(0);
63715 ;
63716 return 0;
63717 }
63718 _ACEOF
63719 if ac_fn_cxx_try_compile "$LINENO"; then :
63720 glibcxx_cv_func__logl_use=yes
63721 else
63722 glibcxx_cv_func__logl_use=no
63723 fi
63724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63725 ac_ext=c
63726 ac_cpp='$CPP $CPPFLAGS'
63727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63730
63731
63732 fi
63733
63734 fi
63735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63736 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63737
63738 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63739 for ac_func in _logl
63740 do :
63741 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63742 if test "x$ac_cv_func__logl" = x""yes; then :
63743 cat >>confdefs.h <<_ACEOF
63744 #define HAVE__LOGL 1
63745 _ACEOF
63746
63747 fi
63748 done
63749
63750 fi
63751 fi
63752
63753
63754
63755
63756
63757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63758 $as_echo_n "checking for log10l declaration... " >&6; }
63759 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63760 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63761 $as_echo_n "(cached) " >&6
63762 else
63763
63764
63765 ac_ext=cpp
63766 ac_cpp='$CXXCPP $CPPFLAGS'
63767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63770
63771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63772 /* end confdefs.h. */
63773 #include <math.h>
63774 #ifdef HAVE_IEEEFP_H
63775 #include <ieeefp.h>
63776 #endif
63777
63778 int
63779 main ()
63780 {
63781 log10l(0);
63782 ;
63783 return 0;
63784 }
63785 _ACEOF
63786 if ac_fn_cxx_try_compile "$LINENO"; then :
63787 glibcxx_cv_func_log10l_use=yes
63788 else
63789 glibcxx_cv_func_log10l_use=no
63790 fi
63791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63792 ac_ext=c
63793 ac_cpp='$CPP $CPPFLAGS'
63794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63797
63798
63799 fi
63800
63801 fi
63802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63803 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63804
63805 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63806 for ac_func in log10l
63807 do :
63808 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63809 if test "x$ac_cv_func_log10l" = x""yes; then :
63810 cat >>confdefs.h <<_ACEOF
63811 #define HAVE_LOG10L 1
63812 _ACEOF
63813
63814 fi
63815 done
63816
63817 else
63818
63819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63820 $as_echo_n "checking for _log10l declaration... " >&6; }
63821 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63822 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63823 $as_echo_n "(cached) " >&6
63824 else
63825
63826
63827 ac_ext=cpp
63828 ac_cpp='$CXXCPP $CPPFLAGS'
63829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63832
63833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63834 /* end confdefs.h. */
63835 #include <math.h>
63836 #ifdef HAVE_IEEEFP_H
63837 #include <ieeefp.h>
63838 #endif
63839
63840 int
63841 main ()
63842 {
63843 _log10l(0);
63844 ;
63845 return 0;
63846 }
63847 _ACEOF
63848 if ac_fn_cxx_try_compile "$LINENO"; then :
63849 glibcxx_cv_func__log10l_use=yes
63850 else
63851 glibcxx_cv_func__log10l_use=no
63852 fi
63853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63854 ac_ext=c
63855 ac_cpp='$CPP $CPPFLAGS'
63856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63859
63860
63861 fi
63862
63863 fi
63864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63865 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63866
63867 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63868 for ac_func in _log10l
63869 do :
63870 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63871 if test "x$ac_cv_func__log10l" = x""yes; then :
63872 cat >>confdefs.h <<_ACEOF
63873 #define HAVE__LOG10L 1
63874 _ACEOF
63875
63876 fi
63877 done
63878
63879 fi
63880 fi
63881
63882
63883
63884
63885
63886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63887 $as_echo_n "checking for modfl declaration... " >&6; }
63888 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63889 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63890 $as_echo_n "(cached) " >&6
63891 else
63892
63893
63894 ac_ext=cpp
63895 ac_cpp='$CXXCPP $CPPFLAGS'
63896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63899
63900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63901 /* end confdefs.h. */
63902 #include <math.h>
63903 int
63904 main ()
63905 {
63906 modfl(0, 0);
63907 ;
63908 return 0;
63909 }
63910 _ACEOF
63911 if ac_fn_cxx_try_compile "$LINENO"; then :
63912 glibcxx_cv_func_modfl_use=yes
63913 else
63914 glibcxx_cv_func_modfl_use=no
63915 fi
63916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63917 ac_ext=c
63918 ac_cpp='$CPP $CPPFLAGS'
63919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63922
63923
63924 fi
63925
63926 fi
63927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63928 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63929
63930 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63931 for ac_func in modfl
63932 do :
63933 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63934 if test "x$ac_cv_func_modfl" = x""yes; then :
63935 cat >>confdefs.h <<_ACEOF
63936 #define HAVE_MODFL 1
63937 _ACEOF
63938
63939 fi
63940 done
63941
63942 else
63943
63944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63945 $as_echo_n "checking for _modfl declaration... " >&6; }
63946 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63947 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63948 $as_echo_n "(cached) " >&6
63949 else
63950
63951
63952 ac_ext=cpp
63953 ac_cpp='$CXXCPP $CPPFLAGS'
63954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63957
63958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63959 /* end confdefs.h. */
63960 #include <math.h>
63961 int
63962 main ()
63963 {
63964 _modfl(0, 0);
63965 ;
63966 return 0;
63967 }
63968 _ACEOF
63969 if ac_fn_cxx_try_compile "$LINENO"; then :
63970 glibcxx_cv_func__modfl_use=yes
63971 else
63972 glibcxx_cv_func__modfl_use=no
63973 fi
63974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63975 ac_ext=c
63976 ac_cpp='$CPP $CPPFLAGS'
63977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63980
63981
63982 fi
63983
63984 fi
63985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63986 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63987
63988 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63989 for ac_func in _modfl
63990 do :
63991 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63992 if test "x$ac_cv_func__modfl" = x""yes; then :
63993 cat >>confdefs.h <<_ACEOF
63994 #define HAVE__MODFL 1
63995 _ACEOF
63996
63997 fi
63998 done
63999
64000 fi
64001 fi
64002
64003
64004
64005
64006
64007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64008 $as_echo_n "checking for powl declaration... " >&6; }
64009 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64010 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64011 $as_echo_n "(cached) " >&6
64012 else
64013
64014
64015 ac_ext=cpp
64016 ac_cpp='$CXXCPP $CPPFLAGS'
64017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64020
64021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64022 /* end confdefs.h. */
64023 #include <math.h>
64024 int
64025 main ()
64026 {
64027 powl(0, 0);
64028 ;
64029 return 0;
64030 }
64031 _ACEOF
64032 if ac_fn_cxx_try_compile "$LINENO"; then :
64033 glibcxx_cv_func_powl_use=yes
64034 else
64035 glibcxx_cv_func_powl_use=no
64036 fi
64037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64038 ac_ext=c
64039 ac_cpp='$CPP $CPPFLAGS'
64040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64043
64044
64045 fi
64046
64047 fi
64048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64049 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64050
64051 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64052 for ac_func in powl
64053 do :
64054 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64055 if test "x$ac_cv_func_powl" = x""yes; then :
64056 cat >>confdefs.h <<_ACEOF
64057 #define HAVE_POWL 1
64058 _ACEOF
64059
64060 fi
64061 done
64062
64063 else
64064
64065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64066 $as_echo_n "checking for _powl declaration... " >&6; }
64067 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64068 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64069 $as_echo_n "(cached) " >&6
64070 else
64071
64072
64073 ac_ext=cpp
64074 ac_cpp='$CXXCPP $CPPFLAGS'
64075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64078
64079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64080 /* end confdefs.h. */
64081 #include <math.h>
64082 int
64083 main ()
64084 {
64085 _powl(0, 0);
64086 ;
64087 return 0;
64088 }
64089 _ACEOF
64090 if ac_fn_cxx_try_compile "$LINENO"; then :
64091 glibcxx_cv_func__powl_use=yes
64092 else
64093 glibcxx_cv_func__powl_use=no
64094 fi
64095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64096 ac_ext=c
64097 ac_cpp='$CPP $CPPFLAGS'
64098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64101
64102
64103 fi
64104
64105 fi
64106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64107 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64108
64109 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64110 for ac_func in _powl
64111 do :
64112 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64113 if test "x$ac_cv_func__powl" = x""yes; then :
64114 cat >>confdefs.h <<_ACEOF
64115 #define HAVE__POWL 1
64116 _ACEOF
64117
64118 fi
64119 done
64120
64121 fi
64122 fi
64123
64124
64125
64126
64127
64128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64129 $as_echo_n "checking for sqrtl declaration... " >&6; }
64130 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64131 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64132 $as_echo_n "(cached) " >&6
64133 else
64134
64135
64136 ac_ext=cpp
64137 ac_cpp='$CXXCPP $CPPFLAGS'
64138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64141
64142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64143 /* end confdefs.h. */
64144 #include <math.h>
64145 #ifdef HAVE_IEEEFP_H
64146 #include <ieeefp.h>
64147 #endif
64148
64149 int
64150 main ()
64151 {
64152 sqrtl(0);
64153 ;
64154 return 0;
64155 }
64156 _ACEOF
64157 if ac_fn_cxx_try_compile "$LINENO"; then :
64158 glibcxx_cv_func_sqrtl_use=yes
64159 else
64160 glibcxx_cv_func_sqrtl_use=no
64161 fi
64162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64163 ac_ext=c
64164 ac_cpp='$CPP $CPPFLAGS'
64165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64168
64169
64170 fi
64171
64172 fi
64173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64174 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64175
64176 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64177 for ac_func in sqrtl
64178 do :
64179 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64180 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64181 cat >>confdefs.h <<_ACEOF
64182 #define HAVE_SQRTL 1
64183 _ACEOF
64184
64185 fi
64186 done
64187
64188 else
64189
64190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64191 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64192 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64193 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64194 $as_echo_n "(cached) " >&6
64195 else
64196
64197
64198 ac_ext=cpp
64199 ac_cpp='$CXXCPP $CPPFLAGS'
64200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64203
64204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64205 /* end confdefs.h. */
64206 #include <math.h>
64207 #ifdef HAVE_IEEEFP_H
64208 #include <ieeefp.h>
64209 #endif
64210
64211 int
64212 main ()
64213 {
64214 _sqrtl(0);
64215 ;
64216 return 0;
64217 }
64218 _ACEOF
64219 if ac_fn_cxx_try_compile "$LINENO"; then :
64220 glibcxx_cv_func__sqrtl_use=yes
64221 else
64222 glibcxx_cv_func__sqrtl_use=no
64223 fi
64224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64225 ac_ext=c
64226 ac_cpp='$CPP $CPPFLAGS'
64227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64230
64231
64232 fi
64233
64234 fi
64235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64236 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64237
64238 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64239 for ac_func in _sqrtl
64240 do :
64241 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64242 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64243 cat >>confdefs.h <<_ACEOF
64244 #define HAVE__SQRTL 1
64245 _ACEOF
64246
64247 fi
64248 done
64249
64250 fi
64251 fi
64252
64253
64254
64255
64256
64257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64258 $as_echo_n "checking for sincosl declaration... " >&6; }
64259 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64260 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64261 $as_echo_n "(cached) " >&6
64262 else
64263
64264
64265 ac_ext=cpp
64266 ac_cpp='$CXXCPP $CPPFLAGS'
64267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64270
64271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64272 /* end confdefs.h. */
64273 #include <math.h>
64274 int
64275 main ()
64276 {
64277 sincosl(0, 0, 0);
64278 ;
64279 return 0;
64280 }
64281 _ACEOF
64282 if ac_fn_cxx_try_compile "$LINENO"; then :
64283 glibcxx_cv_func_sincosl_use=yes
64284 else
64285 glibcxx_cv_func_sincosl_use=no
64286 fi
64287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64288 ac_ext=c
64289 ac_cpp='$CPP $CPPFLAGS'
64290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64293
64294
64295 fi
64296
64297 fi
64298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64299 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64300
64301 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64302 for ac_func in sincosl
64303 do :
64304 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64305 if test "x$ac_cv_func_sincosl" = x""yes; then :
64306 cat >>confdefs.h <<_ACEOF
64307 #define HAVE_SINCOSL 1
64308 _ACEOF
64309
64310 fi
64311 done
64312
64313 else
64314
64315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64316 $as_echo_n "checking for _sincosl declaration... " >&6; }
64317 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64318 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64319 $as_echo_n "(cached) " >&6
64320 else
64321
64322
64323 ac_ext=cpp
64324 ac_cpp='$CXXCPP $CPPFLAGS'
64325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64328
64329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64330 /* end confdefs.h. */
64331 #include <math.h>
64332 int
64333 main ()
64334 {
64335 _sincosl(0, 0, 0);
64336 ;
64337 return 0;
64338 }
64339 _ACEOF
64340 if ac_fn_cxx_try_compile "$LINENO"; then :
64341 glibcxx_cv_func__sincosl_use=yes
64342 else
64343 glibcxx_cv_func__sincosl_use=no
64344 fi
64345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64346 ac_ext=c
64347 ac_cpp='$CPP $CPPFLAGS'
64348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64351
64352
64353 fi
64354
64355 fi
64356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64357 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64358
64359 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64360 for ac_func in _sincosl
64361 do :
64362 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64363 if test "x$ac_cv_func__sincosl" = x""yes; then :
64364 cat >>confdefs.h <<_ACEOF
64365 #define HAVE__SINCOSL 1
64366 _ACEOF
64367
64368 fi
64369 done
64370
64371 fi
64372 fi
64373
64374
64375
64376
64377
64378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64379 $as_echo_n "checking for finitel declaration... " >&6; }
64380 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64381 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64382 $as_echo_n "(cached) " >&6
64383 else
64384
64385
64386 ac_ext=cpp
64387 ac_cpp='$CXXCPP $CPPFLAGS'
64388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64391
64392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64393 /* end confdefs.h. */
64394 #include <math.h>
64395 #ifdef HAVE_IEEEFP_H
64396 #include <ieeefp.h>
64397 #endif
64398
64399 int
64400 main ()
64401 {
64402 finitel(0);
64403 ;
64404 return 0;
64405 }
64406 _ACEOF
64407 if ac_fn_cxx_try_compile "$LINENO"; then :
64408 glibcxx_cv_func_finitel_use=yes
64409 else
64410 glibcxx_cv_func_finitel_use=no
64411 fi
64412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64413 ac_ext=c
64414 ac_cpp='$CPP $CPPFLAGS'
64415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64418
64419
64420 fi
64421
64422 fi
64423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64424 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64425
64426 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64427 for ac_func in finitel
64428 do :
64429 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64430 if test "x$ac_cv_func_finitel" = x""yes; then :
64431 cat >>confdefs.h <<_ACEOF
64432 #define HAVE_FINITEL 1
64433 _ACEOF
64434
64435 fi
64436 done
64437
64438 else
64439
64440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64441 $as_echo_n "checking for _finitel declaration... " >&6; }
64442 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64443 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64444 $as_echo_n "(cached) " >&6
64445 else
64446
64447
64448 ac_ext=cpp
64449 ac_cpp='$CXXCPP $CPPFLAGS'
64450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64453
64454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64455 /* end confdefs.h. */
64456 #include <math.h>
64457 #ifdef HAVE_IEEEFP_H
64458 #include <ieeefp.h>
64459 #endif
64460
64461 int
64462 main ()
64463 {
64464 _finitel(0);
64465 ;
64466 return 0;
64467 }
64468 _ACEOF
64469 if ac_fn_cxx_try_compile "$LINENO"; then :
64470 glibcxx_cv_func__finitel_use=yes
64471 else
64472 glibcxx_cv_func__finitel_use=no
64473 fi
64474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64475 ac_ext=c
64476 ac_cpp='$CPP $CPPFLAGS'
64477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64480
64481
64482 fi
64483
64484 fi
64485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64486 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64487
64488 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64489 for ac_func in _finitel
64490 do :
64491 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64492 if test "x$ac_cv_func__finitel" = x""yes; then :
64493 cat >>confdefs.h <<_ACEOF
64494 #define HAVE__FINITEL 1
64495 _ACEOF
64496
64497 fi
64498 done
64499
64500 fi
64501 fi
64502
64503
64504
64505
64506 LIBS="$ac_save_LIBS"
64507 CXXFLAGS="$ac_save_CXXFLAGS"
64508
64509
64510 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64511 ac_save_CXXFLAGS="$CXXFLAGS"
64512 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64513
64514
64515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64516 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64517 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64518 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64519 $as_echo_n "(cached) " >&6
64520 else
64521
64522
64523 ac_ext=cpp
64524 ac_cpp='$CXXCPP $CPPFLAGS'
64525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64528
64529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64530 /* end confdefs.h. */
64531 #include <stdlib.h>
64532 int
64533 main ()
64534 {
64535 at_quick_exit(0);
64536 ;
64537 return 0;
64538 }
64539 _ACEOF
64540 if ac_fn_cxx_try_compile "$LINENO"; then :
64541 glibcxx_cv_func_at_quick_exit_use=yes
64542 else
64543 glibcxx_cv_func_at_quick_exit_use=no
64544 fi
64545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64546 ac_ext=c
64547 ac_cpp='$CPP $CPPFLAGS'
64548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64551
64552
64553 fi
64554
64555 fi
64556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64557 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64558 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64559 for ac_func in at_quick_exit
64560 do :
64561 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64562 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64563 cat >>confdefs.h <<_ACEOF
64564 #define HAVE_AT_QUICK_EXIT 1
64565 _ACEOF
64566
64567 fi
64568 done
64569
64570 fi
64571
64572
64573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64574 $as_echo_n "checking for quick_exit declaration... " >&6; }
64575 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64576 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64577 $as_echo_n "(cached) " >&6
64578 else
64579
64580
64581 ac_ext=cpp
64582 ac_cpp='$CXXCPP $CPPFLAGS'
64583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64586
64587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64588 /* end confdefs.h. */
64589 #include <stdlib.h>
64590 int
64591 main ()
64592 {
64593 quick_exit(0);
64594 ;
64595 return 0;
64596 }
64597 _ACEOF
64598 if ac_fn_cxx_try_compile "$LINENO"; then :
64599 glibcxx_cv_func_quick_exit_use=yes
64600 else
64601 glibcxx_cv_func_quick_exit_use=no
64602 fi
64603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64604 ac_ext=c
64605 ac_cpp='$CPP $CPPFLAGS'
64606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64609
64610
64611 fi
64612
64613 fi
64614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64615 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64616 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64617 for ac_func in quick_exit
64618 do :
64619 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64620 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64621 cat >>confdefs.h <<_ACEOF
64622 #define HAVE_QUICK_EXIT 1
64623 _ACEOF
64624
64625 fi
64626 done
64627
64628 fi
64629
64630
64631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64632 $as_echo_n "checking for strtold declaration... " >&6; }
64633 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64634 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64635 $as_echo_n "(cached) " >&6
64636 else
64637
64638
64639 ac_ext=cpp
64640 ac_cpp='$CXXCPP $CPPFLAGS'
64641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64644
64645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64646 /* end confdefs.h. */
64647 #include <stdlib.h>
64648 int
64649 main ()
64650 {
64651 strtold(0, 0);
64652 ;
64653 return 0;
64654 }
64655 _ACEOF
64656 if ac_fn_cxx_try_compile "$LINENO"; then :
64657 glibcxx_cv_func_strtold_use=yes
64658 else
64659 glibcxx_cv_func_strtold_use=no
64660 fi
64661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64662 ac_ext=c
64663 ac_cpp='$CPP $CPPFLAGS'
64664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64667
64668
64669 fi
64670
64671 fi
64672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64673 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64674 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64675 for ac_func in strtold
64676 do :
64677 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64678 if test "x$ac_cv_func_strtold" = x""yes; then :
64679 cat >>confdefs.h <<_ACEOF
64680 #define HAVE_STRTOLD 1
64681 _ACEOF
64682
64683 fi
64684 done
64685
64686 fi
64687
64688
64689
64690
64691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64692 $as_echo_n "checking for strtof declaration... " >&6; }
64693 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64694 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64695 $as_echo_n "(cached) " >&6
64696 else
64697
64698
64699 ac_ext=cpp
64700 ac_cpp='$CXXCPP $CPPFLAGS'
64701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64704
64705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64706 /* end confdefs.h. */
64707 #include <stdlib.h>
64708 int
64709 main ()
64710 {
64711 strtof(0, 0);
64712 ;
64713 return 0;
64714 }
64715 _ACEOF
64716 if ac_fn_cxx_try_compile "$LINENO"; then :
64717 glibcxx_cv_func_strtof_use=yes
64718 else
64719 glibcxx_cv_func_strtof_use=no
64720 fi
64721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64722 ac_ext=c
64723 ac_cpp='$CPP $CPPFLAGS'
64724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64727
64728
64729 fi
64730
64731 fi
64732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64733 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64734 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64735 for ac_func in strtof
64736 do :
64737 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64738 if test "x$ac_cv_func_strtof" = x""yes; then :
64739 cat >>confdefs.h <<_ACEOF
64740 #define HAVE_STRTOF 1
64741 _ACEOF
64742
64743 fi
64744 done
64745
64746 fi
64747
64748
64749
64750
64751 CXXFLAGS="$ac_save_CXXFLAGS"
64752
64753 ;;
64754 *-netbsd*)
64755 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64756
64757
64758 # If we're not using GNU ld, then there's no point in even trying these
64759 # tests. Check for that first. We should have already tested for gld
64760 # by now (in libtool), but require it now just to be safe...
64761 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64762 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64763
64764
64765
64766 # The name set by libtool depends on the version of libtool. Shame on us
64767 # for depending on an impl detail, but c'est la vie. Older versions used
64768 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64769 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64770 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64771 # set (hence we're using an older libtool), then set it.
64772 if test x${with_gnu_ld+set} != xset; then
64773 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64774 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64775 with_gnu_ld=no
64776 else
64777 with_gnu_ld=$ac_cv_prog_gnu_ld
64778 fi
64779 fi
64780
64781 # Start by getting the version number. I think the libtool test already
64782 # does some of this, but throws away the result.
64783 glibcxx_ld_is_gold=no
64784 if test x"$with_gnu_ld" = x"yes"; then
64785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64786 $as_echo_n "checking for ld version... " >&6; }
64787
64788 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64789 glibcxx_ld_is_gold=yes
64790 fi
64791 ldver=`$LD --version 2>/dev/null |
64792 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'`
64793
64794 glibcxx_gnu_ld_version=`echo $ldver | \
64795 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64797 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64798 fi
64799
64800 # Set --gc-sections.
64801 glibcxx_have_gc_sections=no
64802 if test "$glibcxx_ld_is_gold" = "yes"; then
64803 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64804 glibcxx_have_gc_sections=yes
64805 fi
64806 else
64807 glibcxx_gcsections_min_ld=21602
64808 if test x"$with_gnu_ld" = x"yes" &&
64809 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64810 glibcxx_have_gc_sections=yes
64811 fi
64812 fi
64813 if test "$glibcxx_have_gc_sections" = "yes"; then
64814 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64815 # NB: This flag only works reliably after 2.16.1. Configure tests
64816 # for this are difficult, so hard wire a value that should work.
64817
64818 ac_test_CFLAGS="${CFLAGS+set}"
64819 ac_save_CFLAGS="$CFLAGS"
64820 CFLAGS='-Wl,--gc-sections'
64821
64822 # Check for -Wl,--gc-sections
64823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64824 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64825 if test x$gcc_no_link = xyes; then
64826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64827 fi
64828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64829 /* end confdefs.h. */
64830 int one(void) { return 1; }
64831 int two(void) { return 2; }
64832
64833 int
64834 main ()
64835 {
64836 two();
64837 ;
64838 return 0;
64839 }
64840 _ACEOF
64841 if ac_fn_c_try_link "$LINENO"; then :
64842 ac_gcsections=yes
64843 else
64844 ac_gcsections=no
64845 fi
64846 rm -f core conftest.err conftest.$ac_objext \
64847 conftest$ac_exeext conftest.$ac_ext
64848 if test "$ac_gcsections" = "yes"; then
64849 rm -f conftest.c
64850 touch conftest.c
64851 if $CC -c conftest.c; then
64852 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64853 grep "Warning: gc-sections option ignored" > /dev/null; then
64854 ac_gcsections=no
64855 fi
64856 fi
64857 rm -f conftest.c conftest.o conftest
64858 fi
64859 if test "$ac_gcsections" = "yes"; then
64860 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64861 fi
64862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64863 $as_echo "$ac_gcsections" >&6; }
64864
64865 if test "$ac_test_CFLAGS" = set; then
64866 CFLAGS="$ac_save_CFLAGS"
64867 else
64868 # this is the suspicious part
64869 CFLAGS=''
64870 fi
64871 fi
64872
64873 # Set -z,relro.
64874 # Note this is only for shared objects.
64875 ac_ld_relro=no
64876 if test x"$with_gnu_ld" = x"yes"; then
64877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64878 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64879 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64880 if test -n "$cxx_z_relo"; then
64881 OPT_LDFLAGS="-Wl,-z,relro"
64882 ac_ld_relro=yes
64883 fi
64884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64885 $as_echo "$ac_ld_relro" >&6; }
64886 fi
64887
64888 # Set linker optimization flags.
64889 if test x"$with_gnu_ld" = x"yes"; then
64890 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64891 fi
64892
64893
64894
64895
64896 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64897
64898 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64899
64900 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64901
64902 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64903
64904 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64905
64906 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64907
64908 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64909
64910 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64911
64912 if test x"long_double_math_on_this_cpu" = x"yes"; then
64913 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64914
64915 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64916
64917 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64918
64919 fi
64920 ;;
64921 *-qnx6.1* | *-qnx6.2*)
64922 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64923
64924
64925 # If we're not using GNU ld, then there's no point in even trying these
64926 # tests. Check for that first. We should have already tested for gld
64927 # by now (in libtool), but require it now just to be safe...
64928 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64929 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64930
64931
64932
64933 # The name set by libtool depends on the version of libtool. Shame on us
64934 # for depending on an impl detail, but c'est la vie. Older versions used
64935 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64936 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64937 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64938 # set (hence we're using an older libtool), then set it.
64939 if test x${with_gnu_ld+set} != xset; then
64940 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64941 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64942 with_gnu_ld=no
64943 else
64944 with_gnu_ld=$ac_cv_prog_gnu_ld
64945 fi
64946 fi
64947
64948 # Start by getting the version number. I think the libtool test already
64949 # does some of this, but throws away the result.
64950 glibcxx_ld_is_gold=no
64951 if test x"$with_gnu_ld" = x"yes"; then
64952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64953 $as_echo_n "checking for ld version... " >&6; }
64954
64955 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64956 glibcxx_ld_is_gold=yes
64957 fi
64958 ldver=`$LD --version 2>/dev/null |
64959 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'`
64960
64961 glibcxx_gnu_ld_version=`echo $ldver | \
64962 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64964 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64965 fi
64966
64967 # Set --gc-sections.
64968 glibcxx_have_gc_sections=no
64969 if test "$glibcxx_ld_is_gold" = "yes"; then
64970 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64971 glibcxx_have_gc_sections=yes
64972 fi
64973 else
64974 glibcxx_gcsections_min_ld=21602
64975 if test x"$with_gnu_ld" = x"yes" &&
64976 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64977 glibcxx_have_gc_sections=yes
64978 fi
64979 fi
64980 if test "$glibcxx_have_gc_sections" = "yes"; then
64981 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64982 # NB: This flag only works reliably after 2.16.1. Configure tests
64983 # for this are difficult, so hard wire a value that should work.
64984
64985 ac_test_CFLAGS="${CFLAGS+set}"
64986 ac_save_CFLAGS="$CFLAGS"
64987 CFLAGS='-Wl,--gc-sections'
64988
64989 # Check for -Wl,--gc-sections
64990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64991 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64992 if test x$gcc_no_link = xyes; then
64993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64994 fi
64995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64996 /* end confdefs.h. */
64997 int one(void) { return 1; }
64998 int two(void) { return 2; }
64999
65000 int
65001 main ()
65002 {
65003 two();
65004 ;
65005 return 0;
65006 }
65007 _ACEOF
65008 if ac_fn_c_try_link "$LINENO"; then :
65009 ac_gcsections=yes
65010 else
65011 ac_gcsections=no
65012 fi
65013 rm -f core conftest.err conftest.$ac_objext \
65014 conftest$ac_exeext conftest.$ac_ext
65015 if test "$ac_gcsections" = "yes"; then
65016 rm -f conftest.c
65017 touch conftest.c
65018 if $CC -c conftest.c; then
65019 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65020 grep "Warning: gc-sections option ignored" > /dev/null; then
65021 ac_gcsections=no
65022 fi
65023 fi
65024 rm -f conftest.c conftest.o conftest
65025 fi
65026 if test "$ac_gcsections" = "yes"; then
65027 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65028 fi
65029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65030 $as_echo "$ac_gcsections" >&6; }
65031
65032 if test "$ac_test_CFLAGS" = set; then
65033 CFLAGS="$ac_save_CFLAGS"
65034 else
65035 # this is the suspicious part
65036 CFLAGS=''
65037 fi
65038 fi
65039
65040 # Set -z,relro.
65041 # Note this is only for shared objects.
65042 ac_ld_relro=no
65043 if test x"$with_gnu_ld" = x"yes"; then
65044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65045 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65046 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65047 if test -n "$cxx_z_relo"; then
65048 OPT_LDFLAGS="-Wl,-z,relro"
65049 ac_ld_relro=yes
65050 fi
65051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65052 $as_echo "$ac_ld_relro" >&6; }
65053 fi
65054
65055 # Set linker optimization flags.
65056 if test x"$with_gnu_ld" = x"yes"; then
65057 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65058 fi
65059
65060
65061
65062
65063 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65064
65065 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65066
65067 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65068
65069 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65070
65071 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65072
65073 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65074
65075 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65076
65077 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65078
65079 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65080
65081 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65082
65083 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65084
65085 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65086
65087 ;;
65088 *-rtems*)
65089
65090 # All these tests are for C++; save the language and the compiler flags.
65091 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65092 # found in GLIBCXX_CONFIGURE.
65093
65094 ac_ext=cpp
65095 ac_cpp='$CXXCPP $CPPFLAGS'
65096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65099
65100 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65101 ac_save_CXXFLAGS="$CXXFLAGS"
65102
65103 # Check for maintainer-mode bits.
65104 if test x"$USE_MAINTAINER_MODE" = xno; then
65105 WERROR=''
65106 else
65107 WERROR='-Werror'
65108 fi
65109
65110 # Check for -ffunction-sections -fdata-sections
65111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65112 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65113 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65115 /* end confdefs.h. */
65116 int foo; void bar() { };
65117 int
65118 main ()
65119 {
65120
65121 ;
65122 return 0;
65123 }
65124 _ACEOF
65125 if ac_fn_cxx_try_compile "$LINENO"; then :
65126 ac_fdsections=yes
65127 else
65128 ac_fdsections=no
65129 fi
65130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65131 if test "$ac_test_CXXFLAGS" = set; then
65132 CXXFLAGS="$ac_save_CXXFLAGS"
65133 else
65134 # this is the suspicious part
65135 CXXFLAGS=''
65136 fi
65137 if test x"$ac_fdsections" = x"yes"; then
65138 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65139 fi
65140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65141 $as_echo "$ac_fdsections" >&6; }
65142
65143 ac_ext=c
65144 ac_cpp='$CPP $CPPFLAGS'
65145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65148
65149
65150
65151
65152
65153 # If we're not using GNU ld, then there's no point in even trying these
65154 # tests. Check for that first. We should have already tested for gld
65155 # by now (in libtool), but require it now just to be safe...
65156 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65157 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65158
65159
65160
65161 # The name set by libtool depends on the version of libtool. Shame on us
65162 # for depending on an impl detail, but c'est la vie. Older versions used
65163 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65164 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65165 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65166 # set (hence we're using an older libtool), then set it.
65167 if test x${with_gnu_ld+set} != xset; then
65168 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65169 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65170 with_gnu_ld=no
65171 else
65172 with_gnu_ld=$ac_cv_prog_gnu_ld
65173 fi
65174 fi
65175
65176 # Start by getting the version number. I think the libtool test already
65177 # does some of this, but throws away the result.
65178 glibcxx_ld_is_gold=no
65179 if test x"$with_gnu_ld" = x"yes"; then
65180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65181 $as_echo_n "checking for ld version... " >&6; }
65182
65183 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65184 glibcxx_ld_is_gold=yes
65185 fi
65186 ldver=`$LD --version 2>/dev/null |
65187 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'`
65188
65189 glibcxx_gnu_ld_version=`echo $ldver | \
65190 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65192 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65193 fi
65194
65195 # Set --gc-sections.
65196 glibcxx_have_gc_sections=no
65197 if test "$glibcxx_ld_is_gold" = "yes"; then
65198 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65199 glibcxx_have_gc_sections=yes
65200 fi
65201 else
65202 glibcxx_gcsections_min_ld=21602
65203 if test x"$with_gnu_ld" = x"yes" &&
65204 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65205 glibcxx_have_gc_sections=yes
65206 fi
65207 fi
65208 if test "$glibcxx_have_gc_sections" = "yes"; then
65209 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65210 # NB: This flag only works reliably after 2.16.1. Configure tests
65211 # for this are difficult, so hard wire a value that should work.
65212
65213 ac_test_CFLAGS="${CFLAGS+set}"
65214 ac_save_CFLAGS="$CFLAGS"
65215 CFLAGS='-Wl,--gc-sections'
65216
65217 # Check for -Wl,--gc-sections
65218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65219 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65220 if test x$gcc_no_link = xyes; then
65221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65222 fi
65223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65224 /* end confdefs.h. */
65225 int one(void) { return 1; }
65226 int two(void) { return 2; }
65227
65228 int
65229 main ()
65230 {
65231 two();
65232 ;
65233 return 0;
65234 }
65235 _ACEOF
65236 if ac_fn_c_try_link "$LINENO"; then :
65237 ac_gcsections=yes
65238 else
65239 ac_gcsections=no
65240 fi
65241 rm -f core conftest.err conftest.$ac_objext \
65242 conftest$ac_exeext conftest.$ac_ext
65243 if test "$ac_gcsections" = "yes"; then
65244 rm -f conftest.c
65245 touch conftest.c
65246 if $CC -c conftest.c; then
65247 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65248 grep "Warning: gc-sections option ignored" > /dev/null; then
65249 ac_gcsections=no
65250 fi
65251 fi
65252 rm -f conftest.c conftest.o conftest
65253 fi
65254 if test "$ac_gcsections" = "yes"; then
65255 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65256 fi
65257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65258 $as_echo "$ac_gcsections" >&6; }
65259
65260 if test "$ac_test_CFLAGS" = set; then
65261 CFLAGS="$ac_save_CFLAGS"
65262 else
65263 # this is the suspicious part
65264 CFLAGS=''
65265 fi
65266 fi
65267
65268 # Set -z,relro.
65269 # Note this is only for shared objects.
65270 ac_ld_relro=no
65271 if test x"$with_gnu_ld" = x"yes"; then
65272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65273 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65274 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65275 if test -n "$cxx_z_relo"; then
65276 OPT_LDFLAGS="-Wl,-z,relro"
65277 ac_ld_relro=yes
65278 fi
65279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65280 $as_echo "$ac_ld_relro" >&6; }
65281 fi
65282
65283 # Set linker optimization flags.
65284 if test x"$with_gnu_ld" = x"yes"; then
65285 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65286 fi
65287
65288
65289
65290
65291
65292 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65293 ac_save_CXXFLAGS="$CXXFLAGS"
65294 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65295
65296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65297 $as_echo_n "checking for sin in -lm... " >&6; }
65298 if test "${ac_cv_lib_m_sin+set}" = set; then :
65299 $as_echo_n "(cached) " >&6
65300 else
65301 ac_check_lib_save_LIBS=$LIBS
65302 LIBS="-lm $LIBS"
65303 if test x$gcc_no_link = xyes; then
65304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65305 fi
65306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65307 /* end confdefs.h. */
65308
65309 /* Override any GCC internal prototype to avoid an error.
65310 Use char because int might match the return type of a GCC
65311 builtin and then its argument prototype would still apply. */
65312 #ifdef __cplusplus
65313 extern "C"
65314 #endif
65315 char sin ();
65316 int
65317 main ()
65318 {
65319 return sin ();
65320 ;
65321 return 0;
65322 }
65323 _ACEOF
65324 if ac_fn_c_try_link "$LINENO"; then :
65325 ac_cv_lib_m_sin=yes
65326 else
65327 ac_cv_lib_m_sin=no
65328 fi
65329 rm -f core conftest.err conftest.$ac_objext \
65330 conftest$ac_exeext conftest.$ac_ext
65331 LIBS=$ac_check_lib_save_LIBS
65332 fi
65333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65334 $as_echo "$ac_cv_lib_m_sin" >&6; }
65335 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65336 libm="-lm"
65337 fi
65338
65339 ac_save_LIBS="$LIBS"
65340 LIBS="$LIBS $libm"
65341
65342
65343
65344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65345 $as_echo_n "checking for isinf declaration... " >&6; }
65346 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65347 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65348 $as_echo_n "(cached) " >&6
65349 else
65350
65351
65352 ac_ext=cpp
65353 ac_cpp='$CXXCPP $CPPFLAGS'
65354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65357
65358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65359 /* end confdefs.h. */
65360 #include <math.h>
65361 #ifdef HAVE_IEEEFP_H
65362 #include <ieeefp.h>
65363 #endif
65364
65365 int
65366 main ()
65367 {
65368 isinf(0);
65369 ;
65370 return 0;
65371 }
65372 _ACEOF
65373 if ac_fn_cxx_try_compile "$LINENO"; then :
65374 glibcxx_cv_func_isinf_use=yes
65375 else
65376 glibcxx_cv_func_isinf_use=no
65377 fi
65378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65379 ac_ext=c
65380 ac_cpp='$CPP $CPPFLAGS'
65381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65384
65385
65386 fi
65387
65388 fi
65389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65390 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65391
65392 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65393 for ac_func in isinf
65394 do :
65395 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65396 if test "x$ac_cv_func_isinf" = x""yes; then :
65397 cat >>confdefs.h <<_ACEOF
65398 #define HAVE_ISINF 1
65399 _ACEOF
65400
65401 fi
65402 done
65403
65404 else
65405
65406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65407 $as_echo_n "checking for _isinf declaration... " >&6; }
65408 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65409 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65410 $as_echo_n "(cached) " >&6
65411 else
65412
65413
65414 ac_ext=cpp
65415 ac_cpp='$CXXCPP $CPPFLAGS'
65416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65419
65420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65421 /* end confdefs.h. */
65422 #include <math.h>
65423 #ifdef HAVE_IEEEFP_H
65424 #include <ieeefp.h>
65425 #endif
65426
65427 int
65428 main ()
65429 {
65430 _isinf(0);
65431 ;
65432 return 0;
65433 }
65434 _ACEOF
65435 if ac_fn_cxx_try_compile "$LINENO"; then :
65436 glibcxx_cv_func__isinf_use=yes
65437 else
65438 glibcxx_cv_func__isinf_use=no
65439 fi
65440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65441 ac_ext=c
65442 ac_cpp='$CPP $CPPFLAGS'
65443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65446
65447
65448 fi
65449
65450 fi
65451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65452 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65453
65454 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65455 for ac_func in _isinf
65456 do :
65457 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65458 if test "x$ac_cv_func__isinf" = x""yes; then :
65459 cat >>confdefs.h <<_ACEOF
65460 #define HAVE__ISINF 1
65461 _ACEOF
65462
65463 fi
65464 done
65465
65466 fi
65467 fi
65468
65469
65470
65471
65472
65473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65474 $as_echo_n "checking for isnan declaration... " >&6; }
65475 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65476 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65477 $as_echo_n "(cached) " >&6
65478 else
65479
65480
65481 ac_ext=cpp
65482 ac_cpp='$CXXCPP $CPPFLAGS'
65483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65486
65487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65488 /* end confdefs.h. */
65489 #include <math.h>
65490 #ifdef HAVE_IEEEFP_H
65491 #include <ieeefp.h>
65492 #endif
65493
65494 int
65495 main ()
65496 {
65497 isnan(0);
65498 ;
65499 return 0;
65500 }
65501 _ACEOF
65502 if ac_fn_cxx_try_compile "$LINENO"; then :
65503 glibcxx_cv_func_isnan_use=yes
65504 else
65505 glibcxx_cv_func_isnan_use=no
65506 fi
65507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65508 ac_ext=c
65509 ac_cpp='$CPP $CPPFLAGS'
65510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65513
65514
65515 fi
65516
65517 fi
65518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65519 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65520
65521 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65522 for ac_func in isnan
65523 do :
65524 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65525 if test "x$ac_cv_func_isnan" = x""yes; then :
65526 cat >>confdefs.h <<_ACEOF
65527 #define HAVE_ISNAN 1
65528 _ACEOF
65529
65530 fi
65531 done
65532
65533 else
65534
65535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65536 $as_echo_n "checking for _isnan declaration... " >&6; }
65537 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65538 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65539 $as_echo_n "(cached) " >&6
65540 else
65541
65542
65543 ac_ext=cpp
65544 ac_cpp='$CXXCPP $CPPFLAGS'
65545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65548
65549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65550 /* end confdefs.h. */
65551 #include <math.h>
65552 #ifdef HAVE_IEEEFP_H
65553 #include <ieeefp.h>
65554 #endif
65555
65556 int
65557 main ()
65558 {
65559 _isnan(0);
65560 ;
65561 return 0;
65562 }
65563 _ACEOF
65564 if ac_fn_cxx_try_compile "$LINENO"; then :
65565 glibcxx_cv_func__isnan_use=yes
65566 else
65567 glibcxx_cv_func__isnan_use=no
65568 fi
65569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65570 ac_ext=c
65571 ac_cpp='$CPP $CPPFLAGS'
65572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65575
65576
65577 fi
65578
65579 fi
65580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65581 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65582
65583 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65584 for ac_func in _isnan
65585 do :
65586 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65587 if test "x$ac_cv_func__isnan" = x""yes; then :
65588 cat >>confdefs.h <<_ACEOF
65589 #define HAVE__ISNAN 1
65590 _ACEOF
65591
65592 fi
65593 done
65594
65595 fi
65596 fi
65597
65598
65599
65600
65601
65602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65603 $as_echo_n "checking for finite declaration... " >&6; }
65604 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65605 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65606 $as_echo_n "(cached) " >&6
65607 else
65608
65609
65610 ac_ext=cpp
65611 ac_cpp='$CXXCPP $CPPFLAGS'
65612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65615
65616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65617 /* end confdefs.h. */
65618 #include <math.h>
65619 #ifdef HAVE_IEEEFP_H
65620 #include <ieeefp.h>
65621 #endif
65622
65623 int
65624 main ()
65625 {
65626 finite(0);
65627 ;
65628 return 0;
65629 }
65630 _ACEOF
65631 if ac_fn_cxx_try_compile "$LINENO"; then :
65632 glibcxx_cv_func_finite_use=yes
65633 else
65634 glibcxx_cv_func_finite_use=no
65635 fi
65636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65637 ac_ext=c
65638 ac_cpp='$CPP $CPPFLAGS'
65639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65642
65643
65644 fi
65645
65646 fi
65647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65648 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65649
65650 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65651 for ac_func in finite
65652 do :
65653 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65654 if test "x$ac_cv_func_finite" = x""yes; then :
65655 cat >>confdefs.h <<_ACEOF
65656 #define HAVE_FINITE 1
65657 _ACEOF
65658
65659 fi
65660 done
65661
65662 else
65663
65664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65665 $as_echo_n "checking for _finite declaration... " >&6; }
65666 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65667 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65668 $as_echo_n "(cached) " >&6
65669 else
65670
65671
65672 ac_ext=cpp
65673 ac_cpp='$CXXCPP $CPPFLAGS'
65674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65677
65678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65679 /* end confdefs.h. */
65680 #include <math.h>
65681 #ifdef HAVE_IEEEFP_H
65682 #include <ieeefp.h>
65683 #endif
65684
65685 int
65686 main ()
65687 {
65688 _finite(0);
65689 ;
65690 return 0;
65691 }
65692 _ACEOF
65693 if ac_fn_cxx_try_compile "$LINENO"; then :
65694 glibcxx_cv_func__finite_use=yes
65695 else
65696 glibcxx_cv_func__finite_use=no
65697 fi
65698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65699 ac_ext=c
65700 ac_cpp='$CPP $CPPFLAGS'
65701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65704
65705
65706 fi
65707
65708 fi
65709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65710 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65711
65712 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65713 for ac_func in _finite
65714 do :
65715 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65716 if test "x$ac_cv_func__finite" = x""yes; then :
65717 cat >>confdefs.h <<_ACEOF
65718 #define HAVE__FINITE 1
65719 _ACEOF
65720
65721 fi
65722 done
65723
65724 fi
65725 fi
65726
65727
65728
65729
65730
65731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65732 $as_echo_n "checking for sincos declaration... " >&6; }
65733 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65734 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65735 $as_echo_n "(cached) " >&6
65736 else
65737
65738
65739 ac_ext=cpp
65740 ac_cpp='$CXXCPP $CPPFLAGS'
65741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65744
65745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65746 /* end confdefs.h. */
65747 #include <math.h>
65748 int
65749 main ()
65750 {
65751 sincos(0, 0, 0);
65752 ;
65753 return 0;
65754 }
65755 _ACEOF
65756 if ac_fn_cxx_try_compile "$LINENO"; then :
65757 glibcxx_cv_func_sincos_use=yes
65758 else
65759 glibcxx_cv_func_sincos_use=no
65760 fi
65761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65762 ac_ext=c
65763 ac_cpp='$CPP $CPPFLAGS'
65764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65767
65768
65769 fi
65770
65771 fi
65772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65773 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65774
65775 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65776 for ac_func in sincos
65777 do :
65778 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65779 if test "x$ac_cv_func_sincos" = x""yes; then :
65780 cat >>confdefs.h <<_ACEOF
65781 #define HAVE_SINCOS 1
65782 _ACEOF
65783
65784 fi
65785 done
65786
65787 else
65788
65789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65790 $as_echo_n "checking for _sincos declaration... " >&6; }
65791 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65792 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65793 $as_echo_n "(cached) " >&6
65794 else
65795
65796
65797 ac_ext=cpp
65798 ac_cpp='$CXXCPP $CPPFLAGS'
65799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65802
65803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65804 /* end confdefs.h. */
65805 #include <math.h>
65806 int
65807 main ()
65808 {
65809 _sincos(0, 0, 0);
65810 ;
65811 return 0;
65812 }
65813 _ACEOF
65814 if ac_fn_cxx_try_compile "$LINENO"; then :
65815 glibcxx_cv_func__sincos_use=yes
65816 else
65817 glibcxx_cv_func__sincos_use=no
65818 fi
65819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65820 ac_ext=c
65821 ac_cpp='$CPP $CPPFLAGS'
65822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65825
65826
65827 fi
65828
65829 fi
65830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65831 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65832
65833 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65834 for ac_func in _sincos
65835 do :
65836 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65837 if test "x$ac_cv_func__sincos" = x""yes; then :
65838 cat >>confdefs.h <<_ACEOF
65839 #define HAVE__SINCOS 1
65840 _ACEOF
65841
65842 fi
65843 done
65844
65845 fi
65846 fi
65847
65848
65849
65850
65851
65852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65853 $as_echo_n "checking for fpclass declaration... " >&6; }
65854 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65855 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65856 $as_echo_n "(cached) " >&6
65857 else
65858
65859
65860 ac_ext=cpp
65861 ac_cpp='$CXXCPP $CPPFLAGS'
65862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65865
65866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65867 /* end confdefs.h. */
65868 #include <math.h>
65869 #ifdef HAVE_IEEEFP_H
65870 #include <ieeefp.h>
65871 #endif
65872
65873 int
65874 main ()
65875 {
65876 fpclass(0);
65877 ;
65878 return 0;
65879 }
65880 _ACEOF
65881 if ac_fn_cxx_try_compile "$LINENO"; then :
65882 glibcxx_cv_func_fpclass_use=yes
65883 else
65884 glibcxx_cv_func_fpclass_use=no
65885 fi
65886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65887 ac_ext=c
65888 ac_cpp='$CPP $CPPFLAGS'
65889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65892
65893
65894 fi
65895
65896 fi
65897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65898 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65899
65900 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65901 for ac_func in fpclass
65902 do :
65903 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65904 if test "x$ac_cv_func_fpclass" = x""yes; then :
65905 cat >>confdefs.h <<_ACEOF
65906 #define HAVE_FPCLASS 1
65907 _ACEOF
65908
65909 fi
65910 done
65911
65912 else
65913
65914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65915 $as_echo_n "checking for _fpclass declaration... " >&6; }
65916 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65917 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65918 $as_echo_n "(cached) " >&6
65919 else
65920
65921
65922 ac_ext=cpp
65923 ac_cpp='$CXXCPP $CPPFLAGS'
65924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65927
65928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65929 /* end confdefs.h. */
65930 #include <math.h>
65931 #ifdef HAVE_IEEEFP_H
65932 #include <ieeefp.h>
65933 #endif
65934
65935 int
65936 main ()
65937 {
65938 _fpclass(0);
65939 ;
65940 return 0;
65941 }
65942 _ACEOF
65943 if ac_fn_cxx_try_compile "$LINENO"; then :
65944 glibcxx_cv_func__fpclass_use=yes
65945 else
65946 glibcxx_cv_func__fpclass_use=no
65947 fi
65948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65949 ac_ext=c
65950 ac_cpp='$CPP $CPPFLAGS'
65951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65954
65955
65956 fi
65957
65958 fi
65959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65960 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65961
65962 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65963 for ac_func in _fpclass
65964 do :
65965 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65966 if test "x$ac_cv_func__fpclass" = x""yes; then :
65967 cat >>confdefs.h <<_ACEOF
65968 #define HAVE__FPCLASS 1
65969 _ACEOF
65970
65971 fi
65972 done
65973
65974 fi
65975 fi
65976
65977
65978
65979
65980
65981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65982 $as_echo_n "checking for qfpclass declaration... " >&6; }
65983 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65984 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65985 $as_echo_n "(cached) " >&6
65986 else
65987
65988
65989 ac_ext=cpp
65990 ac_cpp='$CXXCPP $CPPFLAGS'
65991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65994
65995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65996 /* end confdefs.h. */
65997 #include <math.h>
65998 #ifdef HAVE_IEEEFP_H
65999 #include <ieeefp.h>
66000 #endif
66001
66002 int
66003 main ()
66004 {
66005 qfpclass(0);
66006 ;
66007 return 0;
66008 }
66009 _ACEOF
66010 if ac_fn_cxx_try_compile "$LINENO"; then :
66011 glibcxx_cv_func_qfpclass_use=yes
66012 else
66013 glibcxx_cv_func_qfpclass_use=no
66014 fi
66015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66016 ac_ext=c
66017 ac_cpp='$CPP $CPPFLAGS'
66018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66021
66022
66023 fi
66024
66025 fi
66026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66027 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66028
66029 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66030 for ac_func in qfpclass
66031 do :
66032 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66033 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66034 cat >>confdefs.h <<_ACEOF
66035 #define HAVE_QFPCLASS 1
66036 _ACEOF
66037
66038 fi
66039 done
66040
66041 else
66042
66043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66044 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66045 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66046 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66047 $as_echo_n "(cached) " >&6
66048 else
66049
66050
66051 ac_ext=cpp
66052 ac_cpp='$CXXCPP $CPPFLAGS'
66053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66056
66057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66058 /* end confdefs.h. */
66059 #include <math.h>
66060 #ifdef HAVE_IEEEFP_H
66061 #include <ieeefp.h>
66062 #endif
66063
66064 int
66065 main ()
66066 {
66067 _qfpclass(0);
66068 ;
66069 return 0;
66070 }
66071 _ACEOF
66072 if ac_fn_cxx_try_compile "$LINENO"; then :
66073 glibcxx_cv_func__qfpclass_use=yes
66074 else
66075 glibcxx_cv_func__qfpclass_use=no
66076 fi
66077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66078 ac_ext=c
66079 ac_cpp='$CPP $CPPFLAGS'
66080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66083
66084
66085 fi
66086
66087 fi
66088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66089 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66090
66091 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66092 for ac_func in _qfpclass
66093 do :
66094 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66095 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66096 cat >>confdefs.h <<_ACEOF
66097 #define HAVE__QFPCLASS 1
66098 _ACEOF
66099
66100 fi
66101 done
66102
66103 fi
66104 fi
66105
66106
66107
66108
66109
66110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66111 $as_echo_n "checking for hypot declaration... " >&6; }
66112 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66113 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66114 $as_echo_n "(cached) " >&6
66115 else
66116
66117
66118 ac_ext=cpp
66119 ac_cpp='$CXXCPP $CPPFLAGS'
66120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66123
66124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66125 /* end confdefs.h. */
66126 #include <math.h>
66127 int
66128 main ()
66129 {
66130 hypot(0, 0);
66131 ;
66132 return 0;
66133 }
66134 _ACEOF
66135 if ac_fn_cxx_try_compile "$LINENO"; then :
66136 glibcxx_cv_func_hypot_use=yes
66137 else
66138 glibcxx_cv_func_hypot_use=no
66139 fi
66140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66141 ac_ext=c
66142 ac_cpp='$CPP $CPPFLAGS'
66143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66146
66147
66148 fi
66149
66150 fi
66151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66152 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66153
66154 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66155 for ac_func in hypot
66156 do :
66157 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66158 if test "x$ac_cv_func_hypot" = x""yes; then :
66159 cat >>confdefs.h <<_ACEOF
66160 #define HAVE_HYPOT 1
66161 _ACEOF
66162
66163 fi
66164 done
66165
66166 else
66167
66168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66169 $as_echo_n "checking for _hypot declaration... " >&6; }
66170 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66171 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66172 $as_echo_n "(cached) " >&6
66173 else
66174
66175
66176 ac_ext=cpp
66177 ac_cpp='$CXXCPP $CPPFLAGS'
66178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66181
66182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66183 /* end confdefs.h. */
66184 #include <math.h>
66185 int
66186 main ()
66187 {
66188 _hypot(0, 0);
66189 ;
66190 return 0;
66191 }
66192 _ACEOF
66193 if ac_fn_cxx_try_compile "$LINENO"; then :
66194 glibcxx_cv_func__hypot_use=yes
66195 else
66196 glibcxx_cv_func__hypot_use=no
66197 fi
66198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66199 ac_ext=c
66200 ac_cpp='$CPP $CPPFLAGS'
66201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66204
66205
66206 fi
66207
66208 fi
66209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66210 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66211
66212 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66213 for ac_func in _hypot
66214 do :
66215 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66216 if test "x$ac_cv_func__hypot" = x""yes; then :
66217 cat >>confdefs.h <<_ACEOF
66218 #define HAVE__HYPOT 1
66219 _ACEOF
66220
66221 fi
66222 done
66223
66224 fi
66225 fi
66226
66227
66228
66229
66230
66231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66232 $as_echo_n "checking for float trig functions... " >&6; }
66233 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66234 $as_echo_n "(cached) " >&6
66235 else
66236
66237
66238 ac_ext=cpp
66239 ac_cpp='$CXXCPP $CPPFLAGS'
66240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66243
66244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66245 /* end confdefs.h. */
66246 #include <math.h>
66247 int
66248 main ()
66249 {
66250 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66251 ;
66252 return 0;
66253 }
66254 _ACEOF
66255 if ac_fn_cxx_try_compile "$LINENO"; then :
66256 glibcxx_cv_func_float_trig_use=yes
66257 else
66258 glibcxx_cv_func_float_trig_use=no
66259 fi
66260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66261 ac_ext=c
66262 ac_cpp='$CPP $CPPFLAGS'
66263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66266
66267 fi
66268
66269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66270 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66271 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66272 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66273 do :
66274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66276 eval as_val=\$$as_ac_var
66277 if test "x$as_val" = x""yes; then :
66278 cat >>confdefs.h <<_ACEOF
66279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66280 _ACEOF
66281
66282 fi
66283 done
66284
66285 else
66286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66287 $as_echo_n "checking for _float trig functions... " >&6; }
66288 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66289 $as_echo_n "(cached) " >&6
66290 else
66291
66292
66293 ac_ext=cpp
66294 ac_cpp='$CXXCPP $CPPFLAGS'
66295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66298
66299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66300 /* end confdefs.h. */
66301 #include <math.h>
66302 int
66303 main ()
66304 {
66305 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66306 ;
66307 return 0;
66308 }
66309 _ACEOF
66310 if ac_fn_cxx_try_compile "$LINENO"; then :
66311 glibcxx_cv_func__float_trig_use=yes
66312 else
66313 glibcxx_cv_func__float_trig_use=no
66314 fi
66315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66316 ac_ext=c
66317 ac_cpp='$CPP $CPPFLAGS'
66318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66321
66322 fi
66323
66324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66325 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66326 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66327 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66328 do :
66329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66331 eval as_val=\$$as_ac_var
66332 if test "x$as_val" = x""yes; then :
66333 cat >>confdefs.h <<_ACEOF
66334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66335 _ACEOF
66336
66337 fi
66338 done
66339
66340 fi
66341 fi
66342
66343
66344
66345
66346
66347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66348 $as_echo_n "checking for float round functions... " >&6; }
66349 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66350 $as_echo_n "(cached) " >&6
66351 else
66352
66353
66354 ac_ext=cpp
66355 ac_cpp='$CXXCPP $CPPFLAGS'
66356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66359
66360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66361 /* end confdefs.h. */
66362 #include <math.h>
66363 int
66364 main ()
66365 {
66366 ceilf (0); floorf (0);
66367 ;
66368 return 0;
66369 }
66370 _ACEOF
66371 if ac_fn_cxx_try_compile "$LINENO"; then :
66372 glibcxx_cv_func_float_round_use=yes
66373 else
66374 glibcxx_cv_func_float_round_use=no
66375 fi
66376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66377 ac_ext=c
66378 ac_cpp='$CPP $CPPFLAGS'
66379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66382
66383 fi
66384
66385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66386 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66387 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66388 for ac_func in ceilf floorf
66389 do :
66390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66392 eval as_val=\$$as_ac_var
66393 if test "x$as_val" = x""yes; then :
66394 cat >>confdefs.h <<_ACEOF
66395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66396 _ACEOF
66397
66398 fi
66399 done
66400
66401 else
66402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66403 $as_echo_n "checking for _float round functions... " >&6; }
66404 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66405 $as_echo_n "(cached) " >&6
66406 else
66407
66408
66409 ac_ext=cpp
66410 ac_cpp='$CXXCPP $CPPFLAGS'
66411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66414
66415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66416 /* end confdefs.h. */
66417 #include <math.h>
66418 int
66419 main ()
66420 {
66421 _ceilf (0); _floorf (0);
66422 ;
66423 return 0;
66424 }
66425 _ACEOF
66426 if ac_fn_cxx_try_compile "$LINENO"; then :
66427 glibcxx_cv_func__float_round_use=yes
66428 else
66429 glibcxx_cv_func__float_round_use=no
66430 fi
66431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66432 ac_ext=c
66433 ac_cpp='$CPP $CPPFLAGS'
66434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66437
66438 fi
66439
66440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66441 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66442 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66443 for ac_func in _ceilf _floorf
66444 do :
66445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66447 eval as_val=\$$as_ac_var
66448 if test "x$as_val" = x""yes; then :
66449 cat >>confdefs.h <<_ACEOF
66450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66451 _ACEOF
66452
66453 fi
66454 done
66455
66456 fi
66457 fi
66458
66459
66460
66461
66462
66463
66464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66465 $as_echo_n "checking for expf declaration... " >&6; }
66466 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66467 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66468 $as_echo_n "(cached) " >&6
66469 else
66470
66471
66472 ac_ext=cpp
66473 ac_cpp='$CXXCPP $CPPFLAGS'
66474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66477
66478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66479 /* end confdefs.h. */
66480 #include <math.h>
66481 #ifdef HAVE_IEEEFP_H
66482 #include <ieeefp.h>
66483 #endif
66484
66485 int
66486 main ()
66487 {
66488 expf(0);
66489 ;
66490 return 0;
66491 }
66492 _ACEOF
66493 if ac_fn_cxx_try_compile "$LINENO"; then :
66494 glibcxx_cv_func_expf_use=yes
66495 else
66496 glibcxx_cv_func_expf_use=no
66497 fi
66498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66499 ac_ext=c
66500 ac_cpp='$CPP $CPPFLAGS'
66501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66504
66505
66506 fi
66507
66508 fi
66509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66510 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66511
66512 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66513 for ac_func in expf
66514 do :
66515 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66516 if test "x$ac_cv_func_expf" = x""yes; then :
66517 cat >>confdefs.h <<_ACEOF
66518 #define HAVE_EXPF 1
66519 _ACEOF
66520
66521 fi
66522 done
66523
66524 else
66525
66526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66527 $as_echo_n "checking for _expf declaration... " >&6; }
66528 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66529 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66530 $as_echo_n "(cached) " >&6
66531 else
66532
66533
66534 ac_ext=cpp
66535 ac_cpp='$CXXCPP $CPPFLAGS'
66536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66539
66540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66541 /* end confdefs.h. */
66542 #include <math.h>
66543 #ifdef HAVE_IEEEFP_H
66544 #include <ieeefp.h>
66545 #endif
66546
66547 int
66548 main ()
66549 {
66550 _expf(0);
66551 ;
66552 return 0;
66553 }
66554 _ACEOF
66555 if ac_fn_cxx_try_compile "$LINENO"; then :
66556 glibcxx_cv_func__expf_use=yes
66557 else
66558 glibcxx_cv_func__expf_use=no
66559 fi
66560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66561 ac_ext=c
66562 ac_cpp='$CPP $CPPFLAGS'
66563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66566
66567
66568 fi
66569
66570 fi
66571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66572 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66573
66574 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66575 for ac_func in _expf
66576 do :
66577 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66578 if test "x$ac_cv_func__expf" = x""yes; then :
66579 cat >>confdefs.h <<_ACEOF
66580 #define HAVE__EXPF 1
66581 _ACEOF
66582
66583 fi
66584 done
66585
66586 fi
66587 fi
66588
66589
66590
66591
66592
66593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66594 $as_echo_n "checking for isnanf declaration... " >&6; }
66595 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66596 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66597 $as_echo_n "(cached) " >&6
66598 else
66599
66600
66601 ac_ext=cpp
66602 ac_cpp='$CXXCPP $CPPFLAGS'
66603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66606
66607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66608 /* end confdefs.h. */
66609 #include <math.h>
66610 #ifdef HAVE_IEEEFP_H
66611 #include <ieeefp.h>
66612 #endif
66613
66614 int
66615 main ()
66616 {
66617 isnanf(0);
66618 ;
66619 return 0;
66620 }
66621 _ACEOF
66622 if ac_fn_cxx_try_compile "$LINENO"; then :
66623 glibcxx_cv_func_isnanf_use=yes
66624 else
66625 glibcxx_cv_func_isnanf_use=no
66626 fi
66627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66628 ac_ext=c
66629 ac_cpp='$CPP $CPPFLAGS'
66630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66633
66634
66635 fi
66636
66637 fi
66638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66639 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66640
66641 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66642 for ac_func in isnanf
66643 do :
66644 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66645 if test "x$ac_cv_func_isnanf" = x""yes; then :
66646 cat >>confdefs.h <<_ACEOF
66647 #define HAVE_ISNANF 1
66648 _ACEOF
66649
66650 fi
66651 done
66652
66653 else
66654
66655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66656 $as_echo_n "checking for _isnanf declaration... " >&6; }
66657 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66658 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66659 $as_echo_n "(cached) " >&6
66660 else
66661
66662
66663 ac_ext=cpp
66664 ac_cpp='$CXXCPP $CPPFLAGS'
66665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66668
66669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66670 /* end confdefs.h. */
66671 #include <math.h>
66672 #ifdef HAVE_IEEEFP_H
66673 #include <ieeefp.h>
66674 #endif
66675
66676 int
66677 main ()
66678 {
66679 _isnanf(0);
66680 ;
66681 return 0;
66682 }
66683 _ACEOF
66684 if ac_fn_cxx_try_compile "$LINENO"; then :
66685 glibcxx_cv_func__isnanf_use=yes
66686 else
66687 glibcxx_cv_func__isnanf_use=no
66688 fi
66689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66690 ac_ext=c
66691 ac_cpp='$CPP $CPPFLAGS'
66692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66695
66696
66697 fi
66698
66699 fi
66700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66701 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66702
66703 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66704 for ac_func in _isnanf
66705 do :
66706 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66707 if test "x$ac_cv_func__isnanf" = x""yes; then :
66708 cat >>confdefs.h <<_ACEOF
66709 #define HAVE__ISNANF 1
66710 _ACEOF
66711
66712 fi
66713 done
66714
66715 fi
66716 fi
66717
66718
66719
66720
66721
66722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66723 $as_echo_n "checking for isinff declaration... " >&6; }
66724 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66725 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66726 $as_echo_n "(cached) " >&6
66727 else
66728
66729
66730 ac_ext=cpp
66731 ac_cpp='$CXXCPP $CPPFLAGS'
66732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66735
66736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66737 /* end confdefs.h. */
66738 #include <math.h>
66739 #ifdef HAVE_IEEEFP_H
66740 #include <ieeefp.h>
66741 #endif
66742
66743 int
66744 main ()
66745 {
66746 isinff(0);
66747 ;
66748 return 0;
66749 }
66750 _ACEOF
66751 if ac_fn_cxx_try_compile "$LINENO"; then :
66752 glibcxx_cv_func_isinff_use=yes
66753 else
66754 glibcxx_cv_func_isinff_use=no
66755 fi
66756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66757 ac_ext=c
66758 ac_cpp='$CPP $CPPFLAGS'
66759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66762
66763
66764 fi
66765
66766 fi
66767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66768 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66769
66770 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66771 for ac_func in isinff
66772 do :
66773 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66774 if test "x$ac_cv_func_isinff" = x""yes; then :
66775 cat >>confdefs.h <<_ACEOF
66776 #define HAVE_ISINFF 1
66777 _ACEOF
66778
66779 fi
66780 done
66781
66782 else
66783
66784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66785 $as_echo_n "checking for _isinff declaration... " >&6; }
66786 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66787 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66788 $as_echo_n "(cached) " >&6
66789 else
66790
66791
66792 ac_ext=cpp
66793 ac_cpp='$CXXCPP $CPPFLAGS'
66794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66797
66798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66799 /* end confdefs.h. */
66800 #include <math.h>
66801 #ifdef HAVE_IEEEFP_H
66802 #include <ieeefp.h>
66803 #endif
66804
66805 int
66806 main ()
66807 {
66808 _isinff(0);
66809 ;
66810 return 0;
66811 }
66812 _ACEOF
66813 if ac_fn_cxx_try_compile "$LINENO"; then :
66814 glibcxx_cv_func__isinff_use=yes
66815 else
66816 glibcxx_cv_func__isinff_use=no
66817 fi
66818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66819 ac_ext=c
66820 ac_cpp='$CPP $CPPFLAGS'
66821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66824
66825
66826 fi
66827
66828 fi
66829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66830 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66831
66832 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66833 for ac_func in _isinff
66834 do :
66835 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66836 if test "x$ac_cv_func__isinff" = x""yes; then :
66837 cat >>confdefs.h <<_ACEOF
66838 #define HAVE__ISINFF 1
66839 _ACEOF
66840
66841 fi
66842 done
66843
66844 fi
66845 fi
66846
66847
66848
66849
66850
66851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66852 $as_echo_n "checking for atan2f declaration... " >&6; }
66853 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66854 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66855 $as_echo_n "(cached) " >&6
66856 else
66857
66858
66859 ac_ext=cpp
66860 ac_cpp='$CXXCPP $CPPFLAGS'
66861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66864
66865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66866 /* end confdefs.h. */
66867 #include <math.h>
66868 int
66869 main ()
66870 {
66871 atan2f(0, 0);
66872 ;
66873 return 0;
66874 }
66875 _ACEOF
66876 if ac_fn_cxx_try_compile "$LINENO"; then :
66877 glibcxx_cv_func_atan2f_use=yes
66878 else
66879 glibcxx_cv_func_atan2f_use=no
66880 fi
66881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66882 ac_ext=c
66883 ac_cpp='$CPP $CPPFLAGS'
66884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66887
66888
66889 fi
66890
66891 fi
66892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66893 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66894
66895 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66896 for ac_func in atan2f
66897 do :
66898 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66899 if test "x$ac_cv_func_atan2f" = x""yes; then :
66900 cat >>confdefs.h <<_ACEOF
66901 #define HAVE_ATAN2F 1
66902 _ACEOF
66903
66904 fi
66905 done
66906
66907 else
66908
66909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66910 $as_echo_n "checking for _atan2f declaration... " >&6; }
66911 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66912 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66913 $as_echo_n "(cached) " >&6
66914 else
66915
66916
66917 ac_ext=cpp
66918 ac_cpp='$CXXCPP $CPPFLAGS'
66919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66922
66923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66924 /* end confdefs.h. */
66925 #include <math.h>
66926 int
66927 main ()
66928 {
66929 _atan2f(0, 0);
66930 ;
66931 return 0;
66932 }
66933 _ACEOF
66934 if ac_fn_cxx_try_compile "$LINENO"; then :
66935 glibcxx_cv_func__atan2f_use=yes
66936 else
66937 glibcxx_cv_func__atan2f_use=no
66938 fi
66939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66940 ac_ext=c
66941 ac_cpp='$CPP $CPPFLAGS'
66942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66945
66946
66947 fi
66948
66949 fi
66950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66951 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66952
66953 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66954 for ac_func in _atan2f
66955 do :
66956 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66957 if test "x$ac_cv_func__atan2f" = x""yes; then :
66958 cat >>confdefs.h <<_ACEOF
66959 #define HAVE__ATAN2F 1
66960 _ACEOF
66961
66962 fi
66963 done
66964
66965 fi
66966 fi
66967
66968
66969
66970
66971
66972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66973 $as_echo_n "checking for fabsf declaration... " >&6; }
66974 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66975 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66976 $as_echo_n "(cached) " >&6
66977 else
66978
66979
66980 ac_ext=cpp
66981 ac_cpp='$CXXCPP $CPPFLAGS'
66982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66985
66986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66987 /* end confdefs.h. */
66988 #include <math.h>
66989 #ifdef HAVE_IEEEFP_H
66990 #include <ieeefp.h>
66991 #endif
66992
66993 int
66994 main ()
66995 {
66996 fabsf(0);
66997 ;
66998 return 0;
66999 }
67000 _ACEOF
67001 if ac_fn_cxx_try_compile "$LINENO"; then :
67002 glibcxx_cv_func_fabsf_use=yes
67003 else
67004 glibcxx_cv_func_fabsf_use=no
67005 fi
67006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67007 ac_ext=c
67008 ac_cpp='$CPP $CPPFLAGS'
67009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67012
67013
67014 fi
67015
67016 fi
67017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67018 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67019
67020 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67021 for ac_func in fabsf
67022 do :
67023 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67024 if test "x$ac_cv_func_fabsf" = x""yes; then :
67025 cat >>confdefs.h <<_ACEOF
67026 #define HAVE_FABSF 1
67027 _ACEOF
67028
67029 fi
67030 done
67031
67032 else
67033
67034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67035 $as_echo_n "checking for _fabsf declaration... " >&6; }
67036 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67037 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67038 $as_echo_n "(cached) " >&6
67039 else
67040
67041
67042 ac_ext=cpp
67043 ac_cpp='$CXXCPP $CPPFLAGS'
67044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67047
67048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67049 /* end confdefs.h. */
67050 #include <math.h>
67051 #ifdef HAVE_IEEEFP_H
67052 #include <ieeefp.h>
67053 #endif
67054
67055 int
67056 main ()
67057 {
67058 _fabsf(0);
67059 ;
67060 return 0;
67061 }
67062 _ACEOF
67063 if ac_fn_cxx_try_compile "$LINENO"; then :
67064 glibcxx_cv_func__fabsf_use=yes
67065 else
67066 glibcxx_cv_func__fabsf_use=no
67067 fi
67068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67069 ac_ext=c
67070 ac_cpp='$CPP $CPPFLAGS'
67071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67074
67075
67076 fi
67077
67078 fi
67079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67080 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67081
67082 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67083 for ac_func in _fabsf
67084 do :
67085 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67086 if test "x$ac_cv_func__fabsf" = x""yes; then :
67087 cat >>confdefs.h <<_ACEOF
67088 #define HAVE__FABSF 1
67089 _ACEOF
67090
67091 fi
67092 done
67093
67094 fi
67095 fi
67096
67097
67098
67099
67100
67101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67102 $as_echo_n "checking for fmodf declaration... " >&6; }
67103 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67104 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67105 $as_echo_n "(cached) " >&6
67106 else
67107
67108
67109 ac_ext=cpp
67110 ac_cpp='$CXXCPP $CPPFLAGS'
67111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67114
67115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67116 /* end confdefs.h. */
67117 #include <math.h>
67118 int
67119 main ()
67120 {
67121 fmodf(0, 0);
67122 ;
67123 return 0;
67124 }
67125 _ACEOF
67126 if ac_fn_cxx_try_compile "$LINENO"; then :
67127 glibcxx_cv_func_fmodf_use=yes
67128 else
67129 glibcxx_cv_func_fmodf_use=no
67130 fi
67131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67132 ac_ext=c
67133 ac_cpp='$CPP $CPPFLAGS'
67134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67137
67138
67139 fi
67140
67141 fi
67142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67143 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67144
67145 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67146 for ac_func in fmodf
67147 do :
67148 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67149 if test "x$ac_cv_func_fmodf" = x""yes; then :
67150 cat >>confdefs.h <<_ACEOF
67151 #define HAVE_FMODF 1
67152 _ACEOF
67153
67154 fi
67155 done
67156
67157 else
67158
67159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67160 $as_echo_n "checking for _fmodf declaration... " >&6; }
67161 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67162 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67163 $as_echo_n "(cached) " >&6
67164 else
67165
67166
67167 ac_ext=cpp
67168 ac_cpp='$CXXCPP $CPPFLAGS'
67169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67172
67173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67174 /* end confdefs.h. */
67175 #include <math.h>
67176 int
67177 main ()
67178 {
67179 _fmodf(0, 0);
67180 ;
67181 return 0;
67182 }
67183 _ACEOF
67184 if ac_fn_cxx_try_compile "$LINENO"; then :
67185 glibcxx_cv_func__fmodf_use=yes
67186 else
67187 glibcxx_cv_func__fmodf_use=no
67188 fi
67189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67190 ac_ext=c
67191 ac_cpp='$CPP $CPPFLAGS'
67192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67195
67196
67197 fi
67198
67199 fi
67200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67201 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67202
67203 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67204 for ac_func in _fmodf
67205 do :
67206 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67207 if test "x$ac_cv_func__fmodf" = x""yes; then :
67208 cat >>confdefs.h <<_ACEOF
67209 #define HAVE__FMODF 1
67210 _ACEOF
67211
67212 fi
67213 done
67214
67215 fi
67216 fi
67217
67218
67219
67220
67221
67222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67223 $as_echo_n "checking for frexpf declaration... " >&6; }
67224 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67225 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67226 $as_echo_n "(cached) " >&6
67227 else
67228
67229
67230 ac_ext=cpp
67231 ac_cpp='$CXXCPP $CPPFLAGS'
67232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67235
67236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67237 /* end confdefs.h. */
67238 #include <math.h>
67239 int
67240 main ()
67241 {
67242 frexpf(0, 0);
67243 ;
67244 return 0;
67245 }
67246 _ACEOF
67247 if ac_fn_cxx_try_compile "$LINENO"; then :
67248 glibcxx_cv_func_frexpf_use=yes
67249 else
67250 glibcxx_cv_func_frexpf_use=no
67251 fi
67252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67253 ac_ext=c
67254 ac_cpp='$CPP $CPPFLAGS'
67255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67258
67259
67260 fi
67261
67262 fi
67263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67264 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67265
67266 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67267 for ac_func in frexpf
67268 do :
67269 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67270 if test "x$ac_cv_func_frexpf" = x""yes; then :
67271 cat >>confdefs.h <<_ACEOF
67272 #define HAVE_FREXPF 1
67273 _ACEOF
67274
67275 fi
67276 done
67277
67278 else
67279
67280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67281 $as_echo_n "checking for _frexpf declaration... " >&6; }
67282 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67283 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67284 $as_echo_n "(cached) " >&6
67285 else
67286
67287
67288 ac_ext=cpp
67289 ac_cpp='$CXXCPP $CPPFLAGS'
67290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67293
67294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67295 /* end confdefs.h. */
67296 #include <math.h>
67297 int
67298 main ()
67299 {
67300 _frexpf(0, 0);
67301 ;
67302 return 0;
67303 }
67304 _ACEOF
67305 if ac_fn_cxx_try_compile "$LINENO"; then :
67306 glibcxx_cv_func__frexpf_use=yes
67307 else
67308 glibcxx_cv_func__frexpf_use=no
67309 fi
67310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67311 ac_ext=c
67312 ac_cpp='$CPP $CPPFLAGS'
67313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67316
67317
67318 fi
67319
67320 fi
67321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67322 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67323
67324 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67325 for ac_func in _frexpf
67326 do :
67327 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67328 if test "x$ac_cv_func__frexpf" = x""yes; then :
67329 cat >>confdefs.h <<_ACEOF
67330 #define HAVE__FREXPF 1
67331 _ACEOF
67332
67333 fi
67334 done
67335
67336 fi
67337 fi
67338
67339
67340
67341
67342
67343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67344 $as_echo_n "checking for hypotf declaration... " >&6; }
67345 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67346 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67347 $as_echo_n "(cached) " >&6
67348 else
67349
67350
67351 ac_ext=cpp
67352 ac_cpp='$CXXCPP $CPPFLAGS'
67353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67356
67357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67358 /* end confdefs.h. */
67359 #include <math.h>
67360 int
67361 main ()
67362 {
67363 hypotf(0, 0);
67364 ;
67365 return 0;
67366 }
67367 _ACEOF
67368 if ac_fn_cxx_try_compile "$LINENO"; then :
67369 glibcxx_cv_func_hypotf_use=yes
67370 else
67371 glibcxx_cv_func_hypotf_use=no
67372 fi
67373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67374 ac_ext=c
67375 ac_cpp='$CPP $CPPFLAGS'
67376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67379
67380
67381 fi
67382
67383 fi
67384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67385 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67386
67387 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67388 for ac_func in hypotf
67389 do :
67390 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67391 if test "x$ac_cv_func_hypotf" = x""yes; then :
67392 cat >>confdefs.h <<_ACEOF
67393 #define HAVE_HYPOTF 1
67394 _ACEOF
67395
67396 fi
67397 done
67398
67399 else
67400
67401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67402 $as_echo_n "checking for _hypotf declaration... " >&6; }
67403 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67404 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67405 $as_echo_n "(cached) " >&6
67406 else
67407
67408
67409 ac_ext=cpp
67410 ac_cpp='$CXXCPP $CPPFLAGS'
67411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67414
67415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67416 /* end confdefs.h. */
67417 #include <math.h>
67418 int
67419 main ()
67420 {
67421 _hypotf(0, 0);
67422 ;
67423 return 0;
67424 }
67425 _ACEOF
67426 if ac_fn_cxx_try_compile "$LINENO"; then :
67427 glibcxx_cv_func__hypotf_use=yes
67428 else
67429 glibcxx_cv_func__hypotf_use=no
67430 fi
67431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67432 ac_ext=c
67433 ac_cpp='$CPP $CPPFLAGS'
67434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67437
67438
67439 fi
67440
67441 fi
67442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67443 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67444
67445 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67446 for ac_func in _hypotf
67447 do :
67448 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67449 if test "x$ac_cv_func__hypotf" = x""yes; then :
67450 cat >>confdefs.h <<_ACEOF
67451 #define HAVE__HYPOTF 1
67452 _ACEOF
67453
67454 fi
67455 done
67456
67457 fi
67458 fi
67459
67460
67461
67462
67463
67464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67465 $as_echo_n "checking for ldexpf declaration... " >&6; }
67466 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67467 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67468 $as_echo_n "(cached) " >&6
67469 else
67470
67471
67472 ac_ext=cpp
67473 ac_cpp='$CXXCPP $CPPFLAGS'
67474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67477
67478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67479 /* end confdefs.h. */
67480 #include <math.h>
67481 int
67482 main ()
67483 {
67484 ldexpf(0, 0);
67485 ;
67486 return 0;
67487 }
67488 _ACEOF
67489 if ac_fn_cxx_try_compile "$LINENO"; then :
67490 glibcxx_cv_func_ldexpf_use=yes
67491 else
67492 glibcxx_cv_func_ldexpf_use=no
67493 fi
67494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67495 ac_ext=c
67496 ac_cpp='$CPP $CPPFLAGS'
67497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67500
67501
67502 fi
67503
67504 fi
67505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67506 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67507
67508 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67509 for ac_func in ldexpf
67510 do :
67511 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67512 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67513 cat >>confdefs.h <<_ACEOF
67514 #define HAVE_LDEXPF 1
67515 _ACEOF
67516
67517 fi
67518 done
67519
67520 else
67521
67522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67523 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67524 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67525 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67526 $as_echo_n "(cached) " >&6
67527 else
67528
67529
67530 ac_ext=cpp
67531 ac_cpp='$CXXCPP $CPPFLAGS'
67532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67535
67536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67537 /* end confdefs.h. */
67538 #include <math.h>
67539 int
67540 main ()
67541 {
67542 _ldexpf(0, 0);
67543 ;
67544 return 0;
67545 }
67546 _ACEOF
67547 if ac_fn_cxx_try_compile "$LINENO"; then :
67548 glibcxx_cv_func__ldexpf_use=yes
67549 else
67550 glibcxx_cv_func__ldexpf_use=no
67551 fi
67552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67553 ac_ext=c
67554 ac_cpp='$CPP $CPPFLAGS'
67555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67558
67559
67560 fi
67561
67562 fi
67563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67564 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67565
67566 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67567 for ac_func in _ldexpf
67568 do :
67569 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67570 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67571 cat >>confdefs.h <<_ACEOF
67572 #define HAVE__LDEXPF 1
67573 _ACEOF
67574
67575 fi
67576 done
67577
67578 fi
67579 fi
67580
67581
67582
67583
67584
67585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67586 $as_echo_n "checking for logf declaration... " >&6; }
67587 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67588 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67589 $as_echo_n "(cached) " >&6
67590 else
67591
67592
67593 ac_ext=cpp
67594 ac_cpp='$CXXCPP $CPPFLAGS'
67595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67598
67599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67600 /* end confdefs.h. */
67601 #include <math.h>
67602 #ifdef HAVE_IEEEFP_H
67603 #include <ieeefp.h>
67604 #endif
67605
67606 int
67607 main ()
67608 {
67609 logf(0);
67610 ;
67611 return 0;
67612 }
67613 _ACEOF
67614 if ac_fn_cxx_try_compile "$LINENO"; then :
67615 glibcxx_cv_func_logf_use=yes
67616 else
67617 glibcxx_cv_func_logf_use=no
67618 fi
67619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67620 ac_ext=c
67621 ac_cpp='$CPP $CPPFLAGS'
67622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67625
67626
67627 fi
67628
67629 fi
67630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67631 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67632
67633 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67634 for ac_func in logf
67635 do :
67636 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67637 if test "x$ac_cv_func_logf" = x""yes; then :
67638 cat >>confdefs.h <<_ACEOF
67639 #define HAVE_LOGF 1
67640 _ACEOF
67641
67642 fi
67643 done
67644
67645 else
67646
67647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67648 $as_echo_n "checking for _logf declaration... " >&6; }
67649 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67650 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67651 $as_echo_n "(cached) " >&6
67652 else
67653
67654
67655 ac_ext=cpp
67656 ac_cpp='$CXXCPP $CPPFLAGS'
67657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67660
67661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67662 /* end confdefs.h. */
67663 #include <math.h>
67664 #ifdef HAVE_IEEEFP_H
67665 #include <ieeefp.h>
67666 #endif
67667
67668 int
67669 main ()
67670 {
67671 _logf(0);
67672 ;
67673 return 0;
67674 }
67675 _ACEOF
67676 if ac_fn_cxx_try_compile "$LINENO"; then :
67677 glibcxx_cv_func__logf_use=yes
67678 else
67679 glibcxx_cv_func__logf_use=no
67680 fi
67681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67682 ac_ext=c
67683 ac_cpp='$CPP $CPPFLAGS'
67684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67687
67688
67689 fi
67690
67691 fi
67692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67693 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67694
67695 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67696 for ac_func in _logf
67697 do :
67698 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67699 if test "x$ac_cv_func__logf" = x""yes; then :
67700 cat >>confdefs.h <<_ACEOF
67701 #define HAVE__LOGF 1
67702 _ACEOF
67703
67704 fi
67705 done
67706
67707 fi
67708 fi
67709
67710
67711
67712
67713
67714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67715 $as_echo_n "checking for log10f declaration... " >&6; }
67716 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67717 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67718 $as_echo_n "(cached) " >&6
67719 else
67720
67721
67722 ac_ext=cpp
67723 ac_cpp='$CXXCPP $CPPFLAGS'
67724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67727
67728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67729 /* end confdefs.h. */
67730 #include <math.h>
67731 #ifdef HAVE_IEEEFP_H
67732 #include <ieeefp.h>
67733 #endif
67734
67735 int
67736 main ()
67737 {
67738 log10f(0);
67739 ;
67740 return 0;
67741 }
67742 _ACEOF
67743 if ac_fn_cxx_try_compile "$LINENO"; then :
67744 glibcxx_cv_func_log10f_use=yes
67745 else
67746 glibcxx_cv_func_log10f_use=no
67747 fi
67748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67749 ac_ext=c
67750 ac_cpp='$CPP $CPPFLAGS'
67751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67754
67755
67756 fi
67757
67758 fi
67759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67760 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67761
67762 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67763 for ac_func in log10f
67764 do :
67765 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67766 if test "x$ac_cv_func_log10f" = x""yes; then :
67767 cat >>confdefs.h <<_ACEOF
67768 #define HAVE_LOG10F 1
67769 _ACEOF
67770
67771 fi
67772 done
67773
67774 else
67775
67776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67777 $as_echo_n "checking for _log10f declaration... " >&6; }
67778 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67779 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67780 $as_echo_n "(cached) " >&6
67781 else
67782
67783
67784 ac_ext=cpp
67785 ac_cpp='$CXXCPP $CPPFLAGS'
67786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67789
67790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67791 /* end confdefs.h. */
67792 #include <math.h>
67793 #ifdef HAVE_IEEEFP_H
67794 #include <ieeefp.h>
67795 #endif
67796
67797 int
67798 main ()
67799 {
67800 _log10f(0);
67801 ;
67802 return 0;
67803 }
67804 _ACEOF
67805 if ac_fn_cxx_try_compile "$LINENO"; then :
67806 glibcxx_cv_func__log10f_use=yes
67807 else
67808 glibcxx_cv_func__log10f_use=no
67809 fi
67810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67811 ac_ext=c
67812 ac_cpp='$CPP $CPPFLAGS'
67813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67816
67817
67818 fi
67819
67820 fi
67821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67822 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67823
67824 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67825 for ac_func in _log10f
67826 do :
67827 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67828 if test "x$ac_cv_func__log10f" = x""yes; then :
67829 cat >>confdefs.h <<_ACEOF
67830 #define HAVE__LOG10F 1
67831 _ACEOF
67832
67833 fi
67834 done
67835
67836 fi
67837 fi
67838
67839
67840
67841
67842
67843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67844 $as_echo_n "checking for modff declaration... " >&6; }
67845 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67846 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67847 $as_echo_n "(cached) " >&6
67848 else
67849
67850
67851 ac_ext=cpp
67852 ac_cpp='$CXXCPP $CPPFLAGS'
67853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67856
67857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67858 /* end confdefs.h. */
67859 #include <math.h>
67860 int
67861 main ()
67862 {
67863 modff(0, 0);
67864 ;
67865 return 0;
67866 }
67867 _ACEOF
67868 if ac_fn_cxx_try_compile "$LINENO"; then :
67869 glibcxx_cv_func_modff_use=yes
67870 else
67871 glibcxx_cv_func_modff_use=no
67872 fi
67873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67874 ac_ext=c
67875 ac_cpp='$CPP $CPPFLAGS'
67876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67879
67880
67881 fi
67882
67883 fi
67884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67885 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67886
67887 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67888 for ac_func in modff
67889 do :
67890 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67891 if test "x$ac_cv_func_modff" = x""yes; then :
67892 cat >>confdefs.h <<_ACEOF
67893 #define HAVE_MODFF 1
67894 _ACEOF
67895
67896 fi
67897 done
67898
67899 else
67900
67901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67902 $as_echo_n "checking for _modff declaration... " >&6; }
67903 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67904 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67905 $as_echo_n "(cached) " >&6
67906 else
67907
67908
67909 ac_ext=cpp
67910 ac_cpp='$CXXCPP $CPPFLAGS'
67911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67914
67915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67916 /* end confdefs.h. */
67917 #include <math.h>
67918 int
67919 main ()
67920 {
67921 _modff(0, 0);
67922 ;
67923 return 0;
67924 }
67925 _ACEOF
67926 if ac_fn_cxx_try_compile "$LINENO"; then :
67927 glibcxx_cv_func__modff_use=yes
67928 else
67929 glibcxx_cv_func__modff_use=no
67930 fi
67931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67932 ac_ext=c
67933 ac_cpp='$CPP $CPPFLAGS'
67934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67937
67938
67939 fi
67940
67941 fi
67942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67943 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67944
67945 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67946 for ac_func in _modff
67947 do :
67948 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67949 if test "x$ac_cv_func__modff" = x""yes; then :
67950 cat >>confdefs.h <<_ACEOF
67951 #define HAVE__MODFF 1
67952 _ACEOF
67953
67954 fi
67955 done
67956
67957 fi
67958 fi
67959
67960
67961
67962
67963
67964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67965 $as_echo_n "checking for modf declaration... " >&6; }
67966 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67967 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67968 $as_echo_n "(cached) " >&6
67969 else
67970
67971
67972 ac_ext=cpp
67973 ac_cpp='$CXXCPP $CPPFLAGS'
67974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67977
67978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67979 /* end confdefs.h. */
67980 #include <math.h>
67981 int
67982 main ()
67983 {
67984 modf(0, 0);
67985 ;
67986 return 0;
67987 }
67988 _ACEOF
67989 if ac_fn_cxx_try_compile "$LINENO"; then :
67990 glibcxx_cv_func_modf_use=yes
67991 else
67992 glibcxx_cv_func_modf_use=no
67993 fi
67994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67995 ac_ext=c
67996 ac_cpp='$CPP $CPPFLAGS'
67997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68000
68001
68002 fi
68003
68004 fi
68005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68006 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68007
68008 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68009 for ac_func in modf
68010 do :
68011 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68012 if test "x$ac_cv_func_modf" = x""yes; then :
68013 cat >>confdefs.h <<_ACEOF
68014 #define HAVE_MODF 1
68015 _ACEOF
68016
68017 fi
68018 done
68019
68020 else
68021
68022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68023 $as_echo_n "checking for _modf declaration... " >&6; }
68024 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68025 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68026 $as_echo_n "(cached) " >&6
68027 else
68028
68029
68030 ac_ext=cpp
68031 ac_cpp='$CXXCPP $CPPFLAGS'
68032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68035
68036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68037 /* end confdefs.h. */
68038 #include <math.h>
68039 int
68040 main ()
68041 {
68042 _modf(0, 0);
68043 ;
68044 return 0;
68045 }
68046 _ACEOF
68047 if ac_fn_cxx_try_compile "$LINENO"; then :
68048 glibcxx_cv_func__modf_use=yes
68049 else
68050 glibcxx_cv_func__modf_use=no
68051 fi
68052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68053 ac_ext=c
68054 ac_cpp='$CPP $CPPFLAGS'
68055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68058
68059
68060 fi
68061
68062 fi
68063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68064 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68065
68066 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68067 for ac_func in _modf
68068 do :
68069 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68070 if test "x$ac_cv_func__modf" = x""yes; then :
68071 cat >>confdefs.h <<_ACEOF
68072 #define HAVE__MODF 1
68073 _ACEOF
68074
68075 fi
68076 done
68077
68078 fi
68079 fi
68080
68081
68082
68083
68084
68085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68086 $as_echo_n "checking for powf declaration... " >&6; }
68087 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68088 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68089 $as_echo_n "(cached) " >&6
68090 else
68091
68092
68093 ac_ext=cpp
68094 ac_cpp='$CXXCPP $CPPFLAGS'
68095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68098
68099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68100 /* end confdefs.h. */
68101 #include <math.h>
68102 int
68103 main ()
68104 {
68105 powf(0, 0);
68106 ;
68107 return 0;
68108 }
68109 _ACEOF
68110 if ac_fn_cxx_try_compile "$LINENO"; then :
68111 glibcxx_cv_func_powf_use=yes
68112 else
68113 glibcxx_cv_func_powf_use=no
68114 fi
68115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68116 ac_ext=c
68117 ac_cpp='$CPP $CPPFLAGS'
68118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68121
68122
68123 fi
68124
68125 fi
68126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68127 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68128
68129 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68130 for ac_func in powf
68131 do :
68132 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68133 if test "x$ac_cv_func_powf" = x""yes; then :
68134 cat >>confdefs.h <<_ACEOF
68135 #define HAVE_POWF 1
68136 _ACEOF
68137
68138 fi
68139 done
68140
68141 else
68142
68143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68144 $as_echo_n "checking for _powf declaration... " >&6; }
68145 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68146 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68147 $as_echo_n "(cached) " >&6
68148 else
68149
68150
68151 ac_ext=cpp
68152 ac_cpp='$CXXCPP $CPPFLAGS'
68153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68156
68157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68158 /* end confdefs.h. */
68159 #include <math.h>
68160 int
68161 main ()
68162 {
68163 _powf(0, 0);
68164 ;
68165 return 0;
68166 }
68167 _ACEOF
68168 if ac_fn_cxx_try_compile "$LINENO"; then :
68169 glibcxx_cv_func__powf_use=yes
68170 else
68171 glibcxx_cv_func__powf_use=no
68172 fi
68173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68174 ac_ext=c
68175 ac_cpp='$CPP $CPPFLAGS'
68176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68179
68180
68181 fi
68182
68183 fi
68184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68185 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68186
68187 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68188 for ac_func in _powf
68189 do :
68190 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68191 if test "x$ac_cv_func__powf" = x""yes; then :
68192 cat >>confdefs.h <<_ACEOF
68193 #define HAVE__POWF 1
68194 _ACEOF
68195
68196 fi
68197 done
68198
68199 fi
68200 fi
68201
68202
68203
68204
68205
68206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68207 $as_echo_n "checking for sqrtf declaration... " >&6; }
68208 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68209 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68210 $as_echo_n "(cached) " >&6
68211 else
68212
68213
68214 ac_ext=cpp
68215 ac_cpp='$CXXCPP $CPPFLAGS'
68216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68219
68220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68221 /* end confdefs.h. */
68222 #include <math.h>
68223 #ifdef HAVE_IEEEFP_H
68224 #include <ieeefp.h>
68225 #endif
68226
68227 int
68228 main ()
68229 {
68230 sqrtf(0);
68231 ;
68232 return 0;
68233 }
68234 _ACEOF
68235 if ac_fn_cxx_try_compile "$LINENO"; then :
68236 glibcxx_cv_func_sqrtf_use=yes
68237 else
68238 glibcxx_cv_func_sqrtf_use=no
68239 fi
68240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68241 ac_ext=c
68242 ac_cpp='$CPP $CPPFLAGS'
68243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68246
68247
68248 fi
68249
68250 fi
68251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68252 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68253
68254 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68255 for ac_func in sqrtf
68256 do :
68257 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68258 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68259 cat >>confdefs.h <<_ACEOF
68260 #define HAVE_SQRTF 1
68261 _ACEOF
68262
68263 fi
68264 done
68265
68266 else
68267
68268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68269 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68270 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68271 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68272 $as_echo_n "(cached) " >&6
68273 else
68274
68275
68276 ac_ext=cpp
68277 ac_cpp='$CXXCPP $CPPFLAGS'
68278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68281
68282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68283 /* end confdefs.h. */
68284 #include <math.h>
68285 #ifdef HAVE_IEEEFP_H
68286 #include <ieeefp.h>
68287 #endif
68288
68289 int
68290 main ()
68291 {
68292 _sqrtf(0);
68293 ;
68294 return 0;
68295 }
68296 _ACEOF
68297 if ac_fn_cxx_try_compile "$LINENO"; then :
68298 glibcxx_cv_func__sqrtf_use=yes
68299 else
68300 glibcxx_cv_func__sqrtf_use=no
68301 fi
68302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68303 ac_ext=c
68304 ac_cpp='$CPP $CPPFLAGS'
68305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68308
68309
68310 fi
68311
68312 fi
68313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68314 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68315
68316 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68317 for ac_func in _sqrtf
68318 do :
68319 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68320 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68321 cat >>confdefs.h <<_ACEOF
68322 #define HAVE__SQRTF 1
68323 _ACEOF
68324
68325 fi
68326 done
68327
68328 fi
68329 fi
68330
68331
68332
68333
68334
68335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68336 $as_echo_n "checking for sincosf declaration... " >&6; }
68337 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68338 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68339 $as_echo_n "(cached) " >&6
68340 else
68341
68342
68343 ac_ext=cpp
68344 ac_cpp='$CXXCPP $CPPFLAGS'
68345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68348
68349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68350 /* end confdefs.h. */
68351 #include <math.h>
68352 int
68353 main ()
68354 {
68355 sincosf(0, 0, 0);
68356 ;
68357 return 0;
68358 }
68359 _ACEOF
68360 if ac_fn_cxx_try_compile "$LINENO"; then :
68361 glibcxx_cv_func_sincosf_use=yes
68362 else
68363 glibcxx_cv_func_sincosf_use=no
68364 fi
68365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68366 ac_ext=c
68367 ac_cpp='$CPP $CPPFLAGS'
68368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68371
68372
68373 fi
68374
68375 fi
68376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68377 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68378
68379 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68380 for ac_func in sincosf
68381 do :
68382 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68383 if test "x$ac_cv_func_sincosf" = x""yes; then :
68384 cat >>confdefs.h <<_ACEOF
68385 #define HAVE_SINCOSF 1
68386 _ACEOF
68387
68388 fi
68389 done
68390
68391 else
68392
68393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68394 $as_echo_n "checking for _sincosf declaration... " >&6; }
68395 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68396 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68397 $as_echo_n "(cached) " >&6
68398 else
68399
68400
68401 ac_ext=cpp
68402 ac_cpp='$CXXCPP $CPPFLAGS'
68403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68406
68407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68408 /* end confdefs.h. */
68409 #include <math.h>
68410 int
68411 main ()
68412 {
68413 _sincosf(0, 0, 0);
68414 ;
68415 return 0;
68416 }
68417 _ACEOF
68418 if ac_fn_cxx_try_compile "$LINENO"; then :
68419 glibcxx_cv_func__sincosf_use=yes
68420 else
68421 glibcxx_cv_func__sincosf_use=no
68422 fi
68423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68424 ac_ext=c
68425 ac_cpp='$CPP $CPPFLAGS'
68426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68429
68430
68431 fi
68432
68433 fi
68434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68435 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68436
68437 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68438 for ac_func in _sincosf
68439 do :
68440 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68441 if test "x$ac_cv_func__sincosf" = x""yes; then :
68442 cat >>confdefs.h <<_ACEOF
68443 #define HAVE__SINCOSF 1
68444 _ACEOF
68445
68446 fi
68447 done
68448
68449 fi
68450 fi
68451
68452
68453
68454
68455
68456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68457 $as_echo_n "checking for finitef declaration... " >&6; }
68458 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68459 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68460 $as_echo_n "(cached) " >&6
68461 else
68462
68463
68464 ac_ext=cpp
68465 ac_cpp='$CXXCPP $CPPFLAGS'
68466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68469
68470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68471 /* end confdefs.h. */
68472 #include <math.h>
68473 #ifdef HAVE_IEEEFP_H
68474 #include <ieeefp.h>
68475 #endif
68476
68477 int
68478 main ()
68479 {
68480 finitef(0);
68481 ;
68482 return 0;
68483 }
68484 _ACEOF
68485 if ac_fn_cxx_try_compile "$LINENO"; then :
68486 glibcxx_cv_func_finitef_use=yes
68487 else
68488 glibcxx_cv_func_finitef_use=no
68489 fi
68490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68491 ac_ext=c
68492 ac_cpp='$CPP $CPPFLAGS'
68493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68496
68497
68498 fi
68499
68500 fi
68501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68502 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68503
68504 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68505 for ac_func in finitef
68506 do :
68507 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68508 if test "x$ac_cv_func_finitef" = x""yes; then :
68509 cat >>confdefs.h <<_ACEOF
68510 #define HAVE_FINITEF 1
68511 _ACEOF
68512
68513 fi
68514 done
68515
68516 else
68517
68518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68519 $as_echo_n "checking for _finitef declaration... " >&6; }
68520 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68521 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68522 $as_echo_n "(cached) " >&6
68523 else
68524
68525
68526 ac_ext=cpp
68527 ac_cpp='$CXXCPP $CPPFLAGS'
68528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68531
68532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68533 /* end confdefs.h. */
68534 #include <math.h>
68535 #ifdef HAVE_IEEEFP_H
68536 #include <ieeefp.h>
68537 #endif
68538
68539 int
68540 main ()
68541 {
68542 _finitef(0);
68543 ;
68544 return 0;
68545 }
68546 _ACEOF
68547 if ac_fn_cxx_try_compile "$LINENO"; then :
68548 glibcxx_cv_func__finitef_use=yes
68549 else
68550 glibcxx_cv_func__finitef_use=no
68551 fi
68552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68553 ac_ext=c
68554 ac_cpp='$CPP $CPPFLAGS'
68555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68558
68559
68560 fi
68561
68562 fi
68563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68564 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68565
68566 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68567 for ac_func in _finitef
68568 do :
68569 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68570 if test "x$ac_cv_func__finitef" = x""yes; then :
68571 cat >>confdefs.h <<_ACEOF
68572 #define HAVE__FINITEF 1
68573 _ACEOF
68574
68575 fi
68576 done
68577
68578 fi
68579 fi
68580
68581
68582
68583
68584
68585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68586 $as_echo_n "checking for long double trig functions... " >&6; }
68587 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68588 $as_echo_n "(cached) " >&6
68589 else
68590
68591
68592 ac_ext=cpp
68593 ac_cpp='$CXXCPP $CPPFLAGS'
68594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68597
68598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68599 /* end confdefs.h. */
68600 #include <math.h>
68601 int
68602 main ()
68603 {
68604 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68605 ;
68606 return 0;
68607 }
68608 _ACEOF
68609 if ac_fn_cxx_try_compile "$LINENO"; then :
68610 glibcxx_cv_func_long_double_trig_use=yes
68611 else
68612 glibcxx_cv_func_long_double_trig_use=no
68613 fi
68614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68615 ac_ext=c
68616 ac_cpp='$CPP $CPPFLAGS'
68617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68620
68621 fi
68622
68623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68624 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68625 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68626 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68627 do :
68628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68630 eval as_val=\$$as_ac_var
68631 if test "x$as_val" = x""yes; then :
68632 cat >>confdefs.h <<_ACEOF
68633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68634 _ACEOF
68635
68636 fi
68637 done
68638
68639 else
68640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68641 $as_echo_n "checking for _long double trig functions... " >&6; }
68642 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68643 $as_echo_n "(cached) " >&6
68644 else
68645
68646
68647 ac_ext=cpp
68648 ac_cpp='$CXXCPP $CPPFLAGS'
68649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68652
68653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68654 /* end confdefs.h. */
68655 #include <math.h>
68656 int
68657 main ()
68658 {
68659 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68660 ;
68661 return 0;
68662 }
68663 _ACEOF
68664 if ac_fn_cxx_try_compile "$LINENO"; then :
68665 glibcxx_cv_func__long_double_trig_use=yes
68666 else
68667 glibcxx_cv_func__long_double_trig_use=no
68668 fi
68669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68670 ac_ext=c
68671 ac_cpp='$CPP $CPPFLAGS'
68672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68675
68676 fi
68677
68678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68679 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68680 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68681 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68682 do :
68683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68685 eval as_val=\$$as_ac_var
68686 if test "x$as_val" = x""yes; then :
68687 cat >>confdefs.h <<_ACEOF
68688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68689 _ACEOF
68690
68691 fi
68692 done
68693
68694 fi
68695 fi
68696
68697
68698
68699
68700
68701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68702 $as_echo_n "checking for long double round functions... " >&6; }
68703 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68704 $as_echo_n "(cached) " >&6
68705 else
68706
68707
68708 ac_ext=cpp
68709 ac_cpp='$CXXCPP $CPPFLAGS'
68710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68713
68714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68715 /* end confdefs.h. */
68716 #include <math.h>
68717 int
68718 main ()
68719 {
68720 ceill (0); floorl (0);
68721 ;
68722 return 0;
68723 }
68724 _ACEOF
68725 if ac_fn_cxx_try_compile "$LINENO"; then :
68726 glibcxx_cv_func_long_double_round_use=yes
68727 else
68728 glibcxx_cv_func_long_double_round_use=no
68729 fi
68730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68731 ac_ext=c
68732 ac_cpp='$CPP $CPPFLAGS'
68733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68736
68737 fi
68738
68739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68740 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68741 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68742 for ac_func in ceill floorl
68743 do :
68744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68746 eval as_val=\$$as_ac_var
68747 if test "x$as_val" = x""yes; then :
68748 cat >>confdefs.h <<_ACEOF
68749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68750 _ACEOF
68751
68752 fi
68753 done
68754
68755 else
68756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68757 $as_echo_n "checking for _long double round functions... " >&6; }
68758 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68759 $as_echo_n "(cached) " >&6
68760 else
68761
68762
68763 ac_ext=cpp
68764 ac_cpp='$CXXCPP $CPPFLAGS'
68765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68768
68769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68770 /* end confdefs.h. */
68771 #include <math.h>
68772 int
68773 main ()
68774 {
68775 _ceill (0); _floorl (0);
68776 ;
68777 return 0;
68778 }
68779 _ACEOF
68780 if ac_fn_cxx_try_compile "$LINENO"; then :
68781 glibcxx_cv_func__long_double_round_use=yes
68782 else
68783 glibcxx_cv_func__long_double_round_use=no
68784 fi
68785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68786 ac_ext=c
68787 ac_cpp='$CPP $CPPFLAGS'
68788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68791
68792 fi
68793
68794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68795 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68796 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68797 for ac_func in _ceill _floorl
68798 do :
68799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68801 eval as_val=\$$as_ac_var
68802 if test "x$as_val" = x""yes; then :
68803 cat >>confdefs.h <<_ACEOF
68804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68805 _ACEOF
68806
68807 fi
68808 done
68809
68810 fi
68811 fi
68812
68813
68814
68815
68816
68817
68818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68819 $as_echo_n "checking for isnanl declaration... " >&6; }
68820 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68821 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68822 $as_echo_n "(cached) " >&6
68823 else
68824
68825
68826 ac_ext=cpp
68827 ac_cpp='$CXXCPP $CPPFLAGS'
68828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68831
68832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68833 /* end confdefs.h. */
68834 #include <math.h>
68835 #ifdef HAVE_IEEEFP_H
68836 #include <ieeefp.h>
68837 #endif
68838
68839 int
68840 main ()
68841 {
68842 isnanl(0);
68843 ;
68844 return 0;
68845 }
68846 _ACEOF
68847 if ac_fn_cxx_try_compile "$LINENO"; then :
68848 glibcxx_cv_func_isnanl_use=yes
68849 else
68850 glibcxx_cv_func_isnanl_use=no
68851 fi
68852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68853 ac_ext=c
68854 ac_cpp='$CPP $CPPFLAGS'
68855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68858
68859
68860 fi
68861
68862 fi
68863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68864 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68865
68866 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68867 for ac_func in isnanl
68868 do :
68869 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68870 if test "x$ac_cv_func_isnanl" = x""yes; then :
68871 cat >>confdefs.h <<_ACEOF
68872 #define HAVE_ISNANL 1
68873 _ACEOF
68874
68875 fi
68876 done
68877
68878 else
68879
68880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68881 $as_echo_n "checking for _isnanl declaration... " >&6; }
68882 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68883 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68884 $as_echo_n "(cached) " >&6
68885 else
68886
68887
68888 ac_ext=cpp
68889 ac_cpp='$CXXCPP $CPPFLAGS'
68890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68893
68894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68895 /* end confdefs.h. */
68896 #include <math.h>
68897 #ifdef HAVE_IEEEFP_H
68898 #include <ieeefp.h>
68899 #endif
68900
68901 int
68902 main ()
68903 {
68904 _isnanl(0);
68905 ;
68906 return 0;
68907 }
68908 _ACEOF
68909 if ac_fn_cxx_try_compile "$LINENO"; then :
68910 glibcxx_cv_func__isnanl_use=yes
68911 else
68912 glibcxx_cv_func__isnanl_use=no
68913 fi
68914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68915 ac_ext=c
68916 ac_cpp='$CPP $CPPFLAGS'
68917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68920
68921
68922 fi
68923
68924 fi
68925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68926 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68927
68928 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68929 for ac_func in _isnanl
68930 do :
68931 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68932 if test "x$ac_cv_func__isnanl" = x""yes; then :
68933 cat >>confdefs.h <<_ACEOF
68934 #define HAVE__ISNANL 1
68935 _ACEOF
68936
68937 fi
68938 done
68939
68940 fi
68941 fi
68942
68943
68944
68945
68946
68947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68948 $as_echo_n "checking for isinfl declaration... " >&6; }
68949 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68950 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68951 $as_echo_n "(cached) " >&6
68952 else
68953
68954
68955 ac_ext=cpp
68956 ac_cpp='$CXXCPP $CPPFLAGS'
68957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68960
68961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68962 /* end confdefs.h. */
68963 #include <math.h>
68964 #ifdef HAVE_IEEEFP_H
68965 #include <ieeefp.h>
68966 #endif
68967
68968 int
68969 main ()
68970 {
68971 isinfl(0);
68972 ;
68973 return 0;
68974 }
68975 _ACEOF
68976 if ac_fn_cxx_try_compile "$LINENO"; then :
68977 glibcxx_cv_func_isinfl_use=yes
68978 else
68979 glibcxx_cv_func_isinfl_use=no
68980 fi
68981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68982 ac_ext=c
68983 ac_cpp='$CPP $CPPFLAGS'
68984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68987
68988
68989 fi
68990
68991 fi
68992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68993 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68994
68995 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68996 for ac_func in isinfl
68997 do :
68998 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68999 if test "x$ac_cv_func_isinfl" = x""yes; then :
69000 cat >>confdefs.h <<_ACEOF
69001 #define HAVE_ISINFL 1
69002 _ACEOF
69003
69004 fi
69005 done
69006
69007 else
69008
69009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69010 $as_echo_n "checking for _isinfl declaration... " >&6; }
69011 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69012 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69013 $as_echo_n "(cached) " >&6
69014 else
69015
69016
69017 ac_ext=cpp
69018 ac_cpp='$CXXCPP $CPPFLAGS'
69019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69022
69023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69024 /* end confdefs.h. */
69025 #include <math.h>
69026 #ifdef HAVE_IEEEFP_H
69027 #include <ieeefp.h>
69028 #endif
69029
69030 int
69031 main ()
69032 {
69033 _isinfl(0);
69034 ;
69035 return 0;
69036 }
69037 _ACEOF
69038 if ac_fn_cxx_try_compile "$LINENO"; then :
69039 glibcxx_cv_func__isinfl_use=yes
69040 else
69041 glibcxx_cv_func__isinfl_use=no
69042 fi
69043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69044 ac_ext=c
69045 ac_cpp='$CPP $CPPFLAGS'
69046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69049
69050
69051 fi
69052
69053 fi
69054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69055 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69056
69057 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69058 for ac_func in _isinfl
69059 do :
69060 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69061 if test "x$ac_cv_func__isinfl" = x""yes; then :
69062 cat >>confdefs.h <<_ACEOF
69063 #define HAVE__ISINFL 1
69064 _ACEOF
69065
69066 fi
69067 done
69068
69069 fi
69070 fi
69071
69072
69073
69074
69075
69076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69077 $as_echo_n "checking for atan2l declaration... " >&6; }
69078 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69079 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69080 $as_echo_n "(cached) " >&6
69081 else
69082
69083
69084 ac_ext=cpp
69085 ac_cpp='$CXXCPP $CPPFLAGS'
69086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69089
69090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69091 /* end confdefs.h. */
69092 #include <math.h>
69093 int
69094 main ()
69095 {
69096 atan2l(0, 0);
69097 ;
69098 return 0;
69099 }
69100 _ACEOF
69101 if ac_fn_cxx_try_compile "$LINENO"; then :
69102 glibcxx_cv_func_atan2l_use=yes
69103 else
69104 glibcxx_cv_func_atan2l_use=no
69105 fi
69106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69107 ac_ext=c
69108 ac_cpp='$CPP $CPPFLAGS'
69109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69112
69113
69114 fi
69115
69116 fi
69117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69118 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69119
69120 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69121 for ac_func in atan2l
69122 do :
69123 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69124 if test "x$ac_cv_func_atan2l" = x""yes; then :
69125 cat >>confdefs.h <<_ACEOF
69126 #define HAVE_ATAN2L 1
69127 _ACEOF
69128
69129 fi
69130 done
69131
69132 else
69133
69134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69135 $as_echo_n "checking for _atan2l declaration... " >&6; }
69136 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69137 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69138 $as_echo_n "(cached) " >&6
69139 else
69140
69141
69142 ac_ext=cpp
69143 ac_cpp='$CXXCPP $CPPFLAGS'
69144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69147
69148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69149 /* end confdefs.h. */
69150 #include <math.h>
69151 int
69152 main ()
69153 {
69154 _atan2l(0, 0);
69155 ;
69156 return 0;
69157 }
69158 _ACEOF
69159 if ac_fn_cxx_try_compile "$LINENO"; then :
69160 glibcxx_cv_func__atan2l_use=yes
69161 else
69162 glibcxx_cv_func__atan2l_use=no
69163 fi
69164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69165 ac_ext=c
69166 ac_cpp='$CPP $CPPFLAGS'
69167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69170
69171
69172 fi
69173
69174 fi
69175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69176 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69177
69178 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69179 for ac_func in _atan2l
69180 do :
69181 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69182 if test "x$ac_cv_func__atan2l" = x""yes; then :
69183 cat >>confdefs.h <<_ACEOF
69184 #define HAVE__ATAN2L 1
69185 _ACEOF
69186
69187 fi
69188 done
69189
69190 fi
69191 fi
69192
69193
69194
69195
69196
69197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69198 $as_echo_n "checking for expl declaration... " >&6; }
69199 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69200 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69201 $as_echo_n "(cached) " >&6
69202 else
69203
69204
69205 ac_ext=cpp
69206 ac_cpp='$CXXCPP $CPPFLAGS'
69207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69210
69211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69212 /* end confdefs.h. */
69213 #include <math.h>
69214 #ifdef HAVE_IEEEFP_H
69215 #include <ieeefp.h>
69216 #endif
69217
69218 int
69219 main ()
69220 {
69221 expl(0);
69222 ;
69223 return 0;
69224 }
69225 _ACEOF
69226 if ac_fn_cxx_try_compile "$LINENO"; then :
69227 glibcxx_cv_func_expl_use=yes
69228 else
69229 glibcxx_cv_func_expl_use=no
69230 fi
69231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69232 ac_ext=c
69233 ac_cpp='$CPP $CPPFLAGS'
69234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69237
69238
69239 fi
69240
69241 fi
69242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69243 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69244
69245 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69246 for ac_func in expl
69247 do :
69248 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69249 if test "x$ac_cv_func_expl" = x""yes; then :
69250 cat >>confdefs.h <<_ACEOF
69251 #define HAVE_EXPL 1
69252 _ACEOF
69253
69254 fi
69255 done
69256
69257 else
69258
69259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69260 $as_echo_n "checking for _expl declaration... " >&6; }
69261 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69262 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69263 $as_echo_n "(cached) " >&6
69264 else
69265
69266
69267 ac_ext=cpp
69268 ac_cpp='$CXXCPP $CPPFLAGS'
69269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69272
69273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69274 /* end confdefs.h. */
69275 #include <math.h>
69276 #ifdef HAVE_IEEEFP_H
69277 #include <ieeefp.h>
69278 #endif
69279
69280 int
69281 main ()
69282 {
69283 _expl(0);
69284 ;
69285 return 0;
69286 }
69287 _ACEOF
69288 if ac_fn_cxx_try_compile "$LINENO"; then :
69289 glibcxx_cv_func__expl_use=yes
69290 else
69291 glibcxx_cv_func__expl_use=no
69292 fi
69293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69294 ac_ext=c
69295 ac_cpp='$CPP $CPPFLAGS'
69296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69299
69300
69301 fi
69302
69303 fi
69304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69305 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69306
69307 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69308 for ac_func in _expl
69309 do :
69310 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69311 if test "x$ac_cv_func__expl" = x""yes; then :
69312 cat >>confdefs.h <<_ACEOF
69313 #define HAVE__EXPL 1
69314 _ACEOF
69315
69316 fi
69317 done
69318
69319 fi
69320 fi
69321
69322
69323
69324
69325
69326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69327 $as_echo_n "checking for fabsl declaration... " >&6; }
69328 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69329 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69330 $as_echo_n "(cached) " >&6
69331 else
69332
69333
69334 ac_ext=cpp
69335 ac_cpp='$CXXCPP $CPPFLAGS'
69336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69339
69340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69341 /* end confdefs.h. */
69342 #include <math.h>
69343 #ifdef HAVE_IEEEFP_H
69344 #include <ieeefp.h>
69345 #endif
69346
69347 int
69348 main ()
69349 {
69350 fabsl(0);
69351 ;
69352 return 0;
69353 }
69354 _ACEOF
69355 if ac_fn_cxx_try_compile "$LINENO"; then :
69356 glibcxx_cv_func_fabsl_use=yes
69357 else
69358 glibcxx_cv_func_fabsl_use=no
69359 fi
69360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69361 ac_ext=c
69362 ac_cpp='$CPP $CPPFLAGS'
69363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69366
69367
69368 fi
69369
69370 fi
69371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69372 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69373
69374 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69375 for ac_func in fabsl
69376 do :
69377 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69378 if test "x$ac_cv_func_fabsl" = x""yes; then :
69379 cat >>confdefs.h <<_ACEOF
69380 #define HAVE_FABSL 1
69381 _ACEOF
69382
69383 fi
69384 done
69385
69386 else
69387
69388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69389 $as_echo_n "checking for _fabsl declaration... " >&6; }
69390 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69391 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69392 $as_echo_n "(cached) " >&6
69393 else
69394
69395
69396 ac_ext=cpp
69397 ac_cpp='$CXXCPP $CPPFLAGS'
69398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69401
69402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69403 /* end confdefs.h. */
69404 #include <math.h>
69405 #ifdef HAVE_IEEEFP_H
69406 #include <ieeefp.h>
69407 #endif
69408
69409 int
69410 main ()
69411 {
69412 _fabsl(0);
69413 ;
69414 return 0;
69415 }
69416 _ACEOF
69417 if ac_fn_cxx_try_compile "$LINENO"; then :
69418 glibcxx_cv_func__fabsl_use=yes
69419 else
69420 glibcxx_cv_func__fabsl_use=no
69421 fi
69422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69423 ac_ext=c
69424 ac_cpp='$CPP $CPPFLAGS'
69425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69428
69429
69430 fi
69431
69432 fi
69433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69434 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69435
69436 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69437 for ac_func in _fabsl
69438 do :
69439 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69440 if test "x$ac_cv_func__fabsl" = x""yes; then :
69441 cat >>confdefs.h <<_ACEOF
69442 #define HAVE__FABSL 1
69443 _ACEOF
69444
69445 fi
69446 done
69447
69448 fi
69449 fi
69450
69451
69452
69453
69454
69455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69456 $as_echo_n "checking for fmodl declaration... " >&6; }
69457 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69458 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69459 $as_echo_n "(cached) " >&6
69460 else
69461
69462
69463 ac_ext=cpp
69464 ac_cpp='$CXXCPP $CPPFLAGS'
69465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69468
69469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69470 /* end confdefs.h. */
69471 #include <math.h>
69472 int
69473 main ()
69474 {
69475 fmodl(0, 0);
69476 ;
69477 return 0;
69478 }
69479 _ACEOF
69480 if ac_fn_cxx_try_compile "$LINENO"; then :
69481 glibcxx_cv_func_fmodl_use=yes
69482 else
69483 glibcxx_cv_func_fmodl_use=no
69484 fi
69485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69486 ac_ext=c
69487 ac_cpp='$CPP $CPPFLAGS'
69488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69491
69492
69493 fi
69494
69495 fi
69496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69497 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69498
69499 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69500 for ac_func in fmodl
69501 do :
69502 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69503 if test "x$ac_cv_func_fmodl" = x""yes; then :
69504 cat >>confdefs.h <<_ACEOF
69505 #define HAVE_FMODL 1
69506 _ACEOF
69507
69508 fi
69509 done
69510
69511 else
69512
69513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69514 $as_echo_n "checking for _fmodl declaration... " >&6; }
69515 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69516 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69517 $as_echo_n "(cached) " >&6
69518 else
69519
69520
69521 ac_ext=cpp
69522 ac_cpp='$CXXCPP $CPPFLAGS'
69523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69526
69527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69528 /* end confdefs.h. */
69529 #include <math.h>
69530 int
69531 main ()
69532 {
69533 _fmodl(0, 0);
69534 ;
69535 return 0;
69536 }
69537 _ACEOF
69538 if ac_fn_cxx_try_compile "$LINENO"; then :
69539 glibcxx_cv_func__fmodl_use=yes
69540 else
69541 glibcxx_cv_func__fmodl_use=no
69542 fi
69543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69544 ac_ext=c
69545 ac_cpp='$CPP $CPPFLAGS'
69546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69549
69550
69551 fi
69552
69553 fi
69554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69555 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69556
69557 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69558 for ac_func in _fmodl
69559 do :
69560 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69561 if test "x$ac_cv_func__fmodl" = x""yes; then :
69562 cat >>confdefs.h <<_ACEOF
69563 #define HAVE__FMODL 1
69564 _ACEOF
69565
69566 fi
69567 done
69568
69569 fi
69570 fi
69571
69572
69573
69574
69575
69576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69577 $as_echo_n "checking for frexpl declaration... " >&6; }
69578 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69579 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69580 $as_echo_n "(cached) " >&6
69581 else
69582
69583
69584 ac_ext=cpp
69585 ac_cpp='$CXXCPP $CPPFLAGS'
69586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69589
69590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69591 /* end confdefs.h. */
69592 #include <math.h>
69593 int
69594 main ()
69595 {
69596 frexpl(0, 0);
69597 ;
69598 return 0;
69599 }
69600 _ACEOF
69601 if ac_fn_cxx_try_compile "$LINENO"; then :
69602 glibcxx_cv_func_frexpl_use=yes
69603 else
69604 glibcxx_cv_func_frexpl_use=no
69605 fi
69606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69607 ac_ext=c
69608 ac_cpp='$CPP $CPPFLAGS'
69609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69612
69613
69614 fi
69615
69616 fi
69617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69618 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69619
69620 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69621 for ac_func in frexpl
69622 do :
69623 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69624 if test "x$ac_cv_func_frexpl" = x""yes; then :
69625 cat >>confdefs.h <<_ACEOF
69626 #define HAVE_FREXPL 1
69627 _ACEOF
69628
69629 fi
69630 done
69631
69632 else
69633
69634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69635 $as_echo_n "checking for _frexpl declaration... " >&6; }
69636 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69637 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69638 $as_echo_n "(cached) " >&6
69639 else
69640
69641
69642 ac_ext=cpp
69643 ac_cpp='$CXXCPP $CPPFLAGS'
69644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69647
69648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69649 /* end confdefs.h. */
69650 #include <math.h>
69651 int
69652 main ()
69653 {
69654 _frexpl(0, 0);
69655 ;
69656 return 0;
69657 }
69658 _ACEOF
69659 if ac_fn_cxx_try_compile "$LINENO"; then :
69660 glibcxx_cv_func__frexpl_use=yes
69661 else
69662 glibcxx_cv_func__frexpl_use=no
69663 fi
69664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69665 ac_ext=c
69666 ac_cpp='$CPP $CPPFLAGS'
69667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69670
69671
69672 fi
69673
69674 fi
69675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69676 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69677
69678 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69679 for ac_func in _frexpl
69680 do :
69681 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69682 if test "x$ac_cv_func__frexpl" = x""yes; then :
69683 cat >>confdefs.h <<_ACEOF
69684 #define HAVE__FREXPL 1
69685 _ACEOF
69686
69687 fi
69688 done
69689
69690 fi
69691 fi
69692
69693
69694
69695
69696
69697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69698 $as_echo_n "checking for hypotl declaration... " >&6; }
69699 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69700 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69701 $as_echo_n "(cached) " >&6
69702 else
69703
69704
69705 ac_ext=cpp
69706 ac_cpp='$CXXCPP $CPPFLAGS'
69707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69710
69711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69712 /* end confdefs.h. */
69713 #include <math.h>
69714 int
69715 main ()
69716 {
69717 hypotl(0, 0);
69718 ;
69719 return 0;
69720 }
69721 _ACEOF
69722 if ac_fn_cxx_try_compile "$LINENO"; then :
69723 glibcxx_cv_func_hypotl_use=yes
69724 else
69725 glibcxx_cv_func_hypotl_use=no
69726 fi
69727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69728 ac_ext=c
69729 ac_cpp='$CPP $CPPFLAGS'
69730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69733
69734
69735 fi
69736
69737 fi
69738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69739 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69740
69741 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69742 for ac_func in hypotl
69743 do :
69744 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69745 if test "x$ac_cv_func_hypotl" = x""yes; then :
69746 cat >>confdefs.h <<_ACEOF
69747 #define HAVE_HYPOTL 1
69748 _ACEOF
69749
69750 fi
69751 done
69752
69753 else
69754
69755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69756 $as_echo_n "checking for _hypotl declaration... " >&6; }
69757 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69758 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69759 $as_echo_n "(cached) " >&6
69760 else
69761
69762
69763 ac_ext=cpp
69764 ac_cpp='$CXXCPP $CPPFLAGS'
69765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69768
69769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69770 /* end confdefs.h. */
69771 #include <math.h>
69772 int
69773 main ()
69774 {
69775 _hypotl(0, 0);
69776 ;
69777 return 0;
69778 }
69779 _ACEOF
69780 if ac_fn_cxx_try_compile "$LINENO"; then :
69781 glibcxx_cv_func__hypotl_use=yes
69782 else
69783 glibcxx_cv_func__hypotl_use=no
69784 fi
69785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69786 ac_ext=c
69787 ac_cpp='$CPP $CPPFLAGS'
69788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69791
69792
69793 fi
69794
69795 fi
69796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69797 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69798
69799 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69800 for ac_func in _hypotl
69801 do :
69802 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69803 if test "x$ac_cv_func__hypotl" = x""yes; then :
69804 cat >>confdefs.h <<_ACEOF
69805 #define HAVE__HYPOTL 1
69806 _ACEOF
69807
69808 fi
69809 done
69810
69811 fi
69812 fi
69813
69814
69815
69816
69817
69818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69819 $as_echo_n "checking for ldexpl declaration... " >&6; }
69820 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69821 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69822 $as_echo_n "(cached) " >&6
69823 else
69824
69825
69826 ac_ext=cpp
69827 ac_cpp='$CXXCPP $CPPFLAGS'
69828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69831
69832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69833 /* end confdefs.h. */
69834 #include <math.h>
69835 int
69836 main ()
69837 {
69838 ldexpl(0, 0);
69839 ;
69840 return 0;
69841 }
69842 _ACEOF
69843 if ac_fn_cxx_try_compile "$LINENO"; then :
69844 glibcxx_cv_func_ldexpl_use=yes
69845 else
69846 glibcxx_cv_func_ldexpl_use=no
69847 fi
69848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69849 ac_ext=c
69850 ac_cpp='$CPP $CPPFLAGS'
69851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69854
69855
69856 fi
69857
69858 fi
69859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69860 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69861
69862 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69863 for ac_func in ldexpl
69864 do :
69865 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69866 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69867 cat >>confdefs.h <<_ACEOF
69868 #define HAVE_LDEXPL 1
69869 _ACEOF
69870
69871 fi
69872 done
69873
69874 else
69875
69876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69877 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69878 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69879 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69880 $as_echo_n "(cached) " >&6
69881 else
69882
69883
69884 ac_ext=cpp
69885 ac_cpp='$CXXCPP $CPPFLAGS'
69886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69889
69890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69891 /* end confdefs.h. */
69892 #include <math.h>
69893 int
69894 main ()
69895 {
69896 _ldexpl(0, 0);
69897 ;
69898 return 0;
69899 }
69900 _ACEOF
69901 if ac_fn_cxx_try_compile "$LINENO"; then :
69902 glibcxx_cv_func__ldexpl_use=yes
69903 else
69904 glibcxx_cv_func__ldexpl_use=no
69905 fi
69906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69907 ac_ext=c
69908 ac_cpp='$CPP $CPPFLAGS'
69909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69912
69913
69914 fi
69915
69916 fi
69917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69918 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69919
69920 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69921 for ac_func in _ldexpl
69922 do :
69923 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69924 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69925 cat >>confdefs.h <<_ACEOF
69926 #define HAVE__LDEXPL 1
69927 _ACEOF
69928
69929 fi
69930 done
69931
69932 fi
69933 fi
69934
69935
69936
69937
69938
69939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69940 $as_echo_n "checking for logl declaration... " >&6; }
69941 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69942 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69943 $as_echo_n "(cached) " >&6
69944 else
69945
69946
69947 ac_ext=cpp
69948 ac_cpp='$CXXCPP $CPPFLAGS'
69949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69952
69953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69954 /* end confdefs.h. */
69955 #include <math.h>
69956 #ifdef HAVE_IEEEFP_H
69957 #include <ieeefp.h>
69958 #endif
69959
69960 int
69961 main ()
69962 {
69963 logl(0);
69964 ;
69965 return 0;
69966 }
69967 _ACEOF
69968 if ac_fn_cxx_try_compile "$LINENO"; then :
69969 glibcxx_cv_func_logl_use=yes
69970 else
69971 glibcxx_cv_func_logl_use=no
69972 fi
69973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69974 ac_ext=c
69975 ac_cpp='$CPP $CPPFLAGS'
69976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69979
69980
69981 fi
69982
69983 fi
69984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69985 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69986
69987 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69988 for ac_func in logl
69989 do :
69990 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69991 if test "x$ac_cv_func_logl" = x""yes; then :
69992 cat >>confdefs.h <<_ACEOF
69993 #define HAVE_LOGL 1
69994 _ACEOF
69995
69996 fi
69997 done
69998
69999 else
70000
70001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70002 $as_echo_n "checking for _logl declaration... " >&6; }
70003 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70004 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70005 $as_echo_n "(cached) " >&6
70006 else
70007
70008
70009 ac_ext=cpp
70010 ac_cpp='$CXXCPP $CPPFLAGS'
70011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70014
70015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70016 /* end confdefs.h. */
70017 #include <math.h>
70018 #ifdef HAVE_IEEEFP_H
70019 #include <ieeefp.h>
70020 #endif
70021
70022 int
70023 main ()
70024 {
70025 _logl(0);
70026 ;
70027 return 0;
70028 }
70029 _ACEOF
70030 if ac_fn_cxx_try_compile "$LINENO"; then :
70031 glibcxx_cv_func__logl_use=yes
70032 else
70033 glibcxx_cv_func__logl_use=no
70034 fi
70035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70036 ac_ext=c
70037 ac_cpp='$CPP $CPPFLAGS'
70038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70041
70042
70043 fi
70044
70045 fi
70046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70047 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70048
70049 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70050 for ac_func in _logl
70051 do :
70052 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70053 if test "x$ac_cv_func__logl" = x""yes; then :
70054 cat >>confdefs.h <<_ACEOF
70055 #define HAVE__LOGL 1
70056 _ACEOF
70057
70058 fi
70059 done
70060
70061 fi
70062 fi
70063
70064
70065
70066
70067
70068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70069 $as_echo_n "checking for log10l declaration... " >&6; }
70070 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70071 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70072 $as_echo_n "(cached) " >&6
70073 else
70074
70075
70076 ac_ext=cpp
70077 ac_cpp='$CXXCPP $CPPFLAGS'
70078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70081
70082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70083 /* end confdefs.h. */
70084 #include <math.h>
70085 #ifdef HAVE_IEEEFP_H
70086 #include <ieeefp.h>
70087 #endif
70088
70089 int
70090 main ()
70091 {
70092 log10l(0);
70093 ;
70094 return 0;
70095 }
70096 _ACEOF
70097 if ac_fn_cxx_try_compile "$LINENO"; then :
70098 glibcxx_cv_func_log10l_use=yes
70099 else
70100 glibcxx_cv_func_log10l_use=no
70101 fi
70102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70103 ac_ext=c
70104 ac_cpp='$CPP $CPPFLAGS'
70105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70108
70109
70110 fi
70111
70112 fi
70113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70114 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70115
70116 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70117 for ac_func in log10l
70118 do :
70119 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70120 if test "x$ac_cv_func_log10l" = x""yes; then :
70121 cat >>confdefs.h <<_ACEOF
70122 #define HAVE_LOG10L 1
70123 _ACEOF
70124
70125 fi
70126 done
70127
70128 else
70129
70130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70131 $as_echo_n "checking for _log10l declaration... " >&6; }
70132 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70133 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70134 $as_echo_n "(cached) " >&6
70135 else
70136
70137
70138 ac_ext=cpp
70139 ac_cpp='$CXXCPP $CPPFLAGS'
70140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70143
70144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70145 /* end confdefs.h. */
70146 #include <math.h>
70147 #ifdef HAVE_IEEEFP_H
70148 #include <ieeefp.h>
70149 #endif
70150
70151 int
70152 main ()
70153 {
70154 _log10l(0);
70155 ;
70156 return 0;
70157 }
70158 _ACEOF
70159 if ac_fn_cxx_try_compile "$LINENO"; then :
70160 glibcxx_cv_func__log10l_use=yes
70161 else
70162 glibcxx_cv_func__log10l_use=no
70163 fi
70164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70165 ac_ext=c
70166 ac_cpp='$CPP $CPPFLAGS'
70167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70170
70171
70172 fi
70173
70174 fi
70175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70176 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70177
70178 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70179 for ac_func in _log10l
70180 do :
70181 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70182 if test "x$ac_cv_func__log10l" = x""yes; then :
70183 cat >>confdefs.h <<_ACEOF
70184 #define HAVE__LOG10L 1
70185 _ACEOF
70186
70187 fi
70188 done
70189
70190 fi
70191 fi
70192
70193
70194
70195
70196
70197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70198 $as_echo_n "checking for modfl declaration... " >&6; }
70199 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70200 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70201 $as_echo_n "(cached) " >&6
70202 else
70203
70204
70205 ac_ext=cpp
70206 ac_cpp='$CXXCPP $CPPFLAGS'
70207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70210
70211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70212 /* end confdefs.h. */
70213 #include <math.h>
70214 int
70215 main ()
70216 {
70217 modfl(0, 0);
70218 ;
70219 return 0;
70220 }
70221 _ACEOF
70222 if ac_fn_cxx_try_compile "$LINENO"; then :
70223 glibcxx_cv_func_modfl_use=yes
70224 else
70225 glibcxx_cv_func_modfl_use=no
70226 fi
70227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70228 ac_ext=c
70229 ac_cpp='$CPP $CPPFLAGS'
70230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70233
70234
70235 fi
70236
70237 fi
70238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70239 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70240
70241 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70242 for ac_func in modfl
70243 do :
70244 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70245 if test "x$ac_cv_func_modfl" = x""yes; then :
70246 cat >>confdefs.h <<_ACEOF
70247 #define HAVE_MODFL 1
70248 _ACEOF
70249
70250 fi
70251 done
70252
70253 else
70254
70255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70256 $as_echo_n "checking for _modfl declaration... " >&6; }
70257 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70258 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70259 $as_echo_n "(cached) " >&6
70260 else
70261
70262
70263 ac_ext=cpp
70264 ac_cpp='$CXXCPP $CPPFLAGS'
70265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70268
70269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70270 /* end confdefs.h. */
70271 #include <math.h>
70272 int
70273 main ()
70274 {
70275 _modfl(0, 0);
70276 ;
70277 return 0;
70278 }
70279 _ACEOF
70280 if ac_fn_cxx_try_compile "$LINENO"; then :
70281 glibcxx_cv_func__modfl_use=yes
70282 else
70283 glibcxx_cv_func__modfl_use=no
70284 fi
70285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70286 ac_ext=c
70287 ac_cpp='$CPP $CPPFLAGS'
70288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70291
70292
70293 fi
70294
70295 fi
70296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70297 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70298
70299 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70300 for ac_func in _modfl
70301 do :
70302 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70303 if test "x$ac_cv_func__modfl" = x""yes; then :
70304 cat >>confdefs.h <<_ACEOF
70305 #define HAVE__MODFL 1
70306 _ACEOF
70307
70308 fi
70309 done
70310
70311 fi
70312 fi
70313
70314
70315
70316
70317
70318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70319 $as_echo_n "checking for powl declaration... " >&6; }
70320 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70321 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70322 $as_echo_n "(cached) " >&6
70323 else
70324
70325
70326 ac_ext=cpp
70327 ac_cpp='$CXXCPP $CPPFLAGS'
70328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70331
70332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70333 /* end confdefs.h. */
70334 #include <math.h>
70335 int
70336 main ()
70337 {
70338 powl(0, 0);
70339 ;
70340 return 0;
70341 }
70342 _ACEOF
70343 if ac_fn_cxx_try_compile "$LINENO"; then :
70344 glibcxx_cv_func_powl_use=yes
70345 else
70346 glibcxx_cv_func_powl_use=no
70347 fi
70348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70349 ac_ext=c
70350 ac_cpp='$CPP $CPPFLAGS'
70351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70354
70355
70356 fi
70357
70358 fi
70359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70360 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70361
70362 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70363 for ac_func in powl
70364 do :
70365 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70366 if test "x$ac_cv_func_powl" = x""yes; then :
70367 cat >>confdefs.h <<_ACEOF
70368 #define HAVE_POWL 1
70369 _ACEOF
70370
70371 fi
70372 done
70373
70374 else
70375
70376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70377 $as_echo_n "checking for _powl declaration... " >&6; }
70378 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70379 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70380 $as_echo_n "(cached) " >&6
70381 else
70382
70383
70384 ac_ext=cpp
70385 ac_cpp='$CXXCPP $CPPFLAGS'
70386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70389
70390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70391 /* end confdefs.h. */
70392 #include <math.h>
70393 int
70394 main ()
70395 {
70396 _powl(0, 0);
70397 ;
70398 return 0;
70399 }
70400 _ACEOF
70401 if ac_fn_cxx_try_compile "$LINENO"; then :
70402 glibcxx_cv_func__powl_use=yes
70403 else
70404 glibcxx_cv_func__powl_use=no
70405 fi
70406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70407 ac_ext=c
70408 ac_cpp='$CPP $CPPFLAGS'
70409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70412
70413
70414 fi
70415
70416 fi
70417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70418 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70419
70420 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70421 for ac_func in _powl
70422 do :
70423 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70424 if test "x$ac_cv_func__powl" = x""yes; then :
70425 cat >>confdefs.h <<_ACEOF
70426 #define HAVE__POWL 1
70427 _ACEOF
70428
70429 fi
70430 done
70431
70432 fi
70433 fi
70434
70435
70436
70437
70438
70439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70440 $as_echo_n "checking for sqrtl declaration... " >&6; }
70441 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70442 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70443 $as_echo_n "(cached) " >&6
70444 else
70445
70446
70447 ac_ext=cpp
70448 ac_cpp='$CXXCPP $CPPFLAGS'
70449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70452
70453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70454 /* end confdefs.h. */
70455 #include <math.h>
70456 #ifdef HAVE_IEEEFP_H
70457 #include <ieeefp.h>
70458 #endif
70459
70460 int
70461 main ()
70462 {
70463 sqrtl(0);
70464 ;
70465 return 0;
70466 }
70467 _ACEOF
70468 if ac_fn_cxx_try_compile "$LINENO"; then :
70469 glibcxx_cv_func_sqrtl_use=yes
70470 else
70471 glibcxx_cv_func_sqrtl_use=no
70472 fi
70473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70474 ac_ext=c
70475 ac_cpp='$CPP $CPPFLAGS'
70476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70479
70480
70481 fi
70482
70483 fi
70484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70485 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70486
70487 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70488 for ac_func in sqrtl
70489 do :
70490 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70491 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70492 cat >>confdefs.h <<_ACEOF
70493 #define HAVE_SQRTL 1
70494 _ACEOF
70495
70496 fi
70497 done
70498
70499 else
70500
70501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70502 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70503 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70504 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70505 $as_echo_n "(cached) " >&6
70506 else
70507
70508
70509 ac_ext=cpp
70510 ac_cpp='$CXXCPP $CPPFLAGS'
70511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70514
70515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70516 /* end confdefs.h. */
70517 #include <math.h>
70518 #ifdef HAVE_IEEEFP_H
70519 #include <ieeefp.h>
70520 #endif
70521
70522 int
70523 main ()
70524 {
70525 _sqrtl(0);
70526 ;
70527 return 0;
70528 }
70529 _ACEOF
70530 if ac_fn_cxx_try_compile "$LINENO"; then :
70531 glibcxx_cv_func__sqrtl_use=yes
70532 else
70533 glibcxx_cv_func__sqrtl_use=no
70534 fi
70535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70536 ac_ext=c
70537 ac_cpp='$CPP $CPPFLAGS'
70538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70541
70542
70543 fi
70544
70545 fi
70546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70547 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70548
70549 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70550 for ac_func in _sqrtl
70551 do :
70552 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70553 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70554 cat >>confdefs.h <<_ACEOF
70555 #define HAVE__SQRTL 1
70556 _ACEOF
70557
70558 fi
70559 done
70560
70561 fi
70562 fi
70563
70564
70565
70566
70567
70568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70569 $as_echo_n "checking for sincosl declaration... " >&6; }
70570 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70571 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70572 $as_echo_n "(cached) " >&6
70573 else
70574
70575
70576 ac_ext=cpp
70577 ac_cpp='$CXXCPP $CPPFLAGS'
70578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70581
70582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70583 /* end confdefs.h. */
70584 #include <math.h>
70585 int
70586 main ()
70587 {
70588 sincosl(0, 0, 0);
70589 ;
70590 return 0;
70591 }
70592 _ACEOF
70593 if ac_fn_cxx_try_compile "$LINENO"; then :
70594 glibcxx_cv_func_sincosl_use=yes
70595 else
70596 glibcxx_cv_func_sincosl_use=no
70597 fi
70598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70599 ac_ext=c
70600 ac_cpp='$CPP $CPPFLAGS'
70601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70604
70605
70606 fi
70607
70608 fi
70609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70610 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70611
70612 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70613 for ac_func in sincosl
70614 do :
70615 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70616 if test "x$ac_cv_func_sincosl" = x""yes; then :
70617 cat >>confdefs.h <<_ACEOF
70618 #define HAVE_SINCOSL 1
70619 _ACEOF
70620
70621 fi
70622 done
70623
70624 else
70625
70626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70627 $as_echo_n "checking for _sincosl declaration... " >&6; }
70628 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70629 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70630 $as_echo_n "(cached) " >&6
70631 else
70632
70633
70634 ac_ext=cpp
70635 ac_cpp='$CXXCPP $CPPFLAGS'
70636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70639
70640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70641 /* end confdefs.h. */
70642 #include <math.h>
70643 int
70644 main ()
70645 {
70646 _sincosl(0, 0, 0);
70647 ;
70648 return 0;
70649 }
70650 _ACEOF
70651 if ac_fn_cxx_try_compile "$LINENO"; then :
70652 glibcxx_cv_func__sincosl_use=yes
70653 else
70654 glibcxx_cv_func__sincosl_use=no
70655 fi
70656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70657 ac_ext=c
70658 ac_cpp='$CPP $CPPFLAGS'
70659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70662
70663
70664 fi
70665
70666 fi
70667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70668 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70669
70670 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70671 for ac_func in _sincosl
70672 do :
70673 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70674 if test "x$ac_cv_func__sincosl" = x""yes; then :
70675 cat >>confdefs.h <<_ACEOF
70676 #define HAVE__SINCOSL 1
70677 _ACEOF
70678
70679 fi
70680 done
70681
70682 fi
70683 fi
70684
70685
70686
70687
70688
70689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70690 $as_echo_n "checking for finitel declaration... " >&6; }
70691 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70692 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70693 $as_echo_n "(cached) " >&6
70694 else
70695
70696
70697 ac_ext=cpp
70698 ac_cpp='$CXXCPP $CPPFLAGS'
70699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70702
70703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70704 /* end confdefs.h. */
70705 #include <math.h>
70706 #ifdef HAVE_IEEEFP_H
70707 #include <ieeefp.h>
70708 #endif
70709
70710 int
70711 main ()
70712 {
70713 finitel(0);
70714 ;
70715 return 0;
70716 }
70717 _ACEOF
70718 if ac_fn_cxx_try_compile "$LINENO"; then :
70719 glibcxx_cv_func_finitel_use=yes
70720 else
70721 glibcxx_cv_func_finitel_use=no
70722 fi
70723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70724 ac_ext=c
70725 ac_cpp='$CPP $CPPFLAGS'
70726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70729
70730
70731 fi
70732
70733 fi
70734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70735 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70736
70737 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70738 for ac_func in finitel
70739 do :
70740 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70741 if test "x$ac_cv_func_finitel" = x""yes; then :
70742 cat >>confdefs.h <<_ACEOF
70743 #define HAVE_FINITEL 1
70744 _ACEOF
70745
70746 fi
70747 done
70748
70749 else
70750
70751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70752 $as_echo_n "checking for _finitel declaration... " >&6; }
70753 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70754 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70755 $as_echo_n "(cached) " >&6
70756 else
70757
70758
70759 ac_ext=cpp
70760 ac_cpp='$CXXCPP $CPPFLAGS'
70761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70764
70765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70766 /* end confdefs.h. */
70767 #include <math.h>
70768 #ifdef HAVE_IEEEFP_H
70769 #include <ieeefp.h>
70770 #endif
70771
70772 int
70773 main ()
70774 {
70775 _finitel(0);
70776 ;
70777 return 0;
70778 }
70779 _ACEOF
70780 if ac_fn_cxx_try_compile "$LINENO"; then :
70781 glibcxx_cv_func__finitel_use=yes
70782 else
70783 glibcxx_cv_func__finitel_use=no
70784 fi
70785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70786 ac_ext=c
70787 ac_cpp='$CPP $CPPFLAGS'
70788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70791
70792
70793 fi
70794
70795 fi
70796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70797 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70798
70799 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70800 for ac_func in _finitel
70801 do :
70802 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70803 if test "x$ac_cv_func__finitel" = x""yes; then :
70804 cat >>confdefs.h <<_ACEOF
70805 #define HAVE__FINITEL 1
70806 _ACEOF
70807
70808 fi
70809 done
70810
70811 fi
70812 fi
70813
70814
70815
70816
70817 LIBS="$ac_save_LIBS"
70818 CXXFLAGS="$ac_save_CXXFLAGS"
70819
70820
70821 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70822 ac_save_CXXFLAGS="$CXXFLAGS"
70823 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70824
70825
70826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70827 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70828 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70829 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70830 $as_echo_n "(cached) " >&6
70831 else
70832
70833
70834 ac_ext=cpp
70835 ac_cpp='$CXXCPP $CPPFLAGS'
70836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70839
70840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70841 /* end confdefs.h. */
70842 #include <stdlib.h>
70843 int
70844 main ()
70845 {
70846 at_quick_exit(0);
70847 ;
70848 return 0;
70849 }
70850 _ACEOF
70851 if ac_fn_cxx_try_compile "$LINENO"; then :
70852 glibcxx_cv_func_at_quick_exit_use=yes
70853 else
70854 glibcxx_cv_func_at_quick_exit_use=no
70855 fi
70856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70857 ac_ext=c
70858 ac_cpp='$CPP $CPPFLAGS'
70859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70862
70863
70864 fi
70865
70866 fi
70867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70868 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70869 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70870 for ac_func in at_quick_exit
70871 do :
70872 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70873 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70874 cat >>confdefs.h <<_ACEOF
70875 #define HAVE_AT_QUICK_EXIT 1
70876 _ACEOF
70877
70878 fi
70879 done
70880
70881 fi
70882
70883
70884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70885 $as_echo_n "checking for quick_exit declaration... " >&6; }
70886 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70887 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70888 $as_echo_n "(cached) " >&6
70889 else
70890
70891
70892 ac_ext=cpp
70893 ac_cpp='$CXXCPP $CPPFLAGS'
70894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70897
70898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70899 /* end confdefs.h. */
70900 #include <stdlib.h>
70901 int
70902 main ()
70903 {
70904 quick_exit(0);
70905 ;
70906 return 0;
70907 }
70908 _ACEOF
70909 if ac_fn_cxx_try_compile "$LINENO"; then :
70910 glibcxx_cv_func_quick_exit_use=yes
70911 else
70912 glibcxx_cv_func_quick_exit_use=no
70913 fi
70914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70915 ac_ext=c
70916 ac_cpp='$CPP $CPPFLAGS'
70917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70920
70921
70922 fi
70923
70924 fi
70925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70926 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70927 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70928 for ac_func in quick_exit
70929 do :
70930 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70931 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70932 cat >>confdefs.h <<_ACEOF
70933 #define HAVE_QUICK_EXIT 1
70934 _ACEOF
70935
70936 fi
70937 done
70938
70939 fi
70940
70941
70942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70943 $as_echo_n "checking for strtold declaration... " >&6; }
70944 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70945 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70946 $as_echo_n "(cached) " >&6
70947 else
70948
70949
70950 ac_ext=cpp
70951 ac_cpp='$CXXCPP $CPPFLAGS'
70952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70955
70956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70957 /* end confdefs.h. */
70958 #include <stdlib.h>
70959 int
70960 main ()
70961 {
70962 strtold(0, 0);
70963 ;
70964 return 0;
70965 }
70966 _ACEOF
70967 if ac_fn_cxx_try_compile "$LINENO"; then :
70968 glibcxx_cv_func_strtold_use=yes
70969 else
70970 glibcxx_cv_func_strtold_use=no
70971 fi
70972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70973 ac_ext=c
70974 ac_cpp='$CPP $CPPFLAGS'
70975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70978
70979
70980 fi
70981
70982 fi
70983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70984 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70985 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70986 for ac_func in strtold
70987 do :
70988 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70989 if test "x$ac_cv_func_strtold" = x""yes; then :
70990 cat >>confdefs.h <<_ACEOF
70991 #define HAVE_STRTOLD 1
70992 _ACEOF
70993
70994 fi
70995 done
70996
70997 fi
70998
70999
71000
71001
71002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71003 $as_echo_n "checking for strtof declaration... " >&6; }
71004 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71005 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71006 $as_echo_n "(cached) " >&6
71007 else
71008
71009
71010 ac_ext=cpp
71011 ac_cpp='$CXXCPP $CPPFLAGS'
71012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71015
71016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71017 /* end confdefs.h. */
71018 #include <stdlib.h>
71019 int
71020 main ()
71021 {
71022 strtof(0, 0);
71023 ;
71024 return 0;
71025 }
71026 _ACEOF
71027 if ac_fn_cxx_try_compile "$LINENO"; then :
71028 glibcxx_cv_func_strtof_use=yes
71029 else
71030 glibcxx_cv_func_strtof_use=no
71031 fi
71032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71033 ac_ext=c
71034 ac_cpp='$CPP $CPPFLAGS'
71035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71038
71039
71040 fi
71041
71042 fi
71043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71044 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71045 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71046 for ac_func in strtof
71047 do :
71048 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71049 if test "x$ac_cv_func_strtof" = x""yes; then :
71050 cat >>confdefs.h <<_ACEOF
71051 #define HAVE_STRTOF 1
71052 _ACEOF
71053
71054 fi
71055 done
71056
71057 fi
71058
71059
71060
71061
71062 CXXFLAGS="$ac_save_CXXFLAGS"
71063
71064 ;;
71065 *-solaris*)
71066
71067 # If we're not using GNU ld, then there's no point in even trying these
71068 # tests. Check for that first. We should have already tested for gld
71069 # by now (in libtool), but require it now just to be safe...
71070 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71071 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71072
71073
71074
71075 # The name set by libtool depends on the version of libtool. Shame on us
71076 # for depending on an impl detail, but c'est la vie. Older versions used
71077 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71078 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71079 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71080 # set (hence we're using an older libtool), then set it.
71081 if test x${with_gnu_ld+set} != xset; then
71082 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71083 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71084 with_gnu_ld=no
71085 else
71086 with_gnu_ld=$ac_cv_prog_gnu_ld
71087 fi
71088 fi
71089
71090 # Start by getting the version number. I think the libtool test already
71091 # does some of this, but throws away the result.
71092 glibcxx_ld_is_gold=no
71093 if test x"$with_gnu_ld" = x"yes"; then
71094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71095 $as_echo_n "checking for ld version... " >&6; }
71096
71097 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71098 glibcxx_ld_is_gold=yes
71099 fi
71100 ldver=`$LD --version 2>/dev/null |
71101 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'`
71102
71103 glibcxx_gnu_ld_version=`echo $ldver | \
71104 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71106 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71107 fi
71108
71109 # Set --gc-sections.
71110 glibcxx_have_gc_sections=no
71111 if test "$glibcxx_ld_is_gold" = "yes"; then
71112 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71113 glibcxx_have_gc_sections=yes
71114 fi
71115 else
71116 glibcxx_gcsections_min_ld=21602
71117 if test x"$with_gnu_ld" = x"yes" &&
71118 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71119 glibcxx_have_gc_sections=yes
71120 fi
71121 fi
71122 if test "$glibcxx_have_gc_sections" = "yes"; then
71123 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71124 # NB: This flag only works reliably after 2.16.1. Configure tests
71125 # for this are difficult, so hard wire a value that should work.
71126
71127 ac_test_CFLAGS="${CFLAGS+set}"
71128 ac_save_CFLAGS="$CFLAGS"
71129 CFLAGS='-Wl,--gc-sections'
71130
71131 # Check for -Wl,--gc-sections
71132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71133 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71134 if test x$gcc_no_link = xyes; then
71135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71136 fi
71137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71138 /* end confdefs.h. */
71139 int one(void) { return 1; }
71140 int two(void) { return 2; }
71141
71142 int
71143 main ()
71144 {
71145 two();
71146 ;
71147 return 0;
71148 }
71149 _ACEOF
71150 if ac_fn_c_try_link "$LINENO"; then :
71151 ac_gcsections=yes
71152 else
71153 ac_gcsections=no
71154 fi
71155 rm -f core conftest.err conftest.$ac_objext \
71156 conftest$ac_exeext conftest.$ac_ext
71157 if test "$ac_gcsections" = "yes"; then
71158 rm -f conftest.c
71159 touch conftest.c
71160 if $CC -c conftest.c; then
71161 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71162 grep "Warning: gc-sections option ignored" > /dev/null; then
71163 ac_gcsections=no
71164 fi
71165 fi
71166 rm -f conftest.c conftest.o conftest
71167 fi
71168 if test "$ac_gcsections" = "yes"; then
71169 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71170 fi
71171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71172 $as_echo "$ac_gcsections" >&6; }
71173
71174 if test "$ac_test_CFLAGS" = set; then
71175 CFLAGS="$ac_save_CFLAGS"
71176 else
71177 # this is the suspicious part
71178 CFLAGS=''
71179 fi
71180 fi
71181
71182 # Set -z,relro.
71183 # Note this is only for shared objects.
71184 ac_ld_relro=no
71185 if test x"$with_gnu_ld" = x"yes"; then
71186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71187 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71188 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71189 if test -n "$cxx_z_relo"; then
71190 OPT_LDFLAGS="-Wl,-z,relro"
71191 ac_ld_relro=yes
71192 fi
71193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71194 $as_echo "$ac_ld_relro" >&6; }
71195 fi
71196
71197 # Set linker optimization flags.
71198 if test x"$with_gnu_ld" = x"yes"; then
71199 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71200 fi
71201
71202
71203
71204
71205 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71206
71207 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71208
71209 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71210
71211 # All of the dependencies for wide character support are here, so
71212 # turn it on.
71213 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71214
71215 # These two C99 functions are present only in Solaris >= 10
71216 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71217
71218 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71219
71220 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71221
71222 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71223
71224 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71225
71226 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71227
71228 ;;
71229 *-tpf)
71230 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71231 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71232
71233 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71234
71235 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71236
71237 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71238
71239 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71240
71241 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71242
71243 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71244
71245 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71246
71247 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71248
71249 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71250
71251 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71252
71253 if test x"long_double_math_on_this_cpu" = x"yes"; then
71254 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71255
71256 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71257
71258 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71259
71260 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71261
71262 fi
71263 ;;
71264 *-*vms*)
71265 # Check for available headers.
71266 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71267
71268 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71269 ac_save_CXXFLAGS="$CXXFLAGS"
71270 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71271
71272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71273 $as_echo_n "checking for sin in -lm... " >&6; }
71274 if test "${ac_cv_lib_m_sin+set}" = set; then :
71275 $as_echo_n "(cached) " >&6
71276 else
71277 ac_check_lib_save_LIBS=$LIBS
71278 LIBS="-lm $LIBS"
71279 if test x$gcc_no_link = xyes; then
71280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71281 fi
71282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71283 /* end confdefs.h. */
71284
71285 /* Override any GCC internal prototype to avoid an error.
71286 Use char because int might match the return type of a GCC
71287 builtin and then its argument prototype would still apply. */
71288 #ifdef __cplusplus
71289 extern "C"
71290 #endif
71291 char sin ();
71292 int
71293 main ()
71294 {
71295 return sin ();
71296 ;
71297 return 0;
71298 }
71299 _ACEOF
71300 if ac_fn_c_try_link "$LINENO"; then :
71301 ac_cv_lib_m_sin=yes
71302 else
71303 ac_cv_lib_m_sin=no
71304 fi
71305 rm -f core conftest.err conftest.$ac_objext \
71306 conftest$ac_exeext conftest.$ac_ext
71307 LIBS=$ac_check_lib_save_LIBS
71308 fi
71309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71310 $as_echo "$ac_cv_lib_m_sin" >&6; }
71311 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71312 libm="-lm"
71313 fi
71314
71315 ac_save_LIBS="$LIBS"
71316 LIBS="$LIBS $libm"
71317
71318
71319
71320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71321 $as_echo_n "checking for isinf declaration... " >&6; }
71322 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71323 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71324 $as_echo_n "(cached) " >&6
71325 else
71326
71327
71328 ac_ext=cpp
71329 ac_cpp='$CXXCPP $CPPFLAGS'
71330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71333
71334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71335 /* end confdefs.h. */
71336 #include <math.h>
71337 #ifdef HAVE_IEEEFP_H
71338 #include <ieeefp.h>
71339 #endif
71340
71341 int
71342 main ()
71343 {
71344 isinf(0);
71345 ;
71346 return 0;
71347 }
71348 _ACEOF
71349 if ac_fn_cxx_try_compile "$LINENO"; then :
71350 glibcxx_cv_func_isinf_use=yes
71351 else
71352 glibcxx_cv_func_isinf_use=no
71353 fi
71354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71355 ac_ext=c
71356 ac_cpp='$CPP $CPPFLAGS'
71357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71360
71361
71362 fi
71363
71364 fi
71365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71366 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71367
71368 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71369 for ac_func in isinf
71370 do :
71371 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71372 if test "x$ac_cv_func_isinf" = x""yes; then :
71373 cat >>confdefs.h <<_ACEOF
71374 #define HAVE_ISINF 1
71375 _ACEOF
71376
71377 fi
71378 done
71379
71380 else
71381
71382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71383 $as_echo_n "checking for _isinf declaration... " >&6; }
71384 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71385 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71386 $as_echo_n "(cached) " >&6
71387 else
71388
71389
71390 ac_ext=cpp
71391 ac_cpp='$CXXCPP $CPPFLAGS'
71392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71395
71396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71397 /* end confdefs.h. */
71398 #include <math.h>
71399 #ifdef HAVE_IEEEFP_H
71400 #include <ieeefp.h>
71401 #endif
71402
71403 int
71404 main ()
71405 {
71406 _isinf(0);
71407 ;
71408 return 0;
71409 }
71410 _ACEOF
71411 if ac_fn_cxx_try_compile "$LINENO"; then :
71412 glibcxx_cv_func__isinf_use=yes
71413 else
71414 glibcxx_cv_func__isinf_use=no
71415 fi
71416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71417 ac_ext=c
71418 ac_cpp='$CPP $CPPFLAGS'
71419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71422
71423
71424 fi
71425
71426 fi
71427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71428 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71429
71430 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71431 for ac_func in _isinf
71432 do :
71433 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71434 if test "x$ac_cv_func__isinf" = x""yes; then :
71435 cat >>confdefs.h <<_ACEOF
71436 #define HAVE__ISINF 1
71437 _ACEOF
71438
71439 fi
71440 done
71441
71442 fi
71443 fi
71444
71445
71446
71447
71448
71449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71450 $as_echo_n "checking for isnan declaration... " >&6; }
71451 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71452 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71453 $as_echo_n "(cached) " >&6
71454 else
71455
71456
71457 ac_ext=cpp
71458 ac_cpp='$CXXCPP $CPPFLAGS'
71459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71462
71463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71464 /* end confdefs.h. */
71465 #include <math.h>
71466 #ifdef HAVE_IEEEFP_H
71467 #include <ieeefp.h>
71468 #endif
71469
71470 int
71471 main ()
71472 {
71473 isnan(0);
71474 ;
71475 return 0;
71476 }
71477 _ACEOF
71478 if ac_fn_cxx_try_compile "$LINENO"; then :
71479 glibcxx_cv_func_isnan_use=yes
71480 else
71481 glibcxx_cv_func_isnan_use=no
71482 fi
71483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71484 ac_ext=c
71485 ac_cpp='$CPP $CPPFLAGS'
71486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71489
71490
71491 fi
71492
71493 fi
71494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71495 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71496
71497 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71498 for ac_func in isnan
71499 do :
71500 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71501 if test "x$ac_cv_func_isnan" = x""yes; then :
71502 cat >>confdefs.h <<_ACEOF
71503 #define HAVE_ISNAN 1
71504 _ACEOF
71505
71506 fi
71507 done
71508
71509 else
71510
71511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71512 $as_echo_n "checking for _isnan declaration... " >&6; }
71513 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71514 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71515 $as_echo_n "(cached) " >&6
71516 else
71517
71518
71519 ac_ext=cpp
71520 ac_cpp='$CXXCPP $CPPFLAGS'
71521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71524
71525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71526 /* end confdefs.h. */
71527 #include <math.h>
71528 #ifdef HAVE_IEEEFP_H
71529 #include <ieeefp.h>
71530 #endif
71531
71532 int
71533 main ()
71534 {
71535 _isnan(0);
71536 ;
71537 return 0;
71538 }
71539 _ACEOF
71540 if ac_fn_cxx_try_compile "$LINENO"; then :
71541 glibcxx_cv_func__isnan_use=yes
71542 else
71543 glibcxx_cv_func__isnan_use=no
71544 fi
71545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71546 ac_ext=c
71547 ac_cpp='$CPP $CPPFLAGS'
71548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71551
71552
71553 fi
71554
71555 fi
71556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71557 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71558
71559 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71560 for ac_func in _isnan
71561 do :
71562 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71563 if test "x$ac_cv_func__isnan" = x""yes; then :
71564 cat >>confdefs.h <<_ACEOF
71565 #define HAVE__ISNAN 1
71566 _ACEOF
71567
71568 fi
71569 done
71570
71571 fi
71572 fi
71573
71574
71575
71576
71577
71578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71579 $as_echo_n "checking for finite declaration... " >&6; }
71580 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71581 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71582 $as_echo_n "(cached) " >&6
71583 else
71584
71585
71586 ac_ext=cpp
71587 ac_cpp='$CXXCPP $CPPFLAGS'
71588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71591
71592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71593 /* end confdefs.h. */
71594 #include <math.h>
71595 #ifdef HAVE_IEEEFP_H
71596 #include <ieeefp.h>
71597 #endif
71598
71599 int
71600 main ()
71601 {
71602 finite(0);
71603 ;
71604 return 0;
71605 }
71606 _ACEOF
71607 if ac_fn_cxx_try_compile "$LINENO"; then :
71608 glibcxx_cv_func_finite_use=yes
71609 else
71610 glibcxx_cv_func_finite_use=no
71611 fi
71612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71613 ac_ext=c
71614 ac_cpp='$CPP $CPPFLAGS'
71615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71618
71619
71620 fi
71621
71622 fi
71623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71624 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71625
71626 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71627 for ac_func in finite
71628 do :
71629 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71630 if test "x$ac_cv_func_finite" = x""yes; then :
71631 cat >>confdefs.h <<_ACEOF
71632 #define HAVE_FINITE 1
71633 _ACEOF
71634
71635 fi
71636 done
71637
71638 else
71639
71640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71641 $as_echo_n "checking for _finite declaration... " >&6; }
71642 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71643 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71644 $as_echo_n "(cached) " >&6
71645 else
71646
71647
71648 ac_ext=cpp
71649 ac_cpp='$CXXCPP $CPPFLAGS'
71650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71653
71654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71655 /* end confdefs.h. */
71656 #include <math.h>
71657 #ifdef HAVE_IEEEFP_H
71658 #include <ieeefp.h>
71659 #endif
71660
71661 int
71662 main ()
71663 {
71664 _finite(0);
71665 ;
71666 return 0;
71667 }
71668 _ACEOF
71669 if ac_fn_cxx_try_compile "$LINENO"; then :
71670 glibcxx_cv_func__finite_use=yes
71671 else
71672 glibcxx_cv_func__finite_use=no
71673 fi
71674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71675 ac_ext=c
71676 ac_cpp='$CPP $CPPFLAGS'
71677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71680
71681
71682 fi
71683
71684 fi
71685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71686 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71687
71688 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71689 for ac_func in _finite
71690 do :
71691 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71692 if test "x$ac_cv_func__finite" = x""yes; then :
71693 cat >>confdefs.h <<_ACEOF
71694 #define HAVE__FINITE 1
71695 _ACEOF
71696
71697 fi
71698 done
71699
71700 fi
71701 fi
71702
71703
71704
71705
71706
71707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71708 $as_echo_n "checking for sincos declaration... " >&6; }
71709 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71710 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71711 $as_echo_n "(cached) " >&6
71712 else
71713
71714
71715 ac_ext=cpp
71716 ac_cpp='$CXXCPP $CPPFLAGS'
71717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71720
71721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71722 /* end confdefs.h. */
71723 #include <math.h>
71724 int
71725 main ()
71726 {
71727 sincos(0, 0, 0);
71728 ;
71729 return 0;
71730 }
71731 _ACEOF
71732 if ac_fn_cxx_try_compile "$LINENO"; then :
71733 glibcxx_cv_func_sincos_use=yes
71734 else
71735 glibcxx_cv_func_sincos_use=no
71736 fi
71737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71738 ac_ext=c
71739 ac_cpp='$CPP $CPPFLAGS'
71740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71743
71744
71745 fi
71746
71747 fi
71748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71749 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71750
71751 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71752 for ac_func in sincos
71753 do :
71754 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71755 if test "x$ac_cv_func_sincos" = x""yes; then :
71756 cat >>confdefs.h <<_ACEOF
71757 #define HAVE_SINCOS 1
71758 _ACEOF
71759
71760 fi
71761 done
71762
71763 else
71764
71765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71766 $as_echo_n "checking for _sincos declaration... " >&6; }
71767 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71768 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71769 $as_echo_n "(cached) " >&6
71770 else
71771
71772
71773 ac_ext=cpp
71774 ac_cpp='$CXXCPP $CPPFLAGS'
71775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71778
71779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71780 /* end confdefs.h. */
71781 #include <math.h>
71782 int
71783 main ()
71784 {
71785 _sincos(0, 0, 0);
71786 ;
71787 return 0;
71788 }
71789 _ACEOF
71790 if ac_fn_cxx_try_compile "$LINENO"; then :
71791 glibcxx_cv_func__sincos_use=yes
71792 else
71793 glibcxx_cv_func__sincos_use=no
71794 fi
71795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71796 ac_ext=c
71797 ac_cpp='$CPP $CPPFLAGS'
71798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71801
71802
71803 fi
71804
71805 fi
71806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71807 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71808
71809 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71810 for ac_func in _sincos
71811 do :
71812 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71813 if test "x$ac_cv_func__sincos" = x""yes; then :
71814 cat >>confdefs.h <<_ACEOF
71815 #define HAVE__SINCOS 1
71816 _ACEOF
71817
71818 fi
71819 done
71820
71821 fi
71822 fi
71823
71824
71825
71826
71827
71828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71829 $as_echo_n "checking for fpclass declaration... " >&6; }
71830 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71831 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71832 $as_echo_n "(cached) " >&6
71833 else
71834
71835
71836 ac_ext=cpp
71837 ac_cpp='$CXXCPP $CPPFLAGS'
71838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71841
71842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71843 /* end confdefs.h. */
71844 #include <math.h>
71845 #ifdef HAVE_IEEEFP_H
71846 #include <ieeefp.h>
71847 #endif
71848
71849 int
71850 main ()
71851 {
71852 fpclass(0);
71853 ;
71854 return 0;
71855 }
71856 _ACEOF
71857 if ac_fn_cxx_try_compile "$LINENO"; then :
71858 glibcxx_cv_func_fpclass_use=yes
71859 else
71860 glibcxx_cv_func_fpclass_use=no
71861 fi
71862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71863 ac_ext=c
71864 ac_cpp='$CPP $CPPFLAGS'
71865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71868
71869
71870 fi
71871
71872 fi
71873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71874 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71875
71876 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71877 for ac_func in fpclass
71878 do :
71879 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71880 if test "x$ac_cv_func_fpclass" = x""yes; then :
71881 cat >>confdefs.h <<_ACEOF
71882 #define HAVE_FPCLASS 1
71883 _ACEOF
71884
71885 fi
71886 done
71887
71888 else
71889
71890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71891 $as_echo_n "checking for _fpclass declaration... " >&6; }
71892 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71893 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71894 $as_echo_n "(cached) " >&6
71895 else
71896
71897
71898 ac_ext=cpp
71899 ac_cpp='$CXXCPP $CPPFLAGS'
71900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71903
71904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71905 /* end confdefs.h. */
71906 #include <math.h>
71907 #ifdef HAVE_IEEEFP_H
71908 #include <ieeefp.h>
71909 #endif
71910
71911 int
71912 main ()
71913 {
71914 _fpclass(0);
71915 ;
71916 return 0;
71917 }
71918 _ACEOF
71919 if ac_fn_cxx_try_compile "$LINENO"; then :
71920 glibcxx_cv_func__fpclass_use=yes
71921 else
71922 glibcxx_cv_func__fpclass_use=no
71923 fi
71924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71925 ac_ext=c
71926 ac_cpp='$CPP $CPPFLAGS'
71927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71930
71931
71932 fi
71933
71934 fi
71935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71936 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71937
71938 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71939 for ac_func in _fpclass
71940 do :
71941 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71942 if test "x$ac_cv_func__fpclass" = x""yes; then :
71943 cat >>confdefs.h <<_ACEOF
71944 #define HAVE__FPCLASS 1
71945 _ACEOF
71946
71947 fi
71948 done
71949
71950 fi
71951 fi
71952
71953
71954
71955
71956
71957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71958 $as_echo_n "checking for qfpclass declaration... " >&6; }
71959 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71960 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71961 $as_echo_n "(cached) " >&6
71962 else
71963
71964
71965 ac_ext=cpp
71966 ac_cpp='$CXXCPP $CPPFLAGS'
71967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71970
71971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71972 /* end confdefs.h. */
71973 #include <math.h>
71974 #ifdef HAVE_IEEEFP_H
71975 #include <ieeefp.h>
71976 #endif
71977
71978 int
71979 main ()
71980 {
71981 qfpclass(0);
71982 ;
71983 return 0;
71984 }
71985 _ACEOF
71986 if ac_fn_cxx_try_compile "$LINENO"; then :
71987 glibcxx_cv_func_qfpclass_use=yes
71988 else
71989 glibcxx_cv_func_qfpclass_use=no
71990 fi
71991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71992 ac_ext=c
71993 ac_cpp='$CPP $CPPFLAGS'
71994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71997
71998
71999 fi
72000
72001 fi
72002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72003 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72004
72005 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72006 for ac_func in qfpclass
72007 do :
72008 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72009 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72010 cat >>confdefs.h <<_ACEOF
72011 #define HAVE_QFPCLASS 1
72012 _ACEOF
72013
72014 fi
72015 done
72016
72017 else
72018
72019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72020 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72021 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72022 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72023 $as_echo_n "(cached) " >&6
72024 else
72025
72026
72027 ac_ext=cpp
72028 ac_cpp='$CXXCPP $CPPFLAGS'
72029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72032
72033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72034 /* end confdefs.h. */
72035 #include <math.h>
72036 #ifdef HAVE_IEEEFP_H
72037 #include <ieeefp.h>
72038 #endif
72039
72040 int
72041 main ()
72042 {
72043 _qfpclass(0);
72044 ;
72045 return 0;
72046 }
72047 _ACEOF
72048 if ac_fn_cxx_try_compile "$LINENO"; then :
72049 glibcxx_cv_func__qfpclass_use=yes
72050 else
72051 glibcxx_cv_func__qfpclass_use=no
72052 fi
72053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72054 ac_ext=c
72055 ac_cpp='$CPP $CPPFLAGS'
72056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72059
72060
72061 fi
72062
72063 fi
72064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72065 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72066
72067 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72068 for ac_func in _qfpclass
72069 do :
72070 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72071 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72072 cat >>confdefs.h <<_ACEOF
72073 #define HAVE__QFPCLASS 1
72074 _ACEOF
72075
72076 fi
72077 done
72078
72079 fi
72080 fi
72081
72082
72083
72084
72085
72086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72087 $as_echo_n "checking for hypot declaration... " >&6; }
72088 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72089 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72090 $as_echo_n "(cached) " >&6
72091 else
72092
72093
72094 ac_ext=cpp
72095 ac_cpp='$CXXCPP $CPPFLAGS'
72096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72099
72100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72101 /* end confdefs.h. */
72102 #include <math.h>
72103 int
72104 main ()
72105 {
72106 hypot(0, 0);
72107 ;
72108 return 0;
72109 }
72110 _ACEOF
72111 if ac_fn_cxx_try_compile "$LINENO"; then :
72112 glibcxx_cv_func_hypot_use=yes
72113 else
72114 glibcxx_cv_func_hypot_use=no
72115 fi
72116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72117 ac_ext=c
72118 ac_cpp='$CPP $CPPFLAGS'
72119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72122
72123
72124 fi
72125
72126 fi
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72128 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72129
72130 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72131 for ac_func in hypot
72132 do :
72133 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72134 if test "x$ac_cv_func_hypot" = x""yes; then :
72135 cat >>confdefs.h <<_ACEOF
72136 #define HAVE_HYPOT 1
72137 _ACEOF
72138
72139 fi
72140 done
72141
72142 else
72143
72144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72145 $as_echo_n "checking for _hypot declaration... " >&6; }
72146 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72147 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72148 $as_echo_n "(cached) " >&6
72149 else
72150
72151
72152 ac_ext=cpp
72153 ac_cpp='$CXXCPP $CPPFLAGS'
72154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72157
72158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72159 /* end confdefs.h. */
72160 #include <math.h>
72161 int
72162 main ()
72163 {
72164 _hypot(0, 0);
72165 ;
72166 return 0;
72167 }
72168 _ACEOF
72169 if ac_fn_cxx_try_compile "$LINENO"; then :
72170 glibcxx_cv_func__hypot_use=yes
72171 else
72172 glibcxx_cv_func__hypot_use=no
72173 fi
72174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72175 ac_ext=c
72176 ac_cpp='$CPP $CPPFLAGS'
72177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72180
72181
72182 fi
72183
72184 fi
72185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72186 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72187
72188 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72189 for ac_func in _hypot
72190 do :
72191 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72192 if test "x$ac_cv_func__hypot" = x""yes; then :
72193 cat >>confdefs.h <<_ACEOF
72194 #define HAVE__HYPOT 1
72195 _ACEOF
72196
72197 fi
72198 done
72199
72200 fi
72201 fi
72202
72203
72204
72205
72206
72207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72208 $as_echo_n "checking for float trig functions... " >&6; }
72209 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72210 $as_echo_n "(cached) " >&6
72211 else
72212
72213
72214 ac_ext=cpp
72215 ac_cpp='$CXXCPP $CPPFLAGS'
72216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72219
72220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72221 /* end confdefs.h. */
72222 #include <math.h>
72223 int
72224 main ()
72225 {
72226 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72227 ;
72228 return 0;
72229 }
72230 _ACEOF
72231 if ac_fn_cxx_try_compile "$LINENO"; then :
72232 glibcxx_cv_func_float_trig_use=yes
72233 else
72234 glibcxx_cv_func_float_trig_use=no
72235 fi
72236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72237 ac_ext=c
72238 ac_cpp='$CPP $CPPFLAGS'
72239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72242
72243 fi
72244
72245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72246 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72247 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72248 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72249 do :
72250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72252 eval as_val=\$$as_ac_var
72253 if test "x$as_val" = x""yes; then :
72254 cat >>confdefs.h <<_ACEOF
72255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72256 _ACEOF
72257
72258 fi
72259 done
72260
72261 else
72262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72263 $as_echo_n "checking for _float trig functions... " >&6; }
72264 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72265 $as_echo_n "(cached) " >&6
72266 else
72267
72268
72269 ac_ext=cpp
72270 ac_cpp='$CXXCPP $CPPFLAGS'
72271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72274
72275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72276 /* end confdefs.h. */
72277 #include <math.h>
72278 int
72279 main ()
72280 {
72281 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72282 ;
72283 return 0;
72284 }
72285 _ACEOF
72286 if ac_fn_cxx_try_compile "$LINENO"; then :
72287 glibcxx_cv_func__float_trig_use=yes
72288 else
72289 glibcxx_cv_func__float_trig_use=no
72290 fi
72291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72292 ac_ext=c
72293 ac_cpp='$CPP $CPPFLAGS'
72294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72297
72298 fi
72299
72300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72301 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72302 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72303 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72304 do :
72305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72307 eval as_val=\$$as_ac_var
72308 if test "x$as_val" = x""yes; then :
72309 cat >>confdefs.h <<_ACEOF
72310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72311 _ACEOF
72312
72313 fi
72314 done
72315
72316 fi
72317 fi
72318
72319
72320
72321
72322
72323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72324 $as_echo_n "checking for float round functions... " >&6; }
72325 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72326 $as_echo_n "(cached) " >&6
72327 else
72328
72329
72330 ac_ext=cpp
72331 ac_cpp='$CXXCPP $CPPFLAGS'
72332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72335
72336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72337 /* end confdefs.h. */
72338 #include <math.h>
72339 int
72340 main ()
72341 {
72342 ceilf (0); floorf (0);
72343 ;
72344 return 0;
72345 }
72346 _ACEOF
72347 if ac_fn_cxx_try_compile "$LINENO"; then :
72348 glibcxx_cv_func_float_round_use=yes
72349 else
72350 glibcxx_cv_func_float_round_use=no
72351 fi
72352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72353 ac_ext=c
72354 ac_cpp='$CPP $CPPFLAGS'
72355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72358
72359 fi
72360
72361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72362 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72363 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72364 for ac_func in ceilf floorf
72365 do :
72366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72368 eval as_val=\$$as_ac_var
72369 if test "x$as_val" = x""yes; then :
72370 cat >>confdefs.h <<_ACEOF
72371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72372 _ACEOF
72373
72374 fi
72375 done
72376
72377 else
72378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72379 $as_echo_n "checking for _float round functions... " >&6; }
72380 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72381 $as_echo_n "(cached) " >&6
72382 else
72383
72384
72385 ac_ext=cpp
72386 ac_cpp='$CXXCPP $CPPFLAGS'
72387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72390
72391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72392 /* end confdefs.h. */
72393 #include <math.h>
72394 int
72395 main ()
72396 {
72397 _ceilf (0); _floorf (0);
72398 ;
72399 return 0;
72400 }
72401 _ACEOF
72402 if ac_fn_cxx_try_compile "$LINENO"; then :
72403 glibcxx_cv_func__float_round_use=yes
72404 else
72405 glibcxx_cv_func__float_round_use=no
72406 fi
72407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72408 ac_ext=c
72409 ac_cpp='$CPP $CPPFLAGS'
72410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72413
72414 fi
72415
72416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72417 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72418 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72419 for ac_func in _ceilf _floorf
72420 do :
72421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72423 eval as_val=\$$as_ac_var
72424 if test "x$as_val" = x""yes; then :
72425 cat >>confdefs.h <<_ACEOF
72426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72427 _ACEOF
72428
72429 fi
72430 done
72431
72432 fi
72433 fi
72434
72435
72436
72437
72438
72439
72440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72441 $as_echo_n "checking for expf declaration... " >&6; }
72442 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72443 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72444 $as_echo_n "(cached) " >&6
72445 else
72446
72447
72448 ac_ext=cpp
72449 ac_cpp='$CXXCPP $CPPFLAGS'
72450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72453
72454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72455 /* end confdefs.h. */
72456 #include <math.h>
72457 #ifdef HAVE_IEEEFP_H
72458 #include <ieeefp.h>
72459 #endif
72460
72461 int
72462 main ()
72463 {
72464 expf(0);
72465 ;
72466 return 0;
72467 }
72468 _ACEOF
72469 if ac_fn_cxx_try_compile "$LINENO"; then :
72470 glibcxx_cv_func_expf_use=yes
72471 else
72472 glibcxx_cv_func_expf_use=no
72473 fi
72474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72475 ac_ext=c
72476 ac_cpp='$CPP $CPPFLAGS'
72477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72480
72481
72482 fi
72483
72484 fi
72485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72486 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72487
72488 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72489 for ac_func in expf
72490 do :
72491 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72492 if test "x$ac_cv_func_expf" = x""yes; then :
72493 cat >>confdefs.h <<_ACEOF
72494 #define HAVE_EXPF 1
72495 _ACEOF
72496
72497 fi
72498 done
72499
72500 else
72501
72502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72503 $as_echo_n "checking for _expf declaration... " >&6; }
72504 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72505 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72506 $as_echo_n "(cached) " >&6
72507 else
72508
72509
72510 ac_ext=cpp
72511 ac_cpp='$CXXCPP $CPPFLAGS'
72512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72515
72516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72517 /* end confdefs.h. */
72518 #include <math.h>
72519 #ifdef HAVE_IEEEFP_H
72520 #include <ieeefp.h>
72521 #endif
72522
72523 int
72524 main ()
72525 {
72526 _expf(0);
72527 ;
72528 return 0;
72529 }
72530 _ACEOF
72531 if ac_fn_cxx_try_compile "$LINENO"; then :
72532 glibcxx_cv_func__expf_use=yes
72533 else
72534 glibcxx_cv_func__expf_use=no
72535 fi
72536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72537 ac_ext=c
72538 ac_cpp='$CPP $CPPFLAGS'
72539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72542
72543
72544 fi
72545
72546 fi
72547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72548 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72549
72550 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72551 for ac_func in _expf
72552 do :
72553 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72554 if test "x$ac_cv_func__expf" = x""yes; then :
72555 cat >>confdefs.h <<_ACEOF
72556 #define HAVE__EXPF 1
72557 _ACEOF
72558
72559 fi
72560 done
72561
72562 fi
72563 fi
72564
72565
72566
72567
72568
72569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72570 $as_echo_n "checking for isnanf declaration... " >&6; }
72571 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72572 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72573 $as_echo_n "(cached) " >&6
72574 else
72575
72576
72577 ac_ext=cpp
72578 ac_cpp='$CXXCPP $CPPFLAGS'
72579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72582
72583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72584 /* end confdefs.h. */
72585 #include <math.h>
72586 #ifdef HAVE_IEEEFP_H
72587 #include <ieeefp.h>
72588 #endif
72589
72590 int
72591 main ()
72592 {
72593 isnanf(0);
72594 ;
72595 return 0;
72596 }
72597 _ACEOF
72598 if ac_fn_cxx_try_compile "$LINENO"; then :
72599 glibcxx_cv_func_isnanf_use=yes
72600 else
72601 glibcxx_cv_func_isnanf_use=no
72602 fi
72603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72604 ac_ext=c
72605 ac_cpp='$CPP $CPPFLAGS'
72606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72609
72610
72611 fi
72612
72613 fi
72614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72615 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72616
72617 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72618 for ac_func in isnanf
72619 do :
72620 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72621 if test "x$ac_cv_func_isnanf" = x""yes; then :
72622 cat >>confdefs.h <<_ACEOF
72623 #define HAVE_ISNANF 1
72624 _ACEOF
72625
72626 fi
72627 done
72628
72629 else
72630
72631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72632 $as_echo_n "checking for _isnanf declaration... " >&6; }
72633 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72634 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72635 $as_echo_n "(cached) " >&6
72636 else
72637
72638
72639 ac_ext=cpp
72640 ac_cpp='$CXXCPP $CPPFLAGS'
72641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72644
72645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72646 /* end confdefs.h. */
72647 #include <math.h>
72648 #ifdef HAVE_IEEEFP_H
72649 #include <ieeefp.h>
72650 #endif
72651
72652 int
72653 main ()
72654 {
72655 _isnanf(0);
72656 ;
72657 return 0;
72658 }
72659 _ACEOF
72660 if ac_fn_cxx_try_compile "$LINENO"; then :
72661 glibcxx_cv_func__isnanf_use=yes
72662 else
72663 glibcxx_cv_func__isnanf_use=no
72664 fi
72665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72666 ac_ext=c
72667 ac_cpp='$CPP $CPPFLAGS'
72668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72671
72672
72673 fi
72674
72675 fi
72676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72677 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72678
72679 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72680 for ac_func in _isnanf
72681 do :
72682 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72683 if test "x$ac_cv_func__isnanf" = x""yes; then :
72684 cat >>confdefs.h <<_ACEOF
72685 #define HAVE__ISNANF 1
72686 _ACEOF
72687
72688 fi
72689 done
72690
72691 fi
72692 fi
72693
72694
72695
72696
72697
72698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72699 $as_echo_n "checking for isinff declaration... " >&6; }
72700 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72701 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72702 $as_echo_n "(cached) " >&6
72703 else
72704
72705
72706 ac_ext=cpp
72707 ac_cpp='$CXXCPP $CPPFLAGS'
72708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72711
72712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72713 /* end confdefs.h. */
72714 #include <math.h>
72715 #ifdef HAVE_IEEEFP_H
72716 #include <ieeefp.h>
72717 #endif
72718
72719 int
72720 main ()
72721 {
72722 isinff(0);
72723 ;
72724 return 0;
72725 }
72726 _ACEOF
72727 if ac_fn_cxx_try_compile "$LINENO"; then :
72728 glibcxx_cv_func_isinff_use=yes
72729 else
72730 glibcxx_cv_func_isinff_use=no
72731 fi
72732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72733 ac_ext=c
72734 ac_cpp='$CPP $CPPFLAGS'
72735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72738
72739
72740 fi
72741
72742 fi
72743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72744 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72745
72746 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72747 for ac_func in isinff
72748 do :
72749 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72750 if test "x$ac_cv_func_isinff" = x""yes; then :
72751 cat >>confdefs.h <<_ACEOF
72752 #define HAVE_ISINFF 1
72753 _ACEOF
72754
72755 fi
72756 done
72757
72758 else
72759
72760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72761 $as_echo_n "checking for _isinff declaration... " >&6; }
72762 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72763 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72764 $as_echo_n "(cached) " >&6
72765 else
72766
72767
72768 ac_ext=cpp
72769 ac_cpp='$CXXCPP $CPPFLAGS'
72770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72773
72774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72775 /* end confdefs.h. */
72776 #include <math.h>
72777 #ifdef HAVE_IEEEFP_H
72778 #include <ieeefp.h>
72779 #endif
72780
72781 int
72782 main ()
72783 {
72784 _isinff(0);
72785 ;
72786 return 0;
72787 }
72788 _ACEOF
72789 if ac_fn_cxx_try_compile "$LINENO"; then :
72790 glibcxx_cv_func__isinff_use=yes
72791 else
72792 glibcxx_cv_func__isinff_use=no
72793 fi
72794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72795 ac_ext=c
72796 ac_cpp='$CPP $CPPFLAGS'
72797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72800
72801
72802 fi
72803
72804 fi
72805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72806 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72807
72808 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72809 for ac_func in _isinff
72810 do :
72811 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72812 if test "x$ac_cv_func__isinff" = x""yes; then :
72813 cat >>confdefs.h <<_ACEOF
72814 #define HAVE__ISINFF 1
72815 _ACEOF
72816
72817 fi
72818 done
72819
72820 fi
72821 fi
72822
72823
72824
72825
72826
72827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72828 $as_echo_n "checking for atan2f declaration... " >&6; }
72829 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72830 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72831 $as_echo_n "(cached) " >&6
72832 else
72833
72834
72835 ac_ext=cpp
72836 ac_cpp='$CXXCPP $CPPFLAGS'
72837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72840
72841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72842 /* end confdefs.h. */
72843 #include <math.h>
72844 int
72845 main ()
72846 {
72847 atan2f(0, 0);
72848 ;
72849 return 0;
72850 }
72851 _ACEOF
72852 if ac_fn_cxx_try_compile "$LINENO"; then :
72853 glibcxx_cv_func_atan2f_use=yes
72854 else
72855 glibcxx_cv_func_atan2f_use=no
72856 fi
72857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72858 ac_ext=c
72859 ac_cpp='$CPP $CPPFLAGS'
72860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72863
72864
72865 fi
72866
72867 fi
72868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72869 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72870
72871 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72872 for ac_func in atan2f
72873 do :
72874 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72875 if test "x$ac_cv_func_atan2f" = x""yes; then :
72876 cat >>confdefs.h <<_ACEOF
72877 #define HAVE_ATAN2F 1
72878 _ACEOF
72879
72880 fi
72881 done
72882
72883 else
72884
72885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72886 $as_echo_n "checking for _atan2f declaration... " >&6; }
72887 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72888 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72889 $as_echo_n "(cached) " >&6
72890 else
72891
72892
72893 ac_ext=cpp
72894 ac_cpp='$CXXCPP $CPPFLAGS'
72895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72898
72899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72900 /* end confdefs.h. */
72901 #include <math.h>
72902 int
72903 main ()
72904 {
72905 _atan2f(0, 0);
72906 ;
72907 return 0;
72908 }
72909 _ACEOF
72910 if ac_fn_cxx_try_compile "$LINENO"; then :
72911 glibcxx_cv_func__atan2f_use=yes
72912 else
72913 glibcxx_cv_func__atan2f_use=no
72914 fi
72915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72916 ac_ext=c
72917 ac_cpp='$CPP $CPPFLAGS'
72918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72921
72922
72923 fi
72924
72925 fi
72926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72927 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72928
72929 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72930 for ac_func in _atan2f
72931 do :
72932 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72933 if test "x$ac_cv_func__atan2f" = x""yes; then :
72934 cat >>confdefs.h <<_ACEOF
72935 #define HAVE__ATAN2F 1
72936 _ACEOF
72937
72938 fi
72939 done
72940
72941 fi
72942 fi
72943
72944
72945
72946
72947
72948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72949 $as_echo_n "checking for fabsf declaration... " >&6; }
72950 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72951 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72952 $as_echo_n "(cached) " >&6
72953 else
72954
72955
72956 ac_ext=cpp
72957 ac_cpp='$CXXCPP $CPPFLAGS'
72958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72961
72962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72963 /* end confdefs.h. */
72964 #include <math.h>
72965 #ifdef HAVE_IEEEFP_H
72966 #include <ieeefp.h>
72967 #endif
72968
72969 int
72970 main ()
72971 {
72972 fabsf(0);
72973 ;
72974 return 0;
72975 }
72976 _ACEOF
72977 if ac_fn_cxx_try_compile "$LINENO"; then :
72978 glibcxx_cv_func_fabsf_use=yes
72979 else
72980 glibcxx_cv_func_fabsf_use=no
72981 fi
72982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72983 ac_ext=c
72984 ac_cpp='$CPP $CPPFLAGS'
72985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72988
72989
72990 fi
72991
72992 fi
72993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
72994 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
72995
72996 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
72997 for ac_func in fabsf
72998 do :
72999 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73000 if test "x$ac_cv_func_fabsf" = x""yes; then :
73001 cat >>confdefs.h <<_ACEOF
73002 #define HAVE_FABSF 1
73003 _ACEOF
73004
73005 fi
73006 done
73007
73008 else
73009
73010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73011 $as_echo_n "checking for _fabsf declaration... " >&6; }
73012 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73013 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73014 $as_echo_n "(cached) " >&6
73015 else
73016
73017
73018 ac_ext=cpp
73019 ac_cpp='$CXXCPP $CPPFLAGS'
73020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73023
73024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73025 /* end confdefs.h. */
73026 #include <math.h>
73027 #ifdef HAVE_IEEEFP_H
73028 #include <ieeefp.h>
73029 #endif
73030
73031 int
73032 main ()
73033 {
73034 _fabsf(0);
73035 ;
73036 return 0;
73037 }
73038 _ACEOF
73039 if ac_fn_cxx_try_compile "$LINENO"; then :
73040 glibcxx_cv_func__fabsf_use=yes
73041 else
73042 glibcxx_cv_func__fabsf_use=no
73043 fi
73044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73045 ac_ext=c
73046 ac_cpp='$CPP $CPPFLAGS'
73047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73050
73051
73052 fi
73053
73054 fi
73055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73056 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73057
73058 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73059 for ac_func in _fabsf
73060 do :
73061 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73062 if test "x$ac_cv_func__fabsf" = x""yes; then :
73063 cat >>confdefs.h <<_ACEOF
73064 #define HAVE__FABSF 1
73065 _ACEOF
73066
73067 fi
73068 done
73069
73070 fi
73071 fi
73072
73073
73074
73075
73076
73077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73078 $as_echo_n "checking for fmodf declaration... " >&6; }
73079 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73080 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73081 $as_echo_n "(cached) " >&6
73082 else
73083
73084
73085 ac_ext=cpp
73086 ac_cpp='$CXXCPP $CPPFLAGS'
73087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73090
73091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73092 /* end confdefs.h. */
73093 #include <math.h>
73094 int
73095 main ()
73096 {
73097 fmodf(0, 0);
73098 ;
73099 return 0;
73100 }
73101 _ACEOF
73102 if ac_fn_cxx_try_compile "$LINENO"; then :
73103 glibcxx_cv_func_fmodf_use=yes
73104 else
73105 glibcxx_cv_func_fmodf_use=no
73106 fi
73107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73108 ac_ext=c
73109 ac_cpp='$CPP $CPPFLAGS'
73110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73113
73114
73115 fi
73116
73117 fi
73118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73119 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73120
73121 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73122 for ac_func in fmodf
73123 do :
73124 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73125 if test "x$ac_cv_func_fmodf" = x""yes; then :
73126 cat >>confdefs.h <<_ACEOF
73127 #define HAVE_FMODF 1
73128 _ACEOF
73129
73130 fi
73131 done
73132
73133 else
73134
73135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73136 $as_echo_n "checking for _fmodf declaration... " >&6; }
73137 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73138 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73139 $as_echo_n "(cached) " >&6
73140 else
73141
73142
73143 ac_ext=cpp
73144 ac_cpp='$CXXCPP $CPPFLAGS'
73145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73148
73149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73150 /* end confdefs.h. */
73151 #include <math.h>
73152 int
73153 main ()
73154 {
73155 _fmodf(0, 0);
73156 ;
73157 return 0;
73158 }
73159 _ACEOF
73160 if ac_fn_cxx_try_compile "$LINENO"; then :
73161 glibcxx_cv_func__fmodf_use=yes
73162 else
73163 glibcxx_cv_func__fmodf_use=no
73164 fi
73165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73166 ac_ext=c
73167 ac_cpp='$CPP $CPPFLAGS'
73168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73171
73172
73173 fi
73174
73175 fi
73176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73177 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73178
73179 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73180 for ac_func in _fmodf
73181 do :
73182 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73183 if test "x$ac_cv_func__fmodf" = x""yes; then :
73184 cat >>confdefs.h <<_ACEOF
73185 #define HAVE__FMODF 1
73186 _ACEOF
73187
73188 fi
73189 done
73190
73191 fi
73192 fi
73193
73194
73195
73196
73197
73198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73199 $as_echo_n "checking for frexpf declaration... " >&6; }
73200 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73201 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73202 $as_echo_n "(cached) " >&6
73203 else
73204
73205
73206 ac_ext=cpp
73207 ac_cpp='$CXXCPP $CPPFLAGS'
73208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73211
73212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73213 /* end confdefs.h. */
73214 #include <math.h>
73215 int
73216 main ()
73217 {
73218 frexpf(0, 0);
73219 ;
73220 return 0;
73221 }
73222 _ACEOF
73223 if ac_fn_cxx_try_compile "$LINENO"; then :
73224 glibcxx_cv_func_frexpf_use=yes
73225 else
73226 glibcxx_cv_func_frexpf_use=no
73227 fi
73228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73229 ac_ext=c
73230 ac_cpp='$CPP $CPPFLAGS'
73231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73234
73235
73236 fi
73237
73238 fi
73239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73240 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73241
73242 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73243 for ac_func in frexpf
73244 do :
73245 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73246 if test "x$ac_cv_func_frexpf" = x""yes; then :
73247 cat >>confdefs.h <<_ACEOF
73248 #define HAVE_FREXPF 1
73249 _ACEOF
73250
73251 fi
73252 done
73253
73254 else
73255
73256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73257 $as_echo_n "checking for _frexpf declaration... " >&6; }
73258 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73259 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73260 $as_echo_n "(cached) " >&6
73261 else
73262
73263
73264 ac_ext=cpp
73265 ac_cpp='$CXXCPP $CPPFLAGS'
73266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73269
73270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73271 /* end confdefs.h. */
73272 #include <math.h>
73273 int
73274 main ()
73275 {
73276 _frexpf(0, 0);
73277 ;
73278 return 0;
73279 }
73280 _ACEOF
73281 if ac_fn_cxx_try_compile "$LINENO"; then :
73282 glibcxx_cv_func__frexpf_use=yes
73283 else
73284 glibcxx_cv_func__frexpf_use=no
73285 fi
73286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73287 ac_ext=c
73288 ac_cpp='$CPP $CPPFLAGS'
73289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73292
73293
73294 fi
73295
73296 fi
73297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73298 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73299
73300 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73301 for ac_func in _frexpf
73302 do :
73303 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73304 if test "x$ac_cv_func__frexpf" = x""yes; then :
73305 cat >>confdefs.h <<_ACEOF
73306 #define HAVE__FREXPF 1
73307 _ACEOF
73308
73309 fi
73310 done
73311
73312 fi
73313 fi
73314
73315
73316
73317
73318
73319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73320 $as_echo_n "checking for hypotf declaration... " >&6; }
73321 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73322 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73323 $as_echo_n "(cached) " >&6
73324 else
73325
73326
73327 ac_ext=cpp
73328 ac_cpp='$CXXCPP $CPPFLAGS'
73329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73332
73333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73334 /* end confdefs.h. */
73335 #include <math.h>
73336 int
73337 main ()
73338 {
73339 hypotf(0, 0);
73340 ;
73341 return 0;
73342 }
73343 _ACEOF
73344 if ac_fn_cxx_try_compile "$LINENO"; then :
73345 glibcxx_cv_func_hypotf_use=yes
73346 else
73347 glibcxx_cv_func_hypotf_use=no
73348 fi
73349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73350 ac_ext=c
73351 ac_cpp='$CPP $CPPFLAGS'
73352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73355
73356
73357 fi
73358
73359 fi
73360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73361 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73362
73363 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73364 for ac_func in hypotf
73365 do :
73366 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73367 if test "x$ac_cv_func_hypotf" = x""yes; then :
73368 cat >>confdefs.h <<_ACEOF
73369 #define HAVE_HYPOTF 1
73370 _ACEOF
73371
73372 fi
73373 done
73374
73375 else
73376
73377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73378 $as_echo_n "checking for _hypotf declaration... " >&6; }
73379 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73380 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73381 $as_echo_n "(cached) " >&6
73382 else
73383
73384
73385 ac_ext=cpp
73386 ac_cpp='$CXXCPP $CPPFLAGS'
73387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73390
73391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73392 /* end confdefs.h. */
73393 #include <math.h>
73394 int
73395 main ()
73396 {
73397 _hypotf(0, 0);
73398 ;
73399 return 0;
73400 }
73401 _ACEOF
73402 if ac_fn_cxx_try_compile "$LINENO"; then :
73403 glibcxx_cv_func__hypotf_use=yes
73404 else
73405 glibcxx_cv_func__hypotf_use=no
73406 fi
73407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73408 ac_ext=c
73409 ac_cpp='$CPP $CPPFLAGS'
73410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73413
73414
73415 fi
73416
73417 fi
73418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73419 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73420
73421 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73422 for ac_func in _hypotf
73423 do :
73424 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73425 if test "x$ac_cv_func__hypotf" = x""yes; then :
73426 cat >>confdefs.h <<_ACEOF
73427 #define HAVE__HYPOTF 1
73428 _ACEOF
73429
73430 fi
73431 done
73432
73433 fi
73434 fi
73435
73436
73437
73438
73439
73440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73441 $as_echo_n "checking for ldexpf declaration... " >&6; }
73442 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73443 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73444 $as_echo_n "(cached) " >&6
73445 else
73446
73447
73448 ac_ext=cpp
73449 ac_cpp='$CXXCPP $CPPFLAGS'
73450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73453
73454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73455 /* end confdefs.h. */
73456 #include <math.h>
73457 int
73458 main ()
73459 {
73460 ldexpf(0, 0);
73461 ;
73462 return 0;
73463 }
73464 _ACEOF
73465 if ac_fn_cxx_try_compile "$LINENO"; then :
73466 glibcxx_cv_func_ldexpf_use=yes
73467 else
73468 glibcxx_cv_func_ldexpf_use=no
73469 fi
73470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73471 ac_ext=c
73472 ac_cpp='$CPP $CPPFLAGS'
73473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73476
73477
73478 fi
73479
73480 fi
73481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73482 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73483
73484 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73485 for ac_func in ldexpf
73486 do :
73487 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73488 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73489 cat >>confdefs.h <<_ACEOF
73490 #define HAVE_LDEXPF 1
73491 _ACEOF
73492
73493 fi
73494 done
73495
73496 else
73497
73498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73499 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73500 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73501 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73502 $as_echo_n "(cached) " >&6
73503 else
73504
73505
73506 ac_ext=cpp
73507 ac_cpp='$CXXCPP $CPPFLAGS'
73508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73511
73512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73513 /* end confdefs.h. */
73514 #include <math.h>
73515 int
73516 main ()
73517 {
73518 _ldexpf(0, 0);
73519 ;
73520 return 0;
73521 }
73522 _ACEOF
73523 if ac_fn_cxx_try_compile "$LINENO"; then :
73524 glibcxx_cv_func__ldexpf_use=yes
73525 else
73526 glibcxx_cv_func__ldexpf_use=no
73527 fi
73528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73529 ac_ext=c
73530 ac_cpp='$CPP $CPPFLAGS'
73531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73534
73535
73536 fi
73537
73538 fi
73539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73540 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73541
73542 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73543 for ac_func in _ldexpf
73544 do :
73545 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73546 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73547 cat >>confdefs.h <<_ACEOF
73548 #define HAVE__LDEXPF 1
73549 _ACEOF
73550
73551 fi
73552 done
73553
73554 fi
73555 fi
73556
73557
73558
73559
73560
73561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73562 $as_echo_n "checking for logf declaration... " >&6; }
73563 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73564 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73565 $as_echo_n "(cached) " >&6
73566 else
73567
73568
73569 ac_ext=cpp
73570 ac_cpp='$CXXCPP $CPPFLAGS'
73571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73574
73575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73576 /* end confdefs.h. */
73577 #include <math.h>
73578 #ifdef HAVE_IEEEFP_H
73579 #include <ieeefp.h>
73580 #endif
73581
73582 int
73583 main ()
73584 {
73585 logf(0);
73586 ;
73587 return 0;
73588 }
73589 _ACEOF
73590 if ac_fn_cxx_try_compile "$LINENO"; then :
73591 glibcxx_cv_func_logf_use=yes
73592 else
73593 glibcxx_cv_func_logf_use=no
73594 fi
73595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73596 ac_ext=c
73597 ac_cpp='$CPP $CPPFLAGS'
73598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73601
73602
73603 fi
73604
73605 fi
73606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73607 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73608
73609 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73610 for ac_func in logf
73611 do :
73612 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73613 if test "x$ac_cv_func_logf" = x""yes; then :
73614 cat >>confdefs.h <<_ACEOF
73615 #define HAVE_LOGF 1
73616 _ACEOF
73617
73618 fi
73619 done
73620
73621 else
73622
73623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73624 $as_echo_n "checking for _logf declaration... " >&6; }
73625 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73626 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73627 $as_echo_n "(cached) " >&6
73628 else
73629
73630
73631 ac_ext=cpp
73632 ac_cpp='$CXXCPP $CPPFLAGS'
73633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73636
73637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73638 /* end confdefs.h. */
73639 #include <math.h>
73640 #ifdef HAVE_IEEEFP_H
73641 #include <ieeefp.h>
73642 #endif
73643
73644 int
73645 main ()
73646 {
73647 _logf(0);
73648 ;
73649 return 0;
73650 }
73651 _ACEOF
73652 if ac_fn_cxx_try_compile "$LINENO"; then :
73653 glibcxx_cv_func__logf_use=yes
73654 else
73655 glibcxx_cv_func__logf_use=no
73656 fi
73657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73658 ac_ext=c
73659 ac_cpp='$CPP $CPPFLAGS'
73660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73663
73664
73665 fi
73666
73667 fi
73668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73669 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73670
73671 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73672 for ac_func in _logf
73673 do :
73674 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73675 if test "x$ac_cv_func__logf" = x""yes; then :
73676 cat >>confdefs.h <<_ACEOF
73677 #define HAVE__LOGF 1
73678 _ACEOF
73679
73680 fi
73681 done
73682
73683 fi
73684 fi
73685
73686
73687
73688
73689
73690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73691 $as_echo_n "checking for log10f declaration... " >&6; }
73692 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73693 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73694 $as_echo_n "(cached) " >&6
73695 else
73696
73697
73698 ac_ext=cpp
73699 ac_cpp='$CXXCPP $CPPFLAGS'
73700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73703
73704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73705 /* end confdefs.h. */
73706 #include <math.h>
73707 #ifdef HAVE_IEEEFP_H
73708 #include <ieeefp.h>
73709 #endif
73710
73711 int
73712 main ()
73713 {
73714 log10f(0);
73715 ;
73716 return 0;
73717 }
73718 _ACEOF
73719 if ac_fn_cxx_try_compile "$LINENO"; then :
73720 glibcxx_cv_func_log10f_use=yes
73721 else
73722 glibcxx_cv_func_log10f_use=no
73723 fi
73724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73725 ac_ext=c
73726 ac_cpp='$CPP $CPPFLAGS'
73727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73730
73731
73732 fi
73733
73734 fi
73735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73736 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73737
73738 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73739 for ac_func in log10f
73740 do :
73741 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73742 if test "x$ac_cv_func_log10f" = x""yes; then :
73743 cat >>confdefs.h <<_ACEOF
73744 #define HAVE_LOG10F 1
73745 _ACEOF
73746
73747 fi
73748 done
73749
73750 else
73751
73752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73753 $as_echo_n "checking for _log10f declaration... " >&6; }
73754 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73755 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73756 $as_echo_n "(cached) " >&6
73757 else
73758
73759
73760 ac_ext=cpp
73761 ac_cpp='$CXXCPP $CPPFLAGS'
73762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73765
73766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73767 /* end confdefs.h. */
73768 #include <math.h>
73769 #ifdef HAVE_IEEEFP_H
73770 #include <ieeefp.h>
73771 #endif
73772
73773 int
73774 main ()
73775 {
73776 _log10f(0);
73777 ;
73778 return 0;
73779 }
73780 _ACEOF
73781 if ac_fn_cxx_try_compile "$LINENO"; then :
73782 glibcxx_cv_func__log10f_use=yes
73783 else
73784 glibcxx_cv_func__log10f_use=no
73785 fi
73786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73787 ac_ext=c
73788 ac_cpp='$CPP $CPPFLAGS'
73789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73792
73793
73794 fi
73795
73796 fi
73797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73798 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73799
73800 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73801 for ac_func in _log10f
73802 do :
73803 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73804 if test "x$ac_cv_func__log10f" = x""yes; then :
73805 cat >>confdefs.h <<_ACEOF
73806 #define HAVE__LOG10F 1
73807 _ACEOF
73808
73809 fi
73810 done
73811
73812 fi
73813 fi
73814
73815
73816
73817
73818
73819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73820 $as_echo_n "checking for modff declaration... " >&6; }
73821 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73822 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73823 $as_echo_n "(cached) " >&6
73824 else
73825
73826
73827 ac_ext=cpp
73828 ac_cpp='$CXXCPP $CPPFLAGS'
73829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73832
73833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73834 /* end confdefs.h. */
73835 #include <math.h>
73836 int
73837 main ()
73838 {
73839 modff(0, 0);
73840 ;
73841 return 0;
73842 }
73843 _ACEOF
73844 if ac_fn_cxx_try_compile "$LINENO"; then :
73845 glibcxx_cv_func_modff_use=yes
73846 else
73847 glibcxx_cv_func_modff_use=no
73848 fi
73849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73850 ac_ext=c
73851 ac_cpp='$CPP $CPPFLAGS'
73852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73855
73856
73857 fi
73858
73859 fi
73860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73861 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73862
73863 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73864 for ac_func in modff
73865 do :
73866 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73867 if test "x$ac_cv_func_modff" = x""yes; then :
73868 cat >>confdefs.h <<_ACEOF
73869 #define HAVE_MODFF 1
73870 _ACEOF
73871
73872 fi
73873 done
73874
73875 else
73876
73877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73878 $as_echo_n "checking for _modff declaration... " >&6; }
73879 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73880 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73881 $as_echo_n "(cached) " >&6
73882 else
73883
73884
73885 ac_ext=cpp
73886 ac_cpp='$CXXCPP $CPPFLAGS'
73887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73890
73891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73892 /* end confdefs.h. */
73893 #include <math.h>
73894 int
73895 main ()
73896 {
73897 _modff(0, 0);
73898 ;
73899 return 0;
73900 }
73901 _ACEOF
73902 if ac_fn_cxx_try_compile "$LINENO"; then :
73903 glibcxx_cv_func__modff_use=yes
73904 else
73905 glibcxx_cv_func__modff_use=no
73906 fi
73907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73908 ac_ext=c
73909 ac_cpp='$CPP $CPPFLAGS'
73910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73913
73914
73915 fi
73916
73917 fi
73918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73919 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73920
73921 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73922 for ac_func in _modff
73923 do :
73924 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73925 if test "x$ac_cv_func__modff" = x""yes; then :
73926 cat >>confdefs.h <<_ACEOF
73927 #define HAVE__MODFF 1
73928 _ACEOF
73929
73930 fi
73931 done
73932
73933 fi
73934 fi
73935
73936
73937
73938
73939
73940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73941 $as_echo_n "checking for modf declaration... " >&6; }
73942 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73943 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73944 $as_echo_n "(cached) " >&6
73945 else
73946
73947
73948 ac_ext=cpp
73949 ac_cpp='$CXXCPP $CPPFLAGS'
73950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73953
73954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73955 /* end confdefs.h. */
73956 #include <math.h>
73957 int
73958 main ()
73959 {
73960 modf(0, 0);
73961 ;
73962 return 0;
73963 }
73964 _ACEOF
73965 if ac_fn_cxx_try_compile "$LINENO"; then :
73966 glibcxx_cv_func_modf_use=yes
73967 else
73968 glibcxx_cv_func_modf_use=no
73969 fi
73970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73971 ac_ext=c
73972 ac_cpp='$CPP $CPPFLAGS'
73973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73976
73977
73978 fi
73979
73980 fi
73981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73982 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73983
73984 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73985 for ac_func in modf
73986 do :
73987 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
73988 if test "x$ac_cv_func_modf" = x""yes; then :
73989 cat >>confdefs.h <<_ACEOF
73990 #define HAVE_MODF 1
73991 _ACEOF
73992
73993 fi
73994 done
73995
73996 else
73997
73998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
73999 $as_echo_n "checking for _modf declaration... " >&6; }
74000 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74001 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74002 $as_echo_n "(cached) " >&6
74003 else
74004
74005
74006 ac_ext=cpp
74007 ac_cpp='$CXXCPP $CPPFLAGS'
74008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74011
74012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74013 /* end confdefs.h. */
74014 #include <math.h>
74015 int
74016 main ()
74017 {
74018 _modf(0, 0);
74019 ;
74020 return 0;
74021 }
74022 _ACEOF
74023 if ac_fn_cxx_try_compile "$LINENO"; then :
74024 glibcxx_cv_func__modf_use=yes
74025 else
74026 glibcxx_cv_func__modf_use=no
74027 fi
74028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74029 ac_ext=c
74030 ac_cpp='$CPP $CPPFLAGS'
74031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74034
74035
74036 fi
74037
74038 fi
74039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74040 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74041
74042 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74043 for ac_func in _modf
74044 do :
74045 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74046 if test "x$ac_cv_func__modf" = x""yes; then :
74047 cat >>confdefs.h <<_ACEOF
74048 #define HAVE__MODF 1
74049 _ACEOF
74050
74051 fi
74052 done
74053
74054 fi
74055 fi
74056
74057
74058
74059
74060
74061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74062 $as_echo_n "checking for powf declaration... " >&6; }
74063 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74064 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74065 $as_echo_n "(cached) " >&6
74066 else
74067
74068
74069 ac_ext=cpp
74070 ac_cpp='$CXXCPP $CPPFLAGS'
74071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74074
74075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74076 /* end confdefs.h. */
74077 #include <math.h>
74078 int
74079 main ()
74080 {
74081 powf(0, 0);
74082 ;
74083 return 0;
74084 }
74085 _ACEOF
74086 if ac_fn_cxx_try_compile "$LINENO"; then :
74087 glibcxx_cv_func_powf_use=yes
74088 else
74089 glibcxx_cv_func_powf_use=no
74090 fi
74091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74092 ac_ext=c
74093 ac_cpp='$CPP $CPPFLAGS'
74094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74097
74098
74099 fi
74100
74101 fi
74102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74103 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74104
74105 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74106 for ac_func in powf
74107 do :
74108 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74109 if test "x$ac_cv_func_powf" = x""yes; then :
74110 cat >>confdefs.h <<_ACEOF
74111 #define HAVE_POWF 1
74112 _ACEOF
74113
74114 fi
74115 done
74116
74117 else
74118
74119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74120 $as_echo_n "checking for _powf declaration... " >&6; }
74121 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74122 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74123 $as_echo_n "(cached) " >&6
74124 else
74125
74126
74127 ac_ext=cpp
74128 ac_cpp='$CXXCPP $CPPFLAGS'
74129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74132
74133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74134 /* end confdefs.h. */
74135 #include <math.h>
74136 int
74137 main ()
74138 {
74139 _powf(0, 0);
74140 ;
74141 return 0;
74142 }
74143 _ACEOF
74144 if ac_fn_cxx_try_compile "$LINENO"; then :
74145 glibcxx_cv_func__powf_use=yes
74146 else
74147 glibcxx_cv_func__powf_use=no
74148 fi
74149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74150 ac_ext=c
74151 ac_cpp='$CPP $CPPFLAGS'
74152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74155
74156
74157 fi
74158
74159 fi
74160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74161 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74162
74163 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74164 for ac_func in _powf
74165 do :
74166 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74167 if test "x$ac_cv_func__powf" = x""yes; then :
74168 cat >>confdefs.h <<_ACEOF
74169 #define HAVE__POWF 1
74170 _ACEOF
74171
74172 fi
74173 done
74174
74175 fi
74176 fi
74177
74178
74179
74180
74181
74182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74183 $as_echo_n "checking for sqrtf declaration... " >&6; }
74184 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74185 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74186 $as_echo_n "(cached) " >&6
74187 else
74188
74189
74190 ac_ext=cpp
74191 ac_cpp='$CXXCPP $CPPFLAGS'
74192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74195
74196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74197 /* end confdefs.h. */
74198 #include <math.h>
74199 #ifdef HAVE_IEEEFP_H
74200 #include <ieeefp.h>
74201 #endif
74202
74203 int
74204 main ()
74205 {
74206 sqrtf(0);
74207 ;
74208 return 0;
74209 }
74210 _ACEOF
74211 if ac_fn_cxx_try_compile "$LINENO"; then :
74212 glibcxx_cv_func_sqrtf_use=yes
74213 else
74214 glibcxx_cv_func_sqrtf_use=no
74215 fi
74216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74217 ac_ext=c
74218 ac_cpp='$CPP $CPPFLAGS'
74219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74222
74223
74224 fi
74225
74226 fi
74227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74228 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74229
74230 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74231 for ac_func in sqrtf
74232 do :
74233 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74234 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74235 cat >>confdefs.h <<_ACEOF
74236 #define HAVE_SQRTF 1
74237 _ACEOF
74238
74239 fi
74240 done
74241
74242 else
74243
74244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74245 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74246 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74247 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74248 $as_echo_n "(cached) " >&6
74249 else
74250
74251
74252 ac_ext=cpp
74253 ac_cpp='$CXXCPP $CPPFLAGS'
74254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74257
74258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74259 /* end confdefs.h. */
74260 #include <math.h>
74261 #ifdef HAVE_IEEEFP_H
74262 #include <ieeefp.h>
74263 #endif
74264
74265 int
74266 main ()
74267 {
74268 _sqrtf(0);
74269 ;
74270 return 0;
74271 }
74272 _ACEOF
74273 if ac_fn_cxx_try_compile "$LINENO"; then :
74274 glibcxx_cv_func__sqrtf_use=yes
74275 else
74276 glibcxx_cv_func__sqrtf_use=no
74277 fi
74278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74279 ac_ext=c
74280 ac_cpp='$CPP $CPPFLAGS'
74281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74284
74285
74286 fi
74287
74288 fi
74289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74290 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74291
74292 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74293 for ac_func in _sqrtf
74294 do :
74295 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74296 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74297 cat >>confdefs.h <<_ACEOF
74298 #define HAVE__SQRTF 1
74299 _ACEOF
74300
74301 fi
74302 done
74303
74304 fi
74305 fi
74306
74307
74308
74309
74310
74311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74312 $as_echo_n "checking for sincosf declaration... " >&6; }
74313 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74314 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74315 $as_echo_n "(cached) " >&6
74316 else
74317
74318
74319 ac_ext=cpp
74320 ac_cpp='$CXXCPP $CPPFLAGS'
74321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74324
74325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74326 /* end confdefs.h. */
74327 #include <math.h>
74328 int
74329 main ()
74330 {
74331 sincosf(0, 0, 0);
74332 ;
74333 return 0;
74334 }
74335 _ACEOF
74336 if ac_fn_cxx_try_compile "$LINENO"; then :
74337 glibcxx_cv_func_sincosf_use=yes
74338 else
74339 glibcxx_cv_func_sincosf_use=no
74340 fi
74341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74342 ac_ext=c
74343 ac_cpp='$CPP $CPPFLAGS'
74344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74347
74348
74349 fi
74350
74351 fi
74352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74353 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74354
74355 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74356 for ac_func in sincosf
74357 do :
74358 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74359 if test "x$ac_cv_func_sincosf" = x""yes; then :
74360 cat >>confdefs.h <<_ACEOF
74361 #define HAVE_SINCOSF 1
74362 _ACEOF
74363
74364 fi
74365 done
74366
74367 else
74368
74369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74370 $as_echo_n "checking for _sincosf declaration... " >&6; }
74371 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74372 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74373 $as_echo_n "(cached) " >&6
74374 else
74375
74376
74377 ac_ext=cpp
74378 ac_cpp='$CXXCPP $CPPFLAGS'
74379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74382
74383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74384 /* end confdefs.h. */
74385 #include <math.h>
74386 int
74387 main ()
74388 {
74389 _sincosf(0, 0, 0);
74390 ;
74391 return 0;
74392 }
74393 _ACEOF
74394 if ac_fn_cxx_try_compile "$LINENO"; then :
74395 glibcxx_cv_func__sincosf_use=yes
74396 else
74397 glibcxx_cv_func__sincosf_use=no
74398 fi
74399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74400 ac_ext=c
74401 ac_cpp='$CPP $CPPFLAGS'
74402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74405
74406
74407 fi
74408
74409 fi
74410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74411 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74412
74413 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74414 for ac_func in _sincosf
74415 do :
74416 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74417 if test "x$ac_cv_func__sincosf" = x""yes; then :
74418 cat >>confdefs.h <<_ACEOF
74419 #define HAVE__SINCOSF 1
74420 _ACEOF
74421
74422 fi
74423 done
74424
74425 fi
74426 fi
74427
74428
74429
74430
74431
74432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74433 $as_echo_n "checking for finitef declaration... " >&6; }
74434 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74435 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74436 $as_echo_n "(cached) " >&6
74437 else
74438
74439
74440 ac_ext=cpp
74441 ac_cpp='$CXXCPP $CPPFLAGS'
74442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74445
74446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74447 /* end confdefs.h. */
74448 #include <math.h>
74449 #ifdef HAVE_IEEEFP_H
74450 #include <ieeefp.h>
74451 #endif
74452
74453 int
74454 main ()
74455 {
74456 finitef(0);
74457 ;
74458 return 0;
74459 }
74460 _ACEOF
74461 if ac_fn_cxx_try_compile "$LINENO"; then :
74462 glibcxx_cv_func_finitef_use=yes
74463 else
74464 glibcxx_cv_func_finitef_use=no
74465 fi
74466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74467 ac_ext=c
74468 ac_cpp='$CPP $CPPFLAGS'
74469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74472
74473
74474 fi
74475
74476 fi
74477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74478 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74479
74480 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74481 for ac_func in finitef
74482 do :
74483 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74484 if test "x$ac_cv_func_finitef" = x""yes; then :
74485 cat >>confdefs.h <<_ACEOF
74486 #define HAVE_FINITEF 1
74487 _ACEOF
74488
74489 fi
74490 done
74491
74492 else
74493
74494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74495 $as_echo_n "checking for _finitef declaration... " >&6; }
74496 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74497 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74498 $as_echo_n "(cached) " >&6
74499 else
74500
74501
74502 ac_ext=cpp
74503 ac_cpp='$CXXCPP $CPPFLAGS'
74504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74507
74508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74509 /* end confdefs.h. */
74510 #include <math.h>
74511 #ifdef HAVE_IEEEFP_H
74512 #include <ieeefp.h>
74513 #endif
74514
74515 int
74516 main ()
74517 {
74518 _finitef(0);
74519 ;
74520 return 0;
74521 }
74522 _ACEOF
74523 if ac_fn_cxx_try_compile "$LINENO"; then :
74524 glibcxx_cv_func__finitef_use=yes
74525 else
74526 glibcxx_cv_func__finitef_use=no
74527 fi
74528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74529 ac_ext=c
74530 ac_cpp='$CPP $CPPFLAGS'
74531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74534
74535
74536 fi
74537
74538 fi
74539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74540 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74541
74542 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74543 for ac_func in _finitef
74544 do :
74545 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74546 if test "x$ac_cv_func__finitef" = x""yes; then :
74547 cat >>confdefs.h <<_ACEOF
74548 #define HAVE__FINITEF 1
74549 _ACEOF
74550
74551 fi
74552 done
74553
74554 fi
74555 fi
74556
74557
74558
74559
74560
74561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74562 $as_echo_n "checking for long double trig functions... " >&6; }
74563 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74564 $as_echo_n "(cached) " >&6
74565 else
74566
74567
74568 ac_ext=cpp
74569 ac_cpp='$CXXCPP $CPPFLAGS'
74570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74573
74574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74575 /* end confdefs.h. */
74576 #include <math.h>
74577 int
74578 main ()
74579 {
74580 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74581 ;
74582 return 0;
74583 }
74584 _ACEOF
74585 if ac_fn_cxx_try_compile "$LINENO"; then :
74586 glibcxx_cv_func_long_double_trig_use=yes
74587 else
74588 glibcxx_cv_func_long_double_trig_use=no
74589 fi
74590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74591 ac_ext=c
74592 ac_cpp='$CPP $CPPFLAGS'
74593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74596
74597 fi
74598
74599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74600 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74601 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74602 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74603 do :
74604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74605 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74606 eval as_val=\$$as_ac_var
74607 if test "x$as_val" = x""yes; then :
74608 cat >>confdefs.h <<_ACEOF
74609 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74610 _ACEOF
74611
74612 fi
74613 done
74614
74615 else
74616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74617 $as_echo_n "checking for _long double trig functions... " >&6; }
74618 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74619 $as_echo_n "(cached) " >&6
74620 else
74621
74622
74623 ac_ext=cpp
74624 ac_cpp='$CXXCPP $CPPFLAGS'
74625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74628
74629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74630 /* end confdefs.h. */
74631 #include <math.h>
74632 int
74633 main ()
74634 {
74635 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74636 ;
74637 return 0;
74638 }
74639 _ACEOF
74640 if ac_fn_cxx_try_compile "$LINENO"; then :
74641 glibcxx_cv_func__long_double_trig_use=yes
74642 else
74643 glibcxx_cv_func__long_double_trig_use=no
74644 fi
74645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74646 ac_ext=c
74647 ac_cpp='$CPP $CPPFLAGS'
74648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74651
74652 fi
74653
74654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74655 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74656 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74657 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74658 do :
74659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74661 eval as_val=\$$as_ac_var
74662 if test "x$as_val" = x""yes; then :
74663 cat >>confdefs.h <<_ACEOF
74664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74665 _ACEOF
74666
74667 fi
74668 done
74669
74670 fi
74671 fi
74672
74673
74674
74675
74676
74677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74678 $as_echo_n "checking for long double round functions... " >&6; }
74679 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74680 $as_echo_n "(cached) " >&6
74681 else
74682
74683
74684 ac_ext=cpp
74685 ac_cpp='$CXXCPP $CPPFLAGS'
74686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74689
74690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74691 /* end confdefs.h. */
74692 #include <math.h>
74693 int
74694 main ()
74695 {
74696 ceill (0); floorl (0);
74697 ;
74698 return 0;
74699 }
74700 _ACEOF
74701 if ac_fn_cxx_try_compile "$LINENO"; then :
74702 glibcxx_cv_func_long_double_round_use=yes
74703 else
74704 glibcxx_cv_func_long_double_round_use=no
74705 fi
74706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74707 ac_ext=c
74708 ac_cpp='$CPP $CPPFLAGS'
74709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74712
74713 fi
74714
74715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74716 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74717 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74718 for ac_func in ceill floorl
74719 do :
74720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74722 eval as_val=\$$as_ac_var
74723 if test "x$as_val" = x""yes; then :
74724 cat >>confdefs.h <<_ACEOF
74725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74726 _ACEOF
74727
74728 fi
74729 done
74730
74731 else
74732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74733 $as_echo_n "checking for _long double round functions... " >&6; }
74734 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74735 $as_echo_n "(cached) " >&6
74736 else
74737
74738
74739 ac_ext=cpp
74740 ac_cpp='$CXXCPP $CPPFLAGS'
74741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74744
74745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74746 /* end confdefs.h. */
74747 #include <math.h>
74748 int
74749 main ()
74750 {
74751 _ceill (0); _floorl (0);
74752 ;
74753 return 0;
74754 }
74755 _ACEOF
74756 if ac_fn_cxx_try_compile "$LINENO"; then :
74757 glibcxx_cv_func__long_double_round_use=yes
74758 else
74759 glibcxx_cv_func__long_double_round_use=no
74760 fi
74761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74762 ac_ext=c
74763 ac_cpp='$CPP $CPPFLAGS'
74764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74767
74768 fi
74769
74770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74771 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74772 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74773 for ac_func in _ceill _floorl
74774 do :
74775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74777 eval as_val=\$$as_ac_var
74778 if test "x$as_val" = x""yes; then :
74779 cat >>confdefs.h <<_ACEOF
74780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74781 _ACEOF
74782
74783 fi
74784 done
74785
74786 fi
74787 fi
74788
74789
74790
74791
74792
74793
74794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74795 $as_echo_n "checking for isnanl declaration... " >&6; }
74796 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74797 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74798 $as_echo_n "(cached) " >&6
74799 else
74800
74801
74802 ac_ext=cpp
74803 ac_cpp='$CXXCPP $CPPFLAGS'
74804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74807
74808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74809 /* end confdefs.h. */
74810 #include <math.h>
74811 #ifdef HAVE_IEEEFP_H
74812 #include <ieeefp.h>
74813 #endif
74814
74815 int
74816 main ()
74817 {
74818 isnanl(0);
74819 ;
74820 return 0;
74821 }
74822 _ACEOF
74823 if ac_fn_cxx_try_compile "$LINENO"; then :
74824 glibcxx_cv_func_isnanl_use=yes
74825 else
74826 glibcxx_cv_func_isnanl_use=no
74827 fi
74828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74829 ac_ext=c
74830 ac_cpp='$CPP $CPPFLAGS'
74831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74834
74835
74836 fi
74837
74838 fi
74839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74840 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74841
74842 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74843 for ac_func in isnanl
74844 do :
74845 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74846 if test "x$ac_cv_func_isnanl" = x""yes; then :
74847 cat >>confdefs.h <<_ACEOF
74848 #define HAVE_ISNANL 1
74849 _ACEOF
74850
74851 fi
74852 done
74853
74854 else
74855
74856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74857 $as_echo_n "checking for _isnanl declaration... " >&6; }
74858 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74859 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74860 $as_echo_n "(cached) " >&6
74861 else
74862
74863
74864 ac_ext=cpp
74865 ac_cpp='$CXXCPP $CPPFLAGS'
74866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74869
74870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74871 /* end confdefs.h. */
74872 #include <math.h>
74873 #ifdef HAVE_IEEEFP_H
74874 #include <ieeefp.h>
74875 #endif
74876
74877 int
74878 main ()
74879 {
74880 _isnanl(0);
74881 ;
74882 return 0;
74883 }
74884 _ACEOF
74885 if ac_fn_cxx_try_compile "$LINENO"; then :
74886 glibcxx_cv_func__isnanl_use=yes
74887 else
74888 glibcxx_cv_func__isnanl_use=no
74889 fi
74890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74891 ac_ext=c
74892 ac_cpp='$CPP $CPPFLAGS'
74893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74896
74897
74898 fi
74899
74900 fi
74901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74902 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74903
74904 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74905 for ac_func in _isnanl
74906 do :
74907 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74908 if test "x$ac_cv_func__isnanl" = x""yes; then :
74909 cat >>confdefs.h <<_ACEOF
74910 #define HAVE__ISNANL 1
74911 _ACEOF
74912
74913 fi
74914 done
74915
74916 fi
74917 fi
74918
74919
74920
74921
74922
74923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74924 $as_echo_n "checking for isinfl declaration... " >&6; }
74925 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74926 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74927 $as_echo_n "(cached) " >&6
74928 else
74929
74930
74931 ac_ext=cpp
74932 ac_cpp='$CXXCPP $CPPFLAGS'
74933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74936
74937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74938 /* end confdefs.h. */
74939 #include <math.h>
74940 #ifdef HAVE_IEEEFP_H
74941 #include <ieeefp.h>
74942 #endif
74943
74944 int
74945 main ()
74946 {
74947 isinfl(0);
74948 ;
74949 return 0;
74950 }
74951 _ACEOF
74952 if ac_fn_cxx_try_compile "$LINENO"; then :
74953 glibcxx_cv_func_isinfl_use=yes
74954 else
74955 glibcxx_cv_func_isinfl_use=no
74956 fi
74957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74958 ac_ext=c
74959 ac_cpp='$CPP $CPPFLAGS'
74960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74963
74964
74965 fi
74966
74967 fi
74968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74969 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74970
74971 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74972 for ac_func in isinfl
74973 do :
74974 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74975 if test "x$ac_cv_func_isinfl" = x""yes; then :
74976 cat >>confdefs.h <<_ACEOF
74977 #define HAVE_ISINFL 1
74978 _ACEOF
74979
74980 fi
74981 done
74982
74983 else
74984
74985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74986 $as_echo_n "checking for _isinfl declaration... " >&6; }
74987 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74988 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
74989 $as_echo_n "(cached) " >&6
74990 else
74991
74992
74993 ac_ext=cpp
74994 ac_cpp='$CXXCPP $CPPFLAGS'
74995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74998
74999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75000 /* end confdefs.h. */
75001 #include <math.h>
75002 #ifdef HAVE_IEEEFP_H
75003 #include <ieeefp.h>
75004 #endif
75005
75006 int
75007 main ()
75008 {
75009 _isinfl(0);
75010 ;
75011 return 0;
75012 }
75013 _ACEOF
75014 if ac_fn_cxx_try_compile "$LINENO"; then :
75015 glibcxx_cv_func__isinfl_use=yes
75016 else
75017 glibcxx_cv_func__isinfl_use=no
75018 fi
75019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75020 ac_ext=c
75021 ac_cpp='$CPP $CPPFLAGS'
75022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75025
75026
75027 fi
75028
75029 fi
75030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75031 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75032
75033 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75034 for ac_func in _isinfl
75035 do :
75036 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75037 if test "x$ac_cv_func__isinfl" = x""yes; then :
75038 cat >>confdefs.h <<_ACEOF
75039 #define HAVE__ISINFL 1
75040 _ACEOF
75041
75042 fi
75043 done
75044
75045 fi
75046 fi
75047
75048
75049
75050
75051
75052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75053 $as_echo_n "checking for atan2l declaration... " >&6; }
75054 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75055 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75056 $as_echo_n "(cached) " >&6
75057 else
75058
75059
75060 ac_ext=cpp
75061 ac_cpp='$CXXCPP $CPPFLAGS'
75062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75065
75066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75067 /* end confdefs.h. */
75068 #include <math.h>
75069 int
75070 main ()
75071 {
75072 atan2l(0, 0);
75073 ;
75074 return 0;
75075 }
75076 _ACEOF
75077 if ac_fn_cxx_try_compile "$LINENO"; then :
75078 glibcxx_cv_func_atan2l_use=yes
75079 else
75080 glibcxx_cv_func_atan2l_use=no
75081 fi
75082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75083 ac_ext=c
75084 ac_cpp='$CPP $CPPFLAGS'
75085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75088
75089
75090 fi
75091
75092 fi
75093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75094 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75095
75096 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75097 for ac_func in atan2l
75098 do :
75099 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75100 if test "x$ac_cv_func_atan2l" = x""yes; then :
75101 cat >>confdefs.h <<_ACEOF
75102 #define HAVE_ATAN2L 1
75103 _ACEOF
75104
75105 fi
75106 done
75107
75108 else
75109
75110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75111 $as_echo_n "checking for _atan2l declaration... " >&6; }
75112 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75113 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75114 $as_echo_n "(cached) " >&6
75115 else
75116
75117
75118 ac_ext=cpp
75119 ac_cpp='$CXXCPP $CPPFLAGS'
75120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75123
75124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75125 /* end confdefs.h. */
75126 #include <math.h>
75127 int
75128 main ()
75129 {
75130 _atan2l(0, 0);
75131 ;
75132 return 0;
75133 }
75134 _ACEOF
75135 if ac_fn_cxx_try_compile "$LINENO"; then :
75136 glibcxx_cv_func__atan2l_use=yes
75137 else
75138 glibcxx_cv_func__atan2l_use=no
75139 fi
75140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75141 ac_ext=c
75142 ac_cpp='$CPP $CPPFLAGS'
75143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75146
75147
75148 fi
75149
75150 fi
75151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75152 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75153
75154 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75155 for ac_func in _atan2l
75156 do :
75157 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75158 if test "x$ac_cv_func__atan2l" = x""yes; then :
75159 cat >>confdefs.h <<_ACEOF
75160 #define HAVE__ATAN2L 1
75161 _ACEOF
75162
75163 fi
75164 done
75165
75166 fi
75167 fi
75168
75169
75170
75171
75172
75173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75174 $as_echo_n "checking for expl declaration... " >&6; }
75175 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75176 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75177 $as_echo_n "(cached) " >&6
75178 else
75179
75180
75181 ac_ext=cpp
75182 ac_cpp='$CXXCPP $CPPFLAGS'
75183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75186
75187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75188 /* end confdefs.h. */
75189 #include <math.h>
75190 #ifdef HAVE_IEEEFP_H
75191 #include <ieeefp.h>
75192 #endif
75193
75194 int
75195 main ()
75196 {
75197 expl(0);
75198 ;
75199 return 0;
75200 }
75201 _ACEOF
75202 if ac_fn_cxx_try_compile "$LINENO"; then :
75203 glibcxx_cv_func_expl_use=yes
75204 else
75205 glibcxx_cv_func_expl_use=no
75206 fi
75207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75208 ac_ext=c
75209 ac_cpp='$CPP $CPPFLAGS'
75210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75213
75214
75215 fi
75216
75217 fi
75218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75219 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75220
75221 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75222 for ac_func in expl
75223 do :
75224 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75225 if test "x$ac_cv_func_expl" = x""yes; then :
75226 cat >>confdefs.h <<_ACEOF
75227 #define HAVE_EXPL 1
75228 _ACEOF
75229
75230 fi
75231 done
75232
75233 else
75234
75235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75236 $as_echo_n "checking for _expl declaration... " >&6; }
75237 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75238 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75239 $as_echo_n "(cached) " >&6
75240 else
75241
75242
75243 ac_ext=cpp
75244 ac_cpp='$CXXCPP $CPPFLAGS'
75245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75248
75249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75250 /* end confdefs.h. */
75251 #include <math.h>
75252 #ifdef HAVE_IEEEFP_H
75253 #include <ieeefp.h>
75254 #endif
75255
75256 int
75257 main ()
75258 {
75259 _expl(0);
75260 ;
75261 return 0;
75262 }
75263 _ACEOF
75264 if ac_fn_cxx_try_compile "$LINENO"; then :
75265 glibcxx_cv_func__expl_use=yes
75266 else
75267 glibcxx_cv_func__expl_use=no
75268 fi
75269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75270 ac_ext=c
75271 ac_cpp='$CPP $CPPFLAGS'
75272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75275
75276
75277 fi
75278
75279 fi
75280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75281 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75282
75283 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75284 for ac_func in _expl
75285 do :
75286 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75287 if test "x$ac_cv_func__expl" = x""yes; then :
75288 cat >>confdefs.h <<_ACEOF
75289 #define HAVE__EXPL 1
75290 _ACEOF
75291
75292 fi
75293 done
75294
75295 fi
75296 fi
75297
75298
75299
75300
75301
75302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75303 $as_echo_n "checking for fabsl declaration... " >&6; }
75304 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75305 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75306 $as_echo_n "(cached) " >&6
75307 else
75308
75309
75310 ac_ext=cpp
75311 ac_cpp='$CXXCPP $CPPFLAGS'
75312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75315
75316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75317 /* end confdefs.h. */
75318 #include <math.h>
75319 #ifdef HAVE_IEEEFP_H
75320 #include <ieeefp.h>
75321 #endif
75322
75323 int
75324 main ()
75325 {
75326 fabsl(0);
75327 ;
75328 return 0;
75329 }
75330 _ACEOF
75331 if ac_fn_cxx_try_compile "$LINENO"; then :
75332 glibcxx_cv_func_fabsl_use=yes
75333 else
75334 glibcxx_cv_func_fabsl_use=no
75335 fi
75336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75337 ac_ext=c
75338 ac_cpp='$CPP $CPPFLAGS'
75339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75342
75343
75344 fi
75345
75346 fi
75347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75348 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75349
75350 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75351 for ac_func in fabsl
75352 do :
75353 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75354 if test "x$ac_cv_func_fabsl" = x""yes; then :
75355 cat >>confdefs.h <<_ACEOF
75356 #define HAVE_FABSL 1
75357 _ACEOF
75358
75359 fi
75360 done
75361
75362 else
75363
75364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75365 $as_echo_n "checking for _fabsl declaration... " >&6; }
75366 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75367 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75368 $as_echo_n "(cached) " >&6
75369 else
75370
75371
75372 ac_ext=cpp
75373 ac_cpp='$CXXCPP $CPPFLAGS'
75374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75377
75378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75379 /* end confdefs.h. */
75380 #include <math.h>
75381 #ifdef HAVE_IEEEFP_H
75382 #include <ieeefp.h>
75383 #endif
75384
75385 int
75386 main ()
75387 {
75388 _fabsl(0);
75389 ;
75390 return 0;
75391 }
75392 _ACEOF
75393 if ac_fn_cxx_try_compile "$LINENO"; then :
75394 glibcxx_cv_func__fabsl_use=yes
75395 else
75396 glibcxx_cv_func__fabsl_use=no
75397 fi
75398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75399 ac_ext=c
75400 ac_cpp='$CPP $CPPFLAGS'
75401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75404
75405
75406 fi
75407
75408 fi
75409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75410 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75411
75412 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75413 for ac_func in _fabsl
75414 do :
75415 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75416 if test "x$ac_cv_func__fabsl" = x""yes; then :
75417 cat >>confdefs.h <<_ACEOF
75418 #define HAVE__FABSL 1
75419 _ACEOF
75420
75421 fi
75422 done
75423
75424 fi
75425 fi
75426
75427
75428
75429
75430
75431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75432 $as_echo_n "checking for fmodl declaration... " >&6; }
75433 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75434 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75435 $as_echo_n "(cached) " >&6
75436 else
75437
75438
75439 ac_ext=cpp
75440 ac_cpp='$CXXCPP $CPPFLAGS'
75441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75444
75445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75446 /* end confdefs.h. */
75447 #include <math.h>
75448 int
75449 main ()
75450 {
75451 fmodl(0, 0);
75452 ;
75453 return 0;
75454 }
75455 _ACEOF
75456 if ac_fn_cxx_try_compile "$LINENO"; then :
75457 glibcxx_cv_func_fmodl_use=yes
75458 else
75459 glibcxx_cv_func_fmodl_use=no
75460 fi
75461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75462 ac_ext=c
75463 ac_cpp='$CPP $CPPFLAGS'
75464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75467
75468
75469 fi
75470
75471 fi
75472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75473 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75474
75475 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75476 for ac_func in fmodl
75477 do :
75478 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75479 if test "x$ac_cv_func_fmodl" = x""yes; then :
75480 cat >>confdefs.h <<_ACEOF
75481 #define HAVE_FMODL 1
75482 _ACEOF
75483
75484 fi
75485 done
75486
75487 else
75488
75489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75490 $as_echo_n "checking for _fmodl declaration... " >&6; }
75491 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75492 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75493 $as_echo_n "(cached) " >&6
75494 else
75495
75496
75497 ac_ext=cpp
75498 ac_cpp='$CXXCPP $CPPFLAGS'
75499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75502
75503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75504 /* end confdefs.h. */
75505 #include <math.h>
75506 int
75507 main ()
75508 {
75509 _fmodl(0, 0);
75510 ;
75511 return 0;
75512 }
75513 _ACEOF
75514 if ac_fn_cxx_try_compile "$LINENO"; then :
75515 glibcxx_cv_func__fmodl_use=yes
75516 else
75517 glibcxx_cv_func__fmodl_use=no
75518 fi
75519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75520 ac_ext=c
75521 ac_cpp='$CPP $CPPFLAGS'
75522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75525
75526
75527 fi
75528
75529 fi
75530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75531 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75532
75533 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75534 for ac_func in _fmodl
75535 do :
75536 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75537 if test "x$ac_cv_func__fmodl" = x""yes; then :
75538 cat >>confdefs.h <<_ACEOF
75539 #define HAVE__FMODL 1
75540 _ACEOF
75541
75542 fi
75543 done
75544
75545 fi
75546 fi
75547
75548
75549
75550
75551
75552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75553 $as_echo_n "checking for frexpl declaration... " >&6; }
75554 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75555 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75556 $as_echo_n "(cached) " >&6
75557 else
75558
75559
75560 ac_ext=cpp
75561 ac_cpp='$CXXCPP $CPPFLAGS'
75562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75565
75566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75567 /* end confdefs.h. */
75568 #include <math.h>
75569 int
75570 main ()
75571 {
75572 frexpl(0, 0);
75573 ;
75574 return 0;
75575 }
75576 _ACEOF
75577 if ac_fn_cxx_try_compile "$LINENO"; then :
75578 glibcxx_cv_func_frexpl_use=yes
75579 else
75580 glibcxx_cv_func_frexpl_use=no
75581 fi
75582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75583 ac_ext=c
75584 ac_cpp='$CPP $CPPFLAGS'
75585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75588
75589
75590 fi
75591
75592 fi
75593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75594 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75595
75596 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75597 for ac_func in frexpl
75598 do :
75599 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75600 if test "x$ac_cv_func_frexpl" = x""yes; then :
75601 cat >>confdefs.h <<_ACEOF
75602 #define HAVE_FREXPL 1
75603 _ACEOF
75604
75605 fi
75606 done
75607
75608 else
75609
75610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75611 $as_echo_n "checking for _frexpl declaration... " >&6; }
75612 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75613 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75614 $as_echo_n "(cached) " >&6
75615 else
75616
75617
75618 ac_ext=cpp
75619 ac_cpp='$CXXCPP $CPPFLAGS'
75620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75623
75624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75625 /* end confdefs.h. */
75626 #include <math.h>
75627 int
75628 main ()
75629 {
75630 _frexpl(0, 0);
75631 ;
75632 return 0;
75633 }
75634 _ACEOF
75635 if ac_fn_cxx_try_compile "$LINENO"; then :
75636 glibcxx_cv_func__frexpl_use=yes
75637 else
75638 glibcxx_cv_func__frexpl_use=no
75639 fi
75640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75641 ac_ext=c
75642 ac_cpp='$CPP $CPPFLAGS'
75643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75646
75647
75648 fi
75649
75650 fi
75651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75652 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75653
75654 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75655 for ac_func in _frexpl
75656 do :
75657 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75658 if test "x$ac_cv_func__frexpl" = x""yes; then :
75659 cat >>confdefs.h <<_ACEOF
75660 #define HAVE__FREXPL 1
75661 _ACEOF
75662
75663 fi
75664 done
75665
75666 fi
75667 fi
75668
75669
75670
75671
75672
75673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75674 $as_echo_n "checking for hypotl declaration... " >&6; }
75675 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75676 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75677 $as_echo_n "(cached) " >&6
75678 else
75679
75680
75681 ac_ext=cpp
75682 ac_cpp='$CXXCPP $CPPFLAGS'
75683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75686
75687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75688 /* end confdefs.h. */
75689 #include <math.h>
75690 int
75691 main ()
75692 {
75693 hypotl(0, 0);
75694 ;
75695 return 0;
75696 }
75697 _ACEOF
75698 if ac_fn_cxx_try_compile "$LINENO"; then :
75699 glibcxx_cv_func_hypotl_use=yes
75700 else
75701 glibcxx_cv_func_hypotl_use=no
75702 fi
75703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75704 ac_ext=c
75705 ac_cpp='$CPP $CPPFLAGS'
75706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75709
75710
75711 fi
75712
75713 fi
75714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75715 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75716
75717 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75718 for ac_func in hypotl
75719 do :
75720 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75721 if test "x$ac_cv_func_hypotl" = x""yes; then :
75722 cat >>confdefs.h <<_ACEOF
75723 #define HAVE_HYPOTL 1
75724 _ACEOF
75725
75726 fi
75727 done
75728
75729 else
75730
75731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75732 $as_echo_n "checking for _hypotl declaration... " >&6; }
75733 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75734 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75735 $as_echo_n "(cached) " >&6
75736 else
75737
75738
75739 ac_ext=cpp
75740 ac_cpp='$CXXCPP $CPPFLAGS'
75741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75744
75745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75746 /* end confdefs.h. */
75747 #include <math.h>
75748 int
75749 main ()
75750 {
75751 _hypotl(0, 0);
75752 ;
75753 return 0;
75754 }
75755 _ACEOF
75756 if ac_fn_cxx_try_compile "$LINENO"; then :
75757 glibcxx_cv_func__hypotl_use=yes
75758 else
75759 glibcxx_cv_func__hypotl_use=no
75760 fi
75761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75762 ac_ext=c
75763 ac_cpp='$CPP $CPPFLAGS'
75764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75767
75768
75769 fi
75770
75771 fi
75772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75773 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75774
75775 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75776 for ac_func in _hypotl
75777 do :
75778 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75779 if test "x$ac_cv_func__hypotl" = x""yes; then :
75780 cat >>confdefs.h <<_ACEOF
75781 #define HAVE__HYPOTL 1
75782 _ACEOF
75783
75784 fi
75785 done
75786
75787 fi
75788 fi
75789
75790
75791
75792
75793
75794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75795 $as_echo_n "checking for ldexpl declaration... " >&6; }
75796 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75797 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75798 $as_echo_n "(cached) " >&6
75799 else
75800
75801
75802 ac_ext=cpp
75803 ac_cpp='$CXXCPP $CPPFLAGS'
75804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75807
75808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75809 /* end confdefs.h. */
75810 #include <math.h>
75811 int
75812 main ()
75813 {
75814 ldexpl(0, 0);
75815 ;
75816 return 0;
75817 }
75818 _ACEOF
75819 if ac_fn_cxx_try_compile "$LINENO"; then :
75820 glibcxx_cv_func_ldexpl_use=yes
75821 else
75822 glibcxx_cv_func_ldexpl_use=no
75823 fi
75824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75825 ac_ext=c
75826 ac_cpp='$CPP $CPPFLAGS'
75827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75830
75831
75832 fi
75833
75834 fi
75835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75836 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75837
75838 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75839 for ac_func in ldexpl
75840 do :
75841 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75842 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75843 cat >>confdefs.h <<_ACEOF
75844 #define HAVE_LDEXPL 1
75845 _ACEOF
75846
75847 fi
75848 done
75849
75850 else
75851
75852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75853 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75854 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75855 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75856 $as_echo_n "(cached) " >&6
75857 else
75858
75859
75860 ac_ext=cpp
75861 ac_cpp='$CXXCPP $CPPFLAGS'
75862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75865
75866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75867 /* end confdefs.h. */
75868 #include <math.h>
75869 int
75870 main ()
75871 {
75872 _ldexpl(0, 0);
75873 ;
75874 return 0;
75875 }
75876 _ACEOF
75877 if ac_fn_cxx_try_compile "$LINENO"; then :
75878 glibcxx_cv_func__ldexpl_use=yes
75879 else
75880 glibcxx_cv_func__ldexpl_use=no
75881 fi
75882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75883 ac_ext=c
75884 ac_cpp='$CPP $CPPFLAGS'
75885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75888
75889
75890 fi
75891
75892 fi
75893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75894 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75895
75896 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75897 for ac_func in _ldexpl
75898 do :
75899 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75900 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75901 cat >>confdefs.h <<_ACEOF
75902 #define HAVE__LDEXPL 1
75903 _ACEOF
75904
75905 fi
75906 done
75907
75908 fi
75909 fi
75910
75911
75912
75913
75914
75915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75916 $as_echo_n "checking for logl declaration... " >&6; }
75917 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75918 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75919 $as_echo_n "(cached) " >&6
75920 else
75921
75922
75923 ac_ext=cpp
75924 ac_cpp='$CXXCPP $CPPFLAGS'
75925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75928
75929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75930 /* end confdefs.h. */
75931 #include <math.h>
75932 #ifdef HAVE_IEEEFP_H
75933 #include <ieeefp.h>
75934 #endif
75935
75936 int
75937 main ()
75938 {
75939 logl(0);
75940 ;
75941 return 0;
75942 }
75943 _ACEOF
75944 if ac_fn_cxx_try_compile "$LINENO"; then :
75945 glibcxx_cv_func_logl_use=yes
75946 else
75947 glibcxx_cv_func_logl_use=no
75948 fi
75949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75950 ac_ext=c
75951 ac_cpp='$CPP $CPPFLAGS'
75952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75955
75956
75957 fi
75958
75959 fi
75960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75961 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75962
75963 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75964 for ac_func in logl
75965 do :
75966 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75967 if test "x$ac_cv_func_logl" = x""yes; then :
75968 cat >>confdefs.h <<_ACEOF
75969 #define HAVE_LOGL 1
75970 _ACEOF
75971
75972 fi
75973 done
75974
75975 else
75976
75977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75978 $as_echo_n "checking for _logl declaration... " >&6; }
75979 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75980 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75981 $as_echo_n "(cached) " >&6
75982 else
75983
75984
75985 ac_ext=cpp
75986 ac_cpp='$CXXCPP $CPPFLAGS'
75987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75990
75991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75992 /* end confdefs.h. */
75993 #include <math.h>
75994 #ifdef HAVE_IEEEFP_H
75995 #include <ieeefp.h>
75996 #endif
75997
75998 int
75999 main ()
76000 {
76001 _logl(0);
76002 ;
76003 return 0;
76004 }
76005 _ACEOF
76006 if ac_fn_cxx_try_compile "$LINENO"; then :
76007 glibcxx_cv_func__logl_use=yes
76008 else
76009 glibcxx_cv_func__logl_use=no
76010 fi
76011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76012 ac_ext=c
76013 ac_cpp='$CPP $CPPFLAGS'
76014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76017
76018
76019 fi
76020
76021 fi
76022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76023 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76024
76025 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76026 for ac_func in _logl
76027 do :
76028 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76029 if test "x$ac_cv_func__logl" = x""yes; then :
76030 cat >>confdefs.h <<_ACEOF
76031 #define HAVE__LOGL 1
76032 _ACEOF
76033
76034 fi
76035 done
76036
76037 fi
76038 fi
76039
76040
76041
76042
76043
76044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76045 $as_echo_n "checking for log10l declaration... " >&6; }
76046 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76047 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76048 $as_echo_n "(cached) " >&6
76049 else
76050
76051
76052 ac_ext=cpp
76053 ac_cpp='$CXXCPP $CPPFLAGS'
76054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76057
76058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76059 /* end confdefs.h. */
76060 #include <math.h>
76061 #ifdef HAVE_IEEEFP_H
76062 #include <ieeefp.h>
76063 #endif
76064
76065 int
76066 main ()
76067 {
76068 log10l(0);
76069 ;
76070 return 0;
76071 }
76072 _ACEOF
76073 if ac_fn_cxx_try_compile "$LINENO"; then :
76074 glibcxx_cv_func_log10l_use=yes
76075 else
76076 glibcxx_cv_func_log10l_use=no
76077 fi
76078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76079 ac_ext=c
76080 ac_cpp='$CPP $CPPFLAGS'
76081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76084
76085
76086 fi
76087
76088 fi
76089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76090 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76091
76092 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76093 for ac_func in log10l
76094 do :
76095 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76096 if test "x$ac_cv_func_log10l" = x""yes; then :
76097 cat >>confdefs.h <<_ACEOF
76098 #define HAVE_LOG10L 1
76099 _ACEOF
76100
76101 fi
76102 done
76103
76104 else
76105
76106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76107 $as_echo_n "checking for _log10l declaration... " >&6; }
76108 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76109 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76110 $as_echo_n "(cached) " >&6
76111 else
76112
76113
76114 ac_ext=cpp
76115 ac_cpp='$CXXCPP $CPPFLAGS'
76116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76119
76120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76121 /* end confdefs.h. */
76122 #include <math.h>
76123 #ifdef HAVE_IEEEFP_H
76124 #include <ieeefp.h>
76125 #endif
76126
76127 int
76128 main ()
76129 {
76130 _log10l(0);
76131 ;
76132 return 0;
76133 }
76134 _ACEOF
76135 if ac_fn_cxx_try_compile "$LINENO"; then :
76136 glibcxx_cv_func__log10l_use=yes
76137 else
76138 glibcxx_cv_func__log10l_use=no
76139 fi
76140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76141 ac_ext=c
76142 ac_cpp='$CPP $CPPFLAGS'
76143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76146
76147
76148 fi
76149
76150 fi
76151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76152 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76153
76154 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76155 for ac_func in _log10l
76156 do :
76157 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76158 if test "x$ac_cv_func__log10l" = x""yes; then :
76159 cat >>confdefs.h <<_ACEOF
76160 #define HAVE__LOG10L 1
76161 _ACEOF
76162
76163 fi
76164 done
76165
76166 fi
76167 fi
76168
76169
76170
76171
76172
76173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76174 $as_echo_n "checking for modfl declaration... " >&6; }
76175 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76176 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76177 $as_echo_n "(cached) " >&6
76178 else
76179
76180
76181 ac_ext=cpp
76182 ac_cpp='$CXXCPP $CPPFLAGS'
76183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76186
76187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76188 /* end confdefs.h. */
76189 #include <math.h>
76190 int
76191 main ()
76192 {
76193 modfl(0, 0);
76194 ;
76195 return 0;
76196 }
76197 _ACEOF
76198 if ac_fn_cxx_try_compile "$LINENO"; then :
76199 glibcxx_cv_func_modfl_use=yes
76200 else
76201 glibcxx_cv_func_modfl_use=no
76202 fi
76203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76204 ac_ext=c
76205 ac_cpp='$CPP $CPPFLAGS'
76206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76209
76210
76211 fi
76212
76213 fi
76214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76215 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76216
76217 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76218 for ac_func in modfl
76219 do :
76220 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76221 if test "x$ac_cv_func_modfl" = x""yes; then :
76222 cat >>confdefs.h <<_ACEOF
76223 #define HAVE_MODFL 1
76224 _ACEOF
76225
76226 fi
76227 done
76228
76229 else
76230
76231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76232 $as_echo_n "checking for _modfl declaration... " >&6; }
76233 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76234 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76235 $as_echo_n "(cached) " >&6
76236 else
76237
76238
76239 ac_ext=cpp
76240 ac_cpp='$CXXCPP $CPPFLAGS'
76241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76244
76245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76246 /* end confdefs.h. */
76247 #include <math.h>
76248 int
76249 main ()
76250 {
76251 _modfl(0, 0);
76252 ;
76253 return 0;
76254 }
76255 _ACEOF
76256 if ac_fn_cxx_try_compile "$LINENO"; then :
76257 glibcxx_cv_func__modfl_use=yes
76258 else
76259 glibcxx_cv_func__modfl_use=no
76260 fi
76261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76262 ac_ext=c
76263 ac_cpp='$CPP $CPPFLAGS'
76264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76267
76268
76269 fi
76270
76271 fi
76272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76273 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76274
76275 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76276 for ac_func in _modfl
76277 do :
76278 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76279 if test "x$ac_cv_func__modfl" = x""yes; then :
76280 cat >>confdefs.h <<_ACEOF
76281 #define HAVE__MODFL 1
76282 _ACEOF
76283
76284 fi
76285 done
76286
76287 fi
76288 fi
76289
76290
76291
76292
76293
76294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76295 $as_echo_n "checking for powl declaration... " >&6; }
76296 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76297 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76298 $as_echo_n "(cached) " >&6
76299 else
76300
76301
76302 ac_ext=cpp
76303 ac_cpp='$CXXCPP $CPPFLAGS'
76304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76307
76308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76309 /* end confdefs.h. */
76310 #include <math.h>
76311 int
76312 main ()
76313 {
76314 powl(0, 0);
76315 ;
76316 return 0;
76317 }
76318 _ACEOF
76319 if ac_fn_cxx_try_compile "$LINENO"; then :
76320 glibcxx_cv_func_powl_use=yes
76321 else
76322 glibcxx_cv_func_powl_use=no
76323 fi
76324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76325 ac_ext=c
76326 ac_cpp='$CPP $CPPFLAGS'
76327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76330
76331
76332 fi
76333
76334 fi
76335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76336 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76337
76338 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76339 for ac_func in powl
76340 do :
76341 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76342 if test "x$ac_cv_func_powl" = x""yes; then :
76343 cat >>confdefs.h <<_ACEOF
76344 #define HAVE_POWL 1
76345 _ACEOF
76346
76347 fi
76348 done
76349
76350 else
76351
76352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76353 $as_echo_n "checking for _powl declaration... " >&6; }
76354 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76355 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76356 $as_echo_n "(cached) " >&6
76357 else
76358
76359
76360 ac_ext=cpp
76361 ac_cpp='$CXXCPP $CPPFLAGS'
76362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76365
76366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76367 /* end confdefs.h. */
76368 #include <math.h>
76369 int
76370 main ()
76371 {
76372 _powl(0, 0);
76373 ;
76374 return 0;
76375 }
76376 _ACEOF
76377 if ac_fn_cxx_try_compile "$LINENO"; then :
76378 glibcxx_cv_func__powl_use=yes
76379 else
76380 glibcxx_cv_func__powl_use=no
76381 fi
76382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76383 ac_ext=c
76384 ac_cpp='$CPP $CPPFLAGS'
76385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76388
76389
76390 fi
76391
76392 fi
76393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76394 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76395
76396 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76397 for ac_func in _powl
76398 do :
76399 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76400 if test "x$ac_cv_func__powl" = x""yes; then :
76401 cat >>confdefs.h <<_ACEOF
76402 #define HAVE__POWL 1
76403 _ACEOF
76404
76405 fi
76406 done
76407
76408 fi
76409 fi
76410
76411
76412
76413
76414
76415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76416 $as_echo_n "checking for sqrtl declaration... " >&6; }
76417 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76418 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76419 $as_echo_n "(cached) " >&6
76420 else
76421
76422
76423 ac_ext=cpp
76424 ac_cpp='$CXXCPP $CPPFLAGS'
76425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76428
76429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76430 /* end confdefs.h. */
76431 #include <math.h>
76432 #ifdef HAVE_IEEEFP_H
76433 #include <ieeefp.h>
76434 #endif
76435
76436 int
76437 main ()
76438 {
76439 sqrtl(0);
76440 ;
76441 return 0;
76442 }
76443 _ACEOF
76444 if ac_fn_cxx_try_compile "$LINENO"; then :
76445 glibcxx_cv_func_sqrtl_use=yes
76446 else
76447 glibcxx_cv_func_sqrtl_use=no
76448 fi
76449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76450 ac_ext=c
76451 ac_cpp='$CPP $CPPFLAGS'
76452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76455
76456
76457 fi
76458
76459 fi
76460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76461 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76462
76463 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76464 for ac_func in sqrtl
76465 do :
76466 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76467 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76468 cat >>confdefs.h <<_ACEOF
76469 #define HAVE_SQRTL 1
76470 _ACEOF
76471
76472 fi
76473 done
76474
76475 else
76476
76477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76478 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76479 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76480 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76481 $as_echo_n "(cached) " >&6
76482 else
76483
76484
76485 ac_ext=cpp
76486 ac_cpp='$CXXCPP $CPPFLAGS'
76487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76490
76491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76492 /* end confdefs.h. */
76493 #include <math.h>
76494 #ifdef HAVE_IEEEFP_H
76495 #include <ieeefp.h>
76496 #endif
76497
76498 int
76499 main ()
76500 {
76501 _sqrtl(0);
76502 ;
76503 return 0;
76504 }
76505 _ACEOF
76506 if ac_fn_cxx_try_compile "$LINENO"; then :
76507 glibcxx_cv_func__sqrtl_use=yes
76508 else
76509 glibcxx_cv_func__sqrtl_use=no
76510 fi
76511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76512 ac_ext=c
76513 ac_cpp='$CPP $CPPFLAGS'
76514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76517
76518
76519 fi
76520
76521 fi
76522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76523 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76524
76525 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76526 for ac_func in _sqrtl
76527 do :
76528 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76529 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76530 cat >>confdefs.h <<_ACEOF
76531 #define HAVE__SQRTL 1
76532 _ACEOF
76533
76534 fi
76535 done
76536
76537 fi
76538 fi
76539
76540
76541
76542
76543
76544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76545 $as_echo_n "checking for sincosl declaration... " >&6; }
76546 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76547 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76548 $as_echo_n "(cached) " >&6
76549 else
76550
76551
76552 ac_ext=cpp
76553 ac_cpp='$CXXCPP $CPPFLAGS'
76554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76557
76558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76559 /* end confdefs.h. */
76560 #include <math.h>
76561 int
76562 main ()
76563 {
76564 sincosl(0, 0, 0);
76565 ;
76566 return 0;
76567 }
76568 _ACEOF
76569 if ac_fn_cxx_try_compile "$LINENO"; then :
76570 glibcxx_cv_func_sincosl_use=yes
76571 else
76572 glibcxx_cv_func_sincosl_use=no
76573 fi
76574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76575 ac_ext=c
76576 ac_cpp='$CPP $CPPFLAGS'
76577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76580
76581
76582 fi
76583
76584 fi
76585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76586 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76587
76588 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76589 for ac_func in sincosl
76590 do :
76591 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76592 if test "x$ac_cv_func_sincosl" = x""yes; then :
76593 cat >>confdefs.h <<_ACEOF
76594 #define HAVE_SINCOSL 1
76595 _ACEOF
76596
76597 fi
76598 done
76599
76600 else
76601
76602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76603 $as_echo_n "checking for _sincosl declaration... " >&6; }
76604 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76605 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76606 $as_echo_n "(cached) " >&6
76607 else
76608
76609
76610 ac_ext=cpp
76611 ac_cpp='$CXXCPP $CPPFLAGS'
76612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76615
76616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76617 /* end confdefs.h. */
76618 #include <math.h>
76619 int
76620 main ()
76621 {
76622 _sincosl(0, 0, 0);
76623 ;
76624 return 0;
76625 }
76626 _ACEOF
76627 if ac_fn_cxx_try_compile "$LINENO"; then :
76628 glibcxx_cv_func__sincosl_use=yes
76629 else
76630 glibcxx_cv_func__sincosl_use=no
76631 fi
76632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76633 ac_ext=c
76634 ac_cpp='$CPP $CPPFLAGS'
76635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76638
76639
76640 fi
76641
76642 fi
76643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76644 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76645
76646 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76647 for ac_func in _sincosl
76648 do :
76649 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76650 if test "x$ac_cv_func__sincosl" = x""yes; then :
76651 cat >>confdefs.h <<_ACEOF
76652 #define HAVE__SINCOSL 1
76653 _ACEOF
76654
76655 fi
76656 done
76657
76658 fi
76659 fi
76660
76661
76662
76663
76664
76665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76666 $as_echo_n "checking for finitel declaration... " >&6; }
76667 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76668 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76669 $as_echo_n "(cached) " >&6
76670 else
76671
76672
76673 ac_ext=cpp
76674 ac_cpp='$CXXCPP $CPPFLAGS'
76675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76678
76679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76680 /* end confdefs.h. */
76681 #include <math.h>
76682 #ifdef HAVE_IEEEFP_H
76683 #include <ieeefp.h>
76684 #endif
76685
76686 int
76687 main ()
76688 {
76689 finitel(0);
76690 ;
76691 return 0;
76692 }
76693 _ACEOF
76694 if ac_fn_cxx_try_compile "$LINENO"; then :
76695 glibcxx_cv_func_finitel_use=yes
76696 else
76697 glibcxx_cv_func_finitel_use=no
76698 fi
76699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76700 ac_ext=c
76701 ac_cpp='$CPP $CPPFLAGS'
76702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76705
76706
76707 fi
76708
76709 fi
76710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76711 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76712
76713 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76714 for ac_func in finitel
76715 do :
76716 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76717 if test "x$ac_cv_func_finitel" = x""yes; then :
76718 cat >>confdefs.h <<_ACEOF
76719 #define HAVE_FINITEL 1
76720 _ACEOF
76721
76722 fi
76723 done
76724
76725 else
76726
76727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76728 $as_echo_n "checking for _finitel declaration... " >&6; }
76729 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76730 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76731 $as_echo_n "(cached) " >&6
76732 else
76733
76734
76735 ac_ext=cpp
76736 ac_cpp='$CXXCPP $CPPFLAGS'
76737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76740
76741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76742 /* end confdefs.h. */
76743 #include <math.h>
76744 #ifdef HAVE_IEEEFP_H
76745 #include <ieeefp.h>
76746 #endif
76747
76748 int
76749 main ()
76750 {
76751 _finitel(0);
76752 ;
76753 return 0;
76754 }
76755 _ACEOF
76756 if ac_fn_cxx_try_compile "$LINENO"; then :
76757 glibcxx_cv_func__finitel_use=yes
76758 else
76759 glibcxx_cv_func__finitel_use=no
76760 fi
76761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76762 ac_ext=c
76763 ac_cpp='$CPP $CPPFLAGS'
76764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76767
76768
76769 fi
76770
76771 fi
76772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76773 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76774
76775 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76776 for ac_func in _finitel
76777 do :
76778 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76779 if test "x$ac_cv_func__finitel" = x""yes; then :
76780 cat >>confdefs.h <<_ACEOF
76781 #define HAVE__FINITEL 1
76782 _ACEOF
76783
76784 fi
76785 done
76786
76787 fi
76788 fi
76789
76790
76791
76792
76793 LIBS="$ac_save_LIBS"
76794 CXXFLAGS="$ac_save_CXXFLAGS"
76795
76796
76797 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76798 ac_save_CXXFLAGS="$CXXFLAGS"
76799 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76800
76801
76802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76803 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76804 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76805 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76806 $as_echo_n "(cached) " >&6
76807 else
76808
76809
76810 ac_ext=cpp
76811 ac_cpp='$CXXCPP $CPPFLAGS'
76812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76815
76816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76817 /* end confdefs.h. */
76818 #include <stdlib.h>
76819 int
76820 main ()
76821 {
76822 at_quick_exit(0);
76823 ;
76824 return 0;
76825 }
76826 _ACEOF
76827 if ac_fn_cxx_try_compile "$LINENO"; then :
76828 glibcxx_cv_func_at_quick_exit_use=yes
76829 else
76830 glibcxx_cv_func_at_quick_exit_use=no
76831 fi
76832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76833 ac_ext=c
76834 ac_cpp='$CPP $CPPFLAGS'
76835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76838
76839
76840 fi
76841
76842 fi
76843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76844 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76845 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76846 for ac_func in at_quick_exit
76847 do :
76848 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76849 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76850 cat >>confdefs.h <<_ACEOF
76851 #define HAVE_AT_QUICK_EXIT 1
76852 _ACEOF
76853
76854 fi
76855 done
76856
76857 fi
76858
76859
76860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76861 $as_echo_n "checking for quick_exit declaration... " >&6; }
76862 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76863 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76864 $as_echo_n "(cached) " >&6
76865 else
76866
76867
76868 ac_ext=cpp
76869 ac_cpp='$CXXCPP $CPPFLAGS'
76870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76873
76874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76875 /* end confdefs.h. */
76876 #include <stdlib.h>
76877 int
76878 main ()
76879 {
76880 quick_exit(0);
76881 ;
76882 return 0;
76883 }
76884 _ACEOF
76885 if ac_fn_cxx_try_compile "$LINENO"; then :
76886 glibcxx_cv_func_quick_exit_use=yes
76887 else
76888 glibcxx_cv_func_quick_exit_use=no
76889 fi
76890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76891 ac_ext=c
76892 ac_cpp='$CPP $CPPFLAGS'
76893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76896
76897
76898 fi
76899
76900 fi
76901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76902 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76903 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76904 for ac_func in quick_exit
76905 do :
76906 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76907 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76908 cat >>confdefs.h <<_ACEOF
76909 #define HAVE_QUICK_EXIT 1
76910 _ACEOF
76911
76912 fi
76913 done
76914
76915 fi
76916
76917
76918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76919 $as_echo_n "checking for strtold declaration... " >&6; }
76920 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76921 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76922 $as_echo_n "(cached) " >&6
76923 else
76924
76925
76926 ac_ext=cpp
76927 ac_cpp='$CXXCPP $CPPFLAGS'
76928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76931
76932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76933 /* end confdefs.h. */
76934 #include <stdlib.h>
76935 int
76936 main ()
76937 {
76938 strtold(0, 0);
76939 ;
76940 return 0;
76941 }
76942 _ACEOF
76943 if ac_fn_cxx_try_compile "$LINENO"; then :
76944 glibcxx_cv_func_strtold_use=yes
76945 else
76946 glibcxx_cv_func_strtold_use=no
76947 fi
76948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76949 ac_ext=c
76950 ac_cpp='$CPP $CPPFLAGS'
76951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76954
76955
76956 fi
76957
76958 fi
76959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76960 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76961 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76962 for ac_func in strtold
76963 do :
76964 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76965 if test "x$ac_cv_func_strtold" = x""yes; then :
76966 cat >>confdefs.h <<_ACEOF
76967 #define HAVE_STRTOLD 1
76968 _ACEOF
76969
76970 fi
76971 done
76972
76973 fi
76974
76975
76976
76977
76978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76979 $as_echo_n "checking for strtof declaration... " >&6; }
76980 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76981 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76982 $as_echo_n "(cached) " >&6
76983 else
76984
76985
76986 ac_ext=cpp
76987 ac_cpp='$CXXCPP $CPPFLAGS'
76988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76991
76992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76993 /* end confdefs.h. */
76994 #include <stdlib.h>
76995 int
76996 main ()
76997 {
76998 strtof(0, 0);
76999 ;
77000 return 0;
77001 }
77002 _ACEOF
77003 if ac_fn_cxx_try_compile "$LINENO"; then :
77004 glibcxx_cv_func_strtof_use=yes
77005 else
77006 glibcxx_cv_func_strtof_use=no
77007 fi
77008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77009 ac_ext=c
77010 ac_cpp='$CPP $CPPFLAGS'
77011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77014
77015
77016 fi
77017
77018 fi
77019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77020 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77021 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77022 for ac_func in strtof
77023 do :
77024 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77025 if test "x$ac_cv_func_strtof" = x""yes; then :
77026 cat >>confdefs.h <<_ACEOF
77027 #define HAVE_STRTOF 1
77028 _ACEOF
77029
77030 fi
77031 done
77032
77033 fi
77034
77035
77036
77037
77038 CXXFLAGS="$ac_save_CXXFLAGS"
77039
77040 ;;
77041 *-vxworks)
77042 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77043
77044 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77045
77046 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77047
77048 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77049
77050 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77051
77052 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77053
77054 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77055
77056 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77057
77058 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77059
77060 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77061
77062 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77063
77064 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77065
77066 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77067
77068 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77069
77070 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77071
77072 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77073
77074 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77075
77076 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77077
77078 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77079
77080 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77081
77082 ;;
77083 *)
77084 as_fn_error "No support for this host/target combination." "$LINENO" 5
77085 ;;
77086 esac
77087
77088 fi
77089
77090 # At some point, we should differentiate between architectures
77091 # like x86, which have long double versions, and alpha/powerpc/etc.,
77092 # which don't. For the time being, punt.
77093 if test x"long_double_math_on_this_cpu" = x"yes"; then
77094 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77095
77096 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77097
77098 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77099
77100 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77101
77102 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77103
77104 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77105
77106 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77107
77108 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77109
77110 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77111
77112 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77113
77114 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77115
77116 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77117
77118 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77119
77120 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77121
77122 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77123
77124 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77125
77126 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77127
77128 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77129
77130 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77131
77132 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77133
77134 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77135
77136 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77137
77138 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77139
77140 fi
77141 fi
77142
77143 # Check for _Unwind_GetIPInfo.
77144
77145
77146 # Check whether --with-system-libunwind was given.
77147 if test "${with_system_libunwind+set}" = set; then :
77148 withval=$with_system_libunwind;
77149 fi
77150
77151 # If system-libunwind was not specifically set, pick a default setting.
77152 if test x$with_system_libunwind = x; then
77153 case ${target} in
77154 ia64-*-hpux*) with_system_libunwind=yes ;;
77155 *) with_system_libunwind=no ;;
77156 esac
77157 fi
77158 # Based on system-libunwind and target, do we have ipinfo?
77159 if test x$with_system_libunwind = xyes; then
77160 case ${target} in
77161 ia64-*-*) have_unwind_getipinfo=no ;;
77162 *) have_unwind_getipinfo=yes ;;
77163 esac
77164 else
77165 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77166
77167 case ${target} in
77168 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77169 *) have_unwind_getipinfo=yes ;;
77170 esac
77171
77172 fi
77173
77174 if test x$have_unwind_getipinfo = xyes; then
77175
77176 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77177
77178 fi
77179
77180
77181 # Check whether --enable-linux-futex was given.
77182 if test "${enable_linux_futex+set}" = set; then :
77183 enableval=$enable_linux_futex;
77184 case "$enableval" in
77185 yes|no|default) ;;
77186 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77187 esac
77188
77189 else
77190 enable_linux_futex=default
77191 fi
77192
77193
77194 case "$target" in
77195 *-linux*)
77196 case "$enable_linux_futex" in
77197 default)
77198 # If headers don't have gettid/futex syscalls definition, then
77199 # default to no, otherwise there will be compile time failures.
77200 # Otherwise, default to yes. If we don't detect we are
77201 # compiled/linked against NPTL and not cross-compiling, check
77202 # if programs are run by default against NPTL and if not, issue
77203 # a warning.
77204 enable_linux_futex=no
77205 if test x$gcc_no_link = xyes; then
77206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77207 fi
77208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77209 /* end confdefs.h. */
77210 #include <sys/syscall.h>
77211 int lk;
77212 int
77213 main ()
77214 {
77215 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77216 ;
77217 return 0;
77218 }
77219 _ACEOF
77220 if ac_fn_c_try_link "$LINENO"; then :
77221 save_LIBS="$LIBS"
77222 LIBS="-lpthread $LIBS"
77223 if test x$gcc_no_link = xyes; then
77224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77225 fi
77226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77227 /* end confdefs.h. */
77228 #ifndef _GNU_SOURCE
77229 #define _GNU_SOURCE 1
77230 #endif
77231 #include <pthread.h>
77232 pthread_t th; void *status;
77233 int
77234 main ()
77235 {
77236 pthread_tryjoin_np (th, &status);
77237 ;
77238 return 0;
77239 }
77240 _ACEOF
77241 if ac_fn_c_try_link "$LINENO"; then :
77242 enable_linux_futex=yes
77243 else
77244 if test x$cross_compiling = xno; then
77245 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77246 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77248 If so, please configure with --disable-linux-futex" >&5
77249 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77250 If so, please configure with --disable-linux-futex" >&2;}
77251 fi
77252 fi
77253 enable_linux_futex=yes
77254 fi
77255 rm -f core conftest.err conftest.$ac_objext \
77256 conftest$ac_exeext conftest.$ac_ext
77257 LIBS="$save_LIBS"
77258 fi
77259 rm -f core conftest.err conftest.$ac_objext \
77260 conftest$ac_exeext conftest.$ac_ext
77261 ;;
77262 yes)
77263 if test x$gcc_no_link = xyes; then
77264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77265 fi
77266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77267 /* end confdefs.h. */
77268 #include <sys/syscall.h>
77269 int lk;
77270 int
77271 main ()
77272 {
77273 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77274 ;
77275 return 0;
77276 }
77277 _ACEOF
77278 if ac_fn_c_try_link "$LINENO"; then :
77279
77280 else
77281 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77282 fi
77283 rm -f core conftest.err conftest.$ac_objext \
77284 conftest$ac_exeext conftest.$ac_ext
77285 ;;
77286 esac
77287 ;;
77288 *)
77289 enable_linux_futex=no
77290 ;;
77291 esac
77292 if test x$enable_linux_futex = xyes; then
77293
77294 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77295
77296 fi
77297
77298
77299
77300
77301 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77302
77303 acx_cv_header_stdint=stddef.h
77304 acx_cv_header_stdint_kind="(already complete)"
77305 for i in stdint.h $inttype_headers; do
77306 unset ac_cv_type_uintptr_t
77307 unset ac_cv_type_uintmax_t
77308 unset ac_cv_type_int_least32_t
77309 unset ac_cv_type_int_fast32_t
77310 unset ac_cv_type_uint64_t
77311 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77312 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77313 #include <$i>
77314 "
77315 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77316 acx_cv_header_stdint=$i
77317 else
77318 continue
77319 fi
77320
77321 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77322 #include <$i>
77323 "
77324 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77325
77326 else
77327 acx_cv_header_stdint_kind="(mostly complete)"
77328 fi
77329
77330 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77331 #include <$i>
77332 "
77333 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77334
77335 else
77336 acx_cv_header_stdint_kind="(mostly complete)"
77337 fi
77338
77339 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77340 #include <$i>
77341 "
77342 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77343
77344 else
77345 acx_cv_header_stdint_kind="(mostly complete)"
77346 fi
77347
77348 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77349 #include <$i>
77350 "
77351 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77352
77353 else
77354 acx_cv_header_stdint_kind="(lacks uint64_t)"
77355 fi
77356
77357 break
77358 done
77359 if test "$acx_cv_header_stdint" = stddef.h; then
77360 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77361 for i in stdint.h $inttype_headers; do
77362 unset ac_cv_type_uintptr_t
77363 unset ac_cv_type_uint32_t
77364 unset ac_cv_type_uint64_t
77365 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77366 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77367 #include <$i>
77368 "
77369 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77370 acx_cv_header_stdint=$i
77371 else
77372 continue
77373 fi
77374
77375 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77376 #include <$i>
77377 "
77378 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77379
77380 fi
77381
77382 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77383 #include <$i>
77384 "
77385 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77386
77387 fi
77388
77389 break
77390 done
77391 fi
77392 if test "$acx_cv_header_stdint" = stddef.h; then
77393 acx_cv_header_stdint_kind="(u_intXX_t style)"
77394 for i in sys/types.h $inttype_headers; do
77395 unset ac_cv_type_u_int32_t
77396 unset ac_cv_type_u_int64_t
77397 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77398 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77399 #include <$i>
77400 "
77401 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77402 acx_cv_header_stdint=$i
77403 else
77404 continue
77405 fi
77406
77407 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77408 #include <$i>
77409 "
77410 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77411
77412 fi
77413
77414 break
77415 done
77416 fi
77417 if test "$acx_cv_header_stdint" = stddef.h; then
77418 acx_cv_header_stdint_kind="(using manual detection)"
77419 fi
77420
77421 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77422 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77423 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77424 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77425 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77426
77427 # ----------------- Summarize what we found so far
77428
77429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77430 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77431
77432 case `$as_basename -- include/gstdint.h ||
77433 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77434 Xinclude/gstdint.h : 'X\(//\)$' \| \
77435 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77436 $as_echo X/include/gstdint.h |
77437 sed '/^.*\/\([^/][^/]*\)\/*$/{
77438 s//\1/
77439 q
77440 }
77441 /^X\/\(\/\/\)$/{
77442 s//\1/
77443 q
77444 }
77445 /^X\/\(\/\).*/{
77446 s//\1/
77447 q
77448 }
77449 s/.*/./; q'` in
77450 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77451 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77452 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77453 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77454 *) ;;
77455 esac
77456
77457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77458 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77459
77460 # ----------------- done included file, check C basic types --------
77461
77462 # Lacking an uintptr_t? Test size of void *
77463 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77464 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77467 # This bug is HP SR number 8606223364.
77468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77469 $as_echo_n "checking size of void *... " >&6; }
77470 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77471 $as_echo_n "(cached) " >&6
77472 else
77473 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77474
77475 else
77476 if test "$ac_cv_type_void_p" = yes; then
77477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77479 { as_fn_set_status 77
77480 as_fn_error "cannot compute sizeof (void *)
77481 See \`config.log' for more details." "$LINENO" 5; }; }
77482 else
77483 ac_cv_sizeof_void_p=0
77484 fi
77485 fi
77486
77487 fi
77488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77489 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77490
77491
77492
77493 cat >>confdefs.h <<_ACEOF
77494 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77495 _ACEOF
77496
77497 ;;
77498 esac
77499
77500 # Lacking an uint64_t? Test size of long
77501 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77502 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77503 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77504 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77505 # This bug is HP SR number 8606223364.
77506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77507 $as_echo_n "checking size of long... " >&6; }
77508 if test "${ac_cv_sizeof_long+set}" = set; then :
77509 $as_echo_n "(cached) " >&6
77510 else
77511 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77512
77513 else
77514 if test "$ac_cv_type_long" = yes; then
77515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77517 { as_fn_set_status 77
77518 as_fn_error "cannot compute sizeof (long)
77519 See \`config.log' for more details." "$LINENO" 5; }; }
77520 else
77521 ac_cv_sizeof_long=0
77522 fi
77523 fi
77524
77525 fi
77526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77527 $as_echo "$ac_cv_sizeof_long" >&6; }
77528
77529
77530
77531 cat >>confdefs.h <<_ACEOF
77532 #define SIZEOF_LONG $ac_cv_sizeof_long
77533 _ACEOF
77534
77535 ;;
77536 esac
77537
77538 if test $acx_cv_header_stdint = stddef.h; then
77539 # Lacking a good header? Test size of everything and deduce all types.
77540 # The cast to long int works around a bug in the HP C Compiler
77541 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77542 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77543 # This bug is HP SR number 8606223364.
77544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77545 $as_echo_n "checking size of int... " >&6; }
77546 if test "${ac_cv_sizeof_int+set}" = set; then :
77547 $as_echo_n "(cached) " >&6
77548 else
77549 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77550
77551 else
77552 if test "$ac_cv_type_int" = yes; then
77553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77555 { as_fn_set_status 77
77556 as_fn_error "cannot compute sizeof (int)
77557 See \`config.log' for more details." "$LINENO" 5; }; }
77558 else
77559 ac_cv_sizeof_int=0
77560 fi
77561 fi
77562
77563 fi
77564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77565 $as_echo "$ac_cv_sizeof_int" >&6; }
77566
77567
77568
77569 cat >>confdefs.h <<_ACEOF
77570 #define SIZEOF_INT $ac_cv_sizeof_int
77571 _ACEOF
77572
77573
77574 # The cast to long int works around a bug in the HP C Compiler
77575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77577 # This bug is HP SR number 8606223364.
77578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77579 $as_echo_n "checking size of short... " >&6; }
77580 if test "${ac_cv_sizeof_short+set}" = set; then :
77581 $as_echo_n "(cached) " >&6
77582 else
77583 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77584
77585 else
77586 if test "$ac_cv_type_short" = yes; then
77587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77589 { as_fn_set_status 77
77590 as_fn_error "cannot compute sizeof (short)
77591 See \`config.log' for more details." "$LINENO" 5; }; }
77592 else
77593 ac_cv_sizeof_short=0
77594 fi
77595 fi
77596
77597 fi
77598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77599 $as_echo "$ac_cv_sizeof_short" >&6; }
77600
77601
77602
77603 cat >>confdefs.h <<_ACEOF
77604 #define SIZEOF_SHORT $ac_cv_sizeof_short
77605 _ACEOF
77606
77607
77608 # The cast to long int works around a bug in the HP C Compiler
77609 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77610 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77611 # This bug is HP SR number 8606223364.
77612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77613 $as_echo_n "checking size of char... " >&6; }
77614 if test "${ac_cv_sizeof_char+set}" = set; then :
77615 $as_echo_n "(cached) " >&6
77616 else
77617 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77618
77619 else
77620 if test "$ac_cv_type_char" = yes; then
77621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77623 { as_fn_set_status 77
77624 as_fn_error "cannot compute sizeof (char)
77625 See \`config.log' for more details." "$LINENO" 5; }; }
77626 else
77627 ac_cv_sizeof_char=0
77628 fi
77629 fi
77630
77631 fi
77632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77633 $as_echo "$ac_cv_sizeof_char" >&6; }
77634
77635
77636
77637 cat >>confdefs.h <<_ACEOF
77638 #define SIZEOF_CHAR $ac_cv_sizeof_char
77639 _ACEOF
77640
77641
77642
77643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77644 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77645 case "$ac_cv_sizeof_char" in
77646 1) acx_cv_type_int8_t=char ;;
77647 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77648 esac
77649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77650 $as_echo "$acx_cv_type_int8_t" >&6; }
77651
77652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77653 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77654 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77655 2:*) acx_cv_type_int16_t=int ;;
77656 *:2) acx_cv_type_int16_t=short ;;
77657 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77658 esac
77659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77660 $as_echo "$acx_cv_type_int16_t" >&6; }
77661
77662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77663 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77664 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77665 4:*) acx_cv_type_int32_t=int ;;
77666 *:4) acx_cv_type_int32_t=long ;;
77667 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77668 esac
77669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77670 $as_echo "$acx_cv_type_int32_t" >&6; }
77671 fi
77672
77673 # These tests are here to make the output prettier
77674
77675 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77676 case "$ac_cv_sizeof_long" in
77677 8) acx_cv_type_int64_t=long ;;
77678 esac
77679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77680 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77682 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77683 fi
77684
77685 # Now we can use the above types
77686
77687 if test "$ac_cv_type_uintptr_t" != yes; then
77688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77689 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77690 case $ac_cv_sizeof_void_p in
77691 2) acx_cv_type_intptr_t=int16_t ;;
77692 4) acx_cv_type_intptr_t=int32_t ;;
77693 8) acx_cv_type_intptr_t=int64_t ;;
77694 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77695 esac
77696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77697 $as_echo "$acx_cv_type_intptr_t" >&6; }
77698 fi
77699
77700 # ----------------- done all checks, emit header -------------
77701 ac_config_commands="$ac_config_commands include/gstdint.h"
77702
77703
77704
77705
77706
77707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77708 $as_echo_n "checking for GNU c++filt... " >&6; }
77709 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77710 $as_echo_n "(cached) " >&6
77711 else
77712 if test -z "$CXXFILT"; then
77713 ac_path_CXXFILT_found=false
77714 # Loop through the user's path and test for each of PROGNAME-LIST
77715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77716 for as_dir in $PATH
77717 do
77718 IFS=$as_save_IFS
77719 test -z "$as_dir" && as_dir=.
77720 for ac_prog in c++filt gc++filt; do
77721 for ac_exec_ext in '' $ac_executable_extensions; do
77722 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77723 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77724 # Check for GNU $ac_path_CXXFILT
77725 case `"$ac_path_CXXFILT" --version 2>&1` in
77726 *GNU*)
77727 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77728 esac
77729
77730 $ac_path_CXXFILT_found && break 3
77731 done
77732 done
77733 done
77734 IFS=$as_save_IFS
77735 if test -z "$ac_cv_path_CXXFILT"; then
77736 :
77737 fi
77738 else
77739 ac_cv_path_CXXFILT=$CXXFILT
77740 fi
77741
77742 fi
77743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77744 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77745 CXXFILT=$ac_cv_path_CXXFILT
77746
77747
77748
77749 # Check whether --enable-symvers was given.
77750 if test "${enable_symvers+set}" = set; then :
77751 enableval=$enable_symvers;
77752 case "$enableval" in
77753 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77754 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77755 esac
77756
77757 else
77758 enable_symvers=yes
77759 fi
77760
77761
77762
77763 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77764 # don't know enough about $LD to do tricks...
77765
77766 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77767 # with extern "C++" in version scripts.
77768
77769
77770 # Turn a 'yes' into a suitable default.
77771 if test x$enable_symvers = xyes ; then
77772 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77773 enable_symvers=no
77774 else
77775 if test $with_gnu_ld = yes ; then
77776 case ${target_os} in
77777 hpux*)
77778 enable_symvers=no ;;
77779 *)
77780 enable_symvers=gnu ;;
77781 esac
77782 else
77783 case ${target_os} in
77784 darwin*)
77785 enable_symvers=darwin ;;
77786 # Sun symbol versioning exists since Solaris 2.5.
77787 solaris2.[5-9]* | solaris2.1[0-9]*)
77788 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77789 # version scripts, so disable symbol versioning if none can be
77790 # found.
77791 if test -z "$ac_cv_path_CXXFILT"; then
77792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77793 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77795 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77797 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77798 enable_symvers=no
77799 else
77800 enable_symvers=sun
77801 fi
77802 ;;
77803 *)
77804 enable_symvers=no ;;
77805 esac
77806 fi
77807 fi
77808 fi
77809
77810 # Check to see if 'darwin' or 'darwin-export' can win.
77811 if test x$enable_symvers = xdarwin-export ; then
77812 enable_symvers=darwin
77813 fi
77814
77815 # Check if 'sun' was requested on non-Solaris 2 platforms.
77816 if test x$enable_symvers = xsun ; then
77817 case ${target_os} in
77818 solaris2*)
77819 # All fine.
77820 ;;
77821 *)
77822 # Unlikely to work.
77823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77824 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77826 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77828 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77829 enable_symvers=no
77830 ;;
77831 esac
77832 fi
77833
77834 # Check to see if 'gnu' can win.
77835 if test $enable_symvers = gnu ||
77836 test $enable_symvers = gnu-versioned-namespace ||
77837 test $enable_symvers = sun; then
77838 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77840 $as_echo_n "checking for shared libgcc... " >&6; }
77841 ac_save_CFLAGS="$CFLAGS"
77842 CFLAGS=' -lgcc_s'
77843 if test x$gcc_no_link = xyes; then
77844 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77845 fi
77846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77847 /* end confdefs.h. */
77848
77849 int
77850 main ()
77851 {
77852 return 0;
77853 ;
77854 return 0;
77855 }
77856 _ACEOF
77857 if ac_fn_c_try_link "$LINENO"; then :
77858 glibcxx_shared_libgcc=yes
77859 else
77860 glibcxx_shared_libgcc=no
77861 fi
77862 rm -f core conftest.err conftest.$ac_objext \
77863 conftest$ac_exeext conftest.$ac_ext
77864 CFLAGS="$ac_save_CFLAGS"
77865 if test $glibcxx_shared_libgcc = no; then
77866 cat > conftest.c <<EOF
77867 int main (void) { return 0; }
77868 EOF
77869 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77870 -shared -shared-libgcc -o conftest.so \
77871 conftest.c -v 2>&1 >/dev/null \
77872 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77873 rm -f conftest.c conftest.so
77874 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77875 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77876 if test x$gcc_no_link = xyes; then
77877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77878 fi
77879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77880 /* end confdefs.h. */
77881
77882 int
77883 main ()
77884 {
77885 return 0;
77886 ;
77887 return 0;
77888 }
77889 _ACEOF
77890 if ac_fn_c_try_link "$LINENO"; then :
77891 glibcxx_shared_libgcc=yes
77892 fi
77893 rm -f core conftest.err conftest.$ac_objext \
77894 conftest$ac_exeext conftest.$ac_ext
77895 CFLAGS="$ac_save_CFLAGS"
77896 fi
77897 fi
77898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77899 $as_echo "$glibcxx_shared_libgcc" >&6; }
77900
77901 # For GNU ld, we need at least this version. The format is described in
77902 # GLIBCXX_CHECK_LINKER_FEATURES above.
77903 glibcxx_min_gnu_ld_version=21400
77904
77905 # If no shared libgcc, can't win.
77906 if test $glibcxx_shared_libgcc != yes; then
77907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77908 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77910 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77912 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77913 enable_symvers=no
77914 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77915 : All interesting versions of Sun ld support sun style symbol versioning.
77916 elif test $with_gnu_ld != yes ; then
77917 # just fail for now
77918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77919 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77921 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77923 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77924 enable_symvers=no
77925 elif test $glibcxx_ld_is_gold = yes ; then
77926 : All versions of gold support symbol versioning.
77927 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77928 # The right tools, the right setup, but too old. Fallbacks?
77929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77930 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77932 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77934 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77936 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77938 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77939 enable_symvers=no
77940 fi
77941 fi
77942
77943 # For libtool versioning info, format is CURRENT:REVISION:AGE
77944 libtool_VERSION=6:22:0
77945
77946 # Everything parsed; figure out what files and settings to use.
77947 case $enable_symvers in
77948 no)
77949 SYMVER_FILE=config/abi/pre/none.ver
77950 ;;
77951 gnu)
77952 SYMVER_FILE=config/abi/pre/gnu.ver
77953
77954 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77955
77956 ;;
77957 gnu-versioned-namespace)
77958 libtool_VERSION=7:0:0
77959 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77960
77961 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77962
77963 ;;
77964 darwin)
77965 SYMVER_FILE=config/abi/pre/gnu.ver
77966
77967 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77968
77969 ;;
77970 sun)
77971 SYMVER_FILE=config/abi/pre/gnu.ver
77972
77973 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77974
77975 ;;
77976 esac
77977
77978 if test x$enable_symvers != xno ; then
77979
77980 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77981
77982 fi
77983
77984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77985 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77986 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77987 $as_echo_n "(cached) " >&6
77988 else
77989
77990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77991 /* end confdefs.h. */
77992 void foo (void); __asm (".symver foo, bar@SYMVER");
77993 int
77994 main ()
77995 {
77996
77997 ;
77998 return 0;
77999 }
78000 _ACEOF
78001 if ac_fn_c_try_compile "$LINENO"; then :
78002 glibcxx_cv_have_as_symver_directive=yes
78003 else
78004 glibcxx_cv_have_as_symver_directive=no
78005 fi
78006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78007 fi
78008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78009 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78010 if test $glibcxx_cv_have_as_symver_directive = yes; then
78011
78012 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78013
78014 fi
78015
78016
78017
78018
78019
78020
78021
78022
78023 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78024 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78025
78026 if test $enable_symvers != no ; then
78027 case ${target_os} in
78028 # The Solaris 2 runtime linker doesn't support the GNU extension of
78029 # binding the same symbol to different versions
78030 solaris2*)
78031 ;;
78032 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78033 *)
78034
78035 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78036
78037 ;;
78038 esac
78039 fi
78040
78041 # Now, set up compatibility support, if any.
78042 # In addition, need this to deal with std::size_t mangling in
78043 # src/compatibility.cc. In a perfect world, could use
78044 # typeid(std::size_t).name()[0] to do direct substitution.
78045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78046 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78047 ac_save_CFLAGS="$CFLAGS"
78048 CFLAGS="-Werror"
78049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78050 /* end confdefs.h. */
78051
78052 int
78053 main ()
78054 {
78055 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78056 ;
78057 return 0;
78058 }
78059 _ACEOF
78060 if ac_fn_c_try_compile "$LINENO"; then :
78061 glibcxx_size_t_is_i=yes
78062 else
78063 glibcxx_size_t_is_i=no
78064 fi
78065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78066 CFLAGS=$ac_save_CFLAGS
78067 if test "$glibcxx_size_t_is_i" = yes; then
78068
78069 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78070
78071 fi
78072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78073 $as_echo "$glibcxx_size_t_is_i" >&6; }
78074
78075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78076 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78077 ac_save_CFLAGS="$CFLAGS"
78078 CFLAGS="-Werror"
78079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78080 /* end confdefs.h. */
78081
78082 int
78083 main ()
78084 {
78085 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78086 ;
78087 return 0;
78088 }
78089 _ACEOF
78090 if ac_fn_c_try_compile "$LINENO"; then :
78091 glibcxx_ptrdiff_t_is_i=yes
78092 else
78093 glibcxx_ptrdiff_t_is_i=no
78094 fi
78095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78096 CFLAGS=$ac_save_CFLAGS
78097 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78098
78099 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78100
78101 fi
78102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78103 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78104
78105
78106
78107
78108 # Check whether --enable-libstdcxx-visibility was given.
78109 if test "${enable_libstdcxx_visibility+set}" = set; then :
78110 enableval=$enable_libstdcxx_visibility;
78111 case "$enableval" in
78112 yes|no) ;;
78113 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78114 esac
78115
78116 else
78117 enable_libstdcxx_visibility=yes
78118 fi
78119
78120
78121
78122 if test x$enable_libstdcxx_visibility = xyes ; then
78123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78124 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78125 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78126 $as_echo_n "(cached) " >&6
78127 else
78128
78129 save_CFLAGS="$CFLAGS"
78130 CFLAGS="$CFLAGS -Werror"
78131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78132 /* end confdefs.h. */
78133 void __attribute__((visibility("hidden"))) foo(void) { }
78134 int
78135 main ()
78136 {
78137
78138 ;
78139 return 0;
78140 }
78141 _ACEOF
78142 if ac_fn_c_try_compile "$LINENO"; then :
78143 glibcxx_cv_have_attribute_visibility=yes
78144 else
78145 glibcxx_cv_have_attribute_visibility=no
78146 fi
78147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78148 CFLAGS="$save_CFLAGS"
78149 fi
78150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78151 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78152 if test $glibcxx_cv_have_attribute_visibility = no; then
78153 enable_libstdcxx_visibility=no
78154 fi
78155 fi
78156
78157
78158 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78159 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78160
78161
78162
78163 # Check whether --enable-libstdcxx-dual-abi was given.
78164 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78165 enableval=$enable_libstdcxx_dual_abi;
78166 case "$enableval" in
78167 yes|no) ;;
78168 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78169 esac
78170
78171 else
78172 enable_libstdcxx_dual_abi=yes
78173 fi
78174
78175
78176 if test x$enable_symvers = xgnu-versioned-namespace; then
78177 # gnu-versioned-namespace is incompatible with the dual ABI.
78178 enable_libstdcxx_dual_abi="no"
78179 fi
78180 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78181 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78182 $as_echo "$as_me: dual ABI is disabled" >&6;}
78183 default_libstdcxx_abi="c++98"
78184 fi
78185
78186
78187
78188 if test x$enable_libstdcxx_dual_abi = xyes; then
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78190 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78191
78192 # Check whether --with-default-libstdcxx-abi was given.
78193 if test "${with_default_libstdcxx_abi+set}" = set; then :
78194 withval=$with_default_libstdcxx_abi; case "$withval" in
78195 c++98|gnu++98|c++03|gnu++03) default_libstdcxx_abi="c++98" ;;
78196 c++1?|gnu++1?) default_libstdcxx_abi="c++11" ;;
78197 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78198 esac
78199 else
78200 default_libstdcxx_abi="c++11"
78201 fi
78202
78203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78204 $as_echo "${default_libstdcxx_abi}" >&6; }
78205 fi
78206 if test $default_libstdcxx_abi = "c++11"; then
78207 glibcxx_cxx11_abi=1
78208 glibcxx_cxx98_abi=0
78209 else
78210 glibcxx_cxx11_abi=0
78211 glibcxx_cxx98_abi=1
78212 fi
78213
78214
78215
78216
78217 ac_ldbl_compat=no
78218 case "$target" in
78219 powerpc*-*-linux* | \
78220 sparc*-*-linux* | \
78221 s390*-*-linux* | \
78222 alpha*-*-linux*)
78223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78224 /* end confdefs.h. */
78225
78226 int
78227 main ()
78228 {
78229
78230 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78231 #error no need for long double compatibility
78232 #endif
78233
78234 ;
78235 return 0;
78236 }
78237 _ACEOF
78238 if ac_fn_c_try_compile "$LINENO"; then :
78239 ac_ldbl_compat=yes
78240 else
78241 ac_ldbl_compat=no
78242 fi
78243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78244 if test "$ac_ldbl_compat" = yes; then
78245
78246 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78247
78248 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78249 fi
78250 esac
78251
78252
78253 # Check if assembler supports disabling hardware capability support.
78254
78255 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78256
78257 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78258 # with a different meaning.
78259 case ${target_os} in
78260 solaris2*)
78261 ac_save_CFLAGS="$CFLAGS"
78262 CFLAGS="$CFLAGS -Wa,-nH"
78263
78264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78265 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78267 /* end confdefs.h. */
78268
78269 int
78270 main ()
78271 {
78272 return 0;
78273 ;
78274 return 0;
78275 }
78276 _ACEOF
78277 if ac_fn_c_try_compile "$LINENO"; then :
78278 ac_hwcap_flags=yes
78279 else
78280 ac_hwcap_flags=no
78281 fi
78282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78283 if test "$ac_hwcap_flags" = "yes"; then
78284 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78285 fi
78286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78287 $as_echo "$ac_hwcap_flags" >&6; }
78288
78289 CFLAGS="$ac_save_CFLAGS"
78290 ;;
78291 esac
78292
78293
78294
78295
78296 # Check if assembler supports rdrand opcode.
78297
78298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78299 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78300 if test "${ac_cv_x86_rdrand+set}" = set; then :
78301 $as_echo_n "(cached) " >&6
78302 else
78303
78304 ac_cv_x86_rdrand=no
78305 case "$target" in
78306 i?86-*-* | \
78307 x86_64-*-*)
78308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78309 /* end confdefs.h. */
78310
78311 int
78312 main ()
78313 {
78314 asm("rdrand %eax");
78315 ;
78316 return 0;
78317 }
78318 _ACEOF
78319 if ac_fn_c_try_compile "$LINENO"; then :
78320 ac_cv_x86_rdrand=yes
78321 else
78322 ac_cv_x86_rdrand=no
78323 fi
78324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78325 esac
78326
78327 fi
78328
78329 if test $ac_cv_x86_rdrand = yes; then
78330
78331 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78332
78333 fi
78334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78335 $as_echo "$ac_cv_x86_rdrand" >&6; }
78336
78337
78338 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78339
78340 if $GLIBCXX_IS_NATIVE ; then
78341 # Do checks for resource limit functions.
78342
78343 setrlimit_have_headers=yes
78344 for ac_header in unistd.h sys/time.h sys/resource.h
78345 do :
78346 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78347 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78348 eval as_val=\$$as_ac_Header
78349 if test "x$as_val" = x""yes; then :
78350 cat >>confdefs.h <<_ACEOF
78351 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78352 _ACEOF
78353
78354 else
78355 setrlimit_have_headers=no
78356 fi
78357
78358 done
78359
78360 # If don't have the headers, then we can't run the tests now, and we
78361 # won't be seeing any of these during testsuite compilation.
78362 if test $setrlimit_have_headers = yes; then
78363 # Can't do these in a loop, else the resulting syntax is wrong.
78364
78365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78366 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78368 /* end confdefs.h. */
78369 #include <unistd.h>
78370 #include <sys/time.h>
78371 #include <sys/resource.h>
78372
78373 int
78374 main ()
78375 {
78376 int f = RLIMIT_DATA ;
78377 ;
78378 return 0;
78379 }
78380 _ACEOF
78381 if ac_fn_c_try_compile "$LINENO"; then :
78382 glibcxx_mresult=1
78383 else
78384 glibcxx_mresult=0
78385 fi
78386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78387
78388 cat >>confdefs.h <<_ACEOF
78389 #define HAVE_LIMIT_DATA $glibcxx_mresult
78390 _ACEOF
78391
78392 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78394 $as_echo "$res" >&6; }
78395
78396
78397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78398 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78400 /* end confdefs.h. */
78401 #include <unistd.h>
78402 #include <sys/time.h>
78403 #include <sys/resource.h>
78404
78405 int
78406 main ()
78407 {
78408 int f = RLIMIT_RSS ;
78409 ;
78410 return 0;
78411 }
78412 _ACEOF
78413 if ac_fn_c_try_compile "$LINENO"; then :
78414 glibcxx_mresult=1
78415 else
78416 glibcxx_mresult=0
78417 fi
78418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78419
78420 cat >>confdefs.h <<_ACEOF
78421 #define HAVE_LIMIT_RSS $glibcxx_mresult
78422 _ACEOF
78423
78424 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78426 $as_echo "$res" >&6; }
78427
78428
78429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78430 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78432 /* end confdefs.h. */
78433 #include <unistd.h>
78434 #include <sys/time.h>
78435 #include <sys/resource.h>
78436
78437 int
78438 main ()
78439 {
78440 int f = RLIMIT_VMEM ;
78441 ;
78442 return 0;
78443 }
78444 _ACEOF
78445 if ac_fn_c_try_compile "$LINENO"; then :
78446 glibcxx_mresult=1
78447 else
78448 glibcxx_mresult=0
78449 fi
78450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78451
78452 cat >>confdefs.h <<_ACEOF
78453 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78454 _ACEOF
78455
78456 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78458 $as_echo "$res" >&6; }
78459
78460
78461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78462 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78464 /* end confdefs.h. */
78465 #include <unistd.h>
78466 #include <sys/time.h>
78467 #include <sys/resource.h>
78468
78469 int
78470 main ()
78471 {
78472 int f = RLIMIT_AS ;
78473 ;
78474 return 0;
78475 }
78476 _ACEOF
78477 if ac_fn_c_try_compile "$LINENO"; then :
78478 glibcxx_mresult=1
78479 else
78480 glibcxx_mresult=0
78481 fi
78482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78483
78484 cat >>confdefs.h <<_ACEOF
78485 #define HAVE_LIMIT_AS $glibcxx_mresult
78486 _ACEOF
78487
78488 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78490 $as_echo "$res" >&6; }
78491
78492
78493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78494 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78496 /* end confdefs.h. */
78497 #include <unistd.h>
78498 #include <sys/time.h>
78499 #include <sys/resource.h>
78500
78501 int
78502 main ()
78503 {
78504 int f = RLIMIT_FSIZE ;
78505 ;
78506 return 0;
78507 }
78508 _ACEOF
78509 if ac_fn_c_try_compile "$LINENO"; then :
78510 glibcxx_mresult=1
78511 else
78512 glibcxx_mresult=0
78513 fi
78514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78515
78516 cat >>confdefs.h <<_ACEOF
78517 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78518 _ACEOF
78519
78520 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78522 $as_echo "$res" >&6; }
78523
78524
78525 # Check for rlimit, setrlimit.
78526 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78527 $as_echo_n "(cached) " >&6
78528 else
78529
78530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78531 /* end confdefs.h. */
78532 #include <unistd.h>
78533 #include <sys/time.h>
78534 #include <sys/resource.h>
78535
78536 int
78537 main ()
78538 {
78539 struct rlimit r;
78540 setrlimit(0, &r);
78541 ;
78542 return 0;
78543 }
78544 _ACEOF
78545 if ac_fn_c_try_compile "$LINENO"; then :
78546 glibcxx_cv_setrlimit=yes
78547 else
78548 glibcxx_cv_setrlimit=no
78549 fi
78550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78551
78552 fi
78553
78554 fi
78555
78556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78557 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78558 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78559 ac_res_limits=yes
78560
78561 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78562
78563 else
78564 ac_res_limits=no
78565 fi
78566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78567 $as_echo "$ac_res_limits" >&6; }
78568
78569
78570 # Look for setenv, so that extended locale tests can be performed.
78571
78572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78573 $as_echo_n "checking for setenv declaration... " >&6; }
78574 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78575 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78576 $as_echo_n "(cached) " >&6
78577 else
78578
78579
78580 ac_ext=cpp
78581 ac_cpp='$CXXCPP $CPPFLAGS'
78582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78585
78586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78587 /* end confdefs.h. */
78588 #include <stdlib.h>
78589 int
78590 main ()
78591 {
78592 setenv(0, 0, 0);
78593 ;
78594 return 0;
78595 }
78596 _ACEOF
78597 if ac_fn_cxx_try_compile "$LINENO"; then :
78598 glibcxx_cv_func_setenv_use=yes
78599 else
78600 glibcxx_cv_func_setenv_use=no
78601 fi
78602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78603 ac_ext=c
78604 ac_cpp='$CPP $CPPFLAGS'
78605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78608
78609
78610 fi
78611
78612 fi
78613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78614 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78615 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78616 for ac_func in setenv
78617 do :
78618 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78619 if test "x$ac_cv_func_setenv" = x""yes; then :
78620 cat >>confdefs.h <<_ACEOF
78621 #define HAVE_SETENV 1
78622 _ACEOF
78623
78624 fi
78625 done
78626
78627 fi
78628
78629 fi
78630
78631 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78632 test $enable_symvers != no; then
78633 case "$host" in
78634 *-*-cygwin*)
78635 enable_abi_check=no ;;
78636 *)
78637 enable_abi_check=yes ;;
78638 esac
78639 else
78640 # Only build this as native, since automake does not understand
78641 # CXX_FOR_BUILD.
78642 enable_abi_check=no
78643 fi
78644
78645 # Export file names for ABI checking.
78646 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78647
78648 baseline_subdir_switch="$abi_baseline_subdir_switch"
78649
78650
78651
78652 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78653
78654 # Check whether --enable-libstdcxx-threads was given.
78655 if test "${enable_libstdcxx_threads+set}" = set; then :
78656 enableval=$enable_libstdcxx_threads;
78657 case "$enableval" in
78658 yes|no) ;;
78659 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78660 esac
78661
78662 else
78663 enable_libstdcxx_threads=auto
78664 fi
78665
78666
78667
78668 if test x$enable_libstdcxx_threads = xauto ||
78669 test x$enable_libstdcxx_threads = xyes; then
78670
78671
78672 ac_ext=cpp
78673 ac_cpp='$CXXCPP $CPPFLAGS'
78674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78677
78678
78679 ac_save_CXXFLAGS="$CXXFLAGS"
78680 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78681 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78682
78683 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78684 case $target_thread_file in
78685 posix)
78686 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78687 esac
78688
78689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78690 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78691
78692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78693 /* end confdefs.h. */
78694 #include <unistd.h>
78695 int
78696 main ()
78697 {
78698
78699 // In case of POSIX threads check _POSIX_TIMEOUTS.
78700 #if (defined(_PTHREADS) \
78701 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78702 #error
78703 #endif
78704
78705 ;
78706 return 0;
78707 }
78708 _ACEOF
78709 if ac_fn_cxx_try_compile "$LINENO"; then :
78710 ac_gthread_use_mutex_timedlock=1
78711 else
78712 ac_gthread_use_mutex_timedlock=0
78713 fi
78714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78715
78716
78717 cat >>confdefs.h <<_ACEOF
78718 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78719 _ACEOF
78720
78721
78722 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78723 else res_mutex_timedlock=no ; fi
78724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78725 $as_echo "$res_mutex_timedlock" >&6; }
78726
78727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78728 $as_echo_n "checking for gthreads library... " >&6; }
78729
78730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78731 /* end confdefs.h. */
78732 #include "gthr.h"
78733 int
78734 main ()
78735 {
78736
78737 #ifndef __GTHREADS_CXX0X
78738 #error
78739 #endif
78740
78741 ;
78742 return 0;
78743 }
78744 _ACEOF
78745 if ac_fn_cxx_try_compile "$LINENO"; then :
78746 ac_has_gthreads=yes
78747 else
78748 ac_has_gthreads=no
78749 fi
78750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78751 else
78752 ac_has_gthreads=no
78753 fi
78754
78755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78756 $as_echo "$ac_has_gthreads" >&6; }
78757
78758 if test x"$ac_has_gthreads" = x"yes"; then
78759
78760 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78761
78762
78763 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
78764 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
78765 "
78766 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
78767
78768 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
78769
78770 fi
78771
78772 fi
78773
78774 CXXFLAGS="$ac_save_CXXFLAGS"
78775 ac_ext=c
78776 ac_cpp='$CPP $CPPFLAGS'
78777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78780
78781
78782
78783 # For Filesystem TS.
78784 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
78785 do :
78786 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78787 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78788 eval as_val=\$$as_ac_Header
78789 if test "x$as_val" = x""yes; then :
78790 cat >>confdefs.h <<_ACEOF
78791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78792 _ACEOF
78793
78794 fi
78795
78796 done
78797
78798
78799 # Check whether --enable-libstdcxx-filesystem-ts was given.
78800 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
78801 enableval=$enable_libstdcxx_filesystem_ts;
78802 case "$enableval" in
78803 yes|no|auto) ;;
78804 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
78805 esac
78806
78807 else
78808 enable_libstdcxx_filesystem_ts=auto
78809 fi
78810
78811
78812
78813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
78814 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
78815 if test x"$ac_cv_header_dirent_h" != x"yes"; then
78816 enable_libstdcxx_filesystem_ts=no
78817 fi
78818 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
78819 case "${target_os}" in
78820 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
78821 enable_libstdcxx_filesystem_ts=yes
78822 ;;
78823 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
78824 enable_libstdcxx_filesystem_ts=yes
78825 ;;
78826 solaris*)
78827 enable_libstdcxx_filesystem_ts=yes
78828 ;;
78829 *)
78830 enable_libstdcxx_filesystem_ts=no
78831 ;;
78832 esac
78833 fi
78834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
78835 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
78836
78837
78838
78839 ac_ext=cpp
78840 ac_cpp='$CXXCPP $CPPFLAGS'
78841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78844
78845 ac_save_CXXFLAGS="$CXXFLAGS"
78846 CXXFLAGS="$CXXFLAGS -fno-exceptions"
78847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
78848 $as_echo_n "checking for struct dirent.d_type... " >&6; }
78849 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
78850 $as_echo_n "(cached) " >&6
78851 else
78852 if test x$gcc_no_link = xyes; then
78853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78854 /* end confdefs.h. */
78855 #include <dirent.h>
78856 int
78857 main ()
78858 {
78859
78860 struct dirent d;
78861 if (sizeof d.d_type) return 0;
78862
78863 ;
78864 return 0;
78865 }
78866 _ACEOF
78867 if ac_fn_cxx_try_compile "$LINENO"; then :
78868 glibcxx_cv_dirent_d_type=yes
78869 else
78870 glibcxx_cv_dirent_d_type=no
78871 fi
78872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78873 else
78874 if test x$gcc_no_link = xyes; then
78875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78876 fi
78877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78878 /* end confdefs.h. */
78879 #include <dirent.h>
78880 int
78881 main ()
78882 {
78883
78884 struct dirent d;
78885 if (sizeof d.d_type) return 0;
78886
78887 ;
78888 return 0;
78889 }
78890 _ACEOF
78891 if ac_fn_cxx_try_link "$LINENO"; then :
78892 glibcxx_cv_dirent_d_type=yes
78893 else
78894 glibcxx_cv_dirent_d_type=no
78895 fi
78896 rm -f core conftest.err conftest.$ac_objext \
78897 conftest$ac_exeext conftest.$ac_ext
78898 fi
78899
78900 fi
78901
78902 if test $glibcxx_cv_dirent_d_type = yes; then
78903
78904 $as_echo "#define _GLIBCXX_HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
78905
78906 fi
78907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
78908 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
78909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
78910 $as_echo_n "checking for realpath... " >&6; }
78911 if test "${glibcxx_cv_realpath+set}" = set; then :
78912 $as_echo_n "(cached) " >&6
78913 else
78914 if test x$gcc_no_link = xyes; then
78915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78916 /* end confdefs.h. */
78917 #include <stdlib.h>
78918 int
78919 main ()
78920 {
78921 char *tmp = realpath((const char*)NULL, (char*)NULL);
78922 ;
78923 return 0;
78924 }
78925 _ACEOF
78926 if ac_fn_cxx_try_compile "$LINENO"; then :
78927 glibcxx_cv_realpath=yes
78928 else
78929 glibcxx_cv_realpath=no
78930 fi
78931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78932 else
78933 if test x$gcc_no_link = xyes; then
78934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78935 fi
78936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78937 /* end confdefs.h. */
78938 #include <stdlib.h>
78939 int
78940 main ()
78941 {
78942 char *tmp = realpath((const char*)NULL, (char*)NULL);
78943 ;
78944 return 0;
78945 }
78946 _ACEOF
78947 if ac_fn_cxx_try_link "$LINENO"; then :
78948 glibcxx_cv_realpath=yes
78949 else
78950 glibcxx_cv_realpath=no
78951 fi
78952 rm -f core conftest.err conftest.$ac_objext \
78953 conftest$ac_exeext conftest.$ac_ext
78954 fi
78955
78956 fi
78957
78958 if test $glibcxx_cv_realpath = yes; then
78959
78960 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
78961
78962 fi
78963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
78964 $as_echo "$glibcxx_cv_realpath" >&6; }
78965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
78966 $as_echo_n "checking for utimensat... " >&6; }
78967 if test "${glibcxx_cv_utimensat+set}" = set; then :
78968 $as_echo_n "(cached) " >&6
78969 else
78970 if test x$gcc_no_link = xyes; then
78971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78972 /* end confdefs.h. */
78973
78974 #include <fcntl.h>
78975 #include <sys/stat.h>
78976
78977 int
78978 main ()
78979 {
78980
78981 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
78982 int i = utimensat(AT_FDCWD, "path", ts, 0);
78983
78984 ;
78985 return 0;
78986 }
78987 _ACEOF
78988 if ac_fn_cxx_try_compile "$LINENO"; then :
78989 glibcxx_cv_utimensat=yes
78990 else
78991 glibcxx_cv_utimensat=no
78992 fi
78993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78994 else
78995 if test x$gcc_no_link = xyes; then
78996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78997 fi
78998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78999 /* end confdefs.h. */
79000
79001 #include <fcntl.h>
79002 #include <sys/stat.h>
79003
79004 int
79005 main ()
79006 {
79007
79008 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79009 int i = utimensat(AT_FDCWD, "path", ts, 0);
79010
79011 ;
79012 return 0;
79013 }
79014 _ACEOF
79015 if ac_fn_cxx_try_link "$LINENO"; then :
79016 glibcxx_cv_utimensat=yes
79017 else
79018 glibcxx_cv_utimensat=no
79019 fi
79020 rm -f core conftest.err conftest.$ac_objext \
79021 conftest$ac_exeext conftest.$ac_ext
79022 fi
79023
79024 fi
79025
79026 if test $glibcxx_cv_utimensat = yes; then
79027
79028 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
79029
79030 fi
79031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
79032 $as_echo "$glibcxx_cv_utimensat" >&6; }
79033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
79034 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
79035 if test "${glibcxx_cv_st_mtim+set}" = set; then :
79036 $as_echo_n "(cached) " >&6
79037 else
79038 if test x$gcc_no_link = xyes; then
79039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79040 /* end confdefs.h. */
79041 #include <sys/stat.h>
79042 int
79043 main ()
79044 {
79045
79046 struct stat st;
79047 return st.st_mtim.tv_nsec;
79048
79049 ;
79050 return 0;
79051 }
79052 _ACEOF
79053 if ac_fn_cxx_try_compile "$LINENO"; then :
79054 glibcxx_cv_st_mtim=yes
79055 else
79056 glibcxx_cv_st_mtim=no
79057 fi
79058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79059 else
79060 if test x$gcc_no_link = xyes; then
79061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79062 fi
79063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79064 /* end confdefs.h. */
79065 #include <sys/stat.h>
79066 int
79067 main ()
79068 {
79069
79070 struct stat st;
79071 return st.st_mtim.tv_nsec;
79072
79073 ;
79074 return 0;
79075 }
79076 _ACEOF
79077 if ac_fn_cxx_try_link "$LINENO"; then :
79078 glibcxx_cv_st_mtim=yes
79079 else
79080 glibcxx_cv_st_mtim=no
79081 fi
79082 rm -f core conftest.err conftest.$ac_objext \
79083 conftest$ac_exeext conftest.$ac_ext
79084 fi
79085
79086 fi
79087
79088 if test $glibcxx_cv_st_mtim = yes; then
79089
79090 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
79091
79092 fi
79093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
79094 $as_echo "$glibcxx_cv_st_mtim" >&6; }
79095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
79096 $as_echo_n "checking for fchmod... " >&6; }
79097 if test "${glibcxx_cv_fchmod+set}" = set; then :
79098 $as_echo_n "(cached) " >&6
79099 else
79100 if test x$gcc_no_link = xyes; then
79101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79102 /* end confdefs.h. */
79103 #include <sys/stat.h>
79104 int
79105 main ()
79106 {
79107 fchmod(1, S_IWUSR);
79108 ;
79109 return 0;
79110 }
79111 _ACEOF
79112 if ac_fn_cxx_try_compile "$LINENO"; then :
79113 glibcxx_cv_fchmod=yes
79114 else
79115 glibcxx_cv_fchmod=no
79116 fi
79117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79118 else
79119 if test x$gcc_no_link = xyes; then
79120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79121 fi
79122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79123 /* end confdefs.h. */
79124 #include <sys/stat.h>
79125 int
79126 main ()
79127 {
79128 fchmod(1, S_IWUSR);
79129 ;
79130 return 0;
79131 }
79132 _ACEOF
79133 if ac_fn_cxx_try_link "$LINENO"; then :
79134 glibcxx_cv_fchmod=yes
79135 else
79136 glibcxx_cv_fchmod=no
79137 fi
79138 rm -f core conftest.err conftest.$ac_objext \
79139 conftest$ac_exeext conftest.$ac_ext
79140 fi
79141
79142 fi
79143
79144 if test $glibcxx_cv_fchmod = yes; then
79145
79146 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
79147
79148 fi
79149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
79150 $as_echo "$glibcxx_cv_fchmod" >&6; }
79151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
79152 $as_echo_n "checking for fchmodat... " >&6; }
79153 if test "${glibcxx_cv_fchmodat+set}" = set; then :
79154 $as_echo_n "(cached) " >&6
79155 else
79156 if test x$gcc_no_link = xyes; then
79157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79158 /* end confdefs.h. */
79159
79160 #include <fcntl.h>
79161 #include <sys/stat.h>
79162
79163 int
79164 main ()
79165 {
79166 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79167 ;
79168 return 0;
79169 }
79170 _ACEOF
79171 if ac_fn_cxx_try_compile "$LINENO"; then :
79172 glibcxx_cv_fchmodat=yes
79173 else
79174 glibcxx_cv_fchmodat=no
79175 fi
79176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79177 else
79178 if test x$gcc_no_link = xyes; then
79179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79180 fi
79181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79182 /* end confdefs.h. */
79183
79184 #include <fcntl.h>
79185 #include <sys/stat.h>
79186
79187 int
79188 main ()
79189 {
79190 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79191 ;
79192 return 0;
79193 }
79194 _ACEOF
79195 if ac_fn_cxx_try_link "$LINENO"; then :
79196 glibcxx_cv_fchmodat=yes
79197 else
79198 glibcxx_cv_fchmodat=no
79199 fi
79200 rm -f core conftest.err conftest.$ac_objext \
79201 conftest$ac_exeext conftest.$ac_ext
79202 fi
79203
79204 fi
79205
79206 if test $glibcxx_cv_fchmodat = yes; then
79207
79208 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
79209
79210 fi
79211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
79212 $as_echo "$glibcxx_cv_fchmodat" >&6; }
79213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
79214 $as_echo_n "checking for sendfile that can copy files... " >&6; }
79215 if test "${glibcxx_cv_sendfile+set}" = set; then :
79216 $as_echo_n "(cached) " >&6
79217 else
79218 case "${target_os}" in
79219 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | solaris*)
79220 if test x$gcc_no_link = xyes; then
79221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79222 /* end confdefs.h. */
79223 #include <sys/sendfile.h>
79224 int
79225 main ()
79226 {
79227 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79228 ;
79229 return 0;
79230 }
79231 _ACEOF
79232 if ac_fn_cxx_try_compile "$LINENO"; then :
79233 glibcxx_cv_sendfile=yes
79234 else
79235 glibcxx_cv_sendfile=no
79236 fi
79237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79238 else
79239 if test x$gcc_no_link = xyes; then
79240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79241 fi
79242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79243 /* end confdefs.h. */
79244 #include <sys/sendfile.h>
79245 int
79246 main ()
79247 {
79248 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79249 ;
79250 return 0;
79251 }
79252 _ACEOF
79253 if ac_fn_cxx_try_link "$LINENO"; then :
79254 glibcxx_cv_sendfile=yes
79255 else
79256 glibcxx_cv_sendfile=no
79257 fi
79258 rm -f core conftest.err conftest.$ac_objext \
79259 conftest$ac_exeext conftest.$ac_ext
79260 fi
79261 ;;
79262 *)
79263 glibcxx_cv_sendfile=no
79264 ;;
79265 esac
79266
79267 fi
79268
79269 if test $glibcxx_cv_sendfile = yes; then
79270
79271 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
79272
79273 fi
79274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
79275 $as_echo "$glibcxx_cv_sendfile" >&6; }
79276 CXXFLAGS="$ac_save_CXXFLAGS"
79277 ac_ext=c
79278 ac_cpp='$CPP $CPPFLAGS'
79279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79282
79283
79284
79285 # Define documentation rules conditionally.
79286
79287 # See if makeinfo has been installed and is modern enough
79288 # that we can use it.
79289
79290 # Extract the first word of "makeinfo", so it can be a program name with args.
79291 set dummy makeinfo; ac_word=$2
79292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79293 $as_echo_n "checking for $ac_word... " >&6; }
79294 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
79295 $as_echo_n "(cached) " >&6
79296 else
79297 if test -n "$MAKEINFO"; then
79298 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
79299 else
79300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79301 for as_dir in $PATH
79302 do
79303 IFS=$as_save_IFS
79304 test -z "$as_dir" && as_dir=.
79305 for ac_exec_ext in '' $ac_executable_extensions; do
79306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79307 ac_cv_prog_MAKEINFO="makeinfo"
79308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79309 break 2
79310 fi
79311 done
79312 done
79313 IFS=$as_save_IFS
79314
79315 fi
79316 fi
79317 MAKEINFO=$ac_cv_prog_MAKEINFO
79318 if test -n "$MAKEINFO"; then
79319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
79320 $as_echo "$MAKEINFO" >&6; }
79321 else
79322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79323 $as_echo "no" >&6; }
79324 fi
79325
79326
79327 if test -n "$MAKEINFO"; then
79328 # Found it, now check the version.
79329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
79330 $as_echo_n "checking for modern makeinfo... " >&6; }
79331 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
79332 $as_echo_n "(cached) " >&6
79333 else
79334 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
79335 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
79336
79337 case $ac_prog_version in
79338 '') gcc_cv_prog_makeinfo_modern=no;;
79339 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
79340 *) gcc_cv_prog_makeinfo_modern=no;;
79341 esac
79342
79343 fi
79344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
79345 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
79346 else
79347 gcc_cv_prog_makeinfo_modern=no
79348 fi
79349 if test $gcc_cv_prog_makeinfo_modern = no; then
79350 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
79351 fi
79352
79353 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
79354 BUILD_INFO_TRUE=
79355 BUILD_INFO_FALSE='#'
79356 else
79357 BUILD_INFO_TRUE='#'
79358 BUILD_INFO_FALSE=
79359 fi
79360
79361
79362 # Check for doxygen
79363 # Extract the first word of "doxygen", so it can be a program name with args.
79364 set dummy doxygen; ac_word=$2
79365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79366 $as_echo_n "checking for $ac_word... " >&6; }
79367 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
79368 $as_echo_n "(cached) " >&6
79369 else
79370 if test -n "$DOXYGEN"; then
79371 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
79372 else
79373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79374 for as_dir in $PATH
79375 do
79376 IFS=$as_save_IFS
79377 test -z "$as_dir" && as_dir=.
79378 for ac_exec_ext in '' $ac_executable_extensions; do
79379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79380 ac_cv_prog_DOXYGEN="yes"
79381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79382 break 2
79383 fi
79384 done
79385 done
79386 IFS=$as_save_IFS
79387
79388 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
79389 fi
79390 fi
79391 DOXYGEN=$ac_cv_prog_DOXYGEN
79392 if test -n "$DOXYGEN"; then
79393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
79394 $as_echo "$DOXYGEN" >&6; }
79395 else
79396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79397 $as_echo "no" >&6; }
79398 fi
79399
79400
79401 # Extract the first word of "dot", so it can be a program name with args.
79402 set dummy dot; ac_word=$2
79403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79404 $as_echo_n "checking for $ac_word... " >&6; }
79405 if test "${ac_cv_prog_DOT+set}" = set; then :
79406 $as_echo_n "(cached) " >&6
79407 else
79408 if test -n "$DOT"; then
79409 ac_cv_prog_DOT="$DOT" # Let the user override the test.
79410 else
79411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79412 for as_dir in $PATH
79413 do
79414 IFS=$as_save_IFS
79415 test -z "$as_dir" && as_dir=.
79416 for ac_exec_ext in '' $ac_executable_extensions; do
79417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79418 ac_cv_prog_DOT="yes"
79419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79420 break 2
79421 fi
79422 done
79423 done
79424 IFS=$as_save_IFS
79425
79426 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
79427 fi
79428 fi
79429 DOT=$ac_cv_prog_DOT
79430 if test -n "$DOT"; then
79431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
79432 $as_echo "$DOT" >&6; }
79433 else
79434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79435 $as_echo "no" >&6; }
79436 fi
79437
79438
79439
79440 # Check for docbook
79441 # Extract the first word of "xsltproc", so it can be a program name with args.
79442 set dummy xsltproc; ac_word=$2
79443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79444 $as_echo_n "checking for $ac_word... " >&6; }
79445 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
79446 $as_echo_n "(cached) " >&6
79447 else
79448 if test -n "$XSLTPROC"; then
79449 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
79450 else
79451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79452 for as_dir in $PATH
79453 do
79454 IFS=$as_save_IFS
79455 test -z "$as_dir" && as_dir=.
79456 for ac_exec_ext in '' $ac_executable_extensions; do
79457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79458 ac_cv_prog_XSLTPROC="yes"
79459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79460 break 2
79461 fi
79462 done
79463 done
79464 IFS=$as_save_IFS
79465
79466 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
79467 fi
79468 fi
79469 XSLTPROC=$ac_cv_prog_XSLTPROC
79470 if test -n "$XSLTPROC"; then
79471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
79472 $as_echo "$XSLTPROC" >&6; }
79473 else
79474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79475 $as_echo "no" >&6; }
79476 fi
79477
79478
79479 # Extract the first word of "xmllint", so it can be a program name with args.
79480 set dummy xmllint; ac_word=$2
79481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79482 $as_echo_n "checking for $ac_word... " >&6; }
79483 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
79484 $as_echo_n "(cached) " >&6
79485 else
79486 if test -n "$XMLLINT"; then
79487 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79488 else
79489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79490 for as_dir in $PATH
79491 do
79492 IFS=$as_save_IFS
79493 test -z "$as_dir" && as_dir=.
79494 for ac_exec_ext in '' $ac_executable_extensions; do
79495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79496 ac_cv_prog_XMLLINT="yes"
79497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79498 break 2
79499 fi
79500 done
79501 done
79502 IFS=$as_save_IFS
79503
79504 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79505 fi
79506 fi
79507 XMLLINT=$ac_cv_prog_XMLLINT
79508 if test -n "$XMLLINT"; then
79509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79510 $as_echo "$XMLLINT" >&6; }
79511 else
79512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79513 $as_echo "no" >&6; }
79514 fi
79515
79516
79517
79518
79519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79520 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79521 glibcxx_stylesheets=no
79522 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
79523 glibcxx_stylesheets=yes
79524 fi
79525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79526 $as_echo "$glibcxx_stylesheets" >&6; }
79527
79528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79529 $as_echo_n "checking for local stylesheet directory... " >&6; }
79530 glibcxx_local_stylesheets=no
79531 if test x"$glibcxx_stylesheets" = x"yes"; then
79532 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79533 glibcxx_local_stylesheets=yes
79534 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79535 fi
79536 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79537 glibcxx_local_stylesheets=yes
79538 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79539 fi
79540 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79541 glibcxx_local_stylesheets=yes
79542 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79543 fi
79544 fi
79545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79546 $as_echo "$glibcxx_local_stylesheets" >&6; }
79547
79548 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79549
79550 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79551 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79552 else
79553 glibcxx_stylesheets=no
79554 fi
79555
79556 # Check for epub3 dependencies.
79557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79558 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79559 glibcxx_epub_stylesheets=no
79560 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79561 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79562 glibcxx_epub_stylesheets=yes
79563 fi
79564 fi
79565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79566 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79567 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79568 BUILD_EPUB_TRUE=
79569 BUILD_EPUB_FALSE='#'
79570 else
79571 BUILD_EPUB_TRUE='#'
79572 BUILD_EPUB_FALSE=
79573 fi
79574
79575
79576
79577
79578 # Check for xml/html dependencies.
79579 if test $ac_cv_prog_DOXYGEN = "yes" &&
79580 test $ac_cv_prog_DOT = "yes" &&
79581 test $ac_cv_prog_XSLTPROC = "yes" &&
79582 test $ac_cv_prog_XMLLINT = "yes" &&
79583 test $glibcxx_stylesheets = "yes"; then
79584 BUILD_XML_TRUE=
79585 BUILD_XML_FALSE='#'
79586 else
79587 BUILD_XML_TRUE='#'
79588 BUILD_XML_FALSE=
79589 fi
79590
79591
79592 if test $ac_cv_prog_DOXYGEN = "yes" &&
79593 test $ac_cv_prog_DOT = "yes" &&
79594 test $ac_cv_prog_XSLTPROC = "yes" &&
79595 test $ac_cv_prog_XMLLINT = "yes" &&
79596 test $glibcxx_stylesheets = "yes"; then
79597 BUILD_HTML_TRUE=
79598 BUILD_HTML_FALSE='#'
79599 else
79600 BUILD_HTML_TRUE='#'
79601 BUILD_HTML_FALSE=
79602 fi
79603
79604
79605 # Check for man dependencies.
79606 if test $ac_cv_prog_DOXYGEN = "yes" &&
79607 test $ac_cv_prog_DOT = "yes"; then
79608 BUILD_MAN_TRUE=
79609 BUILD_MAN_FALSE='#'
79610 else
79611 BUILD_MAN_TRUE='#'
79612 BUILD_MAN_FALSE=
79613 fi
79614
79615
79616 # Check for pdf dependencies.
79617 # Extract the first word of "dblatex", so it can be a program name with args.
79618 set dummy dblatex; ac_word=$2
79619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79620 $as_echo_n "checking for $ac_word... " >&6; }
79621 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79622 $as_echo_n "(cached) " >&6
79623 else
79624 if test -n "$DBLATEX"; then
79625 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79626 else
79627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79628 for as_dir in $PATH
79629 do
79630 IFS=$as_save_IFS
79631 test -z "$as_dir" && as_dir=.
79632 for ac_exec_ext in '' $ac_executable_extensions; do
79633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79634 ac_cv_prog_DBLATEX="yes"
79635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79636 break 2
79637 fi
79638 done
79639 done
79640 IFS=$as_save_IFS
79641
79642 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79643 fi
79644 fi
79645 DBLATEX=$ac_cv_prog_DBLATEX
79646 if test -n "$DBLATEX"; then
79647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79648 $as_echo "$DBLATEX" >&6; }
79649 else
79650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79651 $as_echo "no" >&6; }
79652 fi
79653
79654
79655 # Extract the first word of "pdflatex", so it can be a program name with args.
79656 set dummy pdflatex; ac_word=$2
79657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79658 $as_echo_n "checking for $ac_word... " >&6; }
79659 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79660 $as_echo_n "(cached) " >&6
79661 else
79662 if test -n "$PDFLATEX"; then
79663 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79664 else
79665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79666 for as_dir in $PATH
79667 do
79668 IFS=$as_save_IFS
79669 test -z "$as_dir" && as_dir=.
79670 for ac_exec_ext in '' $ac_executable_extensions; do
79671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79672 ac_cv_prog_PDFLATEX="yes"
79673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79674 break 2
79675 fi
79676 done
79677 done
79678 IFS=$as_save_IFS
79679
79680 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79681 fi
79682 fi
79683 PDFLATEX=$ac_cv_prog_PDFLATEX
79684 if test -n "$PDFLATEX"; then
79685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79686 $as_echo "$PDFLATEX" >&6; }
79687 else
79688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79689 $as_echo "no" >&6; }
79690 fi
79691
79692
79693 if test $ac_cv_prog_DBLATEX = "yes" &&
79694 test $ac_cv_prog_PDFLATEX = "yes"; then
79695 BUILD_PDF_TRUE=
79696 BUILD_PDF_FALSE='#'
79697 else
79698 BUILD_PDF_TRUE='#'
79699 BUILD_PDF_FALSE=
79700 fi
79701
79702
79703
79704 # Propagate the target-specific source directories through the build chain.
79705 ATOMICITY_SRCDIR=config/${atomicity_dir}
79706 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79707 ATOMIC_FLAGS=${atomic_flags}
79708 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79709 OS_INC_SRCDIR=config/${os_include_dir}
79710 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79711 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79712 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79713 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79714
79715
79716
79717
79718
79719
79720
79721
79722
79723
79724
79725 # Determine cross-compile flags and AM_CONDITIONALs.
79726 #AC_SUBST(GLIBCXX_IS_NATIVE)
79727 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79728 if test $is_hosted = yes; then
79729 GLIBCXX_HOSTED_TRUE=
79730 GLIBCXX_HOSTED_FALSE='#'
79731 else
79732 GLIBCXX_HOSTED_TRUE='#'
79733 GLIBCXX_HOSTED_FALSE=
79734 fi
79735
79736
79737 if test $enable_libstdcxx_pch = yes; then
79738 GLIBCXX_BUILD_PCH_TRUE=
79739 GLIBCXX_BUILD_PCH_FALSE='#'
79740 else
79741 GLIBCXX_BUILD_PCH_TRUE='#'
79742 GLIBCXX_BUILD_PCH_FALSE=
79743 fi
79744
79745
79746 if test $enable_cheaders = c; then
79747 GLIBCXX_C_HEADERS_C_TRUE=
79748 GLIBCXX_C_HEADERS_C_FALSE='#'
79749 else
79750 GLIBCXX_C_HEADERS_C_TRUE='#'
79751 GLIBCXX_C_HEADERS_C_FALSE=
79752 fi
79753
79754
79755 if test $enable_cheaders = c_std; then
79756 GLIBCXX_C_HEADERS_C_STD_TRUE=
79757 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79758 else
79759 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79760 GLIBCXX_C_HEADERS_C_STD_FALSE=
79761 fi
79762
79763
79764 if test $enable_cheaders = c_global; then
79765 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79766 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79767 else
79768 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79769 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79770 fi
79771
79772
79773 if test $c_compatibility = yes; then
79774 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79775 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79776 else
79777 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79778 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79779 fi
79780
79781
79782 if test $enable_libstdcxx_debug = yes; then
79783 GLIBCXX_BUILD_DEBUG_TRUE=
79784 GLIBCXX_BUILD_DEBUG_FALSE='#'
79785 else
79786 GLIBCXX_BUILD_DEBUG_TRUE='#'
79787 GLIBCXX_BUILD_DEBUG_FALSE=
79788 fi
79789
79790
79791 if test $enable_extern_template = yes; then
79792 ENABLE_EXTERN_TEMPLATE_TRUE=
79793 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79794 else
79795 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79796 ENABLE_EXTERN_TEMPLATE_FALSE=
79797 fi
79798
79799
79800 if test $python_mod_dir != no; then
79801 ENABLE_PYTHONDIR_TRUE=
79802 ENABLE_PYTHONDIR_FALSE='#'
79803 else
79804 ENABLE_PYTHONDIR_TRUE='#'
79805 ENABLE_PYTHONDIR_FALSE=
79806 fi
79807
79808
79809 if test $enable_werror = yes; then
79810 ENABLE_WERROR_TRUE=
79811 ENABLE_WERROR_FALSE='#'
79812 else
79813 ENABLE_WERROR_TRUE='#'
79814 ENABLE_WERROR_FALSE=
79815 fi
79816
79817
79818 if test $enable_vtable_verify = yes; then
79819 ENABLE_VTABLE_VERIFY_TRUE=
79820 ENABLE_VTABLE_VERIFY_FALSE='#'
79821 else
79822 ENABLE_VTABLE_VERIFY_TRUE='#'
79823 ENABLE_VTABLE_VERIFY_FALSE=
79824 fi
79825
79826
79827 if test $enable_symvers != no; then
79828 ENABLE_SYMVERS_TRUE=
79829 ENABLE_SYMVERS_FALSE='#'
79830 else
79831 ENABLE_SYMVERS_TRUE='#'
79832 ENABLE_SYMVERS_FALSE=
79833 fi
79834
79835
79836 if test $enable_symvers = gnu; then
79837 ENABLE_SYMVERS_GNU_TRUE=
79838 ENABLE_SYMVERS_GNU_FALSE='#'
79839 else
79840 ENABLE_SYMVERS_GNU_TRUE='#'
79841 ENABLE_SYMVERS_GNU_FALSE=
79842 fi
79843
79844
79845 if test $enable_symvers = gnu-versioned-namespace; then
79846 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79847 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79848 else
79849 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79850 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79851 fi
79852
79853
79854 if test $enable_symvers = darwin; then
79855 ENABLE_SYMVERS_DARWIN_TRUE=
79856 ENABLE_SYMVERS_DARWIN_FALSE='#'
79857 else
79858 ENABLE_SYMVERS_DARWIN_TRUE='#'
79859 ENABLE_SYMVERS_DARWIN_FALSE=
79860 fi
79861
79862
79863 if test $enable_symvers = sun; then
79864 ENABLE_SYMVERS_SUN_TRUE=
79865 ENABLE_SYMVERS_SUN_FALSE='#'
79866 else
79867 ENABLE_SYMVERS_SUN_TRUE='#'
79868 ENABLE_SYMVERS_SUN_FALSE=
79869 fi
79870
79871
79872 if test $enable_libstdcxx_visibility = yes; then
79873 ENABLE_VISIBILITY_TRUE=
79874 ENABLE_VISIBILITY_FALSE='#'
79875 else
79876 ENABLE_VISIBILITY_TRUE='#'
79877 ENABLE_VISIBILITY_FALSE=
79878 fi
79879
79880
79881 if test $enable_libstdcxx_dual_abi = yes; then
79882 ENABLE_DUAL_ABI_TRUE=
79883 ENABLE_DUAL_ABI_FALSE='#'
79884 else
79885 ENABLE_DUAL_ABI_TRUE='#'
79886 ENABLE_DUAL_ABI_FALSE=
79887 fi
79888
79889
79890 if test $glibcxx_cxx11_abi = 1; then
79891 ENABLE_CXX11_ABI_TRUE=
79892 ENABLE_CXX11_ABI_FALSE='#'
79893 else
79894 ENABLE_CXX11_ABI_TRUE='#'
79895 ENABLE_CXX11_ABI_FALSE=
79896 fi
79897
79898
79899 if test $ac_ldbl_compat = yes; then
79900 GLIBCXX_LDBL_COMPAT_TRUE=
79901 GLIBCXX_LDBL_COMPAT_FALSE='#'
79902 else
79903 GLIBCXX_LDBL_COMPAT_TRUE='#'
79904 GLIBCXX_LDBL_COMPAT_FALSE=
79905 fi
79906
79907
79908 if test $enable_libstdcxx_filesystem_ts = yes; then
79909 ENABLE_FILESYSTEM_TS_TRUE=
79910 ENABLE_FILESYSTEM_TS_FALSE='#'
79911 else
79912 ENABLE_FILESYSTEM_TS_TRUE='#'
79913 ENABLE_FILESYSTEM_TS_FALSE=
79914 fi
79915
79916
79917
79918
79919 cat >confcache <<\_ACEOF
79920 # This file is a shell script that caches the results of configure
79921 # tests run on this system so they can be shared between configure
79922 # scripts and configure runs, see configure's option --config-cache.
79923 # It is not useful on other systems. If it contains results you don't
79924 # want to keep, you may remove or edit it.
79925 #
79926 # config.status only pays attention to the cache file if you give it
79927 # the --recheck option to rerun configure.
79928 #
79929 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79931 # following values.
79932
79933 _ACEOF
79934
79935 # The following way of writing the cache mishandles newlines in values,
79936 # but we know of no workaround that is simple, portable, and efficient.
79937 # So, we kill variables containing newlines.
79938 # Ultrix sh set writes to stderr and can't be redirected directly,
79939 # and sets the high bit in the cache file unless we assign to the vars.
79940 (
79941 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79942 eval ac_val=\$$ac_var
79943 case $ac_val in #(
79944 *${as_nl}*)
79945 case $ac_var in #(
79946 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79947 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79948 esac
79949 case $ac_var in #(
79950 _ | IFS | as_nl) ;; #(
79951 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79952 *) { eval $ac_var=; unset $ac_var;} ;;
79953 esac ;;
79954 esac
79955 done
79956
79957 (set) 2>&1 |
79958 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79959 *${as_nl}ac_space=\ *)
79960 # `set' does not quote correctly, so add quotes: double-quote
79961 # substitution turns \\\\ into \\, and sed turns \\ into \.
79962 sed -n \
79963 "s/'/'\\\\''/g;
79964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79965 ;; #(
79966 *)
79967 # `set' quotes correctly as required by POSIX, so do not add quotes.
79968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79969 ;;
79970 esac |
79971 sort
79972 ) |
79973 sed '
79974 /^ac_cv_env_/b end
79975 t clear
79976 :clear
79977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79978 t end
79979 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79980 :end' >>confcache
79981 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79982 if test -w "$cache_file"; then
79983 test "x$cache_file" != "x/dev/null" &&
79984 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79985 $as_echo "$as_me: updating cache $cache_file" >&6;}
79986 cat confcache >$cache_file
79987 else
79988 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79989 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79990 fi
79991 fi
79992 rm -f confcache
79993
79994 if test ${multilib} = yes; then
79995 multilib_arg="--enable-multilib"
79996 else
79997 multilib_arg=
79998 fi
79999
80000 # Export all the install information.
80001
80002 glibcxx_toolexecdir=no
80003 glibcxx_toolexeclibdir=no
80004 glibcxx_prefixdir=$prefix
80005
80006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
80007 $as_echo_n "checking for gxx-include-dir... " >&6; }
80008
80009 # Check whether --with-gxx-include-dir was given.
80010 if test "${with_gxx_include_dir+set}" = set; then :
80011 withval=$with_gxx_include_dir; case "$withval" in
80012 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
80013 no) gxx_include_dir=no ;;
80014 *) gxx_include_dir=$withval ;;
80015 esac
80016 else
80017 gxx_include_dir=no
80018 fi
80019
80020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80021 $as_echo "$gxx_include_dir" >&6; }
80022
80023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
80024 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
80025 # Check whether --enable-version-specific-runtime-libs was given.
80026 if test "${enable_version_specific_runtime_libs+set}" = set; then :
80027 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
80028 yes) version_specific_libs=yes ;;
80029 no) version_specific_libs=no ;;
80030 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
80031 esac
80032 else
80033 version_specific_libs=no
80034 fi
80035
80036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
80037 $as_echo "$version_specific_libs" >&6; }
80038
80039 # Default case for install directory for include files.
80040 if test $version_specific_libs = no && test $gxx_include_dir = no; then
80041 gxx_include_dir='include/c++/${gcc_version}'
80042 if test -n "$with_cross_host" &&
80043 test x"$with_cross_host" != x"no"; then
80044 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
80045 else
80046 gxx_include_dir='${prefix}/'"$gxx_include_dir"
80047 fi
80048 fi
80049
80050 # Version-specific runtime libs processing.
80051 if test $version_specific_libs = yes; then
80052 # Need the gcc compiler version to know where to install libraries
80053 # and header files if --enable-version-specific-runtime-libs option
80054 # is selected. FIXME: these variables are misnamed, there are
80055 # no executables installed in _toolexecdir or _toolexeclibdir.
80056 if test x"$gxx_include_dir" = x"no"; then
80057 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
80058 fi
80059 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80060 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
80061 fi
80062
80063 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
80064 # Install a library built with a cross compiler in tooldir, not libdir.
80065 if test x"$glibcxx_toolexecdir" = x"no"; then
80066 if test -n "$with_cross_host" &&
80067 test x"$with_cross_host" != x"no"; then
80068 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
80069 glibcxx_toolexeclibdir='${toolexecdir}/lib'
80070 else
80071 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80072 glibcxx_toolexeclibdir='${libdir}'
80073 fi
80074 multi_os_directory=`$CXX -print-multi-os-directory`
80075 case $multi_os_directory in
80076 .) ;; # Avoid trailing /.
80077 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
80078 esac
80079 fi
80080
80081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
80082 $as_echo_n "checking for install location... " >&6; }
80083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80084 $as_echo "$gxx_include_dir" >&6; }
80085
80086
80087
80088
80089
80090
80091
80092 # Export all the include and flag information to Makefiles.
80093
80094 # Used for every C++ compile we perform.
80095 GLIBCXX_INCLUDES="\
80096 -I$glibcxx_builddir/include/$host_alias \
80097 -I$glibcxx_builddir/include \
80098 -I$glibcxx_srcdir/libsupc++"
80099
80100 # For Canadian crosses, pick this up too.
80101 if test $CANADIAN = yes; then
80102 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
80103 fi
80104
80105 # Stuff in the actual top level. Currently only used by libsupc++ to
80106 # get unwind* headers from the libgcc dir.
80107 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
80108 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
80109
80110 # Now, export this to all the little Makefiles....
80111
80112
80113
80114
80115 # Optimization flags that are probably a good idea for thrill-seekers. Just
80116 # uncomment the lines below and make, everything else is ready to go...
80117 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
80118 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
80119
80120
80121 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
80122
80123
80124
80125 ac_config_files="$ac_config_files Makefile"
80126
80127 ac_config_files="$ac_config_files scripts/testsuite_flags"
80128
80129 ac_config_files="$ac_config_files scripts/extract_symvers"
80130
80131 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
80132
80133
80134 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
80135 # that multilib installs will end up installed in the correct place.
80136 # The testsuite needs it for multilib-aware ABI baseline files.
80137 # To work around this not being passed down from config-ml.in ->
80138 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
80139 # append it here. Only modify Makefiles that have just been created.
80140 #
80141 # Also, get rid of this simulated-VPATH thing that automake does.
80142 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"
80143
80144
80145 ac_config_commands="$ac_config_commands generate-headers"
80146
80147
80148 cat >confcache <<\_ACEOF
80149 # This file is a shell script that caches the results of configure
80150 # tests run on this system so they can be shared between configure
80151 # scripts and configure runs, see configure's option --config-cache.
80152 # It is not useful on other systems. If it contains results you don't
80153 # want to keep, you may remove or edit it.
80154 #
80155 # config.status only pays attention to the cache file if you give it
80156 # the --recheck option to rerun configure.
80157 #
80158 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80159 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80160 # following values.
80161
80162 _ACEOF
80163
80164 # The following way of writing the cache mishandles newlines in values,
80165 # but we know of no workaround that is simple, portable, and efficient.
80166 # So, we kill variables containing newlines.
80167 # Ultrix sh set writes to stderr and can't be redirected directly,
80168 # and sets the high bit in the cache file unless we assign to the vars.
80169 (
80170 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80171 eval ac_val=\$$ac_var
80172 case $ac_val in #(
80173 *${as_nl}*)
80174 case $ac_var in #(
80175 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80176 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80177 esac
80178 case $ac_var in #(
80179 _ | IFS | as_nl) ;; #(
80180 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80181 *) { eval $ac_var=; unset $ac_var;} ;;
80182 esac ;;
80183 esac
80184 done
80185
80186 (set) 2>&1 |
80187 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80188 *${as_nl}ac_space=\ *)
80189 # `set' does not quote correctly, so add quotes: double-quote
80190 # substitution turns \\\\ into \\, and sed turns \\ into \.
80191 sed -n \
80192 "s/'/'\\\\''/g;
80193 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80194 ;; #(
80195 *)
80196 # `set' quotes correctly as required by POSIX, so do not add quotes.
80197 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80198 ;;
80199 esac |
80200 sort
80201 ) |
80202 sed '
80203 /^ac_cv_env_/b end
80204 t clear
80205 :clear
80206 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80207 t end
80208 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80209 :end' >>confcache
80210 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80211 if test -w "$cache_file"; then
80212 test "x$cache_file" != "x/dev/null" &&
80213 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80214 $as_echo "$as_me: updating cache $cache_file" >&6;}
80215 cat confcache >$cache_file
80216 else
80217 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80218 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80219 fi
80220 fi
80221 rm -f confcache
80222
80223 test "x$prefix" = xNONE && prefix=$ac_default_prefix
80224 # Let make expand exec_prefix.
80225 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
80226
80227 DEFS=-DHAVE_CONFIG_H
80228
80229 ac_libobjs=
80230 ac_ltlibobjs=
80231 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
80232 # 1. Remove the extension, and $U if already installed.
80233 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
80234 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
80235 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
80236 # will be set to the directory where LIBOBJS objects are built.
80237 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
80238 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
80239 done
80240 LIBOBJS=$ac_libobjs
80241
80242 LTLIBOBJS=$ac_ltlibobjs
80243
80244
80245 if test -n "$EXEEXT"; then
80246 am__EXEEXT_TRUE=
80247 am__EXEEXT_FALSE='#'
80248 else
80249 am__EXEEXT_TRUE='#'
80250 am__EXEEXT_FALSE=
80251 fi
80252
80253 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
80254 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
80255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80256 fi
80257 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
80258 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
80259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80260 fi
80261 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
80262 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
80263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80264 fi
80265 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
80266 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
80267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80268 fi
80269 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
80270 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
80271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80272 fi
80273 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
80274 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
80275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80276 fi
80277 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
80278 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
80279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80280 fi
80281 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
80282 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
80283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80284 fi
80285 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
80286 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
80287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80288 fi
80289 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
80290 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
80291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80292 fi
80293 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
80294 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
80295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80296 fi
80297 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
80298 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
80299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80300 fi
80301 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
80302 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
80303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80304 fi
80305 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
80306 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
80307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80308 fi
80309 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
80310 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
80311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80312 fi
80313 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
80314 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
80315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80316 fi
80317 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
80318 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
80319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80320 fi
80321 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
80322 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
80323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80324 fi
80325 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
80326 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
80327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80328 fi
80329 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
80330 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
80331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80332 fi
80333 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
80334 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
80335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80336 fi
80337 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
80338 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
80339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80340 fi
80341 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
80342 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
80343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80344 fi
80345 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
80346 as_fn_error "conditional \"BUILD_INFO\" was never defined.
80347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80348 fi
80349 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
80350 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
80351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80352 fi
80353 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
80354 as_fn_error "conditional \"BUILD_XML\" was never defined.
80355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80356 fi
80357 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
80358 as_fn_error "conditional \"BUILD_HTML\" was never defined.
80359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80360 fi
80361 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
80362 as_fn_error "conditional \"BUILD_MAN\" was never defined.
80363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80364 fi
80365 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
80366 as_fn_error "conditional \"BUILD_PDF\" was never defined.
80367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80368 fi
80369
80370 : ${CONFIG_STATUS=./config.status}
80371 ac_write_fail=0
80372 ac_clean_files_save=$ac_clean_files
80373 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
80374 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
80375 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
80376 as_write_fail=0
80377 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
80378 #! $SHELL
80379 # Generated by $as_me.
80380 # Run this file to recreate the current configuration.
80381 # Compiler output produced by configure, useful for debugging
80382 # configure, is in config.log if it exists.
80383
80384 debug=false
80385 ac_cs_recheck=false
80386 ac_cs_silent=false
80387
80388 SHELL=\${CONFIG_SHELL-$SHELL}
80389 export SHELL
80390 _ASEOF
80391 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
80392 ## -------------------- ##
80393 ## M4sh Initialization. ##
80394 ## -------------------- ##
80395
80396 # Be more Bourne compatible
80397 DUALCASE=1; export DUALCASE # for MKS sh
80398 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
80399 emulate sh
80400 NULLCMD=:
80401 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
80402 # is contrary to our usage. Disable this feature.
80403 alias -g '${1+"$@"}'='"$@"'
80404 setopt NO_GLOB_SUBST
80405 else
80406 case `(set -o) 2>/dev/null` in #(
80407 *posix*) :
80408 set -o posix ;; #(
80409 *) :
80410 ;;
80411 esac
80412 fi
80413
80414
80415 as_nl='
80416 '
80417 export as_nl
80418 # Printing a long string crashes Solaris 7 /usr/bin/printf.
80419 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
80420 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
80421 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
80422 # Prefer a ksh shell builtin over an external printf program on Solaris,
80423 # but without wasting forks for bash or zsh.
80424 if test -z "$BASH_VERSION$ZSH_VERSION" \
80425 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
80426 as_echo='print -r --'
80427 as_echo_n='print -rn --'
80428 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
80429 as_echo='printf %s\n'
80430 as_echo_n='printf %s'
80431 else
80432 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
80433 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
80434 as_echo_n='/usr/ucb/echo -n'
80435 else
80436 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
80437 as_echo_n_body='eval
80438 arg=$1;
80439 case $arg in #(
80440 *"$as_nl"*)
80441 expr "X$arg" : "X\\(.*\\)$as_nl";
80442 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80443 esac;
80444 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
80445 '
80446 export as_echo_n_body
80447 as_echo_n='sh -c $as_echo_n_body as_echo'
80448 fi
80449 export as_echo_body
80450 as_echo='sh -c $as_echo_body as_echo'
80451 fi
80452
80453 # The user is always right.
80454 if test "${PATH_SEPARATOR+set}" != set; then
80455 PATH_SEPARATOR=:
80456 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80457 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80458 PATH_SEPARATOR=';'
80459 }
80460 fi
80461
80462
80463 # IFS
80464 # We need space, tab and new line, in precisely that order. Quoting is
80465 # there to prevent editors from complaining about space-tab.
80466 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
80467 # splitting by setting IFS to empty value.)
80468 IFS=" "" $as_nl"
80469
80470 # Find who we are. Look in the path if we contain no directory separator.
80471 case $0 in #((
80472 *[\\/]* ) as_myself=$0 ;;
80473 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80474 for as_dir in $PATH
80475 do
80476 IFS=$as_save_IFS
80477 test -z "$as_dir" && as_dir=.
80478 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80479 done
80480 IFS=$as_save_IFS
80481
80482 ;;
80483 esac
80484 # We did not find ourselves, most probably we were run as `sh COMMAND'
80485 # in which case we are not to be found in the path.
80486 if test "x$as_myself" = x; then
80487 as_myself=$0
80488 fi
80489 if test ! -f "$as_myself"; then
80490 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
80491 exit 1
80492 fi
80493
80494 # Unset variables that we do not need and which cause bugs (e.g. in
80495 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
80496 # suppresses any "Segmentation fault" message there. '((' could
80497 # trigger a bug in pdksh 5.2.14.
80498 for as_var in BASH_ENV ENV MAIL MAILPATH
80499 do eval test x\${$as_var+set} = xset \
80500 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80501 done
80502 PS1='$ '
80503 PS2='> '
80504 PS4='+ '
80505
80506 # NLS nuisances.
80507 LC_ALL=C
80508 export LC_ALL
80509 LANGUAGE=C
80510 export LANGUAGE
80511
80512 # CDPATH.
80513 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80514
80515
80516 # as_fn_error ERROR [LINENO LOG_FD]
80517 # ---------------------------------
80518 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80519 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80520 # script with status $?, using 1 if that was 0.
80521 as_fn_error ()
80522 {
80523 as_status=$?; test $as_status -eq 0 && as_status=1
80524 if test "$3"; then
80525 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80526 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80527 fi
80528 $as_echo "$as_me: error: $1" >&2
80529 as_fn_exit $as_status
80530 } # as_fn_error
80531
80532
80533 # as_fn_set_status STATUS
80534 # -----------------------
80535 # Set $? to STATUS, without forking.
80536 as_fn_set_status ()
80537 {
80538 return $1
80539 } # as_fn_set_status
80540
80541 # as_fn_exit STATUS
80542 # -----------------
80543 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80544 as_fn_exit ()
80545 {
80546 set +e
80547 as_fn_set_status $1
80548 exit $1
80549 } # as_fn_exit
80550
80551 # as_fn_unset VAR
80552 # ---------------
80553 # Portably unset VAR.
80554 as_fn_unset ()
80555 {
80556 { eval $1=; unset $1;}
80557 }
80558 as_unset=as_fn_unset
80559 # as_fn_append VAR VALUE
80560 # ----------------------
80561 # Append the text in VALUE to the end of the definition contained in VAR. Take
80562 # advantage of any shell optimizations that allow amortized linear growth over
80563 # repeated appends, instead of the typical quadratic growth present in naive
80564 # implementations.
80565 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80566 eval 'as_fn_append ()
80567 {
80568 eval $1+=\$2
80569 }'
80570 else
80571 as_fn_append ()
80572 {
80573 eval $1=\$$1\$2
80574 }
80575 fi # as_fn_append
80576
80577 # as_fn_arith ARG...
80578 # ------------------
80579 # Perform arithmetic evaluation on the ARGs, and store the result in the
80580 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80581 # must be portable across $(()) and expr.
80582 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80583 eval 'as_fn_arith ()
80584 {
80585 as_val=$(( $* ))
80586 }'
80587 else
80588 as_fn_arith ()
80589 {
80590 as_val=`expr "$@" || test $? -eq 1`
80591 }
80592 fi # as_fn_arith
80593
80594
80595 if expr a : '\(a\)' >/dev/null 2>&1 &&
80596 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80597 as_expr=expr
80598 else
80599 as_expr=false
80600 fi
80601
80602 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80603 as_basename=basename
80604 else
80605 as_basename=false
80606 fi
80607
80608 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80609 as_dirname=dirname
80610 else
80611 as_dirname=false
80612 fi
80613
80614 as_me=`$as_basename -- "$0" ||
80615 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80616 X"$0" : 'X\(//\)$' \| \
80617 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80618 $as_echo X/"$0" |
80619 sed '/^.*\/\([^/][^/]*\)\/*$/{
80620 s//\1/
80621 q
80622 }
80623 /^X\/\(\/\/\)$/{
80624 s//\1/
80625 q
80626 }
80627 /^X\/\(\/\).*/{
80628 s//\1/
80629 q
80630 }
80631 s/.*/./; q'`
80632
80633 # Avoid depending upon Character Ranges.
80634 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80635 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80636 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80637 as_cr_digits='0123456789'
80638 as_cr_alnum=$as_cr_Letters$as_cr_digits
80639
80640 ECHO_C= ECHO_N= ECHO_T=
80641 case `echo -n x` in #(((((
80642 -n*)
80643 case `echo 'xy\c'` in
80644 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80645 xy) ECHO_C='\c';;
80646 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80647 ECHO_T=' ';;
80648 esac;;
80649 *)
80650 ECHO_N='-n';;
80651 esac
80652
80653 rm -f conf$$ conf$$.exe conf$$.file
80654 if test -d conf$$.dir; then
80655 rm -f conf$$.dir/conf$$.file
80656 else
80657 rm -f conf$$.dir
80658 mkdir conf$$.dir 2>/dev/null
80659 fi
80660 if (echo >conf$$.file) 2>/dev/null; then
80661 if ln -s conf$$.file conf$$ 2>/dev/null; then
80662 as_ln_s='ln -s'
80663 # ... but there are two gotchas:
80664 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80665 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80666 # In both cases, we have to default to `cp -p'.
80667 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80668 as_ln_s='cp -p'
80669 elif ln conf$$.file conf$$ 2>/dev/null; then
80670 as_ln_s=ln
80671 else
80672 as_ln_s='cp -p'
80673 fi
80674 else
80675 as_ln_s='cp -p'
80676 fi
80677 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80678 rmdir conf$$.dir 2>/dev/null
80679
80680
80681 # as_fn_mkdir_p
80682 # -------------
80683 # Create "$as_dir" as a directory, including parents if necessary.
80684 as_fn_mkdir_p ()
80685 {
80686
80687 case $as_dir in #(
80688 -*) as_dir=./$as_dir;;
80689 esac
80690 test -d "$as_dir" || eval $as_mkdir_p || {
80691 as_dirs=
80692 while :; do
80693 case $as_dir in #(
80694 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80695 *) as_qdir=$as_dir;;
80696 esac
80697 as_dirs="'$as_qdir' $as_dirs"
80698 as_dir=`$as_dirname -- "$as_dir" ||
80699 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80700 X"$as_dir" : 'X\(//\)[^/]' \| \
80701 X"$as_dir" : 'X\(//\)$' \| \
80702 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80703 $as_echo X"$as_dir" |
80704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80705 s//\1/
80706 q
80707 }
80708 /^X\(\/\/\)[^/].*/{
80709 s//\1/
80710 q
80711 }
80712 /^X\(\/\/\)$/{
80713 s//\1/
80714 q
80715 }
80716 /^X\(\/\).*/{
80717 s//\1/
80718 q
80719 }
80720 s/.*/./; q'`
80721 test -d "$as_dir" && break
80722 done
80723 test -z "$as_dirs" || eval "mkdir $as_dirs"
80724 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80725
80726
80727 } # as_fn_mkdir_p
80728 if mkdir -p . 2>/dev/null; then
80729 as_mkdir_p='mkdir -p "$as_dir"'
80730 else
80731 test -d ./-p && rmdir ./-p
80732 as_mkdir_p=false
80733 fi
80734
80735 if test -x / >/dev/null 2>&1; then
80736 as_test_x='test -x'
80737 else
80738 if ls -dL / >/dev/null 2>&1; then
80739 as_ls_L_option=L
80740 else
80741 as_ls_L_option=
80742 fi
80743 as_test_x='
80744 eval sh -c '\''
80745 if test -d "$1"; then
80746 test -d "$1/.";
80747 else
80748 case $1 in #(
80749 -*)set "./$1";;
80750 esac;
80751 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80752 ???[sx]*):;;*)false;;esac;fi
80753 '\'' sh
80754 '
80755 fi
80756 as_executable_p=$as_test_x
80757
80758 # Sed expression to map a string onto a valid CPP name.
80759 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80760
80761 # Sed expression to map a string onto a valid variable name.
80762 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80763
80764
80765 exec 6>&1
80766 ## ----------------------------------- ##
80767 ## Main body of $CONFIG_STATUS script. ##
80768 ## ----------------------------------- ##
80769 _ASEOF
80770 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80771
80772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80773 # Save the log message, to keep $0 and so on meaningful, and to
80774 # report actual input values of CONFIG_FILES etc. instead of their
80775 # values after options handling.
80776 ac_log="
80777 This file was extended by package-unused $as_me version-unused, which was
80778 generated by GNU Autoconf 2.64. Invocation command line was
80779
80780 CONFIG_FILES = $CONFIG_FILES
80781 CONFIG_HEADERS = $CONFIG_HEADERS
80782 CONFIG_LINKS = $CONFIG_LINKS
80783 CONFIG_COMMANDS = $CONFIG_COMMANDS
80784 $ $0 $@
80785
80786 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80787 "
80788
80789 _ACEOF
80790
80791 case $ac_config_files in *"
80792 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80793 esac
80794
80795 case $ac_config_headers in *"
80796 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80797 esac
80798
80799
80800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80801 # Files that config.status was made for.
80802 config_files="$ac_config_files"
80803 config_headers="$ac_config_headers"
80804 config_commands="$ac_config_commands"
80805
80806 _ACEOF
80807
80808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80809 ac_cs_usage="\
80810 \`$as_me' instantiates files and other configuration actions
80811 from templates according to the current configuration. Unless the files
80812 and actions are specified as TAGs, all are instantiated by default.
80813
80814 Usage: $0 [OPTION]... [TAG]...
80815
80816 -h, --help print this help, then exit
80817 -V, --version print version number and configuration settings, then exit
80818 -q, --quiet, --silent
80819 do not print progress messages
80820 -d, --debug don't remove temporary files
80821 --recheck update $as_me by reconfiguring in the same conditions
80822 --file=FILE[:TEMPLATE]
80823 instantiate the configuration file FILE
80824 --header=FILE[:TEMPLATE]
80825 instantiate the configuration header FILE
80826
80827 Configuration files:
80828 $config_files
80829
80830 Configuration headers:
80831 $config_headers
80832
80833 Configuration commands:
80834 $config_commands
80835
80836 Report bugs to the package provider."
80837
80838 _ACEOF
80839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80840 ac_cs_version="\\
80841 package-unused config.status version-unused
80842 configured by $0, generated by GNU Autoconf 2.64,
80843 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80844
80845 Copyright (C) 2009 Free Software Foundation, Inc.
80846 This config.status script is free software; the Free Software Foundation
80847 gives unlimited permission to copy, distribute and modify it."
80848
80849 ac_pwd='$ac_pwd'
80850 srcdir='$srcdir'
80851 INSTALL='$INSTALL'
80852 MKDIR_P='$MKDIR_P'
80853 AWK='$AWK'
80854 test -n "\$AWK" || AWK=awk
80855 _ACEOF
80856
80857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80858 # The default lists apply if the user does not specify any file.
80859 ac_need_defaults=:
80860 while test $# != 0
80861 do
80862 case $1 in
80863 --*=*)
80864 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80865 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80866 ac_shift=:
80867 ;;
80868 *)
80869 ac_option=$1
80870 ac_optarg=$2
80871 ac_shift=shift
80872 ;;
80873 esac
80874
80875 case $ac_option in
80876 # Handling of the options.
80877 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80878 ac_cs_recheck=: ;;
80879 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80880 $as_echo "$ac_cs_version"; exit ;;
80881 --debug | --debu | --deb | --de | --d | -d )
80882 debug=: ;;
80883 --file | --fil | --fi | --f )
80884 $ac_shift
80885 case $ac_optarg in
80886 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80887 esac
80888 as_fn_append CONFIG_FILES " '$ac_optarg'"
80889 ac_need_defaults=false;;
80890 --header | --heade | --head | --hea )
80891 $ac_shift
80892 case $ac_optarg in
80893 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80894 esac
80895 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80896 ac_need_defaults=false;;
80897 --he | --h)
80898 # Conflict between --help and --header
80899 as_fn_error "ambiguous option: \`$1'
80900 Try \`$0 --help' for more information.";;
80901 --help | --hel | -h )
80902 $as_echo "$ac_cs_usage"; exit ;;
80903 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80904 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80905 ac_cs_silent=: ;;
80906
80907 # This is an error.
80908 -*) as_fn_error "unrecognized option: \`$1'
80909 Try \`$0 --help' for more information." ;;
80910
80911 *) as_fn_append ac_config_targets " $1"
80912 ac_need_defaults=false ;;
80913
80914 esac
80915 shift
80916 done
80917
80918 ac_configure_extra_args=
80919
80920 if $ac_cs_silent; then
80921 exec 6>/dev/null
80922 ac_configure_extra_args="$ac_configure_extra_args --silent"
80923 fi
80924
80925 _ACEOF
80926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80927 if \$ac_cs_recheck; then
80928 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80929 shift
80930 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80931 CONFIG_SHELL='$SHELL'
80932 export CONFIG_SHELL
80933 exec "\$@"
80934 fi
80935
80936 _ACEOF
80937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80938 exec 5>>config.log
80939 {
80940 echo
80941 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80942 ## Running $as_me. ##
80943 _ASBOX
80944 $as_echo "$ac_log"
80945 } >&5
80946
80947 _ACEOF
80948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80949 #
80950 # INIT-COMMANDS
80951 #
80952
80953 srcdir="$srcdir"
80954 host="$host"
80955 target="$target"
80956 with_multisubdir="$with_multisubdir"
80957 with_multisrctop="$with_multisrctop"
80958 with_target_subdir="$with_target_subdir"
80959 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80960 multi_basedir="$multi_basedir"
80961 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80962 CC="$CC"
80963 CXX="$CXX"
80964 GFORTRAN="$GFORTRAN"
80965 GCJ="$GCJ"
80966
80967
80968 # The HP-UX ksh and POSIX shell print the target directory to stdout
80969 # if CDPATH is set.
80970 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80971
80972 sed_quote_subst='$sed_quote_subst'
80973 double_quote_subst='$double_quote_subst'
80974 delay_variable_subst='$delay_variable_subst'
80975 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80976 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80977 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80978 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80979 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80980 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80981 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80982 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80983 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80984 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80985 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80986 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80987 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80988 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80989 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80990 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80991 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80992 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80993 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80994 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80995 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80996 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80997 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80998 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80999 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
81000 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
81001 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
81002 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
81003 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
81004 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
81005 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
81006 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
81007 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
81008 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
81009 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
81010 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
81011 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
81012 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81013 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81014 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
81015 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
81016 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
81017 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
81018 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
81019 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
81020 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
81021 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
81022 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
81023 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"`'
81024 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
81025 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
81026 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
81027 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
81028 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
81029 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
81030 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
81031 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
81032 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
81033 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
81034 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
81035 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
81036 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
81037 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
81038 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
81039 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81040 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
81041 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
81042 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
81043 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
81044 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
81045 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
81046 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81047 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
81048 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81049 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
81050 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81051 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
81052 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
81053 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
81054 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
81055 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
81056 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
81057 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
81058 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
81059 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
81060 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
81061 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
81062 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
81063 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
81064 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
81065 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
81066 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
81067 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
81068 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
81069 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
81070 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
81071 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
81072 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
81073 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
81074 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
81075 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
81076 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
81077 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
81078 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
81079 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
81080 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
81081 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
81082 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81083 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81084 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
81085 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
81086 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
81087 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
81088 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
81089 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
81090 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
81091 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
81092 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
81093 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
81094 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
81095 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
81096 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
81097 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
81098 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
81099 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
81100 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
81101 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
81102 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
81103 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81104 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81105 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
81106 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
81107 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
81108 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
81109 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
81110 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
81111 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
81112 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
81113 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
81114 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81115 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81116 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
81117 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81118 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81119 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81120 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81121 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81122 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81123 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
81124 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81125 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81126 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81127 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
81128 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
81129 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
81130 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
81131 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
81132 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
81133 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
81134 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
81135 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
81136 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
81137 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
81138 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81139 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81140 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81141 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81142 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
81143 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
81144 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
81145 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81146 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81147 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
81148 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
81149 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
81150
81151 LTCC='$LTCC'
81152 LTCFLAGS='$LTCFLAGS'
81153 compiler='$compiler_DEFAULT'
81154
81155 # A function that is used when there is no print builtin or printf.
81156 func_fallback_echo ()
81157 {
81158 eval 'cat <<_LTECHO_EOF
81159 \$1
81160 _LTECHO_EOF'
81161 }
81162
81163 # Quote evaled strings.
81164 for var in SHELL \
81165 ECHO \
81166 SED \
81167 GREP \
81168 EGREP \
81169 FGREP \
81170 LD \
81171 NM \
81172 LN_S \
81173 lt_SP2NL \
81174 lt_NL2SP \
81175 reload_flag \
81176 OBJDUMP \
81177 deplibs_check_method \
81178 file_magic_cmd \
81179 AR \
81180 AR_FLAGS \
81181 STRIP \
81182 RANLIB \
81183 CC \
81184 CFLAGS \
81185 compiler \
81186 lt_cv_sys_global_symbol_pipe \
81187 lt_cv_sys_global_symbol_to_cdecl \
81188 lt_cv_sys_global_symbol_to_c_name_address \
81189 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
81190 lt_prog_compiler_no_builtin_flag \
81191 lt_prog_compiler_wl \
81192 lt_prog_compiler_pic \
81193 lt_prog_compiler_static \
81194 lt_cv_prog_compiler_c_o \
81195 need_locks \
81196 DSYMUTIL \
81197 NMEDIT \
81198 LIPO \
81199 OTOOL \
81200 OTOOL64 \
81201 shrext_cmds \
81202 export_dynamic_flag_spec \
81203 whole_archive_flag_spec \
81204 compiler_needs_object \
81205 with_gnu_ld \
81206 allow_undefined_flag \
81207 no_undefined_flag \
81208 hardcode_libdir_flag_spec \
81209 hardcode_libdir_flag_spec_ld \
81210 hardcode_libdir_separator \
81211 fix_srcfile_path \
81212 exclude_expsyms \
81213 include_expsyms \
81214 file_list_spec \
81215 variables_saved_for_relink \
81216 libname_spec \
81217 library_names_spec \
81218 soname_spec \
81219 install_override_mode \
81220 finish_eval \
81221 old_striplib \
81222 striplib \
81223 compiler_lib_search_dirs \
81224 predep_objects \
81225 postdep_objects \
81226 predeps \
81227 postdeps \
81228 compiler_lib_search_path \
81229 LD_CXX \
81230 reload_flag_CXX \
81231 compiler_CXX \
81232 lt_prog_compiler_no_builtin_flag_CXX \
81233 lt_prog_compiler_wl_CXX \
81234 lt_prog_compiler_pic_CXX \
81235 lt_prog_compiler_static_CXX \
81236 lt_cv_prog_compiler_c_o_CXX \
81237 export_dynamic_flag_spec_CXX \
81238 whole_archive_flag_spec_CXX \
81239 compiler_needs_object_CXX \
81240 with_gnu_ld_CXX \
81241 allow_undefined_flag_CXX \
81242 no_undefined_flag_CXX \
81243 hardcode_libdir_flag_spec_CXX \
81244 hardcode_libdir_flag_spec_ld_CXX \
81245 hardcode_libdir_separator_CXX \
81246 fix_srcfile_path_CXX \
81247 exclude_expsyms_CXX \
81248 include_expsyms_CXX \
81249 file_list_spec_CXX \
81250 compiler_lib_search_dirs_CXX \
81251 predep_objects_CXX \
81252 postdep_objects_CXX \
81253 predeps_CXX \
81254 postdeps_CXX \
81255 compiler_lib_search_path_CXX; do
81256 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81257 *[\\\\\\\`\\"\\\$]*)
81258 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
81259 ;;
81260 *)
81261 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81262 ;;
81263 esac
81264 done
81265
81266 # Double-quote double-evaled strings.
81267 for var in reload_cmds \
81268 old_postinstall_cmds \
81269 old_postuninstall_cmds \
81270 old_archive_cmds \
81271 extract_expsyms_cmds \
81272 old_archive_from_new_cmds \
81273 old_archive_from_expsyms_cmds \
81274 archive_cmds \
81275 archive_expsym_cmds \
81276 module_cmds \
81277 module_expsym_cmds \
81278 export_symbols_cmds \
81279 prelink_cmds \
81280 postinstall_cmds \
81281 postuninstall_cmds \
81282 finish_cmds \
81283 sys_lib_search_path_spec \
81284 sys_lib_dlsearch_path_spec \
81285 reload_cmds_CXX \
81286 old_archive_cmds_CXX \
81287 old_archive_from_new_cmds_CXX \
81288 old_archive_from_expsyms_cmds_CXX \
81289 archive_cmds_CXX \
81290 archive_expsym_cmds_CXX \
81291 module_cmds_CXX \
81292 module_expsym_cmds_CXX \
81293 export_symbols_cmds_CXX \
81294 prelink_cmds_CXX; do
81295 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81296 *[\\\\\\\`\\"\\\$]*)
81297 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
81298 ;;
81299 *)
81300 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81301 ;;
81302 esac
81303 done
81304
81305 ac_aux_dir='$ac_aux_dir'
81306 xsi_shell='$xsi_shell'
81307 lt_shell_append='$lt_shell_append'
81308
81309 # See if we are running on zsh, and set the options which allow our
81310 # commands through without removal of \ escapes INIT.
81311 if test -n "\${ZSH_VERSION+set}" ; then
81312 setopt NO_GLOB_SUBST
81313 fi
81314
81315
81316 PACKAGE='$PACKAGE'
81317 VERSION='$VERSION'
81318 TIMESTAMP='$TIMESTAMP'
81319 RM='$RM'
81320 ofile='$ofile'
81321
81322
81323
81324
81325
81326
81327 GCC="$GCC"
81328 CC="$CC"
81329 acx_cv_header_stdint="$acx_cv_header_stdint"
81330 acx_cv_type_int8_t="$acx_cv_type_int8_t"
81331 acx_cv_type_int16_t="$acx_cv_type_int16_t"
81332 acx_cv_type_int32_t="$acx_cv_type_int32_t"
81333 acx_cv_type_int64_t="$acx_cv_type_int64_t"
81334 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
81335 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
81336 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
81337 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
81338 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
81339 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
81340 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
81341 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
81342 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
81343
81344
81345 _ACEOF
81346
81347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81348
81349 # Handling of arguments.
81350 for ac_config_target in $ac_config_targets
81351 do
81352 case $ac_config_target in
81353 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
81354 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
81355 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
81356 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
81357 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
81358 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
81359 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
81360 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
81361 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
81362 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
81363 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
81364 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
81365 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
81366 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
81367 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
81368 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
81369 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
81370 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
81371 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
81372
81373 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
81374 esac
81375 done
81376
81377
81378 # If the user did not use the arguments to specify the items to instantiate,
81379 # then the envvar interface is used. Set only those that are not.
81380 # We use the long form for the default assignment because of an extremely
81381 # bizarre bug on SunOS 4.1.3.
81382 if $ac_need_defaults; then
81383 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
81384 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
81385 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
81386 fi
81387
81388 # Have a temporary directory for convenience. Make it in the build tree
81389 # simply because there is no reason against having it here, and in addition,
81390 # creating and moving files from /tmp can sometimes cause problems.
81391 # Hook for its removal unless debugging.
81392 # Note that there is a small window in which the directory will not be cleaned:
81393 # after its creation but before its name has been assigned to `$tmp'.
81394 $debug ||
81395 {
81396 tmp=
81397 trap 'exit_status=$?
81398 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
81399 ' 0
81400 trap 'as_fn_exit 1' 1 2 13 15
81401 }
81402 # Create a (secure) tmp directory for tmp files.
81403
81404 {
81405 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
81406 test -n "$tmp" && test -d "$tmp"
81407 } ||
81408 {
81409 tmp=./conf$$-$RANDOM
81410 (umask 077 && mkdir "$tmp")
81411 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
81412
81413 # Set up the scripts for CONFIG_FILES section.
81414 # No need to generate them if there are no CONFIG_FILES.
81415 # This happens for instance with `./config.status config.h'.
81416 if test -n "$CONFIG_FILES"; then
81417
81418
81419 ac_cr=`echo X | tr X '\015'`
81420 # On cygwin, bash can eat \r inside `` if the user requested igncr.
81421 # But we know of no other shell where ac_cr would be empty at this
81422 # point, so we can use a bashism as a fallback.
81423 if test "x$ac_cr" = x; then
81424 eval ac_cr=\$\'\\r\'
81425 fi
81426 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
81427 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
81428 ac_cs_awk_cr='\r'
81429 else
81430 ac_cs_awk_cr=$ac_cr
81431 fi
81432
81433 echo 'BEGIN {' >"$tmp/subs1.awk" &&
81434 _ACEOF
81435
81436
81437 {
81438 echo "cat >conf$$subs.awk <<_ACEOF" &&
81439 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
81440 echo "_ACEOF"
81441 } >conf$$subs.sh ||
81442 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81443 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
81444 ac_delim='%!_!# '
81445 for ac_last_try in false false false false false :; do
81446 . ./conf$$subs.sh ||
81447 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81448
81449 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
81450 if test $ac_delim_n = $ac_delim_num; then
81451 break
81452 elif $ac_last_try; then
81453 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81454 else
81455 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81456 fi
81457 done
81458 rm -f conf$$subs.sh
81459
81460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81461 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
81462 _ACEOF
81463 sed -n '
81464 h
81465 s/^/S["/; s/!.*/"]=/
81466 p
81467 g
81468 s/^[^!]*!//
81469 :repl
81470 t repl
81471 s/'"$ac_delim"'$//
81472 t delim
81473 :nl
81474 h
81475 s/\(.\{148\}\).*/\1/
81476 t more1
81477 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
81478 p
81479 n
81480 b repl
81481 :more1
81482 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81483 p
81484 g
81485 s/.\{148\}//
81486 t nl
81487 :delim
81488 h
81489 s/\(.\{148\}\).*/\1/
81490 t more2
81491 s/["\\]/\\&/g; s/^/"/; s/$/"/
81492 p
81493 b
81494 :more2
81495 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81496 p
81497 g
81498 s/.\{148\}//
81499 t delim
81500 ' <conf$$subs.awk | sed '
81501 /^[^""]/{
81502 N
81503 s/\n//
81504 }
81505 ' >>$CONFIG_STATUS || ac_write_fail=1
81506 rm -f conf$$subs.awk
81507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81508 _ACAWK
81509 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81510 for (key in S) S_is_set[key] = 1
81511 FS = "\a"
81512
81513 }
81514 {
81515 line = $ 0
81516 nfields = split(line, field, "@")
81517 substed = 0
81518 len = length(field[1])
81519 for (i = 2; i < nfields; i++) {
81520 key = field[i]
81521 keylen = length(key)
81522 if (S_is_set[key]) {
81523 value = S[key]
81524 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81525 len += length(value) + length(field[++i])
81526 substed = 1
81527 } else
81528 len += 1 + keylen
81529 }
81530
81531 print line
81532 }
81533
81534 _ACAWK
81535 _ACEOF
81536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81537 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81538 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81539 else
81540 cat
81541 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81542 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81543 _ACEOF
81544
81545 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81546 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81547 # trailing colons and then remove the whole line if VPATH becomes empty
81548 # (actually we leave an empty line to preserve line numbers).
81549 if test "x$srcdir" = x.; then
81550 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81551 s/:*\$(srcdir):*/:/
81552 s/:*\${srcdir}:*/:/
81553 s/:*@srcdir@:*/:/
81554 s/^\([^=]*=[ ]*\):*/\1/
81555 s/:*$//
81556 s/^[^=]*=[ ]*$//
81557 }'
81558 fi
81559
81560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81561 fi # test -n "$CONFIG_FILES"
81562
81563 # Set up the scripts for CONFIG_HEADERS section.
81564 # No need to generate them if there are no CONFIG_HEADERS.
81565 # This happens for instance with `./config.status Makefile'.
81566 if test -n "$CONFIG_HEADERS"; then
81567 cat >"$tmp/defines.awk" <<\_ACAWK ||
81568 BEGIN {
81569 _ACEOF
81570
81571 # Transform confdefs.h into an awk script `defines.awk', embedded as
81572 # here-document in config.status, that substitutes the proper values into
81573 # config.h.in to produce config.h.
81574
81575 # Create a delimiter string that does not exist in confdefs.h, to ease
81576 # handling of long lines.
81577 ac_delim='%!_!# '
81578 for ac_last_try in false false :; do
81579 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81580 if test -z "$ac_t"; then
81581 break
81582 elif $ac_last_try; then
81583 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81584 else
81585 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81586 fi
81587 done
81588
81589 # For the awk script, D is an array of macro values keyed by name,
81590 # likewise P contains macro parameters if any. Preserve backslash
81591 # newline sequences.
81592
81593 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81594 sed -n '
81595 s/.\{148\}/&'"$ac_delim"'/g
81596 t rset
81597 :rset
81598 s/^[ ]*#[ ]*define[ ][ ]*/ /
81599 t def
81600 d
81601 :def
81602 s/\\$//
81603 t bsnl
81604 s/["\\]/\\&/g
81605 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81606 D["\1"]=" \3"/p
81607 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81608 d
81609 :bsnl
81610 s/["\\]/\\&/g
81611 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81612 D["\1"]=" \3\\\\\\n"\\/p
81613 t cont
81614 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81615 t cont
81616 d
81617 :cont
81618 n
81619 s/.\{148\}/&'"$ac_delim"'/g
81620 t clear
81621 :clear
81622 s/\\$//
81623 t bsnlc
81624 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81625 d
81626 :bsnlc
81627 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81628 b cont
81629 ' <confdefs.h | sed '
81630 s/'"$ac_delim"'/"\\\
81631 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81632
81633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81634 for (key in D) D_is_set[key] = 1
81635 FS = "\a"
81636 }
81637 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81638 line = \$ 0
81639 split(line, arg, " ")
81640 if (arg[1] == "#") {
81641 defundef = arg[2]
81642 mac1 = arg[3]
81643 } else {
81644 defundef = substr(arg[1], 2)
81645 mac1 = arg[2]
81646 }
81647 split(mac1, mac2, "(") #)
81648 macro = mac2[1]
81649 prefix = substr(line, 1, index(line, defundef) - 1)
81650 if (D_is_set[macro]) {
81651 # Preserve the white space surrounding the "#".
81652 print prefix "define", macro P[macro] D[macro]
81653 next
81654 } else {
81655 # Replace #undef with comments. This is necessary, for example,
81656 # in the case of _POSIX_SOURCE, which is predefined and required
81657 # on some systems where configure will not decide to define it.
81658 if (defundef == "undef") {
81659 print "/*", prefix defundef, macro, "*/"
81660 next
81661 }
81662 }
81663 }
81664 { print }
81665 _ACAWK
81666 _ACEOF
81667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81668 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81669 fi # test -n "$CONFIG_HEADERS"
81670
81671
81672 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81673 shift
81674 for ac_tag
81675 do
81676 case $ac_tag in
81677 :[FHLC]) ac_mode=$ac_tag; continue;;
81678 esac
81679 case $ac_mode$ac_tag in
81680 :[FHL]*:*);;
81681 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81682 :[FH]-) ac_tag=-:-;;
81683 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81684 esac
81685 ac_save_IFS=$IFS
81686 IFS=:
81687 set x $ac_tag
81688 IFS=$ac_save_IFS
81689 shift
81690 ac_file=$1
81691 shift
81692
81693 case $ac_mode in
81694 :L) ac_source=$1;;
81695 :[FH])
81696 ac_file_inputs=
81697 for ac_f
81698 do
81699 case $ac_f in
81700 -) ac_f="$tmp/stdin";;
81701 *) # Look for the file first in the build tree, then in the source tree
81702 # (if the path is not absolute). The absolute path cannot be DOS-style,
81703 # because $ac_f cannot contain `:'.
81704 test -f "$ac_f" ||
81705 case $ac_f in
81706 [\\/$]*) false;;
81707 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81708 esac ||
81709 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81710 esac
81711 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81712 as_fn_append ac_file_inputs " '$ac_f'"
81713 done
81714
81715 # Let's still pretend it is `configure' which instantiates (i.e., don't
81716 # use $as_me), people would be surprised to read:
81717 # /* config.h. Generated by config.status. */
81718 configure_input='Generated from '`
81719 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81720 `' by configure.'
81721 if test x"$ac_file" != x-; then
81722 configure_input="$ac_file. $configure_input"
81723 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81724 $as_echo "$as_me: creating $ac_file" >&6;}
81725 fi
81726 # Neutralize special characters interpreted by sed in replacement strings.
81727 case $configure_input in #(
81728 *\&* | *\|* | *\\* )
81729 ac_sed_conf_input=`$as_echo "$configure_input" |
81730 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81731 *) ac_sed_conf_input=$configure_input;;
81732 esac
81733
81734 case $ac_tag in
81735 *:-:* | *:-) cat >"$tmp/stdin" \
81736 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81737 esac
81738 ;;
81739 esac
81740
81741 ac_dir=`$as_dirname -- "$ac_file" ||
81742 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81743 X"$ac_file" : 'X\(//\)[^/]' \| \
81744 X"$ac_file" : 'X\(//\)$' \| \
81745 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81746 $as_echo X"$ac_file" |
81747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81748 s//\1/
81749 q
81750 }
81751 /^X\(\/\/\)[^/].*/{
81752 s//\1/
81753 q
81754 }
81755 /^X\(\/\/\)$/{
81756 s//\1/
81757 q
81758 }
81759 /^X\(\/\).*/{
81760 s//\1/
81761 q
81762 }
81763 s/.*/./; q'`
81764 as_dir="$ac_dir"; as_fn_mkdir_p
81765 ac_builddir=.
81766
81767 case "$ac_dir" in
81768 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81769 *)
81770 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81771 # A ".." for each directory in $ac_dir_suffix.
81772 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81773 case $ac_top_builddir_sub in
81774 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81775 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81776 esac ;;
81777 esac
81778 ac_abs_top_builddir=$ac_pwd
81779 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81780 # for backward compatibility:
81781 ac_top_builddir=$ac_top_build_prefix
81782
81783 case $srcdir in
81784 .) # We are building in place.
81785 ac_srcdir=.
81786 ac_top_srcdir=$ac_top_builddir_sub
81787 ac_abs_top_srcdir=$ac_pwd ;;
81788 [\\/]* | ?:[\\/]* ) # Absolute name.
81789 ac_srcdir=$srcdir$ac_dir_suffix;
81790 ac_top_srcdir=$srcdir
81791 ac_abs_top_srcdir=$srcdir ;;
81792 *) # Relative name.
81793 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81794 ac_top_srcdir=$ac_top_build_prefix$srcdir
81795 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81796 esac
81797 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81798
81799
81800 case $ac_mode in
81801 :F)
81802 #
81803 # CONFIG_FILE
81804 #
81805
81806 case $INSTALL in
81807 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81808 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81809 esac
81810 ac_MKDIR_P=$MKDIR_P
81811 case $MKDIR_P in
81812 [\\/$]* | ?:[\\/]* ) ;;
81813 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81814 esac
81815 _ACEOF
81816
81817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81818 # If the template does not know about datarootdir, expand it.
81819 # FIXME: This hack should be removed a few years after 2.60.
81820 ac_datarootdir_hack=; ac_datarootdir_seen=
81821 ac_sed_dataroot='
81822 /datarootdir/ {
81823 p
81824 q
81825 }
81826 /@datadir@/p
81827 /@docdir@/p
81828 /@infodir@/p
81829 /@localedir@/p
81830 /@mandir@/p'
81831 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81832 *datarootdir*) ac_datarootdir_seen=yes;;
81833 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81835 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81836 _ACEOF
81837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81838 ac_datarootdir_hack='
81839 s&@datadir@&$datadir&g
81840 s&@docdir@&$docdir&g
81841 s&@infodir@&$infodir&g
81842 s&@localedir@&$localedir&g
81843 s&@mandir@&$mandir&g
81844 s&\\\${datarootdir}&$datarootdir&g' ;;
81845 esac
81846 _ACEOF
81847
81848 # Neutralize VPATH when `$srcdir' = `.'.
81849 # Shell code in configure.ac might set extrasub.
81850 # FIXME: do we really want to maintain this feature?
81851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81852 ac_sed_extra="$ac_vpsub
81853 $extrasub
81854 _ACEOF
81855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81856 :t
81857 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81858 s|@configure_input@|$ac_sed_conf_input|;t t
81859 s&@top_builddir@&$ac_top_builddir_sub&;t t
81860 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81861 s&@srcdir@&$ac_srcdir&;t t
81862 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81863 s&@top_srcdir@&$ac_top_srcdir&;t t
81864 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81865 s&@builddir@&$ac_builddir&;t t
81866 s&@abs_builddir@&$ac_abs_builddir&;t t
81867 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81868 s&@INSTALL@&$ac_INSTALL&;t t
81869 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81870 $ac_datarootdir_hack
81871 "
81872 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81873 || as_fn_error "could not create $ac_file" "$LINENO" 5
81874
81875 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81876 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81877 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81879 which seems to be undefined. Please make sure it is defined." >&5
81880 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81881 which seems to be undefined. Please make sure it is defined." >&2;}
81882
81883 rm -f "$tmp/stdin"
81884 case $ac_file in
81885 -) cat "$tmp/out" && rm -f "$tmp/out";;
81886 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81887 esac \
81888 || as_fn_error "could not create $ac_file" "$LINENO" 5
81889 ;;
81890 :H)
81891 #
81892 # CONFIG_HEADER
81893 #
81894 if test x"$ac_file" != x-; then
81895 {
81896 $as_echo "/* $configure_input */" \
81897 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81898 } >"$tmp/config.h" \
81899 || as_fn_error "could not create $ac_file" "$LINENO" 5
81900 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81901 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81902 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81903 else
81904 rm -f "$ac_file"
81905 mv "$tmp/config.h" "$ac_file" \
81906 || as_fn_error "could not create $ac_file" "$LINENO" 5
81907 fi
81908 else
81909 $as_echo "/* $configure_input */" \
81910 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81911 || as_fn_error "could not create -" "$LINENO" 5
81912 fi
81913 # Compute "$ac_file"'s index in $config_headers.
81914 _am_arg="$ac_file"
81915 _am_stamp_count=1
81916 for _am_header in $config_headers :; do
81917 case $_am_header in
81918 $_am_arg | $_am_arg:* )
81919 break ;;
81920 * )
81921 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81922 esac
81923 done
81924 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81925 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81926 X"$_am_arg" : 'X\(//\)[^/]' \| \
81927 X"$_am_arg" : 'X\(//\)$' \| \
81928 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81929 $as_echo X"$_am_arg" |
81930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81931 s//\1/
81932 q
81933 }
81934 /^X\(\/\/\)[^/].*/{
81935 s//\1/
81936 q
81937 }
81938 /^X\(\/\/\)$/{
81939 s//\1/
81940 q
81941 }
81942 /^X\(\/\).*/{
81943 s//\1/
81944 q
81945 }
81946 s/.*/./; q'`/stamp-h$_am_stamp_count
81947 ;;
81948
81949 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81950 $as_echo "$as_me: executing $ac_file commands" >&6;}
81951 ;;
81952 esac
81953
81954
81955 case $ac_file$ac_mode in
81956 "default-1":C)
81957 # Only add multilib support code if we just rebuilt the top-level
81958 # Makefile.
81959 case " $CONFIG_FILES " in
81960 *" Makefile "*)
81961 ac_file=Makefile . ${multi_basedir}/config-ml.in
81962 ;;
81963 esac ;;
81964 "libtool":C)
81965
81966 # See if we are running on zsh, and set the options which allow our
81967 # commands through without removal of \ escapes.
81968 if test -n "${ZSH_VERSION+set}" ; then
81969 setopt NO_GLOB_SUBST
81970 fi
81971
81972 cfgfile="${ofile}T"
81973 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81974 $RM "$cfgfile"
81975
81976 cat <<_LT_EOF >> "$cfgfile"
81977 #! $SHELL
81978
81979 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81980 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81981 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81982 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81983 #
81984 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81985 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81986 # Written by Gordon Matzigkeit, 1996
81987 #
81988 # This file is part of GNU Libtool.
81989 #
81990 # GNU Libtool is free software; you can redistribute it and/or
81991 # modify it under the terms of the GNU General Public License as
81992 # published by the Free Software Foundation; either version 2 of
81993 # the License, or (at your option) any later version.
81994 #
81995 # As a special exception to the GNU General Public License,
81996 # if you distribute this file as part of a program or library that
81997 # is built using GNU Libtool, you may include this file under the
81998 # same distribution terms that you use for the rest of that program.
81999 #
82000 # GNU Libtool is distributed in the hope that it will be useful,
82001 # but WITHOUT ANY WARRANTY; without even the implied warranty of
82002 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82003 # GNU General Public License for more details.
82004 #
82005 # You should have received a copy of the GNU General Public License
82006 # along with GNU Libtool; see the file COPYING. If not, a copy
82007 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
82008 # obtained by writing to the Free Software Foundation, Inc.,
82009 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
82010
82011
82012 # The names of the tagged configurations supported by this script.
82013 available_tags="CXX "
82014
82015 # ### BEGIN LIBTOOL CONFIG
82016
82017 # Which release of libtool.m4 was used?
82018 macro_version=$macro_version
82019 macro_revision=$macro_revision
82020
82021 # Whether or not to build shared libraries.
82022 build_libtool_libs=$enable_shared
82023
82024 # Whether or not to build static libraries.
82025 build_old_libs=$enable_static
82026
82027 # What type of objects to build.
82028 pic_mode=$pic_mode
82029
82030 # Whether or not to optimize for fast installation.
82031 fast_install=$enable_fast_install
82032
82033 # Shell to use when invoking shell scripts.
82034 SHELL=$lt_SHELL
82035
82036 # An echo program that protects backslashes.
82037 ECHO=$lt_ECHO
82038
82039 # The host system.
82040 host_alias=$host_alias
82041 host=$host
82042 host_os=$host_os
82043
82044 # The build system.
82045 build_alias=$build_alias
82046 build=$build
82047 build_os=$build_os
82048
82049 # A sed program that does not truncate output.
82050 SED=$lt_SED
82051
82052 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
82053 Xsed="\$SED -e 1s/^X//"
82054
82055 # A grep program that handles long lines.
82056 GREP=$lt_GREP
82057
82058 # An ERE matcher.
82059 EGREP=$lt_EGREP
82060
82061 # A literal string matcher.
82062 FGREP=$lt_FGREP
82063
82064 # A BSD- or MS-compatible name lister.
82065 NM=$lt_NM
82066
82067 # Whether we need soft or hard links.
82068 LN_S=$lt_LN_S
82069
82070 # What is the maximum length of a command?
82071 max_cmd_len=$max_cmd_len
82072
82073 # Object file suffix (normally "o").
82074 objext=$ac_objext
82075
82076 # Executable file suffix (normally "").
82077 exeext=$exeext
82078
82079 # whether the shell understands "unset".
82080 lt_unset=$lt_unset
82081
82082 # turn spaces into newlines.
82083 SP2NL=$lt_lt_SP2NL
82084
82085 # turn newlines into spaces.
82086 NL2SP=$lt_lt_NL2SP
82087
82088 # An object symbol dumper.
82089 OBJDUMP=$lt_OBJDUMP
82090
82091 # Method to check whether dependent libraries are shared objects.
82092 deplibs_check_method=$lt_deplibs_check_method
82093
82094 # Command to use when deplibs_check_method == "file_magic".
82095 file_magic_cmd=$lt_file_magic_cmd
82096
82097 # The archiver.
82098 AR=$lt_AR
82099 AR_FLAGS=$lt_AR_FLAGS
82100
82101 # A symbol stripping program.
82102 STRIP=$lt_STRIP
82103
82104 # Commands used to install an old-style archive.
82105 RANLIB=$lt_RANLIB
82106 old_postinstall_cmds=$lt_old_postinstall_cmds
82107 old_postuninstall_cmds=$lt_old_postuninstall_cmds
82108
82109 # Whether to use a lock for old archive extraction.
82110 lock_old_archive_extraction=$lock_old_archive_extraction
82111
82112 # A C compiler.
82113 LTCC=$lt_CC
82114
82115 # LTCC compiler flags.
82116 LTCFLAGS=$lt_CFLAGS
82117
82118 # Take the output of nm and produce a listing of raw symbols and C names.
82119 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
82120
82121 # Transform the output of nm in a proper C declaration.
82122 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
82123
82124 # Transform the output of nm in a C name address pair.
82125 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
82126
82127 # Transform the output of nm in a C name address pair when lib prefix is needed.
82128 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
82129
82130 # The name of the directory that contains temporary libtool files.
82131 objdir=$objdir
82132
82133 # Used to examine libraries when file_magic_cmd begins with "file".
82134 MAGIC_CMD=$MAGIC_CMD
82135
82136 # Must we lock files when doing compilation?
82137 need_locks=$lt_need_locks
82138
82139 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
82140 DSYMUTIL=$lt_DSYMUTIL
82141
82142 # Tool to change global to local symbols on Mac OS X.
82143 NMEDIT=$lt_NMEDIT
82144
82145 # Tool to manipulate fat objects and archives on Mac OS X.
82146 LIPO=$lt_LIPO
82147
82148 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
82149 OTOOL=$lt_OTOOL
82150
82151 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
82152 OTOOL64=$lt_OTOOL64
82153
82154 # Old archive suffix (normally "a").
82155 libext=$libext
82156
82157 # Shared library suffix (normally ".so").
82158 shrext_cmds=$lt_shrext_cmds
82159
82160 # The commands to extract the exported symbol list from a shared archive.
82161 extract_expsyms_cmds=$lt_extract_expsyms_cmds
82162
82163 # Variables whose values should be saved in libtool wrapper scripts and
82164 # restored at link time.
82165 variables_saved_for_relink=$lt_variables_saved_for_relink
82166
82167 # Do we need the "lib" prefix for modules?
82168 need_lib_prefix=$need_lib_prefix
82169
82170 # Do we need a version for libraries?
82171 need_version=$need_version
82172
82173 # Library versioning type.
82174 version_type=$version_type
82175
82176 # Shared library runtime path variable.
82177 runpath_var=$runpath_var
82178
82179 # Shared library path variable.
82180 shlibpath_var=$shlibpath_var
82181
82182 # Is shlibpath searched before the hard-coded library search path?
82183 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
82184
82185 # Format of library name prefix.
82186 libname_spec=$lt_libname_spec
82187
82188 # List of archive names. First name is the real one, the rest are links.
82189 # The last name is the one that the linker finds with -lNAME
82190 library_names_spec=$lt_library_names_spec
82191
82192 # The coded name of the library, if different from the real name.
82193 soname_spec=$lt_soname_spec
82194
82195 # Permission mode override for installation of shared libraries.
82196 install_override_mode=$lt_install_override_mode
82197
82198 # Command to use after installation of a shared archive.
82199 postinstall_cmds=$lt_postinstall_cmds
82200
82201 # Command to use after uninstallation of a shared archive.
82202 postuninstall_cmds=$lt_postuninstall_cmds
82203
82204 # Commands used to finish a libtool library installation in a directory.
82205 finish_cmds=$lt_finish_cmds
82206
82207 # As "finish_cmds", except a single script fragment to be evaled but
82208 # not shown.
82209 finish_eval=$lt_finish_eval
82210
82211 # Whether we should hardcode library paths into libraries.
82212 hardcode_into_libs=$hardcode_into_libs
82213
82214 # Compile-time system search path for libraries.
82215 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
82216
82217 # Run-time system search path for libraries.
82218 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
82219
82220 # Whether dlopen is supported.
82221 dlopen_support=$enable_dlopen
82222
82223 # Whether dlopen of programs is supported.
82224 dlopen_self=$enable_dlopen_self
82225
82226 # Whether dlopen of statically linked programs is supported.
82227 dlopen_self_static=$enable_dlopen_self_static
82228
82229 # Commands to strip libraries.
82230 old_striplib=$lt_old_striplib
82231 striplib=$lt_striplib
82232
82233
82234 # The linker used to build libraries.
82235 LD=$lt_LD
82236
82237 # How to create reloadable object files.
82238 reload_flag=$lt_reload_flag
82239 reload_cmds=$lt_reload_cmds
82240
82241 # Commands used to build an old-style archive.
82242 old_archive_cmds=$lt_old_archive_cmds
82243
82244 # A language specific compiler.
82245 CC=$lt_compiler
82246
82247 # Is the compiler the GNU compiler?
82248 with_gcc=$GCC
82249
82250 # Compiler flag to turn off builtin functions.
82251 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
82252
82253 # How to pass a linker flag through the compiler.
82254 wl=$lt_lt_prog_compiler_wl
82255
82256 # Additional compiler flags for building library objects.
82257 pic_flag=$lt_lt_prog_compiler_pic
82258
82259 # Compiler flag to prevent dynamic linking.
82260 link_static_flag=$lt_lt_prog_compiler_static
82261
82262 # Does compiler simultaneously support -c and -o options?
82263 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
82264
82265 # Whether or not to add -lc for building shared libraries.
82266 build_libtool_need_lc=$archive_cmds_need_lc
82267
82268 # Whether or not to disallow shared libs when runtime libs are static.
82269 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
82270
82271 # Compiler flag to allow reflexive dlopens.
82272 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
82273
82274 # Compiler flag to generate shared objects directly from archives.
82275 whole_archive_flag_spec=$lt_whole_archive_flag_spec
82276
82277 # Whether the compiler copes with passing no objects directly.
82278 compiler_needs_object=$lt_compiler_needs_object
82279
82280 # Create an old-style archive from a shared archive.
82281 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
82282
82283 # Create a temporary old-style archive to link instead of a shared archive.
82284 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
82285
82286 # Commands used to build a shared archive.
82287 archive_cmds=$lt_archive_cmds
82288 archive_expsym_cmds=$lt_archive_expsym_cmds
82289
82290 # Commands used to build a loadable module if different from building
82291 # a shared archive.
82292 module_cmds=$lt_module_cmds
82293 module_expsym_cmds=$lt_module_expsym_cmds
82294
82295 # Whether we are building with GNU ld or not.
82296 with_gnu_ld=$lt_with_gnu_ld
82297
82298 # Flag that allows shared libraries with undefined symbols to be built.
82299 allow_undefined_flag=$lt_allow_undefined_flag
82300
82301 # Flag that enforces no undefined symbols.
82302 no_undefined_flag=$lt_no_undefined_flag
82303
82304 # Flag to hardcode \$libdir into a binary during linking.
82305 # This must work even if \$libdir does not exist
82306 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
82307
82308 # If ld is used when linking, flag to hardcode \$libdir into a binary
82309 # during linking. This must work even if \$libdir does not exist.
82310 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
82311
82312 # Whether we need a single "-rpath" flag with a separated argument.
82313 hardcode_libdir_separator=$lt_hardcode_libdir_separator
82314
82315 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82316 # DIR into the resulting binary.
82317 hardcode_direct=$hardcode_direct
82318
82319 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82320 # DIR into the resulting binary and the resulting library dependency is
82321 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82322 # library is relocated.
82323 hardcode_direct_absolute=$hardcode_direct_absolute
82324
82325 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82326 # into the resulting binary.
82327 hardcode_minus_L=$hardcode_minus_L
82328
82329 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82330 # into the resulting binary.
82331 hardcode_shlibpath_var=$hardcode_shlibpath_var
82332
82333 # Set to "yes" if building a shared library automatically hardcodes DIR
82334 # into the library and all subsequent libraries and executables linked
82335 # against it.
82336 hardcode_automatic=$hardcode_automatic
82337
82338 # Set to yes if linker adds runtime paths of dependent libraries
82339 # to runtime path list.
82340 inherit_rpath=$inherit_rpath
82341
82342 # Whether libtool must link a program against all its dependency libraries.
82343 link_all_deplibs=$link_all_deplibs
82344
82345 # Fix the shell variable \$srcfile for the compiler.
82346 fix_srcfile_path=$lt_fix_srcfile_path
82347
82348 # Set to "yes" if exported symbols are required.
82349 always_export_symbols=$always_export_symbols
82350
82351 # The commands to list exported symbols.
82352 export_symbols_cmds=$lt_export_symbols_cmds
82353
82354 # Symbols that should not be listed in the preloaded symbols.
82355 exclude_expsyms=$lt_exclude_expsyms
82356
82357 # Symbols that must always be exported.
82358 include_expsyms=$lt_include_expsyms
82359
82360 # Commands necessary for linking programs (against libraries) with templates.
82361 prelink_cmds=$lt_prelink_cmds
82362
82363 # Specify filename containing input files.
82364 file_list_spec=$lt_file_list_spec
82365
82366 # How to hardcode a shared library path into an executable.
82367 hardcode_action=$hardcode_action
82368
82369 # The directories searched by this compiler when creating a shared library.
82370 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
82371
82372 # Dependencies to place before and after the objects being linked to
82373 # create a shared library.
82374 predep_objects=$lt_predep_objects
82375 postdep_objects=$lt_postdep_objects
82376 predeps=$lt_predeps
82377 postdeps=$lt_postdeps
82378
82379 # The library search path used internally by the compiler when linking
82380 # a shared library.
82381 compiler_lib_search_path=$lt_compiler_lib_search_path
82382
82383 # ### END LIBTOOL CONFIG
82384
82385 _LT_EOF
82386
82387 case $host_os in
82388 aix3*)
82389 cat <<\_LT_EOF >> "$cfgfile"
82390 # AIX sometimes has problems with the GCC collect2 program. For some
82391 # reason, if we set the COLLECT_NAMES environment variable, the problems
82392 # vanish in a puff of smoke.
82393 if test "X${COLLECT_NAMES+set}" != Xset; then
82394 COLLECT_NAMES=
82395 export COLLECT_NAMES
82396 fi
82397 _LT_EOF
82398 ;;
82399 esac
82400
82401
82402 ltmain="$ac_aux_dir/ltmain.sh"
82403
82404
82405 # We use sed instead of cat because bash on DJGPP gets confused if
82406 # if finds mixed CR/LF and LF-only lines. Since sed operates in
82407 # text mode, it properly converts lines to CR/LF. This bash problem
82408 # is reportedly fixed, but why not run on old versions too?
82409 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
82410 || (rm -f "$cfgfile"; exit 1)
82411
82412 case $xsi_shell in
82413 yes)
82414 cat << \_LT_EOF >> "$cfgfile"
82415
82416 # func_dirname file append nondir_replacement
82417 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82418 # otherwise set result to NONDIR_REPLACEMENT.
82419 func_dirname ()
82420 {
82421 case ${1} in
82422 */*) func_dirname_result="${1%/*}${2}" ;;
82423 * ) func_dirname_result="${3}" ;;
82424 esac
82425 }
82426
82427 # func_basename file
82428 func_basename ()
82429 {
82430 func_basename_result="${1##*/}"
82431 }
82432
82433 # func_dirname_and_basename file append nondir_replacement
82434 # perform func_basename and func_dirname in a single function
82435 # call:
82436 # dirname: Compute the dirname of FILE. If nonempty,
82437 # add APPEND to the result, otherwise set result
82438 # to NONDIR_REPLACEMENT.
82439 # value returned in "$func_dirname_result"
82440 # basename: Compute filename of FILE.
82441 # value retuned in "$func_basename_result"
82442 # Implementation must be kept synchronized with func_dirname
82443 # and func_basename. For efficiency, we do not delegate to
82444 # those functions but instead duplicate the functionality here.
82445 func_dirname_and_basename ()
82446 {
82447 case ${1} in
82448 */*) func_dirname_result="${1%/*}${2}" ;;
82449 * ) func_dirname_result="${3}" ;;
82450 esac
82451 func_basename_result="${1##*/}"
82452 }
82453
82454 # func_stripname prefix suffix name
82455 # strip PREFIX and SUFFIX off of NAME.
82456 # PREFIX and SUFFIX must not contain globbing or regex special
82457 # characters, hashes, percent signs, but SUFFIX may contain a leading
82458 # dot (in which case that matches only a dot).
82459 func_stripname ()
82460 {
82461 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
82462 # positional parameters, so assign one to ordinary parameter first.
82463 func_stripname_result=${3}
82464 func_stripname_result=${func_stripname_result#"${1}"}
82465 func_stripname_result=${func_stripname_result%"${2}"}
82466 }
82467
82468 # func_opt_split
82469 func_opt_split ()
82470 {
82471 func_opt_split_opt=${1%%=*}
82472 func_opt_split_arg=${1#*=}
82473 }
82474
82475 # func_lo2o object
82476 func_lo2o ()
82477 {
82478 case ${1} in
82479 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
82480 *) func_lo2o_result=${1} ;;
82481 esac
82482 }
82483
82484 # func_xform libobj-or-source
82485 func_xform ()
82486 {
82487 func_xform_result=${1%.*}.lo
82488 }
82489
82490 # func_arith arithmetic-term...
82491 func_arith ()
82492 {
82493 func_arith_result=$(( $* ))
82494 }
82495
82496 # func_len string
82497 # STRING may not start with a hyphen.
82498 func_len ()
82499 {
82500 func_len_result=${#1}
82501 }
82502
82503 _LT_EOF
82504 ;;
82505 *) # Bourne compatible functions.
82506 cat << \_LT_EOF >> "$cfgfile"
82507
82508 # func_dirname file append nondir_replacement
82509 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82510 # otherwise set result to NONDIR_REPLACEMENT.
82511 func_dirname ()
82512 {
82513 # Extract subdirectory from the argument.
82514 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82515 if test "X$func_dirname_result" = "X${1}"; then
82516 func_dirname_result="${3}"
82517 else
82518 func_dirname_result="$func_dirname_result${2}"
82519 fi
82520 }
82521
82522 # func_basename file
82523 func_basename ()
82524 {
82525 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82526 }
82527
82528
82529 # func_stripname prefix suffix name
82530 # strip PREFIX and SUFFIX off of NAME.
82531 # PREFIX and SUFFIX must not contain globbing or regex special
82532 # characters, hashes, percent signs, but SUFFIX may contain a leading
82533 # dot (in which case that matches only a dot).
82534 # func_strip_suffix prefix name
82535 func_stripname ()
82536 {
82537 case ${2} in
82538 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82539 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82540 esac
82541 }
82542
82543 # sed scripts:
82544 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82545 my_sed_long_arg='1s/^-[^=]*=//'
82546
82547 # func_opt_split
82548 func_opt_split ()
82549 {
82550 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82551 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82552 }
82553
82554 # func_lo2o object
82555 func_lo2o ()
82556 {
82557 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82558 }
82559
82560 # func_xform libobj-or-source
82561 func_xform ()
82562 {
82563 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82564 }
82565
82566 # func_arith arithmetic-term...
82567 func_arith ()
82568 {
82569 func_arith_result=`expr "$@"`
82570 }
82571
82572 # func_len string
82573 # STRING may not start with a hyphen.
82574 func_len ()
82575 {
82576 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82577 }
82578
82579 _LT_EOF
82580 esac
82581
82582 case $lt_shell_append in
82583 yes)
82584 cat << \_LT_EOF >> "$cfgfile"
82585
82586 # func_append var value
82587 # Append VALUE to the end of shell variable VAR.
82588 func_append ()
82589 {
82590 eval "$1+=\$2"
82591 }
82592 _LT_EOF
82593 ;;
82594 *)
82595 cat << \_LT_EOF >> "$cfgfile"
82596
82597 # func_append var value
82598 # Append VALUE to the end of shell variable VAR.
82599 func_append ()
82600 {
82601 eval "$1=\$$1\$2"
82602 }
82603
82604 _LT_EOF
82605 ;;
82606 esac
82607
82608
82609 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82610 || (rm -f "$cfgfile"; exit 1)
82611
82612 mv -f "$cfgfile" "$ofile" ||
82613 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82614 chmod +x "$ofile"
82615
82616
82617 cat <<_LT_EOF >> "$ofile"
82618
82619 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82620
82621 # The linker used to build libraries.
82622 LD=$lt_LD_CXX
82623
82624 # How to create reloadable object files.
82625 reload_flag=$lt_reload_flag_CXX
82626 reload_cmds=$lt_reload_cmds_CXX
82627
82628 # Commands used to build an old-style archive.
82629 old_archive_cmds=$lt_old_archive_cmds_CXX
82630
82631 # A language specific compiler.
82632 CC=$lt_compiler_CXX
82633
82634 # Is the compiler the GNU compiler?
82635 with_gcc=$GCC_CXX
82636
82637 # Compiler flag to turn off builtin functions.
82638 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82639
82640 # How to pass a linker flag through the compiler.
82641 wl=$lt_lt_prog_compiler_wl_CXX
82642
82643 # Additional compiler flags for building library objects.
82644 pic_flag=$lt_lt_prog_compiler_pic_CXX
82645
82646 # Compiler flag to prevent dynamic linking.
82647 link_static_flag=$lt_lt_prog_compiler_static_CXX
82648
82649 # Does compiler simultaneously support -c and -o options?
82650 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82651
82652 # Whether or not to add -lc for building shared libraries.
82653 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82654
82655 # Whether or not to disallow shared libs when runtime libs are static.
82656 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82657
82658 # Compiler flag to allow reflexive dlopens.
82659 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82660
82661 # Compiler flag to generate shared objects directly from archives.
82662 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82663
82664 # Whether the compiler copes with passing no objects directly.
82665 compiler_needs_object=$lt_compiler_needs_object_CXX
82666
82667 # Create an old-style archive from a shared archive.
82668 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82669
82670 # Create a temporary old-style archive to link instead of a shared archive.
82671 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82672
82673 # Commands used to build a shared archive.
82674 archive_cmds=$lt_archive_cmds_CXX
82675 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82676
82677 # Commands used to build a loadable module if different from building
82678 # a shared archive.
82679 module_cmds=$lt_module_cmds_CXX
82680 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82681
82682 # Whether we are building with GNU ld or not.
82683 with_gnu_ld=$lt_with_gnu_ld_CXX
82684
82685 # Flag that allows shared libraries with undefined symbols to be built.
82686 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82687
82688 # Flag that enforces no undefined symbols.
82689 no_undefined_flag=$lt_no_undefined_flag_CXX
82690
82691 # Flag to hardcode \$libdir into a binary during linking.
82692 # This must work even if \$libdir does not exist
82693 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82694
82695 # If ld is used when linking, flag to hardcode \$libdir into a binary
82696 # during linking. This must work even if \$libdir does not exist.
82697 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82698
82699 # Whether we need a single "-rpath" flag with a separated argument.
82700 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82701
82702 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82703 # DIR into the resulting binary.
82704 hardcode_direct=$hardcode_direct_CXX
82705
82706 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82707 # DIR into the resulting binary and the resulting library dependency is
82708 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82709 # library is relocated.
82710 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82711
82712 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82713 # into the resulting binary.
82714 hardcode_minus_L=$hardcode_minus_L_CXX
82715
82716 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82717 # into the resulting binary.
82718 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82719
82720 # Set to "yes" if building a shared library automatically hardcodes DIR
82721 # into the library and all subsequent libraries and executables linked
82722 # against it.
82723 hardcode_automatic=$hardcode_automatic_CXX
82724
82725 # Set to yes if linker adds runtime paths of dependent libraries
82726 # to runtime path list.
82727 inherit_rpath=$inherit_rpath_CXX
82728
82729 # Whether libtool must link a program against all its dependency libraries.
82730 link_all_deplibs=$link_all_deplibs_CXX
82731
82732 # Fix the shell variable \$srcfile for the compiler.
82733 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82734
82735 # Set to "yes" if exported symbols are required.
82736 always_export_symbols=$always_export_symbols_CXX
82737
82738 # The commands to list exported symbols.
82739 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82740
82741 # Symbols that should not be listed in the preloaded symbols.
82742 exclude_expsyms=$lt_exclude_expsyms_CXX
82743
82744 # Symbols that must always be exported.
82745 include_expsyms=$lt_include_expsyms_CXX
82746
82747 # Commands necessary for linking programs (against libraries) with templates.
82748 prelink_cmds=$lt_prelink_cmds_CXX
82749
82750 # Specify filename containing input files.
82751 file_list_spec=$lt_file_list_spec_CXX
82752
82753 # How to hardcode a shared library path into an executable.
82754 hardcode_action=$hardcode_action_CXX
82755
82756 # The directories searched by this compiler when creating a shared library.
82757 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82758
82759 # Dependencies to place before and after the objects being linked to
82760 # create a shared library.
82761 predep_objects=$lt_predep_objects_CXX
82762 postdep_objects=$lt_postdep_objects_CXX
82763 predeps=$lt_predeps_CXX
82764 postdeps=$lt_postdeps_CXX
82765
82766 # The library search path used internally by the compiler when linking
82767 # a shared library.
82768 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82769
82770 # ### END LIBTOOL TAG CONFIG: CXX
82771 _LT_EOF
82772
82773 ;;
82774 "include/gstdint.h":C)
82775 if test "$GCC" = yes; then
82776 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82777 else
82778 echo "/* generated for $CC */" > tmp-stdint.h
82779 fi
82780
82781 sed 's/^ *//' >> tmp-stdint.h <<EOF
82782
82783 #ifndef GCC_GENERATED_STDINT_H
82784 #define GCC_GENERATED_STDINT_H 1
82785
82786 #include <sys/types.h>
82787 EOF
82788
82789 if test "$acx_cv_header_stdint" != stdint.h; then
82790 echo "#include <stddef.h>" >> tmp-stdint.h
82791 fi
82792 if test "$acx_cv_header_stdint" != stddef.h; then
82793 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82794 fi
82795
82796 sed 's/^ *//' >> tmp-stdint.h <<EOF
82797 /* glibc uses these symbols as guards to prevent redefinitions. */
82798 #ifdef __int8_t_defined
82799 #define _INT8_T
82800 #define _INT16_T
82801 #define _INT32_T
82802 #endif
82803 #ifdef __uint32_t_defined
82804 #define _UINT32_T
82805 #endif
82806
82807 EOF
82808
82809 # ----------------- done header, emit basic int types -------------
82810 if test "$acx_cv_header_stdint" = stddef.h; then
82811 sed 's/^ *//' >> tmp-stdint.h <<EOF
82812
82813 #ifndef _UINT8_T
82814 #define _UINT8_T
82815 #ifndef __uint8_t_defined
82816 #define __uint8_t_defined
82817 #ifndef uint8_t
82818 typedef unsigned $acx_cv_type_int8_t uint8_t;
82819 #endif
82820 #endif
82821 #endif
82822
82823 #ifndef _UINT16_T
82824 #define _UINT16_T
82825 #ifndef __uint16_t_defined
82826 #define __uint16_t_defined
82827 #ifndef uint16_t
82828 typedef unsigned $acx_cv_type_int16_t uint16_t;
82829 #endif
82830 #endif
82831 #endif
82832
82833 #ifndef _UINT32_T
82834 #define _UINT32_T
82835 #ifndef __uint32_t_defined
82836 #define __uint32_t_defined
82837 #ifndef uint32_t
82838 typedef unsigned $acx_cv_type_int32_t uint32_t;
82839 #endif
82840 #endif
82841 #endif
82842
82843 #ifndef _INT8_T
82844 #define _INT8_T
82845 #ifndef __int8_t_defined
82846 #define __int8_t_defined
82847 #ifndef int8_t
82848 typedef $acx_cv_type_int8_t int8_t;
82849 #endif
82850 #endif
82851 #endif
82852
82853 #ifndef _INT16_T
82854 #define _INT16_T
82855 #ifndef __int16_t_defined
82856 #define __int16_t_defined
82857 #ifndef int16_t
82858 typedef $acx_cv_type_int16_t int16_t;
82859 #endif
82860 #endif
82861 #endif
82862
82863 #ifndef _INT32_T
82864 #define _INT32_T
82865 #ifndef __int32_t_defined
82866 #define __int32_t_defined
82867 #ifndef int32_t
82868 typedef $acx_cv_type_int32_t int32_t;
82869 #endif
82870 #endif
82871 #endif
82872 EOF
82873 elif test "$ac_cv_type_u_int32_t" = yes; then
82874 sed 's/^ *//' >> tmp-stdint.h <<EOF
82875
82876 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82877 #ifndef _INT8_T
82878 #define _INT8_T
82879 #endif
82880 #ifndef _INT16_T
82881 #define _INT16_T
82882 #endif
82883 #ifndef _INT32_T
82884 #define _INT32_T
82885 #endif
82886
82887 #ifndef _UINT8_T
82888 #define _UINT8_T
82889 #ifndef __uint8_t_defined
82890 #define __uint8_t_defined
82891 #ifndef uint8_t
82892 typedef u_int8_t uint8_t;
82893 #endif
82894 #endif
82895 #endif
82896
82897 #ifndef _UINT16_T
82898 #define _UINT16_T
82899 #ifndef __uint16_t_defined
82900 #define __uint16_t_defined
82901 #ifndef uint16_t
82902 typedef u_int16_t uint16_t;
82903 #endif
82904 #endif
82905 #endif
82906
82907 #ifndef _UINT32_T
82908 #define _UINT32_T
82909 #ifndef __uint32_t_defined
82910 #define __uint32_t_defined
82911 #ifndef uint32_t
82912 typedef u_int32_t uint32_t;
82913 #endif
82914 #endif
82915 #endif
82916 EOF
82917 else
82918 sed 's/^ *//' >> tmp-stdint.h <<EOF
82919
82920 /* Some systems have guard macros to prevent redefinitions, define them. */
82921 #ifndef _INT8_T
82922 #define _INT8_T
82923 #endif
82924 #ifndef _INT16_T
82925 #define _INT16_T
82926 #endif
82927 #ifndef _INT32_T
82928 #define _INT32_T
82929 #endif
82930 #ifndef _UINT8_T
82931 #define _UINT8_T
82932 #endif
82933 #ifndef _UINT16_T
82934 #define _UINT16_T
82935 #endif
82936 #ifndef _UINT32_T
82937 #define _UINT32_T
82938 #endif
82939 EOF
82940 fi
82941
82942 # ------------- done basic int types, emit int64_t types ------------
82943 if test "$ac_cv_type_uint64_t" = yes; then
82944 sed 's/^ *//' >> tmp-stdint.h <<EOF
82945
82946 /* system headers have good uint64_t and int64_t */
82947 #ifndef _INT64_T
82948 #define _INT64_T
82949 #endif
82950 #ifndef _UINT64_T
82951 #define _UINT64_T
82952 #endif
82953 EOF
82954 elif test "$ac_cv_type_u_int64_t" = yes; then
82955 sed 's/^ *//' >> tmp-stdint.h <<EOF
82956
82957 /* system headers have an u_int64_t (and int64_t) */
82958 #ifndef _INT64_T
82959 #define _INT64_T
82960 #endif
82961 #ifndef _UINT64_T
82962 #define _UINT64_T
82963 #ifndef __uint64_t_defined
82964 #define __uint64_t_defined
82965 #ifndef uint64_t
82966 typedef u_int64_t uint64_t;
82967 #endif
82968 #endif
82969 #endif
82970 EOF
82971 elif test -n "$acx_cv_type_int64_t"; then
82972 sed 's/^ *//' >> tmp-stdint.h <<EOF
82973
82974 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82975 #ifndef _INT64_T
82976 #define _INT64_T
82977 #ifndef int64_t
82978 typedef $acx_cv_type_int64_t int64_t;
82979 #endif
82980 #endif
82981 #ifndef _UINT64_T
82982 #define _UINT64_T
82983 #ifndef __uint64_t_defined
82984 #define __uint64_t_defined
82985 #ifndef uint64_t
82986 typedef unsigned $acx_cv_type_int64_t uint64_t;
82987 #endif
82988 #endif
82989 #endif
82990 EOF
82991 else
82992 sed 's/^ *//' >> tmp-stdint.h <<EOF
82993
82994 /* some common heuristics for int64_t, using compiler-specific tests */
82995 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82996 #ifndef _INT64_T
82997 #define _INT64_T
82998 #ifndef __int64_t_defined
82999 #ifndef int64_t
83000 typedef long long int64_t;
83001 #endif
83002 #endif
83003 #endif
83004 #ifndef _UINT64_T
83005 #define _UINT64_T
83006 #ifndef uint64_t
83007 typedef unsigned long long uint64_t;
83008 #endif
83009 #endif
83010
83011 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
83012 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
83013 does not implement __extension__. But that compiler doesn't define
83014 __GNUC_MINOR__. */
83015 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
83016 # define __extension__
83017 # endif
83018
83019 # ifndef _INT64_T
83020 # define _INT64_T
83021 # ifndef int64_t
83022 __extension__ typedef long long int64_t;
83023 # endif
83024 # endif
83025 # ifndef _UINT64_T
83026 # define _UINT64_T
83027 # ifndef uint64_t
83028 __extension__ typedef unsigned long long uint64_t;
83029 # endif
83030 # endif
83031
83032 #elif !defined __STRICT_ANSI__
83033 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
83034
83035 # ifndef _INT64_T
83036 # define _INT64_T
83037 # ifndef int64_t
83038 typedef __int64 int64_t;
83039 # endif
83040 # endif
83041 # ifndef _UINT64_T
83042 # define _UINT64_T
83043 # ifndef uint64_t
83044 typedef unsigned __int64 uint64_t;
83045 # endif
83046 # endif
83047 # endif /* compiler */
83048
83049 #endif /* ANSI version */
83050 EOF
83051 fi
83052
83053 # ------------- done int64_t types, emit intptr types ------------
83054 if test "$ac_cv_type_uintptr_t" != yes; then
83055 sed 's/^ *//' >> tmp-stdint.h <<EOF
83056
83057 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
83058 #ifndef __uintptr_t_defined
83059 #ifndef uintptr_t
83060 typedef u$acx_cv_type_intptr_t uintptr_t;
83061 #endif
83062 #endif
83063 #ifndef __intptr_t_defined
83064 #ifndef intptr_t
83065 typedef $acx_cv_type_intptr_t intptr_t;
83066 #endif
83067 #endif
83068 EOF
83069 fi
83070
83071 # ------------- done intptr types, emit int_least types ------------
83072 if test "$ac_cv_type_int_least32_t" != yes; then
83073 sed 's/^ *//' >> tmp-stdint.h <<EOF
83074
83075 /* Define int_least types */
83076 typedef int8_t int_least8_t;
83077 typedef int16_t int_least16_t;
83078 typedef int32_t int_least32_t;
83079 #ifdef _INT64_T
83080 typedef int64_t int_least64_t;
83081 #endif
83082
83083 typedef uint8_t uint_least8_t;
83084 typedef uint16_t uint_least16_t;
83085 typedef uint32_t uint_least32_t;
83086 #ifdef _UINT64_T
83087 typedef uint64_t uint_least64_t;
83088 #endif
83089 EOF
83090 fi
83091
83092 # ------------- done intptr types, emit int_fast types ------------
83093 if test "$ac_cv_type_int_fast32_t" != yes; then
83094 sed 's/^ *//' >> tmp-stdint.h <<EOF
83095
83096 /* Define int_fast types. short is often slow */
83097 typedef int8_t int_fast8_t;
83098 typedef int int_fast16_t;
83099 typedef int32_t int_fast32_t;
83100 #ifdef _INT64_T
83101 typedef int64_t int_fast64_t;
83102 #endif
83103
83104 typedef uint8_t uint_fast8_t;
83105 typedef unsigned int uint_fast16_t;
83106 typedef uint32_t uint_fast32_t;
83107 #ifdef _UINT64_T
83108 typedef uint64_t uint_fast64_t;
83109 #endif
83110 EOF
83111 fi
83112
83113 if test "$ac_cv_type_uintmax_t" != yes; then
83114 sed 's/^ *//' >> tmp-stdint.h <<EOF
83115
83116 /* Define intmax based on what we found */
83117 #ifndef intmax_t
83118 #ifdef _INT64_T
83119 typedef int64_t intmax_t;
83120 #else
83121 typedef long intmax_t;
83122 #endif
83123 #endif
83124 #ifndef uintmax_t
83125 #ifdef _UINT64_T
83126 typedef uint64_t uintmax_t;
83127 #else
83128 typedef unsigned long uintmax_t;
83129 #endif
83130 #endif
83131 EOF
83132 fi
83133
83134 sed 's/^ *//' >> tmp-stdint.h <<EOF
83135
83136 #endif /* GCC_GENERATED_STDINT_H */
83137 EOF
83138
83139 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
83140 rm -f tmp-stdint.h
83141 else
83142 mv -f tmp-stdint.h include/gstdint.h
83143 fi
83144
83145 ;;
83146 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
83147 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
83148 "include/Makefile":F) cat > vpsed$$ << \_EOF
83149 s!`test -f '$<' || echo '$(srcdir)/'`!!
83150 _EOF
83151 sed -f vpsed$$ $ac_file > tmp$$
83152 mv tmp$$ $ac_file
83153 rm vpsed$$
83154 echo 'MULTISUBDIR =' >> $ac_file
83155 ml_norecursion=yes
83156 . ${multi_basedir}/config-ml.in
83157 { ml_norecursion=; unset ml_norecursion;}
83158 ;;
83159 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
83160 s!`test -f '$<' || echo '$(srcdir)/'`!!
83161 _EOF
83162 sed -f vpsed$$ $ac_file > tmp$$
83163 mv tmp$$ $ac_file
83164 rm vpsed$$
83165 echo 'MULTISUBDIR =' >> $ac_file
83166 ml_norecursion=yes
83167 . ${multi_basedir}/config-ml.in
83168 { ml_norecursion=; unset ml_norecursion;}
83169 ;;
83170 "src/Makefile":F) cat > vpsed$$ << \_EOF
83171 s!`test -f '$<' || echo '$(srcdir)/'`!!
83172 _EOF
83173 sed -f vpsed$$ $ac_file > tmp$$
83174 mv tmp$$ $ac_file
83175 rm vpsed$$
83176 echo 'MULTISUBDIR =' >> $ac_file
83177 ml_norecursion=yes
83178 . ${multi_basedir}/config-ml.in
83179 { ml_norecursion=; unset ml_norecursion;}
83180 ;;
83181 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
83182 s!`test -f '$<' || echo '$(srcdir)/'`!!
83183 _EOF
83184 sed -f vpsed$$ $ac_file > tmp$$
83185 mv tmp$$ $ac_file
83186 rm vpsed$$
83187 echo 'MULTISUBDIR =' >> $ac_file
83188 ml_norecursion=yes
83189 . ${multi_basedir}/config-ml.in
83190 { ml_norecursion=; unset ml_norecursion;}
83191 ;;
83192 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
83193 s!`test -f '$<' || echo '$(srcdir)/'`!!
83194 _EOF
83195 sed -f vpsed$$ $ac_file > tmp$$
83196 mv tmp$$ $ac_file
83197 rm vpsed$$
83198 echo 'MULTISUBDIR =' >> $ac_file
83199 ml_norecursion=yes
83200 . ${multi_basedir}/config-ml.in
83201 { ml_norecursion=; unset ml_norecursion;}
83202 ;;
83203 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
83204 s!`test -f '$<' || echo '$(srcdir)/'`!!
83205 _EOF
83206 sed -f vpsed$$ $ac_file > tmp$$
83207 mv tmp$$ $ac_file
83208 rm vpsed$$
83209 echo 'MULTISUBDIR =' >> $ac_file
83210 ml_norecursion=yes
83211 . ${multi_basedir}/config-ml.in
83212 { ml_norecursion=; unset ml_norecursion;}
83213 ;;
83214 "doc/Makefile":F) cat > vpsed$$ << \_EOF
83215 s!`test -f '$<' || echo '$(srcdir)/'`!!
83216 _EOF
83217 sed -f vpsed$$ $ac_file > tmp$$
83218 mv tmp$$ $ac_file
83219 rm vpsed$$
83220 echo 'MULTISUBDIR =' >> $ac_file
83221 ml_norecursion=yes
83222 . ${multi_basedir}/config-ml.in
83223 { ml_norecursion=; unset ml_norecursion;}
83224 ;;
83225 "po/Makefile":F) cat > vpsed$$ << \_EOF
83226 s!`test -f '$<' || echo '$(srcdir)/'`!!
83227 _EOF
83228 sed -f vpsed$$ $ac_file > tmp$$
83229 mv tmp$$ $ac_file
83230 rm vpsed$$
83231 echo 'MULTISUBDIR =' >> $ac_file
83232 ml_norecursion=yes
83233 . ${multi_basedir}/config-ml.in
83234 { ml_norecursion=; unset ml_norecursion;}
83235 ;;
83236 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
83237 s!`test -f '$<' || echo '$(srcdir)/'`!!
83238 _EOF
83239 sed -f vpsed$$ $ac_file > tmp$$
83240 mv tmp$$ $ac_file
83241 rm vpsed$$
83242 echo 'MULTISUBDIR =' >> $ac_file
83243 ml_norecursion=yes
83244 . ${multi_basedir}/config-ml.in
83245 { ml_norecursion=; unset ml_norecursion;}
83246 ;;
83247 "python/Makefile":F) cat > vpsed$$ << \_EOF
83248 s!`test -f '$<' || echo '$(srcdir)/'`!!
83249 _EOF
83250 sed -f vpsed$$ $ac_file > tmp$$
83251 mv tmp$$ $ac_file
83252 rm vpsed$$
83253 echo 'MULTISUBDIR =' >> $ac_file
83254 ml_norecursion=yes
83255 . ${multi_basedir}/config-ml.in
83256 { ml_norecursion=; unset ml_norecursion;}
83257 ;;
83258 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
83259
83260 esac
83261 done # for ac_tag
83262
83263
83264 as_fn_exit 0
83265 _ACEOF
83266 ac_clean_files=$ac_clean_files_save
83267
83268 test $ac_write_fail = 0 ||
83269 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
83270
83271
83272 # configure is writing to config.log, and then calls config.status.
83273 # config.status does its own redirection, appending to config.log.
83274 # Unfortunately, on DOS this fails, as config.log is still kept open
83275 # by configure, so config.status won't be able to write to it; its
83276 # output is simply discarded. So we exec the FD to /dev/null,
83277 # effectively closing config.log, so it can be properly (re)opened and
83278 # appended to by config.status. When coming back to configure, we
83279 # need to make the FD available again.
83280 if test "$no_create" != yes; then
83281 ac_cs_success=:
83282 ac_config_status_args=
83283 test "$silent" = yes &&
83284 ac_config_status_args="$ac_config_status_args --quiet"
83285 exec 5>/dev/null
83286 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
83287 exec 5>>config.log
83288 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
83289 # would make configure fail if this is the last instruction.
83290 $ac_cs_success || as_fn_exit $?
83291 fi
83292 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
83293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
83294 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
83295 fi
83296