re PR libstdc++/49561 ([C++0x] std::list::size complexity)
[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 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_CXX11_ABI_FALSE
647 ENABLE_CXX11_ABI_TRUE
648 ENABLE_VISIBILITY_FALSE
649 ENABLE_VISIBILITY_TRUE
650 libtool_VERSION
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_VTABLE_VERIFY_FALSE
670 ENABLE_VTABLE_VERIFY_TRUE
671 VTV_CXXLINKFLAGS
672 VTV_PCH_CXXFLAGS
673 VTV_CXXFLAGS
674 ENABLE_WERROR_FALSE
675 ENABLE_WERROR_TRUE
676 ENABLE_PYTHONDIR_FALSE
677 ENABLE_PYTHONDIR_TRUE
678 python_mod_dir
679 ENABLE_EXTERN_TEMPLATE_FALSE
680 ENABLE_EXTERN_TEMPLATE_TRUE
681 EXTRA_CXX_FLAGS
682 GLIBCXX_BUILD_DEBUG_FALSE
683 GLIBCXX_BUILD_DEBUG_TRUE
684 DEBUG_FLAGS
685 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
686 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
687 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
688 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
689 GLIBCXX_C_HEADERS_C_STD_FALSE
690 GLIBCXX_C_HEADERS_C_STD_TRUE
691 GLIBCXX_C_HEADERS_C_FALSE
692 GLIBCXX_C_HEADERS_C_TRUE
693 C_INCLUDE_DIR
694 ALLOCATOR_NAME
695 ALLOCATOR_H
696 CLOCALE_INTERNAL_H
697 CLOCALE_CC
698 CTIME_CC
699 CTIME_H
700 CNUMERIC_CC
701 CMONEY_CC
702 CMESSAGES_CC
703 CCTYPE_CC
704 CCOLLATE_CC
705 CCODECVT_CC
706 CMESSAGES_H
707 CLOCALE_H
708 USE_NLS
709 glibcxx_localedir
710 glibcxx_POFILES
711 glibcxx_MOFILES
712 check_msgfmt
713 BASIC_FILE_CC
714 BASIC_FILE_H
715 CSTDIO_H
716 SECTION_FLAGS
717 WERROR
718 thread_header
719 glibcxx_PCHFLAGS
720 GLIBCXX_BUILD_PCH_FALSE
721 GLIBCXX_BUILD_PCH_TRUE
722 GLIBCXX_HOSTED_FALSE
723 GLIBCXX_HOSTED_TRUE
724 glibcxx_compiler_shared_flag
725 glibcxx_compiler_pic_flag
726 glibcxx_lt_pic_flag
727 enable_static
728 enable_shared
729 lt_host_flags
730 CXXCPP
731 OTOOL64
732 OTOOL
733 LIPO
734 NMEDIT
735 DSYMUTIL
736 OBJDUMP
737 NM
738 ac_ct_DUMPBIN
739 DUMPBIN
740 LD
741 FGREP
742 SED
743 LIBTOOL
744 EGREP
745 GREP
746 CPP
747 MAINT
748 MAINTAINER_MODE_FALSE
749 MAINTAINER_MODE_TRUE
750 RANLIB
751 AR
752 AS
753 LN_S
754 toplevel_srcdir
755 toplevel_builddir
756 glibcxx_srcdir
757 glibcxx_builddir
758 ac_ct_CXX
759 CXXFLAGS
760 CXX
761 OBJEXT
762 EXEEXT
763 ac_ct_CC
764 CPPFLAGS
765 LDFLAGS
766 CFLAGS
767 CC
768 am__untar
769 am__tar
770 AMTAR
771 am__leading_dot
772 SET_MAKE
773 AWK
774 mkdir_p
775 MKDIR_P
776 INSTALL_STRIP_PROGRAM
777 STRIP
778 install_sh
779 MAKEINFO
780 AUTOHEADER
781 AUTOMAKE
782 AUTOCONF
783 ACLOCAL
784 VERSION
785 PACKAGE
786 CYGPATH_W
787 am__isrc
788 INSTALL_DATA
789 INSTALL_SCRIPT
790 INSTALL_PROGRAM
791 target_os
792 target_vendor
793 target_cpu
794 target
795 host_os
796 host_vendor
797 host_cpu
798 host
799 build_os
800 build_vendor
801 build_cpu
802 build
803 multi_basedir
804 target_alias
805 host_alias
806 build_alias
807 LIBS
808 ECHO_T
809 ECHO_N
810 ECHO_C
811 DEFS
812 mandir
813 localedir
814 libdir
815 psdir
816 pdfdir
817 dvidir
818 htmldir
819 infodir
820 docdir
821 oldincludedir
822 includedir
823 localstatedir
824 sharedstatedir
825 sysconfdir
826 datadir
827 datarootdir
828 libexecdir
829 sbindir
830 bindir
831 program_transform_name
832 prefix
833 exec_prefix
834 PACKAGE_URL
835 PACKAGE_BUGREPORT
836 PACKAGE_STRING
837 PACKAGE_VERSION
838 PACKAGE_TARNAME
839 PACKAGE_NAME
840 PATH_SEPARATOR
841 SHELL'
842 ac_subst_files=''
843 ac_user_opts='
844 enable_option_checking
845 enable_multilib
846 with_target_subdir
847 with_cross_host
848 with_newlib
849 enable_maintainer_mode
850 enable_shared
851 enable_static
852 with_pic
853 enable_fast_install
854 with_gnu_ld
855 enable_libtool_lock
856 enable_hosted_libstdcxx
857 enable_libstdcxx_verbose
858 enable_sjlj_exceptions
859 enable_libstdcxx_pch
860 enable_cstdio
861 enable_clocale
862 enable_nls
863 enable_libstdcxx_allocator
864 enable_cheaders
865 enable_long_long
866 enable_wchar_t
867 enable_c99
868 enable_concept_checks
869 enable_libstdcxx_debug_flags
870 enable_libstdcxx_debug
871 enable_cxx_flags
872 enable_fully_dynamic_string
873 enable_extern_template
874 with_python_dir
875 enable_werror
876 enable_vtable_verify
877 enable_libstdcxx_time
878 enable_tls
879 enable_rpath
880 with_libiconv_prefix
881 with_system_libunwind
882 enable_linux_futex
883 enable_symvers
884 enable_libstdcxx_visibility
885 enable_libstdcxx_cxx11_abi
886 enable_libstdcxx_threads
887 with_gxx_include_dir
888 enable_version_specific_runtime_libs
889 '
890 ac_precious_vars='build_alias
891 host_alias
892 target_alias
893 CC
894 CFLAGS
895 LDFLAGS
896 LIBS
897 CPPFLAGS
898 CXX
899 CXXFLAGS
900 CCC
901 CPP
902 CXXCPP
903 CXXFILT'
904
905
906 # Initialize some variables set by options.
907 ac_init_help=
908 ac_init_version=false
909 ac_unrecognized_opts=
910 ac_unrecognized_sep=
911 # The variables have the same names as the options, with
912 # dashes changed to underlines.
913 cache_file=/dev/null
914 exec_prefix=NONE
915 no_create=
916 no_recursion=
917 prefix=NONE
918 program_prefix=NONE
919 program_suffix=NONE
920 program_transform_name=s,x,x,
921 silent=
922 site=
923 srcdir=
924 verbose=
925 x_includes=NONE
926 x_libraries=NONE
927
928 # Installation directory options.
929 # These are left unexpanded so users can "make install exec_prefix=/foo"
930 # and all the variables that are supposed to be based on exec_prefix
931 # by default will actually change.
932 # Use braces instead of parens because sh, perl, etc. also accept them.
933 # (The list follows the same order as the GNU Coding Standards.)
934 bindir='${exec_prefix}/bin'
935 sbindir='${exec_prefix}/sbin'
936 libexecdir='${exec_prefix}/libexec'
937 datarootdir='${prefix}/share'
938 datadir='${datarootdir}'
939 sysconfdir='${prefix}/etc'
940 sharedstatedir='${prefix}/com'
941 localstatedir='${prefix}/var'
942 includedir='${prefix}/include'
943 oldincludedir='/usr/include'
944 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
945 infodir='${datarootdir}/info'
946 htmldir='${docdir}'
947 dvidir='${docdir}'
948 pdfdir='${docdir}'
949 psdir='${docdir}'
950 libdir='${exec_prefix}/lib'
951 localedir='${datarootdir}/locale'
952 mandir='${datarootdir}/man'
953
954 ac_prev=
955 ac_dashdash=
956 for ac_option
957 do
958 # If the previous option needs an argument, assign it.
959 if test -n "$ac_prev"; then
960 eval $ac_prev=\$ac_option
961 ac_prev=
962 continue
963 fi
964
965 case $ac_option in
966 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
967 *) ac_optarg=yes ;;
968 esac
969
970 # Accept the important Cygnus configure options, so we can diagnose typos.
971
972 case $ac_dashdash$ac_option in
973 --)
974 ac_dashdash=yes ;;
975
976 -bindir | --bindir | --bindi | --bind | --bin | --bi)
977 ac_prev=bindir ;;
978 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
979 bindir=$ac_optarg ;;
980
981 -build | --build | --buil | --bui | --bu)
982 ac_prev=build_alias ;;
983 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
984 build_alias=$ac_optarg ;;
985
986 -cache-file | --cache-file | --cache-fil | --cache-fi \
987 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
988 ac_prev=cache_file ;;
989 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
990 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
991 cache_file=$ac_optarg ;;
992
993 --config-cache | -C)
994 cache_file=config.cache ;;
995
996 -datadir | --datadir | --datadi | --datad)
997 ac_prev=datadir ;;
998 -datadir=* | --datadir=* | --datadi=* | --datad=*)
999 datadir=$ac_optarg ;;
1000
1001 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1002 | --dataroo | --dataro | --datar)
1003 ac_prev=datarootdir ;;
1004 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1005 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1006 datarootdir=$ac_optarg ;;
1007
1008 -disable-* | --disable-*)
1009 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1010 # Reject names that are not valid shell variable names.
1011 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1012 as_fn_error "invalid feature name: $ac_useropt"
1013 ac_useropt_orig=$ac_useropt
1014 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1015 case $ac_user_opts in
1016 *"
1017 "enable_$ac_useropt"
1018 "*) ;;
1019 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1020 ac_unrecognized_sep=', ';;
1021 esac
1022 eval enable_$ac_useropt=no ;;
1023
1024 -docdir | --docdir | --docdi | --doc | --do)
1025 ac_prev=docdir ;;
1026 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1027 docdir=$ac_optarg ;;
1028
1029 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1030 ac_prev=dvidir ;;
1031 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1032 dvidir=$ac_optarg ;;
1033
1034 -enable-* | --enable-*)
1035 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1036 # Reject names that are not valid shell variable names.
1037 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1038 as_fn_error "invalid feature name: $ac_useropt"
1039 ac_useropt_orig=$ac_useropt
1040 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1041 case $ac_user_opts in
1042 *"
1043 "enable_$ac_useropt"
1044 "*) ;;
1045 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1046 ac_unrecognized_sep=', ';;
1047 esac
1048 eval enable_$ac_useropt=\$ac_optarg ;;
1049
1050 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1051 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1052 | --exec | --exe | --ex)
1053 ac_prev=exec_prefix ;;
1054 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1055 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1056 | --exec=* | --exe=* | --ex=*)
1057 exec_prefix=$ac_optarg ;;
1058
1059 -gas | --gas | --ga | --g)
1060 # Obsolete; use --with-gas.
1061 with_gas=yes ;;
1062
1063 -help | --help | --hel | --he | -h)
1064 ac_init_help=long ;;
1065 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1066 ac_init_help=recursive ;;
1067 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1068 ac_init_help=short ;;
1069
1070 -host | --host | --hos | --ho)
1071 ac_prev=host_alias ;;
1072 -host=* | --host=* | --hos=* | --ho=*)
1073 host_alias=$ac_optarg ;;
1074
1075 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1076 ac_prev=htmldir ;;
1077 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1078 | --ht=*)
1079 htmldir=$ac_optarg ;;
1080
1081 -includedir | --includedir | --includedi | --included | --include \
1082 | --includ | --inclu | --incl | --inc)
1083 ac_prev=includedir ;;
1084 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1085 | --includ=* | --inclu=* | --incl=* | --inc=*)
1086 includedir=$ac_optarg ;;
1087
1088 -infodir | --infodir | --infodi | --infod | --info | --inf)
1089 ac_prev=infodir ;;
1090 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1091 infodir=$ac_optarg ;;
1092
1093 -libdir | --libdir | --libdi | --libd)
1094 ac_prev=libdir ;;
1095 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1096 libdir=$ac_optarg ;;
1097
1098 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1099 | --libexe | --libex | --libe)
1100 ac_prev=libexecdir ;;
1101 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1102 | --libexe=* | --libex=* | --libe=*)
1103 libexecdir=$ac_optarg ;;
1104
1105 -localedir | --localedir | --localedi | --localed | --locale)
1106 ac_prev=localedir ;;
1107 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1108 localedir=$ac_optarg ;;
1109
1110 -localstatedir | --localstatedir | --localstatedi | --localstated \
1111 | --localstate | --localstat | --localsta | --localst | --locals)
1112 ac_prev=localstatedir ;;
1113 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1114 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1115 localstatedir=$ac_optarg ;;
1116
1117 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1118 ac_prev=mandir ;;
1119 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1120 mandir=$ac_optarg ;;
1121
1122 -nfp | --nfp | --nf)
1123 # Obsolete; use --without-fp.
1124 with_fp=no ;;
1125
1126 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1127 | --no-cr | --no-c | -n)
1128 no_create=yes ;;
1129
1130 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1131 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1132 no_recursion=yes ;;
1133
1134 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1135 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1136 | --oldin | --oldi | --old | --ol | --o)
1137 ac_prev=oldincludedir ;;
1138 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1139 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1140 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1141 oldincludedir=$ac_optarg ;;
1142
1143 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1144 ac_prev=prefix ;;
1145 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1146 prefix=$ac_optarg ;;
1147
1148 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1149 | --program-pre | --program-pr | --program-p)
1150 ac_prev=program_prefix ;;
1151 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1152 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1153 program_prefix=$ac_optarg ;;
1154
1155 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1156 | --program-suf | --program-su | --program-s)
1157 ac_prev=program_suffix ;;
1158 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1159 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1160 program_suffix=$ac_optarg ;;
1161
1162 -program-transform-name | --program-transform-name \
1163 | --program-transform-nam | --program-transform-na \
1164 | --program-transform-n | --program-transform- \
1165 | --program-transform | --program-transfor \
1166 | --program-transfo | --program-transf \
1167 | --program-trans | --program-tran \
1168 | --progr-tra | --program-tr | --program-t)
1169 ac_prev=program_transform_name ;;
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 program_transform_name=$ac_optarg ;;
1178
1179 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1180 ac_prev=pdfdir ;;
1181 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1182 pdfdir=$ac_optarg ;;
1183
1184 -psdir | --psdir | --psdi | --psd | --ps)
1185 ac_prev=psdir ;;
1186 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1187 psdir=$ac_optarg ;;
1188
1189 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1190 | -silent | --silent | --silen | --sile | --sil)
1191 silent=yes ;;
1192
1193 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1194 ac_prev=sbindir ;;
1195 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1196 | --sbi=* | --sb=*)
1197 sbindir=$ac_optarg ;;
1198
1199 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1200 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1201 | --sharedst | --shareds | --shared | --share | --shar \
1202 | --sha | --sh)
1203 ac_prev=sharedstatedir ;;
1204 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1205 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1206 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1207 | --sha=* | --sh=*)
1208 sharedstatedir=$ac_optarg ;;
1209
1210 -site | --site | --sit)
1211 ac_prev=site ;;
1212 -site=* | --site=* | --sit=*)
1213 site=$ac_optarg ;;
1214
1215 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1216 ac_prev=srcdir ;;
1217 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1218 srcdir=$ac_optarg ;;
1219
1220 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1221 | --syscon | --sysco | --sysc | --sys | --sy)
1222 ac_prev=sysconfdir ;;
1223 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1224 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1225 sysconfdir=$ac_optarg ;;
1226
1227 -target | --target | --targe | --targ | --tar | --ta | --t)
1228 ac_prev=target_alias ;;
1229 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1230 target_alias=$ac_optarg ;;
1231
1232 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1233 verbose=yes ;;
1234
1235 -version | --version | --versio | --versi | --vers | -V)
1236 ac_init_version=: ;;
1237
1238 -with-* | --with-*)
1239 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1240 # Reject names that are not valid shell variable names.
1241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1242 as_fn_error "invalid package name: $ac_useropt"
1243 ac_useropt_orig=$ac_useropt
1244 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1245 case $ac_user_opts in
1246 *"
1247 "with_$ac_useropt"
1248 "*) ;;
1249 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1250 ac_unrecognized_sep=', ';;
1251 esac
1252 eval with_$ac_useropt=\$ac_optarg ;;
1253
1254 -without-* | --without-*)
1255 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1256 # Reject names that are not valid shell variable names.
1257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1258 as_fn_error "invalid package name: $ac_useropt"
1259 ac_useropt_orig=$ac_useropt
1260 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1261 case $ac_user_opts in
1262 *"
1263 "with_$ac_useropt"
1264 "*) ;;
1265 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1266 ac_unrecognized_sep=', ';;
1267 esac
1268 eval with_$ac_useropt=no ;;
1269
1270 --x)
1271 # Obsolete; use --with-x.
1272 with_x=yes ;;
1273
1274 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1275 | --x-incl | --x-inc | --x-in | --x-i)
1276 ac_prev=x_includes ;;
1277 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1278 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1279 x_includes=$ac_optarg ;;
1280
1281 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1282 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1283 ac_prev=x_libraries ;;
1284 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1285 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1286 x_libraries=$ac_optarg ;;
1287
1288 -*) as_fn_error "unrecognized option: \`$ac_option'
1289 Try \`$0 --help' for more information."
1290 ;;
1291
1292 *=*)
1293 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1294 # Reject names that are not valid shell variable names.
1295 case $ac_envvar in #(
1296 '' | [0-9]* | *[!_$as_cr_alnum]* )
1297 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1298 esac
1299 eval $ac_envvar=\$ac_optarg
1300 export $ac_envvar ;;
1301
1302 *)
1303 # FIXME: should be removed in autoconf 3.0.
1304 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1305 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1306 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1307 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1308 ;;
1309
1310 esac
1311 done
1312
1313 if test -n "$ac_prev"; then
1314 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1315 as_fn_error "missing argument to $ac_option"
1316 fi
1317
1318 if test -n "$ac_unrecognized_opts"; then
1319 case $enable_option_checking in
1320 no) ;;
1321 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1322 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1323 esac
1324 fi
1325
1326 # Check all directory arguments for consistency.
1327 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1328 datadir sysconfdir sharedstatedir localstatedir includedir \
1329 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1330 libdir localedir mandir
1331 do
1332 eval ac_val=\$$ac_var
1333 # Remove trailing slashes.
1334 case $ac_val in
1335 */ )
1336 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1337 eval $ac_var=\$ac_val;;
1338 esac
1339 # Be sure to have absolute directory names.
1340 case $ac_val in
1341 [\\/$]* | ?:[\\/]* ) continue;;
1342 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1343 esac
1344 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1345 done
1346
1347 # There might be people who depend on the old broken behavior: `$host'
1348 # used to hold the argument of --host etc.
1349 # FIXME: To remove some day.
1350 build=$build_alias
1351 host=$host_alias
1352 target=$target_alias
1353
1354 # FIXME: To remove some day.
1355 if test "x$host_alias" != x; then
1356 if test "x$build_alias" = x; then
1357 cross_compiling=maybe
1358 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1359 If a cross compiler is detected then cross compile mode will be used." >&2
1360 elif test "x$build_alias" != "x$host_alias"; then
1361 cross_compiling=yes
1362 fi
1363 fi
1364
1365 ac_tool_prefix=
1366 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1367
1368 test "$silent" = yes && exec 6>/dev/null
1369
1370
1371 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1372 ac_ls_di=`ls -di .` &&
1373 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1374 as_fn_error "working directory cannot be determined"
1375 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1376 as_fn_error "pwd does not report name of working directory"
1377
1378
1379 # Find the source files, if location was not specified.
1380 if test -z "$srcdir"; then
1381 ac_srcdir_defaulted=yes
1382 # Try the directory containing this script, then the parent directory.
1383 ac_confdir=`$as_dirname -- "$as_myself" ||
1384 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1385 X"$as_myself" : 'X\(//\)[^/]' \| \
1386 X"$as_myself" : 'X\(//\)$' \| \
1387 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1388 $as_echo X"$as_myself" |
1389 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1390 s//\1/
1391 q
1392 }
1393 /^X\(\/\/\)[^/].*/{
1394 s//\1/
1395 q
1396 }
1397 /^X\(\/\/\)$/{
1398 s//\1/
1399 q
1400 }
1401 /^X\(\/\).*/{
1402 s//\1/
1403 q
1404 }
1405 s/.*/./; q'`
1406 srcdir=$ac_confdir
1407 if test ! -r "$srcdir/$ac_unique_file"; then
1408 srcdir=..
1409 fi
1410 else
1411 ac_srcdir_defaulted=no
1412 fi
1413 if test ! -r "$srcdir/$ac_unique_file"; then
1414 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1415 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1416 fi
1417 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1418 ac_abs_confdir=`(
1419 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1420 pwd)`
1421 # When building in place, set srcdir=.
1422 if test "$ac_abs_confdir" = "$ac_pwd"; then
1423 srcdir=.
1424 fi
1425 # Remove unnecessary trailing slashes from srcdir.
1426 # Double slashes in file names in object file debugging info
1427 # mess up M-x gdb in Emacs.
1428 case $srcdir in
1429 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1430 esac
1431 for ac_var in $ac_precious_vars; do
1432 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1433 eval ac_env_${ac_var}_value=\$${ac_var}
1434 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1435 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1436 done
1437
1438 #
1439 # Report the --help message.
1440 #
1441 if test "$ac_init_help" = "long"; then
1442 # Omit some internal or obsolete options to make the list less imposing.
1443 # This message is too long to be a string in the A/UX 3.1 sh.
1444 cat <<_ACEOF
1445 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1446
1447 Usage: $0 [OPTION]... [VAR=VALUE]...
1448
1449 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1450 VAR=VALUE. See below for descriptions of some of the useful variables.
1451
1452 Defaults for the options are specified in brackets.
1453
1454 Configuration:
1455 -h, --help display this help and exit
1456 --help=short display options specific to this package
1457 --help=recursive display the short help of all the included packages
1458 -V, --version display version information and exit
1459 -q, --quiet, --silent do not print \`checking...' messages
1460 --cache-file=FILE cache test results in FILE [disabled]
1461 -C, --config-cache alias for \`--cache-file=config.cache'
1462 -n, --no-create do not create output files
1463 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1464
1465 Installation directories:
1466 --prefix=PREFIX install architecture-independent files in PREFIX
1467 [$ac_default_prefix]
1468 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1469 [PREFIX]
1470
1471 By default, \`make install' will install all the files in
1472 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1473 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1474 for instance \`--prefix=\$HOME'.
1475
1476 For better control, use the options below.
1477
1478 Fine tuning of the installation directories:
1479 --bindir=DIR user executables [EPREFIX/bin]
1480 --sbindir=DIR system admin executables [EPREFIX/sbin]
1481 --libexecdir=DIR program executables [EPREFIX/libexec]
1482 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1483 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1484 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1485 --libdir=DIR object code libraries [EPREFIX/lib]
1486 --includedir=DIR C header files [PREFIX/include]
1487 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1488 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1489 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1490 --infodir=DIR info documentation [DATAROOTDIR/info]
1491 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1492 --mandir=DIR man documentation [DATAROOTDIR/man]
1493 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1494 --htmldir=DIR html documentation [DOCDIR]
1495 --dvidir=DIR dvi documentation [DOCDIR]
1496 --pdfdir=DIR pdf documentation [DOCDIR]
1497 --psdir=DIR ps documentation [DOCDIR]
1498 _ACEOF
1499
1500 cat <<\_ACEOF
1501
1502 Program names:
1503 --program-prefix=PREFIX prepend PREFIX to installed program names
1504 --program-suffix=SUFFIX append SUFFIX to installed program names
1505 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1506
1507 System types:
1508 --build=BUILD configure for building on BUILD [guessed]
1509 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1510 --target=TARGET configure for building compilers for TARGET [HOST]
1511 _ACEOF
1512 fi
1513
1514 if test -n "$ac_init_help"; then
1515 case $ac_init_help in
1516 short | recursive ) echo "Configuration of package-unused version-unused:";;
1517 esac
1518 cat <<\_ACEOF
1519
1520 Optional Features:
1521 --disable-option-checking ignore unrecognized --enable/--with options
1522 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1523 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1524 --enable-multilib build many library versions (default)
1525 --enable-maintainer-mode enable make rules and dependencies not useful
1526 (and sometimes confusing) to the casual installer
1527 --enable-shared[=PKGS] build shared libraries [default=yes]
1528 --enable-static[=PKGS] build static libraries [default=yes]
1529 --enable-fast-install[=PKGS]
1530 optimize for fast installation [default=yes]
1531 --disable-libtool-lock avoid locking (might break parallel builds)
1532 --disable-hosted-libstdcxx
1533 only build freestanding C++ runtime support
1534 --disable-libstdcxx-verbose
1535 disable termination messages to standard error
1536 --enable-sjlj-exceptions
1537 force use of builtin_setjmp for exceptions
1538 [default=auto]
1539 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1540 [default=$is_hosted]
1541 --enable-cstdio[=PACKAGE]
1542 use target-specific I/O package [default=stdio]
1543 --enable-clocale[=MODEL]
1544 use MODEL for target locale package [default=auto]
1545 --enable-nls use Native Language Support (default)
1546 --enable-libstdcxx-allocator[=KIND]
1547 use KIND for target std::allocator base
1548 [default=auto]
1549 --enable-cheaders[=KIND]
1550 construct "C" headers for g++ [default=$c_model]
1551 --enable-long-long enable template specializations for 'long long'
1552 [default=yes]
1553 --enable-wchar_t enable template specializations for 'wchar_t'
1554 [default=yes]
1555 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1556 --enable-concept-checks use Boost-derived template checks [default=no]
1557 --enable-libstdcxx-debug-flags=FLAGS
1558 pass compiler FLAGS when building debug library
1559 [default="-gdwarf-4 -g3 -O0"]
1560 --enable-libstdcxx-debug
1561 build extra debug library [default=no]
1562 --enable-cxx-flags=FLAGS
1563 pass compiler FLAGS when building library [default=]
1564 --enable-fully-dynamic-string
1565 do not put empty strings in per-process static
1566 memory [default=no]
1567 --enable-extern-template
1568 enable extern template [default=yes]
1569 --enable-werror turns on -Werror [default=yes]
1570 --enable-vtable-verify enable vtable verify [default=no]
1571 --enable-libstdcxx-time[=KIND]
1572 use KIND for check type [default=auto]
1573 --enable-tls Use thread-local storage [default=yes]
1574 --disable-rpath do not hardcode runtime library paths
1575 --enable-linux-futex use the Linux futex system call [default=default]
1576 --enable-symvers[=STYLE]
1577 enables symbol versioning of the shared library
1578 [default=yes]
1579 --enable-libstdcxx-visibility
1580 enables visibility safe usage [default=yes]
1581 --disable-libstdcxx-cxx11-abi
1582 disable the C++11-conforming ABI
1583 --enable-libstdcxx-threads
1584 enable C++11 threads support [default=auto]
1585 --enable-version-specific-runtime-libs
1586 Specify that runtime libraries should be installed
1587 in a compiler-specific directory
1588
1589 Optional Packages:
1590 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1591 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1592 --with-target-subdir=SUBDIR
1593 configuring in a subdirectory
1594 --with-cross-host=HOST configuring with a cross compiler
1595 --with-newlib assume newlib as a system C library
1596 --with-pic try to use only PIC/non-PIC objects [default=use
1597 both]
1598 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1599 --with-python-dir the location to install Python modules. This path is
1600 relative starting from the prefix.
1601 --with-gnu-ld assume the C compiler uses GNU ld default=no
1602 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1603 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1604 --with-system-libunwind use installed libunwind
1605 --with-gxx-include-dir=DIR
1606 installation directory for include files
1607
1608 Some influential environment variables:
1609 CC C compiler command
1610 CFLAGS C compiler flags
1611 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1612 nonstandard directory <lib dir>
1613 LIBS libraries to pass to the linker, e.g. -l<library>
1614 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1615 you have headers in a nonstandard directory <include dir>
1616 CXX C++ compiler command
1617 CXXFLAGS C++ compiler flags
1618 CPP C preprocessor
1619 CXXCPP C++ preprocessor
1620 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1621 `c++filt', `gc++filt' on PATH.
1622
1623 Use these variables to override the choices made by `configure' or to help
1624 it to find libraries and programs with nonstandard names/locations.
1625
1626 Report bugs to the package provider.
1627 _ACEOF
1628 ac_status=$?
1629 fi
1630
1631 if test "$ac_init_help" = "recursive"; then
1632 # If there are subdirs, report their specific --help.
1633 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1634 test -d "$ac_dir" ||
1635 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1636 continue
1637 ac_builddir=.
1638
1639 case "$ac_dir" in
1640 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1641 *)
1642 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1643 # A ".." for each directory in $ac_dir_suffix.
1644 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1645 case $ac_top_builddir_sub in
1646 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1648 esac ;;
1649 esac
1650 ac_abs_top_builddir=$ac_pwd
1651 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1652 # for backward compatibility:
1653 ac_top_builddir=$ac_top_build_prefix
1654
1655 case $srcdir in
1656 .) # We are building in place.
1657 ac_srcdir=.
1658 ac_top_srcdir=$ac_top_builddir_sub
1659 ac_abs_top_srcdir=$ac_pwd ;;
1660 [\\/]* | ?:[\\/]* ) # Absolute name.
1661 ac_srcdir=$srcdir$ac_dir_suffix;
1662 ac_top_srcdir=$srcdir
1663 ac_abs_top_srcdir=$srcdir ;;
1664 *) # Relative name.
1665 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1666 ac_top_srcdir=$ac_top_build_prefix$srcdir
1667 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1668 esac
1669 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1670
1671 cd "$ac_dir" || { ac_status=$?; continue; }
1672 # Check for guested configure.
1673 if test -f "$ac_srcdir/configure.gnu"; then
1674 echo &&
1675 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1676 elif test -f "$ac_srcdir/configure"; then
1677 echo &&
1678 $SHELL "$ac_srcdir/configure" --help=recursive
1679 else
1680 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1681 fi || ac_status=$?
1682 cd "$ac_pwd" || { ac_status=$?; break; }
1683 done
1684 fi
1685
1686 test -n "$ac_init_help" && exit $ac_status
1687 if $ac_init_version; then
1688 cat <<\_ACEOF
1689 package-unused configure version-unused
1690 generated by GNU Autoconf 2.64
1691
1692 Copyright (C) 2009 Free Software Foundation, Inc.
1693 This configure script is free software; the Free Software Foundation
1694 gives unlimited permission to copy, distribute and modify it.
1695 _ACEOF
1696 exit
1697 fi
1698
1699 ## ------------------------ ##
1700 ## Autoconf initialization. ##
1701 ## ------------------------ ##
1702
1703 # ac_fn_c_try_compile LINENO
1704 # --------------------------
1705 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1706 ac_fn_c_try_compile ()
1707 {
1708 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1709 rm -f conftest.$ac_objext
1710 if { { ac_try="$ac_compile"
1711 case "(($ac_try" in
1712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1713 *) ac_try_echo=$ac_try;;
1714 esac
1715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1716 $as_echo "$ac_try_echo"; } >&5
1717 (eval "$ac_compile") 2>conftest.err
1718 ac_status=$?
1719 if test -s conftest.err; then
1720 grep -v '^ *+' conftest.err >conftest.er1
1721 cat conftest.er1 >&5
1722 mv -f conftest.er1 conftest.err
1723 fi
1724 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1725 test $ac_status = 0; } && {
1726 test -z "$ac_c_werror_flag" ||
1727 test ! -s conftest.err
1728 } && test -s conftest.$ac_objext; then :
1729 ac_retval=0
1730 else
1731 $as_echo "$as_me: failed program was:" >&5
1732 sed 's/^/| /' conftest.$ac_ext >&5
1733
1734 ac_retval=1
1735 fi
1736 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1737 return $ac_retval
1738
1739 } # ac_fn_c_try_compile
1740
1741 # ac_fn_cxx_try_compile LINENO
1742 # ----------------------------
1743 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1744 ac_fn_cxx_try_compile ()
1745 {
1746 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1747 rm -f conftest.$ac_objext
1748 if { { ac_try="$ac_compile"
1749 case "(($ac_try" in
1750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1751 *) ac_try_echo=$ac_try;;
1752 esac
1753 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1754 $as_echo "$ac_try_echo"; } >&5
1755 (eval "$ac_compile") 2>conftest.err
1756 ac_status=$?
1757 if test -s conftest.err; then
1758 grep -v '^ *+' conftest.err >conftest.er1
1759 cat conftest.er1 >&5
1760 mv -f conftest.er1 conftest.err
1761 fi
1762 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1763 test $ac_status = 0; } && {
1764 test -z "$ac_cxx_werror_flag" ||
1765 test ! -s conftest.err
1766 } && test -s conftest.$ac_objext; then :
1767 ac_retval=0
1768 else
1769 $as_echo "$as_me: failed program was:" >&5
1770 sed 's/^/| /' conftest.$ac_ext >&5
1771
1772 ac_retval=1
1773 fi
1774 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1775 return $ac_retval
1776
1777 } # ac_fn_cxx_try_compile
1778
1779 # ac_fn_c_try_cpp LINENO
1780 # ----------------------
1781 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1782 ac_fn_c_try_cpp ()
1783 {
1784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1785 if { { ac_try="$ac_cpp conftest.$ac_ext"
1786 case "(($ac_try" in
1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788 *) ac_try_echo=$ac_try;;
1789 esac
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1793 ac_status=$?
1794 if test -s conftest.err; then
1795 grep -v '^ *+' conftest.err >conftest.er1
1796 cat conftest.er1 >&5
1797 mv -f conftest.er1 conftest.err
1798 fi
1799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1800 test $ac_status = 0; } >/dev/null && {
1801 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1802 test ! -s conftest.err
1803 }; then :
1804 ac_retval=0
1805 else
1806 $as_echo "$as_me: failed program was:" >&5
1807 sed 's/^/| /' conftest.$ac_ext >&5
1808
1809 ac_retval=1
1810 fi
1811 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1812 return $ac_retval
1813
1814 } # ac_fn_c_try_cpp
1815
1816 # ac_fn_c_try_link LINENO
1817 # -----------------------
1818 # Try to link conftest.$ac_ext, and return whether this succeeded.
1819 ac_fn_c_try_link ()
1820 {
1821 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1822 rm -f conftest.$ac_objext conftest$ac_exeext
1823 if { { ac_try="$ac_link"
1824 case "(($ac_try" in
1825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1826 *) ac_try_echo=$ac_try;;
1827 esac
1828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1829 $as_echo "$ac_try_echo"; } >&5
1830 (eval "$ac_link") 2>conftest.err
1831 ac_status=$?
1832 if test -s conftest.err; then
1833 grep -v '^ *+' conftest.err >conftest.er1
1834 cat conftest.er1 >&5
1835 mv -f conftest.er1 conftest.err
1836 fi
1837 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1838 test $ac_status = 0; } && {
1839 test -z "$ac_c_werror_flag" ||
1840 test ! -s conftest.err
1841 } && test -s conftest$ac_exeext && {
1842 test "$cross_compiling" = yes ||
1843 $as_test_x conftest$ac_exeext
1844 }; then :
1845 ac_retval=0
1846 else
1847 $as_echo "$as_me: failed program was:" >&5
1848 sed 's/^/| /' conftest.$ac_ext >&5
1849
1850 ac_retval=1
1851 fi
1852 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1853 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1854 # interfere with the next link command; also delete a directory that is
1855 # left behind by Apple's compiler. We do this before executing the actions.
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1858 return $ac_retval
1859
1860 } # ac_fn_c_try_link
1861
1862 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1863 # -------------------------------------------------------
1864 # Tests whether HEADER exists and can be compiled using the include files in
1865 # INCLUDES, setting the cache variable VAR accordingly.
1866 ac_fn_c_check_header_compile ()
1867 {
1868 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1870 $as_echo_n "checking for $2... " >&6; }
1871 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1872 $as_echo_n "(cached) " >&6
1873 else
1874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1875 /* end confdefs.h. */
1876 $4
1877 #include <$2>
1878 _ACEOF
1879 if ac_fn_c_try_compile "$LINENO"; then :
1880 eval "$3=yes"
1881 else
1882 eval "$3=no"
1883 fi
1884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1885 fi
1886 eval ac_res=\$$3
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1888 $as_echo "$ac_res" >&6; }
1889 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1890
1891 } # ac_fn_c_check_header_compile
1892
1893 # ac_fn_c_try_run LINENO
1894 # ----------------------
1895 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1896 # that executables *can* be run.
1897 ac_fn_c_try_run ()
1898 {
1899 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1900 if { { ac_try="$ac_link"
1901 case "(($ac_try" in
1902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1903 *) ac_try_echo=$ac_try;;
1904 esac
1905 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_link") 2>&5
1908 ac_status=$?
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1911 { { case "(($ac_try" in
1912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1913 *) ac_try_echo=$ac_try;;
1914 esac
1915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1916 $as_echo "$ac_try_echo"; } >&5
1917 (eval "$ac_try") 2>&5
1918 ac_status=$?
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; }; }; then :
1921 ac_retval=0
1922 else
1923 $as_echo "$as_me: program exited with status $ac_status" >&5
1924 $as_echo "$as_me: failed program was:" >&5
1925 sed 's/^/| /' conftest.$ac_ext >&5
1926
1927 ac_retval=$ac_status
1928 fi
1929 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1930 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1931 return $ac_retval
1932
1933 } # ac_fn_c_try_run
1934
1935 # ac_fn_c_check_func LINENO FUNC VAR
1936 # ----------------------------------
1937 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1938 ac_fn_c_check_func ()
1939 {
1940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1942 $as_echo_n "checking for $2... " >&6; }
1943 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1944 $as_echo_n "(cached) " >&6
1945 else
1946 if test x$gcc_no_link = xyes; then
1947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1948 fi
1949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1950 /* end confdefs.h. */
1951 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1952 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1953 #define $2 innocuous_$2
1954
1955 /* System header to define __stub macros and hopefully few prototypes,
1956 which can conflict with char $2 (); below.
1957 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1958 <limits.h> exists even on freestanding compilers. */
1959
1960 #ifdef __STDC__
1961 # include <limits.h>
1962 #else
1963 # include <assert.h>
1964 #endif
1965
1966 #undef $2
1967
1968 /* Override any GCC internal prototype to avoid an error.
1969 Use char because int might match the return type of a GCC
1970 builtin and then its argument prototype would still apply. */
1971 #ifdef __cplusplus
1972 extern "C"
1973 #endif
1974 char $2 ();
1975 /* The GNU C library defines this for functions which it implements
1976 to always fail with ENOSYS. Some functions are actually named
1977 something starting with __ and the normal name is an alias. */
1978 #if defined __stub_$2 || defined __stub___$2
1979 choke me
1980 #endif
1981
1982 int
1983 main ()
1984 {
1985 return $2 ();
1986 ;
1987 return 0;
1988 }
1989 _ACEOF
1990 if ac_fn_c_try_link "$LINENO"; then :
1991 eval "$3=yes"
1992 else
1993 eval "$3=no"
1994 fi
1995 rm -f core conftest.err conftest.$ac_objext \
1996 conftest$ac_exeext conftest.$ac_ext
1997 fi
1998 eval ac_res=\$$3
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2002
2003 } # ac_fn_c_check_func
2004
2005 # ac_fn_cxx_try_cpp LINENO
2006 # ------------------------
2007 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2008 ac_fn_cxx_try_cpp ()
2009 {
2010 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2011 if { { ac_try="$ac_cpp conftest.$ac_ext"
2012 case "(($ac_try" in
2013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2014 *) ac_try_echo=$ac_try;;
2015 esac
2016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2017 $as_echo "$ac_try_echo"; } >&5
2018 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2019 ac_status=$?
2020 if test -s conftest.err; then
2021 grep -v '^ *+' conftest.err >conftest.er1
2022 cat conftest.er1 >&5
2023 mv -f conftest.er1 conftest.err
2024 fi
2025 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2026 test $ac_status = 0; } >/dev/null && {
2027 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2028 test ! -s conftest.err
2029 }; then :
2030 ac_retval=0
2031 else
2032 $as_echo "$as_me: failed program was:" >&5
2033 sed 's/^/| /' conftest.$ac_ext >&5
2034
2035 ac_retval=1
2036 fi
2037 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2038 return $ac_retval
2039
2040 } # ac_fn_cxx_try_cpp
2041
2042 # ac_fn_cxx_try_link LINENO
2043 # -------------------------
2044 # Try to link conftest.$ac_ext, and return whether this succeeded.
2045 ac_fn_cxx_try_link ()
2046 {
2047 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2048 rm -f conftest.$ac_objext conftest$ac_exeext
2049 if { { ac_try="$ac_link"
2050 case "(($ac_try" in
2051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2052 *) ac_try_echo=$ac_try;;
2053 esac
2054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2055 $as_echo "$ac_try_echo"; } >&5
2056 (eval "$ac_link") 2>conftest.err
2057 ac_status=$?
2058 if test -s conftest.err; then
2059 grep -v '^ *+' conftest.err >conftest.er1
2060 cat conftest.er1 >&5
2061 mv -f conftest.er1 conftest.err
2062 fi
2063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2064 test $ac_status = 0; } && {
2065 test -z "$ac_cxx_werror_flag" ||
2066 test ! -s conftest.err
2067 } && test -s conftest$ac_exeext && {
2068 test "$cross_compiling" = yes ||
2069 $as_test_x conftest$ac_exeext
2070 }; then :
2071 ac_retval=0
2072 else
2073 $as_echo "$as_me: failed program was:" >&5
2074 sed 's/^/| /' conftest.$ac_ext >&5
2075
2076 ac_retval=1
2077 fi
2078 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2079 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2080 # interfere with the next link command; also delete a directory that is
2081 # left behind by Apple's compiler. We do this before executing the actions.
2082 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2083 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2084 return $ac_retval
2085
2086 } # ac_fn_cxx_try_link
2087
2088 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2089 # -------------------------------------------------------
2090 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2091 # the include files in INCLUDES and setting the cache variable VAR
2092 # accordingly.
2093 ac_fn_c_check_header_mongrel ()
2094 {
2095 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2096 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2098 $as_echo_n "checking for $2... " >&6; }
2099 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2100 $as_echo_n "(cached) " >&6
2101 fi
2102 eval ac_res=\$$3
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2104 $as_echo "$ac_res" >&6; }
2105 else
2106 # Is the header compilable?
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2108 $as_echo_n "checking $2 usability... " >&6; }
2109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2110 /* end confdefs.h. */
2111 $4
2112 #include <$2>
2113 _ACEOF
2114 if ac_fn_c_try_compile "$LINENO"; then :
2115 ac_header_compiler=yes
2116 else
2117 ac_header_compiler=no
2118 fi
2119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2121 $as_echo "$ac_header_compiler" >&6; }
2122
2123 # Is the header present?
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2125 $as_echo_n "checking $2 presence... " >&6; }
2126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2127 /* end confdefs.h. */
2128 #include <$2>
2129 _ACEOF
2130 if ac_fn_c_try_cpp "$LINENO"; then :
2131 ac_header_preproc=yes
2132 else
2133 ac_header_preproc=no
2134 fi
2135 rm -f conftest.err conftest.$ac_ext
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2137 $as_echo "$ac_header_preproc" >&6; }
2138
2139 # So? What about this header?
2140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2141 yes:no: )
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2143 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2146 ;;
2147 no:yes:* )
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2149 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2151 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2153 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2155 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2158 ;;
2159 esac
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2161 $as_echo_n "checking for $2... " >&6; }
2162 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2163 $as_echo_n "(cached) " >&6
2164 else
2165 eval "$3=\$ac_header_compiler"
2166 fi
2167 eval ac_res=\$$3
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2169 $as_echo "$ac_res" >&6; }
2170 fi
2171 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2172
2173 } # ac_fn_c_check_header_mongrel
2174
2175 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2176 # ---------------------------------------------------------
2177 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2178 # the include files in INCLUDES and setting the cache variable VAR
2179 # accordingly.
2180 ac_fn_cxx_check_header_mongrel ()
2181 {
2182 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2183 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2185 $as_echo_n "checking for $2... " >&6; }
2186 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2187 $as_echo_n "(cached) " >&6
2188 fi
2189 eval ac_res=\$$3
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2191 $as_echo "$ac_res" >&6; }
2192 else
2193 # Is the header compilable?
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2195 $as_echo_n "checking $2 usability... " >&6; }
2196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2197 /* end confdefs.h. */
2198 $4
2199 #include <$2>
2200 _ACEOF
2201 if ac_fn_cxx_try_compile "$LINENO"; then :
2202 ac_header_compiler=yes
2203 else
2204 ac_header_compiler=no
2205 fi
2206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2208 $as_echo "$ac_header_compiler" >&6; }
2209
2210 # Is the header present?
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2212 $as_echo_n "checking $2 presence... " >&6; }
2213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2214 /* end confdefs.h. */
2215 #include <$2>
2216 _ACEOF
2217 if ac_fn_cxx_try_cpp "$LINENO"; then :
2218 ac_header_preproc=yes
2219 else
2220 ac_header_preproc=no
2221 fi
2222 rm -f conftest.err conftest.$ac_ext
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2224 $as_echo "$ac_header_preproc" >&6; }
2225
2226 # So? What about this header?
2227 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2228 yes:no: )
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2230 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2233 ;;
2234 no:yes:* )
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2236 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2238 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2240 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2242 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2244 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2245 ;;
2246 esac
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2248 $as_echo_n "checking for $2... " >&6; }
2249 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2250 $as_echo_n "(cached) " >&6
2251 else
2252 eval "$3=\$ac_header_compiler"
2253 fi
2254 eval ac_res=\$$3
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256 $as_echo "$ac_res" >&6; }
2257 fi
2258 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2259
2260 } # ac_fn_cxx_check_header_mongrel
2261
2262 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2263 # --------------------------------------------
2264 # Tries to find the compile-time value of EXPR in a program that includes
2265 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2266 # computed
2267 ac_fn_c_compute_int ()
2268 {
2269 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2270 if test "$cross_compiling" = yes; then
2271 # Depending upon the size, compute the lo and hi bounds.
2272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2273 /* end confdefs.h. */
2274 $4
2275 int
2276 main ()
2277 {
2278 static int test_array [1 - 2 * !(($2) >= 0)];
2279 test_array [0] = 0
2280
2281 ;
2282 return 0;
2283 }
2284 _ACEOF
2285 if ac_fn_c_try_compile "$LINENO"; then :
2286 ac_lo=0 ac_mid=0
2287 while :; do
2288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2289 /* end confdefs.h. */
2290 $4
2291 int
2292 main ()
2293 {
2294 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2295 test_array [0] = 0
2296
2297 ;
2298 return 0;
2299 }
2300 _ACEOF
2301 if ac_fn_c_try_compile "$LINENO"; then :
2302 ac_hi=$ac_mid; break
2303 else
2304 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2305 if test $ac_lo -le $ac_mid; then
2306 ac_lo= ac_hi=
2307 break
2308 fi
2309 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2310 fi
2311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2312 done
2313 else
2314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2315 /* end confdefs.h. */
2316 $4
2317 int
2318 main ()
2319 {
2320 static int test_array [1 - 2 * !(($2) < 0)];
2321 test_array [0] = 0
2322
2323 ;
2324 return 0;
2325 }
2326 _ACEOF
2327 if ac_fn_c_try_compile "$LINENO"; then :
2328 ac_hi=-1 ac_mid=-1
2329 while :; do
2330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2331 /* end confdefs.h. */
2332 $4
2333 int
2334 main ()
2335 {
2336 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2337 test_array [0] = 0
2338
2339 ;
2340 return 0;
2341 }
2342 _ACEOF
2343 if ac_fn_c_try_compile "$LINENO"; then :
2344 ac_lo=$ac_mid; break
2345 else
2346 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2347 if test $ac_mid -le $ac_hi; then
2348 ac_lo= ac_hi=
2349 break
2350 fi
2351 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2352 fi
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 done
2355 else
2356 ac_lo= ac_hi=
2357 fi
2358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2359 fi
2360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2361 # Binary search between lo and hi bounds.
2362 while test "x$ac_lo" != "x$ac_hi"; do
2363 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2365 /* end confdefs.h. */
2366 $4
2367 int
2368 main ()
2369 {
2370 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2371 test_array [0] = 0
2372
2373 ;
2374 return 0;
2375 }
2376 _ACEOF
2377 if ac_fn_c_try_compile "$LINENO"; then :
2378 ac_hi=$ac_mid
2379 else
2380 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2381 fi
2382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2383 done
2384 case $ac_lo in #((
2385 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2386 '') ac_retval=1 ;;
2387 esac
2388 else
2389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2390 /* end confdefs.h. */
2391 $4
2392 static long int longval () { return $2; }
2393 static unsigned long int ulongval () { return $2; }
2394 #include <stdio.h>
2395 #include <stdlib.h>
2396 int
2397 main ()
2398 {
2399
2400 FILE *f = fopen ("conftest.val", "w");
2401 if (! f)
2402 return 1;
2403 if (($2) < 0)
2404 {
2405 long int i = longval ();
2406 if (i != ($2))
2407 return 1;
2408 fprintf (f, "%ld", i);
2409 }
2410 else
2411 {
2412 unsigned long int i = ulongval ();
2413 if (i != ($2))
2414 return 1;
2415 fprintf (f, "%lu", i);
2416 }
2417 /* Do not output a trailing newline, as this causes \r\n confusion
2418 on some platforms. */
2419 return ferror (f) || fclose (f) != 0;
2420
2421 ;
2422 return 0;
2423 }
2424 _ACEOF
2425 if ac_fn_c_try_run "$LINENO"; then :
2426 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2427 else
2428 ac_retval=1
2429 fi
2430 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2431 conftest.$ac_objext conftest.beam conftest.$ac_ext
2432 rm -f conftest.val
2433
2434 fi
2435 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2436 return $ac_retval
2437
2438 } # ac_fn_c_compute_int
2439
2440 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2441 # -------------------------------------------
2442 # Tests whether TYPE exists after having included INCLUDES, setting cache
2443 # variable VAR accordingly.
2444 ac_fn_c_check_type ()
2445 {
2446 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2448 $as_echo_n "checking for $2... " >&6; }
2449 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2450 $as_echo_n "(cached) " >&6
2451 else
2452 eval "$3=no"
2453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2454 /* end confdefs.h. */
2455 $4
2456 int
2457 main ()
2458 {
2459 if (sizeof ($2))
2460 return 0;
2461 ;
2462 return 0;
2463 }
2464 _ACEOF
2465 if ac_fn_c_try_compile "$LINENO"; then :
2466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2467 /* end confdefs.h. */
2468 $4
2469 int
2470 main ()
2471 {
2472 if (sizeof (($2)))
2473 return 0;
2474 ;
2475 return 0;
2476 }
2477 _ACEOF
2478 if ac_fn_c_try_compile "$LINENO"; then :
2479
2480 else
2481 eval "$3=yes"
2482 fi
2483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2484 fi
2485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2486 fi
2487 eval ac_res=\$$3
2488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2489 $as_echo "$ac_res" >&6; }
2490 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2491
2492 } # ac_fn_c_check_type
2493 cat >config.log <<_ACEOF
2494 This file contains any messages produced by compilers while
2495 running configure, to aid debugging if configure makes a mistake.
2496
2497 It was created by package-unused $as_me version-unused, which was
2498 generated by GNU Autoconf 2.64. Invocation command line was
2499
2500 $ $0 $@
2501
2502 _ACEOF
2503 exec 5>>config.log
2504 {
2505 cat <<_ASUNAME
2506 ## --------- ##
2507 ## Platform. ##
2508 ## --------- ##
2509
2510 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2511 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2512 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2513 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2514 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2515
2516 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2517 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2518
2519 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2520 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2521 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2522 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2523 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2524 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2525 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2526
2527 _ASUNAME
2528
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 for as_dir in $PATH
2531 do
2532 IFS=$as_save_IFS
2533 test -z "$as_dir" && as_dir=.
2534 $as_echo "PATH: $as_dir"
2535 done
2536 IFS=$as_save_IFS
2537
2538 } >&5
2539
2540 cat >&5 <<_ACEOF
2541
2542
2543 ## ----------- ##
2544 ## Core tests. ##
2545 ## ----------- ##
2546
2547 _ACEOF
2548
2549
2550 # Keep a trace of the command line.
2551 # Strip out --no-create and --no-recursion so they do not pile up.
2552 # Strip out --silent because we don't want to record it for future runs.
2553 # Also quote any args containing shell meta-characters.
2554 # Make two passes to allow for proper duplicate-argument suppression.
2555 ac_configure_args=
2556 ac_configure_args0=
2557 ac_configure_args1=
2558 ac_must_keep_next=false
2559 for ac_pass in 1 2
2560 do
2561 for ac_arg
2562 do
2563 case $ac_arg in
2564 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2565 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2566 | -silent | --silent | --silen | --sile | --sil)
2567 continue ;;
2568 *\'*)
2569 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2570 esac
2571 case $ac_pass in
2572 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2573 2)
2574 as_fn_append ac_configure_args1 " '$ac_arg'"
2575 if test $ac_must_keep_next = true; then
2576 ac_must_keep_next=false # Got value, back to normal.
2577 else
2578 case $ac_arg in
2579 *=* | --config-cache | -C | -disable-* | --disable-* \
2580 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2581 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2582 | -with-* | --with-* | -without-* | --without-* | --x)
2583 case "$ac_configure_args0 " in
2584 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2585 esac
2586 ;;
2587 -* ) ac_must_keep_next=true ;;
2588 esac
2589 fi
2590 as_fn_append ac_configure_args " '$ac_arg'"
2591 ;;
2592 esac
2593 done
2594 done
2595 { ac_configure_args0=; unset ac_configure_args0;}
2596 { ac_configure_args1=; unset ac_configure_args1;}
2597
2598 # When interrupted or exit'd, cleanup temporary files, and complete
2599 # config.log. We remove comments because anyway the quotes in there
2600 # would cause problems or look ugly.
2601 # WARNING: Use '\'' to represent an apostrophe within the trap.
2602 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2603 trap 'exit_status=$?
2604 # Save into config.log some information that might help in debugging.
2605 {
2606 echo
2607
2608 cat <<\_ASBOX
2609 ## ---------------- ##
2610 ## Cache variables. ##
2611 ## ---------------- ##
2612 _ASBOX
2613 echo
2614 # The following way of writing the cache mishandles newlines in values,
2615 (
2616 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2617 eval ac_val=\$$ac_var
2618 case $ac_val in #(
2619 *${as_nl}*)
2620 case $ac_var in #(
2621 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2622 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2623 esac
2624 case $ac_var in #(
2625 _ | IFS | as_nl) ;; #(
2626 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2627 *) { eval $ac_var=; unset $ac_var;} ;;
2628 esac ;;
2629 esac
2630 done
2631 (set) 2>&1 |
2632 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2633 *${as_nl}ac_space=\ *)
2634 sed -n \
2635 "s/'\''/'\''\\\\'\'''\''/g;
2636 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2637 ;; #(
2638 *)
2639 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2640 ;;
2641 esac |
2642 sort
2643 )
2644 echo
2645
2646 cat <<\_ASBOX
2647 ## ----------------- ##
2648 ## Output variables. ##
2649 ## ----------------- ##
2650 _ASBOX
2651 echo
2652 for ac_var in $ac_subst_vars
2653 do
2654 eval ac_val=\$$ac_var
2655 case $ac_val in
2656 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2657 esac
2658 $as_echo "$ac_var='\''$ac_val'\''"
2659 done | sort
2660 echo
2661
2662 if test -n "$ac_subst_files"; then
2663 cat <<\_ASBOX
2664 ## ------------------- ##
2665 ## File substitutions. ##
2666 ## ------------------- ##
2667 _ASBOX
2668 echo
2669 for ac_var in $ac_subst_files
2670 do
2671 eval ac_val=\$$ac_var
2672 case $ac_val in
2673 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2674 esac
2675 $as_echo "$ac_var='\''$ac_val'\''"
2676 done | sort
2677 echo
2678 fi
2679
2680 if test -s confdefs.h; then
2681 cat <<\_ASBOX
2682 ## ----------- ##
2683 ## confdefs.h. ##
2684 ## ----------- ##
2685 _ASBOX
2686 echo
2687 cat confdefs.h
2688 echo
2689 fi
2690 test "$ac_signal" != 0 &&
2691 $as_echo "$as_me: caught signal $ac_signal"
2692 $as_echo "$as_me: exit $exit_status"
2693 } >&5
2694 rm -f core *.core core.conftest.* &&
2695 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2696 exit $exit_status
2697 ' 0
2698 for ac_signal in 1 2 13 15; do
2699 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2700 done
2701 ac_signal=0
2702
2703 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2704 rm -f -r conftest* confdefs.h
2705
2706 $as_echo "/* confdefs.h */" > confdefs.h
2707
2708 # Predefined preprocessor variables.
2709
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_NAME "$PACKAGE_NAME"
2712 _ACEOF
2713
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2716 _ACEOF
2717
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2720 _ACEOF
2721
2722 cat >>confdefs.h <<_ACEOF
2723 #define PACKAGE_STRING "$PACKAGE_STRING"
2724 _ACEOF
2725
2726 cat >>confdefs.h <<_ACEOF
2727 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2728 _ACEOF
2729
2730 cat >>confdefs.h <<_ACEOF
2731 #define PACKAGE_URL "$PACKAGE_URL"
2732 _ACEOF
2733
2734
2735 # Let the site file select an alternate cache file if it wants to.
2736 # Prefer an explicitly selected file to automatically selected ones.
2737 ac_site_file1=NONE
2738 ac_site_file2=NONE
2739 if test -n "$CONFIG_SITE"; then
2740 ac_site_file1=$CONFIG_SITE
2741 elif test "x$prefix" != xNONE; then
2742 ac_site_file1=$prefix/share/config.site
2743 ac_site_file2=$prefix/etc/config.site
2744 else
2745 ac_site_file1=$ac_default_prefix/share/config.site
2746 ac_site_file2=$ac_default_prefix/etc/config.site
2747 fi
2748 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2749 do
2750 test "x$ac_site_file" = xNONE && continue
2751 if test -r "$ac_site_file"; then
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2753 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2754 sed 's/^/| /' "$ac_site_file" >&5
2755 . "$ac_site_file"
2756 fi
2757 done
2758
2759 if test -r "$cache_file"; then
2760 # Some versions of bash will fail to source /dev/null (special
2761 # files actually), so we avoid doing that.
2762 if test -f "$cache_file"; then
2763 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2764 $as_echo "$as_me: loading cache $cache_file" >&6;}
2765 case $cache_file in
2766 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2767 *) . "./$cache_file";;
2768 esac
2769 fi
2770 else
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2772 $as_echo "$as_me: creating cache $cache_file" >&6;}
2773 >$cache_file
2774 fi
2775
2776 # Check that the precious variables saved in the cache have kept the same
2777 # value.
2778 ac_cache_corrupted=false
2779 for ac_var in $ac_precious_vars; do
2780 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2781 eval ac_new_set=\$ac_env_${ac_var}_set
2782 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2783 eval ac_new_val=\$ac_env_${ac_var}_value
2784 case $ac_old_set,$ac_new_set in
2785 set,)
2786 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2787 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2788 ac_cache_corrupted=: ;;
2789 ,set)
2790 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2791 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2792 ac_cache_corrupted=: ;;
2793 ,);;
2794 *)
2795 if test "x$ac_old_val" != "x$ac_new_val"; then
2796 # differences in whitespace do not lead to failure.
2797 ac_old_val_w=`echo x $ac_old_val`
2798 ac_new_val_w=`echo x $ac_new_val`
2799 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2801 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2802 ac_cache_corrupted=:
2803 else
2804 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2805 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2806 eval $ac_var=\$ac_old_val
2807 fi
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2809 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2811 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2812 fi;;
2813 esac
2814 # Pass precious variables to config.status.
2815 if test "$ac_new_set" = set; then
2816 case $ac_new_val in
2817 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2818 *) ac_arg=$ac_var=$ac_new_val ;;
2819 esac
2820 case " $ac_configure_args " in
2821 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2822 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2823 esac
2824 fi
2825 done
2826 if $ac_cache_corrupted; then
2827 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2828 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2830 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2831 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2832 fi
2833 ## -------------------- ##
2834 ## Main body of script. ##
2835 ## -------------------- ##
2836
2837 ac_ext=c
2838 ac_cpp='$CPP $CPPFLAGS'
2839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2842
2843
2844
2845
2846
2847
2848 ac_config_headers="$ac_config_headers config.h"
2849
2850
2851 # This works around the fact that libtool configuration may change LD
2852 # for this particular configuration, but some shells, instead of
2853 # keeping the changes in LD private, export them just because LD is
2854 # exported. Only used at the end of this file.
2855 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2856
2857 # Find the rest of the source tree framework.
2858 # Default to --enable-multilib
2859 # Check whether --enable-multilib was given.
2860 if test "${enable_multilib+set}" = set; then :
2861 enableval=$enable_multilib; case "$enableval" in
2862 yes) multilib=yes ;;
2863 no) multilib=no ;;
2864 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2865 esac
2866 else
2867 multilib=yes
2868 fi
2869
2870
2871 # We may get other options which we leave undocumented:
2872 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2873 # See config-ml.in if you want the gory details.
2874
2875 if test "$srcdir" = "."; then
2876 if test "$with_target_subdir" != "."; then
2877 multi_basedir="$srcdir/$with_multisrctop../.."
2878 else
2879 multi_basedir="$srcdir/$with_multisrctop.."
2880 fi
2881 else
2882 multi_basedir="$srcdir/.."
2883 fi
2884
2885
2886 # Even if the default multilib is not a cross compilation,
2887 # it may be that some of the other multilibs are.
2888 if test $cross_compiling = no && test $multilib = yes \
2889 && test "x${with_multisubdir}" != x ; then
2890 cross_compiling=maybe
2891 fi
2892
2893 ac_config_commands="$ac_config_commands default-1"
2894
2895
2896 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2897 #
2898 # You will slowly go insane if you do not grok the following fact: when
2899 # building v3 as part of the compiler, the top-level /target/ becomes the
2900 # library's /host/. configure then causes --target to default to --host,
2901 # exactly like any other package using autoconf. Therefore, 'target' and
2902 # 'host' will always be the same. This makes sense both for native and
2903 # cross compilers, just think about it for a little while. :-)
2904 #
2905 # Also, if v3 is being configured as part of a cross compiler, the top-level
2906 # configure script will pass the "real" host as $with_cross_host.
2907 #
2908 # Do not delete or change the following two lines. For why, see
2909 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2910 ac_aux_dir=
2911 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2912 for ac_t in install-sh install.sh shtool; do
2913 if test -f "$ac_dir/$ac_t"; then
2914 ac_aux_dir=$ac_dir
2915 ac_install_sh="$ac_aux_dir/$ac_t -c"
2916 break 2
2917 fi
2918 done
2919 done
2920 if test -z "$ac_aux_dir"; then
2921 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2922 fi
2923
2924 # These three variables are undocumented and unsupported,
2925 # and are intended to be withdrawn in a future Autoconf release.
2926 # They can cause serious problems if a builder's source tree is in a directory
2927 # whose full name contains unusual characters.
2928 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2929 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2930 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2931
2932
2933 # Make sure we can run config.sub.
2934 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2935 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2936
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2938 $as_echo_n "checking build system type... " >&6; }
2939 if test "${ac_cv_build+set}" = set; then :
2940 $as_echo_n "(cached) " >&6
2941 else
2942 ac_build_alias=$build_alias
2943 test "x$ac_build_alias" = x &&
2944 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2945 test "x$ac_build_alias" = x &&
2946 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2947 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2948 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2949
2950 fi
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2952 $as_echo "$ac_cv_build" >&6; }
2953 case $ac_cv_build in
2954 *-*-*) ;;
2955 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2956 esac
2957 build=$ac_cv_build
2958 ac_save_IFS=$IFS; IFS='-'
2959 set x $ac_cv_build
2960 shift
2961 build_cpu=$1
2962 build_vendor=$2
2963 shift; shift
2964 # Remember, the first character of IFS is used to create $*,
2965 # except with old shells:
2966 build_os=$*
2967 IFS=$ac_save_IFS
2968 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2969
2970
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2972 $as_echo_n "checking host system type... " >&6; }
2973 if test "${ac_cv_host+set}" = set; then :
2974 $as_echo_n "(cached) " >&6
2975 else
2976 if test "x$host_alias" = x; then
2977 ac_cv_host=$ac_cv_build
2978 else
2979 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2980 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2981 fi
2982
2983 fi
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2985 $as_echo "$ac_cv_host" >&6; }
2986 case $ac_cv_host in
2987 *-*-*) ;;
2988 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2989 esac
2990 host=$ac_cv_host
2991 ac_save_IFS=$IFS; IFS='-'
2992 set x $ac_cv_host
2993 shift
2994 host_cpu=$1
2995 host_vendor=$2
2996 shift; shift
2997 # Remember, the first character of IFS is used to create $*,
2998 # except with old shells:
2999 host_os=$*
3000 IFS=$ac_save_IFS
3001 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3002
3003
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3005 $as_echo_n "checking target system type... " >&6; }
3006 if test "${ac_cv_target+set}" = set; then :
3007 $as_echo_n "(cached) " >&6
3008 else
3009 if test "x$target_alias" = x; then
3010 ac_cv_target=$ac_cv_host
3011 else
3012 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3014 fi
3015
3016 fi
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3018 $as_echo "$ac_cv_target" >&6; }
3019 case $ac_cv_target in
3020 *-*-*) ;;
3021 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3022 esac
3023 target=$ac_cv_target
3024 ac_save_IFS=$IFS; IFS='-'
3025 set x $ac_cv_target
3026 shift
3027 target_cpu=$1
3028 target_vendor=$2
3029 shift; shift
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3032 target_os=$*
3033 IFS=$ac_save_IFS
3034 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3035
3036
3037 # The aliases save the names the user supplied, while $host etc.
3038 # will get canonicalized.
3039 test -n "$target_alias" &&
3040 test "$program_prefix$program_suffix$program_transform_name" = \
3041 NONENONEs,x,x, &&
3042 program_prefix=${target_alias}-
3043
3044 target_alias=${target_alias-$host_alias}
3045
3046 # Handy for debugging:
3047 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3048
3049 if test "$build" != "$host"; then
3050 # We are being configured with some form of cross compiler.
3051 GLIBCXX_IS_NATIVE=false
3052 case "$host","$target" in
3053 # Darwin crosses can use the host system's libraries and headers,
3054 # because of the fat library support. Of course, it must be the
3055 # same version of Darwin on both sides. Allow the user to
3056 # just say --target=foo-darwin without a version number to mean
3057 # "the version on this system".
3058 *-*-darwin*,*-*-darwin*)
3059 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3060 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3061 if test $hostos = $targetos -o $targetos = darwin ; then
3062 GLIBCXX_IS_NATIVE=true
3063 fi
3064 ;;
3065
3066 *)
3067
3068 ;;
3069 esac
3070 else
3071 GLIBCXX_IS_NATIVE=true
3072 fi
3073
3074 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3075 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3076 # 1.x: minimum required version
3077 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3078 # of other PACKAGE_* variables will, however, and there's nothing
3079 # we can do about that; they come from AC_INIT).
3080 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3081 # file in the top srcdir, etc, etc), so stop complaining.
3082 # no-dependencies: turns off auto dependency generation (just for now)
3083 # no-dist: we don't want 'dist' and related rules.
3084 # -Wall: turns on all automake warnings...
3085 # -Wno-portability: ...except this one, since GNU make is now required.
3086 am__api_version='1.11'
3087
3088 # Find a good install program. We prefer a C program (faster),
3089 # so one script is as good as another. But avoid the broken or
3090 # incompatible versions:
3091 # SysV /etc/install, /usr/sbin/install
3092 # SunOS /usr/etc/install
3093 # IRIX /sbin/install
3094 # AIX /bin/install
3095 # AmigaOS /C/install, which installs bootblocks on floppy discs
3096 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3097 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3098 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3099 # OS/2's system install, which has a completely different semantic
3100 # ./install, which can be erroneously created by make from ./install.sh.
3101 # Reject install programs that cannot install multiple files.
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3103 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3104 if test -z "$INSTALL"; then
3105 if test "${ac_cv_path_install+set}" = set; then :
3106 $as_echo_n "(cached) " >&6
3107 else
3108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3109 for as_dir in $PATH
3110 do
3111 IFS=$as_save_IFS
3112 test -z "$as_dir" && as_dir=.
3113 # Account for people who put trailing slashes in PATH elements.
3114 case $as_dir/ in #((
3115 ./ | .// | /[cC]/* | \
3116 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3117 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3118 /usr/ucb/* ) ;;
3119 *)
3120 # OSF1 and SCO ODT 3.0 have their own names for install.
3121 # Don't use installbsd from OSF since it installs stuff as root
3122 # by default.
3123 for ac_prog in ginstall scoinst install; do
3124 for ac_exec_ext in '' $ac_executable_extensions; do
3125 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3126 if test $ac_prog = install &&
3127 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3128 # AIX install. It has an incompatible calling convention.
3129 :
3130 elif test $ac_prog = install &&
3131 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3132 # program-specific install script used by HP pwplus--don't use.
3133 :
3134 else
3135 rm -rf conftest.one conftest.two conftest.dir
3136 echo one > conftest.one
3137 echo two > conftest.two
3138 mkdir conftest.dir
3139 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3140 test -s conftest.one && test -s conftest.two &&
3141 test -s conftest.dir/conftest.one &&
3142 test -s conftest.dir/conftest.two
3143 then
3144 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3145 break 3
3146 fi
3147 fi
3148 fi
3149 done
3150 done
3151 ;;
3152 esac
3153
3154 done
3155 IFS=$as_save_IFS
3156
3157 rm -rf conftest.one conftest.two conftest.dir
3158
3159 fi
3160 if test "${ac_cv_path_install+set}" = set; then
3161 INSTALL=$ac_cv_path_install
3162 else
3163 # As a last resort, use the slow shell script. Don't cache a
3164 # value for INSTALL within a source directory, because that will
3165 # break other packages using the cache if that directory is
3166 # removed, or if the value is a relative name.
3167 INSTALL=$ac_install_sh
3168 fi
3169 fi
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3171 $as_echo "$INSTALL" >&6; }
3172
3173 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3174 # It thinks the first close brace ends the variable substitution.
3175 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3176
3177 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3178
3179 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3180
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3182 $as_echo_n "checking whether build environment is sane... " >&6; }
3183 # Just in case
3184 sleep 1
3185 echo timestamp > conftest.file
3186 # Reject unsafe characters in $srcdir or the absolute working directory
3187 # name. Accept space and tab only in the latter.
3188 am_lf='
3189 '
3190 case `pwd` in
3191 *[\\\"\#\$\&\'\`$am_lf]*)
3192 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3193 esac
3194 case $srcdir in
3195 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3196 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3197 esac
3198
3199 # Do `set' in a subshell so we don't clobber the current shell's
3200 # arguments. Must try -L first in case configure is actually a
3201 # symlink; some systems play weird games with the mod time of symlinks
3202 # (eg FreeBSD returns the mod time of the symlink's containing
3203 # directory).
3204 if (
3205 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3206 if test "$*" = "X"; then
3207 # -L didn't work.
3208 set X `ls -t "$srcdir/configure" conftest.file`
3209 fi
3210 rm -f conftest.file
3211 if test "$*" != "X $srcdir/configure conftest.file" \
3212 && test "$*" != "X conftest.file $srcdir/configure"; then
3213
3214 # If neither matched, then we have a broken ls. This can happen
3215 # if, for instance, CONFIG_SHELL is bash and it inherits a
3216 # broken ls alias from the environment. This has actually
3217 # happened. Such a system could not be considered "sane".
3218 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3219 alias in your environment" "$LINENO" 5
3220 fi
3221
3222 test "$2" = conftest.file
3223 )
3224 then
3225 # Ok.
3226 :
3227 else
3228 as_fn_error "newly created file is older than distributed files!
3229 Check your system clock" "$LINENO" 5
3230 fi
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3232 $as_echo "yes" >&6; }
3233 test "$program_prefix" != NONE &&
3234 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3235 # Use a double $ so make ignores it.
3236 test "$program_suffix" != NONE &&
3237 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3238 # Double any \ or $.
3239 # By default was `s,x,x', remove it if useless.
3240 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3241 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3242
3243 # expand $ac_aux_dir to an absolute path
3244 am_aux_dir=`cd $ac_aux_dir && pwd`
3245
3246 if test x"${MISSING+set}" != xset; then
3247 case $am_aux_dir in
3248 *\ * | *\ *)
3249 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3250 *)
3251 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3252 esac
3253 fi
3254 # Use eval to expand $SHELL
3255 if eval "$MISSING --run true"; then
3256 am_missing_run="$MISSING --run "
3257 else
3258 am_missing_run=
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3260 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3261 fi
3262
3263 if test x"${install_sh}" != xset; then
3264 case $am_aux_dir in
3265 *\ * | *\ *)
3266 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3267 *)
3268 install_sh="\${SHELL} $am_aux_dir/install-sh"
3269 esac
3270 fi
3271
3272 # Installed binaries are usually stripped using `strip' when the user
3273 # run `make install-strip'. However `strip' might not be the right
3274 # tool to use in cross-compilation environments, therefore Automake
3275 # will honor the `STRIP' environment variable to overrule this program.
3276 if test "$cross_compiling" != no; then
3277 if test -n "$ac_tool_prefix"; then
3278 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3279 set dummy ${ac_tool_prefix}strip; ac_word=$2
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3281 $as_echo_n "checking for $ac_word... " >&6; }
3282 if test "${ac_cv_prog_STRIP+set}" = set; then :
3283 $as_echo_n "(cached) " >&6
3284 else
3285 if test -n "$STRIP"; then
3286 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3287 else
3288 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 for as_dir in $PATH
3290 do
3291 IFS=$as_save_IFS
3292 test -z "$as_dir" && as_dir=.
3293 for ac_exec_ext in '' $ac_executable_extensions; do
3294 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3295 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3296 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3297 break 2
3298 fi
3299 done
3300 done
3301 IFS=$as_save_IFS
3302
3303 fi
3304 fi
3305 STRIP=$ac_cv_prog_STRIP
3306 if test -n "$STRIP"; then
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3308 $as_echo "$STRIP" >&6; }
3309 else
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3311 $as_echo "no" >&6; }
3312 fi
3313
3314
3315 fi
3316 if test -z "$ac_cv_prog_STRIP"; then
3317 ac_ct_STRIP=$STRIP
3318 # Extract the first word of "strip", so it can be a program name with args.
3319 set dummy strip; ac_word=$2
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3321 $as_echo_n "checking for $ac_word... " >&6; }
3322 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3323 $as_echo_n "(cached) " >&6
3324 else
3325 if test -n "$ac_ct_STRIP"; then
3326 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3327 else
3328 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3329 for as_dir in $PATH
3330 do
3331 IFS=$as_save_IFS
3332 test -z "$as_dir" && as_dir=.
3333 for ac_exec_ext in '' $ac_executable_extensions; do
3334 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3335 ac_cv_prog_ac_ct_STRIP="strip"
3336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3337 break 2
3338 fi
3339 done
3340 done
3341 IFS=$as_save_IFS
3342
3343 fi
3344 fi
3345 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3346 if test -n "$ac_ct_STRIP"; then
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3348 $as_echo "$ac_ct_STRIP" >&6; }
3349 else
3350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3351 $as_echo "no" >&6; }
3352 fi
3353
3354 if test "x$ac_ct_STRIP" = x; then
3355 STRIP=":"
3356 else
3357 case $cross_compiling:$ac_tool_warned in
3358 yes:)
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3360 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3361 ac_tool_warned=yes ;;
3362 esac
3363 STRIP=$ac_ct_STRIP
3364 fi
3365 else
3366 STRIP="$ac_cv_prog_STRIP"
3367 fi
3368
3369 fi
3370 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3371
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3373 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3374 if test -z "$MKDIR_P"; then
3375 if test "${ac_cv_path_mkdir+set}" = set; then :
3376 $as_echo_n "(cached) " >&6
3377 else
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3380 do
3381 IFS=$as_save_IFS
3382 test -z "$as_dir" && as_dir=.
3383 for ac_prog in mkdir gmkdir; do
3384 for ac_exec_ext in '' $ac_executable_extensions; do
3385 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3386 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3387 'mkdir (GNU coreutils) '* | \
3388 'mkdir (coreutils) '* | \
3389 'mkdir (fileutils) '4.1*)
3390 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3391 break 3;;
3392 esac
3393 done
3394 done
3395 done
3396 IFS=$as_save_IFS
3397
3398 fi
3399
3400 if test "${ac_cv_path_mkdir+set}" = set; then
3401 MKDIR_P="$ac_cv_path_mkdir -p"
3402 else
3403 # As a last resort, use the slow shell script. Don't cache a
3404 # value for MKDIR_P within a source directory, because that will
3405 # break other packages using the cache if that directory is
3406 # removed, or if the value is a relative name.
3407 test -d ./--version && rmdir ./--version
3408 MKDIR_P="$ac_install_sh -d"
3409 fi
3410 fi
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3412 $as_echo "$MKDIR_P" >&6; }
3413
3414 mkdir_p="$MKDIR_P"
3415 case $mkdir_p in
3416 [\\/$]* | ?:[\\/]*) ;;
3417 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3418 esac
3419
3420 for ac_prog in gawk mawk nawk awk
3421 do
3422 # Extract the first word of "$ac_prog", so it can be a program name with args.
3423 set dummy $ac_prog; ac_word=$2
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425 $as_echo_n "checking for $ac_word... " >&6; }
3426 if test "${ac_cv_prog_AWK+set}" = set; then :
3427 $as_echo_n "(cached) " >&6
3428 else
3429 if test -n "$AWK"; then
3430 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3431 else
3432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 for as_dir in $PATH
3434 do
3435 IFS=$as_save_IFS
3436 test -z "$as_dir" && as_dir=.
3437 for ac_exec_ext in '' $ac_executable_extensions; do
3438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3439 ac_cv_prog_AWK="$ac_prog"
3440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441 break 2
3442 fi
3443 done
3444 done
3445 IFS=$as_save_IFS
3446
3447 fi
3448 fi
3449 AWK=$ac_cv_prog_AWK
3450 if test -n "$AWK"; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3452 $as_echo "$AWK" >&6; }
3453 else
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455 $as_echo "no" >&6; }
3456 fi
3457
3458
3459 test -n "$AWK" && break
3460 done
3461
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3463 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3464 set x ${MAKE-make}
3465 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3466 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3467 $as_echo_n "(cached) " >&6
3468 else
3469 cat >conftest.make <<\_ACEOF
3470 SHELL = /bin/sh
3471 all:
3472 @echo '@@@%%%=$(MAKE)=@@@%%%'
3473 _ACEOF
3474 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3475 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3476 *@@@%%%=?*=@@@%%%*)
3477 eval ac_cv_prog_make_${ac_make}_set=yes;;
3478 *)
3479 eval ac_cv_prog_make_${ac_make}_set=no;;
3480 esac
3481 rm -f conftest.make
3482 fi
3483 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3485 $as_echo "yes" >&6; }
3486 SET_MAKE=
3487 else
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3489 $as_echo "no" >&6; }
3490 SET_MAKE="MAKE=${MAKE-make}"
3491 fi
3492
3493 rm -rf .tst 2>/dev/null
3494 mkdir .tst 2>/dev/null
3495 if test -d .tst; then
3496 am__leading_dot=.
3497 else
3498 am__leading_dot=_
3499 fi
3500 rmdir .tst 2>/dev/null
3501
3502 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3503 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3504 # is not polluted with repeated "-I."
3505 am__isrc=' -I$(srcdir)'
3506 # test to see if srcdir already configured
3507 if test -f $srcdir/config.status; then
3508 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3509 fi
3510 fi
3511
3512 # test whether we have cygpath
3513 if test -z "$CYGPATH_W"; then
3514 if (cygpath --version) >/dev/null 2>/dev/null; then
3515 CYGPATH_W='cygpath -w'
3516 else
3517 CYGPATH_W=echo
3518 fi
3519 fi
3520
3521
3522 # Define the identity of the package.
3523 PACKAGE='libstdc++'
3524 VERSION='version-unused'
3525
3526
3527 # Some tools Automake needs.
3528
3529 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3530
3531
3532 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3533
3534
3535 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3536
3537
3538 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3539
3540
3541 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3542
3543 # We need awk for the "check" target. The system "awk" is bad on
3544 # some platforms.
3545 # Always define AMTAR for backward compatibility.
3546
3547 AMTAR=${AMTAR-"${am_missing_run}tar"}
3548
3549 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3550
3551
3552
3553
3554
3555
3556
3557
3558 # -fno-builtin must be present here so that a non-conflicting form of
3559 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3560
3561 save_CXXFLAGS="$CXXFLAGS"
3562 CXXFLAGS="$CXXFLAGS -fno-builtin"
3563 ac_ext=c
3564 ac_cpp='$CPP $CPPFLAGS'
3565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3568 if test -n "$ac_tool_prefix"; then
3569 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3570 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3572 $as_echo_n "checking for $ac_word... " >&6; }
3573 if test "${ac_cv_prog_CC+set}" = set; then :
3574 $as_echo_n "(cached) " >&6
3575 else
3576 if test -n "$CC"; then
3577 ac_cv_prog_CC="$CC" # Let the user override the test.
3578 else
3579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3580 for as_dir in $PATH
3581 do
3582 IFS=$as_save_IFS
3583 test -z "$as_dir" && as_dir=.
3584 for ac_exec_ext in '' $ac_executable_extensions; do
3585 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3586 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3588 break 2
3589 fi
3590 done
3591 done
3592 IFS=$as_save_IFS
3593
3594 fi
3595 fi
3596 CC=$ac_cv_prog_CC
3597 if test -n "$CC"; then
3598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3599 $as_echo "$CC" >&6; }
3600 else
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3602 $as_echo "no" >&6; }
3603 fi
3604
3605
3606 fi
3607 if test -z "$ac_cv_prog_CC"; then
3608 ac_ct_CC=$CC
3609 # Extract the first word of "gcc", so it can be a program name with args.
3610 set dummy gcc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3615 else
3616 if test -n "$ac_ct_CC"; then
3617 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3618 else
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH
3621 do
3622 IFS=$as_save_IFS
3623 test -z "$as_dir" && as_dir=.
3624 for ac_exec_ext in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_ac_ct_CC="gcc"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 break 2
3629 fi
3630 done
3631 done
3632 IFS=$as_save_IFS
3633
3634 fi
3635 fi
3636 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3637 if test -n "$ac_ct_CC"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3639 $as_echo "$ac_ct_CC" >&6; }
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3643 fi
3644
3645 if test "x$ac_ct_CC" = x; then
3646 CC=""
3647 else
3648 case $cross_compiling:$ac_tool_warned in
3649 yes:)
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3651 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3652 ac_tool_warned=yes ;;
3653 esac
3654 CC=$ac_ct_CC
3655 fi
3656 else
3657 CC="$ac_cv_prog_CC"
3658 fi
3659
3660 if test -z "$CC"; then
3661 if test -n "$ac_tool_prefix"; then
3662 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3663 set dummy ${ac_tool_prefix}cc; ac_word=$2
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3665 $as_echo_n "checking for $ac_word... " >&6; }
3666 if test "${ac_cv_prog_CC+set}" = set; then :
3667 $as_echo_n "(cached) " >&6
3668 else
3669 if test -n "$CC"; then
3670 ac_cv_prog_CC="$CC" # Let the user override the test.
3671 else
3672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3673 for as_dir in $PATH
3674 do
3675 IFS=$as_save_IFS
3676 test -z "$as_dir" && as_dir=.
3677 for ac_exec_ext in '' $ac_executable_extensions; do
3678 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3679 ac_cv_prog_CC="${ac_tool_prefix}cc"
3680 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3681 break 2
3682 fi
3683 done
3684 done
3685 IFS=$as_save_IFS
3686
3687 fi
3688 fi
3689 CC=$ac_cv_prog_CC
3690 if test -n "$CC"; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3692 $as_echo "$CC" >&6; }
3693 else
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3696 fi
3697
3698
3699 fi
3700 fi
3701 if test -z "$CC"; then
3702 # Extract the first word of "cc", so it can be a program name with args.
3703 set dummy cc; ac_word=$2
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3705 $as_echo_n "checking for $ac_word... " >&6; }
3706 if test "${ac_cv_prog_CC+set}" = set; then :
3707 $as_echo_n "(cached) " >&6
3708 else
3709 if test -n "$CC"; then
3710 ac_cv_prog_CC="$CC" # Let the user override the test.
3711 else
3712 ac_prog_rejected=no
3713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3714 for as_dir in $PATH
3715 do
3716 IFS=$as_save_IFS
3717 test -z "$as_dir" && as_dir=.
3718 for ac_exec_ext in '' $ac_executable_extensions; do
3719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3720 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3721 ac_prog_rejected=yes
3722 continue
3723 fi
3724 ac_cv_prog_CC="cc"
3725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 break 2
3727 fi
3728 done
3729 done
3730 IFS=$as_save_IFS
3731
3732 if test $ac_prog_rejected = yes; then
3733 # We found a bogon in the path, so make sure we never use it.
3734 set dummy $ac_cv_prog_CC
3735 shift
3736 if test $# != 0; then
3737 # We chose a different compiler from the bogus one.
3738 # However, it has the same basename, so the bogon will be chosen
3739 # first if we set CC to just the basename; use the full file name.
3740 shift
3741 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3742 fi
3743 fi
3744 fi
3745 fi
3746 CC=$ac_cv_prog_CC
3747 if test -n "$CC"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3749 $as_echo "$CC" >&6; }
3750 else
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3753 fi
3754
3755
3756 fi
3757 if test -z "$CC"; then
3758 if test -n "$ac_tool_prefix"; then
3759 for ac_prog in cl.exe
3760 do
3761 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3762 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3764 $as_echo_n "checking for $ac_word... " >&6; }
3765 if test "${ac_cv_prog_CC+set}" = set; then :
3766 $as_echo_n "(cached) " >&6
3767 else
3768 if test -n "$CC"; then
3769 ac_cv_prog_CC="$CC" # Let the user override the test.
3770 else
3771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3772 for as_dir in $PATH
3773 do
3774 IFS=$as_save_IFS
3775 test -z "$as_dir" && as_dir=.
3776 for ac_exec_ext in '' $ac_executable_extensions; do
3777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3778 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3780 break 2
3781 fi
3782 done
3783 done
3784 IFS=$as_save_IFS
3785
3786 fi
3787 fi
3788 CC=$ac_cv_prog_CC
3789 if test -n "$CC"; then
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3791 $as_echo "$CC" >&6; }
3792 else
3793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3794 $as_echo "no" >&6; }
3795 fi
3796
3797
3798 test -n "$CC" && break
3799 done
3800 fi
3801 if test -z "$CC"; then
3802 ac_ct_CC=$CC
3803 for ac_prog in cl.exe
3804 do
3805 # Extract the first word of "$ac_prog", so it can be a program name with args.
3806 set dummy $ac_prog; ac_word=$2
3807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3808 $as_echo_n "checking for $ac_word... " >&6; }
3809 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3810 $as_echo_n "(cached) " >&6
3811 else
3812 if test -n "$ac_ct_CC"; then
3813 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3814 else
3815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3816 for as_dir in $PATH
3817 do
3818 IFS=$as_save_IFS
3819 test -z "$as_dir" && as_dir=.
3820 for ac_exec_ext in '' $ac_executable_extensions; do
3821 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3822 ac_cv_prog_ac_ct_CC="$ac_prog"
3823 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3824 break 2
3825 fi
3826 done
3827 done
3828 IFS=$as_save_IFS
3829
3830 fi
3831 fi
3832 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3833 if test -n "$ac_ct_CC"; then
3834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3835 $as_echo "$ac_ct_CC" >&6; }
3836 else
3837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3838 $as_echo "no" >&6; }
3839 fi
3840
3841
3842 test -n "$ac_ct_CC" && break
3843 done
3844
3845 if test "x$ac_ct_CC" = x; then
3846 CC=""
3847 else
3848 case $cross_compiling:$ac_tool_warned in
3849 yes:)
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3851 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3852 ac_tool_warned=yes ;;
3853 esac
3854 CC=$ac_ct_CC
3855 fi
3856 fi
3857
3858 fi
3859
3860
3861 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3863 as_fn_error "no acceptable C compiler found in \$PATH
3864 See \`config.log' for more details." "$LINENO" 5; }
3865
3866 # Provide some information about the compiler.
3867 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3868 set X $ac_compile
3869 ac_compiler=$2
3870 for ac_option in --version -v -V -qversion; do
3871 { { ac_try="$ac_compiler $ac_option >&5"
3872 case "(($ac_try" in
3873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3874 *) ac_try_echo=$ac_try;;
3875 esac
3876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3877 $as_echo "$ac_try_echo"; } >&5
3878 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3879 ac_status=$?
3880 if test -s conftest.err; then
3881 sed '10a\
3882 ... rest of stderr output deleted ...
3883 10q' conftest.err >conftest.er1
3884 cat conftest.er1 >&5
3885 rm -f conftest.er1 conftest.err
3886 fi
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }
3889 done
3890
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3893
3894 int
3895 main ()
3896 {
3897
3898 ;
3899 return 0;
3900 }
3901 _ACEOF
3902 # FIXME: Cleanup?
3903 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3904 (eval $ac_link) 2>&5
3905 ac_status=$?
3906 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3907 test $ac_status = 0; }; then :
3908 gcc_no_link=no
3909 else
3910 gcc_no_link=yes
3911 fi
3912 if test x$gcc_no_link = xyes; then
3913 # Setting cross_compile will disable run tests; it will
3914 # also disable AC_CHECK_FILE but that's generally
3915 # correct if we can't link.
3916 cross_compiling=yes
3917 EXEEXT=
3918 else
3919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3920 /* end confdefs.h. */
3921
3922 int
3923 main ()
3924 {
3925
3926 ;
3927 return 0;
3928 }
3929 _ACEOF
3930 ac_clean_files_save=$ac_clean_files
3931 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3932 # Try to create an executable without -o first, disregard a.out.
3933 # It will help us diagnose broken compilers, and finding out an intuition
3934 # of exeext.
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3936 $as_echo_n "checking for C compiler default output file name... " >&6; }
3937 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3938
3939 # The possible output files:
3940 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3941
3942 ac_rmfiles=
3943 for ac_file in $ac_files
3944 do
3945 case $ac_file in
3946 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3947 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3948 esac
3949 done
3950 rm -f $ac_rmfiles
3951
3952 if { { ac_try="$ac_link_default"
3953 case "(($ac_try" in
3954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3956 esac
3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3958 $as_echo "$ac_try_echo"; } >&5
3959 (eval "$ac_link_default") 2>&5
3960 ac_status=$?
3961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }; then :
3963 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3964 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3965 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3966 # so that the user can short-circuit this test for compilers unknown to
3967 # Autoconf.
3968 for ac_file in $ac_files ''
3969 do
3970 test -f "$ac_file" || continue
3971 case $ac_file in
3972 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3973 ;;
3974 [ab].out )
3975 # We found the default executable, but exeext='' is most
3976 # certainly right.
3977 break;;
3978 *.* )
3979 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3980 then :; else
3981 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3982 fi
3983 # We set ac_cv_exeext here because the later test for it is not
3984 # safe: cross compilers may not add the suffix if given an `-o'
3985 # argument, so we may need to know it at that point already.
3986 # Even if this section looks crufty: it has the advantage of
3987 # actually working.
3988 break;;
3989 * )
3990 break;;
3991 esac
3992 done
3993 test "$ac_cv_exeext" = no && ac_cv_exeext=
3994
3995 else
3996 ac_file=''
3997 fi
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3999 $as_echo "$ac_file" >&6; }
4000 if test -z "$ac_file"; then :
4001 $as_echo "$as_me: failed program was:" >&5
4002 sed 's/^/| /' conftest.$ac_ext >&5
4003
4004 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4005 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4006 { as_fn_set_status 77
4007 as_fn_error "C compiler cannot create executables
4008 See \`config.log' for more details." "$LINENO" 5; }; }
4009 fi
4010 ac_exeext=$ac_cv_exeext
4011
4012 # Check that the compiler produces executables we can run. If not, either
4013 # the compiler is broken, or we cross compile.
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4015 $as_echo_n "checking whether the C compiler works... " >&6; }
4016 # If not cross compiling, check that we can run a simple program.
4017 if test "$cross_compiling" != yes; then
4018 if { ac_try='./$ac_file'
4019 { { case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4022 esac
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_try") 2>&5
4026 ac_status=$?
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }; }; then
4029 cross_compiling=no
4030 else
4031 if test "$cross_compiling" = maybe; then
4032 cross_compiling=yes
4033 else
4034 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4035 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4036 as_fn_error "cannot run C compiled programs.
4037 If you meant to cross compile, use \`--host'.
4038 See \`config.log' for more details." "$LINENO" 5; }
4039 fi
4040 fi
4041 fi
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4043 $as_echo "yes" >&6; }
4044
4045 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4046 ac_clean_files=$ac_clean_files_save
4047 # Check that the compiler produces executables we can run. If not, either
4048 # the compiler is broken, or we cross compile.
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4050 $as_echo_n "checking whether we are cross compiling... " >&6; }
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4052 $as_echo "$cross_compiling" >&6; }
4053
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4055 $as_echo_n "checking for suffix of executables... " >&6; }
4056 if { { ac_try="$ac_link"
4057 case "(($ac_try" in
4058 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4059 *) ac_try_echo=$ac_try;;
4060 esac
4061 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4062 $as_echo "$ac_try_echo"; } >&5
4063 (eval "$ac_link") 2>&5
4064 ac_status=$?
4065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4066 test $ac_status = 0; }; then :
4067 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4068 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4069 # work properly (i.e., refer to `conftest.exe'), while it won't with
4070 # `rm'.
4071 for ac_file in conftest.exe conftest conftest.*; do
4072 test -f "$ac_file" || continue
4073 case $ac_file in
4074 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4075 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4076 break;;
4077 * ) break;;
4078 esac
4079 done
4080 else
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 as_fn_error "cannot compute suffix of executables: cannot compile and link
4084 See \`config.log' for more details." "$LINENO" 5; }
4085 fi
4086 rm -f conftest$ac_cv_exeext
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4088 $as_echo "$ac_cv_exeext" >&6; }
4089
4090 rm -f conftest.$ac_ext
4091 EXEEXT=$ac_cv_exeext
4092 ac_exeext=$EXEEXT
4093 fi
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4095 $as_echo_n "checking for suffix of object files... " >&6; }
4096 if test "${ac_cv_objext+set}" = set; then :
4097 $as_echo_n "(cached) " >&6
4098 else
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4101
4102 int
4103 main ()
4104 {
4105
4106 ;
4107 return 0;
4108 }
4109 _ACEOF
4110 rm -f conftest.o conftest.obj
4111 if { { ac_try="$ac_compile"
4112 case "(($ac_try" in
4113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4114 *) ac_try_echo=$ac_try;;
4115 esac
4116 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4117 $as_echo "$ac_try_echo"; } >&5
4118 (eval "$ac_compile") 2>&5
4119 ac_status=$?
4120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4121 test $ac_status = 0; }; then :
4122 for ac_file in conftest.o conftest.obj conftest.*; do
4123 test -f "$ac_file" || continue;
4124 case $ac_file in
4125 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4126 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4127 break;;
4128 esac
4129 done
4130 else
4131 $as_echo "$as_me: failed program was:" >&5
4132 sed 's/^/| /' conftest.$ac_ext >&5
4133
4134 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4135 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4136 as_fn_error "cannot compute suffix of object files: cannot compile
4137 See \`config.log' for more details." "$LINENO" 5; }
4138 fi
4139 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4140 fi
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4142 $as_echo "$ac_cv_objext" >&6; }
4143 OBJEXT=$ac_cv_objext
4144 ac_objext=$OBJEXT
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4146 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4147 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4148 $as_echo_n "(cached) " >&6
4149 else
4150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4151 /* end confdefs.h. */
4152
4153 int
4154 main ()
4155 {
4156 #ifndef __GNUC__
4157 choke me
4158 #endif
4159
4160 ;
4161 return 0;
4162 }
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4165 ac_compiler_gnu=yes
4166 else
4167 ac_compiler_gnu=no
4168 fi
4169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4170 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4171
4172 fi
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4174 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4175 if test $ac_compiler_gnu = yes; then
4176 GCC=yes
4177 else
4178 GCC=
4179 fi
4180 ac_test_CFLAGS=${CFLAGS+set}
4181 ac_save_CFLAGS=$CFLAGS
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4183 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4184 if test "${ac_cv_prog_cc_g+set}" = set; then :
4185 $as_echo_n "(cached) " >&6
4186 else
4187 ac_save_c_werror_flag=$ac_c_werror_flag
4188 ac_c_werror_flag=yes
4189 ac_cv_prog_cc_g=no
4190 CFLAGS="-g"
4191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4192 /* end confdefs.h. */
4193
4194 int
4195 main ()
4196 {
4197
4198 ;
4199 return 0;
4200 }
4201 _ACEOF
4202 if ac_fn_c_try_compile "$LINENO"; then :
4203 ac_cv_prog_cc_g=yes
4204 else
4205 CFLAGS=""
4206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4207 /* end confdefs.h. */
4208
4209 int
4210 main ()
4211 {
4212
4213 ;
4214 return 0;
4215 }
4216 _ACEOF
4217 if ac_fn_c_try_compile "$LINENO"; then :
4218
4219 else
4220 ac_c_werror_flag=$ac_save_c_werror_flag
4221 CFLAGS="-g"
4222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4223 /* end confdefs.h. */
4224
4225 int
4226 main ()
4227 {
4228
4229 ;
4230 return 0;
4231 }
4232 _ACEOF
4233 if ac_fn_c_try_compile "$LINENO"; then :
4234 ac_cv_prog_cc_g=yes
4235 fi
4236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4237 fi
4238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4239 fi
4240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4241 ac_c_werror_flag=$ac_save_c_werror_flag
4242 fi
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4244 $as_echo "$ac_cv_prog_cc_g" >&6; }
4245 if test "$ac_test_CFLAGS" = set; then
4246 CFLAGS=$ac_save_CFLAGS
4247 elif test $ac_cv_prog_cc_g = yes; then
4248 if test "$GCC" = yes; then
4249 CFLAGS="-g -O2"
4250 else
4251 CFLAGS="-g"
4252 fi
4253 else
4254 if test "$GCC" = yes; then
4255 CFLAGS="-O2"
4256 else
4257 CFLAGS=
4258 fi
4259 fi
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4261 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4262 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 ac_cv_prog_cc_c89=no
4266 ac_save_CC=$CC
4267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4268 /* end confdefs.h. */
4269 #include <stdarg.h>
4270 #include <stdio.h>
4271 #include <sys/types.h>
4272 #include <sys/stat.h>
4273 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4274 struct buf { int x; };
4275 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4276 static char *e (p, i)
4277 char **p;
4278 int i;
4279 {
4280 return p[i];
4281 }
4282 static char *f (char * (*g) (char **, int), char **p, ...)
4283 {
4284 char *s;
4285 va_list v;
4286 va_start (v,p);
4287 s = g (p, va_arg (v,int));
4288 va_end (v);
4289 return s;
4290 }
4291
4292 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4293 function prototypes and stuff, but not '\xHH' hex character constants.
4294 These don't provoke an error unfortunately, instead are silently treated
4295 as 'x'. The following induces an error, until -std is added to get
4296 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4297 array size at least. It's necessary to write '\x00'==0 to get something
4298 that's true only with -std. */
4299 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4300
4301 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4302 inside strings and character constants. */
4303 #define FOO(x) 'x'
4304 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4305
4306 int test (int i, double x);
4307 struct s1 {int (*f) (int a);};
4308 struct s2 {int (*f) (double a);};
4309 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4310 int argc;
4311 char **argv;
4312 int
4313 main ()
4314 {
4315 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4316 ;
4317 return 0;
4318 }
4319 _ACEOF
4320 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4321 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4322 do
4323 CC="$ac_save_CC $ac_arg"
4324 if ac_fn_c_try_compile "$LINENO"; then :
4325 ac_cv_prog_cc_c89=$ac_arg
4326 fi
4327 rm -f core conftest.err conftest.$ac_objext
4328 test "x$ac_cv_prog_cc_c89" != "xno" && break
4329 done
4330 rm -f conftest.$ac_ext
4331 CC=$ac_save_CC
4332
4333 fi
4334 # AC_CACHE_VAL
4335 case "x$ac_cv_prog_cc_c89" in
4336 x)
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4338 $as_echo "none needed" >&6; } ;;
4339 xno)
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4341 $as_echo "unsupported" >&6; } ;;
4342 *)
4343 CC="$CC $ac_cv_prog_cc_c89"
4344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4345 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4346 esac
4347 if test "x$ac_cv_prog_cc_c89" != xno; then :
4348
4349 fi
4350
4351 ac_ext=c
4352 ac_cpp='$CPP $CPPFLAGS'
4353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4356
4357 ac_ext=cpp
4358 ac_cpp='$CXXCPP $CPPFLAGS'
4359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4362 if test -z "$CXX"; then
4363 if test -n "$CCC"; then
4364 CXX=$CCC
4365 else
4366 if test -n "$ac_tool_prefix"; then
4367 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4368 do
4369 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4370 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4372 $as_echo_n "checking for $ac_word... " >&6; }
4373 if test "${ac_cv_prog_CXX+set}" = set; then :
4374 $as_echo_n "(cached) " >&6
4375 else
4376 if test -n "$CXX"; then
4377 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4378 else
4379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4380 for as_dir in $PATH
4381 do
4382 IFS=$as_save_IFS
4383 test -z "$as_dir" && as_dir=.
4384 for ac_exec_ext in '' $ac_executable_extensions; do
4385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4386 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 break 2
4389 fi
4390 done
4391 done
4392 IFS=$as_save_IFS
4393
4394 fi
4395 fi
4396 CXX=$ac_cv_prog_CXX
4397 if test -n "$CXX"; then
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4399 $as_echo "$CXX" >&6; }
4400 else
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4402 $as_echo "no" >&6; }
4403 fi
4404
4405
4406 test -n "$CXX" && break
4407 done
4408 fi
4409 if test -z "$CXX"; then
4410 ac_ct_CXX=$CXX
4411 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4412 do
4413 # Extract the first word of "$ac_prog", so it can be a program name with args.
4414 set dummy $ac_prog; ac_word=$2
4415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4416 $as_echo_n "checking for $ac_word... " >&6; }
4417 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4418 $as_echo_n "(cached) " >&6
4419 else
4420 if test -n "$ac_ct_CXX"; then
4421 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4422 else
4423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4424 for as_dir in $PATH
4425 do
4426 IFS=$as_save_IFS
4427 test -z "$as_dir" && as_dir=.
4428 for ac_exec_ext in '' $ac_executable_extensions; do
4429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4430 ac_cv_prog_ac_ct_CXX="$ac_prog"
4431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 break 2
4433 fi
4434 done
4435 done
4436 IFS=$as_save_IFS
4437
4438 fi
4439 fi
4440 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4441 if test -n "$ac_ct_CXX"; then
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4443 $as_echo "$ac_ct_CXX" >&6; }
4444 else
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4446 $as_echo "no" >&6; }
4447 fi
4448
4449
4450 test -n "$ac_ct_CXX" && break
4451 done
4452
4453 if test "x$ac_ct_CXX" = x; then
4454 CXX="g++"
4455 else
4456 case $cross_compiling:$ac_tool_warned in
4457 yes:)
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4459 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4460 ac_tool_warned=yes ;;
4461 esac
4462 CXX=$ac_ct_CXX
4463 fi
4464 fi
4465
4466 fi
4467 fi
4468 # Provide some information about the compiler.
4469 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4470 set X $ac_compile
4471 ac_compiler=$2
4472 for ac_option in --version -v -V -qversion; do
4473 { { ac_try="$ac_compiler $ac_option >&5"
4474 case "(($ac_try" in
4475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4476 *) ac_try_echo=$ac_try;;
4477 esac
4478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4479 $as_echo "$ac_try_echo"; } >&5
4480 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4481 ac_status=$?
4482 if test -s conftest.err; then
4483 sed '10a\
4484 ... rest of stderr output deleted ...
4485 10q' conftest.err >conftest.er1
4486 cat conftest.er1 >&5
4487 rm -f conftest.er1 conftest.err
4488 fi
4489 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4490 test $ac_status = 0; }
4491 done
4492
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4494 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4495 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4496 $as_echo_n "(cached) " >&6
4497 else
4498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4499 /* end confdefs.h. */
4500
4501 int
4502 main ()
4503 {
4504 #ifndef __GNUC__
4505 choke me
4506 #endif
4507
4508 ;
4509 return 0;
4510 }
4511 _ACEOF
4512 if ac_fn_cxx_try_compile "$LINENO"; then :
4513 ac_compiler_gnu=yes
4514 else
4515 ac_compiler_gnu=no
4516 fi
4517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4518 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4519
4520 fi
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4522 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4523 if test $ac_compiler_gnu = yes; then
4524 GXX=yes
4525 else
4526 GXX=
4527 fi
4528 ac_test_CXXFLAGS=${CXXFLAGS+set}
4529 ac_save_CXXFLAGS=$CXXFLAGS
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4531 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4532 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4533 $as_echo_n "(cached) " >&6
4534 else
4535 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4536 ac_cxx_werror_flag=yes
4537 ac_cv_prog_cxx_g=no
4538 CXXFLAGS="-g"
4539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4540 /* end confdefs.h. */
4541
4542 int
4543 main ()
4544 {
4545
4546 ;
4547 return 0;
4548 }
4549 _ACEOF
4550 if ac_fn_cxx_try_compile "$LINENO"; then :
4551 ac_cv_prog_cxx_g=yes
4552 else
4553 CXXFLAGS=""
4554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4555 /* end confdefs.h. */
4556
4557 int
4558 main ()
4559 {
4560
4561 ;
4562 return 0;
4563 }
4564 _ACEOF
4565 if ac_fn_cxx_try_compile "$LINENO"; then :
4566
4567 else
4568 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4569 CXXFLAGS="-g"
4570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4571 /* end confdefs.h. */
4572
4573 int
4574 main ()
4575 {
4576
4577 ;
4578 return 0;
4579 }
4580 _ACEOF
4581 if ac_fn_cxx_try_compile "$LINENO"; then :
4582 ac_cv_prog_cxx_g=yes
4583 fi
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 fi
4586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4587 fi
4588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4589 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4590 fi
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4592 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4593 if test "$ac_test_CXXFLAGS" = set; then
4594 CXXFLAGS=$ac_save_CXXFLAGS
4595 elif test $ac_cv_prog_cxx_g = yes; then
4596 if test "$GXX" = yes; then
4597 CXXFLAGS="-g -O2"
4598 else
4599 CXXFLAGS="-g"
4600 fi
4601 else
4602 if test "$GXX" = yes; then
4603 CXXFLAGS="-O2"
4604 else
4605 CXXFLAGS=
4606 fi
4607 fi
4608 ac_ext=c
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613
4614 CXXFLAGS="$save_CXXFLAGS"
4615
4616 # Runs configure.host, and assorted other critical bits. Sets
4617 # up critical shell variables.
4618
4619 ac_ext=c
4620 ac_cpp='$CPP $CPPFLAGS'
4621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4625 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4626 # On Suns, sometimes $CPP names a directory.
4627 if test -n "$CPP" && test -d "$CPP"; then
4628 CPP=
4629 fi
4630 if test -z "$CPP"; then
4631 if test "${ac_cv_prog_CPP+set}" = set; then :
4632 $as_echo_n "(cached) " >&6
4633 else
4634 # Double quotes because CPP needs to be expanded
4635 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4636 do
4637 ac_preproc_ok=false
4638 for ac_c_preproc_warn_flag in '' yes
4639 do
4640 # Use a header file that comes with gcc, so configuring glibc
4641 # with a fresh cross-compiler works.
4642 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4643 # <limits.h> exists even on freestanding compilers.
4644 # On the NeXT, cc -E runs the code through the compiler's parser,
4645 # not just through cpp. "Syntax error" is here to catch this case.
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648 #ifdef __STDC__
4649 # include <limits.h>
4650 #else
4651 # include <assert.h>
4652 #endif
4653 Syntax error
4654 _ACEOF
4655 if ac_fn_c_try_cpp "$LINENO"; then :
4656
4657 else
4658 # Broken: fails on valid input.
4659 continue
4660 fi
4661 rm -f conftest.err conftest.$ac_ext
4662
4663 # OK, works on sane cases. Now check whether nonexistent headers
4664 # can be detected and how.
4665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4666 /* end confdefs.h. */
4667 #include <ac_nonexistent.h>
4668 _ACEOF
4669 if ac_fn_c_try_cpp "$LINENO"; then :
4670 # Broken: success on invalid input.
4671 continue
4672 else
4673 # Passes both tests.
4674 ac_preproc_ok=:
4675 break
4676 fi
4677 rm -f conftest.err conftest.$ac_ext
4678
4679 done
4680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4681 rm -f conftest.err conftest.$ac_ext
4682 if $ac_preproc_ok; then :
4683 break
4684 fi
4685
4686 done
4687 ac_cv_prog_CPP=$CPP
4688
4689 fi
4690 CPP=$ac_cv_prog_CPP
4691 else
4692 ac_cv_prog_CPP=$CPP
4693 fi
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4695 $as_echo "$CPP" >&6; }
4696 ac_preproc_ok=false
4697 for ac_c_preproc_warn_flag in '' yes
4698 do
4699 # Use a header file that comes with gcc, so configuring glibc
4700 # with a fresh cross-compiler works.
4701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4702 # <limits.h> exists even on freestanding compilers.
4703 # On the NeXT, cc -E runs the code through the compiler's parser,
4704 # not just through cpp. "Syntax error" is here to catch this case.
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #ifdef __STDC__
4708 # include <limits.h>
4709 #else
4710 # include <assert.h>
4711 #endif
4712 Syntax error
4713 _ACEOF
4714 if ac_fn_c_try_cpp "$LINENO"; then :
4715
4716 else
4717 # Broken: fails on valid input.
4718 continue
4719 fi
4720 rm -f conftest.err conftest.$ac_ext
4721
4722 # OK, works on sane cases. Now check whether nonexistent headers
4723 # can be detected and how.
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4726 #include <ac_nonexistent.h>
4727 _ACEOF
4728 if ac_fn_c_try_cpp "$LINENO"; then :
4729 # Broken: success on invalid input.
4730 continue
4731 else
4732 # Passes both tests.
4733 ac_preproc_ok=:
4734 break
4735 fi
4736 rm -f conftest.err conftest.$ac_ext
4737
4738 done
4739 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4740 rm -f conftest.err conftest.$ac_ext
4741 if $ac_preproc_ok; then :
4742
4743 else
4744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4746 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4747 See \`config.log' for more details." "$LINENO" 5; }
4748 fi
4749
4750 ac_ext=c
4751 ac_cpp='$CPP $CPPFLAGS'
4752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4755
4756
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4758 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4759 if test "${ac_cv_path_GREP+set}" = set; then :
4760 $as_echo_n "(cached) " >&6
4761 else
4762 if test -z "$GREP"; then
4763 ac_path_GREP_found=false
4764 # Loop through the user's path and test for each of PROGNAME-LIST
4765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4766 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4767 do
4768 IFS=$as_save_IFS
4769 test -z "$as_dir" && as_dir=.
4770 for ac_prog in grep ggrep; do
4771 for ac_exec_ext in '' $ac_executable_extensions; do
4772 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4773 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4774 # Check for GNU ac_path_GREP and select it if it is found.
4775 # Check for GNU $ac_path_GREP
4776 case `"$ac_path_GREP" --version 2>&1` in
4777 *GNU*)
4778 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4779 *)
4780 ac_count=0
4781 $as_echo_n 0123456789 >"conftest.in"
4782 while :
4783 do
4784 cat "conftest.in" "conftest.in" >"conftest.tmp"
4785 mv "conftest.tmp" "conftest.in"
4786 cp "conftest.in" "conftest.nl"
4787 $as_echo 'GREP' >> "conftest.nl"
4788 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4789 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4790 as_fn_arith $ac_count + 1 && ac_count=$as_val
4791 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4792 # Best one so far, save it but keep looking for a better one
4793 ac_cv_path_GREP="$ac_path_GREP"
4794 ac_path_GREP_max=$ac_count
4795 fi
4796 # 10*(2^10) chars as input seems more than enough
4797 test $ac_count -gt 10 && break
4798 done
4799 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4800 esac
4801
4802 $ac_path_GREP_found && break 3
4803 done
4804 done
4805 done
4806 IFS=$as_save_IFS
4807 if test -z "$ac_cv_path_GREP"; then
4808 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4809 fi
4810 else
4811 ac_cv_path_GREP=$GREP
4812 fi
4813
4814 fi
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4816 $as_echo "$ac_cv_path_GREP" >&6; }
4817 GREP="$ac_cv_path_GREP"
4818
4819
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4821 $as_echo_n "checking for egrep... " >&6; }
4822 if test "${ac_cv_path_EGREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4826 then ac_cv_path_EGREP="$GREP -E"
4827 else
4828 if test -z "$EGREP"; then
4829 ac_path_EGREP_found=false
4830 # Loop through the user's path and test for each of PROGNAME-LIST
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4833 do
4834 IFS=$as_save_IFS
4835 test -z "$as_dir" && as_dir=.
4836 for ac_prog in egrep; do
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4839 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4840 # Check for GNU ac_path_EGREP and select it if it is found.
4841 # Check for GNU $ac_path_EGREP
4842 case `"$ac_path_EGREP" --version 2>&1` in
4843 *GNU*)
4844 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4845 *)
4846 ac_count=0
4847 $as_echo_n 0123456789 >"conftest.in"
4848 while :
4849 do
4850 cat "conftest.in" "conftest.in" >"conftest.tmp"
4851 mv "conftest.tmp" "conftest.in"
4852 cp "conftest.in" "conftest.nl"
4853 $as_echo 'EGREP' >> "conftest.nl"
4854 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4856 as_fn_arith $ac_count + 1 && ac_count=$as_val
4857 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4858 # Best one so far, save it but keep looking for a better one
4859 ac_cv_path_EGREP="$ac_path_EGREP"
4860 ac_path_EGREP_max=$ac_count
4861 fi
4862 # 10*(2^10) chars as input seems more than enough
4863 test $ac_count -gt 10 && break
4864 done
4865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4866 esac
4867
4868 $ac_path_EGREP_found && break 3
4869 done
4870 done
4871 done
4872 IFS=$as_save_IFS
4873 if test -z "$ac_cv_path_EGREP"; then
4874 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4875 fi
4876 else
4877 ac_cv_path_EGREP=$EGREP
4878 fi
4879
4880 fi
4881 fi
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4883 $as_echo "$ac_cv_path_EGREP" >&6; }
4884 EGREP="$ac_cv_path_EGREP"
4885
4886
4887
4888 # Keep these sync'd with the list in Makefile.am. The first provides an
4889 # expandable list at autoconf time; the second provides an expandable list
4890 # (i.e., shell variable) at configure time.
4891
4892 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4893
4894 # These need to be absolute paths, yet at the same time need to
4895 # canonicalize only relative paths, because then amd will not unmount
4896 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4897 glibcxx_builddir=`${PWDCMD-pwd}`
4898 case $srcdir in
4899 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4900 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4901 esac
4902 toplevel_builddir=${glibcxx_builddir}/..
4903 toplevel_srcdir=${glibcxx_srcdir}/..
4904
4905
4906
4907
4908
4909 # We use these options to decide which functions to include. They are
4910 # set from the top level.
4911
4912 # Check whether --with-target-subdir was given.
4913 if test "${with_target_subdir+set}" = set; then :
4914 withval=$with_target_subdir;
4915 fi
4916
4917
4918
4919 # Check whether --with-cross-host was given.
4920 if test "${with_cross_host+set}" = set; then :
4921 withval=$with_cross_host;
4922 fi
4923
4924
4925
4926 # Check whether --with-newlib was given.
4927 if test "${with_newlib+set}" = set; then :
4928 withval=$with_newlib;
4929 fi
4930
4931
4932 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4933 # available). Uncomment the next line to force a particular method.
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4935 $as_echo_n "checking whether ln -s works... " >&6; }
4936 LN_S=$as_ln_s
4937 if test "$LN_S" = "ln -s"; then
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4939 $as_echo "yes" >&6; }
4940 else
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4942 $as_echo "no, using $LN_S" >&6; }
4943 fi
4944
4945 #LN_S='cp -p'
4946
4947 if test -n "$ac_tool_prefix"; then
4948 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4949 set dummy ${ac_tool_prefix}as; ac_word=$2
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4951 $as_echo_n "checking for $ac_word... " >&6; }
4952 if test "${ac_cv_prog_AS+set}" = set; then :
4953 $as_echo_n "(cached) " >&6
4954 else
4955 if test -n "$AS"; then
4956 ac_cv_prog_AS="$AS" # Let the user override the test.
4957 else
4958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4959 for as_dir in $PATH
4960 do
4961 IFS=$as_save_IFS
4962 test -z "$as_dir" && as_dir=.
4963 for ac_exec_ext in '' $ac_executable_extensions; do
4964 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4965 ac_cv_prog_AS="${ac_tool_prefix}as"
4966 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4967 break 2
4968 fi
4969 done
4970 done
4971 IFS=$as_save_IFS
4972
4973 fi
4974 fi
4975 AS=$ac_cv_prog_AS
4976 if test -n "$AS"; then
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4978 $as_echo "$AS" >&6; }
4979 else
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4981 $as_echo "no" >&6; }
4982 fi
4983
4984
4985 fi
4986 if test -z "$ac_cv_prog_AS"; then
4987 ac_ct_AS=$AS
4988 # Extract the first word of "as", so it can be a program name with args.
4989 set dummy as; ac_word=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4993 $as_echo_n "(cached) " >&6
4994 else
4995 if test -n "$ac_ct_AS"; then
4996 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4997 else
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 for as_dir in $PATH
5000 do
5001 IFS=$as_save_IFS
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_ac_ct_AS="as"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 break 2
5008 fi
5009 done
5010 done
5011 IFS=$as_save_IFS
5012
5013 fi
5014 fi
5015 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5016 if test -n "$ac_ct_AS"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5018 $as_echo "$ac_ct_AS" >&6; }
5019 else
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5022 fi
5023
5024 if test "x$ac_ct_AS" = x; then
5025 AS=""
5026 else
5027 case $cross_compiling:$ac_tool_warned in
5028 yes:)
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5030 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5031 ac_tool_warned=yes ;;
5032 esac
5033 AS=$ac_ct_AS
5034 fi
5035 else
5036 AS="$ac_cv_prog_AS"
5037 fi
5038
5039 if test -n "$ac_tool_prefix"; then
5040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5041 set dummy ${ac_tool_prefix}ar; ac_word=$2
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5043 $as_echo_n "checking for $ac_word... " >&6; }
5044 if test "${ac_cv_prog_AR+set}" = set; then :
5045 $as_echo_n "(cached) " >&6
5046 else
5047 if test -n "$AR"; then
5048 ac_cv_prog_AR="$AR" # Let the user override the test.
5049 else
5050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5051 for as_dir in $PATH
5052 do
5053 IFS=$as_save_IFS
5054 test -z "$as_dir" && as_dir=.
5055 for ac_exec_ext in '' $ac_executable_extensions; do
5056 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5057 ac_cv_prog_AR="${ac_tool_prefix}ar"
5058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5059 break 2
5060 fi
5061 done
5062 done
5063 IFS=$as_save_IFS
5064
5065 fi
5066 fi
5067 AR=$ac_cv_prog_AR
5068 if test -n "$AR"; then
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5070 $as_echo "$AR" >&6; }
5071 else
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5073 $as_echo "no" >&6; }
5074 fi
5075
5076
5077 fi
5078 if test -z "$ac_cv_prog_AR"; then
5079 ac_ct_AR=$AR
5080 # Extract the first word of "ar", so it can be a program name with args.
5081 set dummy ar; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$ac_ct_AR"; then
5088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5092 do
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_ac_ct_AR="ar"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5100 fi
5101 done
5102 done
5103 IFS=$as_save_IFS
5104
5105 fi
5106 fi
5107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5108 if test -n "$ac_ct_AR"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5110 $as_echo "$ac_ct_AR" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5114 fi
5115
5116 if test "x$ac_ct_AR" = x; then
5117 AR=""
5118 else
5119 case $cross_compiling:$ac_tool_warned in
5120 yes:)
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5123 ac_tool_warned=yes ;;
5124 esac
5125 AR=$ac_ct_AR
5126 fi
5127 else
5128 AR="$ac_cv_prog_AR"
5129 fi
5130
5131 if test -n "$ac_tool_prefix"; then
5132 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5133 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5135 $as_echo_n "checking for $ac_word... " >&6; }
5136 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5137 $as_echo_n "(cached) " >&6
5138 else
5139 if test -n "$RANLIB"; then
5140 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5141 else
5142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5143 for as_dir in $PATH
5144 do
5145 IFS=$as_save_IFS
5146 test -z "$as_dir" && as_dir=.
5147 for ac_exec_ext in '' $ac_executable_extensions; do
5148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5149 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5151 break 2
5152 fi
5153 done
5154 done
5155 IFS=$as_save_IFS
5156
5157 fi
5158 fi
5159 RANLIB=$ac_cv_prog_RANLIB
5160 if test -n "$RANLIB"; then
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5162 $as_echo "$RANLIB" >&6; }
5163 else
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5165 $as_echo "no" >&6; }
5166 fi
5167
5168
5169 fi
5170 if test -z "$ac_cv_prog_RANLIB"; then
5171 ac_ct_RANLIB=$RANLIB
5172 # Extract the first word of "ranlib", so it can be a program name with args.
5173 set dummy ranlib; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$ac_ct_RANLIB"; then
5180 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5184 do
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5189 ac_cv_prog_ac_ct_RANLIB="ranlib"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5192 fi
5193 done
5194 done
5195 IFS=$as_save_IFS
5196
5197 fi
5198 fi
5199 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5200 if test -n "$ac_ct_RANLIB"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5202 $as_echo "$ac_ct_RANLIB" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5206 fi
5207
5208 if test "x$ac_ct_RANLIB" = x; then
5209 RANLIB="ranlib-not-found-in-path-error"
5210 else
5211 case $cross_compiling:$ac_tool_warned in
5212 yes:)
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5214 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5215 ac_tool_warned=yes ;;
5216 esac
5217 RANLIB=$ac_ct_RANLIB
5218 fi
5219 else
5220 RANLIB="$ac_cv_prog_RANLIB"
5221 fi
5222
5223
5224
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5226 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5227 # Check whether --enable-maintainer-mode was given.
5228 if test "${enable_maintainer_mode+set}" = set; then :
5229 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5230 else
5231 USE_MAINTAINER_MODE=no
5232 fi
5233
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5235 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5236 if test $USE_MAINTAINER_MODE = yes; then
5237 MAINTAINER_MODE_TRUE=
5238 MAINTAINER_MODE_FALSE='#'
5239 else
5240 MAINTAINER_MODE_TRUE='#'
5241 MAINTAINER_MODE_FALSE=
5242 fi
5243
5244 MAINT=$MAINTAINER_MODE_TRUE
5245
5246
5247
5248 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5249 # which are themselves conditionally expanded.
5250 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5251 ## other macros from doing the same. This should be automated.) -pme
5252
5253 # Check for C library flavor since GNU/Linux platforms use different
5254 # configuration directories depending on the C library in use.
5255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5256 /* end confdefs.h. */
5257
5258 #include <stdio.h>
5259 #if __UCLIBC__
5260 _using_uclibc
5261 #endif
5262
5263 _ACEOF
5264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5265 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5266 uclibc=yes
5267 else
5268 uclibc=no
5269 fi
5270 rm -f conftest*
5271
5272
5273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5274 /* end confdefs.h. */
5275
5276 #include <stdio.h>
5277 #if __BIONIC__
5278 _using_bionic
5279 #endif
5280
5281 _ACEOF
5282 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5283 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5284 bionic=yes
5285 else
5286 bionic=no
5287 fi
5288 rm -f conftest*
5289
5290
5291 # Find platform-specific directories containing configuration info.
5292 # Also possibly modify flags used elsewhere, as needed by the platform.
5293
5294 . $glibcxx_srcdir/configure.host
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5296 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5298 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5299
5300
5301
5302 # Libtool setup.
5303 if test "x${with_newlib}" != "xyes"; then
5304 enable_dlopen=yes
5305
5306
5307
5308 fi
5309 case `pwd` in
5310 *\ * | *\ *)
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5312 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5313 esac
5314
5315
5316
5317 macro_version='2.2.7a'
5318 macro_revision='1.3134'
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332 ltmain="$ac_aux_dir/ltmain.sh"
5333
5334 # Backslashify metacharacters that are still active within
5335 # double-quoted strings.
5336 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5337
5338 # Same as above, but do not quote variable references.
5339 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5340
5341 # Sed substitution to delay expansion of an escaped shell variable in a
5342 # double_quote_subst'ed string.
5343 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5344
5345 # Sed substitution to delay expansion of an escaped single quote.
5346 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5347
5348 # Sed substitution to avoid accidental globbing in evaled expressions
5349 no_glob_subst='s/\*/\\\*/g'
5350
5351 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5352 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5353 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5354
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5356 $as_echo_n "checking how to print strings... " >&6; }
5357 # Test print first, because it will be a builtin if present.
5358 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5359 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5360 ECHO='print -r --'
5361 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5362 ECHO='printf %s\n'
5363 else
5364 # Use this function as a fallback that always works.
5365 func_fallback_echo ()
5366 {
5367 eval 'cat <<_LTECHO_EOF
5368 $1
5369 _LTECHO_EOF'
5370 }
5371 ECHO='func_fallback_echo'
5372 fi
5373
5374 # func_echo_all arg...
5375 # Invoke $ECHO with all args, space-separated.
5376 func_echo_all ()
5377 {
5378 $ECHO ""
5379 }
5380
5381 case "$ECHO" in
5382 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5383 $as_echo "printf" >&6; } ;;
5384 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5385 $as_echo "print -r" >&6; } ;;
5386 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5387 $as_echo "cat" >&6; } ;;
5388 esac
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5404 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5405 if test "${ac_cv_path_SED+set}" = set; then :
5406 $as_echo_n "(cached) " >&6
5407 else
5408 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5409 for ac_i in 1 2 3 4 5 6 7; do
5410 ac_script="$ac_script$as_nl$ac_script"
5411 done
5412 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5413 { ac_script=; unset ac_script;}
5414 if test -z "$SED"; then
5415 ac_path_SED_found=false
5416 # Loop through the user's path and test for each of PROGNAME-LIST
5417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5418 for as_dir in $PATH
5419 do
5420 IFS=$as_save_IFS
5421 test -z "$as_dir" && as_dir=.
5422 for ac_prog in sed gsed; do
5423 for ac_exec_ext in '' $ac_executable_extensions; do
5424 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5425 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5426 # Check for GNU ac_path_SED and select it if it is found.
5427 # Check for GNU $ac_path_SED
5428 case `"$ac_path_SED" --version 2>&1` in
5429 *GNU*)
5430 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5431 *)
5432 ac_count=0
5433 $as_echo_n 0123456789 >"conftest.in"
5434 while :
5435 do
5436 cat "conftest.in" "conftest.in" >"conftest.tmp"
5437 mv "conftest.tmp" "conftest.in"
5438 cp "conftest.in" "conftest.nl"
5439 $as_echo '' >> "conftest.nl"
5440 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5441 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5442 as_fn_arith $ac_count + 1 && ac_count=$as_val
5443 if test $ac_count -gt ${ac_path_SED_max-0}; then
5444 # Best one so far, save it but keep looking for a better one
5445 ac_cv_path_SED="$ac_path_SED"
5446 ac_path_SED_max=$ac_count
5447 fi
5448 # 10*(2^10) chars as input seems more than enough
5449 test $ac_count -gt 10 && break
5450 done
5451 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5452 esac
5453
5454 $ac_path_SED_found && break 3
5455 done
5456 done
5457 done
5458 IFS=$as_save_IFS
5459 if test -z "$ac_cv_path_SED"; then
5460 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5461 fi
5462 else
5463 ac_cv_path_SED=$SED
5464 fi
5465
5466 fi
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5468 $as_echo "$ac_cv_path_SED" >&6; }
5469 SED="$ac_cv_path_SED"
5470 rm -f conftest.sed
5471
5472 test -z "$SED" && SED=sed
5473 Xsed="$SED -e 1s/^X//"
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5486 $as_echo_n "checking for fgrep... " >&6; }
5487 if test "${ac_cv_path_FGREP+set}" = set; then :
5488 $as_echo_n "(cached) " >&6
5489 else
5490 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5491 then ac_cv_path_FGREP="$GREP -F"
5492 else
5493 if test -z "$FGREP"; then
5494 ac_path_FGREP_found=false
5495 # Loop through the user's path and test for each of PROGNAME-LIST
5496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5497 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5498 do
5499 IFS=$as_save_IFS
5500 test -z "$as_dir" && as_dir=.
5501 for ac_prog in fgrep; do
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5504 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5505 # Check for GNU ac_path_FGREP and select it if it is found.
5506 # Check for GNU $ac_path_FGREP
5507 case `"$ac_path_FGREP" --version 2>&1` in
5508 *GNU*)
5509 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5510 *)
5511 ac_count=0
5512 $as_echo_n 0123456789 >"conftest.in"
5513 while :
5514 do
5515 cat "conftest.in" "conftest.in" >"conftest.tmp"
5516 mv "conftest.tmp" "conftest.in"
5517 cp "conftest.in" "conftest.nl"
5518 $as_echo 'FGREP' >> "conftest.nl"
5519 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5520 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5521 as_fn_arith $ac_count + 1 && ac_count=$as_val
5522 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5523 # Best one so far, save it but keep looking for a better one
5524 ac_cv_path_FGREP="$ac_path_FGREP"
5525 ac_path_FGREP_max=$ac_count
5526 fi
5527 # 10*(2^10) chars as input seems more than enough
5528 test $ac_count -gt 10 && break
5529 done
5530 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5531 esac
5532
5533 $ac_path_FGREP_found && break 3
5534 done
5535 done
5536 done
5537 IFS=$as_save_IFS
5538 if test -z "$ac_cv_path_FGREP"; then
5539 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5540 fi
5541 else
5542 ac_cv_path_FGREP=$FGREP
5543 fi
5544
5545 fi
5546 fi
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5548 $as_echo "$ac_cv_path_FGREP" >&6; }
5549 FGREP="$ac_cv_path_FGREP"
5550
5551
5552 test -z "$GREP" && GREP=grep
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572 # Check whether --with-gnu-ld was given.
5573 if test "${with_gnu_ld+set}" = set; then :
5574 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5575 else
5576 with_gnu_ld=no
5577 fi
5578
5579 ac_prog=ld
5580 if test "$GCC" = yes; then
5581 # Check if gcc -print-prog-name=ld gives a path.
5582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5583 $as_echo_n "checking for ld used by $CC... " >&6; }
5584 case $host in
5585 *-*-mingw*)
5586 # gcc leaves a trailing carriage return which upsets mingw
5587 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5588 *)
5589 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5590 esac
5591 case $ac_prog in
5592 # Accept absolute paths.
5593 [\\/]* | ?:[\\/]*)
5594 re_direlt='/[^/][^/]*/\.\./'
5595 # Canonicalize the pathname of ld
5596 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5597 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5598 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5599 done
5600 test -z "$LD" && LD="$ac_prog"
5601 ;;
5602 "")
5603 # If it fails, then pretend we aren't using GCC.
5604 ac_prog=ld
5605 ;;
5606 *)
5607 # If it is relative, then search for the first ld in PATH.
5608 with_gnu_ld=unknown
5609 ;;
5610 esac
5611 elif test "$with_gnu_ld" = yes; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5613 $as_echo_n "checking for GNU ld... " >&6; }
5614 else
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5616 $as_echo_n "checking for non-GNU ld... " >&6; }
5617 fi
5618 if test "${lt_cv_path_LD+set}" = set; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 if test -z "$LD"; then
5622 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5623 for ac_dir in $PATH; do
5624 IFS="$lt_save_ifs"
5625 test -z "$ac_dir" && ac_dir=.
5626 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5627 lt_cv_path_LD="$ac_dir/$ac_prog"
5628 # Check to see if the program is GNU ld. I'd rather use --version,
5629 # but apparently some variants of GNU ld only accept -v.
5630 # Break only if it was the GNU/non-GNU ld that we prefer.
5631 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5632 *GNU* | *'with BFD'*)
5633 test "$with_gnu_ld" != no && break
5634 ;;
5635 *)
5636 test "$with_gnu_ld" != yes && break
5637 ;;
5638 esac
5639 fi
5640 done
5641 IFS="$lt_save_ifs"
5642 else
5643 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5644 fi
5645 fi
5646
5647 LD="$lt_cv_path_LD"
5648 if test -n "$LD"; then
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5650 $as_echo "$LD" >&6; }
5651 else
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 $as_echo "no" >&6; }
5654 fi
5655 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5657 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5658 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5659 $as_echo_n "(cached) " >&6
5660 else
5661 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5662 case `$LD -v 2>&1 </dev/null` in
5663 *GNU* | *'with BFD'*)
5664 lt_cv_prog_gnu_ld=yes
5665 ;;
5666 *)
5667 lt_cv_prog_gnu_ld=no
5668 ;;
5669 esac
5670 fi
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5672 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5673 with_gnu_ld=$lt_cv_prog_gnu_ld
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5684 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5685 if test "${lt_cv_path_NM+set}" = set; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -n "$NM"; then
5689 # Let the user override the test.
5690 lt_cv_path_NM="$NM"
5691 else
5692 lt_nm_to_check="${ac_tool_prefix}nm"
5693 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5694 lt_nm_to_check="$lt_nm_to_check nm"
5695 fi
5696 for lt_tmp_nm in $lt_nm_to_check; do
5697 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5698 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5699 IFS="$lt_save_ifs"
5700 test -z "$ac_dir" && ac_dir=.
5701 tmp_nm="$ac_dir/$lt_tmp_nm"
5702 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5703 # Check to see if the nm accepts a BSD-compat flag.
5704 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5705 # nm: unknown option "B" ignored
5706 # Tru64's nm complains that /dev/null is an invalid object file
5707 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5708 */dev/null* | *'Invalid file or object type'*)
5709 lt_cv_path_NM="$tmp_nm -B"
5710 break
5711 ;;
5712 *)
5713 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5714 */dev/null*)
5715 lt_cv_path_NM="$tmp_nm -p"
5716 break
5717 ;;
5718 *)
5719 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5720 continue # so that we can try to find one that supports BSD flags
5721 ;;
5722 esac
5723 ;;
5724 esac
5725 fi
5726 done
5727 IFS="$lt_save_ifs"
5728 done
5729 : ${lt_cv_path_NM=no}
5730 fi
5731 fi
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5733 $as_echo "$lt_cv_path_NM" >&6; }
5734 if test "$lt_cv_path_NM" != "no"; then
5735 NM="$lt_cv_path_NM"
5736 else
5737 # Didn't find any BSD compatible name lister, look for dumpbin.
5738 if test -n "$DUMPBIN"; then :
5739 # Let the user override the test.
5740 else
5741 if test -n "$ac_tool_prefix"; then
5742 for ac_prog in dumpbin "link -dump"
5743 do
5744 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5745 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5747 $as_echo_n "checking for $ac_word... " >&6; }
5748 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$DUMPBIN"; then
5752 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5753 else
5754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5755 for as_dir in $PATH
5756 do
5757 IFS=$as_save_IFS
5758 test -z "$as_dir" && as_dir=.
5759 for ac_exec_ext in '' $ac_executable_extensions; do
5760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5761 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5763 break 2
5764 fi
5765 done
5766 done
5767 IFS=$as_save_IFS
5768
5769 fi
5770 fi
5771 DUMPBIN=$ac_cv_prog_DUMPBIN
5772 if test -n "$DUMPBIN"; then
5773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5774 $as_echo "$DUMPBIN" >&6; }
5775 else
5776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5777 $as_echo "no" >&6; }
5778 fi
5779
5780
5781 test -n "$DUMPBIN" && break
5782 done
5783 fi
5784 if test -z "$DUMPBIN"; then
5785 ac_ct_DUMPBIN=$DUMPBIN
5786 for ac_prog in dumpbin "link -dump"
5787 do
5788 # Extract the first word of "$ac_prog", so it can be a program name with args.
5789 set dummy $ac_prog; ac_word=$2
5790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5791 $as_echo_n "checking for $ac_word... " >&6; }
5792 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5793 $as_echo_n "(cached) " >&6
5794 else
5795 if test -n "$ac_ct_DUMPBIN"; then
5796 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5797 else
5798 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5799 for as_dir in $PATH
5800 do
5801 IFS=$as_save_IFS
5802 test -z "$as_dir" && as_dir=.
5803 for ac_exec_ext in '' $ac_executable_extensions; do
5804 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5805 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5806 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5807 break 2
5808 fi
5809 done
5810 done
5811 IFS=$as_save_IFS
5812
5813 fi
5814 fi
5815 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5816 if test -n "$ac_ct_DUMPBIN"; then
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5818 $as_echo "$ac_ct_DUMPBIN" >&6; }
5819 else
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5821 $as_echo "no" >&6; }
5822 fi
5823
5824
5825 test -n "$ac_ct_DUMPBIN" && break
5826 done
5827
5828 if test "x$ac_ct_DUMPBIN" = x; then
5829 DUMPBIN=":"
5830 else
5831 case $cross_compiling:$ac_tool_warned in
5832 yes:)
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5835 ac_tool_warned=yes ;;
5836 esac
5837 DUMPBIN=$ac_ct_DUMPBIN
5838 fi
5839 fi
5840
5841 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5842 *COFF*)
5843 DUMPBIN="$DUMPBIN -symbols"
5844 ;;
5845 *)
5846 DUMPBIN=:
5847 ;;
5848 esac
5849 fi
5850
5851 if test "$DUMPBIN" != ":"; then
5852 NM="$DUMPBIN"
5853 fi
5854 fi
5855 test -z "$NM" && NM=nm
5856
5857
5858
5859
5860
5861
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5863 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5864 if test "${lt_cv_nm_interface+set}" = set; then :
5865 $as_echo_n "(cached) " >&6
5866 else
5867 lt_cv_nm_interface="BSD nm"
5868 echo "int some_variable = 0;" > conftest.$ac_ext
5869 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5870 (eval "$ac_compile" 2>conftest.err)
5871 cat conftest.err >&5
5872 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5873 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5874 cat conftest.err >&5
5875 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5876 cat conftest.out >&5
5877 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5878 lt_cv_nm_interface="MS dumpbin"
5879 fi
5880 rm -f conftest*
5881 fi
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5883 $as_echo "$lt_cv_nm_interface" >&6; }
5884
5885 # find the maximum length of command line arguments
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5887 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5888 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5889 $as_echo_n "(cached) " >&6
5890 else
5891 i=0
5892 teststring="ABCD"
5893
5894 case $build_os in
5895 msdosdjgpp*)
5896 # On DJGPP, this test can blow up pretty badly due to problems in libc
5897 # (any single argument exceeding 2000 bytes causes a buffer overrun
5898 # during glob expansion). Even if it were fixed, the result of this
5899 # check would be larger than it should be.
5900 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5901 ;;
5902
5903 gnu*)
5904 # Under GNU Hurd, this test is not required because there is
5905 # no limit to the length of command line arguments.
5906 # Libtool will interpret -1 as no limit whatsoever
5907 lt_cv_sys_max_cmd_len=-1;
5908 ;;
5909
5910 cygwin* | mingw* | cegcc*)
5911 # On Win9x/ME, this test blows up -- it succeeds, but takes
5912 # about 5 minutes as the teststring grows exponentially.
5913 # Worse, since 9x/ME are not pre-emptively multitasking,
5914 # you end up with a "frozen" computer, even though with patience
5915 # the test eventually succeeds (with a max line length of 256k).
5916 # Instead, let's just punt: use the minimum linelength reported by
5917 # all of the supported platforms: 8192 (on NT/2K/XP).
5918 lt_cv_sys_max_cmd_len=8192;
5919 ;;
5920
5921 mint*)
5922 # On MiNT this can take a long time and run out of memory.
5923 lt_cv_sys_max_cmd_len=8192;
5924 ;;
5925
5926 amigaos*)
5927 # On AmigaOS with pdksh, this test takes hours, literally.
5928 # So we just punt and use a minimum line length of 8192.
5929 lt_cv_sys_max_cmd_len=8192;
5930 ;;
5931
5932 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5933 # This has been around since 386BSD, at least. Likely further.
5934 if test -x /sbin/sysctl; then
5935 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5936 elif test -x /usr/sbin/sysctl; then
5937 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5938 else
5939 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5940 fi
5941 # And add a safety zone
5942 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5943 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5944 ;;
5945
5946 interix*)
5947 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5948 lt_cv_sys_max_cmd_len=196608
5949 ;;
5950
5951 osf*)
5952 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5953 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5954 # nice to cause kernel panics so lets avoid the loop below.
5955 # First set a reasonable default.
5956 lt_cv_sys_max_cmd_len=16384
5957 #
5958 if test -x /sbin/sysconfig; then
5959 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5960 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5961 esac
5962 fi
5963 ;;
5964 sco3.2v5*)
5965 lt_cv_sys_max_cmd_len=102400
5966 ;;
5967 sysv5* | sco5v6* | sysv4.2uw2*)
5968 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5969 if test -n "$kargmax"; then
5970 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5971 else
5972 lt_cv_sys_max_cmd_len=32768
5973 fi
5974 ;;
5975 *)
5976 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5977 if test -n "$lt_cv_sys_max_cmd_len"; then
5978 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5979 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5980 else
5981 # Make teststring a little bigger before we do anything with it.
5982 # a 1K string should be a reasonable start.
5983 for i in 1 2 3 4 5 6 7 8 ; do
5984 teststring=$teststring$teststring
5985 done
5986 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5987 # If test is not a shell built-in, we'll probably end up computing a
5988 # maximum length that is only half of the actual maximum length, but
5989 # we can't tell.
5990 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5991 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5992 test $i != 17 # 1/2 MB should be enough
5993 do
5994 i=`expr $i + 1`
5995 teststring=$teststring$teststring
5996 done
5997 # Only check the string length outside the loop.
5998 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5999 teststring=
6000 # Add a significant safety factor because C++ compilers can tack on
6001 # massive amounts of additional arguments before passing them to the
6002 # linker. It appears as though 1/2 is a usable value.
6003 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6004 fi
6005 ;;
6006 esac
6007
6008 fi
6009
6010 if test -n $lt_cv_sys_max_cmd_len ; then
6011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6012 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6013 else
6014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6015 $as_echo "none" >&6; }
6016 fi
6017 max_cmd_len=$lt_cv_sys_max_cmd_len
6018
6019
6020
6021
6022
6023
6024 : ${CP="cp -f"}
6025 : ${MV="mv -f"}
6026 : ${RM="rm -f"}
6027
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6029 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6030 # Try some XSI features
6031 xsi_shell=no
6032 ( _lt_dummy="a/b/c"
6033 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6034 = c,a/b,, \
6035 && eval 'test $(( 1 + 1 )) -eq 2 \
6036 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6037 && xsi_shell=yes
6038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6039 $as_echo "$xsi_shell" >&6; }
6040
6041
6042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6043 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6044 lt_shell_append=no
6045 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6046 >/dev/null 2>&1 \
6047 && lt_shell_append=yes
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6049 $as_echo "$lt_shell_append" >&6; }
6050
6051
6052 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6053 lt_unset=unset
6054 else
6055 lt_unset=false
6056 fi
6057
6058
6059
6060
6061
6062 # test EBCDIC or ASCII
6063 case `echo X|tr X '\101'` in
6064 A) # ASCII based system
6065 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6066 lt_SP2NL='tr \040 \012'
6067 lt_NL2SP='tr \015\012 \040\040'
6068 ;;
6069 *) # EBCDIC based system
6070 lt_SP2NL='tr \100 \n'
6071 lt_NL2SP='tr \r\n \100\100'
6072 ;;
6073 esac
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6084 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6085 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6086 $as_echo_n "(cached) " >&6
6087 else
6088 lt_cv_ld_reload_flag='-r'
6089 fi
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6091 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6092 reload_flag=$lt_cv_ld_reload_flag
6093 case $reload_flag in
6094 "" | " "*) ;;
6095 *) reload_flag=" $reload_flag" ;;
6096 esac
6097 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6098 case $host_os in
6099 darwin*)
6100 if test "$GCC" = yes; then
6101 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6102 else
6103 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6104 fi
6105 ;;
6106 esac
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116 if test -n "$ac_tool_prefix"; then
6117 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6118 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6120 $as_echo_n "checking for $ac_word... " >&6; }
6121 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6122 $as_echo_n "(cached) " >&6
6123 else
6124 if test -n "$OBJDUMP"; then
6125 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6126 else
6127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6128 for as_dir in $PATH
6129 do
6130 IFS=$as_save_IFS
6131 test -z "$as_dir" && as_dir=.
6132 for ac_exec_ext in '' $ac_executable_extensions; do
6133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6134 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6136 break 2
6137 fi
6138 done
6139 done
6140 IFS=$as_save_IFS
6141
6142 fi
6143 fi
6144 OBJDUMP=$ac_cv_prog_OBJDUMP
6145 if test -n "$OBJDUMP"; then
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6147 $as_echo "$OBJDUMP" >&6; }
6148 else
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6150 $as_echo "no" >&6; }
6151 fi
6152
6153
6154 fi
6155 if test -z "$ac_cv_prog_OBJDUMP"; then
6156 ac_ct_OBJDUMP=$OBJDUMP
6157 # Extract the first word of "objdump", so it can be a program name with args.
6158 set dummy objdump; ac_word=$2
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6160 $as_echo_n "checking for $ac_word... " >&6; }
6161 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6162 $as_echo_n "(cached) " >&6
6163 else
6164 if test -n "$ac_ct_OBJDUMP"; then
6165 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6166 else
6167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6168 for as_dir in $PATH
6169 do
6170 IFS=$as_save_IFS
6171 test -z "$as_dir" && as_dir=.
6172 for ac_exec_ext in '' $ac_executable_extensions; do
6173 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6174 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6175 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6176 break 2
6177 fi
6178 done
6179 done
6180 IFS=$as_save_IFS
6181
6182 fi
6183 fi
6184 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6185 if test -n "$ac_ct_OBJDUMP"; then
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6187 $as_echo "$ac_ct_OBJDUMP" >&6; }
6188 else
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6190 $as_echo "no" >&6; }
6191 fi
6192
6193 if test "x$ac_ct_OBJDUMP" = x; then
6194 OBJDUMP="false"
6195 else
6196 case $cross_compiling:$ac_tool_warned in
6197 yes:)
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6199 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6200 ac_tool_warned=yes ;;
6201 esac
6202 OBJDUMP=$ac_ct_OBJDUMP
6203 fi
6204 else
6205 OBJDUMP="$ac_cv_prog_OBJDUMP"
6206 fi
6207
6208 test -z "$OBJDUMP" && OBJDUMP=objdump
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6219 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6220 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6221 $as_echo_n "(cached) " >&6
6222 else
6223 lt_cv_file_magic_cmd='$MAGIC_CMD'
6224 lt_cv_file_magic_test_file=
6225 lt_cv_deplibs_check_method='unknown'
6226 # Need to set the preceding variable on all platforms that support
6227 # interlibrary dependencies.
6228 # 'none' -- dependencies not supported.
6229 # `unknown' -- same as none, but documents that we really don't know.
6230 # 'pass_all' -- all dependencies passed with no checks.
6231 # 'test_compile' -- check by making test program.
6232 # 'file_magic [[regex]]' -- check by looking for files in library path
6233 # which responds to the $file_magic_cmd with a given extended regex.
6234 # If you have `file' or equivalent on your system and you're not sure
6235 # whether `pass_all' will *always* work, you probably want this one.
6236
6237 case $host_os in
6238 aix[4-9]*)
6239 lt_cv_deplibs_check_method=pass_all
6240 ;;
6241
6242 beos*)
6243 lt_cv_deplibs_check_method=pass_all
6244 ;;
6245
6246 bsdi[45]*)
6247 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6248 lt_cv_file_magic_cmd='/usr/bin/file -L'
6249 lt_cv_file_magic_test_file=/shlib/libc.so
6250 ;;
6251
6252 cygwin*)
6253 # func_win32_libid is a shell function defined in ltmain.sh
6254 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6255 lt_cv_file_magic_cmd='func_win32_libid'
6256 ;;
6257
6258 mingw* | pw32*)
6259 # Base MSYS/MinGW do not provide the 'file' command needed by
6260 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6261 # unless we find 'file', for example because we are cross-compiling.
6262 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6263 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6264 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6265 lt_cv_file_magic_cmd='func_win32_libid'
6266 else
6267 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6268 lt_cv_file_magic_cmd='$OBJDUMP -f'
6269 fi
6270 ;;
6271
6272 cegcc*)
6273 # use the weaker test based on 'objdump'. See mingw*.
6274 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6275 lt_cv_file_magic_cmd='$OBJDUMP -f'
6276 ;;
6277
6278 darwin* | rhapsody*)
6279 lt_cv_deplibs_check_method=pass_all
6280 ;;
6281
6282 freebsd* | dragonfly*)
6283 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6284 case $host_cpu in
6285 i*86 )
6286 # Not sure whether the presence of OpenBSD here was a mistake.
6287 # Let's accept both of them until this is cleared up.
6288 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6289 lt_cv_file_magic_cmd=/usr/bin/file
6290 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6291 ;;
6292 esac
6293 else
6294 lt_cv_deplibs_check_method=pass_all
6295 fi
6296 ;;
6297
6298 gnu*)
6299 lt_cv_deplibs_check_method=pass_all
6300 ;;
6301
6302 haiku*)
6303 lt_cv_deplibs_check_method=pass_all
6304 ;;
6305
6306 hpux10.20* | hpux11*)
6307 lt_cv_file_magic_cmd=/usr/bin/file
6308 case $host_cpu in
6309 ia64*)
6310 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6311 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6312 ;;
6313 hppa*64*)
6314 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]'
6315 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6316 ;;
6317 *)
6318 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6319 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6320 ;;
6321 esac
6322 ;;
6323
6324 interix[3-9]*)
6325 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6326 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6327 ;;
6328
6329 irix5* | irix6* | nonstopux*)
6330 case $LD in
6331 *-32|*"-32 ") libmagic=32-bit;;
6332 *-n32|*"-n32 ") libmagic=N32;;
6333 *-64|*"-64 ") libmagic=64-bit;;
6334 *) libmagic=never-match;;
6335 esac
6336 lt_cv_deplibs_check_method=pass_all
6337 ;;
6338
6339 # This must be Linux ELF.
6340 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6341 lt_cv_deplibs_check_method=pass_all
6342 ;;
6343
6344 netbsd*)
6345 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6347 else
6348 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6349 fi
6350 ;;
6351
6352 newos6*)
6353 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6354 lt_cv_file_magic_cmd=/usr/bin/file
6355 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6356 ;;
6357
6358 *nto* | *qnx*)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361
6362 openbsd*)
6363 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6364 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6365 else
6366 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6367 fi
6368 ;;
6369
6370 osf3* | osf4* | osf5*)
6371 lt_cv_deplibs_check_method=pass_all
6372 ;;
6373
6374 rdos*)
6375 lt_cv_deplibs_check_method=pass_all
6376 ;;
6377
6378 solaris*)
6379 lt_cv_deplibs_check_method=pass_all
6380 ;;
6381
6382 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6383 lt_cv_deplibs_check_method=pass_all
6384 ;;
6385
6386 sysv4 | sysv4.3*)
6387 case $host_vendor in
6388 motorola)
6389 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]'
6390 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6391 ;;
6392 ncr)
6393 lt_cv_deplibs_check_method=pass_all
6394 ;;
6395 sequent)
6396 lt_cv_file_magic_cmd='/bin/file'
6397 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6398 ;;
6399 sni)
6400 lt_cv_file_magic_cmd='/bin/file'
6401 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6402 lt_cv_file_magic_test_file=/lib/libc.so
6403 ;;
6404 siemens)
6405 lt_cv_deplibs_check_method=pass_all
6406 ;;
6407 pc)
6408 lt_cv_deplibs_check_method=pass_all
6409 ;;
6410 esac
6411 ;;
6412
6413 tpf*)
6414 lt_cv_deplibs_check_method=pass_all
6415 ;;
6416 esac
6417
6418 fi
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6420 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6421 file_magic_cmd=$lt_cv_file_magic_cmd
6422 deplibs_check_method=$lt_cv_deplibs_check_method
6423 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436 if test -n "$ac_tool_prefix"; then
6437 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6438 set dummy ${ac_tool_prefix}ar; ac_word=$2
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 $as_echo_n "checking for $ac_word... " >&6; }
6441 if test "${ac_cv_prog_AR+set}" = set; then :
6442 $as_echo_n "(cached) " >&6
6443 else
6444 if test -n "$AR"; then
6445 ac_cv_prog_AR="$AR" # Let the user override the test.
6446 else
6447 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6448 for as_dir in $PATH
6449 do
6450 IFS=$as_save_IFS
6451 test -z "$as_dir" && as_dir=.
6452 for ac_exec_ext in '' $ac_executable_extensions; do
6453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6454 ac_cv_prog_AR="${ac_tool_prefix}ar"
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 break 2
6457 fi
6458 done
6459 done
6460 IFS=$as_save_IFS
6461
6462 fi
6463 fi
6464 AR=$ac_cv_prog_AR
6465 if test -n "$AR"; then
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6467 $as_echo "$AR" >&6; }
6468 else
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6470 $as_echo "no" >&6; }
6471 fi
6472
6473
6474 fi
6475 if test -z "$ac_cv_prog_AR"; then
6476 ac_ct_AR=$AR
6477 # Extract the first word of "ar", so it can be a program name with args.
6478 set dummy ar; ac_word=$2
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6480 $as_echo_n "checking for $ac_word... " >&6; }
6481 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6482 $as_echo_n "(cached) " >&6
6483 else
6484 if test -n "$ac_ct_AR"; then
6485 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6486 else
6487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6488 for as_dir in $PATH
6489 do
6490 IFS=$as_save_IFS
6491 test -z "$as_dir" && as_dir=.
6492 for ac_exec_ext in '' $ac_executable_extensions; do
6493 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6494 ac_cv_prog_ac_ct_AR="ar"
6495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6496 break 2
6497 fi
6498 done
6499 done
6500 IFS=$as_save_IFS
6501
6502 fi
6503 fi
6504 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6505 if test -n "$ac_ct_AR"; then
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6507 $as_echo "$ac_ct_AR" >&6; }
6508 else
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6510 $as_echo "no" >&6; }
6511 fi
6512
6513 if test "x$ac_ct_AR" = x; then
6514 AR="false"
6515 else
6516 case $cross_compiling:$ac_tool_warned in
6517 yes:)
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6520 ac_tool_warned=yes ;;
6521 esac
6522 AR=$ac_ct_AR
6523 fi
6524 else
6525 AR="$ac_cv_prog_AR"
6526 fi
6527
6528 test -z "$AR" && AR=ar
6529 test -z "$AR_FLAGS" && AR_FLAGS=cru
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541 if test -n "$ac_tool_prefix"; then
6542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6543 set dummy ${ac_tool_prefix}strip; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if test "${ac_cv_prog_STRIP+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 if test -n "$STRIP"; then
6550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6554 do
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 break 2
6562 fi
6563 done
6564 done
6565 IFS=$as_save_IFS
6566
6567 fi
6568 fi
6569 STRIP=$ac_cv_prog_STRIP
6570 if test -n "$STRIP"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6572 $as_echo "$STRIP" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6576 fi
6577
6578
6579 fi
6580 if test -z "$ac_cv_prog_STRIP"; then
6581 ac_ct_STRIP=$STRIP
6582 # Extract the first word of "strip", so it can be a program name with args.
6583 set dummy strip; ac_word=$2
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6585 $as_echo_n "checking for $ac_word... " >&6; }
6586 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6587 $as_echo_n "(cached) " >&6
6588 else
6589 if test -n "$ac_ct_STRIP"; then
6590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6591 else
6592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6593 for as_dir in $PATH
6594 do
6595 IFS=$as_save_IFS
6596 test -z "$as_dir" && as_dir=.
6597 for ac_exec_ext in '' $ac_executable_extensions; do
6598 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6599 ac_cv_prog_ac_ct_STRIP="strip"
6600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6601 break 2
6602 fi
6603 done
6604 done
6605 IFS=$as_save_IFS
6606
6607 fi
6608 fi
6609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6610 if test -n "$ac_ct_STRIP"; then
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6612 $as_echo "$ac_ct_STRIP" >&6; }
6613 else
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615 $as_echo "no" >&6; }
6616 fi
6617
6618 if test "x$ac_ct_STRIP" = x; then
6619 STRIP=":"
6620 else
6621 case $cross_compiling:$ac_tool_warned in
6622 yes:)
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6625 ac_tool_warned=yes ;;
6626 esac
6627 STRIP=$ac_ct_STRIP
6628 fi
6629 else
6630 STRIP="$ac_cv_prog_STRIP"
6631 fi
6632
6633 test -z "$STRIP" && STRIP=:
6634
6635
6636
6637
6638
6639
6640 if test -n "$ac_tool_prefix"; then
6641 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6642 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6644 $as_echo_n "checking for $ac_word... " >&6; }
6645 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6646 $as_echo_n "(cached) " >&6
6647 else
6648 if test -n "$RANLIB"; then
6649 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6650 else
6651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6652 for as_dir in $PATH
6653 do
6654 IFS=$as_save_IFS
6655 test -z "$as_dir" && as_dir=.
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6658 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6660 break 2
6661 fi
6662 done
6663 done
6664 IFS=$as_save_IFS
6665
6666 fi
6667 fi
6668 RANLIB=$ac_cv_prog_RANLIB
6669 if test -n "$RANLIB"; then
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6671 $as_echo "$RANLIB" >&6; }
6672 else
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6675 fi
6676
6677
6678 fi
6679 if test -z "$ac_cv_prog_RANLIB"; then
6680 ac_ct_RANLIB=$RANLIB
6681 # Extract the first word of "ranlib", so it can be a program name with args.
6682 set dummy ranlib; ac_word=$2
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6684 $as_echo_n "checking for $ac_word... " >&6; }
6685 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6686 $as_echo_n "(cached) " >&6
6687 else
6688 if test -n "$ac_ct_RANLIB"; then
6689 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6690 else
6691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6692 for as_dir in $PATH
6693 do
6694 IFS=$as_save_IFS
6695 test -z "$as_dir" && as_dir=.
6696 for ac_exec_ext in '' $ac_executable_extensions; do
6697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6698 ac_cv_prog_ac_ct_RANLIB="ranlib"
6699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6700 break 2
6701 fi
6702 done
6703 done
6704 IFS=$as_save_IFS
6705
6706 fi
6707 fi
6708 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6709 if test -n "$ac_ct_RANLIB"; then
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6711 $as_echo "$ac_ct_RANLIB" >&6; }
6712 else
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6714 $as_echo "no" >&6; }
6715 fi
6716
6717 if test "x$ac_ct_RANLIB" = x; then
6718 RANLIB=":"
6719 else
6720 case $cross_compiling:$ac_tool_warned in
6721 yes:)
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6724 ac_tool_warned=yes ;;
6725 esac
6726 RANLIB=$ac_ct_RANLIB
6727 fi
6728 else
6729 RANLIB="$ac_cv_prog_RANLIB"
6730 fi
6731
6732 test -z "$RANLIB" && RANLIB=:
6733
6734
6735
6736
6737
6738
6739 # Determine commands to create old-style static archives.
6740 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6741 old_postinstall_cmds='chmod 644 $oldlib'
6742 old_postuninstall_cmds=
6743
6744 if test -n "$RANLIB"; then
6745 case $host_os in
6746 openbsd*)
6747 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6748 ;;
6749 *)
6750 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6751 ;;
6752 esac
6753 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6754 fi
6755
6756 case $host_os in
6757 darwin*)
6758 lock_old_archive_extraction=yes ;;
6759 *)
6760 lock_old_archive_extraction=no ;;
6761 esac
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801 # If no C compiler was specified, use CC.
6802 LTCC=${LTCC-"$CC"}
6803
6804 # If no C compiler flags were specified, use CFLAGS.
6805 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6806
6807 # Allow CC to be a program name with arguments.
6808 compiler=$CC
6809
6810
6811 # Check for command to grab the raw symbol name followed by C symbol from nm.
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6813 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6814 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6815 $as_echo_n "(cached) " >&6
6816 else
6817
6818 # These are sane defaults that work on at least a few old systems.
6819 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6820
6821 # Character class describing NM global symbol codes.
6822 symcode='[BCDEGRST]'
6823
6824 # Regexp to match symbols that can be accessed directly from C.
6825 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6826
6827 # Define system-specific variables.
6828 case $host_os in
6829 aix*)
6830 symcode='[BCDT]'
6831 ;;
6832 cygwin* | mingw* | pw32* | cegcc*)
6833 symcode='[ABCDGISTW]'
6834 ;;
6835 hpux*)
6836 if test "$host_cpu" = ia64; then
6837 symcode='[ABCDEGRST]'
6838 fi
6839 ;;
6840 irix* | nonstopux*)
6841 symcode='[BCDEGRST]'
6842 ;;
6843 osf*)
6844 symcode='[BCDEGQRST]'
6845 ;;
6846 solaris*)
6847 symcode='[BDRT]'
6848 ;;
6849 sco3.2v5*)
6850 symcode='[DT]'
6851 ;;
6852 sysv4.2uw2*)
6853 symcode='[DT]'
6854 ;;
6855 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6856 symcode='[ABDT]'
6857 ;;
6858 sysv4)
6859 symcode='[DFNSTU]'
6860 ;;
6861 esac
6862
6863 # If we're using GNU nm, then use its standard symbol codes.
6864 case `$NM -V 2>&1` in
6865 *GNU* | *'with BFD'*)
6866 symcode='[ABCDGIRSTW]' ;;
6867 esac
6868
6869 # Transform an extracted symbol line into a proper C declaration.
6870 # Some systems (esp. on ia64) link data and code symbols differently,
6871 # so use this general approach.
6872 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6873
6874 # Transform an extracted symbol line into symbol name and symbol address
6875 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6876 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'"
6877
6878 # Handle CRLF in mingw tool chain
6879 opt_cr=
6880 case $build_os in
6881 mingw*)
6882 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6883 ;;
6884 esac
6885
6886 # Try without a prefix underscore, then with it.
6887 for ac_symprfx in "" "_"; do
6888
6889 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6890 symxfrm="\\1 $ac_symprfx\\2 \\2"
6891
6892 # Write the raw and C identifiers.
6893 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6894 # Fake it for dumpbin and say T for any non-static function
6895 # and D for any global variable.
6896 # Also find C++ and __fastcall symbols from MSVC++,
6897 # which start with @ or ?.
6898 lt_cv_sys_global_symbol_pipe="$AWK '"\
6899 " {last_section=section; section=\$ 3};"\
6900 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6901 " \$ 0!~/External *\|/{next};"\
6902 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6903 " {if(hide[section]) next};"\
6904 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6905 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6906 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6907 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6908 " ' prfx=^$ac_symprfx"
6909 else
6910 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6911 fi
6912
6913 # Check to see that the pipe works correctly.
6914 pipe_works=no
6915
6916 rm -f conftest*
6917 cat > conftest.$ac_ext <<_LT_EOF
6918 #ifdef __cplusplus
6919 extern "C" {
6920 #endif
6921 char nm_test_var;
6922 void nm_test_func(void);
6923 void nm_test_func(void){}
6924 #ifdef __cplusplus
6925 }
6926 #endif
6927 int main(){nm_test_var='a';nm_test_func();return(0);}
6928 _LT_EOF
6929
6930 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6931 (eval $ac_compile) 2>&5
6932 ac_status=$?
6933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6934 test $ac_status = 0; }; then
6935 # Now try to grab the symbols.
6936 nlist=conftest.nm
6937 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6938 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6939 ac_status=$?
6940 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6941 test $ac_status = 0; } && test -s "$nlist"; then
6942 # Try sorting and uniquifying the output.
6943 if sort "$nlist" | uniq > "$nlist"T; then
6944 mv -f "$nlist"T "$nlist"
6945 else
6946 rm -f "$nlist"T
6947 fi
6948
6949 # Make sure that we snagged all the symbols we need.
6950 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6951 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6952 cat <<_LT_EOF > conftest.$ac_ext
6953 #ifdef __cplusplus
6954 extern "C" {
6955 #endif
6956
6957 _LT_EOF
6958 # Now generate the symbol file.
6959 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6960
6961 cat <<_LT_EOF >> conftest.$ac_ext
6962
6963 /* The mapping between symbol names and symbols. */
6964 const struct {
6965 const char *name;
6966 void *address;
6967 }
6968 lt__PROGRAM__LTX_preloaded_symbols[] =
6969 {
6970 { "@PROGRAM@", (void *) 0 },
6971 _LT_EOF
6972 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6973 cat <<\_LT_EOF >> conftest.$ac_ext
6974 {0, (void *) 0}
6975 };
6976
6977 /* This works around a problem in FreeBSD linker */
6978 #ifdef FREEBSD_WORKAROUND
6979 static const void *lt_preloaded_setup() {
6980 return lt__PROGRAM__LTX_preloaded_symbols;
6981 }
6982 #endif
6983
6984 #ifdef __cplusplus
6985 }
6986 #endif
6987 _LT_EOF
6988 # Now try linking the two files.
6989 mv conftest.$ac_objext conftstm.$ac_objext
6990 lt_save_LIBS="$LIBS"
6991 lt_save_CFLAGS="$CFLAGS"
6992 LIBS="conftstm.$ac_objext"
6993 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6994 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6995 (eval $ac_link) 2>&5
6996 ac_status=$?
6997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6998 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6999 pipe_works=yes
7000 fi
7001 LIBS="$lt_save_LIBS"
7002 CFLAGS="$lt_save_CFLAGS"
7003 else
7004 echo "cannot find nm_test_func in $nlist" >&5
7005 fi
7006 else
7007 echo "cannot find nm_test_var in $nlist" >&5
7008 fi
7009 else
7010 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7011 fi
7012 else
7013 echo "$progname: failed program was:" >&5
7014 cat conftest.$ac_ext >&5
7015 fi
7016 rm -rf conftest* conftst*
7017
7018 # Do not use the global_symbol_pipe unless it works.
7019 if test "$pipe_works" = yes; then
7020 break
7021 else
7022 lt_cv_sys_global_symbol_pipe=
7023 fi
7024 done
7025
7026 fi
7027
7028 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7029 lt_cv_sys_global_symbol_to_cdecl=
7030 fi
7031 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7033 $as_echo "failed" >&6; }
7034 else
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7036 $as_echo "ok" >&6; }
7037 fi
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060 # Check whether --enable-libtool-lock was given.
7061 if test "${enable_libtool_lock+set}" = set; then :
7062 enableval=$enable_libtool_lock;
7063 fi
7064
7065 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7066
7067 # Some flags need to be propagated to the compiler or linker for good
7068 # libtool support.
7069 case $host in
7070 ia64-*-hpux*)
7071 # Find out which ABI we are using.
7072 echo 'int i;' > conftest.$ac_ext
7073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7074 (eval $ac_compile) 2>&5
7075 ac_status=$?
7076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7077 test $ac_status = 0; }; then
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *ELF-32*)
7080 HPUX_IA64_MODE="32"
7081 ;;
7082 *ELF-64*)
7083 HPUX_IA64_MODE="64"
7084 ;;
7085 esac
7086 fi
7087 rm -rf conftest*
7088 ;;
7089 *-*-irix6*)
7090 # Find out which ABI we are using.
7091 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7092 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7093 (eval $ac_compile) 2>&5
7094 ac_status=$?
7095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7096 test $ac_status = 0; }; then
7097 if test "$lt_cv_prog_gnu_ld" = yes; then
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -melf32bsmip"
7101 ;;
7102 *N32*)
7103 LD="${LD-ld} -melf32bmipn32"
7104 ;;
7105 *64-bit*)
7106 LD="${LD-ld} -melf64bmip"
7107 ;;
7108 esac
7109 else
7110 case `/usr/bin/file conftest.$ac_objext` in
7111 *32-bit*)
7112 LD="${LD-ld} -32"
7113 ;;
7114 *N32*)
7115 LD="${LD-ld} -n32"
7116 ;;
7117 *64-bit*)
7118 LD="${LD-ld} -64"
7119 ;;
7120 esac
7121 fi
7122 fi
7123 rm -rf conftest*
7124 ;;
7125
7126 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7127 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7128 # Find out which ABI we are using.
7129 echo 'int i;' > conftest.$ac_ext
7130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7131 (eval $ac_compile) 2>&5
7132 ac_status=$?
7133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7134 test $ac_status = 0; }; then
7135 case `/usr/bin/file conftest.o` in
7136 *32-bit*)
7137 case $host in
7138 x86_64-*kfreebsd*-gnu)
7139 LD="${LD-ld} -m elf_i386_fbsd"
7140 ;;
7141 x86_64-*linux*)
7142 case `/usr/bin/file conftest.o` in
7143 *x86-64*)
7144 LD="${LD-ld} -m elf32_x86_64"
7145 ;;
7146 *)
7147 LD="${LD-ld} -m elf_i386"
7148 ;;
7149 esac
7150 ;;
7151 powerpc64le-*linux*)
7152 LD="${LD-ld} -m elf32lppclinux"
7153 ;;
7154 powerpc64-*linux*)
7155 LD="${LD-ld} -m elf32ppclinux"
7156 ;;
7157 s390x-*linux*)
7158 LD="${LD-ld} -m elf_s390"
7159 ;;
7160 sparc64-*linux*)
7161 LD="${LD-ld} -m elf32_sparc"
7162 ;;
7163 esac
7164 ;;
7165 *64-bit*)
7166 case $host in
7167 x86_64-*kfreebsd*-gnu)
7168 LD="${LD-ld} -m elf_x86_64_fbsd"
7169 ;;
7170 x86_64-*linux*)
7171 LD="${LD-ld} -m elf_x86_64"
7172 ;;
7173 powerpcle-*linux*)
7174 LD="${LD-ld} -m elf64lppc"
7175 ;;
7176 powerpc-*linux*)
7177 LD="${LD-ld} -m elf64ppc"
7178 ;;
7179 s390*-*linux*|s390*-*tpf*)
7180 LD="${LD-ld} -m elf64_s390"
7181 ;;
7182 sparc*-*linux*)
7183 LD="${LD-ld} -m elf64_sparc"
7184 ;;
7185 esac
7186 ;;
7187 esac
7188 fi
7189 rm -rf conftest*
7190 ;;
7191
7192 *-*-sco3.2v5*)
7193 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7194 SAVE_CFLAGS="$CFLAGS"
7195 CFLAGS="$CFLAGS -belf"
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7197 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7198 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7199 $as_echo_n "(cached) " >&6
7200 else
7201 ac_ext=c
7202 ac_cpp='$CPP $CPPFLAGS'
7203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7206
7207 if test x$gcc_no_link = xyes; then
7208 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7209 fi
7210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7211 /* end confdefs.h. */
7212
7213 int
7214 main ()
7215 {
7216
7217 ;
7218 return 0;
7219 }
7220 _ACEOF
7221 if ac_fn_c_try_link "$LINENO"; then :
7222 lt_cv_cc_needs_belf=yes
7223 else
7224 lt_cv_cc_needs_belf=no
7225 fi
7226 rm -f core conftest.err conftest.$ac_objext \
7227 conftest$ac_exeext conftest.$ac_ext
7228 ac_ext=c
7229 ac_cpp='$CPP $CPPFLAGS'
7230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7233
7234 fi
7235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7236 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7237 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7238 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7239 CFLAGS="$SAVE_CFLAGS"
7240 fi
7241 ;;
7242 sparc*-*solaris*)
7243 # Find out which ABI we are using.
7244 echo 'int i;' > conftest.$ac_ext
7245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7246 (eval $ac_compile) 2>&5
7247 ac_status=$?
7248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7249 test $ac_status = 0; }; then
7250 case `/usr/bin/file conftest.o` in
7251 *64-bit*)
7252 case $lt_cv_prog_gnu_ld in
7253 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7254 *)
7255 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7256 LD="${LD-ld} -64"
7257 fi
7258 ;;
7259 esac
7260 ;;
7261 esac
7262 fi
7263 rm -rf conftest*
7264 ;;
7265 esac
7266
7267 need_locks="$enable_libtool_lock"
7268
7269
7270 case $host_os in
7271 rhapsody* | darwin*)
7272 if test -n "$ac_tool_prefix"; then
7273 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7274 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7276 $as_echo_n "checking for $ac_word... " >&6; }
7277 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7278 $as_echo_n "(cached) " >&6
7279 else
7280 if test -n "$DSYMUTIL"; then
7281 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7282 else
7283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7284 for as_dir in $PATH
7285 do
7286 IFS=$as_save_IFS
7287 test -z "$as_dir" && as_dir=.
7288 for ac_exec_ext in '' $ac_executable_extensions; do
7289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7290 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7292 break 2
7293 fi
7294 done
7295 done
7296 IFS=$as_save_IFS
7297
7298 fi
7299 fi
7300 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7301 if test -n "$DSYMUTIL"; then
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7303 $as_echo "$DSYMUTIL" >&6; }
7304 else
7305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7306 $as_echo "no" >&6; }
7307 fi
7308
7309
7310 fi
7311 if test -z "$ac_cv_prog_DSYMUTIL"; then
7312 ac_ct_DSYMUTIL=$DSYMUTIL
7313 # Extract the first word of "dsymutil", so it can be a program name with args.
7314 set dummy dsymutil; ac_word=$2
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7316 $as_echo_n "checking for $ac_word... " >&6; }
7317 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7318 $as_echo_n "(cached) " >&6
7319 else
7320 if test -n "$ac_ct_DSYMUTIL"; then
7321 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7322 else
7323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7324 for as_dir in $PATH
7325 do
7326 IFS=$as_save_IFS
7327 test -z "$as_dir" && as_dir=.
7328 for ac_exec_ext in '' $ac_executable_extensions; do
7329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7330 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7332 break 2
7333 fi
7334 done
7335 done
7336 IFS=$as_save_IFS
7337
7338 fi
7339 fi
7340 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7341 if test -n "$ac_ct_DSYMUTIL"; then
7342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7343 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7344 else
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7346 $as_echo "no" >&6; }
7347 fi
7348
7349 if test "x$ac_ct_DSYMUTIL" = x; then
7350 DSYMUTIL=":"
7351 else
7352 case $cross_compiling:$ac_tool_warned in
7353 yes:)
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7356 ac_tool_warned=yes ;;
7357 esac
7358 DSYMUTIL=$ac_ct_DSYMUTIL
7359 fi
7360 else
7361 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7362 fi
7363
7364 if test -n "$ac_tool_prefix"; then
7365 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7366 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7368 $as_echo_n "checking for $ac_word... " >&6; }
7369 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7370 $as_echo_n "(cached) " >&6
7371 else
7372 if test -n "$NMEDIT"; then
7373 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7374 else
7375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7376 for as_dir in $PATH
7377 do
7378 IFS=$as_save_IFS
7379 test -z "$as_dir" && as_dir=.
7380 for ac_exec_ext in '' $ac_executable_extensions; do
7381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7382 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 break 2
7385 fi
7386 done
7387 done
7388 IFS=$as_save_IFS
7389
7390 fi
7391 fi
7392 NMEDIT=$ac_cv_prog_NMEDIT
7393 if test -n "$NMEDIT"; then
7394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7395 $as_echo "$NMEDIT" >&6; }
7396 else
7397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7398 $as_echo "no" >&6; }
7399 fi
7400
7401
7402 fi
7403 if test -z "$ac_cv_prog_NMEDIT"; then
7404 ac_ct_NMEDIT=$NMEDIT
7405 # Extract the first word of "nmedit", so it can be a program name with args.
7406 set dummy nmedit; ac_word=$2
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7408 $as_echo_n "checking for $ac_word... " >&6; }
7409 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7410 $as_echo_n "(cached) " >&6
7411 else
7412 if test -n "$ac_ct_NMEDIT"; then
7413 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7414 else
7415 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7416 for as_dir in $PATH
7417 do
7418 IFS=$as_save_IFS
7419 test -z "$as_dir" && as_dir=.
7420 for ac_exec_ext in '' $ac_executable_extensions; do
7421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7422 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7424 break 2
7425 fi
7426 done
7427 done
7428 IFS=$as_save_IFS
7429
7430 fi
7431 fi
7432 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7433 if test -n "$ac_ct_NMEDIT"; then
7434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7435 $as_echo "$ac_ct_NMEDIT" >&6; }
7436 else
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7438 $as_echo "no" >&6; }
7439 fi
7440
7441 if test "x$ac_ct_NMEDIT" = x; then
7442 NMEDIT=":"
7443 else
7444 case $cross_compiling:$ac_tool_warned in
7445 yes:)
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7448 ac_tool_warned=yes ;;
7449 esac
7450 NMEDIT=$ac_ct_NMEDIT
7451 fi
7452 else
7453 NMEDIT="$ac_cv_prog_NMEDIT"
7454 fi
7455
7456 if test -n "$ac_tool_prefix"; then
7457 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7458 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7460 $as_echo_n "checking for $ac_word... " >&6; }
7461 if test "${ac_cv_prog_LIPO+set}" = set; then :
7462 $as_echo_n "(cached) " >&6
7463 else
7464 if test -n "$LIPO"; then
7465 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7466 else
7467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7468 for as_dir in $PATH
7469 do
7470 IFS=$as_save_IFS
7471 test -z "$as_dir" && as_dir=.
7472 for ac_exec_ext in '' $ac_executable_extensions; do
7473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7474 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7476 break 2
7477 fi
7478 done
7479 done
7480 IFS=$as_save_IFS
7481
7482 fi
7483 fi
7484 LIPO=$ac_cv_prog_LIPO
7485 if test -n "$LIPO"; then
7486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7487 $as_echo "$LIPO" >&6; }
7488 else
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7491 fi
7492
7493
7494 fi
7495 if test -z "$ac_cv_prog_LIPO"; then
7496 ac_ct_LIPO=$LIPO
7497 # Extract the first word of "lipo", so it can be a program name with args.
7498 set dummy lipo; ac_word=$2
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7500 $as_echo_n "checking for $ac_word... " >&6; }
7501 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7502 $as_echo_n "(cached) " >&6
7503 else
7504 if test -n "$ac_ct_LIPO"; then
7505 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7506 else
7507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7508 for as_dir in $PATH
7509 do
7510 IFS=$as_save_IFS
7511 test -z "$as_dir" && as_dir=.
7512 for ac_exec_ext in '' $ac_executable_extensions; do
7513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7514 ac_cv_prog_ac_ct_LIPO="lipo"
7515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7516 break 2
7517 fi
7518 done
7519 done
7520 IFS=$as_save_IFS
7521
7522 fi
7523 fi
7524 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7525 if test -n "$ac_ct_LIPO"; then
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7527 $as_echo "$ac_ct_LIPO" >&6; }
7528 else
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7530 $as_echo "no" >&6; }
7531 fi
7532
7533 if test "x$ac_ct_LIPO" = x; then
7534 LIPO=":"
7535 else
7536 case $cross_compiling:$ac_tool_warned in
7537 yes:)
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7539 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7540 ac_tool_warned=yes ;;
7541 esac
7542 LIPO=$ac_ct_LIPO
7543 fi
7544 else
7545 LIPO="$ac_cv_prog_LIPO"
7546 fi
7547
7548 if test -n "$ac_tool_prefix"; then
7549 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7550 set dummy ${ac_tool_prefix}otool; ac_word=$2
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7552 $as_echo_n "checking for $ac_word... " >&6; }
7553 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7554 $as_echo_n "(cached) " >&6
7555 else
7556 if test -n "$OTOOL"; then
7557 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7558 else
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 for as_dir in $PATH
7561 do
7562 IFS=$as_save_IFS
7563 test -z "$as_dir" && as_dir=.
7564 for ac_exec_ext in '' $ac_executable_extensions; do
7565 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7566 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7567 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7568 break 2
7569 fi
7570 done
7571 done
7572 IFS=$as_save_IFS
7573
7574 fi
7575 fi
7576 OTOOL=$ac_cv_prog_OTOOL
7577 if test -n "$OTOOL"; then
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7579 $as_echo "$OTOOL" >&6; }
7580 else
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7582 $as_echo "no" >&6; }
7583 fi
7584
7585
7586 fi
7587 if test -z "$ac_cv_prog_OTOOL"; then
7588 ac_ct_OTOOL=$OTOOL
7589 # Extract the first word of "otool", so it can be a program name with args.
7590 set dummy otool; ac_word=$2
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7592 $as_echo_n "checking for $ac_word... " >&6; }
7593 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7594 $as_echo_n "(cached) " >&6
7595 else
7596 if test -n "$ac_ct_OTOOL"; then
7597 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7598 else
7599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7600 for as_dir in $PATH
7601 do
7602 IFS=$as_save_IFS
7603 test -z "$as_dir" && as_dir=.
7604 for ac_exec_ext in '' $ac_executable_extensions; do
7605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7606 ac_cv_prog_ac_ct_OTOOL="otool"
7607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7608 break 2
7609 fi
7610 done
7611 done
7612 IFS=$as_save_IFS
7613
7614 fi
7615 fi
7616 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7617 if test -n "$ac_ct_OTOOL"; then
7618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7619 $as_echo "$ac_ct_OTOOL" >&6; }
7620 else
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7622 $as_echo "no" >&6; }
7623 fi
7624
7625 if test "x$ac_ct_OTOOL" = x; then
7626 OTOOL=":"
7627 else
7628 case $cross_compiling:$ac_tool_warned in
7629 yes:)
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7631 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7632 ac_tool_warned=yes ;;
7633 esac
7634 OTOOL=$ac_ct_OTOOL
7635 fi
7636 else
7637 OTOOL="$ac_cv_prog_OTOOL"
7638 fi
7639
7640 if test -n "$ac_tool_prefix"; then
7641 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7642 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7644 $as_echo_n "checking for $ac_word... " >&6; }
7645 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7646 $as_echo_n "(cached) " >&6
7647 else
7648 if test -n "$OTOOL64"; then
7649 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7650 else
7651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7652 for as_dir in $PATH
7653 do
7654 IFS=$as_save_IFS
7655 test -z "$as_dir" && as_dir=.
7656 for ac_exec_ext in '' $ac_executable_extensions; do
7657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7658 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7659 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7660 break 2
7661 fi
7662 done
7663 done
7664 IFS=$as_save_IFS
7665
7666 fi
7667 fi
7668 OTOOL64=$ac_cv_prog_OTOOL64
7669 if test -n "$OTOOL64"; then
7670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7671 $as_echo "$OTOOL64" >&6; }
7672 else
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7674 $as_echo "no" >&6; }
7675 fi
7676
7677
7678 fi
7679 if test -z "$ac_cv_prog_OTOOL64"; then
7680 ac_ct_OTOOL64=$OTOOL64
7681 # Extract the first word of "otool64", so it can be a program name with args.
7682 set dummy otool64; ac_word=$2
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7684 $as_echo_n "checking for $ac_word... " >&6; }
7685 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7686 $as_echo_n "(cached) " >&6
7687 else
7688 if test -n "$ac_ct_OTOOL64"; then
7689 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7690 else
7691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7692 for as_dir in $PATH
7693 do
7694 IFS=$as_save_IFS
7695 test -z "$as_dir" && as_dir=.
7696 for ac_exec_ext in '' $ac_executable_extensions; do
7697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7698 ac_cv_prog_ac_ct_OTOOL64="otool64"
7699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7700 break 2
7701 fi
7702 done
7703 done
7704 IFS=$as_save_IFS
7705
7706 fi
7707 fi
7708 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7709 if test -n "$ac_ct_OTOOL64"; then
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7711 $as_echo "$ac_ct_OTOOL64" >&6; }
7712 else
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7714 $as_echo "no" >&6; }
7715 fi
7716
7717 if test "x$ac_ct_OTOOL64" = x; then
7718 OTOOL64=":"
7719 else
7720 case $cross_compiling:$ac_tool_warned in
7721 yes:)
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7724 ac_tool_warned=yes ;;
7725 esac
7726 OTOOL64=$ac_ct_OTOOL64
7727 fi
7728 else
7729 OTOOL64="$ac_cv_prog_OTOOL64"
7730 fi
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7759 $as_echo_n "checking for -single_module linker flag... " >&6; }
7760 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7761 $as_echo_n "(cached) " >&6
7762 else
7763 lt_cv_apple_cc_single_mod=no
7764 if test -z "${LT_MULTI_MODULE}"; then
7765 # By default we will add the -single_module flag. You can override
7766 # by either setting the environment variable LT_MULTI_MODULE
7767 # non-empty at configure time, or by adding -multi_module to the
7768 # link flags.
7769 rm -rf libconftest.dylib*
7770 echo "int foo(void){return 1;}" > conftest.c
7771 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7772 -dynamiclib -Wl,-single_module conftest.c" >&5
7773 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7774 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7775 _lt_result=$?
7776 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7777 lt_cv_apple_cc_single_mod=yes
7778 else
7779 cat conftest.err >&5
7780 fi
7781 rm -rf libconftest.dylib*
7782 rm -f conftest.*
7783 fi
7784 fi
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7786 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7788 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7789 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7790 $as_echo_n "(cached) " >&6
7791 else
7792 lt_cv_ld_exported_symbols_list=no
7793 save_LDFLAGS=$LDFLAGS
7794 echo "_main" > conftest.sym
7795 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7796 if test x$gcc_no_link = xyes; then
7797 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7798 fi
7799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7800 /* end confdefs.h. */
7801
7802 int
7803 main ()
7804 {
7805
7806 ;
7807 return 0;
7808 }
7809 _ACEOF
7810 if ac_fn_c_try_link "$LINENO"; then :
7811 lt_cv_ld_exported_symbols_list=yes
7812 else
7813 lt_cv_ld_exported_symbols_list=no
7814 fi
7815 rm -f core conftest.err conftest.$ac_objext \
7816 conftest$ac_exeext conftest.$ac_ext
7817 LDFLAGS="$save_LDFLAGS"
7818
7819 fi
7820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7821 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7823 $as_echo_n "checking for -force_load linker flag... " >&6; }
7824 if test "${lt_cv_ld_force_load+set}" = set; then :
7825 $as_echo_n "(cached) " >&6
7826 else
7827 lt_cv_ld_force_load=no
7828 cat > conftest.c << _LT_EOF
7829 int forced_loaded() { return 2;}
7830 _LT_EOF
7831 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7832 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7833 echo "$AR cru libconftest.a conftest.o" >&5
7834 $AR cru libconftest.a conftest.o 2>&5
7835 cat > conftest.c << _LT_EOF
7836 int main() { return 0;}
7837 _LT_EOF
7838 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7839 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7840 _lt_result=$?
7841 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7842 lt_cv_ld_force_load=yes
7843 else
7844 cat conftest.err >&5
7845 fi
7846 rm -f conftest.err libconftest.a conftest conftest.c
7847 rm -rf conftest.dSYM
7848
7849 fi
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7851 $as_echo "$lt_cv_ld_force_load" >&6; }
7852 case $host_os in
7853 rhapsody* | darwin1.[012])
7854 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7855 darwin1.*)
7856 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7857 darwin*) # darwin 5.x on
7858 # if running on 10.5 or later, the deployment target defaults
7859 # to the OS version, if on x86, and 10.4, the deployment
7860 # target defaults to 10.4. Don't you love it?
7861 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7862 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7863 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7864 10.[012]*)
7865 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7866 10.*)
7867 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7868 esac
7869 ;;
7870 esac
7871 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7872 _lt_dar_single_mod='$single_module'
7873 fi
7874 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7875 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7876 else
7877 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7878 fi
7879 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7880 _lt_dsymutil='~$DSYMUTIL $lib || :'
7881 else
7882 _lt_dsymutil=
7883 fi
7884 ;;
7885 esac
7886
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7888 $as_echo_n "checking for ANSI C header files... " >&6; }
7889 if test "${ac_cv_header_stdc+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7894 #include <stdlib.h>
7895 #include <stdarg.h>
7896 #include <string.h>
7897 #include <float.h>
7898
7899 int
7900 main ()
7901 {
7902
7903 ;
7904 return 0;
7905 }
7906 _ACEOF
7907 if ac_fn_c_try_compile "$LINENO"; then :
7908 ac_cv_header_stdc=yes
7909 else
7910 ac_cv_header_stdc=no
7911 fi
7912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7913
7914 if test $ac_cv_header_stdc = yes; then
7915 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7917 /* end confdefs.h. */
7918 #include <string.h>
7919
7920 _ACEOF
7921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7922 $EGREP "memchr" >/dev/null 2>&1; then :
7923
7924 else
7925 ac_cv_header_stdc=no
7926 fi
7927 rm -f conftest*
7928
7929 fi
7930
7931 if test $ac_cv_header_stdc = yes; then
7932 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7934 /* end confdefs.h. */
7935 #include <stdlib.h>
7936
7937 _ACEOF
7938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7939 $EGREP "free" >/dev/null 2>&1; then :
7940
7941 else
7942 ac_cv_header_stdc=no
7943 fi
7944 rm -f conftest*
7945
7946 fi
7947
7948 if test $ac_cv_header_stdc = yes; then
7949 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7950 if test "$cross_compiling" = yes; then :
7951 :
7952 else
7953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7954 /* end confdefs.h. */
7955 #include <ctype.h>
7956 #include <stdlib.h>
7957 #if ((' ' & 0x0FF) == 0x020)
7958 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7959 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7960 #else
7961 # define ISLOWER(c) \
7962 (('a' <= (c) && (c) <= 'i') \
7963 || ('j' <= (c) && (c) <= 'r') \
7964 || ('s' <= (c) && (c) <= 'z'))
7965 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7966 #endif
7967
7968 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7969 int
7970 main ()
7971 {
7972 int i;
7973 for (i = 0; i < 256; i++)
7974 if (XOR (islower (i), ISLOWER (i))
7975 || toupper (i) != TOUPPER (i))
7976 return 2;
7977 return 0;
7978 }
7979 _ACEOF
7980 if ac_fn_c_try_run "$LINENO"; then :
7981
7982 else
7983 ac_cv_header_stdc=no
7984 fi
7985 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7986 conftest.$ac_objext conftest.beam conftest.$ac_ext
7987 fi
7988
7989 fi
7990 fi
7991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7992 $as_echo "$ac_cv_header_stdc" >&6; }
7993 if test $ac_cv_header_stdc = yes; then
7994
7995 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7996
7997 fi
7998
7999 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8000 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8001 inttypes.h stdint.h unistd.h
8002 do :
8003 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8004 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8005 "
8006 eval as_val=\$$as_ac_Header
8007 if test "x$as_val" = x""yes; then :
8008 cat >>confdefs.h <<_ACEOF
8009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8010 _ACEOF
8011
8012 fi
8013
8014 done
8015
8016
8017 for ac_header in dlfcn.h
8018 do :
8019 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8020 "
8021 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8022 cat >>confdefs.h <<_ACEOF
8023 #define HAVE_DLFCN_H 1
8024 _ACEOF
8025
8026 fi
8027
8028 done
8029
8030
8031
8032
8033
8034
8035 # Set options
8036
8037
8038
8039
8040 enable_win32_dll=no
8041
8042
8043 # Check whether --enable-shared was given.
8044 if test "${enable_shared+set}" = set; then :
8045 enableval=$enable_shared; p=${PACKAGE-default}
8046 case $enableval in
8047 yes) enable_shared=yes ;;
8048 no) enable_shared=no ;;
8049 *)
8050 enable_shared=no
8051 # Look at the argument we got. We use all the common list separators.
8052 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8053 for pkg in $enableval; do
8054 IFS="$lt_save_ifs"
8055 if test "X$pkg" = "X$p"; then
8056 enable_shared=yes
8057 fi
8058 done
8059 IFS="$lt_save_ifs"
8060 ;;
8061 esac
8062 else
8063 enable_shared=yes
8064 fi
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074 # Check whether --enable-static was given.
8075 if test "${enable_static+set}" = set; then :
8076 enableval=$enable_static; p=${PACKAGE-default}
8077 case $enableval in
8078 yes) enable_static=yes ;;
8079 no) enable_static=no ;;
8080 *)
8081 enable_static=no
8082 # Look at the argument we got. We use all the common list separators.
8083 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8084 for pkg in $enableval; do
8085 IFS="$lt_save_ifs"
8086 if test "X$pkg" = "X$p"; then
8087 enable_static=yes
8088 fi
8089 done
8090 IFS="$lt_save_ifs"
8091 ;;
8092 esac
8093 else
8094 enable_static=yes
8095 fi
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106 # Check whether --with-pic was given.
8107 if test "${with_pic+set}" = set; then :
8108 withval=$with_pic; pic_mode="$withval"
8109 else
8110 pic_mode=default
8111 fi
8112
8113
8114 test -z "$pic_mode" && pic_mode=default
8115
8116
8117
8118
8119
8120
8121
8122 # Check whether --enable-fast-install was given.
8123 if test "${enable_fast_install+set}" = set; then :
8124 enableval=$enable_fast_install; p=${PACKAGE-default}
8125 case $enableval in
8126 yes) enable_fast_install=yes ;;
8127 no) enable_fast_install=no ;;
8128 *)
8129 enable_fast_install=no
8130 # Look at the argument we got. We use all the common list separators.
8131 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8132 for pkg in $enableval; do
8133 IFS="$lt_save_ifs"
8134 if test "X$pkg" = "X$p"; then
8135 enable_fast_install=yes
8136 fi
8137 done
8138 IFS="$lt_save_ifs"
8139 ;;
8140 esac
8141 else
8142 enable_fast_install=yes
8143 fi
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155 # This can be used to rebuild libtool when needed
8156 LIBTOOL_DEPS="$ltmain"
8157
8158 # Always use our own libtool.
8159 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186 test -z "$LN_S" && LN_S="ln -s"
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201 if test -n "${ZSH_VERSION+set}" ; then
8202 setopt NO_GLOB_SUBST
8203 fi
8204
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8206 $as_echo_n "checking for objdir... " >&6; }
8207 if test "${lt_cv_objdir+set}" = set; then :
8208 $as_echo_n "(cached) " >&6
8209 else
8210 rm -f .libs 2>/dev/null
8211 mkdir .libs 2>/dev/null
8212 if test -d .libs; then
8213 lt_cv_objdir=.libs
8214 else
8215 # MS-DOS does not allow filenames that begin with a dot.
8216 lt_cv_objdir=_libs
8217 fi
8218 rmdir .libs 2>/dev/null
8219 fi
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8221 $as_echo "$lt_cv_objdir" >&6; }
8222 objdir=$lt_cv_objdir
8223
8224
8225
8226
8227
8228 cat >>confdefs.h <<_ACEOF
8229 #define LT_OBJDIR "$lt_cv_objdir/"
8230 _ACEOF
8231
8232
8233
8234
8235 case $host_os in
8236 aix3*)
8237 # AIX sometimes has problems with the GCC collect2 program. For some
8238 # reason, if we set the COLLECT_NAMES environment variable, the problems
8239 # vanish in a puff of smoke.
8240 if test "X${COLLECT_NAMES+set}" != Xset; then
8241 COLLECT_NAMES=
8242 export COLLECT_NAMES
8243 fi
8244 ;;
8245 esac
8246
8247 # Global variables:
8248 ofile=libtool
8249 can_build_shared=yes
8250
8251 # All known linkers require a `.a' archive for static linking (except MSVC,
8252 # which needs '.lib').
8253 libext=a
8254
8255 with_gnu_ld="$lt_cv_prog_gnu_ld"
8256
8257 old_CC="$CC"
8258 old_CFLAGS="$CFLAGS"
8259
8260 # Set sane defaults for various variables
8261 test -z "$CC" && CC=cc
8262 test -z "$LTCC" && LTCC=$CC
8263 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8264 test -z "$LD" && LD=ld
8265 test -z "$ac_objext" && ac_objext=o
8266
8267 for cc_temp in $compiler""; do
8268 case $cc_temp in
8269 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8270 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8271 \-*) ;;
8272 *) break;;
8273 esac
8274 done
8275 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8276
8277
8278 # Only perform the check for file, if the check method requires it
8279 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8280 case $deplibs_check_method in
8281 file_magic*)
8282 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8284 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8285 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8286 $as_echo_n "(cached) " >&6
8287 else
8288 case $MAGIC_CMD in
8289 [\\/*] | ?:[\\/]*)
8290 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8291 ;;
8292 *)
8293 lt_save_MAGIC_CMD="$MAGIC_CMD"
8294 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8295 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8296 for ac_dir in $ac_dummy; do
8297 IFS="$lt_save_ifs"
8298 test -z "$ac_dir" && ac_dir=.
8299 if test -f $ac_dir/${ac_tool_prefix}file; then
8300 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8301 if test -n "$file_magic_test_file"; then
8302 case $deplibs_check_method in
8303 "file_magic "*)
8304 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8305 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8306 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8307 $EGREP "$file_magic_regex" > /dev/null; then
8308 :
8309 else
8310 cat <<_LT_EOF 1>&2
8311
8312 *** Warning: the command libtool uses to detect shared libraries,
8313 *** $file_magic_cmd, produces output that libtool cannot recognize.
8314 *** The result is that libtool may fail to recognize shared libraries
8315 *** as such. This will affect the creation of libtool libraries that
8316 *** depend on shared libraries, but programs linked with such libtool
8317 *** libraries will work regardless of this problem. Nevertheless, you
8318 *** may want to report the problem to your system manager and/or to
8319 *** bug-libtool@gnu.org
8320
8321 _LT_EOF
8322 fi ;;
8323 esac
8324 fi
8325 break
8326 fi
8327 done
8328 IFS="$lt_save_ifs"
8329 MAGIC_CMD="$lt_save_MAGIC_CMD"
8330 ;;
8331 esac
8332 fi
8333
8334 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8335 if test -n "$MAGIC_CMD"; then
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8337 $as_echo "$MAGIC_CMD" >&6; }
8338 else
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8340 $as_echo "no" >&6; }
8341 fi
8342
8343
8344
8345
8346
8347 if test -z "$lt_cv_path_MAGIC_CMD"; then
8348 if test -n "$ac_tool_prefix"; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8350 $as_echo_n "checking for file... " >&6; }
8351 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 case $MAGIC_CMD in
8355 [\\/*] | ?:[\\/]*)
8356 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8357 ;;
8358 *)
8359 lt_save_MAGIC_CMD="$MAGIC_CMD"
8360 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8361 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8362 for ac_dir in $ac_dummy; do
8363 IFS="$lt_save_ifs"
8364 test -z "$ac_dir" && ac_dir=.
8365 if test -f $ac_dir/file; then
8366 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8367 if test -n "$file_magic_test_file"; then
8368 case $deplibs_check_method in
8369 "file_magic "*)
8370 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8372 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8373 $EGREP "$file_magic_regex" > /dev/null; then
8374 :
8375 else
8376 cat <<_LT_EOF 1>&2
8377
8378 *** Warning: the command libtool uses to detect shared libraries,
8379 *** $file_magic_cmd, produces output that libtool cannot recognize.
8380 *** The result is that libtool may fail to recognize shared libraries
8381 *** as such. This will affect the creation of libtool libraries that
8382 *** depend on shared libraries, but programs linked with such libtool
8383 *** libraries will work regardless of this problem. Nevertheless, you
8384 *** may want to report the problem to your system manager and/or to
8385 *** bug-libtool@gnu.org
8386
8387 _LT_EOF
8388 fi ;;
8389 esac
8390 fi
8391 break
8392 fi
8393 done
8394 IFS="$lt_save_ifs"
8395 MAGIC_CMD="$lt_save_MAGIC_CMD"
8396 ;;
8397 esac
8398 fi
8399
8400 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8401 if test -n "$MAGIC_CMD"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8403 $as_echo "$MAGIC_CMD" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8407 fi
8408
8409
8410 else
8411 MAGIC_CMD=:
8412 fi
8413 fi
8414
8415 fi
8416 ;;
8417 esac
8418
8419 # Use C for the default configuration in the libtool script
8420
8421 lt_save_CC="$CC"
8422 ac_ext=c
8423 ac_cpp='$CPP $CPPFLAGS'
8424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8427
8428
8429 # Source file extension for C test sources.
8430 ac_ext=c
8431
8432 # Object file extension for compiled C test sources.
8433 objext=o
8434 objext=$objext
8435
8436 # Code to be used in simple compile tests
8437 lt_simple_compile_test_code="int some_variable = 0;"
8438
8439 # Code to be used in simple link tests
8440 lt_simple_link_test_code='int main(){return(0);}'
8441
8442
8443
8444
8445
8446
8447
8448 # If no C compiler was specified, use CC.
8449 LTCC=${LTCC-"$CC"}
8450
8451 # If no C compiler flags were specified, use CFLAGS.
8452 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8453
8454 # Allow CC to be a program name with arguments.
8455 compiler=$CC
8456
8457 # Save the default compiler, since it gets overwritten when the other
8458 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8459 compiler_DEFAULT=$CC
8460
8461 # save warnings/boilerplate of simple test code
8462 ac_outfile=conftest.$ac_objext
8463 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8464 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8465 _lt_compiler_boilerplate=`cat conftest.err`
8466 $RM conftest*
8467
8468 ac_outfile=conftest.$ac_objext
8469 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8470 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8471 _lt_linker_boilerplate=`cat conftest.err`
8472 $RM -r conftest*
8473
8474
8475 ## CAVEAT EMPTOR:
8476 ## There is no encapsulation within the following macros, do not change
8477 ## the running order or otherwise move them around unless you know exactly
8478 ## what you are doing...
8479 if test -n "$compiler"; then
8480
8481 lt_prog_compiler_no_builtin_flag=
8482
8483 if test "$GCC" = yes; then
8484 case $cc_basename in
8485 nvcc*)
8486 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8487 *)
8488 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8489 esac
8490
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8492 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8493 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8494 $as_echo_n "(cached) " >&6
8495 else
8496 lt_cv_prog_compiler_rtti_exceptions=no
8497 ac_outfile=conftest.$ac_objext
8498 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8499 lt_compiler_flag="-fno-rtti -fno-exceptions"
8500 # Insert the option either (1) after the last *FLAGS variable, or
8501 # (2) before a word containing "conftest.", or (3) at the end.
8502 # Note that $ac_compile itself does not contain backslashes and begins
8503 # with a dollar sign (not a hyphen), so the echo should work correctly.
8504 # The option is referenced via a variable to avoid confusing sed.
8505 lt_compile=`echo "$ac_compile" | $SED \
8506 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8507 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8508 -e 's:$: $lt_compiler_flag:'`
8509 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8510 (eval "$lt_compile" 2>conftest.err)
8511 ac_status=$?
8512 cat conftest.err >&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 if (exit $ac_status) && test -s "$ac_outfile"; then
8515 # The compiler can only warn and ignore the option if not recognized
8516 # So say no if there are warnings other than the usual output.
8517 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8518 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8519 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8520 lt_cv_prog_compiler_rtti_exceptions=yes
8521 fi
8522 fi
8523 $RM conftest*
8524
8525 fi
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8527 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8528
8529 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8530 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8531 else
8532 :
8533 fi
8534
8535 fi
8536
8537
8538
8539
8540
8541
8542 lt_prog_compiler_wl=
8543 lt_prog_compiler_pic=
8544 lt_prog_compiler_static=
8545
8546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8547 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8548
8549 if test "$GCC" = yes; then
8550 lt_prog_compiler_wl='-Wl,'
8551 lt_prog_compiler_static='-static'
8552
8553 case $host_os in
8554 aix*)
8555 # All AIX code is PIC.
8556 if test "$host_cpu" = ia64; then
8557 # AIX 5 now supports IA64 processor
8558 lt_prog_compiler_static='-Bstatic'
8559 fi
8560 lt_prog_compiler_pic='-fPIC'
8561 ;;
8562
8563 amigaos*)
8564 case $host_cpu in
8565 powerpc)
8566 # see comment about AmigaOS4 .so support
8567 lt_prog_compiler_pic='-fPIC'
8568 ;;
8569 m68k)
8570 # FIXME: we need at least 68020 code to build shared libraries, but
8571 # adding the `-m68020' flag to GCC prevents building anything better,
8572 # like `-m68040'.
8573 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8574 ;;
8575 esac
8576 ;;
8577
8578 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8579 # PIC is the default for these OSes.
8580 ;;
8581
8582 mingw* | cygwin* | pw32* | os2* | cegcc*)
8583 # This hack is so that the source file can tell whether it is being
8584 # built for inclusion in a dll (and should export symbols for example).
8585 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8586 # (--disable-auto-import) libraries
8587 lt_prog_compiler_pic='-DDLL_EXPORT'
8588 ;;
8589
8590 darwin* | rhapsody*)
8591 # PIC is the default on this platform
8592 # Common symbols not allowed in MH_DYLIB files
8593 lt_prog_compiler_pic='-fno-common'
8594 ;;
8595
8596 haiku*)
8597 # PIC is the default for Haiku.
8598 # The "-static" flag exists, but is broken.
8599 lt_prog_compiler_static=
8600 ;;
8601
8602 hpux*)
8603 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8604 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8605 # sets the default TLS model and affects inlining.
8606 case $host_cpu in
8607 hppa*64*)
8608 # +Z the default
8609 ;;
8610 *)
8611 lt_prog_compiler_pic='-fPIC'
8612 ;;
8613 esac
8614 ;;
8615
8616 interix[3-9]*)
8617 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8618 # Instead, we relocate shared libraries at runtime.
8619 ;;
8620
8621 msdosdjgpp*)
8622 # Just because we use GCC doesn't mean we suddenly get shared libraries
8623 # on systems that don't support them.
8624 lt_prog_compiler_can_build_shared=no
8625 enable_shared=no
8626 ;;
8627
8628 *nto* | *qnx*)
8629 # QNX uses GNU C++, but need to define -shared option too, otherwise
8630 # it will coredump.
8631 lt_prog_compiler_pic='-fPIC -shared'
8632 ;;
8633
8634 sysv4*MP*)
8635 if test -d /usr/nec; then
8636 lt_prog_compiler_pic=-Kconform_pic
8637 fi
8638 ;;
8639
8640 *)
8641 lt_prog_compiler_pic='-fPIC'
8642 ;;
8643 esac
8644
8645 case $cc_basename in
8646 nvcc*) # Cuda Compiler Driver 2.2
8647 lt_prog_compiler_wl='-Xlinker '
8648 lt_prog_compiler_pic='-Xcompiler -fPIC'
8649 ;;
8650 esac
8651 else
8652 # PORTME Check for flag to pass linker flags through the system compiler.
8653 case $host_os in
8654 aix*)
8655 lt_prog_compiler_wl='-Wl,'
8656 if test "$host_cpu" = ia64; then
8657 # AIX 5 now supports IA64 processor
8658 lt_prog_compiler_static='-Bstatic'
8659 else
8660 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8661 fi
8662 ;;
8663
8664 mingw* | cygwin* | pw32* | os2* | cegcc*)
8665 # This hack is so that the source file can tell whether it is being
8666 # built for inclusion in a dll (and should export symbols for example).
8667 lt_prog_compiler_pic='-DDLL_EXPORT'
8668 ;;
8669
8670 hpux9* | hpux10* | hpux11*)
8671 lt_prog_compiler_wl='-Wl,'
8672 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8673 # not for PA HP-UX.
8674 case $host_cpu in
8675 hppa*64*|ia64*)
8676 # +Z the default
8677 ;;
8678 *)
8679 lt_prog_compiler_pic='+Z'
8680 ;;
8681 esac
8682 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8683 lt_prog_compiler_static='${wl}-a ${wl}archive'
8684 ;;
8685
8686 irix5* | irix6* | nonstopux*)
8687 lt_prog_compiler_wl='-Wl,'
8688 # PIC (with -KPIC) is the default.
8689 lt_prog_compiler_static='-non_shared'
8690 ;;
8691
8692 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8693 case $cc_basename in
8694 # old Intel for x86_64 which still supported -KPIC.
8695 ecc*)
8696 lt_prog_compiler_wl='-Wl,'
8697 lt_prog_compiler_pic='-KPIC'
8698 lt_prog_compiler_static='-static'
8699 ;;
8700 # icc used to be incompatible with GCC.
8701 # ICC 10 doesn't accept -KPIC any more.
8702 icc* | ifort*)
8703 lt_prog_compiler_wl='-Wl,'
8704 lt_prog_compiler_pic='-fPIC'
8705 lt_prog_compiler_static='-static'
8706 ;;
8707 # Lahey Fortran 8.1.
8708 lf95*)
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='--shared'
8711 lt_prog_compiler_static='--static'
8712 ;;
8713 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8714 # Portland Group compilers (*not* the Pentium gcc compiler,
8715 # which looks to be a dead project)
8716 lt_prog_compiler_wl='-Wl,'
8717 lt_prog_compiler_pic='-fpic'
8718 lt_prog_compiler_static='-Bstatic'
8719 ;;
8720 ccc*)
8721 lt_prog_compiler_wl='-Wl,'
8722 # All Alpha code is PIC.
8723 lt_prog_compiler_static='-non_shared'
8724 ;;
8725 xl* | bgxl* | bgf* | mpixl*)
8726 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8727 lt_prog_compiler_wl='-Wl,'
8728 lt_prog_compiler_pic='-qpic'
8729 lt_prog_compiler_static='-qstaticlink'
8730 ;;
8731 *)
8732 case `$CC -V 2>&1 | sed 5q` in
8733 *Sun\ F* | *Sun*Fortran*)
8734 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8735 lt_prog_compiler_pic='-KPIC'
8736 lt_prog_compiler_static='-Bstatic'
8737 lt_prog_compiler_wl=''
8738 ;;
8739 *Sun\ C*)
8740 # Sun C 5.9
8741 lt_prog_compiler_pic='-KPIC'
8742 lt_prog_compiler_static='-Bstatic'
8743 lt_prog_compiler_wl='-Wl,'
8744 ;;
8745 esac
8746 ;;
8747 esac
8748 ;;
8749
8750 newsos6)
8751 lt_prog_compiler_pic='-KPIC'
8752 lt_prog_compiler_static='-Bstatic'
8753 ;;
8754
8755 *nto* | *qnx*)
8756 # QNX uses GNU C++, but need to define -shared option too, otherwise
8757 # it will coredump.
8758 lt_prog_compiler_pic='-fPIC -shared'
8759 ;;
8760
8761 osf3* | osf4* | osf5*)
8762 lt_prog_compiler_wl='-Wl,'
8763 # All OSF/1 code is PIC.
8764 lt_prog_compiler_static='-non_shared'
8765 ;;
8766
8767 rdos*)
8768 lt_prog_compiler_static='-non_shared'
8769 ;;
8770
8771 solaris*)
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8774 case $cc_basename in
8775 f77* | f90* | f95*)
8776 lt_prog_compiler_wl='-Qoption ld ';;
8777 *)
8778 lt_prog_compiler_wl='-Wl,';;
8779 esac
8780 ;;
8781
8782 sunos4*)
8783 lt_prog_compiler_wl='-Qoption ld '
8784 lt_prog_compiler_pic='-PIC'
8785 lt_prog_compiler_static='-Bstatic'
8786 ;;
8787
8788 sysv4 | sysv4.2uw2* | sysv4.3*)
8789 lt_prog_compiler_wl='-Wl,'
8790 lt_prog_compiler_pic='-KPIC'
8791 lt_prog_compiler_static='-Bstatic'
8792 ;;
8793
8794 sysv4*MP*)
8795 if test -d /usr/nec ;then
8796 lt_prog_compiler_pic='-Kconform_pic'
8797 lt_prog_compiler_static='-Bstatic'
8798 fi
8799 ;;
8800
8801 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8802 lt_prog_compiler_wl='-Wl,'
8803 lt_prog_compiler_pic='-KPIC'
8804 lt_prog_compiler_static='-Bstatic'
8805 ;;
8806
8807 unicos*)
8808 lt_prog_compiler_wl='-Wl,'
8809 lt_prog_compiler_can_build_shared=no
8810 ;;
8811
8812 uts4*)
8813 lt_prog_compiler_pic='-pic'
8814 lt_prog_compiler_static='-Bstatic'
8815 ;;
8816
8817 *)
8818 lt_prog_compiler_can_build_shared=no
8819 ;;
8820 esac
8821 fi
8822
8823 case $host_os in
8824 # For platforms which do not support PIC, -DPIC is meaningless:
8825 *djgpp*)
8826 lt_prog_compiler_pic=
8827 ;;
8828 *)
8829 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8830 ;;
8831 esac
8832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8833 $as_echo "$lt_prog_compiler_pic" >&6; }
8834
8835
8836
8837
8838
8839
8840 #
8841 # Check to make sure the PIC flag actually works.
8842 #
8843 if test -n "$lt_prog_compiler_pic"; then
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8845 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8846 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8847 $as_echo_n "(cached) " >&6
8848 else
8849 lt_cv_prog_compiler_pic_works=no
8850 ac_outfile=conftest.$ac_objext
8851 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8852 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8853 # Insert the option either (1) after the last *FLAGS variable, or
8854 # (2) before a word containing "conftest.", or (3) at the end.
8855 # Note that $ac_compile itself does not contain backslashes and begins
8856 # with a dollar sign (not a hyphen), so the echo should work correctly.
8857 # The option is referenced via a variable to avoid confusing sed.
8858 lt_compile=`echo "$ac_compile" | $SED \
8859 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8860 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8861 -e 's:$: $lt_compiler_flag:'`
8862 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8863 (eval "$lt_compile" 2>conftest.err)
8864 ac_status=$?
8865 cat conftest.err >&5
8866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8867 if (exit $ac_status) && test -s "$ac_outfile"; then
8868 # The compiler can only warn and ignore the option if not recognized
8869 # So say no if there are warnings other than the usual output.
8870 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8872 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8873 lt_cv_prog_compiler_pic_works=yes
8874 fi
8875 fi
8876 $RM conftest*
8877
8878 fi
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8880 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8881
8882 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8883 case $lt_prog_compiler_pic in
8884 "" | " "*) ;;
8885 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8886 esac
8887 else
8888 lt_prog_compiler_pic=
8889 lt_prog_compiler_can_build_shared=no
8890 fi
8891
8892 fi
8893
8894
8895
8896
8897
8898
8899 #
8900 # Check to make sure the static flag actually works.
8901 #
8902 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8904 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8905 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 lt_cv_prog_compiler_static_works=no
8909 save_LDFLAGS="$LDFLAGS"
8910 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8911 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8912 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8913 # The linker can only warn and ignore the option if not recognized
8914 # So say no if there are warnings
8915 if test -s conftest.err; then
8916 # Append any errors to the config.log.
8917 cat conftest.err 1>&5
8918 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8919 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8920 if diff conftest.exp conftest.er2 >/dev/null; then
8921 lt_cv_prog_compiler_static_works=yes
8922 fi
8923 else
8924 lt_cv_prog_compiler_static_works=yes
8925 fi
8926 fi
8927 $RM -r conftest*
8928 LDFLAGS="$save_LDFLAGS"
8929
8930 fi
8931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8932 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8933
8934 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8935 :
8936 else
8937 lt_prog_compiler_static=
8938 fi
8939
8940
8941
8942
8943
8944
8945
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8947 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8948 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8949 $as_echo_n "(cached) " >&6
8950 else
8951 lt_cv_prog_compiler_c_o=no
8952 $RM -r conftest 2>/dev/null
8953 mkdir conftest
8954 cd conftest
8955 mkdir out
8956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8957
8958 lt_compiler_flag="-o out/conftest2.$ac_objext"
8959 # Insert the option either (1) after the last *FLAGS variable, or
8960 # (2) before a word containing "conftest.", or (3) at the end.
8961 # Note that $ac_compile itself does not contain backslashes and begins
8962 # with a dollar sign (not a hyphen), so the echo should work correctly.
8963 lt_compile=`echo "$ac_compile" | $SED \
8964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8966 -e 's:$: $lt_compiler_flag:'`
8967 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8968 (eval "$lt_compile" 2>out/conftest.err)
8969 ac_status=$?
8970 cat out/conftest.err >&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8973 then
8974 # The compiler can only warn and ignore the option if not recognized
8975 # So say no if there are warnings
8976 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8977 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8978 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8979 lt_cv_prog_compiler_c_o=yes
8980 fi
8981 fi
8982 chmod u+w . 2>&5
8983 $RM conftest*
8984 # SGI C++ compiler will create directory out/ii_files/ for
8985 # template instantiation
8986 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8987 $RM out/* && rmdir out
8988 cd ..
8989 $RM -r conftest
8990 $RM conftest*
8991
8992 fi
8993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8994 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8995
8996
8997
8998
8999
9000
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9002 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9003 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9004 $as_echo_n "(cached) " >&6
9005 else
9006 lt_cv_prog_compiler_c_o=no
9007 $RM -r conftest 2>/dev/null
9008 mkdir conftest
9009 cd conftest
9010 mkdir out
9011 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9012
9013 lt_compiler_flag="-o out/conftest2.$ac_objext"
9014 # Insert the option either (1) after the last *FLAGS variable, or
9015 # (2) before a word containing "conftest.", or (3) at the end.
9016 # Note that $ac_compile itself does not contain backslashes and begins
9017 # with a dollar sign (not a hyphen), so the echo should work correctly.
9018 lt_compile=`echo "$ac_compile" | $SED \
9019 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9020 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9021 -e 's:$: $lt_compiler_flag:'`
9022 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9023 (eval "$lt_compile" 2>out/conftest.err)
9024 ac_status=$?
9025 cat out/conftest.err >&5
9026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9027 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9028 then
9029 # The compiler can only warn and ignore the option if not recognized
9030 # So say no if there are warnings
9031 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9032 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9033 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9034 lt_cv_prog_compiler_c_o=yes
9035 fi
9036 fi
9037 chmod u+w . 2>&5
9038 $RM conftest*
9039 # SGI C++ compiler will create directory out/ii_files/ for
9040 # template instantiation
9041 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9042 $RM out/* && rmdir out
9043 cd ..
9044 $RM -r conftest
9045 $RM conftest*
9046
9047 fi
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9049 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9050
9051
9052
9053
9054 hard_links="nottested"
9055 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9056 # do not overwrite the value of need_locks provided by the user
9057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9058 $as_echo_n "checking if we can lock with hard links... " >&6; }
9059 hard_links=yes
9060 $RM conftest*
9061 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9062 touch conftest.a
9063 ln conftest.a conftest.b 2>&5 || hard_links=no
9064 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9066 $as_echo "$hard_links" >&6; }
9067 if test "$hard_links" = no; then
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9069 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9070 need_locks=warn
9071 fi
9072 else
9073 need_locks=no
9074 fi
9075
9076
9077
9078
9079
9080
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9082 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9083
9084 runpath_var=
9085 allow_undefined_flag=
9086 always_export_symbols=no
9087 archive_cmds=
9088 archive_expsym_cmds=
9089 compiler_needs_object=no
9090 enable_shared_with_static_runtimes=no
9091 export_dynamic_flag_spec=
9092 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9093 hardcode_automatic=no
9094 hardcode_direct=no
9095 hardcode_direct_absolute=no
9096 hardcode_libdir_flag_spec=
9097 hardcode_libdir_flag_spec_ld=
9098 hardcode_libdir_separator=
9099 hardcode_minus_L=no
9100 hardcode_shlibpath_var=unsupported
9101 inherit_rpath=no
9102 link_all_deplibs=unknown
9103 module_cmds=
9104 module_expsym_cmds=
9105 old_archive_from_new_cmds=
9106 old_archive_from_expsyms_cmds=
9107 thread_safe_flag_spec=
9108 whole_archive_flag_spec=
9109 # include_expsyms should be a list of space-separated symbols to be *always*
9110 # included in the symbol list
9111 include_expsyms=
9112 # exclude_expsyms can be an extended regexp of symbols to exclude
9113 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9114 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9115 # as well as any symbol that contains `d'.
9116 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9117 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9118 # platforms (ab)use it in PIC code, but their linkers get confused if
9119 # the symbol is explicitly referenced. Since portable code cannot
9120 # rely on this symbol name, it's probably fine to never include it in
9121 # preloaded symbol tables.
9122 # Exclude shared library initialization/finalization symbols.
9123 extract_expsyms_cmds=
9124
9125 case $host_os in
9126 cygwin* | mingw* | pw32* | cegcc*)
9127 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9128 # When not using gcc, we currently assume that we are using
9129 # Microsoft Visual C++.
9130 if test "$GCC" != yes; then
9131 with_gnu_ld=no
9132 fi
9133 ;;
9134 interix*)
9135 # we just hope/assume this is gcc and not c89 (= MSVC++)
9136 with_gnu_ld=yes
9137 ;;
9138 openbsd*)
9139 with_gnu_ld=no
9140 ;;
9141 esac
9142
9143 ld_shlibs=yes
9144
9145 # On some targets, GNU ld is compatible enough with the native linker
9146 # that we're better off using the native interface for both.
9147 lt_use_gnu_ld_interface=no
9148 if test "$with_gnu_ld" = yes; then
9149 case $host_os in
9150 aix*)
9151 # The AIX port of GNU ld has always aspired to compatibility
9152 # with the native linker. However, as the warning in the GNU ld
9153 # block says, versions before 2.19.5* couldn't really create working
9154 # shared libraries, regardless of the interface used.
9155 case `$LD -v 2>&1` in
9156 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9157 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9158 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9159 *)
9160 lt_use_gnu_ld_interface=yes
9161 ;;
9162 esac
9163 ;;
9164 *)
9165 lt_use_gnu_ld_interface=yes
9166 ;;
9167 esac
9168 fi
9169
9170 if test "$lt_use_gnu_ld_interface" = yes; then
9171 # If archive_cmds runs LD, not CC, wlarc should be empty
9172 wlarc='${wl}'
9173
9174 # Set some defaults for GNU ld with shared library support. These
9175 # are reset later if shared libraries are not supported. Putting them
9176 # here allows them to be overridden if necessary.
9177 runpath_var=LD_RUN_PATH
9178 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9179 export_dynamic_flag_spec='${wl}--export-dynamic'
9180 # ancient GNU ld didn't support --whole-archive et. al.
9181 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9182 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9183 else
9184 whole_archive_flag_spec=
9185 fi
9186 supports_anon_versioning=no
9187 case `$LD -v 2>&1` in
9188 *GNU\ gold*) supports_anon_versioning=yes ;;
9189 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9190 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9191 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9192 *\ 2.11.*) ;; # other 2.11 versions
9193 *) supports_anon_versioning=yes ;;
9194 esac
9195
9196 # See if GNU ld supports shared libraries.
9197 case $host_os in
9198 aix[3-9]*)
9199 # On AIX/PPC, the GNU linker is very broken
9200 if test "$host_cpu" != ia64; then
9201 ld_shlibs=no
9202 cat <<_LT_EOF 1>&2
9203
9204 *** Warning: the GNU linker, at least up to release 2.19, is reported
9205 *** to be unable to reliably create shared libraries on AIX.
9206 *** Therefore, libtool is disabling shared libraries support. If you
9207 *** really care for shared libraries, you may want to install binutils
9208 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9209 *** You will then need to restart the configuration process.
9210
9211 _LT_EOF
9212 fi
9213 ;;
9214
9215 amigaos*)
9216 case $host_cpu in
9217 powerpc)
9218 # see comment about AmigaOS4 .so support
9219 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9220 archive_expsym_cmds=''
9221 ;;
9222 m68k)
9223 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)'
9224 hardcode_libdir_flag_spec='-L$libdir'
9225 hardcode_minus_L=yes
9226 ;;
9227 esac
9228 ;;
9229
9230 beos*)
9231 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9232 allow_undefined_flag=unsupported
9233 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9234 # support --undefined. This deserves some investigation. FIXME
9235 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9236 else
9237 ld_shlibs=no
9238 fi
9239 ;;
9240
9241 cygwin* | mingw* | pw32* | cegcc*)
9242 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9243 # as there is no search path for DLLs.
9244 hardcode_libdir_flag_spec='-L$libdir'
9245 export_dynamic_flag_spec='${wl}--export-all-symbols'
9246 allow_undefined_flag=unsupported
9247 always_export_symbols=no
9248 enable_shared_with_static_runtimes=yes
9249 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9250
9251 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9252 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9253 # If the export-symbols file already is a .def file (1st line
9254 # is EXPORTS), use it as is; otherwise, prepend...
9255 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9256 cp $export_symbols $output_objdir/$soname.def;
9257 else
9258 echo EXPORTS > $output_objdir/$soname.def;
9259 cat $export_symbols >> $output_objdir/$soname.def;
9260 fi~
9261 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9262 else
9263 ld_shlibs=no
9264 fi
9265 ;;
9266
9267 haiku*)
9268 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9269 link_all_deplibs=yes
9270 ;;
9271
9272 interix[3-9]*)
9273 hardcode_direct=no
9274 hardcode_shlibpath_var=no
9275 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9276 export_dynamic_flag_spec='${wl}-E'
9277 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9278 # Instead, shared libraries are loaded at an image base (0x10000000 by
9279 # default) and relocated if they conflict, which is a slow very memory
9280 # consuming and fragmenting process. To avoid this, we pick a random,
9281 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9282 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9283 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9284 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'
9285 ;;
9286
9287 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9288 tmp_diet=no
9289 if test "$host_os" = linux-dietlibc; then
9290 case $cc_basename in
9291 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9292 esac
9293 fi
9294 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9295 && test "$tmp_diet" = no
9296 then
9297 tmp_addflag=
9298 tmp_sharedflag='-shared'
9299 case $cc_basename,$host_cpu in
9300 pgcc*) # Portland Group C compiler
9301 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'
9302 tmp_addflag=' $pic_flag'
9303 ;;
9304 pgf77* | pgf90* | pgf95* | pgfortran*)
9305 # Portland Group f77 and f90 compilers
9306 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'
9307 tmp_addflag=' $pic_flag -Mnomain' ;;
9308 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9309 tmp_addflag=' -i_dynamic' ;;
9310 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9311 tmp_addflag=' -i_dynamic -nofor_main' ;;
9312 ifc* | ifort*) # Intel Fortran compiler
9313 tmp_addflag=' -nofor_main' ;;
9314 lf95*) # Lahey Fortran 8.1
9315 whole_archive_flag_spec=
9316 tmp_sharedflag='--shared' ;;
9317 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9318 tmp_sharedflag='-qmkshrobj'
9319 tmp_addflag= ;;
9320 nvcc*) # Cuda Compiler Driver 2.2
9321 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'
9322 compiler_needs_object=yes
9323 ;;
9324 esac
9325 case `$CC -V 2>&1 | sed 5q` in
9326 *Sun\ C*) # Sun C 5.9
9327 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'
9328 compiler_needs_object=yes
9329 tmp_sharedflag='-G' ;;
9330 *Sun\ F*) # Sun Fortran 8.3
9331 tmp_sharedflag='-G' ;;
9332 esac
9333 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334
9335 if test "x$supports_anon_versioning" = xyes; then
9336 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9337 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9338 echo "local: *; };" >> $output_objdir/$libname.ver~
9339 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9340 fi
9341
9342 case $cc_basename in
9343 xlf* | bgf* | bgxlf* | mpixlf*)
9344 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9345 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9346 hardcode_libdir_flag_spec=
9347 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9348 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9349 if test "x$supports_anon_versioning" = xyes; then
9350 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9351 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9352 echo "local: *; };" >> $output_objdir/$libname.ver~
9353 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9354 fi
9355 ;;
9356 esac
9357 else
9358 ld_shlibs=no
9359 fi
9360 ;;
9361
9362 netbsd*)
9363 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9364 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9365 wlarc=
9366 else
9367 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9368 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9369 fi
9370 ;;
9371
9372 solaris*)
9373 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9374 ld_shlibs=no
9375 cat <<_LT_EOF 1>&2
9376
9377 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9378 *** create shared libraries on Solaris systems. Therefore, libtool
9379 *** is disabling shared libraries support. We urge you to upgrade GNU
9380 *** binutils to release 2.9.1 or newer. Another option is to modify
9381 *** your PATH or compiler configuration so that the native linker is
9382 *** used, and then restart.
9383
9384 _LT_EOF
9385 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9386 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9387 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9388 else
9389 ld_shlibs=no
9390 fi
9391 ;;
9392
9393 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9394 case `$LD -v 2>&1` in
9395 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9396 ld_shlibs=no
9397 cat <<_LT_EOF 1>&2
9398
9399 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9400 *** reliably create shared libraries on SCO systems. Therefore, libtool
9401 *** is disabling shared libraries support. We urge you to upgrade GNU
9402 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9403 *** your PATH or compiler configuration so that the native linker is
9404 *** used, and then restart.
9405
9406 _LT_EOF
9407 ;;
9408 *)
9409 # For security reasons, it is highly recommended that you always
9410 # use absolute paths for naming shared libraries, and exclude the
9411 # DT_RUNPATH tag from executables and libraries. But doing so
9412 # requires that you compile everything twice, which is a pain.
9413 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9414 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9419 fi
9420 ;;
9421 esac
9422 ;;
9423
9424 sunos4*)
9425 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9426 wlarc=
9427 hardcode_direct=yes
9428 hardcode_shlibpath_var=no
9429 ;;
9430
9431 *)
9432 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9435 else
9436 ld_shlibs=no
9437 fi
9438 ;;
9439 esac
9440
9441 if test "$ld_shlibs" = no; then
9442 runpath_var=
9443 hardcode_libdir_flag_spec=
9444 export_dynamic_flag_spec=
9445 whole_archive_flag_spec=
9446 fi
9447 else
9448 # PORTME fill in a description of your system's linker (not GNU ld)
9449 case $host_os in
9450 aix3*)
9451 allow_undefined_flag=unsupported
9452 always_export_symbols=yes
9453 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'
9454 # Note: this linker hardcodes the directories in LIBPATH if there
9455 # are no directories specified by -L.
9456 hardcode_minus_L=yes
9457 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9458 # Neither direct hardcoding nor static linking is supported with a
9459 # broken collect2.
9460 hardcode_direct=unsupported
9461 fi
9462 ;;
9463
9464 aix[4-9]*)
9465 if test "$host_cpu" = ia64; then
9466 # On IA64, the linker does run time linking by default, so we don't
9467 # have to do anything special.
9468 aix_use_runtimelinking=no
9469 exp_sym_flag='-Bexport'
9470 no_entry_flag=""
9471 else
9472 # If we're using GNU nm, then we don't want the "-C" option.
9473 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9474 # Also, AIX nm treats weak defined symbols like other global
9475 # defined symbols, whereas GNU nm marks them as "W".
9476 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9477 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'
9478 else
9479 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'
9480 fi
9481 aix_use_runtimelinking=no
9482
9483 # Test if we are trying to use run time linking or normal
9484 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9485 # need to do runtime linking.
9486 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9487 for ld_flag in $LDFLAGS; do
9488 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9489 aix_use_runtimelinking=yes
9490 break
9491 fi
9492 done
9493 ;;
9494 esac
9495
9496 exp_sym_flag='-bexport'
9497 no_entry_flag='-bnoentry'
9498 fi
9499
9500 # When large executables or shared objects are built, AIX ld can
9501 # have problems creating the table of contents. If linking a library
9502 # or program results in "error TOC overflow" add -mminimal-toc to
9503 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9504 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9505
9506 archive_cmds=''
9507 hardcode_direct=yes
9508 hardcode_direct_absolute=yes
9509 hardcode_libdir_separator=':'
9510 link_all_deplibs=yes
9511 file_list_spec='${wl}-f,'
9512
9513 if test "$GCC" = yes; then
9514 case $host_os in aix4.[012]|aix4.[012].*)
9515 # We only want to do this on AIX 4.2 and lower, the check
9516 # below for broken collect2 doesn't work under 4.3+
9517 collect2name=`${CC} -print-prog-name=collect2`
9518 if test -f "$collect2name" &&
9519 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9520 then
9521 # We have reworked collect2
9522 :
9523 else
9524 # We have old collect2
9525 hardcode_direct=unsupported
9526 # It fails to find uninstalled libraries when the uninstalled
9527 # path is not listed in the libpath. Setting hardcode_minus_L
9528 # to unsupported forces relinking
9529 hardcode_minus_L=yes
9530 hardcode_libdir_flag_spec='-L$libdir'
9531 hardcode_libdir_separator=
9532 fi
9533 ;;
9534 esac
9535 shared_flag='-shared'
9536 if test "$aix_use_runtimelinking" = yes; then
9537 shared_flag="$shared_flag "'${wl}-G'
9538 fi
9539 else
9540 # not using gcc
9541 if test "$host_cpu" = ia64; then
9542 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9543 # chokes on -Wl,-G. The following line is correct:
9544 shared_flag='-G'
9545 else
9546 if test "$aix_use_runtimelinking" = yes; then
9547 shared_flag='${wl}-G'
9548 else
9549 shared_flag='${wl}-bM:SRE'
9550 fi
9551 fi
9552 fi
9553
9554 export_dynamic_flag_spec='${wl}-bexpall'
9555 # It seems that -bexpall does not export symbols beginning with
9556 # underscore (_), so it is better to generate a list of symbols to export.
9557 always_export_symbols=yes
9558 if test "$aix_use_runtimelinking" = yes; then
9559 # Warning - without using the other runtime loading flags (-brtl),
9560 # -berok will link without error, but may produce a broken library.
9561 allow_undefined_flag='-berok'
9562 # Determine the default libpath from the value encoded in an
9563 # empty executable.
9564 if test x$gcc_no_link = xyes; then
9565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9566 fi
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9569
9570 int
9571 main ()
9572 {
9573
9574 ;
9575 return 0;
9576 }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579
9580 lt_aix_libpath_sed='
9581 /Import File Strings/,/^$/ {
9582 /^0/ {
9583 s/^0 *\(.*\)$/\1/
9584 p
9585 }
9586 }'
9587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 # Check for a 64-bit object if we didn't find anything.
9589 if test -z "$aix_libpath"; then
9590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 fi
9592 fi
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9596
9597 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598 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"
9599 else
9600 if test "$host_cpu" = ia64; then
9601 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9602 allow_undefined_flag="-z nodefs"
9603 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"
9604 else
9605 # Determine the default libpath from the value encoded in an
9606 # empty executable.
9607 if test x$gcc_no_link = xyes; then
9608 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9609 fi
9610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9611 /* end confdefs.h. */
9612
9613 int
9614 main ()
9615 {
9616
9617 ;
9618 return 0;
9619 }
9620 _ACEOF
9621 if ac_fn_c_try_link "$LINENO"; then :
9622
9623 lt_aix_libpath_sed='
9624 /Import File Strings/,/^$/ {
9625 /^0/ {
9626 s/^0 *\(.*\)$/\1/
9627 p
9628 }
9629 }'
9630 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631 # Check for a 64-bit object if we didn't find anything.
9632 if test -z "$aix_libpath"; then
9633 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9634 fi
9635 fi
9636 rm -f core conftest.err conftest.$ac_objext \
9637 conftest$ac_exeext conftest.$ac_ext
9638 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9639
9640 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9641 # Warning - without using the other run time loading flags,
9642 # -berok will link without error, but may produce a broken library.
9643 no_undefined_flag=' ${wl}-bernotok'
9644 allow_undefined_flag=' ${wl}-berok'
9645 if test "$with_gnu_ld" = yes; then
9646 # We only use this code for GNU lds that support --whole-archive.
9647 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9648 else
9649 # Exported symbols can be pulled into shared objects from archives
9650 whole_archive_flag_spec='$convenience'
9651 fi
9652 archive_cmds_need_lc=yes
9653 # This is similar to how AIX traditionally builds its shared libraries.
9654 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'
9655 fi
9656 fi
9657 ;;
9658
9659 amigaos*)
9660 case $host_cpu in
9661 powerpc)
9662 # see comment about AmigaOS4 .so support
9663 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9664 archive_expsym_cmds=''
9665 ;;
9666 m68k)
9667 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)'
9668 hardcode_libdir_flag_spec='-L$libdir'
9669 hardcode_minus_L=yes
9670 ;;
9671 esac
9672 ;;
9673
9674 bsdi[45]*)
9675 export_dynamic_flag_spec=-rdynamic
9676 ;;
9677
9678 cygwin* | mingw* | pw32* | cegcc*)
9679 # When not using gcc, we currently assume that we are using
9680 # Microsoft Visual C++.
9681 # hardcode_libdir_flag_spec is actually meaningless, as there is
9682 # no search path for DLLs.
9683 hardcode_libdir_flag_spec=' '
9684 allow_undefined_flag=unsupported
9685 # Tell ltmain to make .lib files, not .a files.
9686 libext=lib
9687 # Tell ltmain to make .dll files, not .so files.
9688 shrext_cmds=".dll"
9689 # FIXME: Setting linknames here is a bad hack.
9690 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9691 # The linker will automatically build a .lib file if we build a DLL.
9692 old_archive_from_new_cmds='true'
9693 # FIXME: Should let the user specify the lib program.
9694 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9695 fix_srcfile_path='`cygpath -w "$srcfile"`'
9696 enable_shared_with_static_runtimes=yes
9697 ;;
9698
9699 darwin* | rhapsody*)
9700
9701
9702 archive_cmds_need_lc=no
9703 hardcode_direct=no
9704 hardcode_automatic=yes
9705 hardcode_shlibpath_var=unsupported
9706 if test "$lt_cv_ld_force_load" = "yes"; then
9707 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\"`'
9708 else
9709 whole_archive_flag_spec=''
9710 fi
9711 link_all_deplibs=yes
9712 allow_undefined_flag="$_lt_dar_allow_undefined"
9713 case $cc_basename in
9714 ifort*) _lt_dar_can_shared=yes ;;
9715 *) _lt_dar_can_shared=$GCC ;;
9716 esac
9717 if test "$_lt_dar_can_shared" = "yes"; then
9718 output_verbose_link_cmd=func_echo_all
9719 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9720 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9721 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}"
9722 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}"
9723
9724 else
9725 ld_shlibs=no
9726 fi
9727
9728 ;;
9729
9730 dgux*)
9731 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_libdir_flag_spec='-L$libdir'
9733 hardcode_shlibpath_var=no
9734 ;;
9735
9736 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9737 # support. Future versions do this automatically, but an explicit c++rt0.o
9738 # does not break anything, and helps significantly (at the cost of a little
9739 # extra space).
9740 freebsd2.2*)
9741 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9742 hardcode_libdir_flag_spec='-R$libdir'
9743 hardcode_direct=yes
9744 hardcode_shlibpath_var=no
9745 ;;
9746
9747 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9748 freebsd2.*)
9749 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9750 hardcode_direct=yes
9751 hardcode_minus_L=yes
9752 hardcode_shlibpath_var=no
9753 ;;
9754
9755 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9756 freebsd* | dragonfly*)
9757 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9758 hardcode_libdir_flag_spec='-R$libdir'
9759 hardcode_direct=yes
9760 hardcode_shlibpath_var=no
9761 ;;
9762
9763 hpux9*)
9764 if test "$GCC" = yes; then
9765 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'
9766 else
9767 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'
9768 fi
9769 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9772
9773 # hardcode_minus_L: Not really in the search PATH,
9774 # but as the default location of the library.
9775 hardcode_minus_L=yes
9776 export_dynamic_flag_spec='${wl}-E'
9777 ;;
9778
9779 hpux10*)
9780 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9781 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9782 else
9783 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9784 fi
9785 if test "$with_gnu_ld" = no; then
9786 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9787 hardcode_libdir_flag_spec_ld='+b $libdir'
9788 hardcode_libdir_separator=:
9789 hardcode_direct=yes
9790 hardcode_direct_absolute=yes
9791 export_dynamic_flag_spec='${wl}-E'
9792 # hardcode_minus_L: Not really in the search PATH,
9793 # but as the default location of the library.
9794 hardcode_minus_L=yes
9795 fi
9796 ;;
9797
9798 hpux11*)
9799 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9800 case $host_cpu in
9801 hppa*64*)
9802 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9803 ;;
9804 ia64*)
9805 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9806 ;;
9807 *)
9808 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9809 ;;
9810 esac
9811 else
9812 case $host_cpu in
9813 hppa*64*)
9814 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9815 ;;
9816 ia64*)
9817 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9818 ;;
9819 *)
9820
9821 # Older versions of the 11.00 compiler do not understand -b yet
9822 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9824 $as_echo_n "checking if $CC understands -b... " >&6; }
9825 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9826 $as_echo_n "(cached) " >&6
9827 else
9828 lt_cv_prog_compiler__b=no
9829 save_LDFLAGS="$LDFLAGS"
9830 LDFLAGS="$LDFLAGS -b"
9831 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9832 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9833 # The linker can only warn and ignore the option if not recognized
9834 # So say no if there are warnings
9835 if test -s conftest.err; then
9836 # Append any errors to the config.log.
9837 cat conftest.err 1>&5
9838 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9839 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9840 if diff conftest.exp conftest.er2 >/dev/null; then
9841 lt_cv_prog_compiler__b=yes
9842 fi
9843 else
9844 lt_cv_prog_compiler__b=yes
9845 fi
9846 fi
9847 $RM -r conftest*
9848 LDFLAGS="$save_LDFLAGS"
9849
9850 fi
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9852 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9853
9854 if test x"$lt_cv_prog_compiler__b" = xyes; then
9855 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9856 else
9857 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9858 fi
9859
9860 ;;
9861 esac
9862 fi
9863 if test "$with_gnu_ld" = no; then
9864 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9865 hardcode_libdir_separator=:
9866
9867 case $host_cpu in
9868 hppa*64*|ia64*)
9869 hardcode_direct=no
9870 hardcode_shlibpath_var=no
9871 ;;
9872 *)
9873 hardcode_direct=yes
9874 hardcode_direct_absolute=yes
9875 export_dynamic_flag_spec='${wl}-E'
9876
9877 # hardcode_minus_L: Not really in the search PATH,
9878 # but as the default location of the library.
9879 hardcode_minus_L=yes
9880 ;;
9881 esac
9882 fi
9883 ;;
9884
9885 irix5* | irix6* | nonstopux*)
9886 if test "$GCC" = yes; then
9887 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'
9888 # Try to use the -exported_symbol ld option, if it does not
9889 # work, assume that -exports_file does not work either and
9890 # implicitly export all symbols.
9891 save_LDFLAGS="$LDFLAGS"
9892 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9893 if test x$gcc_no_link = xyes; then
9894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9895 fi
9896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9897 /* end confdefs.h. */
9898 int foo(void) {}
9899 _ACEOF
9900 if ac_fn_c_try_link "$LINENO"; then :
9901 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'
9902
9903 fi
9904 rm -f core conftest.err conftest.$ac_objext \
9905 conftest$ac_exeext conftest.$ac_ext
9906 LDFLAGS="$save_LDFLAGS"
9907 else
9908 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'
9909 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'
9910 fi
9911 archive_cmds_need_lc='no'
9912 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9913 hardcode_libdir_separator=:
9914 inherit_rpath=yes
9915 link_all_deplibs=yes
9916 ;;
9917
9918 netbsd*)
9919 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9920 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9921 else
9922 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9923 fi
9924 hardcode_libdir_flag_spec='-R$libdir'
9925 hardcode_direct=yes
9926 hardcode_shlibpath_var=no
9927 ;;
9928
9929 newsos6)
9930 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9931 hardcode_direct=yes
9932 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9933 hardcode_libdir_separator=:
9934 hardcode_shlibpath_var=no
9935 ;;
9936
9937 *nto* | *qnx*)
9938 ;;
9939
9940 openbsd*)
9941 if test -f /usr/libexec/ld.so; then
9942 hardcode_direct=yes
9943 hardcode_shlibpath_var=no
9944 hardcode_direct_absolute=yes
9945 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9946 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9947 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9948 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9949 export_dynamic_flag_spec='${wl}-E'
9950 else
9951 case $host_os in
9952 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9953 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9954 hardcode_libdir_flag_spec='-R$libdir'
9955 ;;
9956 *)
9957 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9958 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9959 ;;
9960 esac
9961 fi
9962 else
9963 ld_shlibs=no
9964 fi
9965 ;;
9966
9967 os2*)
9968 hardcode_libdir_flag_spec='-L$libdir'
9969 hardcode_minus_L=yes
9970 allow_undefined_flag=unsupported
9971 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'
9972 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9973 ;;
9974
9975 osf3*)
9976 if test "$GCC" = yes; then
9977 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9978 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'
9979 else
9980 allow_undefined_flag=' -expect_unresolved \*'
9981 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'
9982 fi
9983 archive_cmds_need_lc='no'
9984 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9985 hardcode_libdir_separator=:
9986 ;;
9987
9988 osf4* | osf5*) # as osf3* with the addition of -msym flag
9989 if test "$GCC" = yes; then
9990 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9991 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'
9992 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9993 else
9994 allow_undefined_flag=' -expect_unresolved \*'
9995 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'
9996 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~
9997 $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'
9998
9999 # Both c and cxx compiler support -rpath directly
10000 hardcode_libdir_flag_spec='-rpath $libdir'
10001 fi
10002 archive_cmds_need_lc='no'
10003 hardcode_libdir_separator=:
10004 ;;
10005
10006 solaris*)
10007 no_undefined_flag=' -z defs'
10008 if test "$GCC" = yes; then
10009 wlarc='${wl}'
10010 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10011 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10012 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10013 else
10014 case `$CC -V 2>&1` in
10015 *"Compilers 5.0"*)
10016 wlarc=''
10017 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10018 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10019 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10020 ;;
10021 *)
10022 wlarc='${wl}'
10023 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10024 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10025 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10026 ;;
10027 esac
10028 fi
10029 hardcode_libdir_flag_spec='-R$libdir'
10030 hardcode_shlibpath_var=no
10031 case $host_os in
10032 solaris2.[0-5] | solaris2.[0-5].*) ;;
10033 *)
10034 # The compiler driver will combine and reorder linker options,
10035 # but understands `-z linker_flag'. GCC discards it without `$wl',
10036 # but is careful enough not to reorder.
10037 # Supported since Solaris 2.6 (maybe 2.5.1?)
10038 if test "$GCC" = yes; then
10039 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10040 else
10041 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10042 fi
10043 ;;
10044 esac
10045 link_all_deplibs=yes
10046 ;;
10047
10048 sunos4*)
10049 if test "x$host_vendor" = xsequent; then
10050 # Use $CC to link under sequent, because it throws in some extra .o
10051 # files that make .init and .fini sections work.
10052 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10053 else
10054 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10055 fi
10056 hardcode_libdir_flag_spec='-L$libdir'
10057 hardcode_direct=yes
10058 hardcode_minus_L=yes
10059 hardcode_shlibpath_var=no
10060 ;;
10061
10062 sysv4)
10063 case $host_vendor in
10064 sni)
10065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_direct=yes # is this really true???
10067 ;;
10068 siemens)
10069 ## LD is ld it makes a PLAMLIB
10070 ## CC just makes a GrossModule.
10071 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10072 reload_cmds='$CC -r -o $output$reload_objs'
10073 hardcode_direct=no
10074 ;;
10075 motorola)
10076 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10077 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10078 ;;
10079 esac
10080 runpath_var='LD_RUN_PATH'
10081 hardcode_shlibpath_var=no
10082 ;;
10083
10084 sysv4.3*)
10085 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10086 hardcode_shlibpath_var=no
10087 export_dynamic_flag_spec='-Bexport'
10088 ;;
10089
10090 sysv4*MP*)
10091 if test -d /usr/nec; then
10092 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10093 hardcode_shlibpath_var=no
10094 runpath_var=LD_RUN_PATH
10095 hardcode_runpath_var=yes
10096 ld_shlibs=yes
10097 fi
10098 ;;
10099
10100 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10101 no_undefined_flag='${wl}-z,text'
10102 archive_cmds_need_lc=no
10103 hardcode_shlibpath_var=no
10104 runpath_var='LD_RUN_PATH'
10105
10106 if test "$GCC" = yes; then
10107 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10108 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10109 else
10110 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10112 fi
10113 ;;
10114
10115 sysv5* | sco3.2v5* | sco5v6*)
10116 # Note: We can NOT use -z defs as we might desire, because we do not
10117 # link with -lc, and that would cause any symbols used from libc to
10118 # always be unresolved, which means just about no library would
10119 # ever link correctly. If we're not using GNU ld we use -z text
10120 # though, which does catch some bad symbols but isn't as heavy-handed
10121 # as -z defs.
10122 no_undefined_flag='${wl}-z,text'
10123 allow_undefined_flag='${wl}-z,nodefs'
10124 archive_cmds_need_lc=no
10125 hardcode_shlibpath_var=no
10126 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10127 hardcode_libdir_separator=':'
10128 link_all_deplibs=yes
10129 export_dynamic_flag_spec='${wl}-Bexport'
10130 runpath_var='LD_RUN_PATH'
10131
10132 if test "$GCC" = yes; then
10133 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10134 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10135 else
10136 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10137 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10138 fi
10139 ;;
10140
10141 uts4*)
10142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_libdir_flag_spec='-L$libdir'
10144 hardcode_shlibpath_var=no
10145 ;;
10146
10147 *)
10148 ld_shlibs=no
10149 ;;
10150 esac
10151
10152 if test x$host_vendor = xsni; then
10153 case $host in
10154 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10155 export_dynamic_flag_spec='${wl}-Blargedynsym'
10156 ;;
10157 esac
10158 fi
10159 fi
10160
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10162 $as_echo "$ld_shlibs" >&6; }
10163 test "$ld_shlibs" = no && can_build_shared=no
10164
10165 with_gnu_ld=$with_gnu_ld
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181 #
10182 # Do we need to explicitly link libc?
10183 #
10184 case "x$archive_cmds_need_lc" in
10185 x|xyes)
10186 # Assume -lc should be added
10187 archive_cmds_need_lc=yes
10188
10189 if test "$enable_shared" = yes && test "$GCC" = yes; then
10190 case $archive_cmds in
10191 *'~'*)
10192 # FIXME: we may have to deal with multi-command sequences.
10193 ;;
10194 '$CC '*)
10195 # Test whether the compiler implicitly links with -lc since on some
10196 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10197 # to ld, don't add -lc before -lgcc.
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10199 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10200 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10201 $as_echo_n "(cached) " >&6
10202 else
10203 $RM conftest*
10204 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10205
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10207 (eval $ac_compile) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; } 2>conftest.err; then
10211 soname=conftest
10212 lib=conftest
10213 libobjs=conftest.$ac_objext
10214 deplibs=
10215 wl=$lt_prog_compiler_wl
10216 pic_flag=$lt_prog_compiler_pic
10217 compiler_flags=-v
10218 linker_flags=-v
10219 verstring=
10220 output_objdir=.
10221 libname=conftest
10222 lt_save_allow_undefined_flag=$allow_undefined_flag
10223 allow_undefined_flag=
10224 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10225 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10226 ac_status=$?
10227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10228 test $ac_status = 0; }
10229 then
10230 lt_cv_archive_cmds_need_lc=no
10231 else
10232 lt_cv_archive_cmds_need_lc=yes
10233 fi
10234 allow_undefined_flag=$lt_save_allow_undefined_flag
10235 else
10236 cat conftest.err 1>&5
10237 fi
10238 $RM conftest*
10239
10240 fi
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10242 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10243 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10244 ;;
10245 esac
10246 fi
10247 ;;
10248 esac
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10407 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10408
10409 if test "$GCC" = yes; then
10410 case $host_os in
10411 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10412 *) lt_awk_arg="/^libraries:/" ;;
10413 esac
10414 case $host_os in
10415 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10416 *) lt_sed_strip_eq="s,=/,/,g" ;;
10417 esac
10418 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10419 case $lt_search_path_spec in
10420 *\;*)
10421 # if the path contains ";" then we assume it to be the separator
10422 # otherwise default to the standard path separator (i.e. ":") - it is
10423 # assumed that no part of a normal pathname contains ";" but that should
10424 # okay in the real world where ";" in dirpaths is itself problematic.
10425 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10426 ;;
10427 *)
10428 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10429 ;;
10430 esac
10431 # Ok, now we have the path, separated by spaces, we can step through it
10432 # and add multilib dir if necessary.
10433 lt_tmp_lt_search_path_spec=
10434 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10435 for lt_sys_path in $lt_search_path_spec; do
10436 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10437 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10438 else
10439 test -d "$lt_sys_path" && \
10440 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10441 fi
10442 done
10443 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10444 BEGIN {RS=" "; FS="/|\n";} {
10445 lt_foo="";
10446 lt_count=0;
10447 for (lt_i = NF; lt_i > 0; lt_i--) {
10448 if ($lt_i != "" && $lt_i != ".") {
10449 if ($lt_i == "..") {
10450 lt_count++;
10451 } else {
10452 if (lt_count == 0) {
10453 lt_foo="/" $lt_i lt_foo;
10454 } else {
10455 lt_count--;
10456 }
10457 }
10458 }
10459 }
10460 if (lt_foo != "") { lt_freq[lt_foo]++; }
10461 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10462 }'`
10463 # AWK program above erroneously prepends '/' to C:/dos/paths
10464 # for these hosts.
10465 case $host_os in
10466 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10467 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10468 esac
10469 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10470 else
10471 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10472 fi
10473 library_names_spec=
10474 libname_spec='lib$name'
10475 soname_spec=
10476 shrext_cmds=".so"
10477 postinstall_cmds=
10478 postuninstall_cmds=
10479 finish_cmds=
10480 finish_eval=
10481 shlibpath_var=
10482 shlibpath_overrides_runpath=unknown
10483 version_type=none
10484 dynamic_linker="$host_os ld.so"
10485 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10486 need_lib_prefix=unknown
10487 hardcode_into_libs=no
10488
10489 # when you set need_version to no, make sure it does not cause -set_version
10490 # flags to be left without arguments
10491 need_version=unknown
10492
10493 case $host_os in
10494 aix3*)
10495 version_type=linux
10496 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10497 shlibpath_var=LIBPATH
10498
10499 # AIX 3 has no versioning support, so we append a major version to the name.
10500 soname_spec='${libname}${release}${shared_ext}$major'
10501 ;;
10502
10503 aix[4-9]*)
10504 version_type=linux
10505 need_lib_prefix=no
10506 need_version=no
10507 hardcode_into_libs=yes
10508 if test "$host_cpu" = ia64; then
10509 # AIX 5 supports IA64
10510 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10511 shlibpath_var=LD_LIBRARY_PATH
10512 else
10513 # With GCC up to 2.95.x, collect2 would create an import file
10514 # for dependence libraries. The import file would start with
10515 # the line `#! .'. This would cause the generated library to
10516 # depend on `.', always an invalid library. This was fixed in
10517 # development snapshots of GCC prior to 3.0.
10518 case $host_os in
10519 aix4 | aix4.[01] | aix4.[01].*)
10520 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10521 echo ' yes '
10522 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10523 :
10524 else
10525 can_build_shared=no
10526 fi
10527 ;;
10528 esac
10529 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10530 # soname into executable. Probably we can add versioning support to
10531 # collect2, so additional links can be useful in future.
10532 if test "$aix_use_runtimelinking" = yes; then
10533 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10534 # instead of lib<name>.a to let people know that these are not
10535 # typical AIX shared libraries.
10536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10537 else
10538 # We preserve .a as extension for shared libraries through AIX4.2
10539 # and later when we are not doing run time linking.
10540 library_names_spec='${libname}${release}.a $libname.a'
10541 soname_spec='${libname}${release}${shared_ext}$major'
10542 fi
10543 shlibpath_var=LIBPATH
10544 fi
10545 ;;
10546
10547 amigaos*)
10548 case $host_cpu in
10549 powerpc)
10550 # Since July 2007 AmigaOS4 officially supports .so libraries.
10551 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10553 ;;
10554 m68k)
10555 library_names_spec='$libname.ixlibrary $libname.a'
10556 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10557 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'
10558 ;;
10559 esac
10560 ;;
10561
10562 beos*)
10563 library_names_spec='${libname}${shared_ext}'
10564 dynamic_linker="$host_os ld.so"
10565 shlibpath_var=LIBRARY_PATH
10566 ;;
10567
10568 bsdi[45]*)
10569 version_type=linux
10570 need_version=no
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10572 soname_spec='${libname}${release}${shared_ext}$major'
10573 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10576 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10577 # the default ld.so.conf also contains /usr/contrib/lib and
10578 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10579 # libtool to hard-code these into programs
10580 ;;
10581
10582 cygwin* | mingw* | pw32* | cegcc*)
10583 version_type=windows
10584 shrext_cmds=".dll"
10585 need_version=no
10586 need_lib_prefix=no
10587
10588 case $GCC,$host_os in
10589 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10590 library_names_spec='$libname.dll.a'
10591 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10592 postinstall_cmds='base_file=`basename \${file}`~
10593 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10594 dldir=$destdir/`dirname \$dlpath`~
10595 test -d \$dldir || mkdir -p \$dldir~
10596 $install_prog $dir/$dlname \$dldir/$dlname~
10597 chmod a+x \$dldir/$dlname~
10598 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10599 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10600 fi'
10601 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10602 dlpath=$dir/\$dldll~
10603 $RM \$dlpath'
10604 shlibpath_overrides_runpath=yes
10605
10606 case $host_os in
10607 cygwin*)
10608 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10609 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10610
10611 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10612 ;;
10613 mingw* | cegcc*)
10614 # MinGW DLLs use traditional 'lib' prefix
10615 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616 ;;
10617 pw32*)
10618 # pw32 DLLs use 'pw' prefix rather than 'lib'
10619 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10620 ;;
10621 esac
10622 ;;
10623
10624 *)
10625 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10626 ;;
10627 esac
10628 dynamic_linker='Win32 ld.exe'
10629 # FIXME: first we should search . and the directory the executable is in
10630 shlibpath_var=PATH
10631 ;;
10632
10633 darwin* | rhapsody*)
10634 dynamic_linker="$host_os dyld"
10635 version_type=darwin
10636 need_lib_prefix=no
10637 need_version=no
10638 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10639 soname_spec='${libname}${release}${major}$shared_ext'
10640 shlibpath_overrides_runpath=yes
10641 shlibpath_var=DYLD_LIBRARY_PATH
10642 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10643
10644 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10645 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10646 ;;
10647
10648 dgux*)
10649 version_type=linux
10650 need_lib_prefix=no
10651 need_version=no
10652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10653 soname_spec='${libname}${release}${shared_ext}$major'
10654 shlibpath_var=LD_LIBRARY_PATH
10655 ;;
10656
10657 freebsd* | dragonfly*)
10658 # DragonFly does not have aout. When/if they implement a new
10659 # versioning mechanism, adjust this.
10660 if test -x /usr/bin/objformat; then
10661 objformat=`/usr/bin/objformat`
10662 else
10663 case $host_os in
10664 freebsd[23].*) objformat=aout ;;
10665 *) objformat=elf ;;
10666 esac
10667 fi
10668 version_type=freebsd-$objformat
10669 case $version_type in
10670 freebsd-elf*)
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10672 need_version=no
10673 need_lib_prefix=no
10674 ;;
10675 freebsd-*)
10676 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10677 need_version=yes
10678 ;;
10679 esac
10680 shlibpath_var=LD_LIBRARY_PATH
10681 case $host_os in
10682 freebsd2.*)
10683 shlibpath_overrides_runpath=yes
10684 ;;
10685 freebsd3.[01]* | freebsdelf3.[01]*)
10686 shlibpath_overrides_runpath=yes
10687 hardcode_into_libs=yes
10688 ;;
10689 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10690 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10691 shlibpath_overrides_runpath=no
10692 hardcode_into_libs=yes
10693 ;;
10694 *) # from 4.6 on, and DragonFly
10695 shlibpath_overrides_runpath=yes
10696 hardcode_into_libs=yes
10697 ;;
10698 esac
10699 ;;
10700
10701 gnu*)
10702 version_type=linux
10703 need_lib_prefix=no
10704 need_version=no
10705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10706 soname_spec='${libname}${release}${shared_ext}$major'
10707 shlibpath_var=LD_LIBRARY_PATH
10708 hardcode_into_libs=yes
10709 ;;
10710
10711 haiku*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 dynamic_linker="$host_os runtime_loader"
10716 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10717 soname_spec='${libname}${release}${shared_ext}$major'
10718 shlibpath_var=LIBRARY_PATH
10719 shlibpath_overrides_runpath=yes
10720 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10721 hardcode_into_libs=yes
10722 ;;
10723
10724 hpux9* | hpux10* | hpux11*)
10725 # Give a soname corresponding to the major version so that dld.sl refuses to
10726 # link against other versions.
10727 version_type=sunos
10728 need_lib_prefix=no
10729 need_version=no
10730 case $host_cpu in
10731 ia64*)
10732 shrext_cmds='.so'
10733 hardcode_into_libs=yes
10734 dynamic_linker="$host_os dld.so"
10735 shlibpath_var=LD_LIBRARY_PATH
10736 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10738 soname_spec='${libname}${release}${shared_ext}$major'
10739 if test "X$HPUX_IA64_MODE" = X32; then
10740 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10741 else
10742 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10743 fi
10744 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10745 ;;
10746 hppa*64*)
10747 shrext_cmds='.sl'
10748 hardcode_into_libs=yes
10749 dynamic_linker="$host_os dld.sl"
10750 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10751 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10755 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10756 ;;
10757 *)
10758 shrext_cmds='.sl'
10759 dynamic_linker="$host_os dld.sl"
10760 shlibpath_var=SHLIB_PATH
10761 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10762 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10763 soname_spec='${libname}${release}${shared_ext}$major'
10764 ;;
10765 esac
10766 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10767 postinstall_cmds='chmod 555 $lib'
10768 # or fails outright, so override atomically:
10769 install_override_mode=555
10770 ;;
10771
10772 interix[3-9]*)
10773 version_type=linux
10774 need_lib_prefix=no
10775 need_version=no
10776 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10777 soname_spec='${libname}${release}${shared_ext}$major'
10778 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10779 shlibpath_var=LD_LIBRARY_PATH
10780 shlibpath_overrides_runpath=no
10781 hardcode_into_libs=yes
10782 ;;
10783
10784 irix5* | irix6* | nonstopux*)
10785 case $host_os in
10786 nonstopux*) version_type=nonstopux ;;
10787 *)
10788 if test "$lt_cv_prog_gnu_ld" = yes; then
10789 version_type=linux
10790 else
10791 version_type=irix
10792 fi ;;
10793 esac
10794 need_lib_prefix=no
10795 need_version=no
10796 soname_spec='${libname}${release}${shared_ext}$major'
10797 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10798 case $host_os in
10799 irix5* | nonstopux*)
10800 libsuff= shlibsuff=
10801 ;;
10802 *)
10803 case $LD in # libtool.m4 will add one of these switches to LD
10804 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10805 libsuff= shlibsuff= libmagic=32-bit;;
10806 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10807 libsuff=32 shlibsuff=N32 libmagic=N32;;
10808 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10809 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10810 *) libsuff= shlibsuff= libmagic=never-match;;
10811 esac
10812 ;;
10813 esac
10814 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10815 shlibpath_overrides_runpath=no
10816 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10817 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10818 hardcode_into_libs=yes
10819 ;;
10820
10821 # No shared lib support for Linux oldld, aout, or coff.
10822 linux*oldld* | linux*aout* | linux*coff*)
10823 dynamic_linker=no
10824 ;;
10825
10826 # This must be Linux ELF.
10827 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10828 version_type=linux
10829 need_lib_prefix=no
10830 need_version=no
10831 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10832 soname_spec='${libname}${release}${shared_ext}$major'
10833 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10834 shlibpath_var=LD_LIBRARY_PATH
10835 shlibpath_overrides_runpath=no
10836
10837 # Some binutils ld are patched to set DT_RUNPATH
10838 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10839 $as_echo_n "(cached) " >&6
10840 else
10841 lt_cv_shlibpath_overrides_runpath=no
10842 save_LDFLAGS=$LDFLAGS
10843 save_libdir=$libdir
10844 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10845 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10846 if test x$gcc_no_link = xyes; then
10847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10848 fi
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10851
10852 int
10853 main ()
10854 {
10855
10856 ;
10857 return 0;
10858 }
10859 _ACEOF
10860 if ac_fn_c_try_link "$LINENO"; then :
10861 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10862 lt_cv_shlibpath_overrides_runpath=yes
10863 fi
10864 fi
10865 rm -f core conftest.err conftest.$ac_objext \
10866 conftest$ac_exeext conftest.$ac_ext
10867 LDFLAGS=$save_LDFLAGS
10868 libdir=$save_libdir
10869
10870 fi
10871
10872 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10873
10874 # This implies no fast_install, which is unacceptable.
10875 # Some rework will be needed to allow for fast_install
10876 # before this can be enabled.
10877 hardcode_into_libs=yes
10878
10879 # Append ld.so.conf contents to the search path
10880 if test -f /etc/ld.so.conf; then
10881 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' ' '`
10882 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10883 fi
10884
10885 # We used to test for /lib/ld.so.1 and disable shared libraries on
10886 # powerpc, because MkLinux only supported shared libraries with the
10887 # GNU dynamic linker. Since this was broken with cross compilers,
10888 # most powerpc-linux boxes support dynamic linking these days and
10889 # people can always --disable-shared, the test was removed, and we
10890 # assume the GNU/Linux dynamic linker is in use.
10891 dynamic_linker='GNU/Linux ld.so'
10892 ;;
10893
10894 netbsd*)
10895 version_type=sunos
10896 need_lib_prefix=no
10897 need_version=no
10898 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10899 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10900 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10901 dynamic_linker='NetBSD (a.out) ld.so'
10902 else
10903 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10904 soname_spec='${libname}${release}${shared_ext}$major'
10905 dynamic_linker='NetBSD ld.elf_so'
10906 fi
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=yes
10909 hardcode_into_libs=yes
10910 ;;
10911
10912 newsos6)
10913 version_type=linux
10914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 shlibpath_overrides_runpath=yes
10917 ;;
10918
10919 *nto* | *qnx*)
10920 version_type=qnx
10921 need_lib_prefix=no
10922 need_version=no
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10924 soname_spec='${libname}${release}${shared_ext}$major'
10925 shlibpath_var=LD_LIBRARY_PATH
10926 shlibpath_overrides_runpath=no
10927 hardcode_into_libs=yes
10928 dynamic_linker='ldqnx.so'
10929 ;;
10930
10931 openbsd*)
10932 version_type=sunos
10933 sys_lib_dlsearch_path_spec="/usr/lib"
10934 need_lib_prefix=no
10935 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10936 case $host_os in
10937 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10938 *) need_version=no ;;
10939 esac
10940 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10941 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10942 shlibpath_var=LD_LIBRARY_PATH
10943 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10944 case $host_os in
10945 openbsd2.[89] | openbsd2.[89].*)
10946 shlibpath_overrides_runpath=no
10947 ;;
10948 *)
10949 shlibpath_overrides_runpath=yes
10950 ;;
10951 esac
10952 else
10953 shlibpath_overrides_runpath=yes
10954 fi
10955 ;;
10956
10957 os2*)
10958 libname_spec='$name'
10959 shrext_cmds=".dll"
10960 need_lib_prefix=no
10961 library_names_spec='$libname${shared_ext} $libname.a'
10962 dynamic_linker='OS/2 ld.exe'
10963 shlibpath_var=LIBPATH
10964 ;;
10965
10966 osf3* | osf4* | osf5*)
10967 version_type=osf
10968 need_lib_prefix=no
10969 need_version=no
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10974 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10975 ;;
10976
10977 rdos*)
10978 dynamic_linker=no
10979 ;;
10980
10981 solaris*)
10982 version_type=linux
10983 need_lib_prefix=no
10984 need_version=no
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10986 soname_spec='${libname}${release}${shared_ext}$major'
10987 shlibpath_var=LD_LIBRARY_PATH
10988 shlibpath_overrides_runpath=yes
10989 hardcode_into_libs=yes
10990 # ldd complains unless libraries are executable
10991 postinstall_cmds='chmod +x $lib'
10992 ;;
10993
10994 sunos4*)
10995 version_type=sunos
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10997 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10998 shlibpath_var=LD_LIBRARY_PATH
10999 shlibpath_overrides_runpath=yes
11000 if test "$with_gnu_ld" = yes; then
11001 need_lib_prefix=no
11002 fi
11003 need_version=yes
11004 ;;
11005
11006 sysv4 | sysv4.3*)
11007 version_type=linux
11008 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11009 soname_spec='${libname}${release}${shared_ext}$major'
11010 shlibpath_var=LD_LIBRARY_PATH
11011 case $host_vendor in
11012 sni)
11013 shlibpath_overrides_runpath=no
11014 need_lib_prefix=no
11015 runpath_var=LD_RUN_PATH
11016 ;;
11017 siemens)
11018 need_lib_prefix=no
11019 ;;
11020 motorola)
11021 need_lib_prefix=no
11022 need_version=no
11023 shlibpath_overrides_runpath=no
11024 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11025 ;;
11026 esac
11027 ;;
11028
11029 sysv4*MP*)
11030 if test -d /usr/nec ;then
11031 version_type=linux
11032 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11033 soname_spec='$libname${shared_ext}.$major'
11034 shlibpath_var=LD_LIBRARY_PATH
11035 fi
11036 ;;
11037
11038 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11039 version_type=freebsd-elf
11040 need_lib_prefix=no
11041 need_version=no
11042 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11043 soname_spec='${libname}${release}${shared_ext}$major'
11044 shlibpath_var=LD_LIBRARY_PATH
11045 shlibpath_overrides_runpath=yes
11046 hardcode_into_libs=yes
11047 if test "$with_gnu_ld" = yes; then
11048 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11049 else
11050 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11051 case $host_os in
11052 sco3.2v5*)
11053 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11054 ;;
11055 esac
11056 fi
11057 sys_lib_dlsearch_path_spec='/usr/lib'
11058 ;;
11059
11060 tpf*)
11061 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11062 version_type=linux
11063 need_lib_prefix=no
11064 need_version=no
11065 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11066 shlibpath_var=LD_LIBRARY_PATH
11067 shlibpath_overrides_runpath=no
11068 hardcode_into_libs=yes
11069 ;;
11070
11071 uts4*)
11072 version_type=linux
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 ;;
11077
11078 *)
11079 dynamic_linker=no
11080 ;;
11081 esac
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11083 $as_echo "$dynamic_linker" >&6; }
11084 test "$dynamic_linker" = no && can_build_shared=no
11085
11086 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11087 if test "$GCC" = yes; then
11088 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11089 fi
11090
11091 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11092 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11093 fi
11094 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11095 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11096 fi
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11190 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11191 hardcode_action=
11192 if test -n "$hardcode_libdir_flag_spec" ||
11193 test -n "$runpath_var" ||
11194 test "X$hardcode_automatic" = "Xyes" ; then
11195
11196 # We can hardcode non-existent directories.
11197 if test "$hardcode_direct" != no &&
11198 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11199 # have to relink, otherwise we might link with an installed library
11200 # when we should be linking with a yet-to-be-installed one
11201 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11202 test "$hardcode_minus_L" != no; then
11203 # Linking always hardcodes the temporary library directory.
11204 hardcode_action=relink
11205 else
11206 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11207 hardcode_action=immediate
11208 fi
11209 else
11210 # We cannot hardcode anything, or else we can only hardcode existing
11211 # directories.
11212 hardcode_action=unsupported
11213 fi
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11215 $as_echo "$hardcode_action" >&6; }
11216
11217 if test "$hardcode_action" = relink ||
11218 test "$inherit_rpath" = yes; then
11219 # Fast installation is not supported
11220 enable_fast_install=no
11221 elif test "$shlibpath_overrides_runpath" = yes ||
11222 test "$enable_shared" = no; then
11223 # Fast installation is not necessary
11224 enable_fast_install=needless
11225 fi
11226
11227
11228
11229
11230
11231
11232 if test "x$enable_dlopen" != xyes; then
11233 enable_dlopen=unknown
11234 enable_dlopen_self=unknown
11235 enable_dlopen_self_static=unknown
11236 else
11237 lt_cv_dlopen=no
11238 lt_cv_dlopen_libs=
11239
11240 case $host_os in
11241 beos*)
11242 lt_cv_dlopen="load_add_on"
11243 lt_cv_dlopen_libs=
11244 lt_cv_dlopen_self=yes
11245 ;;
11246
11247 mingw* | pw32* | cegcc*)
11248 lt_cv_dlopen="LoadLibrary"
11249 lt_cv_dlopen_libs=
11250 ;;
11251
11252 cygwin*)
11253 lt_cv_dlopen="dlopen"
11254 lt_cv_dlopen_libs=
11255 ;;
11256
11257 darwin*)
11258 # if libdl is installed we need to link against it
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11260 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11261 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11262 $as_echo_n "(cached) " >&6
11263 else
11264 ac_check_lib_save_LIBS=$LIBS
11265 LIBS="-ldl $LIBS"
11266 if test x$gcc_no_link = xyes; then
11267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11268 fi
11269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11270 /* end confdefs.h. */
11271
11272 /* Override any GCC internal prototype to avoid an error.
11273 Use char because int might match the return type of a GCC
11274 builtin and then its argument prototype would still apply. */
11275 #ifdef __cplusplus
11276 extern "C"
11277 #endif
11278 char dlopen ();
11279 int
11280 main ()
11281 {
11282 return dlopen ();
11283 ;
11284 return 0;
11285 }
11286 _ACEOF
11287 if ac_fn_c_try_link "$LINENO"; then :
11288 ac_cv_lib_dl_dlopen=yes
11289 else
11290 ac_cv_lib_dl_dlopen=no
11291 fi
11292 rm -f core conftest.err conftest.$ac_objext \
11293 conftest$ac_exeext conftest.$ac_ext
11294 LIBS=$ac_check_lib_save_LIBS
11295 fi
11296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11297 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11298 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11299 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11300 else
11301
11302 lt_cv_dlopen="dyld"
11303 lt_cv_dlopen_libs=
11304 lt_cv_dlopen_self=yes
11305
11306 fi
11307
11308 ;;
11309
11310 *)
11311 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11312 if test "x$ac_cv_func_shl_load" = x""yes; then :
11313 lt_cv_dlopen="shl_load"
11314 else
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11316 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11317 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11318 $as_echo_n "(cached) " >&6
11319 else
11320 ac_check_lib_save_LIBS=$LIBS
11321 LIBS="-ldld $LIBS"
11322 if test x$gcc_no_link = xyes; then
11323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11324 fi
11325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11326 /* end confdefs.h. */
11327
11328 /* Override any GCC internal prototype to avoid an error.
11329 Use char because int might match the return type of a GCC
11330 builtin and then its argument prototype would still apply. */
11331 #ifdef __cplusplus
11332 extern "C"
11333 #endif
11334 char shl_load ();
11335 int
11336 main ()
11337 {
11338 return shl_load ();
11339 ;
11340 return 0;
11341 }
11342 _ACEOF
11343 if ac_fn_c_try_link "$LINENO"; then :
11344 ac_cv_lib_dld_shl_load=yes
11345 else
11346 ac_cv_lib_dld_shl_load=no
11347 fi
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_lib_save_LIBS
11351 fi
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11353 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11354 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11355 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11356 else
11357 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11358 if test "x$ac_cv_func_dlopen" = x""yes; then :
11359 lt_cv_dlopen="dlopen"
11360 else
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11362 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11363 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11364 $as_echo_n "(cached) " >&6
11365 else
11366 ac_check_lib_save_LIBS=$LIBS
11367 LIBS="-ldl $LIBS"
11368 if test x$gcc_no_link = xyes; then
11369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11370 fi
11371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11373
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11377 #ifdef __cplusplus
11378 extern "C"
11379 #endif
11380 char dlopen ();
11381 int
11382 main ()
11383 {
11384 return dlopen ();
11385 ;
11386 return 0;
11387 }
11388 _ACEOF
11389 if ac_fn_c_try_link "$LINENO"; then :
11390 ac_cv_lib_dl_dlopen=yes
11391 else
11392 ac_cv_lib_dl_dlopen=no
11393 fi
11394 rm -f core conftest.err conftest.$ac_objext \
11395 conftest$ac_exeext conftest.$ac_ext
11396 LIBS=$ac_check_lib_save_LIBS
11397 fi
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11399 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11400 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11401 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11402 else
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11404 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11405 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11406 $as_echo_n "(cached) " >&6
11407 else
11408 ac_check_lib_save_LIBS=$LIBS
11409 LIBS="-lsvld $LIBS"
11410 if test x$gcc_no_link = xyes; then
11411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11412 fi
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11415
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char dlopen ();
11423 int
11424 main ()
11425 {
11426 return dlopen ();
11427 ;
11428 return 0;
11429 }
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_svld_dlopen=yes
11433 else
11434 ac_cv_lib_svld_dlopen=no
11435 fi
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11439 fi
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11441 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11442 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11443 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11444 else
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11446 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11447 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_lib_save_LIBS=$LIBS
11451 LIBS="-ldld $LIBS"
11452 if test x$gcc_no_link = xyes; then
11453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11454 fi
11455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11457
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11461 #ifdef __cplusplus
11462 extern "C"
11463 #endif
11464 char dld_link ();
11465 int
11466 main ()
11467 {
11468 return dld_link ();
11469 ;
11470 return 0;
11471 }
11472 _ACEOF
11473 if ac_fn_c_try_link "$LINENO"; then :
11474 ac_cv_lib_dld_dld_link=yes
11475 else
11476 ac_cv_lib_dld_dld_link=no
11477 fi
11478 rm -f core conftest.err conftest.$ac_objext \
11479 conftest$ac_exeext conftest.$ac_ext
11480 LIBS=$ac_check_lib_save_LIBS
11481 fi
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11483 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11484 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11485 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11486 fi
11487
11488
11489 fi
11490
11491
11492 fi
11493
11494
11495 fi
11496
11497
11498 fi
11499
11500
11501 fi
11502
11503 ;;
11504 esac
11505
11506 if test "x$lt_cv_dlopen" != xno; then
11507 enable_dlopen=yes
11508 else
11509 enable_dlopen=no
11510 fi
11511
11512 case $lt_cv_dlopen in
11513 dlopen)
11514 save_CPPFLAGS="$CPPFLAGS"
11515 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11516
11517 save_LDFLAGS="$LDFLAGS"
11518 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11519
11520 save_LIBS="$LIBS"
11521 LIBS="$lt_cv_dlopen_libs $LIBS"
11522
11523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11524 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11525 if test "${lt_cv_dlopen_self+set}" = set; then :
11526 $as_echo_n "(cached) " >&6
11527 else
11528 if test "$cross_compiling" = yes; then :
11529 lt_cv_dlopen_self=cross
11530 else
11531 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11532 lt_status=$lt_dlunknown
11533 cat > conftest.$ac_ext <<_LT_EOF
11534 #line 11534 "configure"
11535 #include "confdefs.h"
11536
11537 #if HAVE_DLFCN_H
11538 #include <dlfcn.h>
11539 #endif
11540
11541 #include <stdio.h>
11542
11543 #ifdef RTLD_GLOBAL
11544 # define LT_DLGLOBAL RTLD_GLOBAL
11545 #else
11546 # ifdef DL_GLOBAL
11547 # define LT_DLGLOBAL DL_GLOBAL
11548 # else
11549 # define LT_DLGLOBAL 0
11550 # endif
11551 #endif
11552
11553 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11554 find out it does not work in some platform. */
11555 #ifndef LT_DLLAZY_OR_NOW
11556 # ifdef RTLD_LAZY
11557 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11558 # else
11559 # ifdef DL_LAZY
11560 # define LT_DLLAZY_OR_NOW DL_LAZY
11561 # else
11562 # ifdef RTLD_NOW
11563 # define LT_DLLAZY_OR_NOW RTLD_NOW
11564 # else
11565 # ifdef DL_NOW
11566 # define LT_DLLAZY_OR_NOW DL_NOW
11567 # else
11568 # define LT_DLLAZY_OR_NOW 0
11569 # endif
11570 # endif
11571 # endif
11572 # endif
11573 #endif
11574
11575 /* When -fvisbility=hidden is used, assume the code has been annotated
11576 correspondingly for the symbols needed. */
11577 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11578 void fnord () __attribute__((visibility("default")));
11579 #endif
11580
11581 void fnord () { int i=42; }
11582 int main ()
11583 {
11584 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11585 int status = $lt_dlunknown;
11586
11587 if (self)
11588 {
11589 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11590 else
11591 {
11592 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11593 else puts (dlerror ());
11594 }
11595 /* dlclose (self); */
11596 }
11597 else
11598 puts (dlerror ());
11599
11600 return status;
11601 }
11602 _LT_EOF
11603 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11604 (eval $ac_link) 2>&5
11605 ac_status=$?
11606 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11607 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11608 (./conftest; exit; ) >&5 2>/dev/null
11609 lt_status=$?
11610 case x$lt_status in
11611 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11612 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11613 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11614 esac
11615 else :
11616 # compilation failed
11617 lt_cv_dlopen_self=no
11618 fi
11619 fi
11620 rm -fr conftest*
11621
11622
11623 fi
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11625 $as_echo "$lt_cv_dlopen_self" >&6; }
11626
11627 if test "x$lt_cv_dlopen_self" = xyes; then
11628 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11630 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11631 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11632 $as_echo_n "(cached) " >&6
11633 else
11634 if test "$cross_compiling" = yes; then :
11635 lt_cv_dlopen_self_static=cross
11636 else
11637 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11638 lt_status=$lt_dlunknown
11639 cat > conftest.$ac_ext <<_LT_EOF
11640 #line 11640 "configure"
11641 #include "confdefs.h"
11642
11643 #if HAVE_DLFCN_H
11644 #include <dlfcn.h>
11645 #endif
11646
11647 #include <stdio.h>
11648
11649 #ifdef RTLD_GLOBAL
11650 # define LT_DLGLOBAL RTLD_GLOBAL
11651 #else
11652 # ifdef DL_GLOBAL
11653 # define LT_DLGLOBAL DL_GLOBAL
11654 # else
11655 # define LT_DLGLOBAL 0
11656 # endif
11657 #endif
11658
11659 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11660 find out it does not work in some platform. */
11661 #ifndef LT_DLLAZY_OR_NOW
11662 # ifdef RTLD_LAZY
11663 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11664 # else
11665 # ifdef DL_LAZY
11666 # define LT_DLLAZY_OR_NOW DL_LAZY
11667 # else
11668 # ifdef RTLD_NOW
11669 # define LT_DLLAZY_OR_NOW RTLD_NOW
11670 # else
11671 # ifdef DL_NOW
11672 # define LT_DLLAZY_OR_NOW DL_NOW
11673 # else
11674 # define LT_DLLAZY_OR_NOW 0
11675 # endif
11676 # endif
11677 # endif
11678 # endif
11679 #endif
11680
11681 /* When -fvisbility=hidden is used, assume the code has been annotated
11682 correspondingly for the symbols needed. */
11683 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11684 void fnord () __attribute__((visibility("default")));
11685 #endif
11686
11687 void fnord () { int i=42; }
11688 int main ()
11689 {
11690 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11691 int status = $lt_dlunknown;
11692
11693 if (self)
11694 {
11695 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11696 else
11697 {
11698 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11699 else puts (dlerror ());
11700 }
11701 /* dlclose (self); */
11702 }
11703 else
11704 puts (dlerror ());
11705
11706 return status;
11707 }
11708 _LT_EOF
11709 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11710 (eval $ac_link) 2>&5
11711 ac_status=$?
11712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11713 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11714 (./conftest; exit; ) >&5 2>/dev/null
11715 lt_status=$?
11716 case x$lt_status in
11717 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11718 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11719 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11720 esac
11721 else :
11722 # compilation failed
11723 lt_cv_dlopen_self_static=no
11724 fi
11725 fi
11726 rm -fr conftest*
11727
11728
11729 fi
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11731 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11732 fi
11733
11734 CPPFLAGS="$save_CPPFLAGS"
11735 LDFLAGS="$save_LDFLAGS"
11736 LIBS="$save_LIBS"
11737 ;;
11738 esac
11739
11740 case $lt_cv_dlopen_self in
11741 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11742 *) enable_dlopen_self=unknown ;;
11743 esac
11744
11745 case $lt_cv_dlopen_self_static in
11746 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11747 *) enable_dlopen_self_static=unknown ;;
11748 esac
11749 fi
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767 striplib=
11768 old_striplib=
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11770 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11771 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11772 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11773 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11775 $as_echo "yes" >&6; }
11776 else
11777 # FIXME - insert some real tests, host_os isn't really good enough
11778 case $host_os in
11779 darwin*)
11780 if test -n "$STRIP" ; then
11781 striplib="$STRIP -x"
11782 old_striplib="$STRIP -S"
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11784 $as_echo "yes" >&6; }
11785 else
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11788 fi
11789 ;;
11790 *)
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11792 $as_echo "no" >&6; }
11793 ;;
11794 esac
11795 fi
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808 # Report which library types will actually be built
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11810 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11812 $as_echo "$can_build_shared" >&6; }
11813
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11815 $as_echo_n "checking whether to build shared libraries... " >&6; }
11816 test "$can_build_shared" = "no" && enable_shared=no
11817
11818 # On AIX, shared libraries and static libraries use the same namespace, and
11819 # are all built from PIC.
11820 case $host_os in
11821 aix3*)
11822 test "$enable_shared" = yes && enable_static=no
11823 if test -n "$RANLIB"; then
11824 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11825 postinstall_cmds='$RANLIB $lib'
11826 fi
11827 ;;
11828
11829 aix[4-9]*)
11830 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11831 test "$enable_shared" = yes && enable_static=no
11832 fi
11833 ;;
11834 esac
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11836 $as_echo "$enable_shared" >&6; }
11837
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11839 $as_echo_n "checking whether to build static libraries... " >&6; }
11840 # Make sure either enable_shared or enable_static is yes.
11841 test "$enable_shared" = yes || enable_static=yes
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11843 $as_echo "$enable_static" >&6; }
11844
11845
11846
11847
11848 fi
11849 ac_ext=c
11850 ac_cpp='$CPP $CPPFLAGS'
11851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11854
11855 CC="$lt_save_CC"
11856
11857 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11858 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11859 (test "X$CXX" != "Xg++"))) ; then
11860 ac_ext=cpp
11861 ac_cpp='$CXXCPP $CPPFLAGS'
11862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11866 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11867 if test -z "$CXXCPP"; then
11868 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11869 $as_echo_n "(cached) " >&6
11870 else
11871 # Double quotes because CXXCPP needs to be expanded
11872 for CXXCPP in "$CXX -E" "/lib/cpp"
11873 do
11874 ac_preproc_ok=false
11875 for ac_cxx_preproc_warn_flag in '' yes
11876 do
11877 # Use a header file that comes with gcc, so configuring glibc
11878 # with a fresh cross-compiler works.
11879 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11880 # <limits.h> exists even on freestanding compilers.
11881 # On the NeXT, cc -E runs the code through the compiler's parser,
11882 # not just through cpp. "Syntax error" is here to catch this case.
11883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11884 /* end confdefs.h. */
11885 #ifdef __STDC__
11886 # include <limits.h>
11887 #else
11888 # include <assert.h>
11889 #endif
11890 Syntax error
11891 _ACEOF
11892 if ac_fn_cxx_try_cpp "$LINENO"; then :
11893
11894 else
11895 # Broken: fails on valid input.
11896 continue
11897 fi
11898 rm -f conftest.err conftest.$ac_ext
11899
11900 # OK, works on sane cases. Now check whether nonexistent headers
11901 # can be detected and how.
11902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11903 /* end confdefs.h. */
11904 #include <ac_nonexistent.h>
11905 _ACEOF
11906 if ac_fn_cxx_try_cpp "$LINENO"; then :
11907 # Broken: success on invalid input.
11908 continue
11909 else
11910 # Passes both tests.
11911 ac_preproc_ok=:
11912 break
11913 fi
11914 rm -f conftest.err conftest.$ac_ext
11915
11916 done
11917 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11918 rm -f conftest.err conftest.$ac_ext
11919 if $ac_preproc_ok; then :
11920 break
11921 fi
11922
11923 done
11924 ac_cv_prog_CXXCPP=$CXXCPP
11925
11926 fi
11927 CXXCPP=$ac_cv_prog_CXXCPP
11928 else
11929 ac_cv_prog_CXXCPP=$CXXCPP
11930 fi
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11932 $as_echo "$CXXCPP" >&6; }
11933 ac_preproc_ok=false
11934 for ac_cxx_preproc_warn_flag in '' yes
11935 do
11936 # Use a header file that comes with gcc, so configuring glibc
11937 # with a fresh cross-compiler works.
11938 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11939 # <limits.h> exists even on freestanding compilers.
11940 # On the NeXT, cc -E runs the code through the compiler's parser,
11941 # not just through cpp. "Syntax error" is here to catch this case.
11942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11943 /* end confdefs.h. */
11944 #ifdef __STDC__
11945 # include <limits.h>
11946 #else
11947 # include <assert.h>
11948 #endif
11949 Syntax error
11950 _ACEOF
11951 if ac_fn_cxx_try_cpp "$LINENO"; then :
11952
11953 else
11954 # Broken: fails on valid input.
11955 continue
11956 fi
11957 rm -f conftest.err conftest.$ac_ext
11958
11959 # OK, works on sane cases. Now check whether nonexistent headers
11960 # can be detected and how.
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11963 #include <ac_nonexistent.h>
11964 _ACEOF
11965 if ac_fn_cxx_try_cpp "$LINENO"; then :
11966 # Broken: success on invalid input.
11967 continue
11968 else
11969 # Passes both tests.
11970 ac_preproc_ok=:
11971 break
11972 fi
11973 rm -f conftest.err conftest.$ac_ext
11974
11975 done
11976 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11977 rm -f conftest.err conftest.$ac_ext
11978 if $ac_preproc_ok; then :
11979
11980 else
11981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11983 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11984 See \`config.log' for more details." "$LINENO" 5; }
11985 fi
11986
11987 ac_ext=c
11988 ac_cpp='$CPP $CPPFLAGS'
11989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11992
11993 else
11994 _lt_caught_CXX_error=yes
11995 fi
11996
11997 ac_ext=cpp
11998 ac_cpp='$CXXCPP $CPPFLAGS'
11999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12002
12003 archive_cmds_need_lc_CXX=no
12004 allow_undefined_flag_CXX=
12005 always_export_symbols_CXX=no
12006 archive_expsym_cmds_CXX=
12007 compiler_needs_object_CXX=no
12008 export_dynamic_flag_spec_CXX=
12009 hardcode_direct_CXX=no
12010 hardcode_direct_absolute_CXX=no
12011 hardcode_libdir_flag_spec_CXX=
12012 hardcode_libdir_flag_spec_ld_CXX=
12013 hardcode_libdir_separator_CXX=
12014 hardcode_minus_L_CXX=no
12015 hardcode_shlibpath_var_CXX=unsupported
12016 hardcode_automatic_CXX=no
12017 inherit_rpath_CXX=no
12018 module_cmds_CXX=
12019 module_expsym_cmds_CXX=
12020 link_all_deplibs_CXX=unknown
12021 old_archive_cmds_CXX=$old_archive_cmds
12022 reload_flag_CXX=$reload_flag
12023 reload_cmds_CXX=$reload_cmds
12024 no_undefined_flag_CXX=
12025 whole_archive_flag_spec_CXX=
12026 enable_shared_with_static_runtimes_CXX=no
12027
12028 # Source file extension for C++ test sources.
12029 ac_ext=cpp
12030
12031 # Object file extension for compiled C++ test sources.
12032 objext=o
12033 objext_CXX=$objext
12034
12035 # No sense in running all these tests if we already determined that
12036 # the CXX compiler isn't working. Some variables (like enable_shared)
12037 # are currently assumed to apply to all compilers on this platform,
12038 # and will be corrupted by setting them based on a non-working compiler.
12039 if test "$_lt_caught_CXX_error" != yes; then
12040 # Code to be used in simple compile tests
12041 lt_simple_compile_test_code="int some_variable = 0;"
12042
12043 # Code to be used in simple link tests
12044 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12045
12046 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12047
12048
12049
12050
12051
12052
12053 # If no C compiler was specified, use CC.
12054 LTCC=${LTCC-"$CC"}
12055
12056 # If no C compiler flags were specified, use CFLAGS.
12057 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12058
12059 # Allow CC to be a program name with arguments.
12060 compiler=$CC
12061
12062
12063 # save warnings/boilerplate of simple test code
12064 ac_outfile=conftest.$ac_objext
12065 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12066 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12067 _lt_compiler_boilerplate=`cat conftest.err`
12068 $RM conftest*
12069
12070 ac_outfile=conftest.$ac_objext
12071 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12072 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12073 _lt_linker_boilerplate=`cat conftest.err`
12074 $RM -r conftest*
12075
12076
12077 # Allow CC to be a program name with arguments.
12078 lt_save_CC=$CC
12079 lt_save_LD=$LD
12080 lt_save_GCC=$GCC
12081 GCC=$GXX
12082 lt_save_with_gnu_ld=$with_gnu_ld
12083 lt_save_path_LD=$lt_cv_path_LD
12084 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12085 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12086 else
12087 $as_unset lt_cv_prog_gnu_ld
12088 fi
12089 if test -n "${lt_cv_path_LDCXX+set}"; then
12090 lt_cv_path_LD=$lt_cv_path_LDCXX
12091 else
12092 $as_unset lt_cv_path_LD
12093 fi
12094 test -z "${LDCXX+set}" || LD=$LDCXX
12095 CC=${CXX-"c++"}
12096 compiler=$CC
12097 compiler_CXX=$CC
12098 for cc_temp in $compiler""; do
12099 case $cc_temp in
12100 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12101 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12102 \-*) ;;
12103 *) break;;
12104 esac
12105 done
12106 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12107
12108
12109 if test -n "$compiler"; then
12110 # We don't want -fno-exception when compiling C++ code, so set the
12111 # no_builtin_flag separately
12112 if test "$GXX" = yes; then
12113 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12114 else
12115 lt_prog_compiler_no_builtin_flag_CXX=
12116 fi
12117
12118 if test "$GXX" = yes; then
12119 # Set up default GNU C++ configuration
12120
12121
12122
12123 # Check whether --with-gnu-ld was given.
12124 if test "${with_gnu_ld+set}" = set; then :
12125 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12126 else
12127 with_gnu_ld=no
12128 fi
12129
12130 ac_prog=ld
12131 if test "$GCC" = yes; then
12132 # Check if gcc -print-prog-name=ld gives a path.
12133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12134 $as_echo_n "checking for ld used by $CC... " >&6; }
12135 case $host in
12136 *-*-mingw*)
12137 # gcc leaves a trailing carriage return which upsets mingw
12138 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12139 *)
12140 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12141 esac
12142 case $ac_prog in
12143 # Accept absolute paths.
12144 [\\/]* | ?:[\\/]*)
12145 re_direlt='/[^/][^/]*/\.\./'
12146 # Canonicalize the pathname of ld
12147 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12148 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12149 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12150 done
12151 test -z "$LD" && LD="$ac_prog"
12152 ;;
12153 "")
12154 # If it fails, then pretend we aren't using GCC.
12155 ac_prog=ld
12156 ;;
12157 *)
12158 # If it is relative, then search for the first ld in PATH.
12159 with_gnu_ld=unknown
12160 ;;
12161 esac
12162 elif test "$with_gnu_ld" = yes; then
12163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12164 $as_echo_n "checking for GNU ld... " >&6; }
12165 else
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12167 $as_echo_n "checking for non-GNU ld... " >&6; }
12168 fi
12169 if test "${lt_cv_path_LD+set}" = set; then :
12170 $as_echo_n "(cached) " >&6
12171 else
12172 if test -z "$LD"; then
12173 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12174 for ac_dir in $PATH; do
12175 IFS="$lt_save_ifs"
12176 test -z "$ac_dir" && ac_dir=.
12177 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12178 lt_cv_path_LD="$ac_dir/$ac_prog"
12179 # Check to see if the program is GNU ld. I'd rather use --version,
12180 # but apparently some variants of GNU ld only accept -v.
12181 # Break only if it was the GNU/non-GNU ld that we prefer.
12182 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12183 *GNU* | *'with BFD'*)
12184 test "$with_gnu_ld" != no && break
12185 ;;
12186 *)
12187 test "$with_gnu_ld" != yes && break
12188 ;;
12189 esac
12190 fi
12191 done
12192 IFS="$lt_save_ifs"
12193 else
12194 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12195 fi
12196 fi
12197
12198 LD="$lt_cv_path_LD"
12199 if test -n "$LD"; then
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12201 $as_echo "$LD" >&6; }
12202 else
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12204 $as_echo "no" >&6; }
12205 fi
12206 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12208 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12209 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12210 $as_echo_n "(cached) " >&6
12211 else
12212 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12213 case `$LD -v 2>&1 </dev/null` in
12214 *GNU* | *'with BFD'*)
12215 lt_cv_prog_gnu_ld=yes
12216 ;;
12217 *)
12218 lt_cv_prog_gnu_ld=no
12219 ;;
12220 esac
12221 fi
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12223 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12224 with_gnu_ld=$lt_cv_prog_gnu_ld
12225
12226
12227
12228
12229
12230
12231
12232 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12233 # archiving commands below assume that GNU ld is being used.
12234 if test "$with_gnu_ld" = yes; then
12235 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12236 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12237
12238 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12239 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12240
12241 # If archive_cmds runs LD, not CC, wlarc should be empty
12242 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12243 # investigate it a little bit more. (MM)
12244 wlarc='${wl}'
12245
12246 # ancient GNU ld didn't support --whole-archive et. al.
12247 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12248 $GREP 'no-whole-archive' > /dev/null; then
12249 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12250 else
12251 whole_archive_flag_spec_CXX=
12252 fi
12253 else
12254 with_gnu_ld=no
12255 wlarc=
12256
12257 # A generic and very simple default shared library creation
12258 # command for GNU C++ for the case where it uses the native
12259 # linker, instead of GNU ld. If possible, this setting should
12260 # overridden to take advantage of the native linker features on
12261 # the platform it is being used on.
12262 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12263 fi
12264
12265 # Commands to make compiler produce verbose output that lists
12266 # what "hidden" libraries, object files and flags are used when
12267 # linking a shared library.
12268 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12269
12270 else
12271 GXX=no
12272 with_gnu_ld=no
12273 wlarc=
12274 fi
12275
12276 # PORTME: fill in a description of your system's C++ link characteristics
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12278 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12279 ld_shlibs_CXX=yes
12280 case $host_os in
12281 aix3*)
12282 # FIXME: insert proper C++ library support
12283 ld_shlibs_CXX=no
12284 ;;
12285 aix[4-9]*)
12286 if test "$host_cpu" = ia64; then
12287 # On IA64, the linker does run time linking by default, so we don't
12288 # have to do anything special.
12289 aix_use_runtimelinking=no
12290 exp_sym_flag='-Bexport'
12291 no_entry_flag=""
12292 else
12293 aix_use_runtimelinking=no
12294
12295 # Test if we are trying to use run time linking or normal
12296 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12297 # need to do runtime linking.
12298 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12299 for ld_flag in $LDFLAGS; do
12300 case $ld_flag in
12301 *-brtl*)
12302 aix_use_runtimelinking=yes
12303 break
12304 ;;
12305 esac
12306 done
12307 ;;
12308 esac
12309
12310 exp_sym_flag='-bexport'
12311 no_entry_flag='-bnoentry'
12312 fi
12313
12314 # When large executables or shared objects are built, AIX ld can
12315 # have problems creating the table of contents. If linking a library
12316 # or program results in "error TOC overflow" add -mminimal-toc to
12317 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12318 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12319
12320 archive_cmds_CXX=''
12321 hardcode_direct_CXX=yes
12322 hardcode_direct_absolute_CXX=yes
12323 hardcode_libdir_separator_CXX=':'
12324 link_all_deplibs_CXX=yes
12325 file_list_spec_CXX='${wl}-f,'
12326
12327 if test "$GXX" = yes; then
12328 case $host_os in aix4.[012]|aix4.[012].*)
12329 # We only want to do this on AIX 4.2 and lower, the check
12330 # below for broken collect2 doesn't work under 4.3+
12331 collect2name=`${CC} -print-prog-name=collect2`
12332 if test -f "$collect2name" &&
12333 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12334 then
12335 # We have reworked collect2
12336 :
12337 else
12338 # We have old collect2
12339 hardcode_direct_CXX=unsupported
12340 # It fails to find uninstalled libraries when the uninstalled
12341 # path is not listed in the libpath. Setting hardcode_minus_L
12342 # to unsupported forces relinking
12343 hardcode_minus_L_CXX=yes
12344 hardcode_libdir_flag_spec_CXX='-L$libdir'
12345 hardcode_libdir_separator_CXX=
12346 fi
12347 esac
12348 shared_flag='-shared'
12349 if test "$aix_use_runtimelinking" = yes; then
12350 shared_flag="$shared_flag "'${wl}-G'
12351 fi
12352 else
12353 # not using gcc
12354 if test "$host_cpu" = ia64; then
12355 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12356 # chokes on -Wl,-G. The following line is correct:
12357 shared_flag='-G'
12358 else
12359 if test "$aix_use_runtimelinking" = yes; then
12360 shared_flag='${wl}-G'
12361 else
12362 shared_flag='${wl}-bM:SRE'
12363 fi
12364 fi
12365 fi
12366
12367 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12368 # It seems that -bexpall does not export symbols beginning with
12369 # underscore (_), so it is better to generate a list of symbols to
12370 # export.
12371 always_export_symbols_CXX=yes
12372 if test "$aix_use_runtimelinking" = yes; then
12373 # Warning - without using the other runtime loading flags (-brtl),
12374 # -berok will link without error, but may produce a broken library.
12375 allow_undefined_flag_CXX='-berok'
12376 # Determine the default libpath from the value encoded in an empty
12377 # executable.
12378 if test x$gcc_no_link = xyes; then
12379 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12380 fi
12381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12383
12384 int
12385 main ()
12386 {
12387
12388 ;
12389 return 0;
12390 }
12391 _ACEOF
12392 if ac_fn_cxx_try_link "$LINENO"; then :
12393
12394 lt_aix_libpath_sed='
12395 /Import File Strings/,/^$/ {
12396 /^0/ {
12397 s/^0 *\(.*\)$/\1/
12398 p
12399 }
12400 }'
12401 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 # Check for a 64-bit object if we didn't find anything.
12403 if test -z "$aix_libpath"; then
12404 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12405 fi
12406 fi
12407 rm -f core conftest.err conftest.$ac_objext \
12408 conftest$ac_exeext conftest.$ac_ext
12409 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12410
12411 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12412
12413 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"
12414 else
12415 if test "$host_cpu" = ia64; then
12416 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12417 allow_undefined_flag_CXX="-z nodefs"
12418 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"
12419 else
12420 # Determine the default libpath from the value encoded in an
12421 # empty executable.
12422 if test x$gcc_no_link = xyes; then
12423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12424 fi
12425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12426 /* end confdefs.h. */
12427
12428 int
12429 main ()
12430 {
12431
12432 ;
12433 return 0;
12434 }
12435 _ACEOF
12436 if ac_fn_cxx_try_link "$LINENO"; then :
12437
12438 lt_aix_libpath_sed='
12439 /Import File Strings/,/^$/ {
12440 /^0/ {
12441 s/^0 *\(.*\)$/\1/
12442 p
12443 }
12444 }'
12445 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12446 # Check for a 64-bit object if we didn't find anything.
12447 if test -z "$aix_libpath"; then
12448 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12449 fi
12450 fi
12451 rm -f core conftest.err conftest.$ac_objext \
12452 conftest$ac_exeext conftest.$ac_ext
12453 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12454
12455 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12456 # Warning - without using the other run time loading flags,
12457 # -berok will link without error, but may produce a broken library.
12458 no_undefined_flag_CXX=' ${wl}-bernotok'
12459 allow_undefined_flag_CXX=' ${wl}-berok'
12460 if test "$with_gnu_ld" = yes; then
12461 # We only use this code for GNU lds that support --whole-archive.
12462 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12463 else
12464 # Exported symbols can be pulled into shared objects from archives
12465 whole_archive_flag_spec_CXX='$convenience'
12466 fi
12467 archive_cmds_need_lc_CXX=yes
12468 # This is similar to how AIX traditionally builds its shared
12469 # libraries.
12470 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'
12471 fi
12472 fi
12473 ;;
12474
12475 beos*)
12476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12477 allow_undefined_flag_CXX=unsupported
12478 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12479 # support --undefined. This deserves some investigation. FIXME
12480 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12481 else
12482 ld_shlibs_CXX=no
12483 fi
12484 ;;
12485
12486 chorus*)
12487 case $cc_basename in
12488 *)
12489 # FIXME: insert proper C++ library support
12490 ld_shlibs_CXX=no
12491 ;;
12492 esac
12493 ;;
12494
12495 cygwin* | mingw* | pw32* | cegcc*)
12496 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12497 # as there is no search path for DLLs.
12498 hardcode_libdir_flag_spec_CXX='-L$libdir'
12499 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12500 allow_undefined_flag_CXX=unsupported
12501 always_export_symbols_CXX=no
12502 enable_shared_with_static_runtimes_CXX=yes
12503
12504 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12505 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'
12506 # If the export-symbols file already is a .def file (1st line
12507 # is EXPORTS), use it as is; otherwise, prepend...
12508 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12509 cp $export_symbols $output_objdir/$soname.def;
12510 else
12511 echo EXPORTS > $output_objdir/$soname.def;
12512 cat $export_symbols >> $output_objdir/$soname.def;
12513 fi~
12514 $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'
12515 else
12516 ld_shlibs_CXX=no
12517 fi
12518 ;;
12519 darwin* | rhapsody*)
12520
12521
12522 archive_cmds_need_lc_CXX=no
12523 hardcode_direct_CXX=no
12524 hardcode_automatic_CXX=yes
12525 hardcode_shlibpath_var_CXX=unsupported
12526 if test "$lt_cv_ld_force_load" = "yes"; then
12527 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\"`'
12528 else
12529 whole_archive_flag_spec_CXX=''
12530 fi
12531 link_all_deplibs_CXX=yes
12532 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12533 case $cc_basename in
12534 ifort*) _lt_dar_can_shared=yes ;;
12535 *) _lt_dar_can_shared=$GCC ;;
12536 esac
12537 if test "$_lt_dar_can_shared" = "yes"; then
12538 output_verbose_link_cmd=func_echo_all
12539 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}"
12540 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12541 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}"
12542 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}"
12543 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12544 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}"
12545 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}"
12546 fi
12547
12548 else
12549 ld_shlibs_CXX=no
12550 fi
12551
12552 ;;
12553
12554 dgux*)
12555 case $cc_basename in
12556 ec++*)
12557 # FIXME: insert proper C++ library support
12558 ld_shlibs_CXX=no
12559 ;;
12560 ghcx*)
12561 # Green Hills C++ Compiler
12562 # FIXME: insert proper C++ library support
12563 ld_shlibs_CXX=no
12564 ;;
12565 *)
12566 # FIXME: insert proper C++ library support
12567 ld_shlibs_CXX=no
12568 ;;
12569 esac
12570 ;;
12571
12572 freebsd2.*)
12573 # C++ shared libraries reported to be fairly broken before
12574 # switch to ELF
12575 ld_shlibs_CXX=no
12576 ;;
12577
12578 freebsd-elf*)
12579 archive_cmds_need_lc_CXX=no
12580 ;;
12581
12582 freebsd* | dragonfly*)
12583 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12584 # conventions
12585 ld_shlibs_CXX=yes
12586 ;;
12587
12588 gnu*)
12589 ;;
12590
12591 haiku*)
12592 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12593 link_all_deplibs_CXX=yes
12594 ;;
12595
12596 hpux9*)
12597 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12598 hardcode_libdir_separator_CXX=:
12599 export_dynamic_flag_spec_CXX='${wl}-E'
12600 hardcode_direct_CXX=yes
12601 hardcode_minus_L_CXX=yes # Not in the search PATH,
12602 # but as the default
12603 # location of the library.
12604
12605 case $cc_basename in
12606 CC*)
12607 # FIXME: insert proper C++ library support
12608 ld_shlibs_CXX=no
12609 ;;
12610 aCC*)
12611 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'
12612 # Commands to make compiler produce verbose output that lists
12613 # what "hidden" libraries, object files and flags are used when
12614 # linking a shared library.
12615 #
12616 # There doesn't appear to be a way to prevent this compiler from
12617 # explicitly linking system object files so we need to strip them
12618 # from the output so that they don't get included in the library
12619 # dependencies.
12620 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"'
12621 ;;
12622 *)
12623 if test "$GXX" = yes; then
12624 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'
12625 else
12626 # FIXME: insert proper C++ library support
12627 ld_shlibs_CXX=no
12628 fi
12629 ;;
12630 esac
12631 ;;
12632
12633 hpux10*|hpux11*)
12634 if test $with_gnu_ld = no; then
12635 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12636 hardcode_libdir_separator_CXX=:
12637
12638 case $host_cpu in
12639 hppa*64*|ia64*)
12640 ;;
12641 *)
12642 export_dynamic_flag_spec_CXX='${wl}-E'
12643 ;;
12644 esac
12645 fi
12646 case $host_cpu in
12647 hppa*64*|ia64*)
12648 hardcode_direct_CXX=no
12649 hardcode_shlibpath_var_CXX=no
12650 ;;
12651 *)
12652 hardcode_direct_CXX=yes
12653 hardcode_direct_absolute_CXX=yes
12654 hardcode_minus_L_CXX=yes # Not in the search PATH,
12655 # but as the default
12656 # location of the library.
12657 ;;
12658 esac
12659
12660 case $cc_basename in
12661 CC*)
12662 # FIXME: insert proper C++ library support
12663 ld_shlibs_CXX=no
12664 ;;
12665 aCC*)
12666 case $host_cpu in
12667 hppa*64*)
12668 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 ;;
12670 ia64*)
12671 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12672 ;;
12673 *)
12674 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12675 ;;
12676 esac
12677 # Commands to make compiler produce verbose output that lists
12678 # what "hidden" libraries, object files and flags are used when
12679 # linking a shared library.
12680 #
12681 # There doesn't appear to be a way to prevent this compiler from
12682 # explicitly linking system object files so we need to strip them
12683 # from the output so that they don't get included in the library
12684 # dependencies.
12685 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"'
12686 ;;
12687 *)
12688 if test "$GXX" = yes; then
12689 if test $with_gnu_ld = no; then
12690 case $host_cpu in
12691 hppa*64*)
12692 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12693 ;;
12694 ia64*)
12695 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12696 ;;
12697 *)
12698 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'
12699 ;;
12700 esac
12701 fi
12702 else
12703 # FIXME: insert proper C++ library support
12704 ld_shlibs_CXX=no
12705 fi
12706 ;;
12707 esac
12708 ;;
12709
12710 interix[3-9]*)
12711 hardcode_direct_CXX=no
12712 hardcode_shlibpath_var_CXX=no
12713 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12714 export_dynamic_flag_spec_CXX='${wl}-E'
12715 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12716 # Instead, shared libraries are loaded at an image base (0x10000000 by
12717 # default) and relocated if they conflict, which is a slow very memory
12718 # consuming and fragmenting process. To avoid this, we pick a random,
12719 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12720 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12721 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'
12722 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'
12723 ;;
12724 irix5* | irix6*)
12725 case $cc_basename in
12726 CC*)
12727 # SGI C++
12728 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'
12729
12730 # Archives containing C++ object files must be created using
12731 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12732 # necessary to make sure instantiated templates are included
12733 # in the archive.
12734 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12735 ;;
12736 *)
12737 if test "$GXX" = yes; then
12738 if test "$with_gnu_ld" = no; then
12739 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'
12740 else
12741 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'
12742 fi
12743 fi
12744 link_all_deplibs_CXX=yes
12745 ;;
12746 esac
12747 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12748 hardcode_libdir_separator_CXX=:
12749 inherit_rpath_CXX=yes
12750 ;;
12751
12752 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12753 case $cc_basename in
12754 KCC*)
12755 # Kuck and Associates, Inc. (KAI) C++ Compiler
12756
12757 # KCC will only create a shared library if the output file
12758 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12759 # to its proper name (with version) after linking.
12760 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'
12761 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'
12762 # Commands to make compiler produce verbose output that lists
12763 # what "hidden" libraries, object files and flags are used when
12764 # linking a shared library.
12765 #
12766 # There doesn't appear to be a way to prevent this compiler from
12767 # explicitly linking system object files so we need to strip them
12768 # from the output so that they don't get included in the library
12769 # dependencies.
12770 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"'
12771
12772 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12773 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12774
12775 # Archives containing C++ object files must be created using
12776 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12777 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12778 ;;
12779 icpc* | ecpc* )
12780 # Intel C++
12781 with_gnu_ld=yes
12782 # version 8.0 and above of icpc choke on multiply defined symbols
12783 # if we add $predep_objects and $postdep_objects, however 7.1 and
12784 # earlier do not add the objects themselves.
12785 case `$CC -V 2>&1` in
12786 *"Version 7."*)
12787 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12788 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'
12789 ;;
12790 *) # Version 8.0 or newer
12791 tmp_idyn=
12792 case $host_cpu in
12793 ia64*) tmp_idyn=' -i_dynamic';;
12794 esac
12795 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 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'
12797 ;;
12798 esac
12799 archive_cmds_need_lc_CXX=no
12800 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12801 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12802 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12803 ;;
12804 pgCC* | pgcpp*)
12805 # Portland Group C++ compiler
12806 case `$CC -V` in
12807 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12808 prelink_cmds_CXX='tpldir=Template.dir~
12809 rm -rf $tpldir~
12810 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12811 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12812 old_archive_cmds_CXX='tpldir=Template.dir~
12813 rm -rf $tpldir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12815 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12816 $RANLIB $oldlib'
12817 archive_cmds_CXX='tpldir=Template.dir~
12818 rm -rf $tpldir~
12819 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12820 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12821 archive_expsym_cmds_CXX='tpldir=Template.dir~
12822 rm -rf $tpldir~
12823 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12824 $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'
12825 ;;
12826 *) # Version 6 and above use weak symbols
12827 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12828 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'
12829 ;;
12830 esac
12831
12832 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12833 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12834 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'
12835 ;;
12836 cxx*)
12837 # Compaq C++
12838 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12839 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'
12840
12841 runpath_var=LD_RUN_PATH
12842 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12843 hardcode_libdir_separator_CXX=:
12844
12845 # Commands to make compiler produce verbose output that lists
12846 # what "hidden" libraries, object files and flags are used when
12847 # linking a shared library.
12848 #
12849 # There doesn't appear to be a way to prevent this compiler from
12850 # explicitly linking system object files so we need to strip them
12851 # from the output so that they don't get included in the library
12852 # dependencies.
12853 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'
12854 ;;
12855 xl* | mpixl* | bgxl*)
12856 # IBM XL 8.0 on PPC, with GNU ld
12857 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12858 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12859 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12860 if test "x$supports_anon_versioning" = xyes; then
12861 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12862 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12863 echo "local: *; };" >> $output_objdir/$libname.ver~
12864 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12865 fi
12866 ;;
12867 *)
12868 case `$CC -V 2>&1 | sed 5q` in
12869 *Sun\ C*)
12870 # Sun C++ 5.9
12871 no_undefined_flag_CXX=' -zdefs'
12872 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12873 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'
12874 hardcode_libdir_flag_spec_CXX='-R$libdir'
12875 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'
12876 compiler_needs_object_CXX=yes
12877
12878 # Not sure whether something based on
12879 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12880 # would be better.
12881 output_verbose_link_cmd='func_echo_all'
12882
12883 # Archives containing C++ object files must be created using
12884 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12885 # necessary to make sure instantiated templates are included
12886 # in the archive.
12887 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12888 ;;
12889 esac
12890 ;;
12891 esac
12892 ;;
12893
12894 lynxos*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12897 ;;
12898
12899 m88k*)
12900 # FIXME: insert proper C++ library support
12901 ld_shlibs_CXX=no
12902 ;;
12903
12904 mvs*)
12905 case $cc_basename in
12906 cxx*)
12907 # FIXME: insert proper C++ library support
12908 ld_shlibs_CXX=no
12909 ;;
12910 *)
12911 # FIXME: insert proper C++ library support
12912 ld_shlibs_CXX=no
12913 ;;
12914 esac
12915 ;;
12916
12917 netbsd*)
12918 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12919 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12920 wlarc=
12921 hardcode_libdir_flag_spec_CXX='-R$libdir'
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12924 fi
12925 # Workaround some broken pre-1.5 toolchains
12926 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12927 ;;
12928
12929 *nto* | *qnx*)
12930 ld_shlibs_CXX=yes
12931 ;;
12932
12933 openbsd2*)
12934 # C++ shared libraries are fairly broken
12935 ld_shlibs_CXX=no
12936 ;;
12937
12938 openbsd*)
12939 if test -f /usr/libexec/ld.so; then
12940 hardcode_direct_CXX=yes
12941 hardcode_shlibpath_var_CXX=no
12942 hardcode_direct_absolute_CXX=yes
12943 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12944 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12945 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12946 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12947 export_dynamic_flag_spec_CXX='${wl}-E'
12948 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12949 fi
12950 output_verbose_link_cmd=func_echo_all
12951 else
12952 ld_shlibs_CXX=no
12953 fi
12954 ;;
12955
12956 osf3* | osf4* | osf5*)
12957 case $cc_basename in
12958 KCC*)
12959 # Kuck and Associates, Inc. (KAI) C++ Compiler
12960
12961 # KCC will only create a shared library if the output file
12962 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12963 # to its proper name (with version) after linking.
12964 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'
12965
12966 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12967 hardcode_libdir_separator_CXX=:
12968
12969 # Archives containing C++ object files must be created using
12970 # the KAI C++ compiler.
12971 case $host in
12972 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12973 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12974 esac
12975 ;;
12976 RCC*)
12977 # Rational C++ 2.4.1
12978 # FIXME: insert proper C++ library support
12979 ld_shlibs_CXX=no
12980 ;;
12981 cxx*)
12982 case $host in
12983 osf3*)
12984 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12985 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'
12986 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12987 ;;
12988 *)
12989 allow_undefined_flag_CXX=' -expect_unresolved \*'
12990 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'
12991 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12992 echo "-hidden">> $lib.exp~
12993 $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~
12994 $RM $lib.exp'
12995 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12996 ;;
12997 esac
12998
12999 hardcode_libdir_separator_CXX=:
13000
13001 # Commands to make compiler produce verbose output that lists
13002 # what "hidden" libraries, object files and flags are used when
13003 # linking a shared library.
13004 #
13005 # There doesn't appear to be a way to prevent this compiler from
13006 # explicitly linking system object files so we need to strip them
13007 # from the output so that they don't get included in the library
13008 # dependencies.
13009 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"'
13010 ;;
13011 *)
13012 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13013 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13014 case $host in
13015 osf3*)
13016 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'
13017 ;;
13018 *)
13019 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'
13020 ;;
13021 esac
13022
13023 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13024 hardcode_libdir_separator_CXX=:
13025
13026 # Commands to make compiler produce verbose output that lists
13027 # what "hidden" libraries, object files and flags are used when
13028 # linking a shared library.
13029 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13030
13031 else
13032 # FIXME: insert proper C++ library support
13033 ld_shlibs_CXX=no
13034 fi
13035 ;;
13036 esac
13037 ;;
13038
13039 psos*)
13040 # FIXME: insert proper C++ library support
13041 ld_shlibs_CXX=no
13042 ;;
13043
13044 sunos4*)
13045 case $cc_basename in
13046 CC*)
13047 # Sun C++ 4.x
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13050 ;;
13051 lcc*)
13052 # Lucid
13053 # FIXME: insert proper C++ library support
13054 ld_shlibs_CXX=no
13055 ;;
13056 *)
13057 # FIXME: insert proper C++ library support
13058 ld_shlibs_CXX=no
13059 ;;
13060 esac
13061 ;;
13062
13063 solaris*)
13064 case $cc_basename in
13065 CC*)
13066 # Sun C++ 4.2, 5.x and Centerline C++
13067 archive_cmds_need_lc_CXX=yes
13068 no_undefined_flag_CXX=' -zdefs'
13069 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13070 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13071 $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'
13072
13073 hardcode_libdir_flag_spec_CXX='-R$libdir'
13074 hardcode_shlibpath_var_CXX=no
13075 case $host_os in
13076 solaris2.[0-5] | solaris2.[0-5].*) ;;
13077 *)
13078 # The compiler driver will combine and reorder linker options,
13079 # but understands `-z linker_flag'.
13080 # Supported since Solaris 2.6 (maybe 2.5.1?)
13081 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13082 ;;
13083 esac
13084 link_all_deplibs_CXX=yes
13085
13086 output_verbose_link_cmd='func_echo_all'
13087
13088 # Archives containing C++ object files must be created using
13089 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13090 # necessary to make sure instantiated templates are included
13091 # in the archive.
13092 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13093 ;;
13094 gcx*)
13095 # Green Hills C++ Compiler
13096 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13097
13098 # The C++ compiler must be used to create the archive.
13099 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13100 ;;
13101 *)
13102 # GNU C++ compiler with Solaris linker
13103 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13104 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13105 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13106 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13107 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13108 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13109
13110 # Commands to make compiler produce verbose output that lists
13111 # what "hidden" libraries, object files and flags are used when
13112 # linking a shared library.
13113 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13114 else
13115 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13116 # platform.
13117 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13118 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13119 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13120
13121 # Commands to make compiler produce verbose output that lists
13122 # what "hidden" libraries, object files and flags are used when
13123 # linking a shared library.
13124 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13125 fi
13126
13127 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13128 case $host_os in
13129 solaris2.[0-5] | solaris2.[0-5].*) ;;
13130 *)
13131 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13132 ;;
13133 esac
13134 fi
13135 ;;
13136 esac
13137 ;;
13138
13139 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13140 no_undefined_flag_CXX='${wl}-z,text'
13141 archive_cmds_need_lc_CXX=no
13142 hardcode_shlibpath_var_CXX=no
13143 runpath_var='LD_RUN_PATH'
13144
13145 case $cc_basename in
13146 CC*)
13147 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13148 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149 ;;
13150 *)
13151 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13152 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13153 ;;
13154 esac
13155 ;;
13156
13157 sysv5* | sco3.2v5* | sco5v6*)
13158 # Note: We can NOT use -z defs as we might desire, because we do not
13159 # link with -lc, and that would cause any symbols used from libc to
13160 # always be unresolved, which means just about no library would
13161 # ever link correctly. If we're not using GNU ld we use -z text
13162 # though, which does catch some bad symbols but isn't as heavy-handed
13163 # as -z defs.
13164 no_undefined_flag_CXX='${wl}-z,text'
13165 allow_undefined_flag_CXX='${wl}-z,nodefs'
13166 archive_cmds_need_lc_CXX=no
13167 hardcode_shlibpath_var_CXX=no
13168 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13169 hardcode_libdir_separator_CXX=':'
13170 link_all_deplibs_CXX=yes
13171 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13172 runpath_var='LD_RUN_PATH'
13173
13174 case $cc_basename in
13175 CC*)
13176 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13177 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13178 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13179 '"$old_archive_cmds_CXX"
13180 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13181 '"$reload_cmds_CXX"
13182 ;;
13183 *)
13184 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13185 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13186 ;;
13187 esac
13188 ;;
13189
13190 tandem*)
13191 case $cc_basename in
13192 NCC*)
13193 # NonStop-UX NCC 3.20
13194 # FIXME: insert proper C++ library support
13195 ld_shlibs_CXX=no
13196 ;;
13197 *)
13198 # FIXME: insert proper C++ library support
13199 ld_shlibs_CXX=no
13200 ;;
13201 esac
13202 ;;
13203
13204 vxworks*)
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13207 ;;
13208
13209 *)
13210 # FIXME: insert proper C++ library support
13211 ld_shlibs_CXX=no
13212 ;;
13213 esac
13214
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13216 $as_echo "$ld_shlibs_CXX" >&6; }
13217 test "$ld_shlibs_CXX" = no && can_build_shared=no
13218
13219 GCC_CXX="$GXX"
13220 LD_CXX="$LD"
13221
13222 ## CAVEAT EMPTOR:
13223 ## There is no encapsulation within the following macros, do not change
13224 ## the running order or otherwise move them around unless you know exactly
13225 ## what you are doing...
13226 # Dependencies to place before and after the object being linked:
13227 predep_objects_CXX=
13228 postdep_objects_CXX=
13229 predeps_CXX=
13230 postdeps_CXX=
13231 compiler_lib_search_path_CXX=
13232
13233 cat > conftest.$ac_ext <<_LT_EOF
13234 class Foo
13235 {
13236 public:
13237 Foo (void) { a = 0; }
13238 private:
13239 int a;
13240 };
13241 _LT_EOF
13242
13243 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13244 (eval $ac_compile) 2>&5
13245 ac_status=$?
13246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13247 test $ac_status = 0; }; then
13248 # Parse the compiler output and extract the necessary
13249 # objects, libraries and library flags.
13250
13251 # Sentinel used to keep track of whether or not we are before
13252 # the conftest object file.
13253 pre_test_object_deps_done=no
13254
13255 for p in `eval "$output_verbose_link_cmd"`; do
13256 case $p in
13257
13258 -L* | -R* | -l*)
13259 # Some compilers place space between "-{L,R}" and the path.
13260 # Remove the space.
13261 if test $p = "-L" ||
13262 test $p = "-R"; then
13263 prev=$p
13264 continue
13265 else
13266 prev=
13267 fi
13268
13269 if test "$pre_test_object_deps_done" = no; then
13270 case $p in
13271 -L* | -R*)
13272 # Internal compiler library paths should come after those
13273 # provided the user. The postdeps already come after the
13274 # user supplied libs so there is no need to process them.
13275 if test -z "$compiler_lib_search_path_CXX"; then
13276 compiler_lib_search_path_CXX="${prev}${p}"
13277 else
13278 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13279 fi
13280 ;;
13281 # The "-l" case would never come before the object being
13282 # linked, so don't bother handling this case.
13283 esac
13284 else
13285 if test -z "$postdeps_CXX"; then
13286 postdeps_CXX="${prev}${p}"
13287 else
13288 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13289 fi
13290 fi
13291 ;;
13292
13293 *.$objext)
13294 # This assumes that the test object file only shows up
13295 # once in the compiler output.
13296 if test "$p" = "conftest.$objext"; then
13297 pre_test_object_deps_done=yes
13298 continue
13299 fi
13300
13301 if test "$pre_test_object_deps_done" = no; then
13302 if test -z "$predep_objects_CXX"; then
13303 predep_objects_CXX="$p"
13304 else
13305 predep_objects_CXX="$predep_objects_CXX $p"
13306 fi
13307 else
13308 if test -z "$postdep_objects_CXX"; then
13309 postdep_objects_CXX="$p"
13310 else
13311 postdep_objects_CXX="$postdep_objects_CXX $p"
13312 fi
13313 fi
13314 ;;
13315
13316 *) ;; # Ignore the rest.
13317
13318 esac
13319 done
13320
13321 # Clean up.
13322 rm -f a.out a.exe
13323 else
13324 echo "libtool.m4: error: problem compiling CXX test program"
13325 fi
13326
13327 $RM -f confest.$objext
13328
13329 # PORTME: override above test on systems where it is broken
13330 case $host_os in
13331 interix[3-9]*)
13332 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13333 # hack all around it, let's just trust "g++" to DTRT.
13334 predep_objects_CXX=
13335 postdep_objects_CXX=
13336 postdeps_CXX=
13337 ;;
13338
13339 linux*)
13340 case `$CC -V 2>&1 | sed 5q` in
13341 *Sun\ C*)
13342 # Sun C++ 5.9
13343
13344 # The more standards-conforming stlport4 library is
13345 # incompatible with the Cstd library. Avoid specifying
13346 # it if it's in CXXFLAGS. Ignore libCrun as
13347 # -library=stlport4 depends on it.
13348 case " $CXX $CXXFLAGS " in
13349 *" -library=stlport4 "*)
13350 solaris_use_stlport4=yes
13351 ;;
13352 esac
13353
13354 if test "$solaris_use_stlport4" != yes; then
13355 postdeps_CXX='-library=Cstd -library=Crun'
13356 fi
13357 ;;
13358 esac
13359 ;;
13360
13361 solaris*)
13362 case $cc_basename in
13363 CC*)
13364 # The more standards-conforming stlport4 library is
13365 # incompatible with the Cstd library. Avoid specifying
13366 # it if it's in CXXFLAGS. Ignore libCrun as
13367 # -library=stlport4 depends on it.
13368 case " $CXX $CXXFLAGS " in
13369 *" -library=stlport4 "*)
13370 solaris_use_stlport4=yes
13371 ;;
13372 esac
13373
13374 # Adding this requires a known-good setup of shared libraries for
13375 # Sun compiler versions before 5.6, else PIC objects from an old
13376 # archive will be linked into the output, leading to subtle bugs.
13377 if test "$solaris_use_stlport4" != yes; then
13378 postdeps_CXX='-library=Cstd -library=Crun'
13379 fi
13380 ;;
13381 esac
13382 ;;
13383 esac
13384
13385
13386 case " $postdeps_CXX " in
13387 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13388 esac
13389 compiler_lib_search_dirs_CXX=
13390 if test -n "${compiler_lib_search_path_CXX}"; then
13391 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13392 fi
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424 lt_prog_compiler_wl_CXX=
13425 lt_prog_compiler_pic_CXX=
13426 lt_prog_compiler_static_CXX=
13427
13428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13429 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13430
13431 # C++ specific cases for pic, static, wl, etc.
13432 if test "$GXX" = yes; then
13433 lt_prog_compiler_wl_CXX='-Wl,'
13434 lt_prog_compiler_static_CXX='-static'
13435
13436 case $host_os in
13437 aix*)
13438 # All AIX code is PIC.
13439 if test "$host_cpu" = ia64; then
13440 # AIX 5 now supports IA64 processor
13441 lt_prog_compiler_static_CXX='-Bstatic'
13442 fi
13443 lt_prog_compiler_pic_CXX='-fPIC'
13444 ;;
13445
13446 amigaos*)
13447 case $host_cpu in
13448 powerpc)
13449 # see comment about AmigaOS4 .so support
13450 lt_prog_compiler_pic_CXX='-fPIC'
13451 ;;
13452 m68k)
13453 # FIXME: we need at least 68020 code to build shared libraries, but
13454 # adding the `-m68020' flag to GCC prevents building anything better,
13455 # like `-m68040'.
13456 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13457 ;;
13458 esac
13459 ;;
13460
13461 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13462 # PIC is the default for these OSes.
13463 ;;
13464 mingw* | cygwin* | os2* | pw32* | cegcc*)
13465 # This hack is so that the source file can tell whether it is being
13466 # built for inclusion in a dll (and should export symbols for example).
13467 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13468 # (--disable-auto-import) libraries
13469 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13470 ;;
13471 darwin* | rhapsody*)
13472 # PIC is the default on this platform
13473 # Common symbols not allowed in MH_DYLIB files
13474 lt_prog_compiler_pic_CXX='-fno-common'
13475 ;;
13476 *djgpp*)
13477 # DJGPP does not support shared libraries at all
13478 lt_prog_compiler_pic_CXX=
13479 ;;
13480 haiku*)
13481 # PIC is the default for Haiku.
13482 # The "-static" flag exists, but is broken.
13483 lt_prog_compiler_static_CXX=
13484 ;;
13485 interix[3-9]*)
13486 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13487 # Instead, we relocate shared libraries at runtime.
13488 ;;
13489 sysv4*MP*)
13490 if test -d /usr/nec; then
13491 lt_prog_compiler_pic_CXX=-Kconform_pic
13492 fi
13493 ;;
13494 hpux*)
13495 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13496 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13497 # sets the default TLS model and affects inlining.
13498 case $host_cpu in
13499 hppa*64*)
13500 ;;
13501 *)
13502 lt_prog_compiler_pic_CXX='-fPIC'
13503 ;;
13504 esac
13505 ;;
13506 *qnx* | *nto*)
13507 # QNX uses GNU C++, but need to define -shared option too, otherwise
13508 # it will coredump.
13509 lt_prog_compiler_pic_CXX='-fPIC -shared'
13510 ;;
13511 *)
13512 lt_prog_compiler_pic_CXX='-fPIC'
13513 ;;
13514 esac
13515 else
13516 case $host_os in
13517 aix[4-9]*)
13518 # All AIX code is PIC.
13519 if test "$host_cpu" = ia64; then
13520 # AIX 5 now supports IA64 processor
13521 lt_prog_compiler_static_CXX='-Bstatic'
13522 else
13523 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13524 fi
13525 ;;
13526 chorus*)
13527 case $cc_basename in
13528 cxch68*)
13529 # Green Hills C++ Compiler
13530 # _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"
13531 ;;
13532 esac
13533 ;;
13534 dgux*)
13535 case $cc_basename in
13536 ec++*)
13537 lt_prog_compiler_pic_CXX='-KPIC'
13538 ;;
13539 ghcx*)
13540 # Green Hills C++ Compiler
13541 lt_prog_compiler_pic_CXX='-pic'
13542 ;;
13543 *)
13544 ;;
13545 esac
13546 ;;
13547 freebsd* | dragonfly*)
13548 # FreeBSD uses GNU C++
13549 ;;
13550 hpux9* | hpux10* | hpux11*)
13551 case $cc_basename in
13552 CC*)
13553 lt_prog_compiler_wl_CXX='-Wl,'
13554 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13555 if test "$host_cpu" != ia64; then
13556 lt_prog_compiler_pic_CXX='+Z'
13557 fi
13558 ;;
13559 aCC*)
13560 lt_prog_compiler_wl_CXX='-Wl,'
13561 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13562 case $host_cpu in
13563 hppa*64*|ia64*)
13564 # +Z the default
13565 ;;
13566 *)
13567 lt_prog_compiler_pic_CXX='+Z'
13568 ;;
13569 esac
13570 ;;
13571 *)
13572 ;;
13573 esac
13574 ;;
13575 interix*)
13576 # This is c89, which is MS Visual C++ (no shared libs)
13577 # Anyone wants to do a port?
13578 ;;
13579 irix5* | irix6* | nonstopux*)
13580 case $cc_basename in
13581 CC*)
13582 lt_prog_compiler_wl_CXX='-Wl,'
13583 lt_prog_compiler_static_CXX='-non_shared'
13584 # CC pic flag -KPIC is the default.
13585 ;;
13586 *)
13587 ;;
13588 esac
13589 ;;
13590 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13591 case $cc_basename in
13592 KCC*)
13593 # KAI C++ Compiler
13594 lt_prog_compiler_wl_CXX='--backend -Wl,'
13595 lt_prog_compiler_pic_CXX='-fPIC'
13596 ;;
13597 ecpc* )
13598 # old Intel C++ for x86_64 which still supported -KPIC.
13599 lt_prog_compiler_wl_CXX='-Wl,'
13600 lt_prog_compiler_pic_CXX='-KPIC'
13601 lt_prog_compiler_static_CXX='-static'
13602 ;;
13603 icpc* )
13604 # Intel C++, used to be incompatible with GCC.
13605 # ICC 10 doesn't accept -KPIC any more.
13606 lt_prog_compiler_wl_CXX='-Wl,'
13607 lt_prog_compiler_pic_CXX='-fPIC'
13608 lt_prog_compiler_static_CXX='-static'
13609 ;;
13610 pgCC* | pgcpp*)
13611 # Portland Group C++ compiler
13612 lt_prog_compiler_wl_CXX='-Wl,'
13613 lt_prog_compiler_pic_CXX='-fpic'
13614 lt_prog_compiler_static_CXX='-Bstatic'
13615 ;;
13616 cxx*)
13617 # Compaq C++
13618 # Make sure the PIC flag is empty. It appears that all Alpha
13619 # Linux and Compaq Tru64 Unix objects are PIC.
13620 lt_prog_compiler_pic_CXX=
13621 lt_prog_compiler_static_CXX='-non_shared'
13622 ;;
13623 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13624 # IBM XL 8.0, 9.0 on PPC and BlueGene
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 lt_prog_compiler_pic_CXX='-qpic'
13627 lt_prog_compiler_static_CXX='-qstaticlink'
13628 ;;
13629 *)
13630 case `$CC -V 2>&1 | sed 5q` in
13631 *Sun\ C*)
13632 # Sun C++ 5.9
13633 lt_prog_compiler_pic_CXX='-KPIC'
13634 lt_prog_compiler_static_CXX='-Bstatic'
13635 lt_prog_compiler_wl_CXX='-Qoption ld '
13636 ;;
13637 esac
13638 ;;
13639 esac
13640 ;;
13641 lynxos*)
13642 ;;
13643 m88k*)
13644 ;;
13645 mvs*)
13646 case $cc_basename in
13647 cxx*)
13648 lt_prog_compiler_pic_CXX='-W c,exportall'
13649 ;;
13650 *)
13651 ;;
13652 esac
13653 ;;
13654 netbsd*)
13655 ;;
13656 *qnx* | *nto*)
13657 # QNX uses GNU C++, but need to define -shared option too, otherwise
13658 # it will coredump.
13659 lt_prog_compiler_pic_CXX='-fPIC -shared'
13660 ;;
13661 osf3* | osf4* | osf5*)
13662 case $cc_basename in
13663 KCC*)
13664 lt_prog_compiler_wl_CXX='--backend -Wl,'
13665 ;;
13666 RCC*)
13667 # Rational C++ 2.4.1
13668 lt_prog_compiler_pic_CXX='-pic'
13669 ;;
13670 cxx*)
13671 # Digital/Compaq C++
13672 lt_prog_compiler_wl_CXX='-Wl,'
13673 # Make sure the PIC flag is empty. It appears that all Alpha
13674 # Linux and Compaq Tru64 Unix objects are PIC.
13675 lt_prog_compiler_pic_CXX=
13676 lt_prog_compiler_static_CXX='-non_shared'
13677 ;;
13678 *)
13679 ;;
13680 esac
13681 ;;
13682 psos*)
13683 ;;
13684 solaris*)
13685 case $cc_basename in
13686 CC*)
13687 # Sun C++ 4.2, 5.x and Centerline C++
13688 lt_prog_compiler_pic_CXX='-KPIC'
13689 lt_prog_compiler_static_CXX='-Bstatic'
13690 lt_prog_compiler_wl_CXX='-Qoption ld '
13691 ;;
13692 gcx*)
13693 # Green Hills C++ Compiler
13694 lt_prog_compiler_pic_CXX='-PIC'
13695 ;;
13696 *)
13697 ;;
13698 esac
13699 ;;
13700 sunos4*)
13701 case $cc_basename in
13702 CC*)
13703 # Sun C++ 4.x
13704 lt_prog_compiler_pic_CXX='-pic'
13705 lt_prog_compiler_static_CXX='-Bstatic'
13706 ;;
13707 lcc*)
13708 # Lucid
13709 lt_prog_compiler_pic_CXX='-pic'
13710 ;;
13711 *)
13712 ;;
13713 esac
13714 ;;
13715 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13716 case $cc_basename in
13717 CC*)
13718 lt_prog_compiler_wl_CXX='-Wl,'
13719 lt_prog_compiler_pic_CXX='-KPIC'
13720 lt_prog_compiler_static_CXX='-Bstatic'
13721 ;;
13722 esac
13723 ;;
13724 tandem*)
13725 case $cc_basename in
13726 NCC*)
13727 # NonStop-UX NCC 3.20
13728 lt_prog_compiler_pic_CXX='-KPIC'
13729 ;;
13730 *)
13731 ;;
13732 esac
13733 ;;
13734 vxworks*)
13735 ;;
13736 *)
13737 lt_prog_compiler_can_build_shared_CXX=no
13738 ;;
13739 esac
13740 fi
13741
13742 case $host_os in
13743 # For platforms which do not support PIC, -DPIC is meaningless:
13744 *djgpp*)
13745 lt_prog_compiler_pic_CXX=
13746 ;;
13747 *)
13748 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13749 ;;
13750 esac
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13752 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13753
13754
13755
13756 #
13757 # Check to make sure the PIC flag actually works.
13758 #
13759 if test -n "$lt_prog_compiler_pic_CXX"; then
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13761 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13762 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13763 $as_echo_n "(cached) " >&6
13764 else
13765 lt_cv_prog_compiler_pic_works_CXX=no
13766 ac_outfile=conftest.$ac_objext
13767 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13768 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13769 # Insert the option either (1) after the last *FLAGS variable, or
13770 # (2) before a word containing "conftest.", or (3) at the end.
13771 # Note that $ac_compile itself does not contain backslashes and begins
13772 # with a dollar sign (not a hyphen), so the echo should work correctly.
13773 # The option is referenced via a variable to avoid confusing sed.
13774 lt_compile=`echo "$ac_compile" | $SED \
13775 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13776 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13777 -e 's:$: $lt_compiler_flag:'`
13778 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13779 (eval "$lt_compile" 2>conftest.err)
13780 ac_status=$?
13781 cat conftest.err >&5
13782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13783 if (exit $ac_status) && test -s "$ac_outfile"; then
13784 # The compiler can only warn and ignore the option if not recognized
13785 # So say no if there are warnings other than the usual output.
13786 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13787 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13788 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13789 lt_cv_prog_compiler_pic_works_CXX=yes
13790 fi
13791 fi
13792 $RM conftest*
13793
13794 fi
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13796 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13797
13798 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13799 case $lt_prog_compiler_pic_CXX in
13800 "" | " "*) ;;
13801 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13802 esac
13803 else
13804 lt_prog_compiler_pic_CXX=
13805 lt_prog_compiler_can_build_shared_CXX=no
13806 fi
13807
13808 fi
13809
13810
13811
13812 #
13813 # Check to make sure the static flag actually works.
13814 #
13815 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13817 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13818 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13819 $as_echo_n "(cached) " >&6
13820 else
13821 lt_cv_prog_compiler_static_works_CXX=no
13822 save_LDFLAGS="$LDFLAGS"
13823 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13824 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13825 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13826 # The linker can only warn and ignore the option if not recognized
13827 # So say no if there are warnings
13828 if test -s conftest.err; then
13829 # Append any errors to the config.log.
13830 cat conftest.err 1>&5
13831 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13832 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13833 if diff conftest.exp conftest.er2 >/dev/null; then
13834 lt_cv_prog_compiler_static_works_CXX=yes
13835 fi
13836 else
13837 lt_cv_prog_compiler_static_works_CXX=yes
13838 fi
13839 fi
13840 $RM -r conftest*
13841 LDFLAGS="$save_LDFLAGS"
13842
13843 fi
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13845 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13846
13847 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13848 :
13849 else
13850 lt_prog_compiler_static_CXX=
13851 fi
13852
13853
13854
13855
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13857 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13858 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13859 $as_echo_n "(cached) " >&6
13860 else
13861 lt_cv_prog_compiler_c_o_CXX=no
13862 $RM -r conftest 2>/dev/null
13863 mkdir conftest
13864 cd conftest
13865 mkdir out
13866 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13867
13868 lt_compiler_flag="-o out/conftest2.$ac_objext"
13869 # Insert the option either (1) after the last *FLAGS variable, or
13870 # (2) before a word containing "conftest.", or (3) at the end.
13871 # Note that $ac_compile itself does not contain backslashes and begins
13872 # with a dollar sign (not a hyphen), so the echo should work correctly.
13873 lt_compile=`echo "$ac_compile" | $SED \
13874 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13875 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13876 -e 's:$: $lt_compiler_flag:'`
13877 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13878 (eval "$lt_compile" 2>out/conftest.err)
13879 ac_status=$?
13880 cat out/conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13883 then
13884 # The compiler can only warn and ignore the option if not recognized
13885 # So say no if there are warnings
13886 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13887 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13888 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13889 lt_cv_prog_compiler_c_o_CXX=yes
13890 fi
13891 fi
13892 chmod u+w . 2>&5
13893 $RM conftest*
13894 # SGI C++ compiler will create directory out/ii_files/ for
13895 # template instantiation
13896 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13897 $RM out/* && rmdir out
13898 cd ..
13899 $RM -r conftest
13900 $RM conftest*
13901
13902 fi
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13904 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13905
13906
13907
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13909 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13910 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13911 $as_echo_n "(cached) " >&6
13912 else
13913 lt_cv_prog_compiler_c_o_CXX=no
13914 $RM -r conftest 2>/dev/null
13915 mkdir conftest
13916 cd conftest
13917 mkdir out
13918 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13919
13920 lt_compiler_flag="-o out/conftest2.$ac_objext"
13921 # Insert the option either (1) after the last *FLAGS variable, or
13922 # (2) before a word containing "conftest.", or (3) at the end.
13923 # Note that $ac_compile itself does not contain backslashes and begins
13924 # with a dollar sign (not a hyphen), so the echo should work correctly.
13925 lt_compile=`echo "$ac_compile" | $SED \
13926 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13927 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13928 -e 's:$: $lt_compiler_flag:'`
13929 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13930 (eval "$lt_compile" 2>out/conftest.err)
13931 ac_status=$?
13932 cat out/conftest.err >&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13935 then
13936 # The compiler can only warn and ignore the option if not recognized
13937 # So say no if there are warnings
13938 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13939 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13940 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13941 lt_cv_prog_compiler_c_o_CXX=yes
13942 fi
13943 fi
13944 chmod u+w . 2>&5
13945 $RM conftest*
13946 # SGI C++ compiler will create directory out/ii_files/ for
13947 # template instantiation
13948 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13949 $RM out/* && rmdir out
13950 cd ..
13951 $RM -r conftest
13952 $RM conftest*
13953
13954 fi
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13956 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13957
13958
13959
13960
13961 hard_links="nottested"
13962 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13963 # do not overwrite the value of need_locks provided by the user
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13965 $as_echo_n "checking if we can lock with hard links... " >&6; }
13966 hard_links=yes
13967 $RM conftest*
13968 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13969 touch conftest.a
13970 ln conftest.a conftest.b 2>&5 || hard_links=no
13971 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13973 $as_echo "$hard_links" >&6; }
13974 if test "$hard_links" = no; then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13976 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13977 need_locks=warn
13978 fi
13979 else
13980 need_locks=no
13981 fi
13982
13983
13984
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13986 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13987
13988 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13989 case $host_os in
13990 aix[4-9]*)
13991 # If we're using GNU nm, then we don't want the "-C" option.
13992 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13993 # Also, AIX nm treats weak defined symbols like other global defined
13994 # symbols, whereas GNU nm marks them as "W".
13995 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13996 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'
13997 else
13998 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'
13999 fi
14000 ;;
14001 pw32*)
14002 export_symbols_cmds_CXX="$ltdll_cmds"
14003 ;;
14004 cygwin* | mingw* | cegcc*)
14005 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'
14006 ;;
14007 *)
14008 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14009 ;;
14010 esac
14011 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14012
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14014 $as_echo "$ld_shlibs_CXX" >&6; }
14015 test "$ld_shlibs_CXX" = no && can_build_shared=no
14016
14017 with_gnu_ld_CXX=$with_gnu_ld
14018
14019
14020
14021
14022
14023
14024 #
14025 # Do we need to explicitly link libc?
14026 #
14027 case "x$archive_cmds_need_lc_CXX" in
14028 x|xyes)
14029 # Assume -lc should be added
14030 archive_cmds_need_lc_CXX=yes
14031
14032 if test "$enable_shared" = yes && test "$GCC" = yes; then
14033 case $archive_cmds_CXX in
14034 *'~'*)
14035 # FIXME: we may have to deal with multi-command sequences.
14036 ;;
14037 '$CC '*)
14038 # Test whether the compiler implicitly links with -lc since on some
14039 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14040 # to ld, don't add -lc before -lgcc.
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14042 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14043 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14044 $as_echo_n "(cached) " >&6
14045 else
14046 $RM conftest*
14047 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14048
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14050 (eval $ac_compile) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; } 2>conftest.err; then
14054 soname=conftest
14055 lib=conftest
14056 libobjs=conftest.$ac_objext
14057 deplibs=
14058 wl=$lt_prog_compiler_wl_CXX
14059 pic_flag=$lt_prog_compiler_pic_CXX
14060 compiler_flags=-v
14061 linker_flags=-v
14062 verstring=
14063 output_objdir=.
14064 libname=conftest
14065 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14066 allow_undefined_flag_CXX=
14067 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14068 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14069 ac_status=$?
14070 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14071 test $ac_status = 0; }
14072 then
14073 lt_cv_archive_cmds_need_lc_CXX=no
14074 else
14075 lt_cv_archive_cmds_need_lc_CXX=yes
14076 fi
14077 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14078 else
14079 cat conftest.err 1>&5
14080 fi
14081 $RM conftest*
14082
14083 fi
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14085 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14086 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14087 ;;
14088 esac
14089 fi
14090 ;;
14091 esac
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14157 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14158
14159 library_names_spec=
14160 libname_spec='lib$name'
14161 soname_spec=
14162 shrext_cmds=".so"
14163 postinstall_cmds=
14164 postuninstall_cmds=
14165 finish_cmds=
14166 finish_eval=
14167 shlibpath_var=
14168 shlibpath_overrides_runpath=unknown
14169 version_type=none
14170 dynamic_linker="$host_os ld.so"
14171 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14172 need_lib_prefix=unknown
14173 hardcode_into_libs=no
14174
14175 # when you set need_version to no, make sure it does not cause -set_version
14176 # flags to be left without arguments
14177 need_version=unknown
14178
14179 case $host_os in
14180 aix3*)
14181 version_type=linux
14182 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14183 shlibpath_var=LIBPATH
14184
14185 # AIX 3 has no versioning support, so we append a major version to the name.
14186 soname_spec='${libname}${release}${shared_ext}$major'
14187 ;;
14188
14189 aix[4-9]*)
14190 version_type=linux
14191 need_lib_prefix=no
14192 need_version=no
14193 hardcode_into_libs=yes
14194 if test "$host_cpu" = ia64; then
14195 # AIX 5 supports IA64
14196 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14197 shlibpath_var=LD_LIBRARY_PATH
14198 else
14199 # With GCC up to 2.95.x, collect2 would create an import file
14200 # for dependence libraries. The import file would start with
14201 # the line `#! .'. This would cause the generated library to
14202 # depend on `.', always an invalid library. This was fixed in
14203 # development snapshots of GCC prior to 3.0.
14204 case $host_os in
14205 aix4 | aix4.[01] | aix4.[01].*)
14206 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14207 echo ' yes '
14208 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14209 :
14210 else
14211 can_build_shared=no
14212 fi
14213 ;;
14214 esac
14215 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14216 # soname into executable. Probably we can add versioning support to
14217 # collect2, so additional links can be useful in future.
14218 if test "$aix_use_runtimelinking" = yes; then
14219 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14220 # instead of lib<name>.a to let people know that these are not
14221 # typical AIX shared libraries.
14222 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14223 else
14224 # We preserve .a as extension for shared libraries through AIX4.2
14225 # and later when we are not doing run time linking.
14226 library_names_spec='${libname}${release}.a $libname.a'
14227 soname_spec='${libname}${release}${shared_ext}$major'
14228 fi
14229 shlibpath_var=LIBPATH
14230 fi
14231 ;;
14232
14233 amigaos*)
14234 case $host_cpu in
14235 powerpc)
14236 # Since July 2007 AmigaOS4 officially supports .so libraries.
14237 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14238 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14239 ;;
14240 m68k)
14241 library_names_spec='$libname.ixlibrary $libname.a'
14242 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14243 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'
14244 ;;
14245 esac
14246 ;;
14247
14248 beos*)
14249 library_names_spec='${libname}${shared_ext}'
14250 dynamic_linker="$host_os ld.so"
14251 shlibpath_var=LIBRARY_PATH
14252 ;;
14253
14254 bsdi[45]*)
14255 version_type=linux
14256 need_version=no
14257 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14258 soname_spec='${libname}${release}${shared_ext}$major'
14259 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14262 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14263 # the default ld.so.conf also contains /usr/contrib/lib and
14264 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14265 # libtool to hard-code these into programs
14266 ;;
14267
14268 cygwin* | mingw* | pw32* | cegcc*)
14269 version_type=windows
14270 shrext_cmds=".dll"
14271 need_version=no
14272 need_lib_prefix=no
14273
14274 case $GCC,$host_os in
14275 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14276 library_names_spec='$libname.dll.a'
14277 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14278 postinstall_cmds='base_file=`basename \${file}`~
14279 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14280 dldir=$destdir/`dirname \$dlpath`~
14281 test -d \$dldir || mkdir -p \$dldir~
14282 $install_prog $dir/$dlname \$dldir/$dlname~
14283 chmod a+x \$dldir/$dlname~
14284 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14285 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14286 fi'
14287 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14288 dlpath=$dir/\$dldll~
14289 $RM \$dlpath'
14290 shlibpath_overrides_runpath=yes
14291
14292 case $host_os in
14293 cygwin*)
14294 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14295 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14296
14297 ;;
14298 mingw* | cegcc*)
14299 # MinGW DLLs use traditional 'lib' prefix
14300 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14301 ;;
14302 pw32*)
14303 # pw32 DLLs use 'pw' prefix rather than 'lib'
14304 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14305 ;;
14306 esac
14307 ;;
14308
14309 *)
14310 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14311 ;;
14312 esac
14313 dynamic_linker='Win32 ld.exe'
14314 # FIXME: first we should search . and the directory the executable is in
14315 shlibpath_var=PATH
14316 ;;
14317
14318 darwin* | rhapsody*)
14319 dynamic_linker="$host_os dyld"
14320 version_type=darwin
14321 need_lib_prefix=no
14322 need_version=no
14323 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14324 soname_spec='${libname}${release}${major}$shared_ext'
14325 shlibpath_overrides_runpath=yes
14326 shlibpath_var=DYLD_LIBRARY_PATH
14327 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14328
14329 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14330 ;;
14331
14332 dgux*)
14333 version_type=linux
14334 need_lib_prefix=no
14335 need_version=no
14336 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14337 soname_spec='${libname}${release}${shared_ext}$major'
14338 shlibpath_var=LD_LIBRARY_PATH
14339 ;;
14340
14341 freebsd* | dragonfly*)
14342 # DragonFly does not have aout. When/if they implement a new
14343 # versioning mechanism, adjust this.
14344 if test -x /usr/bin/objformat; then
14345 objformat=`/usr/bin/objformat`
14346 else
14347 case $host_os in
14348 freebsd[23].*) objformat=aout ;;
14349 *) objformat=elf ;;
14350 esac
14351 fi
14352 version_type=freebsd-$objformat
14353 case $version_type in
14354 freebsd-elf*)
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14356 need_version=no
14357 need_lib_prefix=no
14358 ;;
14359 freebsd-*)
14360 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14361 need_version=yes
14362 ;;
14363 esac
14364 shlibpath_var=LD_LIBRARY_PATH
14365 case $host_os in
14366 freebsd2.*)
14367 shlibpath_overrides_runpath=yes
14368 ;;
14369 freebsd3.[01]* | freebsdelf3.[01]*)
14370 shlibpath_overrides_runpath=yes
14371 hardcode_into_libs=yes
14372 ;;
14373 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14374 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14375 shlibpath_overrides_runpath=no
14376 hardcode_into_libs=yes
14377 ;;
14378 *) # from 4.6 on, and DragonFly
14379 shlibpath_overrides_runpath=yes
14380 hardcode_into_libs=yes
14381 ;;
14382 esac
14383 ;;
14384
14385 gnu*)
14386 version_type=linux
14387 need_lib_prefix=no
14388 need_version=no
14389 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14390 soname_spec='${libname}${release}${shared_ext}$major'
14391 shlibpath_var=LD_LIBRARY_PATH
14392 hardcode_into_libs=yes
14393 ;;
14394
14395 haiku*)
14396 version_type=linux
14397 need_lib_prefix=no
14398 need_version=no
14399 dynamic_linker="$host_os runtime_loader"
14400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14401 soname_spec='${libname}${release}${shared_ext}$major'
14402 shlibpath_var=LIBRARY_PATH
14403 shlibpath_overrides_runpath=yes
14404 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14405 hardcode_into_libs=yes
14406 ;;
14407
14408 hpux9* | hpux10* | hpux11*)
14409 # Give a soname corresponding to the major version so that dld.sl refuses to
14410 # link against other versions.
14411 version_type=sunos
14412 need_lib_prefix=no
14413 need_version=no
14414 case $host_cpu in
14415 ia64*)
14416 shrext_cmds='.so'
14417 hardcode_into_libs=yes
14418 dynamic_linker="$host_os dld.so"
14419 shlibpath_var=LD_LIBRARY_PATH
14420 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14422 soname_spec='${libname}${release}${shared_ext}$major'
14423 if test "X$HPUX_IA64_MODE" = X32; then
14424 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14425 else
14426 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14427 fi
14428 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14429 ;;
14430 hppa*64*)
14431 shrext_cmds='.sl'
14432 hardcode_into_libs=yes
14433 dynamic_linker="$host_os dld.sl"
14434 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14435 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14436 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14437 soname_spec='${libname}${release}${shared_ext}$major'
14438 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14439 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14440 ;;
14441 *)
14442 shrext_cmds='.sl'
14443 dynamic_linker="$host_os dld.sl"
14444 shlibpath_var=SHLIB_PATH
14445 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14446 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14447 soname_spec='${libname}${release}${shared_ext}$major'
14448 ;;
14449 esac
14450 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14451 postinstall_cmds='chmod 555 $lib'
14452 # or fails outright, so override atomically:
14453 install_override_mode=555
14454 ;;
14455
14456 interix[3-9]*)
14457 version_type=linux
14458 need_lib_prefix=no
14459 need_version=no
14460 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14461 soname_spec='${libname}${release}${shared_ext}$major'
14462 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14463 shlibpath_var=LD_LIBRARY_PATH
14464 shlibpath_overrides_runpath=no
14465 hardcode_into_libs=yes
14466 ;;
14467
14468 irix5* | irix6* | nonstopux*)
14469 case $host_os in
14470 nonstopux*) version_type=nonstopux ;;
14471 *)
14472 if test "$lt_cv_prog_gnu_ld" = yes; then
14473 version_type=linux
14474 else
14475 version_type=irix
14476 fi ;;
14477 esac
14478 need_lib_prefix=no
14479 need_version=no
14480 soname_spec='${libname}${release}${shared_ext}$major'
14481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14482 case $host_os in
14483 irix5* | nonstopux*)
14484 libsuff= shlibsuff=
14485 ;;
14486 *)
14487 case $LD in # libtool.m4 will add one of these switches to LD
14488 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14489 libsuff= shlibsuff= libmagic=32-bit;;
14490 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14491 libsuff=32 shlibsuff=N32 libmagic=N32;;
14492 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14493 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14494 *) libsuff= shlibsuff= libmagic=never-match;;
14495 esac
14496 ;;
14497 esac
14498 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14499 shlibpath_overrides_runpath=no
14500 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14501 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14502 hardcode_into_libs=yes
14503 ;;
14504
14505 # No shared lib support for Linux oldld, aout, or coff.
14506 linux*oldld* | linux*aout* | linux*coff*)
14507 dynamic_linker=no
14508 ;;
14509
14510 # This must be Linux ELF.
14511 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14512 version_type=linux
14513 need_lib_prefix=no
14514 need_version=no
14515 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14516 soname_spec='${libname}${release}${shared_ext}$major'
14517 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14518 shlibpath_var=LD_LIBRARY_PATH
14519 shlibpath_overrides_runpath=no
14520
14521 # Some binutils ld are patched to set DT_RUNPATH
14522 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14523 $as_echo_n "(cached) " >&6
14524 else
14525 lt_cv_shlibpath_overrides_runpath=no
14526 save_LDFLAGS=$LDFLAGS
14527 save_libdir=$libdir
14528 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14529 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14530 if test x$gcc_no_link = xyes; then
14531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14532 fi
14533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14534 /* end confdefs.h. */
14535
14536 int
14537 main ()
14538 {
14539
14540 ;
14541 return 0;
14542 }
14543 _ACEOF
14544 if ac_fn_cxx_try_link "$LINENO"; then :
14545 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14546 lt_cv_shlibpath_overrides_runpath=yes
14547 fi
14548 fi
14549 rm -f core conftest.err conftest.$ac_objext \
14550 conftest$ac_exeext conftest.$ac_ext
14551 LDFLAGS=$save_LDFLAGS
14552 libdir=$save_libdir
14553
14554 fi
14555
14556 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14557
14558 # This implies no fast_install, which is unacceptable.
14559 # Some rework will be needed to allow for fast_install
14560 # before this can be enabled.
14561 hardcode_into_libs=yes
14562
14563 # Append ld.so.conf contents to the search path
14564 if test -f /etc/ld.so.conf; then
14565 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' ' '`
14566 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14567 fi
14568
14569 # We used to test for /lib/ld.so.1 and disable shared libraries on
14570 # powerpc, because MkLinux only supported shared libraries with the
14571 # GNU dynamic linker. Since this was broken with cross compilers,
14572 # most powerpc-linux boxes support dynamic linking these days and
14573 # people can always --disable-shared, the test was removed, and we
14574 # assume the GNU/Linux dynamic linker is in use.
14575 dynamic_linker='GNU/Linux ld.so'
14576 ;;
14577
14578 netbsd*)
14579 version_type=sunos
14580 need_lib_prefix=no
14581 need_version=no
14582 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14584 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14585 dynamic_linker='NetBSD (a.out) ld.so'
14586 else
14587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14588 soname_spec='${libname}${release}${shared_ext}$major'
14589 dynamic_linker='NetBSD ld.elf_so'
14590 fi
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=yes
14593 hardcode_into_libs=yes
14594 ;;
14595
14596 newsos6)
14597 version_type=linux
14598 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14599 shlibpath_var=LD_LIBRARY_PATH
14600 shlibpath_overrides_runpath=yes
14601 ;;
14602
14603 *nto* | *qnx*)
14604 version_type=qnx
14605 need_lib_prefix=no
14606 need_version=no
14607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14608 soname_spec='${libname}${release}${shared_ext}$major'
14609 shlibpath_var=LD_LIBRARY_PATH
14610 shlibpath_overrides_runpath=no
14611 hardcode_into_libs=yes
14612 dynamic_linker='ldqnx.so'
14613 ;;
14614
14615 openbsd*)
14616 version_type=sunos
14617 sys_lib_dlsearch_path_spec="/usr/lib"
14618 need_lib_prefix=no
14619 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14620 case $host_os in
14621 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14622 *) need_version=no ;;
14623 esac
14624 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14625 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14626 shlibpath_var=LD_LIBRARY_PATH
14627 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14628 case $host_os in
14629 openbsd2.[89] | openbsd2.[89].*)
14630 shlibpath_overrides_runpath=no
14631 ;;
14632 *)
14633 shlibpath_overrides_runpath=yes
14634 ;;
14635 esac
14636 else
14637 shlibpath_overrides_runpath=yes
14638 fi
14639 ;;
14640
14641 os2*)
14642 libname_spec='$name'
14643 shrext_cmds=".dll"
14644 need_lib_prefix=no
14645 library_names_spec='$libname${shared_ext} $libname.a'
14646 dynamic_linker='OS/2 ld.exe'
14647 shlibpath_var=LIBPATH
14648 ;;
14649
14650 osf3* | osf4* | osf5*)
14651 version_type=osf
14652 need_lib_prefix=no
14653 need_version=no
14654 soname_spec='${libname}${release}${shared_ext}$major'
14655 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14656 shlibpath_var=LD_LIBRARY_PATH
14657 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14658 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14659 ;;
14660
14661 rdos*)
14662 dynamic_linker=no
14663 ;;
14664
14665 solaris*)
14666 version_type=linux
14667 need_lib_prefix=no
14668 need_version=no
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14670 soname_spec='${libname}${release}${shared_ext}$major'
14671 shlibpath_var=LD_LIBRARY_PATH
14672 shlibpath_overrides_runpath=yes
14673 hardcode_into_libs=yes
14674 # ldd complains unless libraries are executable
14675 postinstall_cmds='chmod +x $lib'
14676 ;;
14677
14678 sunos4*)
14679 version_type=sunos
14680 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14681 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14682 shlibpath_var=LD_LIBRARY_PATH
14683 shlibpath_overrides_runpath=yes
14684 if test "$with_gnu_ld" = yes; then
14685 need_lib_prefix=no
14686 fi
14687 need_version=yes
14688 ;;
14689
14690 sysv4 | sysv4.3*)
14691 version_type=linux
14692 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14693 soname_spec='${libname}${release}${shared_ext}$major'
14694 shlibpath_var=LD_LIBRARY_PATH
14695 case $host_vendor in
14696 sni)
14697 shlibpath_overrides_runpath=no
14698 need_lib_prefix=no
14699 runpath_var=LD_RUN_PATH
14700 ;;
14701 siemens)
14702 need_lib_prefix=no
14703 ;;
14704 motorola)
14705 need_lib_prefix=no
14706 need_version=no
14707 shlibpath_overrides_runpath=no
14708 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14709 ;;
14710 esac
14711 ;;
14712
14713 sysv4*MP*)
14714 if test -d /usr/nec ;then
14715 version_type=linux
14716 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14717 soname_spec='$libname${shared_ext}.$major'
14718 shlibpath_var=LD_LIBRARY_PATH
14719 fi
14720 ;;
14721
14722 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14723 version_type=freebsd-elf
14724 need_lib_prefix=no
14725 need_version=no
14726 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14727 soname_spec='${libname}${release}${shared_ext}$major'
14728 shlibpath_var=LD_LIBRARY_PATH
14729 shlibpath_overrides_runpath=yes
14730 hardcode_into_libs=yes
14731 if test "$with_gnu_ld" = yes; then
14732 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14733 else
14734 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14735 case $host_os in
14736 sco3.2v5*)
14737 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14738 ;;
14739 esac
14740 fi
14741 sys_lib_dlsearch_path_spec='/usr/lib'
14742 ;;
14743
14744 tpf*)
14745 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14746 version_type=linux
14747 need_lib_prefix=no
14748 need_version=no
14749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14750 shlibpath_var=LD_LIBRARY_PATH
14751 shlibpath_overrides_runpath=no
14752 hardcode_into_libs=yes
14753 ;;
14754
14755 uts4*)
14756 version_type=linux
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 soname_spec='${libname}${release}${shared_ext}$major'
14759 shlibpath_var=LD_LIBRARY_PATH
14760 ;;
14761
14762 *)
14763 dynamic_linker=no
14764 ;;
14765 esac
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14767 $as_echo "$dynamic_linker" >&6; }
14768 test "$dynamic_linker" = no && can_build_shared=no
14769
14770 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14771 if test "$GCC" = yes; then
14772 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14773 fi
14774
14775 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14776 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14777 fi
14778 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14779 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14780 fi
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14820 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14821 hardcode_action_CXX=
14822 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14823 test -n "$runpath_var_CXX" ||
14824 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14825
14826 # We can hardcode non-existent directories.
14827 if test "$hardcode_direct_CXX" != no &&
14828 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14829 # have to relink, otherwise we might link with an installed library
14830 # when we should be linking with a yet-to-be-installed one
14831 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14832 test "$hardcode_minus_L_CXX" != no; then
14833 # Linking always hardcodes the temporary library directory.
14834 hardcode_action_CXX=relink
14835 else
14836 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14837 hardcode_action_CXX=immediate
14838 fi
14839 else
14840 # We cannot hardcode anything, or else we can only hardcode existing
14841 # directories.
14842 hardcode_action_CXX=unsupported
14843 fi
14844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14845 $as_echo "$hardcode_action_CXX" >&6; }
14846
14847 if test "$hardcode_action_CXX" = relink ||
14848 test "$inherit_rpath_CXX" = yes; then
14849 # Fast installation is not supported
14850 enable_fast_install=no
14851 elif test "$shlibpath_overrides_runpath" = yes ||
14852 test "$enable_shared" = no; then
14853 # Fast installation is not necessary
14854 enable_fast_install=needless
14855 fi
14856
14857
14858
14859
14860
14861
14862
14863 fi # test -n "$compiler"
14864
14865 CC=$lt_save_CC
14866 LDCXX=$LD
14867 LD=$lt_save_LD
14868 GCC=$lt_save_GCC
14869 with_gnu_ld=$lt_save_with_gnu_ld
14870 lt_cv_path_LDCXX=$lt_cv_path_LD
14871 lt_cv_path_LD=$lt_save_path_LD
14872 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14873 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14874 fi # test "$_lt_caught_CXX_error" != yes
14875
14876 ac_ext=c
14877 ac_cpp='$CPP $CPPFLAGS'
14878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894 ac_config_commands="$ac_config_commands libtool"
14895
14896
14897
14898
14899 # Only expand once:
14900
14901
14902
14903
14904
14905 case $host in
14906 *-cygwin* | *-mingw*)
14907 # 'host' will be top-level target in the case of a target lib,
14908 # we must compare to with_cross_host to decide if this is a native
14909 # or cross-compiler and select where to install dlls appropriately.
14910 if test -n "$with_cross_host" &&
14911 test x"$with_cross_host" != x"no"; then
14912 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14913 else
14914 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14915 fi
14916 ;;
14917 *)
14918 lt_host_flags=
14919 ;;
14920 esac
14921
14922
14923
14924
14925
14926
14927 if test "$enable_vtable_verify" = yes; then
14928 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14929 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14930 fi
14931
14932
14933 # libtool variables for C++ shared and position-independent compiles.
14934 #
14935 # Use glibcxx_lt_pic_flag to designate the automake variable
14936 # used to encapsulate the default libtool approach to creating objects
14937 # with position-independent code. Default: -prefer-pic.
14938 #
14939 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14940 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14941 #
14942 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14943 # creating position-independent objects. This varies with the target
14944 # hardware and operating system, but is often: -DPIC -fPIC.
14945 if test "$enable_shared" = yes; then
14946 glibcxx_lt_pic_flag="-prefer-pic"
14947 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14948 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14949
14950 else
14951 glibcxx_lt_pic_flag=
14952 glibcxx_compiler_pic_flag=
14953 glibcxx_compiler_shared_flag=
14954 fi
14955
14956
14957
14958
14959 # Override the libtool's pic_flag and pic_mode.
14960 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14961 # NB: this impacts --with-pic and --without-pic.
14962 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14963 pic_mode='default'
14964
14965 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14966 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14967
14968 # Possibly disable most of the library.
14969 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14970 ## than just ignoring the results. Faster /and/ more correct, win win.
14971
14972 # Check whether --enable-hosted-libstdcxx was given.
14973 if test "${enable_hosted_libstdcxx+set}" = set; then :
14974 enableval=$enable_hosted_libstdcxx;
14975 else
14976 case "$host" in
14977 arm*-*-symbianelf*)
14978 enable_hosted_libstdcxx=no
14979 ;;
14980 *)
14981 enable_hosted_libstdcxx=yes
14982 ;;
14983 esac
14984 fi
14985
14986 if test "$enable_hosted_libstdcxx" = no; then
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14988 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14989 is_hosted=no
14990 hosted_define=0
14991 enable_abi_check=no
14992 enable_libstdcxx_pch=no
14993 else
14994 is_hosted=yes
14995 hosted_define=1
14996 fi
14997
14998
14999 cat >>confdefs.h <<_ACEOF
15000 #define _GLIBCXX_HOSTED $hosted_define
15001 _ACEOF
15002
15003
15004
15005 # Enable descriptive messages to standard output on termination.
15006
15007 # Check whether --enable-libstdcxx-verbose was given.
15008 if test "${enable_libstdcxx_verbose+set}" = set; then :
15009 enableval=$enable_libstdcxx_verbose;
15010 else
15011 enable_libstdcxx_verbose=yes
15012 fi
15013
15014 if test x"$enable_libstdcxx_verbose" = xyes; then
15015 verbose_define=1
15016 else
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15018 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15019 verbose_define=0
15020 fi
15021
15022 cat >>confdefs.h <<_ACEOF
15023 #define _GLIBCXX_VERBOSE $verbose_define
15024 _ACEOF
15025
15026
15027
15028 # Enable compiler support that doesn't require linking.
15029
15030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15031 $as_echo_n "checking for exception model to use... " >&6; }
15032
15033 ac_ext=cpp
15034 ac_cpp='$CXXCPP $CPPFLAGS'
15035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15038
15039 # Check whether --enable-sjlj-exceptions was given.
15040 if test "${enable_sjlj_exceptions+set}" = set; then :
15041 enableval=$enable_sjlj_exceptions;
15042 case "$enableval" in
15043 yes|no|auto) ;;
15044 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15045 esac
15046
15047 else
15048 enable_sjlj_exceptions=auto
15049 fi
15050
15051
15052
15053 if test $enable_sjlj_exceptions = auto; then
15054 # Botheration. Now we've got to detect the exception model. Link tests
15055 # against libgcc.a are problematic since we've not been given proper -L
15056 # bits for single-tree newlib and libgloss.
15057 #
15058 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15059 cat > conftest.$ac_ext << EOF
15060 #line 15060 "configure"
15061 struct S { ~S(); };
15062 void bar();
15063 void foo()
15064 {
15065 S s;
15066 bar();
15067 }
15068 EOF
15069 old_CXXFLAGS="$CXXFLAGS"
15070 CXXFLAGS=-S
15071 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15072 (eval $ac_compile) 2>&5
15073 ac_status=$?
15074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15075 test $ac_status = 0; }; then
15076 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15077 enable_sjlj_exceptions=yes
15078 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15079 enable_sjlj_exceptions=yes
15080 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15081 enable_sjlj_exceptions=no
15082 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15083 enable_sjlj_exceptions=no
15084 fi
15085 fi
15086 CXXFLAGS="$old_CXXFLAGS"
15087 rm -f conftest*
15088 fi
15089
15090 # This is a tad weird, for hysterical raisins. We have to map
15091 # enable/disable to two different models.
15092 case $enable_sjlj_exceptions in
15093 yes)
15094
15095 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15096
15097 ac_exception_model_name=sjlj
15098 ;;
15099 no)
15100 ac_exception_model_name="call frame"
15101 ;;
15102 *)
15103 as_fn_error "unable to detect exception model" "$LINENO" 5
15104 ;;
15105 esac
15106 ac_ext=c
15107 ac_cpp='$CPP $CPPFLAGS'
15108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15111
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15113 $as_echo "$ac_exception_model_name" >&6; }
15114
15115
15116 # Check whether --enable-libstdcxx-pch was given.
15117 if test "${enable_libstdcxx_pch+set}" = set; then :
15118 enableval=$enable_libstdcxx_pch;
15119 case "$enableval" in
15120 yes|no) ;;
15121 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15122 esac
15123
15124 else
15125 enable_libstdcxx_pch=$is_hosted
15126 fi
15127
15128
15129 if test $enable_libstdcxx_pch = yes; then
15130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15131 $as_echo_n "checking for compiler with PCH support... " >&6; }
15132 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15133 $as_echo_n "(cached) " >&6
15134 else
15135 ac_save_CXXFLAGS="$CXXFLAGS"
15136 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15137
15138 ac_ext=cpp
15139 ac_cpp='$CXXCPP $CPPFLAGS'
15140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15143
15144 echo '#include <math.h>' > conftest.h
15145 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15146 -o conftest.h.gch 1>&5 2>&1 &&
15147 echo '#error "pch failed"' > conftest.h &&
15148 echo '#include "conftest.h"' > conftest.cc &&
15149 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15150 then
15151 glibcxx_cv_prog_CXX_pch=yes
15152 else
15153 glibcxx_cv_prog_CXX_pch=no
15154 fi
15155 rm -f conftest*
15156 CXXFLAGS=$ac_save_CXXFLAGS
15157 ac_ext=c
15158 ac_cpp='$CPP $CPPFLAGS'
15159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15162
15163
15164 fi
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15166 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15167 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15168 fi
15169
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15171 $as_echo_n "checking for enabled PCH... " >&6; }
15172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15173 $as_echo "$enable_libstdcxx_pch" >&6; }
15174
15175
15176 if test $enable_libstdcxx_pch = yes; then
15177 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15178 else
15179 glibcxx_PCHFLAGS=""
15180 fi
15181
15182
15183
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15185 $as_echo_n "checking for thread model used by GCC... " >&6; }
15186 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15188 $as_echo "$target_thread_file" >&6; }
15189
15190 case $target_thread_file in
15191 aix) thread_header=config/rs6000/gthr-aix.h ;;
15192 dce) thread_header=config/pa/gthr-dce.h ;;
15193 lynx) thread_header=config/gthr-lynx.h ;;
15194 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15195 posix) thread_header=gthr-posix.h ;;
15196 rtems) thread_header=config/gthr-rtems.h ;;
15197 single) thread_header=gthr-single.h ;;
15198 tpf) thread_header=config/s390/gthr-tpf.h ;;
15199 vxworks) thread_header=config/gthr-vxworks.h ;;
15200 win32) thread_header=config/i386/gthr-win32.h ;;
15201 esac
15202
15203
15204
15205
15206
15207 ac_ext=cpp
15208 ac_cpp='$CXXCPP $CPPFLAGS'
15209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15212
15213 old_CXXFLAGS="$CXXFLAGS"
15214
15215 # Do link tests if possible, instead asm tests, limited to some platforms
15216 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15217 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15218 atomic_builtins_link_tests=no
15219 if test x$gcc_no_link != xyes; then
15220 # Can do link tests. Limit to some tested platforms
15221 case "$host" in
15222 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15223 atomic_builtins_link_tests=yes
15224 ;;
15225 esac
15226 fi
15227
15228 if test x$atomic_builtins_link_tests = xyes; then
15229
15230 # Do link tests.
15231
15232 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15233
15234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15235 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15236 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15237 $as_echo_n "(cached) " >&6
15238 else
15239
15240 if test x$gcc_no_link = xyes; then
15241 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15242 fi
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15245
15246 int
15247 main ()
15248 {
15249 typedef bool atomic_type;
15250 atomic_type c1;
15251 atomic_type c2;
15252 atomic_type c3(0);
15253 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15254 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15255 __ATOMIC_RELAXED);
15256 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15257 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15258
15259 ;
15260 return 0;
15261 }
15262 _ACEOF
15263 if ac_fn_cxx_try_link "$LINENO"; then :
15264 glibcxx_cv_atomic_bool=yes
15265 else
15266 glibcxx_cv_atomic_bool=no
15267 fi
15268 rm -f core conftest.err conftest.$ac_objext \
15269 conftest$ac_exeext conftest.$ac_ext
15270
15271 fi
15272
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15274 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15275
15276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15277 $as_echo_n "checking for atomic builtins for short... " >&6; }
15278 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15281
15282 if test x$gcc_no_link = xyes; then
15283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15284 fi
15285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15286 /* end confdefs.h. */
15287
15288 int
15289 main ()
15290 {
15291 typedef short atomic_type;
15292 atomic_type c1;
15293 atomic_type c2;
15294 atomic_type c3(0);
15295 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15296 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15297 __ATOMIC_RELAXED);
15298 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15299 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15300
15301 ;
15302 return 0;
15303 }
15304 _ACEOF
15305 if ac_fn_cxx_try_link "$LINENO"; then :
15306 glibcxx_cv_atomic_short=yes
15307 else
15308 glibcxx_cv_atomic_short=no
15309 fi
15310 rm -f core conftest.err conftest.$ac_objext \
15311 conftest$ac_exeext conftest.$ac_ext
15312
15313 fi
15314
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15316 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15317
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15319 $as_echo_n "checking for atomic builtins for int... " >&6; }
15320 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15321 $as_echo_n "(cached) " >&6
15322 else
15323
15324 if test x$gcc_no_link = xyes; then
15325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15326 fi
15327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15328 /* end confdefs.h. */
15329
15330 int
15331 main ()
15332 {
15333 typedef int atomic_type;
15334 atomic_type c1;
15335 atomic_type c2;
15336 atomic_type c3(0);
15337 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15338 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15339 __ATOMIC_RELAXED);
15340 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15341 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15342
15343 ;
15344 return 0;
15345 }
15346 _ACEOF
15347 if ac_fn_cxx_try_link "$LINENO"; then :
15348 glibcxx_cv_atomic_int=yes
15349 else
15350 glibcxx_cv_atomic_int=no
15351 fi
15352 rm -f core conftest.err conftest.$ac_objext \
15353 conftest$ac_exeext conftest.$ac_ext
15354
15355 fi
15356
15357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15358 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15359
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15361 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15362 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15363 $as_echo_n "(cached) " >&6
15364 else
15365
15366 if test x$gcc_no_link = xyes; then
15367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15368 fi
15369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15370 /* end confdefs.h. */
15371
15372 int
15373 main ()
15374 {
15375 typedef long long atomic_type;
15376 atomic_type c1;
15377 atomic_type c2;
15378 atomic_type c3(0);
15379 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15380 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15381 __ATOMIC_RELAXED);
15382 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15383 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15384
15385 ;
15386 return 0;
15387 }
15388 _ACEOF
15389 if ac_fn_cxx_try_link "$LINENO"; then :
15390 glibcxx_cv_atomic_long_long=yes
15391 else
15392 glibcxx_cv_atomic_long_long=no
15393 fi
15394 rm -f core conftest.err conftest.$ac_objext \
15395 conftest$ac_exeext conftest.$ac_ext
15396
15397 fi
15398
15399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15400 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15401
15402 else
15403
15404 # Do asm tests.
15405
15406 # Compile unoptimized.
15407 CXXFLAGS='-O0 -S'
15408
15409 # Fake what AC_TRY_COMPILE does.
15410
15411 cat > conftest.$ac_ext << EOF
15412 #line 15412 "configure"
15413 int main()
15414 {
15415 typedef bool atomic_type;
15416 atomic_type c1;
15417 atomic_type c2;
15418 atomic_type c3(0);
15419 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15420 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15421 __ATOMIC_RELAXED);
15422 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15423 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15424
15425 return 0;
15426 }
15427 EOF
15428
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15430 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15432 (eval $ac_compile) 2>&5
15433 ac_status=$?
15434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15435 test $ac_status = 0; }; then
15436 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15437 glibcxx_cv_atomic_bool=no
15438 else
15439 glibcxx_cv_atomic_bool=yes
15440 fi
15441 fi
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15443 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15444 rm -f conftest*
15445
15446 cat > conftest.$ac_ext << EOF
15447 #line 15447 "configure"
15448 int main()
15449 {
15450 typedef short atomic_type;
15451 atomic_type c1;
15452 atomic_type c2;
15453 atomic_type c3(0);
15454 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15455 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15456 __ATOMIC_RELAXED);
15457 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15458 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15459
15460 return 0;
15461 }
15462 EOF
15463
15464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15465 $as_echo_n "checking for atomic builtins for short... " >&6; }
15466 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15467 (eval $ac_compile) 2>&5
15468 ac_status=$?
15469 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15470 test $ac_status = 0; }; then
15471 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15472 glibcxx_cv_atomic_short=no
15473 else
15474 glibcxx_cv_atomic_short=yes
15475 fi
15476 fi
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15478 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15479 rm -f conftest*
15480
15481 cat > conftest.$ac_ext << EOF
15482 #line 15482 "configure"
15483 int main()
15484 {
15485 // NB: _Atomic_word not necessarily int.
15486 typedef int atomic_type;
15487 atomic_type c1;
15488 atomic_type c2;
15489 atomic_type c3(0);
15490 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15491 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15492 __ATOMIC_RELAXED);
15493 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15494 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15495
15496 return 0;
15497 }
15498 EOF
15499
15500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15501 $as_echo_n "checking for atomic builtins for int... " >&6; }
15502 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15503 (eval $ac_compile) 2>&5
15504 ac_status=$?
15505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15506 test $ac_status = 0; }; then
15507 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15508 glibcxx_cv_atomic_int=no
15509 else
15510 glibcxx_cv_atomic_int=yes
15511 fi
15512 fi
15513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15514 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15515 rm -f conftest*
15516
15517 cat > conftest.$ac_ext << EOF
15518 #line 15518 "configure"
15519 int main()
15520 {
15521 typedef long long atomic_type;
15522 atomic_type c1;
15523 atomic_type c2;
15524 atomic_type c3(0);
15525 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15526 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15527 __ATOMIC_RELAXED);
15528 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15529 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15530
15531 return 0;
15532 }
15533 EOF
15534
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15536 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15538 (eval $ac_compile) 2>&5
15539 ac_status=$?
15540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15541 test $ac_status = 0; }; then
15542 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15543 glibcxx_cv_atomic_long_long=no
15544 else
15545 glibcxx_cv_atomic_long_long=yes
15546 fi
15547 fi
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15549 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15550 rm -f conftest*
15551
15552 fi
15553
15554 CXXFLAGS="$old_CXXFLAGS"
15555 ac_ext=c
15556 ac_cpp='$CPP $CPPFLAGS'
15557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15560
15561
15562 # Set atomicity_dir to builtins if all but the long long test above passes.
15563 if test $glibcxx_cv_atomic_bool = yes \
15564 && test $glibcxx_cv_atomic_short = yes \
15565 && test $glibcxx_cv_atomic_int = yes; then
15566
15567 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15568
15569 atomicity_dir=cpu/generic/atomicity_builtins
15570 fi
15571
15572 # If still generic, set to mutex.
15573 if test $atomicity_dir = "cpu/generic" ; then
15574 atomicity_dir=cpu/generic/atomicity_mutex
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15576 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15577 if test "x$target_thread_file" = xsingle; then
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15579 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15581 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15582 else
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15584 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15586 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15587 fi
15588 fi
15589
15590
15591
15592
15593 # Fake what AC_TRY_COMPILE does, without linking as this is
15594 # unnecessary for this test.
15595
15596 cat > conftest.$ac_ext << EOF
15597 #line 15597 "configure"
15598 int main()
15599 {
15600 _Decimal32 d1;
15601 _Decimal64 d2;
15602 _Decimal128 d3;
15603 return 0;
15604 }
15605 EOF
15606
15607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15608 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15610 (eval $ac_compile) 2>&5
15611 ac_status=$?
15612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15613 test $ac_status = 0; }; then
15614
15615 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15616
15617 enable_dfp=yes
15618 else
15619 enable_dfp=no
15620 fi
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15622 $as_echo "$enable_dfp" >&6; }
15623 rm -f conftest*
15624
15625
15626
15627
15628 ac_ext=cpp
15629 ac_cpp='$CXXCPP $CPPFLAGS'
15630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15633
15634
15635 # Fake what AC_TRY_COMPILE does, without linking as this is
15636 # unnecessary for this test.
15637
15638 cat > conftest.$ac_ext << EOF
15639 #line 15639 "configure"
15640 template<typename T1, typename T2>
15641 struct same
15642 { typedef T2 type; };
15643
15644 template<typename T>
15645 struct same<T, T>;
15646
15647 int main()
15648 {
15649 typename same<long, __int128>::type i1;
15650 typename same<long long, __int128>::type i2;
15651 }
15652 EOF
15653
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15655 $as_echo_n "checking for __int128... " >&6; }
15656 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15657 (eval $ac_compile) 2>&5
15658 ac_status=$?
15659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15660 test $ac_status = 0; }; then
15661
15662 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15663
15664 enable_int128=yes
15665 else
15666 enable_int128=no
15667 fi
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15669 $as_echo "$enable_int128" >&6; }
15670 rm -f conftest*
15671
15672 cat > conftest.$ac_ext << EOF
15673 #line 15673 "configure"
15674 template<typename T1, typename T2>
15675 struct same
15676 { typedef T2 type; };
15677
15678 template<typename T>
15679 struct same<T, T>;
15680
15681 int main()
15682 {
15683 typename same<double, __float128>::type f1;
15684 typename same<long double, __float128>::type f2;
15685 }
15686 EOF
15687
15688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15689 $as_echo_n "checking for __float128... " >&6; }
15690 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15691 (eval $ac_compile) 2>&5
15692 ac_status=$?
15693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15694 test $ac_status = 0; }; then
15695
15696 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15697
15698 enable_float128=yes
15699 else
15700 enable_float128=no
15701 fi
15702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15703 $as_echo "$enable_float128" >&6; }
15704 rm -f conftest*
15705
15706 ac_ext=c
15707 ac_cpp='$CPP $CPPFLAGS'
15708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15711
15712
15713
15714 # Checks for compiler support that doesn't require linking.
15715
15716 # All these tests are for C++; save the language and the compiler flags.
15717 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15718 # found in GLIBCXX_CONFIGURE.
15719
15720 ac_ext=cpp
15721 ac_cpp='$CXXCPP $CPPFLAGS'
15722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15725
15726 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15727 ac_save_CXXFLAGS="$CXXFLAGS"
15728
15729 # Check for maintainer-mode bits.
15730 if test x"$USE_MAINTAINER_MODE" = xno; then
15731 WERROR=''
15732 else
15733 WERROR='-Werror'
15734 fi
15735
15736 # Check for -ffunction-sections -fdata-sections
15737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15738 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15739 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15742 int foo; void bar() { };
15743 int
15744 main ()
15745 {
15746
15747 ;
15748 return 0;
15749 }
15750 _ACEOF
15751 if ac_fn_cxx_try_compile "$LINENO"; then :
15752 ac_fdsections=yes
15753 else
15754 ac_fdsections=no
15755 fi
15756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15757 if test "$ac_test_CXXFLAGS" = set; then
15758 CXXFLAGS="$ac_save_CXXFLAGS"
15759 else
15760 # this is the suspicious part
15761 CXXFLAGS=''
15762 fi
15763 if test x"$ac_fdsections" = x"yes"; then
15764 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15765 fi
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15767 $as_echo "$ac_fdsections" >&6; }
15768
15769 ac_ext=c
15770 ac_cpp='$CPP $CPPFLAGS'
15771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774
15775
15776
15777
15778
15779 # Enable all the variable C++ runtime options that don't require linking.
15780
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15782 $as_echo_n "checking for underlying I/O to use... " >&6; }
15783 # Check whether --enable-cstdio was given.
15784 if test "${enable_cstdio+set}" = set; then :
15785 enableval=$enable_cstdio;
15786 case "$enableval" in
15787 stdio) ;;
15788 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15789 esac
15790
15791 else
15792 enable_cstdio=stdio
15793 fi
15794
15795
15796
15797 # Now that libio has been removed, you can have any color you want as long
15798 # as it's black. This is one big no-op until other packages are added, but
15799 # showing the framework never hurts.
15800 case ${enable_cstdio} in
15801 stdio)
15802 CSTDIO_H=config/io/c_io_stdio.h
15803 BASIC_FILE_H=config/io/basic_file_stdio.h
15804 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15806 $as_echo "stdio" >&6; }
15807 ;;
15808 esac
15809
15810
15811
15812
15813
15814
15815 # Check whether --enable-clocale was given.
15816 if test "${enable_clocale+set}" = set; then :
15817 enableval=$enable_clocale;
15818 case "$enableval" in
15819 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15820 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15821 esac
15822
15823 else
15824 enable_clocale=auto
15825 fi
15826
15827
15828
15829 # Deal with gettext issues. Default to not using it (=no) until we detect
15830 # support for it later. Let the user turn it off via --e/d, but let that
15831 # default to on for easier handling.
15832 USE_NLS=no
15833 # Check whether --enable-nls was given.
15834 if test "${enable_nls+set}" = set; then :
15835 enableval=$enable_nls;
15836 else
15837 enable_nls=yes
15838 fi
15839
15840
15841 # Either a known package, or "auto"
15842 if test $enable_clocale = no || test $enable_clocale = yes; then
15843 enable_clocale=auto
15844 fi
15845 enable_clocale_flag=$enable_clocale
15846
15847 # Probe for locale model to use if none specified.
15848 # Default to "generic".
15849 if test $enable_clocale_flag = auto; then
15850 case ${target_os} in
15851 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15852 enable_clocale_flag=gnu
15853 ;;
15854 darwin* | freebsd*)
15855 enable_clocale_flag=darwin
15856 ;;
15857 dragonfly*)
15858 enable_clocale_flag=dragonfly
15859 ;;
15860 openbsd*)
15861 enable_clocale_flag=newlib
15862 ;;
15863 *)
15864 if test x"$with_newlib" = x"yes"; then
15865 enable_clocale_flag=newlib
15866 else
15867 enable_clocale_flag=generic
15868 fi
15869 ;;
15870 esac
15871 fi
15872
15873 # Sanity check model, and test for special functionality.
15874 if test $enable_clocale_flag = gnu; then
15875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15876 /* end confdefs.h. */
15877
15878 #include <features.h>
15879 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15880 _GLIBCXX_ok
15881 #endif
15882
15883 _ACEOF
15884 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15885 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15886 enable_clocale_flag=gnu
15887 else
15888 enable_clocale_flag=generic
15889 fi
15890 rm -f conftest*
15891
15892
15893 # Set it to scream when it hurts.
15894 ac_save_CFLAGS="$CFLAGS"
15895 CFLAGS="-Wimplicit-function-declaration -Werror"
15896
15897 # Use strxfrm_l if available.
15898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899 /* end confdefs.h. */
15900 #define _GNU_SOURCE 1
15901 #include <string.h>
15902 #include <locale.h>
15903 int
15904 main ()
15905 {
15906 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15907 ;
15908 return 0;
15909 }
15910 _ACEOF
15911 if ac_fn_c_try_compile "$LINENO"; then :
15912
15913 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15914
15915 fi
15916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15917
15918 # Use strerror_l if available.
15919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15920 /* end confdefs.h. */
15921 #define _GNU_SOURCE 1
15922 #include <string.h>
15923 #include <locale.h>
15924 int
15925 main ()
15926 {
15927 __locale_t loc; strerror_l(5, loc);
15928 ;
15929 return 0;
15930 }
15931 _ACEOF
15932 if ac_fn_c_try_compile "$LINENO"; then :
15933
15934 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15935
15936 fi
15937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15938
15939 CFLAGS="$ac_save_CFLAGS"
15940 fi
15941
15942 # Perhaps use strerror_r if available, and strerror_l isn't.
15943 ac_save_CFLAGS="$CFLAGS"
15944 CFLAGS="-Wimplicit-function-declaration -Werror"
15945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15946 /* end confdefs.h. */
15947 #define _GNU_SOURCE 1
15948 #include <string.h>
15949 #include <locale.h>
15950 int
15951 main ()
15952 {
15953 char s[128]; strerror_r(5, s, 128);
15954 ;
15955 return 0;
15956 }
15957 _ACEOF
15958 if ac_fn_c_try_compile "$LINENO"; then :
15959
15960 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15961
15962 fi
15963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15964 CFLAGS="$ac_save_CFLAGS"
15965
15966 # Set configure bits for specified locale package
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15968 $as_echo_n "checking for C locale to use... " >&6; }
15969 case ${enable_clocale_flag} in
15970 generic)
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15972 $as_echo "generic" >&6; }
15973
15974 CLOCALE_H=config/locale/generic/c_locale.h
15975 CLOCALE_CC=config/locale/generic/c_locale.cc
15976 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15977 CCOLLATE_CC=config/locale/generic/collate_members.cc
15978 CCTYPE_CC=config/locale/generic/ctype_members.cc
15979 CMESSAGES_H=config/locale/generic/messages_members.h
15980 CMESSAGES_CC=config/locale/generic/messages_members.cc
15981 CMONEY_CC=config/locale/generic/monetary_members.cc
15982 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15983 CTIME_H=config/locale/generic/time_members.h
15984 CTIME_CC=config/locale/generic/time_members.cc
15985 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15986 ;;
15987 darwin)
15988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15989 $as_echo "darwin or freebsd" >&6; }
15990
15991 CLOCALE_H=config/locale/generic/c_locale.h
15992 CLOCALE_CC=config/locale/generic/c_locale.cc
15993 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15994 CCOLLATE_CC=config/locale/generic/collate_members.cc
15995 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15996 CMESSAGES_H=config/locale/generic/messages_members.h
15997 CMESSAGES_CC=config/locale/generic/messages_members.cc
15998 CMONEY_CC=config/locale/generic/monetary_members.cc
15999 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16000 CTIME_H=config/locale/generic/time_members.h
16001 CTIME_CC=config/locale/generic/time_members.cc
16002 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16003 ;;
16004
16005 dragonfly)
16006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16007 $as_echo "dragonfly" >&6; }
16008
16009 CLOCALE_H=config/locale/generic/c_locale.h
16010 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16011 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16012 CCOLLATE_CC=config/locale/generic/collate_members.cc
16013 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16014 CMESSAGES_H=config/locale/generic/messages_members.h
16015 CMESSAGES_CC=config/locale/generic/messages_members.cc
16016 CMONEY_CC=config/locale/generic/monetary_members.cc
16017 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16018 CTIME_H=config/locale/generic/time_members.h
16019 CTIME_CC=config/locale/generic/time_members.cc
16020 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16021 ;;
16022
16023 gnu)
16024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16025 $as_echo "gnu" >&6; }
16026
16027 # Declare intention to use gettext, and add support for specific
16028 # languages.
16029 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16030 ALL_LINGUAS="de fr"
16031
16032 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16033 # Extract the first word of "msgfmt", so it can be a program name with args.
16034 set dummy msgfmt; ac_word=$2
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16036 $as_echo_n "checking for $ac_word... " >&6; }
16037 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16038 $as_echo_n "(cached) " >&6
16039 else
16040 if test -n "$check_msgfmt"; then
16041 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16042 else
16043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16044 for as_dir in $PATH
16045 do
16046 IFS=$as_save_IFS
16047 test -z "$as_dir" && as_dir=.
16048 for ac_exec_ext in '' $ac_executable_extensions; do
16049 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16050 ac_cv_prog_check_msgfmt="yes"
16051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16052 break 2
16053 fi
16054 done
16055 done
16056 IFS=$as_save_IFS
16057
16058 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16059 fi
16060 fi
16061 check_msgfmt=$ac_cv_prog_check_msgfmt
16062 if test -n "$check_msgfmt"; then
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16064 $as_echo "$check_msgfmt" >&6; }
16065 else
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16067 $as_echo "no" >&6; }
16068 fi
16069
16070
16071 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16072 USE_NLS=yes
16073 fi
16074 # Export the build objects.
16075 for ling in $ALL_LINGUAS; do \
16076 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16077 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16078 done
16079
16080
16081
16082 CLOCALE_H=config/locale/gnu/c_locale.h
16083 CLOCALE_CC=config/locale/gnu/c_locale.cc
16084 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16085 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16086 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16087 CMESSAGES_H=config/locale/gnu/messages_members.h
16088 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16089 CMONEY_CC=config/locale/gnu/monetary_members.cc
16090 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16091 CTIME_H=config/locale/gnu/time_members.h
16092 CTIME_CC=config/locale/gnu/time_members.cc
16093 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16094 ;;
16095 ieee_1003.1-2001)
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16097 $as_echo "IEEE 1003.1" >&6; }
16098
16099 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16100 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16101 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16102 CCOLLATE_CC=config/locale/generic/collate_members.cc
16103 CCTYPE_CC=config/locale/generic/ctype_members.cc
16104 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16105 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16106 CMONEY_CC=config/locale/generic/monetary_members.cc
16107 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16108 CTIME_H=config/locale/generic/time_members.h
16109 CTIME_CC=config/locale/generic/time_members.cc
16110 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16111 ;;
16112 newlib)
16113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16114 $as_echo "newlib" >&6; }
16115
16116 CLOCALE_H=config/locale/generic/c_locale.h
16117 CLOCALE_CC=config/locale/generic/c_locale.cc
16118 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16119 CCOLLATE_CC=config/locale/generic/collate_members.cc
16120 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16121 CMESSAGES_H=config/locale/generic/messages_members.h
16122 CMESSAGES_CC=config/locale/generic/messages_members.cc
16123 CMONEY_CC=config/locale/generic/monetary_members.cc
16124 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16125 CTIME_H=config/locale/generic/time_members.h
16126 CTIME_CC=config/locale/generic/time_members.cc
16127 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16128 ;;
16129 esac
16130
16131 # This is where the testsuite looks for locale catalogs, using the
16132 # -DLOCALEDIR define during testsuite compilation.
16133 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16134
16135
16136 # A standalone libintl (e.g., GNU libintl) may be in use.
16137 if test $USE_NLS = yes; then
16138 for ac_header in libintl.h
16139 do :
16140 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16141 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_LIBINTL_H 1
16144 _ACEOF
16145
16146 else
16147 USE_NLS=no
16148 fi
16149
16150 done
16151
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16153 $as_echo_n "checking for library containing gettext... " >&6; }
16154 if test "${ac_cv_search_gettext+set}" = set; then :
16155 $as_echo_n "(cached) " >&6
16156 else
16157 ac_func_search_save_LIBS=$LIBS
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16160
16161 /* Override any GCC internal prototype to avoid an error.
16162 Use char because int might match the return type of a GCC
16163 builtin and then its argument prototype would still apply. */
16164 #ifdef __cplusplus
16165 extern "C"
16166 #endif
16167 char gettext ();
16168 int
16169 main ()
16170 {
16171 return gettext ();
16172 ;
16173 return 0;
16174 }
16175 _ACEOF
16176 for ac_lib in '' intl; do
16177 if test -z "$ac_lib"; then
16178 ac_res="none required"
16179 else
16180 ac_res=-l$ac_lib
16181 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16182 fi
16183 if test x$gcc_no_link = xyes; then
16184 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16185 fi
16186 if ac_fn_c_try_link "$LINENO"; then :
16187 ac_cv_search_gettext=$ac_res
16188 fi
16189 rm -f core conftest.err conftest.$ac_objext \
16190 conftest$ac_exeext
16191 if test "${ac_cv_search_gettext+set}" = set; then :
16192 break
16193 fi
16194 done
16195 if test "${ac_cv_search_gettext+set}" = set; then :
16196
16197 else
16198 ac_cv_search_gettext=no
16199 fi
16200 rm conftest.$ac_ext
16201 LIBS=$ac_func_search_save_LIBS
16202 fi
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16204 $as_echo "$ac_cv_search_gettext" >&6; }
16205 ac_res=$ac_cv_search_gettext
16206 if test "$ac_res" != no; then :
16207 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16208
16209 else
16210 USE_NLS=no
16211 fi
16212
16213 fi
16214 if test $USE_NLS = yes; then
16215
16216 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16217
16218 fi
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16236 $as_echo_n "checking for std::allocator base class... " >&6; }
16237 # Check whether --enable-libstdcxx-allocator was given.
16238 if test "${enable_libstdcxx_allocator+set}" = set; then :
16239 enableval=$enable_libstdcxx_allocator;
16240 case "$enableval" in
16241 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16242 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16243 esac
16244
16245 else
16246 enable_libstdcxx_allocator=auto
16247 fi
16248
16249
16250
16251 # If they didn't use this option switch, or if they specified --enable
16252 # with no specific model, we'll have to look for one. If they
16253 # specified --disable (???), do likewise.
16254 if test $enable_libstdcxx_allocator = no ||
16255 test $enable_libstdcxx_allocator = yes;
16256 then
16257 enable_libstdcxx_allocator=auto
16258 fi
16259
16260 # Either a known package, or "auto". Auto implies the default choice
16261 # for a particular platform.
16262 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16263
16264 # Probe for host-specific support if no specific model is specified.
16265 # Default to "new".
16266 if test $enable_libstdcxx_allocator_flag = auto; then
16267 case ${target_os} in
16268 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16269 enable_libstdcxx_allocator_flag=new
16270 ;;
16271 *)
16272 enable_libstdcxx_allocator_flag=new
16273 ;;
16274 esac
16275 fi
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16277 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16278
16279
16280 # Set configure bits for specified locale package
16281 case ${enable_libstdcxx_allocator_flag} in
16282 bitmap)
16283 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16284 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16285 ;;
16286 malloc)
16287 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16288 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16289 ;;
16290 mt)
16291 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16292 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16293 ;;
16294 new)
16295 ALLOCATOR_H=config/allocator/new_allocator_base.h
16296 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16297 ;;
16298 pool)
16299 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16300 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16301 ;;
16302 esac
16303
16304
16305
16306
16307
16308 # Check whether --enable-cheaders was given.
16309 if test "${enable_cheaders+set}" = set; then :
16310 enableval=$enable_cheaders;
16311 case "$enableval" in
16312 c|c_std|c_global) ;;
16313 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16314 esac
16315
16316 else
16317 enable_cheaders=$c_model
16318 fi
16319
16320
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16322 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16323
16324 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16325
16326 # Allow overrides to configure.host here.
16327 if test $enable_cheaders = c_global; then
16328 c_compatibility=yes
16329 fi
16330
16331
16332
16333
16334
16335
16336
16337 # Check whether --enable-long-long was given.
16338 if test "${enable_long_long+set}" = set; then :
16339 enableval=$enable_long_long;
16340 case "$enableval" in
16341 yes|no) ;;
16342 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16343 esac
16344
16345 else
16346 enable_long_long=yes
16347 fi
16348
16349
16350 if test $enable_long_long = yes; then
16351
16352 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16353
16354 fi
16355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16356 $as_echo_n "checking for enabled long long specializations... " >&6; }
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16358 $as_echo "$enable_long_long" >&6; }
16359
16360
16361 # Check whether --enable-wchar_t was given.
16362 if test "${enable_wchar_t+set}" = set; then :
16363 enableval=$enable_wchar_t;
16364 case "$enableval" in
16365 yes|no) ;;
16366 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16367 esac
16368
16369 else
16370 enable_wchar_t=yes
16371 fi
16372
16373
16374
16375 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16376 for ac_header in wchar.h
16377 do :
16378 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16379 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16380 cat >>confdefs.h <<_ACEOF
16381 #define HAVE_WCHAR_H 1
16382 _ACEOF
16383 ac_has_wchar_h=yes
16384 else
16385 ac_has_wchar_h=no
16386 fi
16387
16388 done
16389
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16391 $as_echo_n "checking for mbstate_t... " >&6; }
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16394 #include <wchar.h>
16395 int
16396 main ()
16397 {
16398 mbstate_t teststate;
16399 ;
16400 return 0;
16401 }
16402 _ACEOF
16403 if ac_fn_c_try_compile "$LINENO"; then :
16404 have_mbstate_t=yes
16405 else
16406 have_mbstate_t=no
16407 fi
16408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16410 $as_echo "$have_mbstate_t" >&6; }
16411 if test x"$have_mbstate_t" = xyes; then
16412
16413 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16414
16415 fi
16416
16417 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16418 # ac_has_wchar_h.
16419 for ac_header in wctype.h
16420 do :
16421 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16422 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16423 cat >>confdefs.h <<_ACEOF
16424 #define HAVE_WCTYPE_H 1
16425 _ACEOF
16426 ac_has_wctype_h=yes
16427 else
16428 ac_has_wctype_h=no
16429 fi
16430
16431 done
16432
16433
16434 if test x"$enable_wchar_t" = x"yes"; then
16435
16436
16437 ac_ext=cpp
16438 ac_cpp='$CXXCPP $CPPFLAGS'
16439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16442
16443
16444 if test x"$ac_has_wchar_h" = xyes &&
16445 test x"$ac_has_wctype_h" = xyes; then
16446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16447 /* end confdefs.h. */
16448 #include <wchar.h>
16449 #include <stddef.h>
16450 wint_t i;
16451 long l = WEOF;
16452 long j = WCHAR_MIN;
16453 long k = WCHAR_MAX;
16454 namespace test
16455 {
16456 using ::btowc;
16457 using ::fgetwc;
16458 using ::fgetws;
16459 using ::fputwc;
16460 using ::fputws;
16461 using ::fwide;
16462 using ::fwprintf;
16463 using ::fwscanf;
16464 using ::getwc;
16465 using ::getwchar;
16466 using ::mbrlen;
16467 using ::mbrtowc;
16468 using ::mbsinit;
16469 using ::mbsrtowcs;
16470 using ::putwc;
16471 using ::putwchar;
16472 using ::swprintf;
16473 using ::swscanf;
16474 using ::ungetwc;
16475 using ::vfwprintf;
16476 using ::vswprintf;
16477 using ::vwprintf;
16478 using ::wcrtomb;
16479 using ::wcscat;
16480 using ::wcschr;
16481 using ::wcscmp;
16482 using ::wcscoll;
16483 using ::wcscpy;
16484 using ::wcscspn;
16485 using ::wcsftime;
16486 using ::wcslen;
16487 using ::wcsncat;
16488 using ::wcsncmp;
16489 using ::wcsncpy;
16490 using ::wcspbrk;
16491 using ::wcsrchr;
16492 using ::wcsrtombs;
16493 using ::wcsspn;
16494 using ::wcsstr;
16495 using ::wcstod;
16496 using ::wcstok;
16497 using ::wcstol;
16498 using ::wcstoul;
16499 using ::wcsxfrm;
16500 using ::wctob;
16501 using ::wmemchr;
16502 using ::wmemcmp;
16503 using ::wmemcpy;
16504 using ::wmemmove;
16505 using ::wmemset;
16506 using ::wprintf;
16507 using ::wscanf;
16508 }
16509
16510 int
16511 main ()
16512 {
16513
16514 ;
16515 return 0;
16516 }
16517 _ACEOF
16518 if ac_fn_cxx_try_compile "$LINENO"; then :
16519
16520 else
16521 enable_wchar_t=no
16522 fi
16523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16524 else
16525 enable_wchar_t=no
16526 fi
16527
16528 ac_ext=c
16529 ac_cpp='$CPP $CPPFLAGS'
16530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16533
16534 fi
16535
16536 if test x"$enable_wchar_t" = x"yes"; then
16537
16538 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16539
16540 fi
16541
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16543 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16545 $as_echo "$enable_wchar_t" >&6; }
16546
16547
16548
16549 # Check whether --enable-c99 was given.
16550 if test "${enable_c99+set}" = set; then :
16551 enableval=$enable_c99;
16552 case "$enableval" in
16553 yes|no) ;;
16554 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16555 esac
16556
16557 else
16558 enable_c99=yes
16559 fi
16560
16561
16562
16563 if test x"$enable_c99" = x"yes"; then
16564
16565
16566 ac_ext=cpp
16567 ac_cpp='$CXXCPP $CPPFLAGS'
16568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16571
16572
16573 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16574 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16575 # spuriously enabled.
16576 # Long term, -std=c++0x could be even better, could manage to explicitly
16577 # request C99 facilities to the underlying C headers.
16578 ac_save_CXXFLAGS="$CXXFLAGS"
16579 CXXFLAGS="$CXXFLAGS -std=c++98"
16580 ac_save_LIBS="$LIBS"
16581 ac_save_gcc_no_link="$gcc_no_link"
16582
16583 if test x$gcc_no_link != xyes; then
16584 # Use -fno-exceptions to that the C driver can link these tests without
16585 # hitting undefined references to personality routines.
16586 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16588 $as_echo_n "checking for sin in -lm... " >&6; }
16589 if test "${ac_cv_lib_m_sin+set}" = set; then :
16590 $as_echo_n "(cached) " >&6
16591 else
16592 ac_check_lib_save_LIBS=$LIBS
16593 LIBS="-lm $LIBS"
16594 if test x$gcc_no_link = xyes; then
16595 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16596 fi
16597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16598 /* end confdefs.h. */
16599
16600 /* Override any GCC internal prototype to avoid an error.
16601 Use char because int might match the return type of a GCC
16602 builtin and then its argument prototype would still apply. */
16603 #ifdef __cplusplus
16604 extern "C"
16605 #endif
16606 char sin ();
16607 int
16608 main ()
16609 {
16610 return sin ();
16611 ;
16612 return 0;
16613 }
16614 _ACEOF
16615 if ac_fn_cxx_try_link "$LINENO"; then :
16616 ac_cv_lib_m_sin=yes
16617 else
16618 ac_cv_lib_m_sin=no
16619 fi
16620 rm -f core conftest.err conftest.$ac_objext \
16621 conftest$ac_exeext conftest.$ac_ext
16622 LIBS=$ac_check_lib_save_LIBS
16623 fi
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16625 $as_echo "$ac_cv_lib_m_sin" >&6; }
16626 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16627
16628 LIBS="$LIBS -lm"
16629
16630 else
16631
16632 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16633 gcc_no_link=yes
16634
16635 fi
16636
16637 fi
16638
16639 # Check for the existence of <math.h> functions used if C99 is enabled.
16640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16641 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16642 if test "${glibcxx_cv_c99_math+set}" = set; then :
16643 $as_echo_n "(cached) " >&6
16644 else
16645
16646 if test x$gcc_no_link = xyes; then
16647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16648 /* end confdefs.h. */
16649 #include <math.h>
16650 volatile double d1, d2;
16651 volatile int i;
16652 int
16653 main ()
16654 {
16655 i = fpclassify(d1);
16656 i = isfinite(d1);
16657 i = isinf(d1);
16658 i = isnan(d1);
16659 i = isnormal(d1);
16660 i = signbit(d1);
16661 i = isgreater(d1, d2);
16662 i = isgreaterequal(d1, d2);
16663 i = isless(d1, d2);
16664 i = islessequal(d1, d2);
16665 i = islessgreater(d1, d2);
16666 i = islessgreater(d1, d2);
16667 i = isunordered(d1, d2);
16668
16669 ;
16670 return 0;
16671 }
16672 _ACEOF
16673 if ac_fn_cxx_try_compile "$LINENO"; then :
16674 glibcxx_cv_c99_math=yes
16675 else
16676 glibcxx_cv_c99_math=no
16677 fi
16678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16679 else
16680 if test x$gcc_no_link = xyes; then
16681 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16682 fi
16683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16684 /* end confdefs.h. */
16685 #include <math.h>
16686 volatile double d1, d2;
16687 volatile int i;
16688 int
16689 main ()
16690 {
16691 i = fpclassify(d1);
16692 i = isfinite(d1);
16693 i = isinf(d1);
16694 i = isnan(d1);
16695 i = isnormal(d1);
16696 i = signbit(d1);
16697 i = isgreater(d1, d2);
16698 i = isgreaterequal(d1, d2);
16699 i = isless(d1, d2);
16700 i = islessequal(d1, d2);
16701 i = islessgreater(d1, d2);
16702 i = islessgreater(d1, d2);
16703 i = isunordered(d1, d2);
16704
16705 ;
16706 return 0;
16707 }
16708 _ACEOF
16709 if ac_fn_cxx_try_link "$LINENO"; then :
16710 glibcxx_cv_c99_math=yes
16711 else
16712 glibcxx_cv_c99_math=no
16713 fi
16714 rm -f core conftest.err conftest.$ac_objext \
16715 conftest$ac_exeext conftest.$ac_ext
16716 fi
16717
16718 fi
16719
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16721 $as_echo "$glibcxx_cv_c99_math" >&6; }
16722 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16723
16724 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16725
16726 fi
16727
16728 # Check for the existence of <complex.h> complex math functions.
16729 # This is necessary even though libstdc++ uses the builtin versions
16730 # of these functions, because if the builtin cannot be used, a reference
16731 # to the library function is emitted.
16732 for ac_header in tgmath.h
16733 do :
16734 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16735 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16736 cat >>confdefs.h <<_ACEOF
16737 #define HAVE_TGMATH_H 1
16738 _ACEOF
16739 ac_has_tgmath_h=yes
16740 else
16741 ac_has_tgmath_h=no
16742 fi
16743
16744 done
16745
16746 for ac_header in complex.h
16747 do :
16748 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16749 if test "x$ac_cv_header_complex_h" = x""yes; then :
16750 cat >>confdefs.h <<_ACEOF
16751 #define HAVE_COMPLEX_H 1
16752 _ACEOF
16753 ac_has_complex_h=yes
16754 else
16755 ac_has_complex_h=no
16756 fi
16757
16758 done
16759
16760 glibcxx_cv_c99_complex=no;
16761 if test x"$ac_has_complex_h" = x"yes"; then
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16763 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16764 if test x$gcc_no_link = xyes; then
16765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16766 /* end confdefs.h. */
16767 #include <complex.h>
16768 typedef __complex__ float float_type;
16769 typedef __complex__ double double_type;
16770 typedef __complex__ long double ld_type;
16771 volatile float_type tmpf;
16772 volatile double_type tmpd;
16773 volatile ld_type tmpld;
16774 volatile float f;
16775 volatile double d;
16776 volatile long double ld;
16777 int
16778 main ()
16779 {
16780 f = cabsf(tmpf);
16781 f = cargf(tmpf);
16782 tmpf = ccosf(tmpf);
16783 tmpf = ccoshf(tmpf);
16784 tmpf = cexpf(tmpf);
16785 tmpf = clogf(tmpf);
16786 tmpf = csinf(tmpf);
16787 tmpf = csinhf(tmpf);
16788 tmpf = csqrtf(tmpf);
16789 tmpf = ctanf(tmpf);
16790 tmpf = ctanhf(tmpf);
16791 tmpf = cpowf(tmpf, tmpf);
16792 tmpf = cprojf(tmpf);
16793 d = cabs(tmpd);
16794 d = carg(tmpd);
16795 tmpd = ccos(tmpd);
16796 tmpd = ccosh(tmpd);
16797 tmpd = cexp(tmpd);
16798 tmpd = clog(tmpd);
16799 tmpd = csin(tmpd);
16800 tmpd = csinh(tmpd);
16801 tmpd = csqrt(tmpd);
16802 tmpd = ctan(tmpd);
16803 tmpd = ctanh(tmpd);
16804 tmpd = cpow(tmpd, tmpd);
16805 tmpd = cproj(tmpd);
16806 ld = cabsl(tmpld);
16807 ld = cargl(tmpld);
16808 tmpld = ccosl(tmpld);
16809 tmpld = ccoshl(tmpld);
16810 tmpld = cexpl(tmpld);
16811 tmpld = clogl(tmpld);
16812 tmpld = csinl(tmpld);
16813 tmpld = csinhl(tmpld);
16814 tmpld = csqrtl(tmpld);
16815 tmpld = ctanl(tmpld);
16816 tmpld = ctanhl(tmpld);
16817 tmpld = cpowl(tmpld, tmpld);
16818 tmpld = cprojl(tmpld);
16819
16820 ;
16821 return 0;
16822 }
16823 _ACEOF
16824 if ac_fn_cxx_try_compile "$LINENO"; then :
16825 glibcxx_cv_c99_complex=yes
16826 else
16827 glibcxx_cv_c99_complex=no
16828 fi
16829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16830 else
16831 if test x$gcc_no_link = xyes; then
16832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16833 fi
16834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16836 #include <complex.h>
16837 typedef __complex__ float float_type;
16838 typedef __complex__ double double_type;
16839 typedef __complex__ long double ld_type;
16840 volatile float_type tmpf;
16841 volatile double_type tmpd;
16842 volatile ld_type tmpld;
16843 volatile float f;
16844 volatile double d;
16845 volatile long double ld;
16846 int
16847 main ()
16848 {
16849 f = cabsf(tmpf);
16850 f = cargf(tmpf);
16851 tmpf = ccosf(tmpf);
16852 tmpf = ccoshf(tmpf);
16853 tmpf = cexpf(tmpf);
16854 tmpf = clogf(tmpf);
16855 tmpf = csinf(tmpf);
16856 tmpf = csinhf(tmpf);
16857 tmpf = csqrtf(tmpf);
16858 tmpf = ctanf(tmpf);
16859 tmpf = ctanhf(tmpf);
16860 tmpf = cpowf(tmpf, tmpf);
16861 tmpf = cprojf(tmpf);
16862 d = cabs(tmpd);
16863 d = carg(tmpd);
16864 tmpd = ccos(tmpd);
16865 tmpd = ccosh(tmpd);
16866 tmpd = cexp(tmpd);
16867 tmpd = clog(tmpd);
16868 tmpd = csin(tmpd);
16869 tmpd = csinh(tmpd);
16870 tmpd = csqrt(tmpd);
16871 tmpd = ctan(tmpd);
16872 tmpd = ctanh(tmpd);
16873 tmpd = cpow(tmpd, tmpd);
16874 tmpd = cproj(tmpd);
16875 ld = cabsl(tmpld);
16876 ld = cargl(tmpld);
16877 tmpld = ccosl(tmpld);
16878 tmpld = ccoshl(tmpld);
16879 tmpld = cexpl(tmpld);
16880 tmpld = clogl(tmpld);
16881 tmpld = csinl(tmpld);
16882 tmpld = csinhl(tmpld);
16883 tmpld = csqrtl(tmpld);
16884 tmpld = ctanl(tmpld);
16885 tmpld = ctanhl(tmpld);
16886 tmpld = cpowl(tmpld, tmpld);
16887 tmpld = cprojl(tmpld);
16888
16889 ;
16890 return 0;
16891 }
16892 _ACEOF
16893 if ac_fn_cxx_try_link "$LINENO"; then :
16894 glibcxx_cv_c99_complex=yes
16895 else
16896 glibcxx_cv_c99_complex=no
16897 fi
16898 rm -f core conftest.err conftest.$ac_objext \
16899 conftest$ac_exeext conftest.$ac_ext
16900 fi
16901 fi
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16903 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16904 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16905
16906 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16907
16908 fi
16909
16910 # Check for the existence in <stdio.h> of vscanf, et. al.
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16912 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16913 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16914 $as_echo_n "(cached) " >&6
16915 else
16916
16917 if test x$gcc_no_link = xyes; then
16918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16919 /* end confdefs.h. */
16920 #include <stdio.h>
16921 #include <stdarg.h>
16922 void foo(char* fmt, ...)
16923 {
16924 va_list args; va_start(args, fmt);
16925 vfscanf(stderr, "%i", args);
16926 vscanf("%i", args);
16927 vsnprintf(fmt, 0, "%i", args);
16928 vsscanf(fmt, "%i", args);
16929 snprintf(fmt, 0, "%i");
16930 }
16931 int
16932 main ()
16933 {
16934
16935 ;
16936 return 0;
16937 }
16938 _ACEOF
16939 if ac_fn_cxx_try_compile "$LINENO"; then :
16940 glibcxx_cv_c99_stdio=yes
16941 else
16942 glibcxx_cv_c99_stdio=no
16943 fi
16944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16945 else
16946 if test x$gcc_no_link = xyes; then
16947 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16948 fi
16949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950 /* end confdefs.h. */
16951 #include <stdio.h>
16952 #include <stdarg.h>
16953 void foo(char* fmt, ...)
16954 {
16955 va_list args; va_start(args, fmt);
16956 vfscanf(stderr, "%i", args);
16957 vscanf("%i", args);
16958 vsnprintf(fmt, 0, "%i", args);
16959 vsscanf(fmt, "%i", args);
16960 snprintf(fmt, 0, "%i");
16961 }
16962 int
16963 main ()
16964 {
16965
16966 ;
16967 return 0;
16968 }
16969 _ACEOF
16970 if ac_fn_cxx_try_link "$LINENO"; then :
16971 glibcxx_cv_c99_stdio=yes
16972 else
16973 glibcxx_cv_c99_stdio=no
16974 fi
16975 rm -f core conftest.err conftest.$ac_objext \
16976 conftest$ac_exeext conftest.$ac_ext
16977 fi
16978
16979 fi
16980
16981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16982 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16983
16984 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16986 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16987 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16988 $as_echo_n "(cached) " >&6
16989 else
16990
16991 if test x$gcc_no_link = xyes; then
16992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16993 /* end confdefs.h. */
16994 #include <stdlib.h>
16995 volatile float f;
16996 volatile long double ld;
16997 volatile unsigned long long ll;
16998 lldiv_t mydivt;
16999 int
17000 main ()
17001 {
17002 char* tmp;
17003 f = strtof("gnu", &tmp);
17004 ld = strtold("gnu", &tmp);
17005 ll = strtoll("gnu", &tmp, 10);
17006 ll = strtoull("gnu", &tmp, 10);
17007 ll = llabs(10);
17008 mydivt = lldiv(10,1);
17009 ll = mydivt.quot;
17010 ll = mydivt.rem;
17011 ll = atoll("10");
17012 _Exit(0);
17013
17014 ;
17015 return 0;
17016 }
17017 _ACEOF
17018 if ac_fn_cxx_try_compile "$LINENO"; then :
17019 glibcxx_cv_c99_stdlib=yes
17020 else
17021 glibcxx_cv_c99_stdlib=no
17022 fi
17023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17024 else
17025 if test x$gcc_no_link = xyes; then
17026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17027 fi
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 #include <stdlib.h>
17031 volatile float f;
17032 volatile long double ld;
17033 volatile unsigned long long ll;
17034 lldiv_t mydivt;
17035 int
17036 main ()
17037 {
17038 char* tmp;
17039 f = strtof("gnu", &tmp);
17040 ld = strtold("gnu", &tmp);
17041 ll = strtoll("gnu", &tmp, 10);
17042 ll = strtoull("gnu", &tmp, 10);
17043 ll = llabs(10);
17044 mydivt = lldiv(10,1);
17045 ll = mydivt.quot;
17046 ll = mydivt.rem;
17047 ll = atoll("10");
17048 _Exit(0);
17049
17050 ;
17051 return 0;
17052 }
17053 _ACEOF
17054 if ac_fn_cxx_try_link "$LINENO"; then :
17055 glibcxx_cv_c99_stdlib=yes
17056 else
17057 glibcxx_cv_c99_stdlib=no
17058 fi
17059 rm -f core conftest.err conftest.$ac_objext \
17060 conftest$ac_exeext conftest.$ac_ext
17061 fi
17062
17063 fi
17064
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17066 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17067
17068 # Check for the existence in <wchar.h> of wcstold, etc.
17069 glibcxx_cv_c99_wchar=no;
17070 if test x"$ac_has_wchar_h" = xyes &&
17071 test x"$ac_has_wctype_h" = xyes; then
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17073 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <wchar.h>
17077 namespace test
17078 {
17079 using ::wcstold;
17080 using ::wcstoll;
17081 using ::wcstoull;
17082 }
17083
17084 int
17085 main ()
17086 {
17087
17088 ;
17089 return 0;
17090 }
17091 _ACEOF
17092 if ac_fn_cxx_try_compile "$LINENO"; then :
17093 glibcxx_cv_c99_wchar=yes
17094 else
17095 glibcxx_cv_c99_wchar=no
17096 fi
17097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17098
17099 # Checks for wide character functions that may not be present.
17100 # Injection of these is wrapped with guard macros.
17101 # NB: only put functions here, instead of immediately above, if
17102 # absolutely necessary.
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #include <wchar.h>
17106 namespace test { using ::vfwscanf; }
17107 int
17108 main ()
17109 {
17110
17111 ;
17112 return 0;
17113 }
17114 _ACEOF
17115 if ac_fn_cxx_try_compile "$LINENO"; then :
17116
17117 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17118
17119 fi
17120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17121
17122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17123 /* end confdefs.h. */
17124 #include <wchar.h>
17125 namespace test { using ::vswscanf; }
17126 int
17127 main ()
17128 {
17129
17130 ;
17131 return 0;
17132 }
17133 _ACEOF
17134 if ac_fn_cxx_try_compile "$LINENO"; then :
17135
17136 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17137
17138 fi
17139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140
17141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17142 /* end confdefs.h. */
17143 #include <wchar.h>
17144 namespace test { using ::vwscanf; }
17145 int
17146 main ()
17147 {
17148
17149 ;
17150 return 0;
17151 }
17152 _ACEOF
17153 if ac_fn_cxx_try_compile "$LINENO"; then :
17154
17155 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17156
17157 fi
17158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17159
17160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17161 /* end confdefs.h. */
17162 #include <wchar.h>
17163 namespace test { using ::wcstof; }
17164 int
17165 main ()
17166 {
17167
17168 ;
17169 return 0;
17170 }
17171 _ACEOF
17172 if ac_fn_cxx_try_compile "$LINENO"; then :
17173
17174 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17175
17176 fi
17177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17178
17179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17180 /* end confdefs.h. */
17181 #include <wctype.h>
17182 int
17183 main ()
17184 {
17185 wint_t t; int i = iswblank(t);
17186 ;
17187 return 0;
17188 }
17189 _ACEOF
17190 if ac_fn_cxx_try_compile "$LINENO"; then :
17191
17192 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17193
17194 fi
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17196
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17198 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17199 fi
17200
17201 # Option parsed, now set things appropriately.
17202 if test x"$glibcxx_cv_c99_math" = x"no" ||
17203 test x"$glibcxx_cv_c99_complex" = x"no" ||
17204 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17205 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17206 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17207 enable_c99=no;
17208 else
17209
17210 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17211
17212 fi
17213
17214 gcc_no_link="$ac_save_gcc_no_link"
17215 LIBS="$ac_save_LIBS"
17216 CXXFLAGS="$ac_save_CXXFLAGS"
17217 ac_ext=c
17218 ac_cpp='$CPP $CPPFLAGS'
17219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17222
17223 fi
17224
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17226 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17228 $as_echo "$enable_c99" >&6; }
17229
17230
17231 # Check whether --enable-concept-checks was given.
17232 if test "${enable_concept_checks+set}" = set; then :
17233 enableval=$enable_concept_checks;
17234 case "$enableval" in
17235 yes|no) ;;
17236 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17237 esac
17238
17239 else
17240 enable_concept_checks=no
17241 fi
17242
17243
17244 if test $enable_concept_checks = yes; then
17245
17246 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17247
17248 fi
17249
17250
17251 # Check whether --enable-libstdcxx-debug-flags was given.
17252 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17253 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17254 xno | x) enable_libstdcxx_debug_flags= ;;
17255 x-*) ;;
17256 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17257 esac
17258 else
17259 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17260 fi
17261
17262
17263
17264 # Option parsed, now set things appropriately
17265 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17266
17267
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17269 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17270
17271
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17273 $as_echo_n "checking for additional debug build... " >&6; }
17274 # Check whether --enable-libstdcxx-debug was given.
17275 if test "${enable_libstdcxx_debug+set}" = set; then :
17276 enableval=$enable_libstdcxx_debug;
17277 case "$enableval" in
17278 yes|no) ;;
17279 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17280 esac
17281
17282 else
17283 enable_libstdcxx_debug=no
17284 fi
17285
17286
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17288 $as_echo "$enable_libstdcxx_debug" >&6; }
17289
17290
17291
17292
17293 enable_parallel=no;
17294
17295 # See if configured libgomp/omp.h exists. (libgomp may be in
17296 # noconfigdirs but not explicitly disabled.)
17297 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17298 enable_parallel=yes;
17299 else
17300 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17301 $as_echo "$as_me: target-libgomp not built" >&6;}
17302 fi
17303
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17305 $as_echo_n "checking for parallel mode support... " >&6; }
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17307 $as_echo "$enable_parallel" >&6; }
17308
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17310 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17311 # Check whether --enable-cxx-flags was given.
17312 if test "${enable_cxx_flags+set}" = set; then :
17313 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17314 xno | x) enable_cxx_flags= ;;
17315 x-*) ;;
17316 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17317 esac
17318 else
17319 enable_cxx_flags=
17320 fi
17321
17322
17323
17324 # Run through flags (either default or command-line) and set anything
17325 # extra (e.g., #defines) that must accompany particular g++ options.
17326 if test -n "$enable_cxx_flags"; then
17327 for f in $enable_cxx_flags; do
17328 case "$f" in
17329 -fhonor-std) ;;
17330 -*) ;;
17331 *) # and we're trying to pass /what/ exactly?
17332 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17333 esac
17334 done
17335 fi
17336
17337 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17339 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17340
17341
17342
17343 # Check whether --enable-fully-dynamic-string was given.
17344 if test "${enable_fully_dynamic_string+set}" = set; then :
17345 enableval=$enable_fully_dynamic_string;
17346 case "$enableval" in
17347 yes|no) ;;
17348 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17349 esac
17350
17351 else
17352 enable_fully_dynamic_string=no
17353 fi
17354
17355
17356 if test $enable_fully_dynamic_string = yes; then
17357 enable_fully_dynamic_string_def=1
17358 else
17359 enable_fully_dynamic_string_def=0
17360 fi
17361
17362 cat >>confdefs.h <<_ACEOF
17363 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17364 _ACEOF
17365
17366
17367
17368
17369 # Check whether --enable-extern-template was given.
17370 if test "${enable_extern_template+set}" = set; then :
17371 enableval=$enable_extern_template;
17372 case "$enableval" in
17373 yes|no) ;;
17374 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17375 esac
17376
17377 else
17378 enable_extern_template=yes
17379 fi
17380
17381
17382
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17384 $as_echo_n "checking for extern template support... " >&6; }
17385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17386 $as_echo "$enable_extern_template" >&6; }
17387
17388
17389
17390
17391
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17393 $as_echo_n "checking for custom python install directory... " >&6; }
17394
17395 # Check whether --with-python-dir was given.
17396 if test "${with_python_dir+set}" = set; then :
17397 withval=$with_python_dir; with_python_dir=$withval
17398 else
17399 with_python_dir="no"
17400 fi
17401
17402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17403 $as_echo "${with_python_dir}" >&6; }
17404
17405 # Needed for installing Python modules during make install.
17406 python_mod_dir="${with_python_dir}"
17407
17408
17409
17410
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17412 $as_echo_n "checking for -Werror... " >&6; }
17413 # Check whether --enable-werror was given.
17414 if test "${enable_werror+set}" = set; then :
17415 enableval=$enable_werror;
17416 case "$enableval" in
17417 yes|no) ;;
17418 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17419 esac
17420
17421 else
17422 enable_werror=yes
17423 fi
17424
17425
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17427 $as_echo "$enable_werror" >&6; }
17428
17429
17430
17431
17432 # Check whether --enable-vtable-verify was given.
17433 if test "${enable_vtable_verify+set}" = set; then :
17434 enableval=$enable_vtable_verify;
17435 case "$enableval" in
17436 yes|no) ;;
17437 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17438 esac
17439
17440 else
17441 enable_vtable_verify=no
17442 fi
17443
17444
17445
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17447 $as_echo_n "checking for vtable verify support... " >&6; }
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17449 $as_echo "$enable_vtable_verify" >&6; }
17450
17451 if test $enable_vtable_verify = yes; then
17452 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17453 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17454 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17455 else
17456 VTV_CXXFLAGS=
17457 VTV_PCH_CXXFLAGS=
17458 VTV_CXXLINKFLAGS=
17459 fi
17460
17461
17462
17463
17464
17465
17466
17467 # Checks for operating systems support that doesn't require linking.
17468
17469
17470
17471 ac_ext=cpp
17472 ac_cpp='$CXXCPP $CPPFLAGS'
17473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17476
17477
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17479 $as_echo_n "checking for gets declaration... " >&6; }
17480 if test "${glibcxx_cv_gets+set}" = set; then :
17481 $as_echo_n "(cached) " >&6
17482 else
17483
17484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17485 /* end confdefs.h. */
17486 #include <stdio.h>
17487 namespace test
17488 {
17489 using ::gets;
17490 }
17491
17492 _ACEOF
17493 if ac_fn_cxx_try_compile "$LINENO"; then :
17494 glibcxx_cv_gets=yes
17495 else
17496 glibcxx_cv_gets=no
17497
17498 fi
17499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17500 fi
17501
17502
17503 if test $glibcxx_cv_gets = yes; then
17504
17505 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17506
17507 fi
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17509 $as_echo "$glibcxx_cv_gets" >&6; }
17510
17511 ac_ext=c
17512 ac_cpp='$CPP $CPPFLAGS'
17513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17516
17517
17518
17519
17520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17521 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17522 if test "${glibcxx_cv_system_error1+set}" = set; then :
17523 $as_echo_n "(cached) " >&6
17524 else
17525
17526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17527 /* end confdefs.h. */
17528 #include <errno.h>
17529 int
17530 main ()
17531 {
17532 int i = EOWNERDEAD;
17533 ;
17534 return 0;
17535 }
17536 _ACEOF
17537 if ac_fn_c_try_compile "$LINENO"; then :
17538 glibcxx_cv_system_error1=yes
17539 else
17540 glibcxx_cv_system_error1=no
17541 fi
17542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17543
17544 fi
17545
17546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17547 $as_echo "$glibcxx_cv_system_error1" >&6; }
17548 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17549
17550 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17551
17552 fi
17553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17554 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17555 if test "${glibcxx_cv_system_error2+set}" = set; then :
17556 $as_echo_n "(cached) " >&6
17557 else
17558
17559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17560 /* end confdefs.h. */
17561 #include <errno.h>
17562 int
17563 main ()
17564 {
17565 int i = ENOTRECOVERABLE;
17566 ;
17567 return 0;
17568 }
17569 _ACEOF
17570 if ac_fn_c_try_compile "$LINENO"; then :
17571 glibcxx_cv_system_error2=yes
17572 else
17573 glibcxx_cv_system_error2=no
17574 fi
17575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17576
17577 fi
17578
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17580 $as_echo "$glibcxx_cv_system_error2" >&6; }
17581 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17582
17583 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17584
17585 fi
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17587 $as_echo_n "checking for ENOLINK... " >&6; }
17588 if test "${glibcxx_cv_system_error3+set}" = set; then :
17589 $as_echo_n "(cached) " >&6
17590 else
17591
17592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17593 /* end confdefs.h. */
17594 #include <errno.h>
17595 int
17596 main ()
17597 {
17598 int i = ENOLINK;
17599 ;
17600 return 0;
17601 }
17602 _ACEOF
17603 if ac_fn_c_try_compile "$LINENO"; then :
17604 glibcxx_cv_system_error3=yes
17605 else
17606 glibcxx_cv_system_error3=no
17607 fi
17608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17609
17610 fi
17611
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17613 $as_echo "$glibcxx_cv_system_error3" >&6; }
17614 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17615
17616 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17617
17618 fi
17619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17620 $as_echo_n "checking for EPROTO... " >&6; }
17621 if test "${glibcxx_cv_system_error4+set}" = set; then :
17622 $as_echo_n "(cached) " >&6
17623 else
17624
17625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17626 /* end confdefs.h. */
17627 #include <errno.h>
17628 int
17629 main ()
17630 {
17631 int i = EPROTO;
17632 ;
17633 return 0;
17634 }
17635 _ACEOF
17636 if ac_fn_c_try_compile "$LINENO"; then :
17637 glibcxx_cv_system_error4=yes
17638 else
17639 glibcxx_cv_system_error4=no
17640 fi
17641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17642
17643 fi
17644
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17646 $as_echo "$glibcxx_cv_system_error4" >&6; }
17647 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17648
17649 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17650
17651 fi
17652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17653 $as_echo_n "checking for ENODATA... " >&6; }
17654 if test "${glibcxx_cv_system_error5+set}" = set; then :
17655 $as_echo_n "(cached) " >&6
17656 else
17657
17658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17659 /* end confdefs.h. */
17660 #include <errno.h>
17661 int
17662 main ()
17663 {
17664 int i = ENODATA;
17665 ;
17666 return 0;
17667 }
17668 _ACEOF
17669 if ac_fn_c_try_compile "$LINENO"; then :
17670 glibcxx_cv_system_error5=yes
17671 else
17672 glibcxx_cv_system_error5=no
17673 fi
17674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675
17676 fi
17677
17678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17679 $as_echo "$glibcxx_cv_system_error5" >&6; }
17680 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17681
17682 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17683
17684 fi
17685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17686 $as_echo_n "checking for ENOSR... " >&6; }
17687 if test "${glibcxx_cv_system_error6+set}" = set; then :
17688 $as_echo_n "(cached) " >&6
17689 else
17690
17691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17692 /* end confdefs.h. */
17693 #include <errno.h>
17694 int
17695 main ()
17696 {
17697 int i = ENOSR;
17698 ;
17699 return 0;
17700 }
17701 _ACEOF
17702 if ac_fn_c_try_compile "$LINENO"; then :
17703 glibcxx_cv_system_error6=yes
17704 else
17705 glibcxx_cv_system_error6=no
17706 fi
17707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17708
17709 fi
17710
17711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17712 $as_echo "$glibcxx_cv_system_error6" >&6; }
17713 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17714
17715 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17716
17717 fi
17718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17719 $as_echo_n "checking for ENOSTR... " >&6; }
17720 if test "${glibcxx_cv_system_error7+set}" = set; then :
17721 $as_echo_n "(cached) " >&6
17722 else
17723
17724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17725 /* end confdefs.h. */
17726 #include <errno.h>
17727 int
17728 main ()
17729 {
17730 int i = ENOSTR;
17731 ;
17732 return 0;
17733 }
17734 _ACEOF
17735 if ac_fn_c_try_compile "$LINENO"; then :
17736 glibcxx_cv_system_error7=yes
17737 else
17738 glibcxx_cv_system_error7=no
17739 fi
17740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17741
17742 fi
17743
17744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17745 $as_echo "$glibcxx_cv_system_error7" >&6; }
17746 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17747
17748 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17749
17750 fi
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17752 $as_echo_n "checking for ETIME... " >&6; }
17753 if test "${glibcxx_cv_system_error8+set}" = set; then :
17754 $as_echo_n "(cached) " >&6
17755 else
17756
17757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17758 /* end confdefs.h. */
17759 #include <errno.h>
17760 int
17761 main ()
17762 {
17763 int i = ETIME;
17764 ;
17765 return 0;
17766 }
17767 _ACEOF
17768 if ac_fn_c_try_compile "$LINENO"; then :
17769 glibcxx_cv_system_error8=yes
17770 else
17771 glibcxx_cv_system_error8=no
17772 fi
17773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17774
17775 fi
17776
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17778 $as_echo "$glibcxx_cv_system_error8" >&6; }
17779 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17780
17781 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17782
17783 fi
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17785 $as_echo_n "checking for EBADMSG... " >&6; }
17786 if test "${glibcxx_cv_system_error9+set}" = set; then :
17787 $as_echo_n "(cached) " >&6
17788 else
17789
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17792 #include <errno.h>
17793 int
17794 main ()
17795 {
17796 int i = EBADMSG;
17797 ;
17798 return 0;
17799 }
17800 _ACEOF
17801 if ac_fn_c_try_compile "$LINENO"; then :
17802 glibcxx_cv_system_error9=yes
17803 else
17804 glibcxx_cv_system_error9=no
17805 fi
17806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807
17808 fi
17809
17810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17811 $as_echo "$glibcxx_cv_system_error9" >&6; }
17812 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17813
17814 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17815
17816 fi
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17818 $as_echo_n "checking for ECANCELED... " >&6; }
17819 if test "${glibcxx_cv_system_error10+set}" = set; then :
17820 $as_echo_n "(cached) " >&6
17821 else
17822
17823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17824 /* end confdefs.h. */
17825 #include <errno.h>
17826 int
17827 main ()
17828 {
17829 int i = ECANCELED;
17830 ;
17831 return 0;
17832 }
17833 _ACEOF
17834 if ac_fn_c_try_compile "$LINENO"; then :
17835 glibcxx_cv_system_error10=yes
17836 else
17837 glibcxx_cv_system_error10=no
17838 fi
17839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840
17841 fi
17842
17843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17844 $as_echo "$glibcxx_cv_system_error10" >&6; }
17845 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17846
17847 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17848
17849 fi
17850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17851 $as_echo_n "checking for EOVERFLOW... " >&6; }
17852 if test "${glibcxx_cv_system_error11+set}" = set; then :
17853 $as_echo_n "(cached) " >&6
17854 else
17855
17856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17857 /* end confdefs.h. */
17858 #include <errno.h>
17859 int
17860 main ()
17861 {
17862 int i = EOVERFLOW;
17863 ;
17864 return 0;
17865 }
17866 _ACEOF
17867 if ac_fn_c_try_compile "$LINENO"; then :
17868 glibcxx_cv_system_error11=yes
17869 else
17870 glibcxx_cv_system_error11=no
17871 fi
17872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873
17874 fi
17875
17876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17877 $as_echo "$glibcxx_cv_system_error11" >&6; }
17878 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17879
17880 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17881
17882 fi
17883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17884 $as_echo_n "checking for ENOTSUP... " >&6; }
17885 if test "${glibcxx_cv_system_error12+set}" = set; then :
17886 $as_echo_n "(cached) " >&6
17887 else
17888
17889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17890 /* end confdefs.h. */
17891 #include <errno.h>
17892 int
17893 main ()
17894 {
17895 int i = ENOTSUP;
17896 ;
17897 return 0;
17898 }
17899 _ACEOF
17900 if ac_fn_c_try_compile "$LINENO"; then :
17901 glibcxx_cv_system_error12=yes
17902 else
17903 glibcxx_cv_system_error12=no
17904 fi
17905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17906
17907 fi
17908
17909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17910 $as_echo "$glibcxx_cv_system_error12" >&6; }
17911 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17912
17913 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17914
17915 fi
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17917 $as_echo_n "checking for EIDRM... " >&6; }
17918 if test "${glibcxx_cv_system_error13+set}" = set; then :
17919 $as_echo_n "(cached) " >&6
17920 else
17921
17922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17923 /* end confdefs.h. */
17924 #include <errno.h>
17925 int
17926 main ()
17927 {
17928 int i = EIDRM;
17929 ;
17930 return 0;
17931 }
17932 _ACEOF
17933 if ac_fn_c_try_compile "$LINENO"; then :
17934 glibcxx_cv_system_error13=yes
17935 else
17936 glibcxx_cv_system_error13=no
17937 fi
17938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17939
17940 fi
17941
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17943 $as_echo "$glibcxx_cv_system_error13" >&6; }
17944 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17945
17946 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17947
17948 fi
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17950 $as_echo_n "checking for ETXTBSY... " >&6; }
17951 if test "${glibcxx_cv_system_error14+set}" = set; then :
17952 $as_echo_n "(cached) " >&6
17953 else
17954
17955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17956 /* end confdefs.h. */
17957 #include <errno.h>
17958 int
17959 main ()
17960 {
17961 int i = ETXTBSY;
17962 ;
17963 return 0;
17964 }
17965 _ACEOF
17966 if ac_fn_c_try_compile "$LINENO"; then :
17967 glibcxx_cv_system_error14=yes
17968 else
17969 glibcxx_cv_system_error14=no
17970 fi
17971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17972
17973 fi
17974
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17976 $as_echo "$glibcxx_cv_system_error14" >&6; }
17977 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17978
17979 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17980
17981 fi
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17983 $as_echo_n "checking for ECHILD... " >&6; }
17984 if test "${glibcxx_cv_system_error15+set}" = set; then :
17985 $as_echo_n "(cached) " >&6
17986 else
17987
17988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17989 /* end confdefs.h. */
17990 #include <errno.h>
17991 int
17992 main ()
17993 {
17994 int i = ECHILD;
17995 ;
17996 return 0;
17997 }
17998 _ACEOF
17999 if ac_fn_c_try_compile "$LINENO"; then :
18000 glibcxx_cv_system_error15=yes
18001 else
18002 glibcxx_cv_system_error15=no
18003 fi
18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18005
18006 fi
18007
18008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18009 $as_echo "$glibcxx_cv_system_error15" >&6; }
18010 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18011
18012 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18013
18014 fi
18015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18016 $as_echo_n "checking for ENOSPC... " >&6; }
18017 if test "${glibcxx_cv_system_error16+set}" = set; then :
18018 $as_echo_n "(cached) " >&6
18019 else
18020
18021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18022 /* end confdefs.h. */
18023 #include <errno.h>
18024 int
18025 main ()
18026 {
18027 int i = ENOSPC;
18028 ;
18029 return 0;
18030 }
18031 _ACEOF
18032 if ac_fn_c_try_compile "$LINENO"; then :
18033 glibcxx_cv_system_error16=yes
18034 else
18035 glibcxx_cv_system_error16=no
18036 fi
18037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18038
18039 fi
18040
18041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18042 $as_echo "$glibcxx_cv_system_error16" >&6; }
18043 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18044
18045 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18046
18047 fi
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18049 $as_echo_n "checking for EPERM... " >&6; }
18050 if test "${glibcxx_cv_system_error17+set}" = set; then :
18051 $as_echo_n "(cached) " >&6
18052 else
18053
18054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18055 /* end confdefs.h. */
18056 #include <errno.h>
18057 int
18058 main ()
18059 {
18060 int i = EPERM;
18061 ;
18062 return 0;
18063 }
18064 _ACEOF
18065 if ac_fn_c_try_compile "$LINENO"; then :
18066 glibcxx_cv_system_error17=yes
18067 else
18068 glibcxx_cv_system_error17=no
18069 fi
18070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18071
18072 fi
18073
18074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18075 $as_echo "$glibcxx_cv_system_error17" >&6; }
18076 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18077
18078 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18079
18080 fi
18081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18082 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18083 if test "${glibcxx_cv_system_error18+set}" = set; then :
18084 $as_echo_n "(cached) " >&6
18085 else
18086
18087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18088 /* end confdefs.h. */
18089 #include <errno.h>
18090 int
18091 main ()
18092 {
18093 int i = ETIMEDOUT;
18094 ;
18095 return 0;
18096 }
18097 _ACEOF
18098 if ac_fn_c_try_compile "$LINENO"; then :
18099 glibcxx_cv_system_error18=yes
18100 else
18101 glibcxx_cv_system_error18=no
18102 fi
18103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18104
18105 fi
18106
18107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18108 $as_echo "$glibcxx_cv_system_error18" >&6; }
18109 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18110
18111 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18112
18113 fi
18114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18115 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18116 if test "${glibcxx_cv_system_error19+set}" = set; then :
18117 $as_echo_n "(cached) " >&6
18118 else
18119
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18122 #include <errno.h>
18123 int
18124 main ()
18125 {
18126 int i = EWOULDBLOCK;
18127 ;
18128 return 0;
18129 }
18130 _ACEOF
18131 if ac_fn_c_try_compile "$LINENO"; then :
18132 glibcxx_cv_system_error19=yes
18133 else
18134 glibcxx_cv_system_error19=no
18135 fi
18136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18137
18138 fi
18139
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18141 $as_echo "$glibcxx_cv_system_error19" >&6; }
18142 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18143
18144 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18145
18146 fi
18147
18148
18149
18150 # For the streamoff typedef.
18151
18152
18153
18154 ac_ext=cpp
18155 ac_cpp='$CXXCPP $CPPFLAGS'
18156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18159
18160
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18162 $as_echo_n "checking for int64_t... " >&6; }
18163 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18164 $as_echo_n "(cached) " >&6
18165 else
18166
18167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18168 /* end confdefs.h. */
18169 #include <stdint.h>
18170 int
18171 main ()
18172 {
18173 int64_t var;
18174 ;
18175 return 0;
18176 }
18177 _ACEOF
18178 if ac_fn_cxx_try_compile "$LINENO"; then :
18179 glibcxx_cv_INT64_T=yes
18180 else
18181 glibcxx_cv_INT64_T=no
18182 fi
18183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18184
18185 fi
18186
18187
18188 if test $glibcxx_cv_INT64_T = yes; then
18189
18190 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18191
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18193 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18194
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18196 $as_echo_n "checking for int64_t as long... " >&6; }
18197 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18198 $as_echo_n "(cached) " >&6
18199 else
18200
18201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18202 /* end confdefs.h. */
18203 #include <stdint.h>
18204 template<typename, typename> struct same { enum { value = -1 }; };
18205 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18206 int array[same<int64_t, long>::value];
18207 int
18208 main ()
18209 {
18210
18211 ;
18212 return 0;
18213 }
18214 _ACEOF
18215 if ac_fn_cxx_try_compile "$LINENO"; then :
18216 glibcxx_cv_int64_t_long=yes
18217 else
18218 glibcxx_cv_int64_t_long=no
18219 fi
18220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18221
18222 fi
18223
18224
18225 if test $glibcxx_cv_int64_t_long = yes; then
18226
18227 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18228
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18230 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18231 fi
18232
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18234 $as_echo_n "checking for int64_t as long long... " >&6; }
18235 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18236 $as_echo_n "(cached) " >&6
18237 else
18238
18239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18240 /* end confdefs.h. */
18241 #include <stdint.h>
18242 template<typename, typename> struct same { enum { value = -1 }; };
18243 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18244 int array[same<int64_t, long long>::value];
18245 int
18246 main ()
18247 {
18248
18249 ;
18250 return 0;
18251 }
18252 _ACEOF
18253 if ac_fn_cxx_try_compile "$LINENO"; then :
18254 glibcxx_cv_int64_t_long_long=yes
18255 else
18256 glibcxx_cv_int64_t_long_long=no
18257 fi
18258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18259
18260 fi
18261
18262
18263 if test $glibcxx_cv_int64_t_long_long = yes; then
18264
18265 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18266
18267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18268 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18269 fi
18270 fi
18271
18272 ac_ext=c
18273 ac_cpp='$CPP $CPPFLAGS'
18274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18277
18278
18279
18280 # For LFS support.
18281
18282
18283 ac_ext=cpp
18284 ac_cpp='$CXXCPP $CPPFLAGS'
18285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18288
18289 ac_save_CXXFLAGS="$CXXFLAGS"
18290 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18292 $as_echo_n "checking for LFS support... " >&6; }
18293 if test "${glibcxx_cv_LFS+set}" = set; then :
18294 $as_echo_n "(cached) " >&6
18295 else
18296
18297 if test x$gcc_no_link = xyes; then
18298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18300 #include <unistd.h>
18301 #include <stdio.h>
18302 #include <sys/stat.h>
18303
18304 int
18305 main ()
18306 {
18307 FILE* fp;
18308 fopen64("t", "w");
18309 fseeko64(fp, 0, SEEK_CUR);
18310 ftello64(fp);
18311 lseek64(1, 0, SEEK_CUR);
18312 struct stat64 buf;
18313 fstat64(1, &buf);
18314 ;
18315 return 0;
18316 }
18317 _ACEOF
18318 if ac_fn_cxx_try_compile "$LINENO"; then :
18319 glibcxx_cv_LFS=yes
18320 else
18321 glibcxx_cv_LFS=no
18322 fi
18323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18324 else
18325 if test x$gcc_no_link = xyes; then
18326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18327 fi
18328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18329 /* end confdefs.h. */
18330 #include <unistd.h>
18331 #include <stdio.h>
18332 #include <sys/stat.h>
18333
18334 int
18335 main ()
18336 {
18337 FILE* fp;
18338 fopen64("t", "w");
18339 fseeko64(fp, 0, SEEK_CUR);
18340 ftello64(fp);
18341 lseek64(1, 0, SEEK_CUR);
18342 struct stat64 buf;
18343 fstat64(1, &buf);
18344 ;
18345 return 0;
18346 }
18347 _ACEOF
18348 if ac_fn_cxx_try_link "$LINENO"; then :
18349 glibcxx_cv_LFS=yes
18350 else
18351 glibcxx_cv_LFS=no
18352 fi
18353 rm -f core conftest.err conftest.$ac_objext \
18354 conftest$ac_exeext conftest.$ac_ext
18355 fi
18356
18357 fi
18358
18359 if test $glibcxx_cv_LFS = yes; then
18360
18361 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18362
18363 fi
18364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18365 $as_echo "$glibcxx_cv_LFS" >&6; }
18366 CXXFLAGS="$ac_save_CXXFLAGS"
18367 ac_ext=c
18368 ac_cpp='$CPP $CPPFLAGS'
18369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18372
18373
18374
18375 # For showmanyc_helper().
18376 for ac_header in sys/ioctl.h sys/filio.h
18377 do :
18378 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18379 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18380 eval as_val=\$$as_ac_Header
18381 if test "x$as_val" = x""yes; then :
18382 cat >>confdefs.h <<_ACEOF
18383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18384 _ACEOF
18385
18386 fi
18387
18388 done
18389
18390
18391
18392
18393 ac_ext=cpp
18394 ac_cpp='$CXXCPP $CPPFLAGS'
18395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18398
18399 ac_save_CXXFLAGS="$CXXFLAGS"
18400 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18401
18402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18403 $as_echo_n "checking for poll... " >&6; }
18404 if test "${glibcxx_cv_POLL+set}" = set; then :
18405 $as_echo_n "(cached) " >&6
18406 else
18407
18408 if test x$gcc_no_link = xyes; then
18409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18410 /* end confdefs.h. */
18411 #include <poll.h>
18412 int
18413 main ()
18414 {
18415 struct pollfd pfd[1];
18416 pfd[0].events = POLLIN;
18417 poll(pfd, 1, 0);
18418 ;
18419 return 0;
18420 }
18421 _ACEOF
18422 if ac_fn_cxx_try_compile "$LINENO"; then :
18423 glibcxx_cv_POLL=yes
18424 else
18425 glibcxx_cv_POLL=no
18426 fi
18427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18428 else
18429 if test x$gcc_no_link = xyes; then
18430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18431 fi
18432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18433 /* end confdefs.h. */
18434 #include <poll.h>
18435 int
18436 main ()
18437 {
18438 struct pollfd pfd[1];
18439 pfd[0].events = POLLIN;
18440 poll(pfd, 1, 0);
18441 ;
18442 return 0;
18443 }
18444 _ACEOF
18445 if ac_fn_cxx_try_link "$LINENO"; then :
18446 glibcxx_cv_POLL=yes
18447 else
18448 glibcxx_cv_POLL=no
18449 fi
18450 rm -f core conftest.err conftest.$ac_objext \
18451 conftest$ac_exeext conftest.$ac_ext
18452 fi
18453
18454 fi
18455
18456 if test $glibcxx_cv_POLL = yes; then
18457
18458 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18459
18460 fi
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18462 $as_echo "$glibcxx_cv_POLL" >&6; }
18463
18464 CXXFLAGS="$ac_save_CXXFLAGS"
18465 ac_ext=c
18466 ac_cpp='$CPP $CPPFLAGS'
18467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18470
18471
18472
18473
18474
18475 ac_ext=cpp
18476 ac_cpp='$CXXCPP $CPPFLAGS'
18477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18480
18481 ac_save_CXXFLAGS="$CXXFLAGS"
18482 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18483
18484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18485 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18486 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18487 $as_echo_n "(cached) " >&6
18488 else
18489
18490 if test x$gcc_no_link = xyes; then
18491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18493 #include <sys/stat.h>
18494 int
18495 main ()
18496 {
18497 struct stat buffer;
18498 fstat(0, &buffer);
18499 S_ISREG(buffer.st_mode);
18500 ;
18501 return 0;
18502 }
18503 _ACEOF
18504 if ac_fn_cxx_try_compile "$LINENO"; then :
18505 glibcxx_cv_S_ISREG=yes
18506 else
18507 glibcxx_cv_S_ISREG=no
18508 fi
18509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18510 else
18511 if test x$gcc_no_link = xyes; then
18512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18513 fi
18514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18515 /* end confdefs.h. */
18516 #include <sys/stat.h>
18517 int
18518 main ()
18519 {
18520 struct stat buffer;
18521 fstat(0, &buffer);
18522 S_ISREG(buffer.st_mode);
18523 ;
18524 return 0;
18525 }
18526 _ACEOF
18527 if ac_fn_cxx_try_link "$LINENO"; then :
18528 glibcxx_cv_S_ISREG=yes
18529 else
18530 glibcxx_cv_S_ISREG=no
18531 fi
18532 rm -f core conftest.err conftest.$ac_objext \
18533 conftest$ac_exeext conftest.$ac_ext
18534 fi
18535
18536 fi
18537
18538 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18539 $as_echo_n "(cached) " >&6
18540 else
18541
18542 if test x$gcc_no_link = xyes; then
18543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18544 /* end confdefs.h. */
18545 #include <sys/stat.h>
18546 int
18547 main ()
18548 {
18549 struct stat buffer;
18550 fstat(0, &buffer);
18551 S_IFREG & buffer.st_mode;
18552 ;
18553 return 0;
18554 }
18555 _ACEOF
18556 if ac_fn_cxx_try_compile "$LINENO"; then :
18557 glibcxx_cv_S_IFREG=yes
18558 else
18559 glibcxx_cv_S_IFREG=no
18560 fi
18561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18562 else
18563 if test x$gcc_no_link = xyes; then
18564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18565 fi
18566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18567 /* end confdefs.h. */
18568 #include <sys/stat.h>
18569 int
18570 main ()
18571 {
18572 struct stat buffer;
18573 fstat(0, &buffer);
18574 S_IFREG & buffer.st_mode;
18575 ;
18576 return 0;
18577 }
18578 _ACEOF
18579 if ac_fn_cxx_try_link "$LINENO"; then :
18580 glibcxx_cv_S_IFREG=yes
18581 else
18582 glibcxx_cv_S_IFREG=no
18583 fi
18584 rm -f core conftest.err conftest.$ac_objext \
18585 conftest$ac_exeext conftest.$ac_ext
18586 fi
18587
18588 fi
18589
18590 res=no
18591 if test $glibcxx_cv_S_ISREG = yes; then
18592
18593 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18594
18595 res=S_ISREG
18596 elif test $glibcxx_cv_S_IFREG = yes; then
18597
18598 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18599
18600 res=S_IFREG
18601 fi
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18603 $as_echo "$res" >&6; }
18604
18605 CXXFLAGS="$ac_save_CXXFLAGS"
18606 ac_ext=c
18607 ac_cpp='$CPP $CPPFLAGS'
18608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18611
18612
18613
18614 # For xsputn_2().
18615 for ac_header in sys/uio.h
18616 do :
18617 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18618 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18619 cat >>confdefs.h <<_ACEOF
18620 #define HAVE_SYS_UIO_H 1
18621 _ACEOF
18622
18623 fi
18624
18625 done
18626
18627
18628
18629
18630 ac_ext=cpp
18631 ac_cpp='$CXXCPP $CPPFLAGS'
18632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18635
18636 ac_save_CXXFLAGS="$CXXFLAGS"
18637 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18638
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18640 $as_echo_n "checking for writev... " >&6; }
18641 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18642 $as_echo_n "(cached) " >&6
18643 else
18644
18645 if test x$gcc_no_link = xyes; then
18646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18647 /* end confdefs.h. */
18648 #include <sys/uio.h>
18649 int
18650 main ()
18651 {
18652 struct iovec iov[2];
18653 writev(0, iov, 0);
18654 ;
18655 return 0;
18656 }
18657 _ACEOF
18658 if ac_fn_cxx_try_compile "$LINENO"; then :
18659 glibcxx_cv_WRITEV=yes
18660 else
18661 glibcxx_cv_WRITEV=no
18662 fi
18663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18664 else
18665 if test x$gcc_no_link = xyes; then
18666 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18667 fi
18668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18669 /* end confdefs.h. */
18670 #include <sys/uio.h>
18671 int
18672 main ()
18673 {
18674 struct iovec iov[2];
18675 writev(0, iov, 0);
18676 ;
18677 return 0;
18678 }
18679 _ACEOF
18680 if ac_fn_cxx_try_link "$LINENO"; then :
18681 glibcxx_cv_WRITEV=yes
18682 else
18683 glibcxx_cv_WRITEV=no
18684 fi
18685 rm -f core conftest.err conftest.$ac_objext \
18686 conftest$ac_exeext conftest.$ac_ext
18687 fi
18688
18689 fi
18690
18691 if test $glibcxx_cv_WRITEV = yes; then
18692
18693 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18694
18695 fi
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18697 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18698
18699 CXXFLAGS="$ac_save_CXXFLAGS"
18700 ac_ext=c
18701 ac_cpp='$CPP $CPPFLAGS'
18702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18705
18706
18707
18708 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18709 # so that the check is done with the C compiler (not C++).
18710 # Checking with C++ can break a canadian cross build if either
18711 # file does not exist in C but does in C++.
18712 for ac_header in fenv.h complex.h
18713 do :
18714 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18715 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18716 eval as_val=\$$as_ac_Header
18717 if test "x$as_val" = x""yes; then :
18718 cat >>confdefs.h <<_ACEOF
18719 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18720 _ACEOF
18721
18722 fi
18723
18724 done
18725
18726
18727 # For C99 support to TR1.
18728
18729
18730
18731 ac_ext=cpp
18732 ac_cpp='$CXXCPP $CPPFLAGS'
18733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18736
18737
18738 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18739 # undefined and fake C99 facilities may be spuriously enabled.
18740 ac_save_CXXFLAGS="$CXXFLAGS"
18741 CXXFLAGS="$CXXFLAGS -std=c++98"
18742
18743 # Check for the existence of <complex.h> complex math functions used
18744 # by tr1/complex.
18745 for ac_header in complex.h
18746 do :
18747 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18748 if test "x$ac_cv_header_complex_h" = x""yes; then :
18749 cat >>confdefs.h <<_ACEOF
18750 #define HAVE_COMPLEX_H 1
18751 _ACEOF
18752 ac_has_complex_h=yes
18753 else
18754 ac_has_complex_h=no
18755 fi
18756
18757 done
18758
18759 ac_c99_complex_tr1=no;
18760 if test x"$ac_has_complex_h" = x"yes"; then
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18762 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 #include <complex.h>
18766 int
18767 main ()
18768 {
18769 typedef __complex__ float float_type; float_type tmpf;
18770 cacosf(tmpf);
18771 casinf(tmpf);
18772 catanf(tmpf);
18773 cacoshf(tmpf);
18774 casinhf(tmpf);
18775 catanhf(tmpf);
18776 typedef __complex__ double double_type; double_type tmpd;
18777 cacos(tmpd);
18778 casin(tmpd);
18779 catan(tmpd);
18780 cacosh(tmpd);
18781 casinh(tmpd);
18782 catanh(tmpd);
18783 typedef __complex__ long double ld_type; ld_type tmpld;
18784 cacosl(tmpld);
18785 casinl(tmpld);
18786 catanl(tmpld);
18787 cacoshl(tmpld);
18788 casinhl(tmpld);
18789 catanhl(tmpld);
18790
18791 ;
18792 return 0;
18793 }
18794 _ACEOF
18795 if ac_fn_cxx_try_compile "$LINENO"; then :
18796 ac_c99_complex_tr1=yes
18797 else
18798 ac_c99_complex_tr1=no
18799 fi
18800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18801 fi
18802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18803 $as_echo "$ac_c99_complex_tr1" >&6; }
18804 if test x"$ac_c99_complex_tr1" = x"yes"; then
18805
18806 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18807
18808 fi
18809
18810 # Check for the existence of <ctype.h> functions.
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18812 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18813 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18814 $as_echo_n "(cached) " >&6
18815 else
18816
18817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18818 /* end confdefs.h. */
18819 #include <ctype.h>
18820 int
18821 main ()
18822 {
18823 int ch;
18824 int ret;
18825 ret = isblank(ch);
18826
18827 ;
18828 return 0;
18829 }
18830 _ACEOF
18831 if ac_fn_cxx_try_compile "$LINENO"; then :
18832 glibcxx_cv_c99_ctype_tr1=yes
18833 else
18834 glibcxx_cv_c99_ctype_tr1=no
18835 fi
18836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18837
18838 fi
18839
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18841 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18842 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18843
18844 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18845
18846 fi
18847
18848 # Check for the existence of <fenv.h> functions.
18849 for ac_header in fenv.h
18850 do :
18851 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18852 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18853 cat >>confdefs.h <<_ACEOF
18854 #define HAVE_FENV_H 1
18855 _ACEOF
18856 ac_has_fenv_h=yes
18857 else
18858 ac_has_fenv_h=no
18859 fi
18860
18861 done
18862
18863 ac_c99_fenv_tr1=no;
18864 if test x"$ac_has_fenv_h" = x"yes"; then
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18866 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18868 /* end confdefs.h. */
18869 #include <fenv.h>
18870 int
18871 main ()
18872 {
18873 int except, mode;
18874 fexcept_t* pflag;
18875 fenv_t* penv;
18876 int ret;
18877 ret = feclearexcept(except);
18878 ret = fegetexceptflag(pflag, except);
18879 ret = feraiseexcept(except);
18880 ret = fesetexceptflag(pflag, except);
18881 ret = fetestexcept(except);
18882 ret = fegetround();
18883 ret = fesetround(mode);
18884 ret = fegetenv(penv);
18885 ret = feholdexcept(penv);
18886 ret = fesetenv(penv);
18887 ret = feupdateenv(penv);
18888
18889 ;
18890 return 0;
18891 }
18892 _ACEOF
18893 if ac_fn_cxx_try_compile "$LINENO"; then :
18894 ac_c99_fenv_tr1=yes
18895 else
18896 ac_c99_fenv_tr1=no
18897 fi
18898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18899 fi
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18901 $as_echo "$ac_c99_fenv_tr1" >&6; }
18902 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18903
18904 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18905
18906 fi
18907
18908 # Check for the existence of <stdint.h> types.
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18910 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18911 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18912 $as_echo_n "(cached) " >&6
18913 else
18914
18915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18916 /* end confdefs.h. */
18917 #define __STDC_LIMIT_MACROS
18918 #define __STDC_CONSTANT_MACROS
18919 #include <stdint.h>
18920 int
18921 main ()
18922 {
18923 typedef int8_t my_int8_t;
18924 my_int8_t i8 = INT8_MIN;
18925 i8 = INT8_MAX;
18926 typedef int16_t my_int16_t;
18927 my_int16_t i16 = INT16_MIN;
18928 i16 = INT16_MAX;
18929 typedef int32_t my_int32_t;
18930 my_int32_t i32 = INT32_MIN;
18931 i32 = INT32_MAX;
18932 typedef int64_t my_int64_t;
18933 my_int64_t i64 = INT64_MIN;
18934 i64 = INT64_MAX;
18935 typedef int_fast8_t my_int_fast8_t;
18936 my_int_fast8_t if8 = INT_FAST8_MIN;
18937 if8 = INT_FAST8_MAX;
18938 typedef int_fast16_t my_int_fast16_t;
18939 my_int_fast16_t if16 = INT_FAST16_MIN;
18940 if16 = INT_FAST16_MAX;
18941 typedef int_fast32_t my_int_fast32_t;
18942 my_int_fast32_t if32 = INT_FAST32_MIN;
18943 if32 = INT_FAST32_MAX;
18944 typedef int_fast64_t my_int_fast64_t;
18945 my_int_fast64_t if64 = INT_FAST64_MIN;
18946 if64 = INT_FAST64_MAX;
18947 typedef int_least8_t my_int_least8_t;
18948 my_int_least8_t il8 = INT_LEAST8_MIN;
18949 il8 = INT_LEAST8_MAX;
18950 typedef int_least16_t my_int_least16_t;
18951 my_int_least16_t il16 = INT_LEAST16_MIN;
18952 il16 = INT_LEAST16_MAX;
18953 typedef int_least32_t my_int_least32_t;
18954 my_int_least32_t il32 = INT_LEAST32_MIN;
18955 il32 = INT_LEAST32_MAX;
18956 typedef int_least64_t my_int_least64_t;
18957 my_int_least64_t il64 = INT_LEAST64_MIN;
18958 il64 = INT_LEAST64_MAX;
18959 typedef intmax_t my_intmax_t;
18960 my_intmax_t im = INTMAX_MAX;
18961 im = INTMAX_MIN;
18962 typedef intptr_t my_intptr_t;
18963 my_intptr_t ip = INTPTR_MAX;
18964 ip = INTPTR_MIN;
18965 typedef uint8_t my_uint8_t;
18966 my_uint8_t ui8 = UINT8_MAX;
18967 ui8 = UINT8_MAX;
18968 typedef uint16_t my_uint16_t;
18969 my_uint16_t ui16 = UINT16_MAX;
18970 ui16 = UINT16_MAX;
18971 typedef uint32_t my_uint32_t;
18972 my_uint32_t ui32 = UINT32_MAX;
18973 ui32 = UINT32_MAX;
18974 typedef uint64_t my_uint64_t;
18975 my_uint64_t ui64 = UINT64_MAX;
18976 ui64 = UINT64_MAX;
18977 typedef uint_fast8_t my_uint_fast8_t;
18978 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18979 uif8 = UINT_FAST8_MAX;
18980 typedef uint_fast16_t my_uint_fast16_t;
18981 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18982 uif16 = UINT_FAST16_MAX;
18983 typedef uint_fast32_t my_uint_fast32_t;
18984 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18985 uif32 = UINT_FAST32_MAX;
18986 typedef uint_fast64_t my_uint_fast64_t;
18987 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18988 uif64 = UINT_FAST64_MAX;
18989 typedef uint_least8_t my_uint_least8_t;
18990 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18991 uil8 = UINT_LEAST8_MAX;
18992 typedef uint_least16_t my_uint_least16_t;
18993 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18994 uil16 = UINT_LEAST16_MAX;
18995 typedef uint_least32_t my_uint_least32_t;
18996 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18997 uil32 = UINT_LEAST32_MAX;
18998 typedef uint_least64_t my_uint_least64_t;
18999 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19000 uil64 = UINT_LEAST64_MAX;
19001 typedef uintmax_t my_uintmax_t;
19002 my_uintmax_t uim = UINTMAX_MAX;
19003 uim = UINTMAX_MAX;
19004 typedef uintptr_t my_uintptr_t;
19005 my_uintptr_t uip = UINTPTR_MAX;
19006 uip = UINTPTR_MAX;
19007
19008 ;
19009 return 0;
19010 }
19011 _ACEOF
19012 if ac_fn_cxx_try_compile "$LINENO"; then :
19013 glibcxx_cv_c99_stdint_tr1=yes
19014 else
19015 glibcxx_cv_c99_stdint_tr1=no
19016 fi
19017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018
19019 fi
19020
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19022 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19023 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19024
19025 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19026
19027 fi
19028
19029 # Check for the existence of <math.h> functions.
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19031 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19032 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19033 $as_echo_n "(cached) " >&6
19034 else
19035
19036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19037 /* end confdefs.h. */
19038 #include <math.h>
19039 int
19040 main ()
19041 {
19042 typedef double_t my_double_t;
19043 typedef float_t my_float_t;
19044 acosh(0.0);
19045 acoshf(0.0f);
19046 acoshl(0.0l);
19047 asinh(0.0);
19048 asinhf(0.0f);
19049 asinhl(0.0l);
19050 atanh(0.0);
19051 atanhf(0.0f);
19052 atanhl(0.0l);
19053 cbrt(0.0);
19054 cbrtf(0.0f);
19055 cbrtl(0.0l);
19056 copysign(0.0, 0.0);
19057 copysignf(0.0f, 0.0f);
19058 copysignl(0.0l, 0.0l);
19059 erf(0.0);
19060 erff(0.0f);
19061 erfl(0.0l);
19062 erfc(0.0);
19063 erfcf(0.0f);
19064 erfcl(0.0l);
19065 exp2(0.0);
19066 exp2f(0.0f);
19067 exp2l(0.0l);
19068 expm1(0.0);
19069 expm1f(0.0f);
19070 expm1l(0.0l);
19071 fdim(0.0, 0.0);
19072 fdimf(0.0f, 0.0f);
19073 fdiml(0.0l, 0.0l);
19074 fma(0.0, 0.0, 0.0);
19075 fmaf(0.0f, 0.0f, 0.0f);
19076 fmal(0.0l, 0.0l, 0.0l);
19077 fmax(0.0, 0.0);
19078 fmaxf(0.0f, 0.0f);
19079 fmaxl(0.0l, 0.0l);
19080 fmin(0.0, 0.0);
19081 fminf(0.0f, 0.0f);
19082 fminl(0.0l, 0.0l);
19083 hypot(0.0, 0.0);
19084 hypotf(0.0f, 0.0f);
19085 hypotl(0.0l, 0.0l);
19086 ilogb(0.0);
19087 ilogbf(0.0f);
19088 ilogbl(0.0l);
19089 lgamma(0.0);
19090 lgammaf(0.0f);
19091 lgammal(0.0l);
19092 llrint(0.0);
19093 llrintf(0.0f);
19094 llrintl(0.0l);
19095 llround(0.0);
19096 llroundf(0.0f);
19097 llroundl(0.0l);
19098 log1p(0.0);
19099 log1pf(0.0f);
19100 log1pl(0.0l);
19101 log2(0.0);
19102 log2f(0.0f);
19103 log2l(0.0l);
19104 logb(0.0);
19105 logbf(0.0f);
19106 logbl(0.0l);
19107 lrint(0.0);
19108 lrintf(0.0f);
19109 lrintl(0.0l);
19110 lround(0.0);
19111 lroundf(0.0f);
19112 lroundl(0.0l);
19113 nan(0);
19114 nanf(0);
19115 nanl(0);
19116 nearbyint(0.0);
19117 nearbyintf(0.0f);
19118 nearbyintl(0.0l);
19119 nextafter(0.0, 0.0);
19120 nextafterf(0.0f, 0.0f);
19121 nextafterl(0.0l, 0.0l);
19122 nexttoward(0.0, 0.0);
19123 nexttowardf(0.0f, 0.0f);
19124 nexttowardl(0.0l, 0.0l);
19125 remainder(0.0, 0.0);
19126 remainderf(0.0f, 0.0f);
19127 remainderl(0.0l, 0.0l);
19128 remquo(0.0, 0.0, 0);
19129 remquof(0.0f, 0.0f, 0);
19130 remquol(0.0l, 0.0l, 0);
19131 rint(0.0);
19132 rintf(0.0f);
19133 rintl(0.0l);
19134 round(0.0);
19135 roundf(0.0f);
19136 roundl(0.0l);
19137 scalbln(0.0, 0l);
19138 scalblnf(0.0f, 0l);
19139 scalblnl(0.0l, 0l);
19140 scalbn(0.0, 0);
19141 scalbnf(0.0f, 0);
19142 scalbnl(0.0l, 0);
19143 tgamma(0.0);
19144 tgammaf(0.0f);
19145 tgammal(0.0l);
19146 trunc(0.0);
19147 truncf(0.0f);
19148 truncl(0.0l);
19149
19150 ;
19151 return 0;
19152 }
19153 _ACEOF
19154 if ac_fn_cxx_try_compile "$LINENO"; then :
19155 glibcxx_cv_c99_math_tr1=yes
19156 else
19157 glibcxx_cv_c99_math_tr1=no
19158 fi
19159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19160
19161 fi
19162
19163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19164 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19165 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19166
19167 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19168
19169 fi
19170
19171 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19172 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19173 ac_c99_inttypes_tr1=no;
19174 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19176 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19178 /* end confdefs.h. */
19179 #include <inttypes.h>
19180 int
19181 main ()
19182 {
19183 intmax_t i, numer, denom, base;
19184 const char* s;
19185 char** endptr;
19186 intmax_t ret = imaxabs(i);
19187 imaxdiv_t dret = imaxdiv(numer, denom);
19188 ret = strtoimax(s, endptr, base);
19189 uintmax_t uret = strtoumax(s, endptr, base);
19190
19191 ;
19192 return 0;
19193 }
19194 _ACEOF
19195 if ac_fn_cxx_try_compile "$LINENO"; then :
19196 ac_c99_inttypes_tr1=yes
19197 else
19198 ac_c99_inttypes_tr1=no
19199 fi
19200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19201 fi
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19203 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19204 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19205
19206 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19207
19208 fi
19209
19210 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19211 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19212 ac_c99_inttypes_wchar_t_tr1=no;
19213 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19215 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19217 /* end confdefs.h. */
19218 #include <inttypes.h>
19219 int
19220 main ()
19221 {
19222 intmax_t base;
19223 const wchar_t* s;
19224 wchar_t** endptr;
19225 intmax_t ret = wcstoimax(s, endptr, base);
19226 uintmax_t uret = wcstoumax(s, endptr, base);
19227
19228 ;
19229 return 0;
19230 }
19231 _ACEOF
19232 if ac_fn_cxx_try_compile "$LINENO"; then :
19233 ac_c99_inttypes_wchar_t_tr1=yes
19234 else
19235 ac_c99_inttypes_wchar_t_tr1=no
19236 fi
19237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19238 fi
19239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19240 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19241 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19242
19243 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19244
19245 fi
19246
19247 # Check for the existence of the <stdbool.h> header.
19248 for ac_header in stdbool.h
19249 do :
19250 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19251 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19252 cat >>confdefs.h <<_ACEOF
19253 #define HAVE_STDBOOL_H 1
19254 _ACEOF
19255
19256 fi
19257
19258 done
19259
19260
19261 # Check for the existence of the <stdalign.h> header.
19262 for ac_header in stdalign.h
19263 do :
19264 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19265 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19266 cat >>confdefs.h <<_ACEOF
19267 #define HAVE_STDALIGN_H 1
19268 _ACEOF
19269
19270 fi
19271
19272 done
19273
19274
19275 CXXFLAGS="$ac_save_CXXFLAGS"
19276 ac_ext=c
19277 ac_cpp='$CPP $CPPFLAGS'
19278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19281
19282
19283
19284 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19285
19286
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19288 $as_echo_n "checking for the value of EOF... " >&6; }
19289 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19290 $as_echo_n "(cached) " >&6
19291 else
19292
19293 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19294
19295 else
19296 as_fn_error "computing EOF failed" "$LINENO" 5
19297 fi
19298
19299
19300 fi
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19302 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19303
19304 cat >>confdefs.h <<_ACEOF
19305 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19306 _ACEOF
19307
19308
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19310 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19311 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19312 $as_echo_n "(cached) " >&6
19313 else
19314
19315 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19316
19317 else
19318 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19319 fi
19320
19321
19322 fi
19323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19324 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19325
19326 cat >>confdefs.h <<_ACEOF
19327 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19328 _ACEOF
19329
19330
19331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19332 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19333 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19334 $as_echo_n "(cached) " >&6
19335 else
19336
19337 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19338
19339 else
19340 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19341 fi
19342
19343
19344 fi
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19346 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19347
19348 cat >>confdefs.h <<_ACEOF
19349 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19350 _ACEOF
19351
19352
19353
19354 # For gettimeofday support.
19355
19356
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19358 $as_echo_n "checking for gettimeofday... " >&6; }
19359
19360
19361 ac_ext=cpp
19362 ac_cpp='$CXXCPP $CPPFLAGS'
19363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19366
19367 ac_save_CXXFLAGS="$CXXFLAGS"
19368 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19369
19370 ac_has_gettimeofday=no;
19371 for ac_header in sys/time.h
19372 do :
19373 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19374 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19375 cat >>confdefs.h <<_ACEOF
19376 #define HAVE_SYS_TIME_H 1
19377 _ACEOF
19378 ac_has_sys_time_h=yes
19379 else
19380 ac_has_sys_time_h=no
19381 fi
19382
19383 done
19384
19385 if test x"$ac_has_sys_time_h" = x"yes"; then
19386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19387 $as_echo_n "checking for gettimeofday... " >&6; }
19388 if test x$gcc_no_link = xyes; then
19389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19390 /* end confdefs.h. */
19391 #include <sys/time.h>
19392 int
19393 main ()
19394 {
19395 timeval tv; gettimeofday(&tv, 0);
19396 ;
19397 return 0;
19398 }
19399 _ACEOF
19400 if ac_fn_cxx_try_compile "$LINENO"; then :
19401 ac_has_gettimeofday=yes
19402 else
19403 ac_has_gettimeofday=no
19404 fi
19405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19406 else
19407 if test x$gcc_no_link = xyes; then
19408 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19409 fi
19410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19411 /* end confdefs.h. */
19412 #include <sys/time.h>
19413 int
19414 main ()
19415 {
19416 timeval tv; gettimeofday(&tv, 0);
19417 ;
19418 return 0;
19419 }
19420 _ACEOF
19421 if ac_fn_cxx_try_link "$LINENO"; then :
19422 ac_has_gettimeofday=yes
19423 else
19424 ac_has_gettimeofday=no
19425 fi
19426 rm -f core conftest.err conftest.$ac_objext \
19427 conftest$ac_exeext conftest.$ac_ext
19428 fi
19429
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19431 $as_echo "$ac_has_gettimeofday" >&6; }
19432 fi
19433
19434 if test x"$ac_has_gettimeofday" = x"yes"; then
19435
19436 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19437
19438 fi
19439
19440 CXXFLAGS="$ac_save_CXXFLAGS"
19441 ac_ext=c
19442 ac_cpp='$CPP $CPPFLAGS'
19443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19446
19447
19448
19449 # For clock_gettime, nanosleep and sched_yield support.
19450
19451
19452 # Check whether --enable-libstdcxx-time was given.
19453 if test "${enable_libstdcxx_time+set}" = set; then :
19454 enableval=$enable_libstdcxx_time;
19455 case "$enableval" in
19456 yes|no|rt) ;;
19457 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19458 esac
19459
19460 else
19461 enable_libstdcxx_time=auto
19462 fi
19463
19464
19465
19466
19467 ac_ext=cpp
19468 ac_cpp='$CXXCPP $CPPFLAGS'
19469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19472
19473 ac_save_CXXFLAGS="$CXXFLAGS"
19474 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19475 ac_save_LIBS="$LIBS"
19476
19477 ac_has_clock_monotonic=no
19478 ac_has_clock_realtime=no
19479 ac_has_nanosleep=no
19480 ac_has_sched_yield=no
19481
19482 if test x"$enable_libstdcxx_time" = x"auto"; then
19483
19484 case "${target_os}" in
19485 cygwin*)
19486 ac_has_nanosleep=yes
19487 ;;
19488 darwin*)
19489 ac_has_nanosleep=yes
19490 ac_has_sched_yield=yes
19491 ;;
19492 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19494 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19496 /* end confdefs.h. */
19497 #include <features.h>
19498 int
19499 main ()
19500 {
19501
19502 #if ! __GLIBC_PREREQ(2, 17)
19503 #error
19504 #endif
19505
19506 ;
19507 return 0;
19508 }
19509 _ACEOF
19510 if ac_fn_cxx_try_compile "$LINENO"; then :
19511 glibcxx_glibc217=yes
19512 else
19513 glibcxx_glibc217=no
19514 fi
19515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19517 $as_echo "$glibcxx_glibc217" >&6; }
19518
19519 if test x"$glibcxx_glibc217" = x"yes"; then
19520 ac_has_clock_monotonic=yes
19521 ac_has_clock_realtime=yes
19522 fi
19523 ac_has_nanosleep=yes
19524 ac_has_sched_yield=yes
19525 ;;
19526 freebsd*|netbsd*)
19527 ac_has_clock_monotonic=yes
19528 ac_has_clock_realtime=yes
19529 ac_has_nanosleep=yes
19530 ac_has_sched_yield=yes
19531 ;;
19532 openbsd*)
19533 ac_has_clock_monotonic=yes
19534 ac_has_clock_realtime=yes
19535 ac_has_nanosleep=yes
19536 ;;
19537 solaris*)
19538 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19539 ac_has_clock_monotonic=yes
19540 ac_has_clock_realtime=yes
19541 ac_has_nanosleep=yes
19542 ac_has_sched_yield=yes
19543 ;;
19544 esac
19545
19546 elif test x"$enable_libstdcxx_time" != x"no"; then
19547
19548 if test x"$enable_libstdcxx_time" = x"rt"; then
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19550 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19551 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19552 $as_echo_n "(cached) " >&6
19553 else
19554 ac_func_search_save_LIBS=$LIBS
19555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19556 /* end confdefs.h. */
19557
19558 /* Override any GCC internal prototype to avoid an error.
19559 Use char because int might match the return type of a GCC
19560 builtin and then its argument prototype would still apply. */
19561 #ifdef __cplusplus
19562 extern "C"
19563 #endif
19564 char clock_gettime ();
19565 int
19566 main ()
19567 {
19568 return clock_gettime ();
19569 ;
19570 return 0;
19571 }
19572 _ACEOF
19573 for ac_lib in '' rt posix4; do
19574 if test -z "$ac_lib"; then
19575 ac_res="none required"
19576 else
19577 ac_res=-l$ac_lib
19578 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19579 fi
19580 if test x$gcc_no_link = xyes; then
19581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19582 fi
19583 if ac_fn_cxx_try_link "$LINENO"; then :
19584 ac_cv_search_clock_gettime=$ac_res
19585 fi
19586 rm -f core conftest.err conftest.$ac_objext \
19587 conftest$ac_exeext
19588 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19589 break
19590 fi
19591 done
19592 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19593
19594 else
19595 ac_cv_search_clock_gettime=no
19596 fi
19597 rm conftest.$ac_ext
19598 LIBS=$ac_func_search_save_LIBS
19599 fi
19600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19601 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19602 ac_res=$ac_cv_search_clock_gettime
19603 if test "$ac_res" != no; then :
19604 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19605
19606 fi
19607
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19609 $as_echo_n "checking for library containing nanosleep... " >&6; }
19610 if test "${ac_cv_search_nanosleep+set}" = set; then :
19611 $as_echo_n "(cached) " >&6
19612 else
19613 ac_func_search_save_LIBS=$LIBS
19614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19615 /* end confdefs.h. */
19616
19617 /* Override any GCC internal prototype to avoid an error.
19618 Use char because int might match the return type of a GCC
19619 builtin and then its argument prototype would still apply. */
19620 #ifdef __cplusplus
19621 extern "C"
19622 #endif
19623 char nanosleep ();
19624 int
19625 main ()
19626 {
19627 return nanosleep ();
19628 ;
19629 return 0;
19630 }
19631 _ACEOF
19632 for ac_lib in '' rt posix4; do
19633 if test -z "$ac_lib"; then
19634 ac_res="none required"
19635 else
19636 ac_res=-l$ac_lib
19637 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19638 fi
19639 if test x$gcc_no_link = xyes; then
19640 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19641 fi
19642 if ac_fn_cxx_try_link "$LINENO"; then :
19643 ac_cv_search_nanosleep=$ac_res
19644 fi
19645 rm -f core conftest.err conftest.$ac_objext \
19646 conftest$ac_exeext
19647 if test "${ac_cv_search_nanosleep+set}" = set; then :
19648 break
19649 fi
19650 done
19651 if test "${ac_cv_search_nanosleep+set}" = set; then :
19652
19653 else
19654 ac_cv_search_nanosleep=no
19655 fi
19656 rm conftest.$ac_ext
19657 LIBS=$ac_func_search_save_LIBS
19658 fi
19659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19660 $as_echo "$ac_cv_search_nanosleep" >&6; }
19661 ac_res=$ac_cv_search_nanosleep
19662 if test "$ac_res" != no; then :
19663 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19664
19665 fi
19666
19667 else
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19669 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19670 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19671 $as_echo_n "(cached) " >&6
19672 else
19673 ac_func_search_save_LIBS=$LIBS
19674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19675 /* end confdefs.h. */
19676
19677 /* Override any GCC internal prototype to avoid an error.
19678 Use char because int might match the return type of a GCC
19679 builtin and then its argument prototype would still apply. */
19680 #ifdef __cplusplus
19681 extern "C"
19682 #endif
19683 char clock_gettime ();
19684 int
19685 main ()
19686 {
19687 return clock_gettime ();
19688 ;
19689 return 0;
19690 }
19691 _ACEOF
19692 for ac_lib in '' posix4; do
19693 if test -z "$ac_lib"; then
19694 ac_res="none required"
19695 else
19696 ac_res=-l$ac_lib
19697 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19698 fi
19699 if test x$gcc_no_link = xyes; then
19700 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19701 fi
19702 if ac_fn_cxx_try_link "$LINENO"; then :
19703 ac_cv_search_clock_gettime=$ac_res
19704 fi
19705 rm -f core conftest.err conftest.$ac_objext \
19706 conftest$ac_exeext
19707 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19708 break
19709 fi
19710 done
19711 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19712
19713 else
19714 ac_cv_search_clock_gettime=no
19715 fi
19716 rm conftest.$ac_ext
19717 LIBS=$ac_func_search_save_LIBS
19718 fi
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19720 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19721 ac_res=$ac_cv_search_clock_gettime
19722 if test "$ac_res" != no; then :
19723 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19724
19725 fi
19726
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19728 $as_echo_n "checking for library containing nanosleep... " >&6; }
19729 if test "${ac_cv_search_nanosleep+set}" = set; then :
19730 $as_echo_n "(cached) " >&6
19731 else
19732 ac_func_search_save_LIBS=$LIBS
19733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19734 /* end confdefs.h. */
19735
19736 /* Override any GCC internal prototype to avoid an error.
19737 Use char because int might match the return type of a GCC
19738 builtin and then its argument prototype would still apply. */
19739 #ifdef __cplusplus
19740 extern "C"
19741 #endif
19742 char nanosleep ();
19743 int
19744 main ()
19745 {
19746 return nanosleep ();
19747 ;
19748 return 0;
19749 }
19750 _ACEOF
19751 for ac_lib in '' posix4; do
19752 if test -z "$ac_lib"; then
19753 ac_res="none required"
19754 else
19755 ac_res=-l$ac_lib
19756 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19757 fi
19758 if test x$gcc_no_link = xyes; then
19759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19760 fi
19761 if ac_fn_cxx_try_link "$LINENO"; then :
19762 ac_cv_search_nanosleep=$ac_res
19763 fi
19764 rm -f core conftest.err conftest.$ac_objext \
19765 conftest$ac_exeext
19766 if test "${ac_cv_search_nanosleep+set}" = set; then :
19767 break
19768 fi
19769 done
19770 if test "${ac_cv_search_nanosleep+set}" = set; then :
19771
19772 else
19773 ac_cv_search_nanosleep=no
19774 fi
19775 rm conftest.$ac_ext
19776 LIBS=$ac_func_search_save_LIBS
19777 fi
19778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19779 $as_echo "$ac_cv_search_nanosleep" >&6; }
19780 ac_res=$ac_cv_search_nanosleep
19781 if test "$ac_res" != no; then :
19782 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19783
19784 fi
19785
19786 fi
19787
19788 case "$ac_cv_search_clock_gettime" in
19789 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19790 ;;
19791 esac
19792 case "$ac_cv_search_nanosleep" in
19793 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19794 ;;
19795 esac
19796
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19798 $as_echo_n "checking for library containing sched_yield... " >&6; }
19799 if test "${ac_cv_search_sched_yield+set}" = set; then :
19800 $as_echo_n "(cached) " >&6
19801 else
19802 ac_func_search_save_LIBS=$LIBS
19803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19804 /* end confdefs.h. */
19805
19806 /* Override any GCC internal prototype to avoid an error.
19807 Use char because int might match the return type of a GCC
19808 builtin and then its argument prototype would still apply. */
19809 #ifdef __cplusplus
19810 extern "C"
19811 #endif
19812 char sched_yield ();
19813 int
19814 main ()
19815 {
19816 return sched_yield ();
19817 ;
19818 return 0;
19819 }
19820 _ACEOF
19821 for ac_lib in '' rt posix4; do
19822 if test -z "$ac_lib"; then
19823 ac_res="none required"
19824 else
19825 ac_res=-l$ac_lib
19826 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19827 fi
19828 if test x$gcc_no_link = xyes; then
19829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19830 fi
19831 if ac_fn_cxx_try_link "$LINENO"; then :
19832 ac_cv_search_sched_yield=$ac_res
19833 fi
19834 rm -f core conftest.err conftest.$ac_objext \
19835 conftest$ac_exeext
19836 if test "${ac_cv_search_sched_yield+set}" = set; then :
19837 break
19838 fi
19839 done
19840 if test "${ac_cv_search_sched_yield+set}" = set; then :
19841
19842 else
19843 ac_cv_search_sched_yield=no
19844 fi
19845 rm conftest.$ac_ext
19846 LIBS=$ac_func_search_save_LIBS
19847 fi
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19849 $as_echo "$ac_cv_search_sched_yield" >&6; }
19850 ac_res=$ac_cv_search_sched_yield
19851 if test "$ac_res" != no; then :
19852 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19853
19854 fi
19855
19856
19857 case "$ac_cv_search_sched_yield" in
19858 -lposix4*)
19859 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19860 ac_has_sched_yield=yes
19861 ;;
19862 -lrt*)
19863 if test x"$enable_libstdcxx_time" = x"rt"; then
19864 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19865 ac_has_sched_yield=yes
19866 fi
19867 ;;
19868 *)
19869 ac_has_sched_yield=yes
19870 ;;
19871 esac
19872
19873 for ac_header in unistd.h
19874 do :
19875 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19876 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19877 cat >>confdefs.h <<_ACEOF
19878 #define HAVE_UNISTD_H 1
19879 _ACEOF
19880 ac_has_unistd_h=yes
19881 else
19882 ac_has_unistd_h=no
19883 fi
19884
19885 done
19886
19887
19888 if test x"$ac_has_unistd_h" = x"yes"; then
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19890 $as_echo_n "checking for monotonic clock... " >&6; }
19891 if test x$gcc_no_link = xyes; then
19892 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19893 fi
19894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19895 /* end confdefs.h. */
19896 #include <unistd.h>
19897 #include <time.h>
19898
19899 int
19900 main ()
19901 {
19902 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19903 timespec tp;
19904 #endif
19905 clock_gettime(CLOCK_MONOTONIC, &tp);
19906
19907 ;
19908 return 0;
19909 }
19910 _ACEOF
19911 if ac_fn_cxx_try_link "$LINENO"; then :
19912 ac_has_clock_monotonic=yes
19913 else
19914 ac_has_clock_monotonic=no
19915 fi
19916 rm -f core conftest.err conftest.$ac_objext \
19917 conftest$ac_exeext conftest.$ac_ext
19918
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19920 $as_echo "$ac_has_clock_monotonic" >&6; }
19921
19922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19923 $as_echo_n "checking for realtime clock... " >&6; }
19924 if test x$gcc_no_link = xyes; then
19925 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19926 fi
19927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19928 /* end confdefs.h. */
19929 #include <unistd.h>
19930 #include <time.h>
19931
19932 int
19933 main ()
19934 {
19935 #if _POSIX_TIMERS > 0
19936 timespec tp;
19937 #endif
19938 clock_gettime(CLOCK_REALTIME, &tp);
19939
19940 ;
19941 return 0;
19942 }
19943 _ACEOF
19944 if ac_fn_cxx_try_link "$LINENO"; then :
19945 ac_has_clock_realtime=yes
19946 else
19947 ac_has_clock_realtime=no
19948 fi
19949 rm -f core conftest.err conftest.$ac_objext \
19950 conftest$ac_exeext conftest.$ac_ext
19951
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19953 $as_echo "$ac_has_clock_realtime" >&6; }
19954
19955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19956 $as_echo_n "checking for nanosleep... " >&6; }
19957 if test x$gcc_no_link = xyes; then
19958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19959 fi
19960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19961 /* end confdefs.h. */
19962 #include <unistd.h>
19963 #include <time.h>
19964
19965 int
19966 main ()
19967 {
19968 #if _POSIX_TIMERS > 0
19969 timespec tp;
19970 #endif
19971 nanosleep(&tp, 0);
19972
19973 ;
19974 return 0;
19975 }
19976 _ACEOF
19977 if ac_fn_cxx_try_link "$LINENO"; then :
19978 ac_has_nanosleep=yes
19979 else
19980 ac_has_nanosleep=no
19981 fi
19982 rm -f core conftest.err conftest.$ac_objext \
19983 conftest$ac_exeext conftest.$ac_ext
19984
19985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19986 $as_echo "$ac_has_nanosleep" >&6; }
19987 fi
19988 fi
19989
19990 if test x"$ac_has_clock_monotonic" != x"yes"; then
19991 case ${target_os} in
19992 linux*)
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19994 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19996 /* end confdefs.h. */
19997 #include <unistd.h>
19998 #include <time.h>
19999 #include <sys/syscall.h>
20000
20001 int
20002 main ()
20003 {
20004 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20005 timespec tp;
20006 #endif
20007 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20008 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20009
20010 ;
20011 return 0;
20012 }
20013 _ACEOF
20014 if ac_fn_cxx_try_compile "$LINENO"; then :
20015 ac_has_clock_monotonic_syscall=yes
20016 else
20017 ac_has_clock_monotonic_syscall=no
20018 fi
20019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20021 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20022 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20023
20024 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20025
20026 ac_has_clock_monotonic=yes
20027 ac_has_clock_realtime=yes
20028 fi;;
20029 esac
20030 fi
20031
20032 if test x"$ac_has_clock_monotonic" = x"yes"; then
20033
20034 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20035
20036 fi
20037
20038 if test x"$ac_has_clock_realtime" = x"yes"; then
20039
20040 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20041
20042 fi
20043
20044 if test x"$ac_has_sched_yield" = x"yes"; then
20045
20046 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20047
20048 fi
20049
20050 if test x"$ac_has_nanosleep" = x"yes"; then
20051
20052 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20053
20054 else
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20056 $as_echo_n "checking for sleep... " >&6; }
20057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20058 /* end confdefs.h. */
20059 #include <unistd.h>
20060 int
20061 main ()
20062 {
20063 sleep(1)
20064 ;
20065 return 0;
20066 }
20067 _ACEOF
20068 if ac_fn_cxx_try_compile "$LINENO"; then :
20069 ac_has_sleep=yes
20070 else
20071 ac_has_sleep=no
20072 fi
20073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20074 if test x"$ac_has_sleep" = x"yes"; then
20075
20076 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20077
20078 fi
20079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20080 $as_echo "$ac_has_sleep" >&6; }
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20082 $as_echo_n "checking for usleep... " >&6; }
20083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20084 /* end confdefs.h. */
20085 #include <unistd.h>
20086 int
20087 main ()
20088 {
20089 sleep(1);
20090 usleep(100);
20091 ;
20092 return 0;
20093 }
20094 _ACEOF
20095 if ac_fn_cxx_try_compile "$LINENO"; then :
20096 ac_has_usleep=yes
20097 else
20098 ac_has_usleep=no
20099 fi
20100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20101 if test x"$ac_has_usleep" = x"yes"; then
20102
20103 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20104
20105 fi
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20107 $as_echo "$ac_has_usleep" >&6; }
20108 fi
20109
20110 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20112 $as_echo_n "checking for Sleep... " >&6; }
20113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20114 /* end confdefs.h. */
20115 #include <windows.h>
20116 int
20117 main ()
20118 {
20119 Sleep(1)
20120 ;
20121 return 0;
20122 }
20123 _ACEOF
20124 if ac_fn_cxx_try_compile "$LINENO"; then :
20125 ac_has_win32_sleep=yes
20126 else
20127 ac_has_win32_sleep=no
20128 fi
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20130 if test x"$ac_has_win32_sleep" = x"yes"; then
20131
20132 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20133
20134 fi
20135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20136 $as_echo "$ac_has_win32_sleep" >&6; }
20137 fi
20138
20139
20140
20141 CXXFLAGS="$ac_save_CXXFLAGS"
20142 LIBS="$ac_save_LIBS"
20143 ac_ext=c
20144 ac_cpp='$CPP $CPPFLAGS'
20145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20148
20149
20150
20151 # Check for tmpnam which is obsolescent in POSIX.1-2008
20152
20153 ac_ext=cpp
20154 ac_cpp='$CXXCPP $CPPFLAGS'
20155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20158
20159 ac_save_CXXFLAGS="$CXXFLAGS"
20160 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20162 $as_echo_n "checking for tmpnam... " >&6; }
20163 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20164 $as_echo_n "(cached) " >&6
20165 else
20166 if test x$gcc_no_link = xyes; then
20167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20168 /* end confdefs.h. */
20169 #include <stdio.h>
20170 int
20171 main ()
20172 {
20173 char *tmp = tmpnam(NULL);
20174 ;
20175 return 0;
20176 }
20177 _ACEOF
20178 if ac_fn_cxx_try_compile "$LINENO"; then :
20179 glibcxx_cv_TMPNAM=yes
20180 else
20181 glibcxx_cv_TMPNAM=no
20182 fi
20183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20184 else
20185 if test x$gcc_no_link = xyes; then
20186 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20187 fi
20188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20189 /* end confdefs.h. */
20190 #include <stdio.h>
20191 int
20192 main ()
20193 {
20194 char *tmp = tmpnam(NULL);
20195 ;
20196 return 0;
20197 }
20198 _ACEOF
20199 if ac_fn_cxx_try_link "$LINENO"; then :
20200 glibcxx_cv_TMPNAM=yes
20201 else
20202 glibcxx_cv_TMPNAM=no
20203 fi
20204 rm -f core conftest.err conftest.$ac_objext \
20205 conftest$ac_exeext conftest.$ac_ext
20206 fi
20207
20208 fi
20209
20210 if test $glibcxx_cv_TMPNAM = yes; then
20211
20212 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20213
20214 fi
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20216 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20217 CXXFLAGS="$ac_save_CXXFLAGS"
20218 ac_ext=c
20219 ac_cpp='$CPP $CPPFLAGS'
20220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20223
20224
20225
20226
20227 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20228 if test "x$ac_cv_header_locale_h" = x""yes; then :
20229
20230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20231 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20232 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20233 $as_echo_n "(cached) " >&6
20234 else
20235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20236 /* end confdefs.h. */
20237 #include <locale.h>
20238 int
20239 main ()
20240 {
20241 return LC_MESSAGES
20242 ;
20243 return 0;
20244 }
20245 _ACEOF
20246 if ac_fn_c_try_compile "$LINENO"; then :
20247 ac_cv_val_LC_MESSAGES=yes
20248 else
20249 ac_cv_val_LC_MESSAGES=no
20250 fi
20251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20252 fi
20253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20254 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20255 if test $ac_cv_val_LC_MESSAGES = yes; then
20256
20257 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20258
20259 fi
20260
20261 fi
20262
20263
20264
20265
20266 # For hardware_concurrency
20267 for ac_header in sys/sysinfo.h
20268 do :
20269 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20270 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20271 cat >>confdefs.h <<_ACEOF
20272 #define HAVE_SYS_SYSINFO_H 1
20273 _ACEOF
20274
20275 fi
20276
20277 done
20278
20279
20280
20281
20282 ac_ext=cpp
20283 ac_cpp='$CXXCPP $CPPFLAGS'
20284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20287
20288 ac_save_CXXFLAGS="$CXXFLAGS"
20289 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20290
20291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20292 $as_echo_n "checking for get_nprocs... " >&6; }
20293 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20294 $as_echo_n "(cached) " >&6
20295 else
20296
20297 if test x$gcc_no_link = xyes; then
20298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20299 /* end confdefs.h. */
20300 #include <sys/sysinfo.h>
20301 int
20302 main ()
20303 {
20304 int n = get_nprocs();
20305 ;
20306 return 0;
20307 }
20308 _ACEOF
20309 if ac_fn_cxx_try_compile "$LINENO"; then :
20310 glibcxx_cv_GET_NPROCS=yes
20311 else
20312 glibcxx_cv_GET_NPROCS=no
20313 fi
20314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20315 else
20316 if test x$gcc_no_link = xyes; then
20317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20318 fi
20319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20320 /* end confdefs.h. */
20321 #include <sys/sysinfo.h>
20322 int
20323 main ()
20324 {
20325 int n = get_nprocs();
20326 ;
20327 return 0;
20328 }
20329 _ACEOF
20330 if ac_fn_cxx_try_link "$LINENO"; then :
20331 glibcxx_cv_GET_NPROCS=yes
20332 else
20333 glibcxx_cv_GET_NPROCS=no
20334 fi
20335 rm -f core conftest.err conftest.$ac_objext \
20336 conftest$ac_exeext conftest.$ac_ext
20337 fi
20338
20339 fi
20340
20341 if test $glibcxx_cv_GET_NPROCS = yes; then
20342
20343 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20344
20345 fi
20346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20347 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20348
20349 CXXFLAGS="$ac_save_CXXFLAGS"
20350 ac_ext=c
20351 ac_cpp='$CPP $CPPFLAGS'
20352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20355
20356
20357 for ac_header in unistd.h
20358 do :
20359 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20360 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20361 cat >>confdefs.h <<_ACEOF
20362 #define HAVE_UNISTD_H 1
20363 _ACEOF
20364
20365 fi
20366
20367 done
20368
20369
20370
20371
20372 ac_ext=cpp
20373 ac_cpp='$CXXCPP $CPPFLAGS'
20374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20377
20378 ac_save_CXXFLAGS="$CXXFLAGS"
20379 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20380
20381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20382 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20383 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20384 $as_echo_n "(cached) " >&6
20385 else
20386
20387 if test x$gcc_no_link = xyes; then
20388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20389 /* end confdefs.h. */
20390 #include <unistd.h>
20391 int
20392 main ()
20393 {
20394 int n = sysconf(_SC_NPROCESSORS_ONLN);
20395 ;
20396 return 0;
20397 }
20398 _ACEOF
20399 if ac_fn_cxx_try_compile "$LINENO"; then :
20400 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20401 else
20402 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20403 fi
20404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20405 else
20406 if test x$gcc_no_link = xyes; then
20407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20408 fi
20409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20410 /* end confdefs.h. */
20411 #include <unistd.h>
20412 int
20413 main ()
20414 {
20415 int n = sysconf(_SC_NPROCESSORS_ONLN);
20416 ;
20417 return 0;
20418 }
20419 _ACEOF
20420 if ac_fn_cxx_try_link "$LINENO"; then :
20421 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20422 else
20423 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20424 fi
20425 rm -f core conftest.err conftest.$ac_objext \
20426 conftest$ac_exeext conftest.$ac_ext
20427 fi
20428
20429 fi
20430
20431 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20432
20433 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20434
20435 fi
20436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20437 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20438
20439 CXXFLAGS="$ac_save_CXXFLAGS"
20440 ac_ext=c
20441 ac_cpp='$CPP $CPPFLAGS'
20442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20445
20446
20447
20448
20449
20450 ac_ext=cpp
20451 ac_cpp='$CXXCPP $CPPFLAGS'
20452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20455
20456 ac_save_CXXFLAGS="$CXXFLAGS"
20457 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20458
20459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20460 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20461 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20462 $as_echo_n "(cached) " >&6
20463 else
20464
20465 if test x$gcc_no_link = xyes; then
20466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20467 /* end confdefs.h. */
20468 #include <unistd.h>
20469 int
20470 main ()
20471 {
20472 int n = sysconf(_SC_NPROC_ONLN);
20473 ;
20474 return 0;
20475 }
20476 _ACEOF
20477 if ac_fn_cxx_try_compile "$LINENO"; then :
20478 glibcxx_cv_SC_NPROC_ONLN=yes
20479 else
20480 glibcxx_cv_SC_NPROC_ONLN=no
20481 fi
20482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20483 else
20484 if test x$gcc_no_link = xyes; then
20485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20486 fi
20487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20488 /* end confdefs.h. */
20489 #include <unistd.h>
20490 int
20491 main ()
20492 {
20493 int n = sysconf(_SC_NPROC_ONLN);
20494 ;
20495 return 0;
20496 }
20497 _ACEOF
20498 if ac_fn_cxx_try_link "$LINENO"; then :
20499 glibcxx_cv_SC_NPROC_ONLN=yes
20500 else
20501 glibcxx_cv_SC_NPROC_ONLN=no
20502 fi
20503 rm -f core conftest.err conftest.$ac_objext \
20504 conftest$ac_exeext conftest.$ac_ext
20505 fi
20506
20507 fi
20508
20509 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20510
20511 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20512
20513 fi
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20515 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20516
20517 CXXFLAGS="$ac_save_CXXFLAGS"
20518 ac_ext=c
20519 ac_cpp='$CPP $CPPFLAGS'
20520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20523
20524
20525
20526
20527
20528 ac_ext=cpp
20529 ac_cpp='$CXXCPP $CPPFLAGS'
20530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20533
20534 ac_save_CXXFLAGS="$CXXFLAGS"
20535 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20536
20537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20538 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20539 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20540 $as_echo_n "(cached) " >&6
20541 else
20542
20543 if test x$gcc_no_link = xyes; then
20544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20545 /* end confdefs.h. */
20546 #include <pthread.h>
20547 int
20548 main ()
20549 {
20550 int n = pthread_num_processors_np();
20551 ;
20552 return 0;
20553 }
20554 _ACEOF
20555 if ac_fn_cxx_try_compile "$LINENO"; then :
20556 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20557 else
20558 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20559 fi
20560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20561 else
20562 if test x$gcc_no_link = xyes; then
20563 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20564 fi
20565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20566 /* end confdefs.h. */
20567 #include <pthread.h>
20568 int
20569 main ()
20570 {
20571 int n = pthread_num_processors_np();
20572 ;
20573 return 0;
20574 }
20575 _ACEOF
20576 if ac_fn_cxx_try_link "$LINENO"; then :
20577 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20578 else
20579 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20580 fi
20581 rm -f core conftest.err conftest.$ac_objext \
20582 conftest$ac_exeext conftest.$ac_ext
20583 fi
20584
20585 fi
20586
20587 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20588
20589 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20590
20591 fi
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20593 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20594
20595 CXXFLAGS="$ac_save_CXXFLAGS"
20596 ac_ext=c
20597 ac_cpp='$CPP $CPPFLAGS'
20598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20601
20602
20603
20604
20605
20606 ac_ext=cpp
20607 ac_cpp='$CXXCPP $CPPFLAGS'
20608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20611
20612 ac_save_CXXFLAGS="$CXXFLAGS"
20613 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20614
20615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20616 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20617 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20618 $as_echo_n "(cached) " >&6
20619 else
20620
20621 if test x$gcc_no_link = xyes; then
20622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20623 /* end confdefs.h. */
20624
20625 #include <stddef.h>
20626 #include <sys/sysctl.h>
20627
20628 int
20629 main ()
20630 {
20631
20632 int count;
20633 size_t size = sizeof(count);
20634 int mib[] = { CTL_HW, HW_NCPU };
20635 sysctl(mib, 2, &count, &size, NULL, 0);
20636
20637 ;
20638 return 0;
20639 }
20640 _ACEOF
20641 if ac_fn_cxx_try_compile "$LINENO"; then :
20642 glibcxx_cv_SYSCTL_HW_NCPU=yes
20643 else
20644 glibcxx_cv_SYSCTL_HW_NCPU=no
20645 fi
20646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20647 else
20648 if test x$gcc_no_link = xyes; then
20649 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20650 fi
20651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20652 /* end confdefs.h. */
20653
20654 #include <stddef.h>
20655 #include <sys/sysctl.h>
20656
20657 int
20658 main ()
20659 {
20660
20661 int count;
20662 size_t size = sizeof(count);
20663 int mib[] = { CTL_HW, HW_NCPU };
20664 sysctl(mib, 2, &count, &size, NULL, 0);
20665
20666 ;
20667 return 0;
20668 }
20669 _ACEOF
20670 if ac_fn_cxx_try_link "$LINENO"; then :
20671 glibcxx_cv_SYSCTL_HW_NCPU=yes
20672 else
20673 glibcxx_cv_SYSCTL_HW_NCPU=no
20674 fi
20675 rm -f core conftest.err conftest.$ac_objext \
20676 conftest$ac_exeext conftest.$ac_ext
20677 fi
20678
20679 fi
20680
20681 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20682
20683 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20684
20685 fi
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20687 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20688
20689 CXXFLAGS="$ac_save_CXXFLAGS"
20690 ac_ext=c
20691 ac_cpp='$CPP $CPPFLAGS'
20692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20695
20696
20697
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20699 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20700 # Note that this test has to be run with the C language.
20701 # Otherwise, sdt.h will try to include some headers from
20702 # libstdc++ itself.
20703
20704 ac_ext=c
20705 ac_cpp='$CPP $CPPFLAGS'
20706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20709
20710 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20711 $as_echo_n "(cached) " >&6
20712 else
20713
20714 # Because we have to run the test in C, we use grep rather
20715 # than the compiler to check for the bug. The bug is that
20716 # were strings without trailing whitespace, causing g++
20717 # to look for operator"". The pattern searches for the fixed
20718 # output.
20719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h. */
20721
20722 #include <sys/sdt.h>
20723 int f() { STAP_PROBE(hi, bob); }
20724
20725 _ACEOF
20726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20727 $EGREP " \",\" " >/dev/null 2>&1; then :
20728 glibcxx_cv_sys_sdt_h=yes
20729 else
20730 glibcxx_cv_sys_sdt_h=no
20731 fi
20732 rm -f conftest*
20733
20734
20735 fi
20736
20737 ac_ext=c
20738 ac_cpp='$CPP $CPPFLAGS'
20739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20742
20743 if test $glibcxx_cv_sys_sdt_h = yes; then
20744
20745 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20746
20747 fi
20748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20749 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20750
20751
20752 # Check for available headers.
20753 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20754 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20755 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20756 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20757 wchar.h wctype.h
20758 do :
20759 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20760 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20761 eval as_val=\$$as_ac_Header
20762 if test "x$as_val" = x""yes; then :
20763 cat >>confdefs.h <<_ACEOF
20764 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20765 _ACEOF
20766
20767 fi
20768
20769 done
20770
20771
20772 # Only do link tests if native. Else, hardcode.
20773 if $GLIBCXX_IS_NATIVE; then
20774
20775 # We can do more elaborate tests that assume a working linker.
20776 CANADIAN=no
20777
20778
20779
20780 # Check whether --with-gnu-ld was given.
20781 if test "${with_gnu_ld+set}" = set; then :
20782 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20783 else
20784 with_gnu_ld=no
20785 fi
20786
20787 ac_prog=ld
20788 if test "$GCC" = yes; then
20789 # Check if gcc -print-prog-name=ld gives a path.
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20791 $as_echo_n "checking for ld used by $CC... " >&6; }
20792 case $host in
20793 *-*-mingw*)
20794 # gcc leaves a trailing carriage return which upsets mingw
20795 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20796 *)
20797 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20798 esac
20799 case $ac_prog in
20800 # Accept absolute paths.
20801 [\\/]* | ?:[\\/]*)
20802 re_direlt='/[^/][^/]*/\.\./'
20803 # Canonicalize the pathname of ld
20804 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20805 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20806 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20807 done
20808 test -z "$LD" && LD="$ac_prog"
20809 ;;
20810 "")
20811 # If it fails, then pretend we aren't using GCC.
20812 ac_prog=ld
20813 ;;
20814 *)
20815 # If it is relative, then search for the first ld in PATH.
20816 with_gnu_ld=unknown
20817 ;;
20818 esac
20819 elif test "$with_gnu_ld" = yes; then
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20821 $as_echo_n "checking for GNU ld... " >&6; }
20822 else
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20824 $as_echo_n "checking for non-GNU ld... " >&6; }
20825 fi
20826 if test "${lt_cv_path_LD+set}" = set; then :
20827 $as_echo_n "(cached) " >&6
20828 else
20829 if test -z "$LD"; then
20830 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20831 for ac_dir in $PATH; do
20832 IFS="$lt_save_ifs"
20833 test -z "$ac_dir" && ac_dir=.
20834 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20835 lt_cv_path_LD="$ac_dir/$ac_prog"
20836 # Check to see if the program is GNU ld. I'd rather use --version,
20837 # but apparently some variants of GNU ld only accept -v.
20838 # Break only if it was the GNU/non-GNU ld that we prefer.
20839 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20840 *GNU* | *'with BFD'*)
20841 test "$with_gnu_ld" != no && break
20842 ;;
20843 *)
20844 test "$with_gnu_ld" != yes && break
20845 ;;
20846 esac
20847 fi
20848 done
20849 IFS="$lt_save_ifs"
20850 else
20851 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20852 fi
20853 fi
20854
20855 LD="$lt_cv_path_LD"
20856 if test -n "$LD"; then
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20858 $as_echo "$LD" >&6; }
20859 else
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20861 $as_echo "no" >&6; }
20862 fi
20863 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20865 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20866 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20867 $as_echo_n "(cached) " >&6
20868 else
20869 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20870 case `$LD -v 2>&1 </dev/null` in
20871 *GNU* | *'with BFD'*)
20872 lt_cv_prog_gnu_ld=yes
20873 ;;
20874 *)
20875 lt_cv_prog_gnu_ld=no
20876 ;;
20877 esac
20878 fi
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20880 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20881 with_gnu_ld=$lt_cv_prog_gnu_ld
20882
20883
20884
20885
20886
20887
20888
20889 # If we're not using GNU ld, then there's no point in even trying these
20890 # tests. Check for that first. We should have already tested for gld
20891 # by now (in libtool), but require it now just to be safe...
20892 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20893 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20894
20895
20896
20897 # The name set by libtool depends on the version of libtool. Shame on us
20898 # for depending on an impl detail, but c'est la vie. Older versions used
20899 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20900 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20901 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20902 # set (hence we're using an older libtool), then set it.
20903 if test x${with_gnu_ld+set} != xset; then
20904 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20905 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20906 with_gnu_ld=no
20907 else
20908 with_gnu_ld=$ac_cv_prog_gnu_ld
20909 fi
20910 fi
20911
20912 # Start by getting the version number. I think the libtool test already
20913 # does some of this, but throws away the result.
20914 glibcxx_ld_is_gold=no
20915 if test x"$with_gnu_ld" = x"yes"; then
20916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20917 $as_echo_n "checking for ld version... " >&6; }
20918
20919 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20920 glibcxx_ld_is_gold=yes
20921 fi
20922 ldver=`$LD --version 2>/dev/null |
20923 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'`
20924
20925 glibcxx_gnu_ld_version=`echo $ldver | \
20926 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20928 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20929 fi
20930
20931 # Set --gc-sections.
20932 glibcxx_have_gc_sections=no
20933 if test "$glibcxx_ld_is_gold" = "yes"; then
20934 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20935 glibcxx_have_gc_sections=yes
20936 fi
20937 else
20938 glibcxx_gcsections_min_ld=21602
20939 if test x"$with_gnu_ld" = x"yes" &&
20940 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20941 glibcxx_have_gc_sections=yes
20942 fi
20943 fi
20944 if test "$glibcxx_have_gc_sections" = "yes"; then
20945 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20946 # NB: This flag only works reliably after 2.16.1. Configure tests
20947 # for this are difficult, so hard wire a value that should work.
20948
20949 ac_test_CFLAGS="${CFLAGS+set}"
20950 ac_save_CFLAGS="$CFLAGS"
20951 CFLAGS='-Wl,--gc-sections'
20952
20953 # Check for -Wl,--gc-sections
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20955 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20956 if test x$gcc_no_link = xyes; then
20957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20958 fi
20959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20961 int one(void) { return 1; }
20962 int two(void) { return 2; }
20963
20964 int
20965 main ()
20966 {
20967 two();
20968 ;
20969 return 0;
20970 }
20971 _ACEOF
20972 if ac_fn_c_try_link "$LINENO"; then :
20973 ac_gcsections=yes
20974 else
20975 ac_gcsections=no
20976 fi
20977 rm -f core conftest.err conftest.$ac_objext \
20978 conftest$ac_exeext conftest.$ac_ext
20979 if test "$ac_gcsections" = "yes"; then
20980 rm -f conftest.c
20981 touch conftest.c
20982 if $CC -c conftest.c; then
20983 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20984 grep "Warning: gc-sections option ignored" > /dev/null; then
20985 ac_gcsections=no
20986 fi
20987 fi
20988 rm -f conftest.c conftest.o conftest
20989 fi
20990 if test "$ac_gcsections" = "yes"; then
20991 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20992 fi
20993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20994 $as_echo "$ac_gcsections" >&6; }
20995
20996 if test "$ac_test_CFLAGS" = set; then
20997 CFLAGS="$ac_save_CFLAGS"
20998 else
20999 # this is the suspicious part
21000 CFLAGS=''
21001 fi
21002 fi
21003
21004 # Set -z,relro.
21005 # Note this is only for shared objects.
21006 ac_ld_relro=no
21007 if test x"$with_gnu_ld" = x"yes"; then
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21009 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21010 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21011 if test -n "$cxx_z_relo"; then
21012 OPT_LDFLAGS="-Wl,-z,relro"
21013 ac_ld_relro=yes
21014 fi
21015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21016 $as_echo "$ac_ld_relro" >&6; }
21017 fi
21018
21019 # Set linker optimization flags.
21020 if test x"$with_gnu_ld" = x"yes"; then
21021 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21022 fi
21023
21024
21025
21026
21027
21028 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21029 ac_save_CXXFLAGS="$CXXFLAGS"
21030 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21031
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21033 $as_echo_n "checking for sin in -lm... " >&6; }
21034 if test "${ac_cv_lib_m_sin+set}" = set; then :
21035 $as_echo_n "(cached) " >&6
21036 else
21037 ac_check_lib_save_LIBS=$LIBS
21038 LIBS="-lm $LIBS"
21039 if test x$gcc_no_link = xyes; then
21040 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21041 fi
21042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21043 /* end confdefs.h. */
21044
21045 /* Override any GCC internal prototype to avoid an error.
21046 Use char because int might match the return type of a GCC
21047 builtin and then its argument prototype would still apply. */
21048 #ifdef __cplusplus
21049 extern "C"
21050 #endif
21051 char sin ();
21052 int
21053 main ()
21054 {
21055 return sin ();
21056 ;
21057 return 0;
21058 }
21059 _ACEOF
21060 if ac_fn_c_try_link "$LINENO"; then :
21061 ac_cv_lib_m_sin=yes
21062 else
21063 ac_cv_lib_m_sin=no
21064 fi
21065 rm -f core conftest.err conftest.$ac_objext \
21066 conftest$ac_exeext conftest.$ac_ext
21067 LIBS=$ac_check_lib_save_LIBS
21068 fi
21069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21070 $as_echo "$ac_cv_lib_m_sin" >&6; }
21071 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21072 libm="-lm"
21073 fi
21074
21075 ac_save_LIBS="$LIBS"
21076 LIBS="$LIBS $libm"
21077
21078
21079
21080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21081 $as_echo_n "checking for isinf declaration... " >&6; }
21082 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21083 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21084 $as_echo_n "(cached) " >&6
21085 else
21086
21087
21088 ac_ext=cpp
21089 ac_cpp='$CXXCPP $CPPFLAGS'
21090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21093
21094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21095 /* end confdefs.h. */
21096 #include <math.h>
21097 #ifdef HAVE_IEEEFP_H
21098 #include <ieeefp.h>
21099 #endif
21100
21101 int
21102 main ()
21103 {
21104 isinf(0);
21105 ;
21106 return 0;
21107 }
21108 _ACEOF
21109 if ac_fn_cxx_try_compile "$LINENO"; then :
21110 glibcxx_cv_func_isinf_use=yes
21111 else
21112 glibcxx_cv_func_isinf_use=no
21113 fi
21114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21115 ac_ext=c
21116 ac_cpp='$CPP $CPPFLAGS'
21117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21120
21121
21122 fi
21123
21124 fi
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21126 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21127
21128 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21129 for ac_func in isinf
21130 do :
21131 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21132 if test "x$ac_cv_func_isinf" = x""yes; then :
21133 cat >>confdefs.h <<_ACEOF
21134 #define HAVE_ISINF 1
21135 _ACEOF
21136
21137 fi
21138 done
21139
21140 else
21141
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21143 $as_echo_n "checking for _isinf declaration... " >&6; }
21144 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21145 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21146 $as_echo_n "(cached) " >&6
21147 else
21148
21149
21150 ac_ext=cpp
21151 ac_cpp='$CXXCPP $CPPFLAGS'
21152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21155
21156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21157 /* end confdefs.h. */
21158 #include <math.h>
21159 #ifdef HAVE_IEEEFP_H
21160 #include <ieeefp.h>
21161 #endif
21162
21163 int
21164 main ()
21165 {
21166 _isinf(0);
21167 ;
21168 return 0;
21169 }
21170 _ACEOF
21171 if ac_fn_cxx_try_compile "$LINENO"; then :
21172 glibcxx_cv_func__isinf_use=yes
21173 else
21174 glibcxx_cv_func__isinf_use=no
21175 fi
21176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21177 ac_ext=c
21178 ac_cpp='$CPP $CPPFLAGS'
21179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21182
21183
21184 fi
21185
21186 fi
21187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21188 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21189
21190 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21191 for ac_func in _isinf
21192 do :
21193 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21194 if test "x$ac_cv_func__isinf" = x""yes; then :
21195 cat >>confdefs.h <<_ACEOF
21196 #define HAVE__ISINF 1
21197 _ACEOF
21198
21199 fi
21200 done
21201
21202 fi
21203 fi
21204
21205
21206
21207
21208
21209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21210 $as_echo_n "checking for isnan declaration... " >&6; }
21211 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21212 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21213 $as_echo_n "(cached) " >&6
21214 else
21215
21216
21217 ac_ext=cpp
21218 ac_cpp='$CXXCPP $CPPFLAGS'
21219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21222
21223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21224 /* end confdefs.h. */
21225 #include <math.h>
21226 #ifdef HAVE_IEEEFP_H
21227 #include <ieeefp.h>
21228 #endif
21229
21230 int
21231 main ()
21232 {
21233 isnan(0);
21234 ;
21235 return 0;
21236 }
21237 _ACEOF
21238 if ac_fn_cxx_try_compile "$LINENO"; then :
21239 glibcxx_cv_func_isnan_use=yes
21240 else
21241 glibcxx_cv_func_isnan_use=no
21242 fi
21243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21244 ac_ext=c
21245 ac_cpp='$CPP $CPPFLAGS'
21246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21249
21250
21251 fi
21252
21253 fi
21254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21255 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21256
21257 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21258 for ac_func in isnan
21259 do :
21260 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21261 if test "x$ac_cv_func_isnan" = x""yes; then :
21262 cat >>confdefs.h <<_ACEOF
21263 #define HAVE_ISNAN 1
21264 _ACEOF
21265
21266 fi
21267 done
21268
21269 else
21270
21271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21272 $as_echo_n "checking for _isnan declaration... " >&6; }
21273 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21274 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21275 $as_echo_n "(cached) " >&6
21276 else
21277
21278
21279 ac_ext=cpp
21280 ac_cpp='$CXXCPP $CPPFLAGS'
21281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21284
21285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21287 #include <math.h>
21288 #ifdef HAVE_IEEEFP_H
21289 #include <ieeefp.h>
21290 #endif
21291
21292 int
21293 main ()
21294 {
21295 _isnan(0);
21296 ;
21297 return 0;
21298 }
21299 _ACEOF
21300 if ac_fn_cxx_try_compile "$LINENO"; then :
21301 glibcxx_cv_func__isnan_use=yes
21302 else
21303 glibcxx_cv_func__isnan_use=no
21304 fi
21305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21306 ac_ext=c
21307 ac_cpp='$CPP $CPPFLAGS'
21308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21311
21312
21313 fi
21314
21315 fi
21316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21317 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21318
21319 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21320 for ac_func in _isnan
21321 do :
21322 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21323 if test "x$ac_cv_func__isnan" = x""yes; then :
21324 cat >>confdefs.h <<_ACEOF
21325 #define HAVE__ISNAN 1
21326 _ACEOF
21327
21328 fi
21329 done
21330
21331 fi
21332 fi
21333
21334
21335
21336
21337
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21339 $as_echo_n "checking for finite declaration... " >&6; }
21340 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21341 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21342 $as_echo_n "(cached) " >&6
21343 else
21344
21345
21346 ac_ext=cpp
21347 ac_cpp='$CXXCPP $CPPFLAGS'
21348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21351
21352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21353 /* end confdefs.h. */
21354 #include <math.h>
21355 #ifdef HAVE_IEEEFP_H
21356 #include <ieeefp.h>
21357 #endif
21358
21359 int
21360 main ()
21361 {
21362 finite(0);
21363 ;
21364 return 0;
21365 }
21366 _ACEOF
21367 if ac_fn_cxx_try_compile "$LINENO"; then :
21368 glibcxx_cv_func_finite_use=yes
21369 else
21370 glibcxx_cv_func_finite_use=no
21371 fi
21372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21373 ac_ext=c
21374 ac_cpp='$CPP $CPPFLAGS'
21375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21378
21379
21380 fi
21381
21382 fi
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21384 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21385
21386 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21387 for ac_func in finite
21388 do :
21389 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21390 if test "x$ac_cv_func_finite" = x""yes; then :
21391 cat >>confdefs.h <<_ACEOF
21392 #define HAVE_FINITE 1
21393 _ACEOF
21394
21395 fi
21396 done
21397
21398 else
21399
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21401 $as_echo_n "checking for _finite declaration... " >&6; }
21402 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21403 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21404 $as_echo_n "(cached) " >&6
21405 else
21406
21407
21408 ac_ext=cpp
21409 ac_cpp='$CXXCPP $CPPFLAGS'
21410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21413
21414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21415 /* end confdefs.h. */
21416 #include <math.h>
21417 #ifdef HAVE_IEEEFP_H
21418 #include <ieeefp.h>
21419 #endif
21420
21421 int
21422 main ()
21423 {
21424 _finite(0);
21425 ;
21426 return 0;
21427 }
21428 _ACEOF
21429 if ac_fn_cxx_try_compile "$LINENO"; then :
21430 glibcxx_cv_func__finite_use=yes
21431 else
21432 glibcxx_cv_func__finite_use=no
21433 fi
21434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21435 ac_ext=c
21436 ac_cpp='$CPP $CPPFLAGS'
21437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21440
21441
21442 fi
21443
21444 fi
21445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21446 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21447
21448 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21449 for ac_func in _finite
21450 do :
21451 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21452 if test "x$ac_cv_func__finite" = x""yes; then :
21453 cat >>confdefs.h <<_ACEOF
21454 #define HAVE__FINITE 1
21455 _ACEOF
21456
21457 fi
21458 done
21459
21460 fi
21461 fi
21462
21463
21464
21465
21466
21467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21468 $as_echo_n "checking for sincos declaration... " >&6; }
21469 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21470 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21471 $as_echo_n "(cached) " >&6
21472 else
21473
21474
21475 ac_ext=cpp
21476 ac_cpp='$CXXCPP $CPPFLAGS'
21477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21480
21481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21482 /* end confdefs.h. */
21483 #include <math.h>
21484 int
21485 main ()
21486 {
21487 sincos(0, 0, 0);
21488 ;
21489 return 0;
21490 }
21491 _ACEOF
21492 if ac_fn_cxx_try_compile "$LINENO"; then :
21493 glibcxx_cv_func_sincos_use=yes
21494 else
21495 glibcxx_cv_func_sincos_use=no
21496 fi
21497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21498 ac_ext=c
21499 ac_cpp='$CPP $CPPFLAGS'
21500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21503
21504
21505 fi
21506
21507 fi
21508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21509 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21510
21511 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21512 for ac_func in sincos
21513 do :
21514 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21515 if test "x$ac_cv_func_sincos" = x""yes; then :
21516 cat >>confdefs.h <<_ACEOF
21517 #define HAVE_SINCOS 1
21518 _ACEOF
21519
21520 fi
21521 done
21522
21523 else
21524
21525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21526 $as_echo_n "checking for _sincos declaration... " >&6; }
21527 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21528 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21529 $as_echo_n "(cached) " >&6
21530 else
21531
21532
21533 ac_ext=cpp
21534 ac_cpp='$CXXCPP $CPPFLAGS'
21535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21538
21539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21540 /* end confdefs.h. */
21541 #include <math.h>
21542 int
21543 main ()
21544 {
21545 _sincos(0, 0, 0);
21546 ;
21547 return 0;
21548 }
21549 _ACEOF
21550 if ac_fn_cxx_try_compile "$LINENO"; then :
21551 glibcxx_cv_func__sincos_use=yes
21552 else
21553 glibcxx_cv_func__sincos_use=no
21554 fi
21555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21556 ac_ext=c
21557 ac_cpp='$CPP $CPPFLAGS'
21558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21561
21562
21563 fi
21564
21565 fi
21566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21567 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21568
21569 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21570 for ac_func in _sincos
21571 do :
21572 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21573 if test "x$ac_cv_func__sincos" = x""yes; then :
21574 cat >>confdefs.h <<_ACEOF
21575 #define HAVE__SINCOS 1
21576 _ACEOF
21577
21578 fi
21579 done
21580
21581 fi
21582 fi
21583
21584
21585
21586
21587
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21589 $as_echo_n "checking for fpclass declaration... " >&6; }
21590 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21591 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21592 $as_echo_n "(cached) " >&6
21593 else
21594
21595
21596 ac_ext=cpp
21597 ac_cpp='$CXXCPP $CPPFLAGS'
21598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21601
21602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21603 /* end confdefs.h. */
21604 #include <math.h>
21605 #ifdef HAVE_IEEEFP_H
21606 #include <ieeefp.h>
21607 #endif
21608
21609 int
21610 main ()
21611 {
21612 fpclass(0);
21613 ;
21614 return 0;
21615 }
21616 _ACEOF
21617 if ac_fn_cxx_try_compile "$LINENO"; then :
21618 glibcxx_cv_func_fpclass_use=yes
21619 else
21620 glibcxx_cv_func_fpclass_use=no
21621 fi
21622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21623 ac_ext=c
21624 ac_cpp='$CPP $CPPFLAGS'
21625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21628
21629
21630 fi
21631
21632 fi
21633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21634 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21635
21636 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21637 for ac_func in fpclass
21638 do :
21639 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21640 if test "x$ac_cv_func_fpclass" = x""yes; then :
21641 cat >>confdefs.h <<_ACEOF
21642 #define HAVE_FPCLASS 1
21643 _ACEOF
21644
21645 fi
21646 done
21647
21648 else
21649
21650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21651 $as_echo_n "checking for _fpclass declaration... " >&6; }
21652 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21653 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21654 $as_echo_n "(cached) " >&6
21655 else
21656
21657
21658 ac_ext=cpp
21659 ac_cpp='$CXXCPP $CPPFLAGS'
21660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21663
21664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21665 /* end confdefs.h. */
21666 #include <math.h>
21667 #ifdef HAVE_IEEEFP_H
21668 #include <ieeefp.h>
21669 #endif
21670
21671 int
21672 main ()
21673 {
21674 _fpclass(0);
21675 ;
21676 return 0;
21677 }
21678 _ACEOF
21679 if ac_fn_cxx_try_compile "$LINENO"; then :
21680 glibcxx_cv_func__fpclass_use=yes
21681 else
21682 glibcxx_cv_func__fpclass_use=no
21683 fi
21684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21685 ac_ext=c
21686 ac_cpp='$CPP $CPPFLAGS'
21687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21690
21691
21692 fi
21693
21694 fi
21695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21696 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21697
21698 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21699 for ac_func in _fpclass
21700 do :
21701 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21702 if test "x$ac_cv_func__fpclass" = x""yes; then :
21703 cat >>confdefs.h <<_ACEOF
21704 #define HAVE__FPCLASS 1
21705 _ACEOF
21706
21707 fi
21708 done
21709
21710 fi
21711 fi
21712
21713
21714
21715
21716
21717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21718 $as_echo_n "checking for qfpclass declaration... " >&6; }
21719 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21720 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21721 $as_echo_n "(cached) " >&6
21722 else
21723
21724
21725 ac_ext=cpp
21726 ac_cpp='$CXXCPP $CPPFLAGS'
21727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21730
21731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21732 /* end confdefs.h. */
21733 #include <math.h>
21734 #ifdef HAVE_IEEEFP_H
21735 #include <ieeefp.h>
21736 #endif
21737
21738 int
21739 main ()
21740 {
21741 qfpclass(0);
21742 ;
21743 return 0;
21744 }
21745 _ACEOF
21746 if ac_fn_cxx_try_compile "$LINENO"; then :
21747 glibcxx_cv_func_qfpclass_use=yes
21748 else
21749 glibcxx_cv_func_qfpclass_use=no
21750 fi
21751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21752 ac_ext=c
21753 ac_cpp='$CPP $CPPFLAGS'
21754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21757
21758
21759 fi
21760
21761 fi
21762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21763 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21764
21765 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21766 for ac_func in qfpclass
21767 do :
21768 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21769 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21770 cat >>confdefs.h <<_ACEOF
21771 #define HAVE_QFPCLASS 1
21772 _ACEOF
21773
21774 fi
21775 done
21776
21777 else
21778
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21780 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21781 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21782 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21783 $as_echo_n "(cached) " >&6
21784 else
21785
21786
21787 ac_ext=cpp
21788 ac_cpp='$CXXCPP $CPPFLAGS'
21789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21792
21793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21794 /* end confdefs.h. */
21795 #include <math.h>
21796 #ifdef HAVE_IEEEFP_H
21797 #include <ieeefp.h>
21798 #endif
21799
21800 int
21801 main ()
21802 {
21803 _qfpclass(0);
21804 ;
21805 return 0;
21806 }
21807 _ACEOF
21808 if ac_fn_cxx_try_compile "$LINENO"; then :
21809 glibcxx_cv_func__qfpclass_use=yes
21810 else
21811 glibcxx_cv_func__qfpclass_use=no
21812 fi
21813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21814 ac_ext=c
21815 ac_cpp='$CPP $CPPFLAGS'
21816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21819
21820
21821 fi
21822
21823 fi
21824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21825 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21826
21827 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21828 for ac_func in _qfpclass
21829 do :
21830 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21831 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21832 cat >>confdefs.h <<_ACEOF
21833 #define HAVE__QFPCLASS 1
21834 _ACEOF
21835
21836 fi
21837 done
21838
21839 fi
21840 fi
21841
21842
21843
21844
21845
21846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21847 $as_echo_n "checking for hypot declaration... " >&6; }
21848 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21849 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21850 $as_echo_n "(cached) " >&6
21851 else
21852
21853
21854 ac_ext=cpp
21855 ac_cpp='$CXXCPP $CPPFLAGS'
21856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21859
21860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21861 /* end confdefs.h. */
21862 #include <math.h>
21863 int
21864 main ()
21865 {
21866 hypot(0, 0);
21867 ;
21868 return 0;
21869 }
21870 _ACEOF
21871 if ac_fn_cxx_try_compile "$LINENO"; then :
21872 glibcxx_cv_func_hypot_use=yes
21873 else
21874 glibcxx_cv_func_hypot_use=no
21875 fi
21876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21877 ac_ext=c
21878 ac_cpp='$CPP $CPPFLAGS'
21879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21882
21883
21884 fi
21885
21886 fi
21887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21888 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21889
21890 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21891 for ac_func in hypot
21892 do :
21893 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21894 if test "x$ac_cv_func_hypot" = x""yes; then :
21895 cat >>confdefs.h <<_ACEOF
21896 #define HAVE_HYPOT 1
21897 _ACEOF
21898
21899 fi
21900 done
21901
21902 else
21903
21904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21905 $as_echo_n "checking for _hypot declaration... " >&6; }
21906 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21907 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21908 $as_echo_n "(cached) " >&6
21909 else
21910
21911
21912 ac_ext=cpp
21913 ac_cpp='$CXXCPP $CPPFLAGS'
21914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21917
21918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21919 /* end confdefs.h. */
21920 #include <math.h>
21921 int
21922 main ()
21923 {
21924 _hypot(0, 0);
21925 ;
21926 return 0;
21927 }
21928 _ACEOF
21929 if ac_fn_cxx_try_compile "$LINENO"; then :
21930 glibcxx_cv_func__hypot_use=yes
21931 else
21932 glibcxx_cv_func__hypot_use=no
21933 fi
21934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21935 ac_ext=c
21936 ac_cpp='$CPP $CPPFLAGS'
21937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21940
21941
21942 fi
21943
21944 fi
21945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21946 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21947
21948 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21949 for ac_func in _hypot
21950 do :
21951 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21952 if test "x$ac_cv_func__hypot" = x""yes; then :
21953 cat >>confdefs.h <<_ACEOF
21954 #define HAVE__HYPOT 1
21955 _ACEOF
21956
21957 fi
21958 done
21959
21960 fi
21961 fi
21962
21963
21964
21965
21966
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21968 $as_echo_n "checking for float trig functions... " >&6; }
21969 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21970 $as_echo_n "(cached) " >&6
21971 else
21972
21973
21974 ac_ext=cpp
21975 ac_cpp='$CXXCPP $CPPFLAGS'
21976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21979
21980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21981 /* end confdefs.h. */
21982 #include <math.h>
21983 int
21984 main ()
21985 {
21986 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21987 ;
21988 return 0;
21989 }
21990 _ACEOF
21991 if ac_fn_cxx_try_compile "$LINENO"; then :
21992 glibcxx_cv_func_float_trig_use=yes
21993 else
21994 glibcxx_cv_func_float_trig_use=no
21995 fi
21996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21997 ac_ext=c
21998 ac_cpp='$CPP $CPPFLAGS'
21999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22002
22003 fi
22004
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22006 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22007 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22008 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22009 do :
22010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22012 eval as_val=\$$as_ac_var
22013 if test "x$as_val" = x""yes; then :
22014 cat >>confdefs.h <<_ACEOF
22015 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22016 _ACEOF
22017
22018 fi
22019 done
22020
22021 else
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22023 $as_echo_n "checking for _float trig functions... " >&6; }
22024 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22025 $as_echo_n "(cached) " >&6
22026 else
22027
22028
22029 ac_ext=cpp
22030 ac_cpp='$CXXCPP $CPPFLAGS'
22031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22034
22035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22036 /* end confdefs.h. */
22037 #include <math.h>
22038 int
22039 main ()
22040 {
22041 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22042 ;
22043 return 0;
22044 }
22045 _ACEOF
22046 if ac_fn_cxx_try_compile "$LINENO"; then :
22047 glibcxx_cv_func__float_trig_use=yes
22048 else
22049 glibcxx_cv_func__float_trig_use=no
22050 fi
22051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22052 ac_ext=c
22053 ac_cpp='$CPP $CPPFLAGS'
22054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22057
22058 fi
22059
22060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22061 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22062 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22063 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22064 do :
22065 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22066 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22067 eval as_val=\$$as_ac_var
22068 if test "x$as_val" = x""yes; then :
22069 cat >>confdefs.h <<_ACEOF
22070 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22071 _ACEOF
22072
22073 fi
22074 done
22075
22076 fi
22077 fi
22078
22079
22080
22081
22082
22083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22084 $as_echo_n "checking for float round functions... " >&6; }
22085 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22086 $as_echo_n "(cached) " >&6
22087 else
22088
22089
22090 ac_ext=cpp
22091 ac_cpp='$CXXCPP $CPPFLAGS'
22092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22095
22096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22097 /* end confdefs.h. */
22098 #include <math.h>
22099 int
22100 main ()
22101 {
22102 ceilf (0); floorf (0);
22103 ;
22104 return 0;
22105 }
22106 _ACEOF
22107 if ac_fn_cxx_try_compile "$LINENO"; then :
22108 glibcxx_cv_func_float_round_use=yes
22109 else
22110 glibcxx_cv_func_float_round_use=no
22111 fi
22112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22113 ac_ext=c
22114 ac_cpp='$CPP $CPPFLAGS'
22115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22118
22119 fi
22120
22121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22122 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22123 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22124 for ac_func in ceilf floorf
22125 do :
22126 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22127 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22128 eval as_val=\$$as_ac_var
22129 if test "x$as_val" = x""yes; then :
22130 cat >>confdefs.h <<_ACEOF
22131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22132 _ACEOF
22133
22134 fi
22135 done
22136
22137 else
22138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22139 $as_echo_n "checking for _float round functions... " >&6; }
22140 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22141 $as_echo_n "(cached) " >&6
22142 else
22143
22144
22145 ac_ext=cpp
22146 ac_cpp='$CXXCPP $CPPFLAGS'
22147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22150
22151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22152 /* end confdefs.h. */
22153 #include <math.h>
22154 int
22155 main ()
22156 {
22157 _ceilf (0); _floorf (0);
22158 ;
22159 return 0;
22160 }
22161 _ACEOF
22162 if ac_fn_cxx_try_compile "$LINENO"; then :
22163 glibcxx_cv_func__float_round_use=yes
22164 else
22165 glibcxx_cv_func__float_round_use=no
22166 fi
22167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22168 ac_ext=c
22169 ac_cpp='$CPP $CPPFLAGS'
22170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22173
22174 fi
22175
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22177 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22178 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22179 for ac_func in _ceilf _floorf
22180 do :
22181 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22183 eval as_val=\$$as_ac_var
22184 if test "x$as_val" = x""yes; then :
22185 cat >>confdefs.h <<_ACEOF
22186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22187 _ACEOF
22188
22189 fi
22190 done
22191
22192 fi
22193 fi
22194
22195
22196
22197
22198
22199
22200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22201 $as_echo_n "checking for expf declaration... " >&6; }
22202 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22203 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22204 $as_echo_n "(cached) " >&6
22205 else
22206
22207
22208 ac_ext=cpp
22209 ac_cpp='$CXXCPP $CPPFLAGS'
22210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22213
22214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22215 /* end confdefs.h. */
22216 #include <math.h>
22217 #ifdef HAVE_IEEEFP_H
22218 #include <ieeefp.h>
22219 #endif
22220
22221 int
22222 main ()
22223 {
22224 expf(0);
22225 ;
22226 return 0;
22227 }
22228 _ACEOF
22229 if ac_fn_cxx_try_compile "$LINENO"; then :
22230 glibcxx_cv_func_expf_use=yes
22231 else
22232 glibcxx_cv_func_expf_use=no
22233 fi
22234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22235 ac_ext=c
22236 ac_cpp='$CPP $CPPFLAGS'
22237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22240
22241
22242 fi
22243
22244 fi
22245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22246 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22247
22248 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22249 for ac_func in expf
22250 do :
22251 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22252 if test "x$ac_cv_func_expf" = x""yes; then :
22253 cat >>confdefs.h <<_ACEOF
22254 #define HAVE_EXPF 1
22255 _ACEOF
22256
22257 fi
22258 done
22259
22260 else
22261
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22263 $as_echo_n "checking for _expf declaration... " >&6; }
22264 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22265 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22266 $as_echo_n "(cached) " >&6
22267 else
22268
22269
22270 ac_ext=cpp
22271 ac_cpp='$CXXCPP $CPPFLAGS'
22272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22275
22276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22277 /* end confdefs.h. */
22278 #include <math.h>
22279 #ifdef HAVE_IEEEFP_H
22280 #include <ieeefp.h>
22281 #endif
22282
22283 int
22284 main ()
22285 {
22286 _expf(0);
22287 ;
22288 return 0;
22289 }
22290 _ACEOF
22291 if ac_fn_cxx_try_compile "$LINENO"; then :
22292 glibcxx_cv_func__expf_use=yes
22293 else
22294 glibcxx_cv_func__expf_use=no
22295 fi
22296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22297 ac_ext=c
22298 ac_cpp='$CPP $CPPFLAGS'
22299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22302
22303
22304 fi
22305
22306 fi
22307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22308 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22309
22310 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22311 for ac_func in _expf
22312 do :
22313 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22314 if test "x$ac_cv_func__expf" = x""yes; then :
22315 cat >>confdefs.h <<_ACEOF
22316 #define HAVE__EXPF 1
22317 _ACEOF
22318
22319 fi
22320 done
22321
22322 fi
22323 fi
22324
22325
22326
22327
22328
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22330 $as_echo_n "checking for isnanf declaration... " >&6; }
22331 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22332 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22333 $as_echo_n "(cached) " >&6
22334 else
22335
22336
22337 ac_ext=cpp
22338 ac_cpp='$CXXCPP $CPPFLAGS'
22339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22342
22343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22344 /* end confdefs.h. */
22345 #include <math.h>
22346 #ifdef HAVE_IEEEFP_H
22347 #include <ieeefp.h>
22348 #endif
22349
22350 int
22351 main ()
22352 {
22353 isnanf(0);
22354 ;
22355 return 0;
22356 }
22357 _ACEOF
22358 if ac_fn_cxx_try_compile "$LINENO"; then :
22359 glibcxx_cv_func_isnanf_use=yes
22360 else
22361 glibcxx_cv_func_isnanf_use=no
22362 fi
22363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22364 ac_ext=c
22365 ac_cpp='$CPP $CPPFLAGS'
22366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22369
22370
22371 fi
22372
22373 fi
22374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22375 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22376
22377 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22378 for ac_func in isnanf
22379 do :
22380 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22381 if test "x$ac_cv_func_isnanf" = x""yes; then :
22382 cat >>confdefs.h <<_ACEOF
22383 #define HAVE_ISNANF 1
22384 _ACEOF
22385
22386 fi
22387 done
22388
22389 else
22390
22391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22392 $as_echo_n "checking for _isnanf declaration... " >&6; }
22393 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22394 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22395 $as_echo_n "(cached) " >&6
22396 else
22397
22398
22399 ac_ext=cpp
22400 ac_cpp='$CXXCPP $CPPFLAGS'
22401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22404
22405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22406 /* end confdefs.h. */
22407 #include <math.h>
22408 #ifdef HAVE_IEEEFP_H
22409 #include <ieeefp.h>
22410 #endif
22411
22412 int
22413 main ()
22414 {
22415 _isnanf(0);
22416 ;
22417 return 0;
22418 }
22419 _ACEOF
22420 if ac_fn_cxx_try_compile "$LINENO"; then :
22421 glibcxx_cv_func__isnanf_use=yes
22422 else
22423 glibcxx_cv_func__isnanf_use=no
22424 fi
22425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22426 ac_ext=c
22427 ac_cpp='$CPP $CPPFLAGS'
22428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22431
22432
22433 fi
22434
22435 fi
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22437 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22438
22439 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22440 for ac_func in _isnanf
22441 do :
22442 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22443 if test "x$ac_cv_func__isnanf" = x""yes; then :
22444 cat >>confdefs.h <<_ACEOF
22445 #define HAVE__ISNANF 1
22446 _ACEOF
22447
22448 fi
22449 done
22450
22451 fi
22452 fi
22453
22454
22455
22456
22457
22458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22459 $as_echo_n "checking for isinff declaration... " >&6; }
22460 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22461 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22462 $as_echo_n "(cached) " >&6
22463 else
22464
22465
22466 ac_ext=cpp
22467 ac_cpp='$CXXCPP $CPPFLAGS'
22468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22471
22472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22473 /* end confdefs.h. */
22474 #include <math.h>
22475 #ifdef HAVE_IEEEFP_H
22476 #include <ieeefp.h>
22477 #endif
22478
22479 int
22480 main ()
22481 {
22482 isinff(0);
22483 ;
22484 return 0;
22485 }
22486 _ACEOF
22487 if ac_fn_cxx_try_compile "$LINENO"; then :
22488 glibcxx_cv_func_isinff_use=yes
22489 else
22490 glibcxx_cv_func_isinff_use=no
22491 fi
22492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22493 ac_ext=c
22494 ac_cpp='$CPP $CPPFLAGS'
22495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22498
22499
22500 fi
22501
22502 fi
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22504 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22505
22506 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22507 for ac_func in isinff
22508 do :
22509 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22510 if test "x$ac_cv_func_isinff" = x""yes; then :
22511 cat >>confdefs.h <<_ACEOF
22512 #define HAVE_ISINFF 1
22513 _ACEOF
22514
22515 fi
22516 done
22517
22518 else
22519
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22521 $as_echo_n "checking for _isinff declaration... " >&6; }
22522 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22523 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22524 $as_echo_n "(cached) " >&6
22525 else
22526
22527
22528 ac_ext=cpp
22529 ac_cpp='$CXXCPP $CPPFLAGS'
22530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22533
22534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22535 /* end confdefs.h. */
22536 #include <math.h>
22537 #ifdef HAVE_IEEEFP_H
22538 #include <ieeefp.h>
22539 #endif
22540
22541 int
22542 main ()
22543 {
22544 _isinff(0);
22545 ;
22546 return 0;
22547 }
22548 _ACEOF
22549 if ac_fn_cxx_try_compile "$LINENO"; then :
22550 glibcxx_cv_func__isinff_use=yes
22551 else
22552 glibcxx_cv_func__isinff_use=no
22553 fi
22554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22555 ac_ext=c
22556 ac_cpp='$CPP $CPPFLAGS'
22557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22560
22561
22562 fi
22563
22564 fi
22565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22566 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22567
22568 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22569 for ac_func in _isinff
22570 do :
22571 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22572 if test "x$ac_cv_func__isinff" = x""yes; then :
22573 cat >>confdefs.h <<_ACEOF
22574 #define HAVE__ISINFF 1
22575 _ACEOF
22576
22577 fi
22578 done
22579
22580 fi
22581 fi
22582
22583
22584
22585
22586
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22588 $as_echo_n "checking for atan2f declaration... " >&6; }
22589 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22590 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22591 $as_echo_n "(cached) " >&6
22592 else
22593
22594
22595 ac_ext=cpp
22596 ac_cpp='$CXXCPP $CPPFLAGS'
22597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22600
22601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22602 /* end confdefs.h. */
22603 #include <math.h>
22604 int
22605 main ()
22606 {
22607 atan2f(0, 0);
22608 ;
22609 return 0;
22610 }
22611 _ACEOF
22612 if ac_fn_cxx_try_compile "$LINENO"; then :
22613 glibcxx_cv_func_atan2f_use=yes
22614 else
22615 glibcxx_cv_func_atan2f_use=no
22616 fi
22617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22618 ac_ext=c
22619 ac_cpp='$CPP $CPPFLAGS'
22620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22623
22624
22625 fi
22626
22627 fi
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22629 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22630
22631 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22632 for ac_func in atan2f
22633 do :
22634 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22635 if test "x$ac_cv_func_atan2f" = x""yes; then :
22636 cat >>confdefs.h <<_ACEOF
22637 #define HAVE_ATAN2F 1
22638 _ACEOF
22639
22640 fi
22641 done
22642
22643 else
22644
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22646 $as_echo_n "checking for _atan2f declaration... " >&6; }
22647 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22648 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22649 $as_echo_n "(cached) " >&6
22650 else
22651
22652
22653 ac_ext=cpp
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22658
22659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22660 /* end confdefs.h. */
22661 #include <math.h>
22662 int
22663 main ()
22664 {
22665 _atan2f(0, 0);
22666 ;
22667 return 0;
22668 }
22669 _ACEOF
22670 if ac_fn_cxx_try_compile "$LINENO"; then :
22671 glibcxx_cv_func__atan2f_use=yes
22672 else
22673 glibcxx_cv_func__atan2f_use=no
22674 fi
22675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22676 ac_ext=c
22677 ac_cpp='$CPP $CPPFLAGS'
22678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22681
22682
22683 fi
22684
22685 fi
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22687 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22688
22689 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22690 for ac_func in _atan2f
22691 do :
22692 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22693 if test "x$ac_cv_func__atan2f" = x""yes; then :
22694 cat >>confdefs.h <<_ACEOF
22695 #define HAVE__ATAN2F 1
22696 _ACEOF
22697
22698 fi
22699 done
22700
22701 fi
22702 fi
22703
22704
22705
22706
22707
22708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22709 $as_echo_n "checking for fabsf declaration... " >&6; }
22710 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22711 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22712 $as_echo_n "(cached) " >&6
22713 else
22714
22715
22716 ac_ext=cpp
22717 ac_cpp='$CXXCPP $CPPFLAGS'
22718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22721
22722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22723 /* end confdefs.h. */
22724 #include <math.h>
22725 #ifdef HAVE_IEEEFP_H
22726 #include <ieeefp.h>
22727 #endif
22728
22729 int
22730 main ()
22731 {
22732 fabsf(0);
22733 ;
22734 return 0;
22735 }
22736 _ACEOF
22737 if ac_fn_cxx_try_compile "$LINENO"; then :
22738 glibcxx_cv_func_fabsf_use=yes
22739 else
22740 glibcxx_cv_func_fabsf_use=no
22741 fi
22742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22743 ac_ext=c
22744 ac_cpp='$CPP $CPPFLAGS'
22745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22748
22749
22750 fi
22751
22752 fi
22753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22754 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22755
22756 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22757 for ac_func in fabsf
22758 do :
22759 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22760 if test "x$ac_cv_func_fabsf" = x""yes; then :
22761 cat >>confdefs.h <<_ACEOF
22762 #define HAVE_FABSF 1
22763 _ACEOF
22764
22765 fi
22766 done
22767
22768 else
22769
22770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22771 $as_echo_n "checking for _fabsf declaration... " >&6; }
22772 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22773 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22774 $as_echo_n "(cached) " >&6
22775 else
22776
22777
22778 ac_ext=cpp
22779 ac_cpp='$CXXCPP $CPPFLAGS'
22780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22783
22784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22785 /* end confdefs.h. */
22786 #include <math.h>
22787 #ifdef HAVE_IEEEFP_H
22788 #include <ieeefp.h>
22789 #endif
22790
22791 int
22792 main ()
22793 {
22794 _fabsf(0);
22795 ;
22796 return 0;
22797 }
22798 _ACEOF
22799 if ac_fn_cxx_try_compile "$LINENO"; then :
22800 glibcxx_cv_func__fabsf_use=yes
22801 else
22802 glibcxx_cv_func__fabsf_use=no
22803 fi
22804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22805 ac_ext=c
22806 ac_cpp='$CPP $CPPFLAGS'
22807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22810
22811
22812 fi
22813
22814 fi
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22816 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22817
22818 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22819 for ac_func in _fabsf
22820 do :
22821 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22822 if test "x$ac_cv_func__fabsf" = x""yes; then :
22823 cat >>confdefs.h <<_ACEOF
22824 #define HAVE__FABSF 1
22825 _ACEOF
22826
22827 fi
22828 done
22829
22830 fi
22831 fi
22832
22833
22834
22835
22836
22837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22838 $as_echo_n "checking for fmodf declaration... " >&6; }
22839 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22840 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22841 $as_echo_n "(cached) " >&6
22842 else
22843
22844
22845 ac_ext=cpp
22846 ac_cpp='$CXXCPP $CPPFLAGS'
22847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22850
22851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22852 /* end confdefs.h. */
22853 #include <math.h>
22854 int
22855 main ()
22856 {
22857 fmodf(0, 0);
22858 ;
22859 return 0;
22860 }
22861 _ACEOF
22862 if ac_fn_cxx_try_compile "$LINENO"; then :
22863 glibcxx_cv_func_fmodf_use=yes
22864 else
22865 glibcxx_cv_func_fmodf_use=no
22866 fi
22867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22868 ac_ext=c
22869 ac_cpp='$CPP $CPPFLAGS'
22870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22873
22874
22875 fi
22876
22877 fi
22878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22879 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22880
22881 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22882 for ac_func in fmodf
22883 do :
22884 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22885 if test "x$ac_cv_func_fmodf" = x""yes; then :
22886 cat >>confdefs.h <<_ACEOF
22887 #define HAVE_FMODF 1
22888 _ACEOF
22889
22890 fi
22891 done
22892
22893 else
22894
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22896 $as_echo_n "checking for _fmodf declaration... " >&6; }
22897 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22898 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22899 $as_echo_n "(cached) " >&6
22900 else
22901
22902
22903 ac_ext=cpp
22904 ac_cpp='$CXXCPP $CPPFLAGS'
22905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22908
22909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22910 /* end confdefs.h. */
22911 #include <math.h>
22912 int
22913 main ()
22914 {
22915 _fmodf(0, 0);
22916 ;
22917 return 0;
22918 }
22919 _ACEOF
22920 if ac_fn_cxx_try_compile "$LINENO"; then :
22921 glibcxx_cv_func__fmodf_use=yes
22922 else
22923 glibcxx_cv_func__fmodf_use=no
22924 fi
22925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22926 ac_ext=c
22927 ac_cpp='$CPP $CPPFLAGS'
22928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22931
22932
22933 fi
22934
22935 fi
22936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22937 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22938
22939 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22940 for ac_func in _fmodf
22941 do :
22942 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22943 if test "x$ac_cv_func__fmodf" = x""yes; then :
22944 cat >>confdefs.h <<_ACEOF
22945 #define HAVE__FMODF 1
22946 _ACEOF
22947
22948 fi
22949 done
22950
22951 fi
22952 fi
22953
22954
22955
22956
22957
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22959 $as_echo_n "checking for frexpf declaration... " >&6; }
22960 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22961 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22962 $as_echo_n "(cached) " >&6
22963 else
22964
22965
22966 ac_ext=cpp
22967 ac_cpp='$CXXCPP $CPPFLAGS'
22968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22971
22972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22973 /* end confdefs.h. */
22974 #include <math.h>
22975 int
22976 main ()
22977 {
22978 frexpf(0, 0);
22979 ;
22980 return 0;
22981 }
22982 _ACEOF
22983 if ac_fn_cxx_try_compile "$LINENO"; then :
22984 glibcxx_cv_func_frexpf_use=yes
22985 else
22986 glibcxx_cv_func_frexpf_use=no
22987 fi
22988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22989 ac_ext=c
22990 ac_cpp='$CPP $CPPFLAGS'
22991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22994
22995
22996 fi
22997
22998 fi
22999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23000 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23001
23002 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23003 for ac_func in frexpf
23004 do :
23005 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23006 if test "x$ac_cv_func_frexpf" = x""yes; then :
23007 cat >>confdefs.h <<_ACEOF
23008 #define HAVE_FREXPF 1
23009 _ACEOF
23010
23011 fi
23012 done
23013
23014 else
23015
23016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23017 $as_echo_n "checking for _frexpf declaration... " >&6; }
23018 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23019 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23020 $as_echo_n "(cached) " >&6
23021 else
23022
23023
23024 ac_ext=cpp
23025 ac_cpp='$CXXCPP $CPPFLAGS'
23026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23029
23030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23031 /* end confdefs.h. */
23032 #include <math.h>
23033 int
23034 main ()
23035 {
23036 _frexpf(0, 0);
23037 ;
23038 return 0;
23039 }
23040 _ACEOF
23041 if ac_fn_cxx_try_compile "$LINENO"; then :
23042 glibcxx_cv_func__frexpf_use=yes
23043 else
23044 glibcxx_cv_func__frexpf_use=no
23045 fi
23046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23047 ac_ext=c
23048 ac_cpp='$CPP $CPPFLAGS'
23049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23052
23053
23054 fi
23055
23056 fi
23057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23058 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23059
23060 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23061 for ac_func in _frexpf
23062 do :
23063 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23064 if test "x$ac_cv_func__frexpf" = x""yes; then :
23065 cat >>confdefs.h <<_ACEOF
23066 #define HAVE__FREXPF 1
23067 _ACEOF
23068
23069 fi
23070 done
23071
23072 fi
23073 fi
23074
23075
23076
23077
23078
23079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23080 $as_echo_n "checking for hypotf declaration... " >&6; }
23081 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23082 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23083 $as_echo_n "(cached) " >&6
23084 else
23085
23086
23087 ac_ext=cpp
23088 ac_cpp='$CXXCPP $CPPFLAGS'
23089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23092
23093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23094 /* end confdefs.h. */
23095 #include <math.h>
23096 int
23097 main ()
23098 {
23099 hypotf(0, 0);
23100 ;
23101 return 0;
23102 }
23103 _ACEOF
23104 if ac_fn_cxx_try_compile "$LINENO"; then :
23105 glibcxx_cv_func_hypotf_use=yes
23106 else
23107 glibcxx_cv_func_hypotf_use=no
23108 fi
23109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23110 ac_ext=c
23111 ac_cpp='$CPP $CPPFLAGS'
23112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23115
23116
23117 fi
23118
23119 fi
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23121 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23122
23123 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23124 for ac_func in hypotf
23125 do :
23126 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23127 if test "x$ac_cv_func_hypotf" = x""yes; then :
23128 cat >>confdefs.h <<_ACEOF
23129 #define HAVE_HYPOTF 1
23130 _ACEOF
23131
23132 fi
23133 done
23134
23135 else
23136
23137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23138 $as_echo_n "checking for _hypotf declaration... " >&6; }
23139 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23140 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23141 $as_echo_n "(cached) " >&6
23142 else
23143
23144
23145 ac_ext=cpp
23146 ac_cpp='$CXXCPP $CPPFLAGS'
23147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23150
23151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23152 /* end confdefs.h. */
23153 #include <math.h>
23154 int
23155 main ()
23156 {
23157 _hypotf(0, 0);
23158 ;
23159 return 0;
23160 }
23161 _ACEOF
23162 if ac_fn_cxx_try_compile "$LINENO"; then :
23163 glibcxx_cv_func__hypotf_use=yes
23164 else
23165 glibcxx_cv_func__hypotf_use=no
23166 fi
23167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23168 ac_ext=c
23169 ac_cpp='$CPP $CPPFLAGS'
23170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23173
23174
23175 fi
23176
23177 fi
23178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23179 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23180
23181 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23182 for ac_func in _hypotf
23183 do :
23184 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23185 if test "x$ac_cv_func__hypotf" = x""yes; then :
23186 cat >>confdefs.h <<_ACEOF
23187 #define HAVE__HYPOTF 1
23188 _ACEOF
23189
23190 fi
23191 done
23192
23193 fi
23194 fi
23195
23196
23197
23198
23199
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23201 $as_echo_n "checking for ldexpf declaration... " >&6; }
23202 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23203 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23204 $as_echo_n "(cached) " >&6
23205 else
23206
23207
23208 ac_ext=cpp
23209 ac_cpp='$CXXCPP $CPPFLAGS'
23210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23213
23214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23215 /* end confdefs.h. */
23216 #include <math.h>
23217 int
23218 main ()
23219 {
23220 ldexpf(0, 0);
23221 ;
23222 return 0;
23223 }
23224 _ACEOF
23225 if ac_fn_cxx_try_compile "$LINENO"; then :
23226 glibcxx_cv_func_ldexpf_use=yes
23227 else
23228 glibcxx_cv_func_ldexpf_use=no
23229 fi
23230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23231 ac_ext=c
23232 ac_cpp='$CPP $CPPFLAGS'
23233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23236
23237
23238 fi
23239
23240 fi
23241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23242 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23243
23244 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23245 for ac_func in ldexpf
23246 do :
23247 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23248 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23249 cat >>confdefs.h <<_ACEOF
23250 #define HAVE_LDEXPF 1
23251 _ACEOF
23252
23253 fi
23254 done
23255
23256 else
23257
23258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23259 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23260 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23261 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23262 $as_echo_n "(cached) " >&6
23263 else
23264
23265
23266 ac_ext=cpp
23267 ac_cpp='$CXXCPP $CPPFLAGS'
23268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23271
23272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23273 /* end confdefs.h. */
23274 #include <math.h>
23275 int
23276 main ()
23277 {
23278 _ldexpf(0, 0);
23279 ;
23280 return 0;
23281 }
23282 _ACEOF
23283 if ac_fn_cxx_try_compile "$LINENO"; then :
23284 glibcxx_cv_func__ldexpf_use=yes
23285 else
23286 glibcxx_cv_func__ldexpf_use=no
23287 fi
23288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23289 ac_ext=c
23290 ac_cpp='$CPP $CPPFLAGS'
23291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23294
23295
23296 fi
23297
23298 fi
23299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23300 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23301
23302 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23303 for ac_func in _ldexpf
23304 do :
23305 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23306 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23307 cat >>confdefs.h <<_ACEOF
23308 #define HAVE__LDEXPF 1
23309 _ACEOF
23310
23311 fi
23312 done
23313
23314 fi
23315 fi
23316
23317
23318
23319
23320
23321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23322 $as_echo_n "checking for logf declaration... " >&6; }
23323 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23324 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23325 $as_echo_n "(cached) " >&6
23326 else
23327
23328
23329 ac_ext=cpp
23330 ac_cpp='$CXXCPP $CPPFLAGS'
23331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23334
23335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23336 /* end confdefs.h. */
23337 #include <math.h>
23338 #ifdef HAVE_IEEEFP_H
23339 #include <ieeefp.h>
23340 #endif
23341
23342 int
23343 main ()
23344 {
23345 logf(0);
23346 ;
23347 return 0;
23348 }
23349 _ACEOF
23350 if ac_fn_cxx_try_compile "$LINENO"; then :
23351 glibcxx_cv_func_logf_use=yes
23352 else
23353 glibcxx_cv_func_logf_use=no
23354 fi
23355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23356 ac_ext=c
23357 ac_cpp='$CPP $CPPFLAGS'
23358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23361
23362
23363 fi
23364
23365 fi
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23367 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23368
23369 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23370 for ac_func in logf
23371 do :
23372 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23373 if test "x$ac_cv_func_logf" = x""yes; then :
23374 cat >>confdefs.h <<_ACEOF
23375 #define HAVE_LOGF 1
23376 _ACEOF
23377
23378 fi
23379 done
23380
23381 else
23382
23383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23384 $as_echo_n "checking for _logf declaration... " >&6; }
23385 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23386 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23387 $as_echo_n "(cached) " >&6
23388 else
23389
23390
23391 ac_ext=cpp
23392 ac_cpp='$CXXCPP $CPPFLAGS'
23393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23396
23397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23398 /* end confdefs.h. */
23399 #include <math.h>
23400 #ifdef HAVE_IEEEFP_H
23401 #include <ieeefp.h>
23402 #endif
23403
23404 int
23405 main ()
23406 {
23407 _logf(0);
23408 ;
23409 return 0;
23410 }
23411 _ACEOF
23412 if ac_fn_cxx_try_compile "$LINENO"; then :
23413 glibcxx_cv_func__logf_use=yes
23414 else
23415 glibcxx_cv_func__logf_use=no
23416 fi
23417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23418 ac_ext=c
23419 ac_cpp='$CPP $CPPFLAGS'
23420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23423
23424
23425 fi
23426
23427 fi
23428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23429 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23430
23431 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23432 for ac_func in _logf
23433 do :
23434 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23435 if test "x$ac_cv_func__logf" = x""yes; then :
23436 cat >>confdefs.h <<_ACEOF
23437 #define HAVE__LOGF 1
23438 _ACEOF
23439
23440 fi
23441 done
23442
23443 fi
23444 fi
23445
23446
23447
23448
23449
23450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23451 $as_echo_n "checking for log10f declaration... " >&6; }
23452 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23453 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23454 $as_echo_n "(cached) " >&6
23455 else
23456
23457
23458 ac_ext=cpp
23459 ac_cpp='$CXXCPP $CPPFLAGS'
23460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23463
23464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23465 /* end confdefs.h. */
23466 #include <math.h>
23467 #ifdef HAVE_IEEEFP_H
23468 #include <ieeefp.h>
23469 #endif
23470
23471 int
23472 main ()
23473 {
23474 log10f(0);
23475 ;
23476 return 0;
23477 }
23478 _ACEOF
23479 if ac_fn_cxx_try_compile "$LINENO"; then :
23480 glibcxx_cv_func_log10f_use=yes
23481 else
23482 glibcxx_cv_func_log10f_use=no
23483 fi
23484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23485 ac_ext=c
23486 ac_cpp='$CPP $CPPFLAGS'
23487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23490
23491
23492 fi
23493
23494 fi
23495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23496 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23497
23498 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23499 for ac_func in log10f
23500 do :
23501 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23502 if test "x$ac_cv_func_log10f" = x""yes; then :
23503 cat >>confdefs.h <<_ACEOF
23504 #define HAVE_LOG10F 1
23505 _ACEOF
23506
23507 fi
23508 done
23509
23510 else
23511
23512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23513 $as_echo_n "checking for _log10f declaration... " >&6; }
23514 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23515 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23516 $as_echo_n "(cached) " >&6
23517 else
23518
23519
23520 ac_ext=cpp
23521 ac_cpp='$CXXCPP $CPPFLAGS'
23522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23525
23526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23527 /* end confdefs.h. */
23528 #include <math.h>
23529 #ifdef HAVE_IEEEFP_H
23530 #include <ieeefp.h>
23531 #endif
23532
23533 int
23534 main ()
23535 {
23536 _log10f(0);
23537 ;
23538 return 0;
23539 }
23540 _ACEOF
23541 if ac_fn_cxx_try_compile "$LINENO"; then :
23542 glibcxx_cv_func__log10f_use=yes
23543 else
23544 glibcxx_cv_func__log10f_use=no
23545 fi
23546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23547 ac_ext=c
23548 ac_cpp='$CPP $CPPFLAGS'
23549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23552
23553
23554 fi
23555
23556 fi
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23558 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23559
23560 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23561 for ac_func in _log10f
23562 do :
23563 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23564 if test "x$ac_cv_func__log10f" = x""yes; then :
23565 cat >>confdefs.h <<_ACEOF
23566 #define HAVE__LOG10F 1
23567 _ACEOF
23568
23569 fi
23570 done
23571
23572 fi
23573 fi
23574
23575
23576
23577
23578
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23580 $as_echo_n "checking for modff declaration... " >&6; }
23581 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23582 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23583 $as_echo_n "(cached) " >&6
23584 else
23585
23586
23587 ac_ext=cpp
23588 ac_cpp='$CXXCPP $CPPFLAGS'
23589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23592
23593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23594 /* end confdefs.h. */
23595 #include <math.h>
23596 int
23597 main ()
23598 {
23599 modff(0, 0);
23600 ;
23601 return 0;
23602 }
23603 _ACEOF
23604 if ac_fn_cxx_try_compile "$LINENO"; then :
23605 glibcxx_cv_func_modff_use=yes
23606 else
23607 glibcxx_cv_func_modff_use=no
23608 fi
23609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23610 ac_ext=c
23611 ac_cpp='$CPP $CPPFLAGS'
23612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23615
23616
23617 fi
23618
23619 fi
23620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23621 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23622
23623 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23624 for ac_func in modff
23625 do :
23626 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23627 if test "x$ac_cv_func_modff" = x""yes; then :
23628 cat >>confdefs.h <<_ACEOF
23629 #define HAVE_MODFF 1
23630 _ACEOF
23631
23632 fi
23633 done
23634
23635 else
23636
23637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23638 $as_echo_n "checking for _modff declaration... " >&6; }
23639 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23640 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23641 $as_echo_n "(cached) " >&6
23642 else
23643
23644
23645 ac_ext=cpp
23646 ac_cpp='$CXXCPP $CPPFLAGS'
23647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23650
23651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23652 /* end confdefs.h. */
23653 #include <math.h>
23654 int
23655 main ()
23656 {
23657 _modff(0, 0);
23658 ;
23659 return 0;
23660 }
23661 _ACEOF
23662 if ac_fn_cxx_try_compile "$LINENO"; then :
23663 glibcxx_cv_func__modff_use=yes
23664 else
23665 glibcxx_cv_func__modff_use=no
23666 fi
23667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23668 ac_ext=c
23669 ac_cpp='$CPP $CPPFLAGS'
23670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23673
23674
23675 fi
23676
23677 fi
23678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23679 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23680
23681 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23682 for ac_func in _modff
23683 do :
23684 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23685 if test "x$ac_cv_func__modff" = x""yes; then :
23686 cat >>confdefs.h <<_ACEOF
23687 #define HAVE__MODFF 1
23688 _ACEOF
23689
23690 fi
23691 done
23692
23693 fi
23694 fi
23695
23696
23697
23698
23699
23700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23701 $as_echo_n "checking for modf declaration... " >&6; }
23702 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23703 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23704 $as_echo_n "(cached) " >&6
23705 else
23706
23707
23708 ac_ext=cpp
23709 ac_cpp='$CXXCPP $CPPFLAGS'
23710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23713
23714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23715 /* end confdefs.h. */
23716 #include <math.h>
23717 int
23718 main ()
23719 {
23720 modf(0, 0);
23721 ;
23722 return 0;
23723 }
23724 _ACEOF
23725 if ac_fn_cxx_try_compile "$LINENO"; then :
23726 glibcxx_cv_func_modf_use=yes
23727 else
23728 glibcxx_cv_func_modf_use=no
23729 fi
23730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23731 ac_ext=c
23732 ac_cpp='$CPP $CPPFLAGS'
23733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23736
23737
23738 fi
23739
23740 fi
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23742 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23743
23744 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23745 for ac_func in modf
23746 do :
23747 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23748 if test "x$ac_cv_func_modf" = x""yes; then :
23749 cat >>confdefs.h <<_ACEOF
23750 #define HAVE_MODF 1
23751 _ACEOF
23752
23753 fi
23754 done
23755
23756 else
23757
23758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23759 $as_echo_n "checking for _modf declaration... " >&6; }
23760 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23761 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23762 $as_echo_n "(cached) " >&6
23763 else
23764
23765
23766 ac_ext=cpp
23767 ac_cpp='$CXXCPP $CPPFLAGS'
23768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23771
23772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23773 /* end confdefs.h. */
23774 #include <math.h>
23775 int
23776 main ()
23777 {
23778 _modf(0, 0);
23779 ;
23780 return 0;
23781 }
23782 _ACEOF
23783 if ac_fn_cxx_try_compile "$LINENO"; then :
23784 glibcxx_cv_func__modf_use=yes
23785 else
23786 glibcxx_cv_func__modf_use=no
23787 fi
23788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23789 ac_ext=c
23790 ac_cpp='$CPP $CPPFLAGS'
23791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23794
23795
23796 fi
23797
23798 fi
23799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23800 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23801
23802 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23803 for ac_func in _modf
23804 do :
23805 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23806 if test "x$ac_cv_func__modf" = x""yes; then :
23807 cat >>confdefs.h <<_ACEOF
23808 #define HAVE__MODF 1
23809 _ACEOF
23810
23811 fi
23812 done
23813
23814 fi
23815 fi
23816
23817
23818
23819
23820
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23822 $as_echo_n "checking for powf declaration... " >&6; }
23823 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23824 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23825 $as_echo_n "(cached) " >&6
23826 else
23827
23828
23829 ac_ext=cpp
23830 ac_cpp='$CXXCPP $CPPFLAGS'
23831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23834
23835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23836 /* end confdefs.h. */
23837 #include <math.h>
23838 int
23839 main ()
23840 {
23841 powf(0, 0);
23842 ;
23843 return 0;
23844 }
23845 _ACEOF
23846 if ac_fn_cxx_try_compile "$LINENO"; then :
23847 glibcxx_cv_func_powf_use=yes
23848 else
23849 glibcxx_cv_func_powf_use=no
23850 fi
23851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23852 ac_ext=c
23853 ac_cpp='$CPP $CPPFLAGS'
23854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23857
23858
23859 fi
23860
23861 fi
23862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23863 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23864
23865 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23866 for ac_func in powf
23867 do :
23868 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23869 if test "x$ac_cv_func_powf" = x""yes; then :
23870 cat >>confdefs.h <<_ACEOF
23871 #define HAVE_POWF 1
23872 _ACEOF
23873
23874 fi
23875 done
23876
23877 else
23878
23879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23880 $as_echo_n "checking for _powf declaration... " >&6; }
23881 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23882 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23883 $as_echo_n "(cached) " >&6
23884 else
23885
23886
23887 ac_ext=cpp
23888 ac_cpp='$CXXCPP $CPPFLAGS'
23889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23892
23893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23894 /* end confdefs.h. */
23895 #include <math.h>
23896 int
23897 main ()
23898 {
23899 _powf(0, 0);
23900 ;
23901 return 0;
23902 }
23903 _ACEOF
23904 if ac_fn_cxx_try_compile "$LINENO"; then :
23905 glibcxx_cv_func__powf_use=yes
23906 else
23907 glibcxx_cv_func__powf_use=no
23908 fi
23909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23910 ac_ext=c
23911 ac_cpp='$CPP $CPPFLAGS'
23912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23915
23916
23917 fi
23918
23919 fi
23920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23921 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23922
23923 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23924 for ac_func in _powf
23925 do :
23926 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23927 if test "x$ac_cv_func__powf" = x""yes; then :
23928 cat >>confdefs.h <<_ACEOF
23929 #define HAVE__POWF 1
23930 _ACEOF
23931
23932 fi
23933 done
23934
23935 fi
23936 fi
23937
23938
23939
23940
23941
23942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23943 $as_echo_n "checking for sqrtf declaration... " >&6; }
23944 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23945 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23946 $as_echo_n "(cached) " >&6
23947 else
23948
23949
23950 ac_ext=cpp
23951 ac_cpp='$CXXCPP $CPPFLAGS'
23952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23955
23956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23957 /* end confdefs.h. */
23958 #include <math.h>
23959 #ifdef HAVE_IEEEFP_H
23960 #include <ieeefp.h>
23961 #endif
23962
23963 int
23964 main ()
23965 {
23966 sqrtf(0);
23967 ;
23968 return 0;
23969 }
23970 _ACEOF
23971 if ac_fn_cxx_try_compile "$LINENO"; then :
23972 glibcxx_cv_func_sqrtf_use=yes
23973 else
23974 glibcxx_cv_func_sqrtf_use=no
23975 fi
23976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23977 ac_ext=c
23978 ac_cpp='$CPP $CPPFLAGS'
23979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23982
23983
23984 fi
23985
23986 fi
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23988 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23989
23990 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23991 for ac_func in sqrtf
23992 do :
23993 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23994 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23995 cat >>confdefs.h <<_ACEOF
23996 #define HAVE_SQRTF 1
23997 _ACEOF
23998
23999 fi
24000 done
24001
24002 else
24003
24004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24005 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24006 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24007 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24008 $as_echo_n "(cached) " >&6
24009 else
24010
24011
24012 ac_ext=cpp
24013 ac_cpp='$CXXCPP $CPPFLAGS'
24014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24017
24018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24019 /* end confdefs.h. */
24020 #include <math.h>
24021 #ifdef HAVE_IEEEFP_H
24022 #include <ieeefp.h>
24023 #endif
24024
24025 int
24026 main ()
24027 {
24028 _sqrtf(0);
24029 ;
24030 return 0;
24031 }
24032 _ACEOF
24033 if ac_fn_cxx_try_compile "$LINENO"; then :
24034 glibcxx_cv_func__sqrtf_use=yes
24035 else
24036 glibcxx_cv_func__sqrtf_use=no
24037 fi
24038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24039 ac_ext=c
24040 ac_cpp='$CPP $CPPFLAGS'
24041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24044
24045
24046 fi
24047
24048 fi
24049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24050 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24051
24052 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24053 for ac_func in _sqrtf
24054 do :
24055 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24056 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24057 cat >>confdefs.h <<_ACEOF
24058 #define HAVE__SQRTF 1
24059 _ACEOF
24060
24061 fi
24062 done
24063
24064 fi
24065 fi
24066
24067
24068
24069
24070
24071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24072 $as_echo_n "checking for sincosf declaration... " >&6; }
24073 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24074 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24075 $as_echo_n "(cached) " >&6
24076 else
24077
24078
24079 ac_ext=cpp
24080 ac_cpp='$CXXCPP $CPPFLAGS'
24081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24084
24085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24086 /* end confdefs.h. */
24087 #include <math.h>
24088 int
24089 main ()
24090 {
24091 sincosf(0, 0, 0);
24092 ;
24093 return 0;
24094 }
24095 _ACEOF
24096 if ac_fn_cxx_try_compile "$LINENO"; then :
24097 glibcxx_cv_func_sincosf_use=yes
24098 else
24099 glibcxx_cv_func_sincosf_use=no
24100 fi
24101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24102 ac_ext=c
24103 ac_cpp='$CPP $CPPFLAGS'
24104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24107
24108
24109 fi
24110
24111 fi
24112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24113 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24114
24115 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24116 for ac_func in sincosf
24117 do :
24118 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24119 if test "x$ac_cv_func_sincosf" = x""yes; then :
24120 cat >>confdefs.h <<_ACEOF
24121 #define HAVE_SINCOSF 1
24122 _ACEOF
24123
24124 fi
24125 done
24126
24127 else
24128
24129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24130 $as_echo_n "checking for _sincosf declaration... " >&6; }
24131 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24132 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24133 $as_echo_n "(cached) " >&6
24134 else
24135
24136
24137 ac_ext=cpp
24138 ac_cpp='$CXXCPP $CPPFLAGS'
24139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24142
24143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24144 /* end confdefs.h. */
24145 #include <math.h>
24146 int
24147 main ()
24148 {
24149 _sincosf(0, 0, 0);
24150 ;
24151 return 0;
24152 }
24153 _ACEOF
24154 if ac_fn_cxx_try_compile "$LINENO"; then :
24155 glibcxx_cv_func__sincosf_use=yes
24156 else
24157 glibcxx_cv_func__sincosf_use=no
24158 fi
24159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24160 ac_ext=c
24161 ac_cpp='$CPP $CPPFLAGS'
24162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24165
24166
24167 fi
24168
24169 fi
24170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24171 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24172
24173 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24174 for ac_func in _sincosf
24175 do :
24176 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24177 if test "x$ac_cv_func__sincosf" = x""yes; then :
24178 cat >>confdefs.h <<_ACEOF
24179 #define HAVE__SINCOSF 1
24180 _ACEOF
24181
24182 fi
24183 done
24184
24185 fi
24186 fi
24187
24188
24189
24190
24191
24192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24193 $as_echo_n "checking for finitef declaration... " >&6; }
24194 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24195 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24196 $as_echo_n "(cached) " >&6
24197 else
24198
24199
24200 ac_ext=cpp
24201 ac_cpp='$CXXCPP $CPPFLAGS'
24202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24205
24206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24207 /* end confdefs.h. */
24208 #include <math.h>
24209 #ifdef HAVE_IEEEFP_H
24210 #include <ieeefp.h>
24211 #endif
24212
24213 int
24214 main ()
24215 {
24216 finitef(0);
24217 ;
24218 return 0;
24219 }
24220 _ACEOF
24221 if ac_fn_cxx_try_compile "$LINENO"; then :
24222 glibcxx_cv_func_finitef_use=yes
24223 else
24224 glibcxx_cv_func_finitef_use=no
24225 fi
24226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24227 ac_ext=c
24228 ac_cpp='$CPP $CPPFLAGS'
24229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24232
24233
24234 fi
24235
24236 fi
24237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24238 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24239
24240 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24241 for ac_func in finitef
24242 do :
24243 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24244 if test "x$ac_cv_func_finitef" = x""yes; then :
24245 cat >>confdefs.h <<_ACEOF
24246 #define HAVE_FINITEF 1
24247 _ACEOF
24248
24249 fi
24250 done
24251
24252 else
24253
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24255 $as_echo_n "checking for _finitef declaration... " >&6; }
24256 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24257 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24258 $as_echo_n "(cached) " >&6
24259 else
24260
24261
24262 ac_ext=cpp
24263 ac_cpp='$CXXCPP $CPPFLAGS'
24264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24267
24268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24269 /* end confdefs.h. */
24270 #include <math.h>
24271 #ifdef HAVE_IEEEFP_H
24272 #include <ieeefp.h>
24273 #endif
24274
24275 int
24276 main ()
24277 {
24278 _finitef(0);
24279 ;
24280 return 0;
24281 }
24282 _ACEOF
24283 if ac_fn_cxx_try_compile "$LINENO"; then :
24284 glibcxx_cv_func__finitef_use=yes
24285 else
24286 glibcxx_cv_func__finitef_use=no
24287 fi
24288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24289 ac_ext=c
24290 ac_cpp='$CPP $CPPFLAGS'
24291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24294
24295
24296 fi
24297
24298 fi
24299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24300 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24301
24302 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24303 for ac_func in _finitef
24304 do :
24305 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24306 if test "x$ac_cv_func__finitef" = x""yes; then :
24307 cat >>confdefs.h <<_ACEOF
24308 #define HAVE__FINITEF 1
24309 _ACEOF
24310
24311 fi
24312 done
24313
24314 fi
24315 fi
24316
24317
24318
24319
24320
24321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24322 $as_echo_n "checking for long double trig functions... " >&6; }
24323 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24324 $as_echo_n "(cached) " >&6
24325 else
24326
24327
24328 ac_ext=cpp
24329 ac_cpp='$CXXCPP $CPPFLAGS'
24330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24333
24334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24335 /* end confdefs.h. */
24336 #include <math.h>
24337 int
24338 main ()
24339 {
24340 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24341 ;
24342 return 0;
24343 }
24344 _ACEOF
24345 if ac_fn_cxx_try_compile "$LINENO"; then :
24346 glibcxx_cv_func_long_double_trig_use=yes
24347 else
24348 glibcxx_cv_func_long_double_trig_use=no
24349 fi
24350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24351 ac_ext=c
24352 ac_cpp='$CPP $CPPFLAGS'
24353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24356
24357 fi
24358
24359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24360 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24361 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24362 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24363 do :
24364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24366 eval as_val=\$$as_ac_var
24367 if test "x$as_val" = x""yes; then :
24368 cat >>confdefs.h <<_ACEOF
24369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24370 _ACEOF
24371
24372 fi
24373 done
24374
24375 else
24376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24377 $as_echo_n "checking for _long double trig functions... " >&6; }
24378 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24379 $as_echo_n "(cached) " >&6
24380 else
24381
24382
24383 ac_ext=cpp
24384 ac_cpp='$CXXCPP $CPPFLAGS'
24385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24388
24389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24390 /* end confdefs.h. */
24391 #include <math.h>
24392 int
24393 main ()
24394 {
24395 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24396 ;
24397 return 0;
24398 }
24399 _ACEOF
24400 if ac_fn_cxx_try_compile "$LINENO"; then :
24401 glibcxx_cv_func__long_double_trig_use=yes
24402 else
24403 glibcxx_cv_func__long_double_trig_use=no
24404 fi
24405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24406 ac_ext=c
24407 ac_cpp='$CPP $CPPFLAGS'
24408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24411
24412 fi
24413
24414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24415 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24416 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24417 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24418 do :
24419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24421 eval as_val=\$$as_ac_var
24422 if test "x$as_val" = x""yes; then :
24423 cat >>confdefs.h <<_ACEOF
24424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24425 _ACEOF
24426
24427 fi
24428 done
24429
24430 fi
24431 fi
24432
24433
24434
24435
24436
24437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24438 $as_echo_n "checking for long double round functions... " >&6; }
24439 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24440 $as_echo_n "(cached) " >&6
24441 else
24442
24443
24444 ac_ext=cpp
24445 ac_cpp='$CXXCPP $CPPFLAGS'
24446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24449
24450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24451 /* end confdefs.h. */
24452 #include <math.h>
24453 int
24454 main ()
24455 {
24456 ceill (0); floorl (0);
24457 ;
24458 return 0;
24459 }
24460 _ACEOF
24461 if ac_fn_cxx_try_compile "$LINENO"; then :
24462 glibcxx_cv_func_long_double_round_use=yes
24463 else
24464 glibcxx_cv_func_long_double_round_use=no
24465 fi
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 ac_ext=c
24468 ac_cpp='$CPP $CPPFLAGS'
24469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24472
24473 fi
24474
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24476 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24477 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24478 for ac_func in ceill floorl
24479 do :
24480 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24481 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24482 eval as_val=\$$as_ac_var
24483 if test "x$as_val" = x""yes; then :
24484 cat >>confdefs.h <<_ACEOF
24485 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24486 _ACEOF
24487
24488 fi
24489 done
24490
24491 else
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24493 $as_echo_n "checking for _long double round functions... " >&6; }
24494 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24495 $as_echo_n "(cached) " >&6
24496 else
24497
24498
24499 ac_ext=cpp
24500 ac_cpp='$CXXCPP $CPPFLAGS'
24501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24504
24505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24506 /* end confdefs.h. */
24507 #include <math.h>
24508 int
24509 main ()
24510 {
24511 _ceill (0); _floorl (0);
24512 ;
24513 return 0;
24514 }
24515 _ACEOF
24516 if ac_fn_cxx_try_compile "$LINENO"; then :
24517 glibcxx_cv_func__long_double_round_use=yes
24518 else
24519 glibcxx_cv_func__long_double_round_use=no
24520 fi
24521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24522 ac_ext=c
24523 ac_cpp='$CPP $CPPFLAGS'
24524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24527
24528 fi
24529
24530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24531 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24532 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24533 for ac_func in _ceill _floorl
24534 do :
24535 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24536 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24537 eval as_val=\$$as_ac_var
24538 if test "x$as_val" = x""yes; then :
24539 cat >>confdefs.h <<_ACEOF
24540 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24541 _ACEOF
24542
24543 fi
24544 done
24545
24546 fi
24547 fi
24548
24549
24550
24551
24552
24553
24554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24555 $as_echo_n "checking for isnanl declaration... " >&6; }
24556 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24557 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24558 $as_echo_n "(cached) " >&6
24559 else
24560
24561
24562 ac_ext=cpp
24563 ac_cpp='$CXXCPP $CPPFLAGS'
24564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24567
24568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24569 /* end confdefs.h. */
24570 #include <math.h>
24571 #ifdef HAVE_IEEEFP_H
24572 #include <ieeefp.h>
24573 #endif
24574
24575 int
24576 main ()
24577 {
24578 isnanl(0);
24579 ;
24580 return 0;
24581 }
24582 _ACEOF
24583 if ac_fn_cxx_try_compile "$LINENO"; then :
24584 glibcxx_cv_func_isnanl_use=yes
24585 else
24586 glibcxx_cv_func_isnanl_use=no
24587 fi
24588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24589 ac_ext=c
24590 ac_cpp='$CPP $CPPFLAGS'
24591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24594
24595
24596 fi
24597
24598 fi
24599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24600 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24601
24602 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24603 for ac_func in isnanl
24604 do :
24605 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24606 if test "x$ac_cv_func_isnanl" = x""yes; then :
24607 cat >>confdefs.h <<_ACEOF
24608 #define HAVE_ISNANL 1
24609 _ACEOF
24610
24611 fi
24612 done
24613
24614 else
24615
24616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24617 $as_echo_n "checking for _isnanl declaration... " >&6; }
24618 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24619 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24620 $as_echo_n "(cached) " >&6
24621 else
24622
24623
24624 ac_ext=cpp
24625 ac_cpp='$CXXCPP $CPPFLAGS'
24626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24629
24630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24631 /* end confdefs.h. */
24632 #include <math.h>
24633 #ifdef HAVE_IEEEFP_H
24634 #include <ieeefp.h>
24635 #endif
24636
24637 int
24638 main ()
24639 {
24640 _isnanl(0);
24641 ;
24642 return 0;
24643 }
24644 _ACEOF
24645 if ac_fn_cxx_try_compile "$LINENO"; then :
24646 glibcxx_cv_func__isnanl_use=yes
24647 else
24648 glibcxx_cv_func__isnanl_use=no
24649 fi
24650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24651 ac_ext=c
24652 ac_cpp='$CPP $CPPFLAGS'
24653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24656
24657
24658 fi
24659
24660 fi
24661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24662 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24663
24664 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24665 for ac_func in _isnanl
24666 do :
24667 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24668 if test "x$ac_cv_func__isnanl" = x""yes; then :
24669 cat >>confdefs.h <<_ACEOF
24670 #define HAVE__ISNANL 1
24671 _ACEOF
24672
24673 fi
24674 done
24675
24676 fi
24677 fi
24678
24679
24680
24681
24682
24683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24684 $as_echo_n "checking for isinfl declaration... " >&6; }
24685 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24686 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24687 $as_echo_n "(cached) " >&6
24688 else
24689
24690
24691 ac_ext=cpp
24692 ac_cpp='$CXXCPP $CPPFLAGS'
24693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24696
24697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24698 /* end confdefs.h. */
24699 #include <math.h>
24700 #ifdef HAVE_IEEEFP_H
24701 #include <ieeefp.h>
24702 #endif
24703
24704 int
24705 main ()
24706 {
24707 isinfl(0);
24708 ;
24709 return 0;
24710 }
24711 _ACEOF
24712 if ac_fn_cxx_try_compile "$LINENO"; then :
24713 glibcxx_cv_func_isinfl_use=yes
24714 else
24715 glibcxx_cv_func_isinfl_use=no
24716 fi
24717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24718 ac_ext=c
24719 ac_cpp='$CPP $CPPFLAGS'
24720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24723
24724
24725 fi
24726
24727 fi
24728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24729 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24730
24731 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24732 for ac_func in isinfl
24733 do :
24734 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24735 if test "x$ac_cv_func_isinfl" = x""yes; then :
24736 cat >>confdefs.h <<_ACEOF
24737 #define HAVE_ISINFL 1
24738 _ACEOF
24739
24740 fi
24741 done
24742
24743 else
24744
24745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24746 $as_echo_n "checking for _isinfl declaration... " >&6; }
24747 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24748 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24749 $as_echo_n "(cached) " >&6
24750 else
24751
24752
24753 ac_ext=cpp
24754 ac_cpp='$CXXCPP $CPPFLAGS'
24755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24758
24759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24760 /* end confdefs.h. */
24761 #include <math.h>
24762 #ifdef HAVE_IEEEFP_H
24763 #include <ieeefp.h>
24764 #endif
24765
24766 int
24767 main ()
24768 {
24769 _isinfl(0);
24770 ;
24771 return 0;
24772 }
24773 _ACEOF
24774 if ac_fn_cxx_try_compile "$LINENO"; then :
24775 glibcxx_cv_func__isinfl_use=yes
24776 else
24777 glibcxx_cv_func__isinfl_use=no
24778 fi
24779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24780 ac_ext=c
24781 ac_cpp='$CPP $CPPFLAGS'
24782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24785
24786
24787 fi
24788
24789 fi
24790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24791 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24792
24793 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24794 for ac_func in _isinfl
24795 do :
24796 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24797 if test "x$ac_cv_func__isinfl" = x""yes; then :
24798 cat >>confdefs.h <<_ACEOF
24799 #define HAVE__ISINFL 1
24800 _ACEOF
24801
24802 fi
24803 done
24804
24805 fi
24806 fi
24807
24808
24809
24810
24811
24812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24813 $as_echo_n "checking for atan2l declaration... " >&6; }
24814 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24815 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24816 $as_echo_n "(cached) " >&6
24817 else
24818
24819
24820 ac_ext=cpp
24821 ac_cpp='$CXXCPP $CPPFLAGS'
24822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24825
24826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24827 /* end confdefs.h. */
24828 #include <math.h>
24829 int
24830 main ()
24831 {
24832 atan2l(0, 0);
24833 ;
24834 return 0;
24835 }
24836 _ACEOF
24837 if ac_fn_cxx_try_compile "$LINENO"; then :
24838 glibcxx_cv_func_atan2l_use=yes
24839 else
24840 glibcxx_cv_func_atan2l_use=no
24841 fi
24842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24843 ac_ext=c
24844 ac_cpp='$CPP $CPPFLAGS'
24845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24848
24849
24850 fi
24851
24852 fi
24853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24854 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24855
24856 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24857 for ac_func in atan2l
24858 do :
24859 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24860 if test "x$ac_cv_func_atan2l" = x""yes; then :
24861 cat >>confdefs.h <<_ACEOF
24862 #define HAVE_ATAN2L 1
24863 _ACEOF
24864
24865 fi
24866 done
24867
24868 else
24869
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24871 $as_echo_n "checking for _atan2l declaration... " >&6; }
24872 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24873 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24874 $as_echo_n "(cached) " >&6
24875 else
24876
24877
24878 ac_ext=cpp
24879 ac_cpp='$CXXCPP $CPPFLAGS'
24880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24883
24884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24885 /* end confdefs.h. */
24886 #include <math.h>
24887 int
24888 main ()
24889 {
24890 _atan2l(0, 0);
24891 ;
24892 return 0;
24893 }
24894 _ACEOF
24895 if ac_fn_cxx_try_compile "$LINENO"; then :
24896 glibcxx_cv_func__atan2l_use=yes
24897 else
24898 glibcxx_cv_func__atan2l_use=no
24899 fi
24900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24901 ac_ext=c
24902 ac_cpp='$CPP $CPPFLAGS'
24903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24906
24907
24908 fi
24909
24910 fi
24911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24912 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24913
24914 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24915 for ac_func in _atan2l
24916 do :
24917 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24918 if test "x$ac_cv_func__atan2l" = x""yes; then :
24919 cat >>confdefs.h <<_ACEOF
24920 #define HAVE__ATAN2L 1
24921 _ACEOF
24922
24923 fi
24924 done
24925
24926 fi
24927 fi
24928
24929
24930
24931
24932
24933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24934 $as_echo_n "checking for expl declaration... " >&6; }
24935 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24936 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24937 $as_echo_n "(cached) " >&6
24938 else
24939
24940
24941 ac_ext=cpp
24942 ac_cpp='$CXXCPP $CPPFLAGS'
24943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24946
24947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24948 /* end confdefs.h. */
24949 #include <math.h>
24950 #ifdef HAVE_IEEEFP_H
24951 #include <ieeefp.h>
24952 #endif
24953
24954 int
24955 main ()
24956 {
24957 expl(0);
24958 ;
24959 return 0;
24960 }
24961 _ACEOF
24962 if ac_fn_cxx_try_compile "$LINENO"; then :
24963 glibcxx_cv_func_expl_use=yes
24964 else
24965 glibcxx_cv_func_expl_use=no
24966 fi
24967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24968 ac_ext=c
24969 ac_cpp='$CPP $CPPFLAGS'
24970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24973
24974
24975 fi
24976
24977 fi
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24979 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24980
24981 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24982 for ac_func in expl
24983 do :
24984 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24985 if test "x$ac_cv_func_expl" = x""yes; then :
24986 cat >>confdefs.h <<_ACEOF
24987 #define HAVE_EXPL 1
24988 _ACEOF
24989
24990 fi
24991 done
24992
24993 else
24994
24995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24996 $as_echo_n "checking for _expl declaration... " >&6; }
24997 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24998 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24999 $as_echo_n "(cached) " >&6
25000 else
25001
25002
25003 ac_ext=cpp
25004 ac_cpp='$CXXCPP $CPPFLAGS'
25005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25008
25009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25010 /* end confdefs.h. */
25011 #include <math.h>
25012 #ifdef HAVE_IEEEFP_H
25013 #include <ieeefp.h>
25014 #endif
25015
25016 int
25017 main ()
25018 {
25019 _expl(0);
25020 ;
25021 return 0;
25022 }
25023 _ACEOF
25024 if ac_fn_cxx_try_compile "$LINENO"; then :
25025 glibcxx_cv_func__expl_use=yes
25026 else
25027 glibcxx_cv_func__expl_use=no
25028 fi
25029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25030 ac_ext=c
25031 ac_cpp='$CPP $CPPFLAGS'
25032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25035
25036
25037 fi
25038
25039 fi
25040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25041 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25042
25043 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25044 for ac_func in _expl
25045 do :
25046 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25047 if test "x$ac_cv_func__expl" = x""yes; then :
25048 cat >>confdefs.h <<_ACEOF
25049 #define HAVE__EXPL 1
25050 _ACEOF
25051
25052 fi
25053 done
25054
25055 fi
25056 fi
25057
25058
25059
25060
25061
25062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25063 $as_echo_n "checking for fabsl declaration... " >&6; }
25064 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25065 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25066 $as_echo_n "(cached) " >&6
25067 else
25068
25069
25070 ac_ext=cpp
25071 ac_cpp='$CXXCPP $CPPFLAGS'
25072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25075
25076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25077 /* end confdefs.h. */
25078 #include <math.h>
25079 #ifdef HAVE_IEEEFP_H
25080 #include <ieeefp.h>
25081 #endif
25082
25083 int
25084 main ()
25085 {
25086 fabsl(0);
25087 ;
25088 return 0;
25089 }
25090 _ACEOF
25091 if ac_fn_cxx_try_compile "$LINENO"; then :
25092 glibcxx_cv_func_fabsl_use=yes
25093 else
25094 glibcxx_cv_func_fabsl_use=no
25095 fi
25096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25097 ac_ext=c
25098 ac_cpp='$CPP $CPPFLAGS'
25099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25102
25103
25104 fi
25105
25106 fi
25107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25108 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25109
25110 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25111 for ac_func in fabsl
25112 do :
25113 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25114 if test "x$ac_cv_func_fabsl" = x""yes; then :
25115 cat >>confdefs.h <<_ACEOF
25116 #define HAVE_FABSL 1
25117 _ACEOF
25118
25119 fi
25120 done
25121
25122 else
25123
25124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25125 $as_echo_n "checking for _fabsl declaration... " >&6; }
25126 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25127 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25128 $as_echo_n "(cached) " >&6
25129 else
25130
25131
25132 ac_ext=cpp
25133 ac_cpp='$CXXCPP $CPPFLAGS'
25134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25137
25138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25139 /* end confdefs.h. */
25140 #include <math.h>
25141 #ifdef HAVE_IEEEFP_H
25142 #include <ieeefp.h>
25143 #endif
25144
25145 int
25146 main ()
25147 {
25148 _fabsl(0);
25149 ;
25150 return 0;
25151 }
25152 _ACEOF
25153 if ac_fn_cxx_try_compile "$LINENO"; then :
25154 glibcxx_cv_func__fabsl_use=yes
25155 else
25156 glibcxx_cv_func__fabsl_use=no
25157 fi
25158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25159 ac_ext=c
25160 ac_cpp='$CPP $CPPFLAGS'
25161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25164
25165
25166 fi
25167
25168 fi
25169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25170 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25171
25172 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25173 for ac_func in _fabsl
25174 do :
25175 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25176 if test "x$ac_cv_func__fabsl" = x""yes; then :
25177 cat >>confdefs.h <<_ACEOF
25178 #define HAVE__FABSL 1
25179 _ACEOF
25180
25181 fi
25182 done
25183
25184 fi
25185 fi
25186
25187
25188
25189
25190
25191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25192 $as_echo_n "checking for fmodl declaration... " >&6; }
25193 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25194 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25195 $as_echo_n "(cached) " >&6
25196 else
25197
25198
25199 ac_ext=cpp
25200 ac_cpp='$CXXCPP $CPPFLAGS'
25201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25204
25205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25206 /* end confdefs.h. */
25207 #include <math.h>
25208 int
25209 main ()
25210 {
25211 fmodl(0, 0);
25212 ;
25213 return 0;
25214 }
25215 _ACEOF
25216 if ac_fn_cxx_try_compile "$LINENO"; then :
25217 glibcxx_cv_func_fmodl_use=yes
25218 else
25219 glibcxx_cv_func_fmodl_use=no
25220 fi
25221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25222 ac_ext=c
25223 ac_cpp='$CPP $CPPFLAGS'
25224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25227
25228
25229 fi
25230
25231 fi
25232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25233 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25234
25235 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25236 for ac_func in fmodl
25237 do :
25238 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25239 if test "x$ac_cv_func_fmodl" = x""yes; then :
25240 cat >>confdefs.h <<_ACEOF
25241 #define HAVE_FMODL 1
25242 _ACEOF
25243
25244 fi
25245 done
25246
25247 else
25248
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25250 $as_echo_n "checking for _fmodl declaration... " >&6; }
25251 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25252 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25253 $as_echo_n "(cached) " >&6
25254 else
25255
25256
25257 ac_ext=cpp
25258 ac_cpp='$CXXCPP $CPPFLAGS'
25259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25262
25263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25264 /* end confdefs.h. */
25265 #include <math.h>
25266 int
25267 main ()
25268 {
25269 _fmodl(0, 0);
25270 ;
25271 return 0;
25272 }
25273 _ACEOF
25274 if ac_fn_cxx_try_compile "$LINENO"; then :
25275 glibcxx_cv_func__fmodl_use=yes
25276 else
25277 glibcxx_cv_func__fmodl_use=no
25278 fi
25279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25280 ac_ext=c
25281 ac_cpp='$CPP $CPPFLAGS'
25282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25285
25286
25287 fi
25288
25289 fi
25290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25291 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25292
25293 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25294 for ac_func in _fmodl
25295 do :
25296 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25297 if test "x$ac_cv_func__fmodl" = x""yes; then :
25298 cat >>confdefs.h <<_ACEOF
25299 #define HAVE__FMODL 1
25300 _ACEOF
25301
25302 fi
25303 done
25304
25305 fi
25306 fi
25307
25308
25309
25310
25311
25312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25313 $as_echo_n "checking for frexpl declaration... " >&6; }
25314 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25315 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25316 $as_echo_n "(cached) " >&6
25317 else
25318
25319
25320 ac_ext=cpp
25321 ac_cpp='$CXXCPP $CPPFLAGS'
25322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25325
25326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25327 /* end confdefs.h. */
25328 #include <math.h>
25329 int
25330 main ()
25331 {
25332 frexpl(0, 0);
25333 ;
25334 return 0;
25335 }
25336 _ACEOF
25337 if ac_fn_cxx_try_compile "$LINENO"; then :
25338 glibcxx_cv_func_frexpl_use=yes
25339 else
25340 glibcxx_cv_func_frexpl_use=no
25341 fi
25342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25343 ac_ext=c
25344 ac_cpp='$CPP $CPPFLAGS'
25345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25348
25349
25350 fi
25351
25352 fi
25353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25354 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25355
25356 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25357 for ac_func in frexpl
25358 do :
25359 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25360 if test "x$ac_cv_func_frexpl" = x""yes; then :
25361 cat >>confdefs.h <<_ACEOF
25362 #define HAVE_FREXPL 1
25363 _ACEOF
25364
25365 fi
25366 done
25367
25368 else
25369
25370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25371 $as_echo_n "checking for _frexpl declaration... " >&6; }
25372 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25373 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25374 $as_echo_n "(cached) " >&6
25375 else
25376
25377
25378 ac_ext=cpp
25379 ac_cpp='$CXXCPP $CPPFLAGS'
25380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25383
25384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25385 /* end confdefs.h. */
25386 #include <math.h>
25387 int
25388 main ()
25389 {
25390 _frexpl(0, 0);
25391 ;
25392 return 0;
25393 }
25394 _ACEOF
25395 if ac_fn_cxx_try_compile "$LINENO"; then :
25396 glibcxx_cv_func__frexpl_use=yes
25397 else
25398 glibcxx_cv_func__frexpl_use=no
25399 fi
25400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25401 ac_ext=c
25402 ac_cpp='$CPP $CPPFLAGS'
25403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25406
25407
25408 fi
25409
25410 fi
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25412 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25413
25414 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25415 for ac_func in _frexpl
25416 do :
25417 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25418 if test "x$ac_cv_func__frexpl" = x""yes; then :
25419 cat >>confdefs.h <<_ACEOF
25420 #define HAVE__FREXPL 1
25421 _ACEOF
25422
25423 fi
25424 done
25425
25426 fi
25427 fi
25428
25429
25430
25431
25432
25433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25434 $as_echo_n "checking for hypotl declaration... " >&6; }
25435 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25436 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25437 $as_echo_n "(cached) " >&6
25438 else
25439
25440
25441 ac_ext=cpp
25442 ac_cpp='$CXXCPP $CPPFLAGS'
25443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25446
25447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25448 /* end confdefs.h. */
25449 #include <math.h>
25450 int
25451 main ()
25452 {
25453 hypotl(0, 0);
25454 ;
25455 return 0;
25456 }
25457 _ACEOF
25458 if ac_fn_cxx_try_compile "$LINENO"; then :
25459 glibcxx_cv_func_hypotl_use=yes
25460 else
25461 glibcxx_cv_func_hypotl_use=no
25462 fi
25463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25464 ac_ext=c
25465 ac_cpp='$CPP $CPPFLAGS'
25466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25469
25470
25471 fi
25472
25473 fi
25474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25475 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25476
25477 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25478 for ac_func in hypotl
25479 do :
25480 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25481 if test "x$ac_cv_func_hypotl" = x""yes; then :
25482 cat >>confdefs.h <<_ACEOF
25483 #define HAVE_HYPOTL 1
25484 _ACEOF
25485
25486 fi
25487 done
25488
25489 else
25490
25491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25492 $as_echo_n "checking for _hypotl declaration... " >&6; }
25493 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25494 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25495 $as_echo_n "(cached) " >&6
25496 else
25497
25498
25499 ac_ext=cpp
25500 ac_cpp='$CXXCPP $CPPFLAGS'
25501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25504
25505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25506 /* end confdefs.h. */
25507 #include <math.h>
25508 int
25509 main ()
25510 {
25511 _hypotl(0, 0);
25512 ;
25513 return 0;
25514 }
25515 _ACEOF
25516 if ac_fn_cxx_try_compile "$LINENO"; then :
25517 glibcxx_cv_func__hypotl_use=yes
25518 else
25519 glibcxx_cv_func__hypotl_use=no
25520 fi
25521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25522 ac_ext=c
25523 ac_cpp='$CPP $CPPFLAGS'
25524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25527
25528
25529 fi
25530
25531 fi
25532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25533 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25534
25535 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25536 for ac_func in _hypotl
25537 do :
25538 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25539 if test "x$ac_cv_func__hypotl" = x""yes; then :
25540 cat >>confdefs.h <<_ACEOF
25541 #define HAVE__HYPOTL 1
25542 _ACEOF
25543
25544 fi
25545 done
25546
25547 fi
25548 fi
25549
25550
25551
25552
25553
25554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25555 $as_echo_n "checking for ldexpl declaration... " >&6; }
25556 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25557 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25558 $as_echo_n "(cached) " >&6
25559 else
25560
25561
25562 ac_ext=cpp
25563 ac_cpp='$CXXCPP $CPPFLAGS'
25564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25567
25568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25569 /* end confdefs.h. */
25570 #include <math.h>
25571 int
25572 main ()
25573 {
25574 ldexpl(0, 0);
25575 ;
25576 return 0;
25577 }
25578 _ACEOF
25579 if ac_fn_cxx_try_compile "$LINENO"; then :
25580 glibcxx_cv_func_ldexpl_use=yes
25581 else
25582 glibcxx_cv_func_ldexpl_use=no
25583 fi
25584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25585 ac_ext=c
25586 ac_cpp='$CPP $CPPFLAGS'
25587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25590
25591
25592 fi
25593
25594 fi
25595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25596 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25597
25598 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25599 for ac_func in ldexpl
25600 do :
25601 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25602 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25603 cat >>confdefs.h <<_ACEOF
25604 #define HAVE_LDEXPL 1
25605 _ACEOF
25606
25607 fi
25608 done
25609
25610 else
25611
25612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25613 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25614 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25615 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25616 $as_echo_n "(cached) " >&6
25617 else
25618
25619
25620 ac_ext=cpp
25621 ac_cpp='$CXXCPP $CPPFLAGS'
25622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25625
25626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25627 /* end confdefs.h. */
25628 #include <math.h>
25629 int
25630 main ()
25631 {
25632 _ldexpl(0, 0);
25633 ;
25634 return 0;
25635 }
25636 _ACEOF
25637 if ac_fn_cxx_try_compile "$LINENO"; then :
25638 glibcxx_cv_func__ldexpl_use=yes
25639 else
25640 glibcxx_cv_func__ldexpl_use=no
25641 fi
25642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25643 ac_ext=c
25644 ac_cpp='$CPP $CPPFLAGS'
25645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25648
25649
25650 fi
25651
25652 fi
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25654 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25655
25656 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25657 for ac_func in _ldexpl
25658 do :
25659 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25660 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25661 cat >>confdefs.h <<_ACEOF
25662 #define HAVE__LDEXPL 1
25663 _ACEOF
25664
25665 fi
25666 done
25667
25668 fi
25669 fi
25670
25671
25672
25673
25674
25675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25676 $as_echo_n "checking for logl declaration... " >&6; }
25677 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25678 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25679 $as_echo_n "(cached) " >&6
25680 else
25681
25682
25683 ac_ext=cpp
25684 ac_cpp='$CXXCPP $CPPFLAGS'
25685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25688
25689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25690 /* end confdefs.h. */
25691 #include <math.h>
25692 #ifdef HAVE_IEEEFP_H
25693 #include <ieeefp.h>
25694 #endif
25695
25696 int
25697 main ()
25698 {
25699 logl(0);
25700 ;
25701 return 0;
25702 }
25703 _ACEOF
25704 if ac_fn_cxx_try_compile "$LINENO"; then :
25705 glibcxx_cv_func_logl_use=yes
25706 else
25707 glibcxx_cv_func_logl_use=no
25708 fi
25709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25710 ac_ext=c
25711 ac_cpp='$CPP $CPPFLAGS'
25712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25715
25716
25717 fi
25718
25719 fi
25720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25721 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25722
25723 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25724 for ac_func in logl
25725 do :
25726 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25727 if test "x$ac_cv_func_logl" = x""yes; then :
25728 cat >>confdefs.h <<_ACEOF
25729 #define HAVE_LOGL 1
25730 _ACEOF
25731
25732 fi
25733 done
25734
25735 else
25736
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25738 $as_echo_n "checking for _logl declaration... " >&6; }
25739 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25740 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25741 $as_echo_n "(cached) " >&6
25742 else
25743
25744
25745 ac_ext=cpp
25746 ac_cpp='$CXXCPP $CPPFLAGS'
25747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25750
25751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25752 /* end confdefs.h. */
25753 #include <math.h>
25754 #ifdef HAVE_IEEEFP_H
25755 #include <ieeefp.h>
25756 #endif
25757
25758 int
25759 main ()
25760 {
25761 _logl(0);
25762 ;
25763 return 0;
25764 }
25765 _ACEOF
25766 if ac_fn_cxx_try_compile "$LINENO"; then :
25767 glibcxx_cv_func__logl_use=yes
25768 else
25769 glibcxx_cv_func__logl_use=no
25770 fi
25771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25772 ac_ext=c
25773 ac_cpp='$CPP $CPPFLAGS'
25774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25777
25778
25779 fi
25780
25781 fi
25782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25783 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25784
25785 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25786 for ac_func in _logl
25787 do :
25788 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25789 if test "x$ac_cv_func__logl" = x""yes; then :
25790 cat >>confdefs.h <<_ACEOF
25791 #define HAVE__LOGL 1
25792 _ACEOF
25793
25794 fi
25795 done
25796
25797 fi
25798 fi
25799
25800
25801
25802
25803
25804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25805 $as_echo_n "checking for log10l declaration... " >&6; }
25806 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25807 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25808 $as_echo_n "(cached) " >&6
25809 else
25810
25811
25812 ac_ext=cpp
25813 ac_cpp='$CXXCPP $CPPFLAGS'
25814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25817
25818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25819 /* end confdefs.h. */
25820 #include <math.h>
25821 #ifdef HAVE_IEEEFP_H
25822 #include <ieeefp.h>
25823 #endif
25824
25825 int
25826 main ()
25827 {
25828 log10l(0);
25829 ;
25830 return 0;
25831 }
25832 _ACEOF
25833 if ac_fn_cxx_try_compile "$LINENO"; then :
25834 glibcxx_cv_func_log10l_use=yes
25835 else
25836 glibcxx_cv_func_log10l_use=no
25837 fi
25838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25839 ac_ext=c
25840 ac_cpp='$CPP $CPPFLAGS'
25841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25844
25845
25846 fi
25847
25848 fi
25849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25850 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25851
25852 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25853 for ac_func in log10l
25854 do :
25855 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25856 if test "x$ac_cv_func_log10l" = x""yes; then :
25857 cat >>confdefs.h <<_ACEOF
25858 #define HAVE_LOG10L 1
25859 _ACEOF
25860
25861 fi
25862 done
25863
25864 else
25865
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25867 $as_echo_n "checking for _log10l declaration... " >&6; }
25868 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25869 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25870 $as_echo_n "(cached) " >&6
25871 else
25872
25873
25874 ac_ext=cpp
25875 ac_cpp='$CXXCPP $CPPFLAGS'
25876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25879
25880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25881 /* end confdefs.h. */
25882 #include <math.h>
25883 #ifdef HAVE_IEEEFP_H
25884 #include <ieeefp.h>
25885 #endif
25886
25887 int
25888 main ()
25889 {
25890 _log10l(0);
25891 ;
25892 return 0;
25893 }
25894 _ACEOF
25895 if ac_fn_cxx_try_compile "$LINENO"; then :
25896 glibcxx_cv_func__log10l_use=yes
25897 else
25898 glibcxx_cv_func__log10l_use=no
25899 fi
25900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25901 ac_ext=c
25902 ac_cpp='$CPP $CPPFLAGS'
25903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25906
25907
25908 fi
25909
25910 fi
25911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25912 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25913
25914 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25915 for ac_func in _log10l
25916 do :
25917 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25918 if test "x$ac_cv_func__log10l" = x""yes; then :
25919 cat >>confdefs.h <<_ACEOF
25920 #define HAVE__LOG10L 1
25921 _ACEOF
25922
25923 fi
25924 done
25925
25926 fi
25927 fi
25928
25929
25930
25931
25932
25933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25934 $as_echo_n "checking for modfl declaration... " >&6; }
25935 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25936 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25937 $as_echo_n "(cached) " >&6
25938 else
25939
25940
25941 ac_ext=cpp
25942 ac_cpp='$CXXCPP $CPPFLAGS'
25943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25946
25947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25948 /* end confdefs.h. */
25949 #include <math.h>
25950 int
25951 main ()
25952 {
25953 modfl(0, 0);
25954 ;
25955 return 0;
25956 }
25957 _ACEOF
25958 if ac_fn_cxx_try_compile "$LINENO"; then :
25959 glibcxx_cv_func_modfl_use=yes
25960 else
25961 glibcxx_cv_func_modfl_use=no
25962 fi
25963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25964 ac_ext=c
25965 ac_cpp='$CPP $CPPFLAGS'
25966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25969
25970
25971 fi
25972
25973 fi
25974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25975 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25976
25977 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25978 for ac_func in modfl
25979 do :
25980 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25981 if test "x$ac_cv_func_modfl" = x""yes; then :
25982 cat >>confdefs.h <<_ACEOF
25983 #define HAVE_MODFL 1
25984 _ACEOF
25985
25986 fi
25987 done
25988
25989 else
25990
25991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25992 $as_echo_n "checking for _modfl declaration... " >&6; }
25993 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25994 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25995 $as_echo_n "(cached) " >&6
25996 else
25997
25998
25999 ac_ext=cpp
26000 ac_cpp='$CXXCPP $CPPFLAGS'
26001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26004
26005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26006 /* end confdefs.h. */
26007 #include <math.h>
26008 int
26009 main ()
26010 {
26011 _modfl(0, 0);
26012 ;
26013 return 0;
26014 }
26015 _ACEOF
26016 if ac_fn_cxx_try_compile "$LINENO"; then :
26017 glibcxx_cv_func__modfl_use=yes
26018 else
26019 glibcxx_cv_func__modfl_use=no
26020 fi
26021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26022 ac_ext=c
26023 ac_cpp='$CPP $CPPFLAGS'
26024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26027
26028
26029 fi
26030
26031 fi
26032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26033 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26034
26035 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26036 for ac_func in _modfl
26037 do :
26038 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26039 if test "x$ac_cv_func__modfl" = x""yes; then :
26040 cat >>confdefs.h <<_ACEOF
26041 #define HAVE__MODFL 1
26042 _ACEOF
26043
26044 fi
26045 done
26046
26047 fi
26048 fi
26049
26050
26051
26052
26053
26054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26055 $as_echo_n "checking for powl declaration... " >&6; }
26056 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26057 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26058 $as_echo_n "(cached) " >&6
26059 else
26060
26061
26062 ac_ext=cpp
26063 ac_cpp='$CXXCPP $CPPFLAGS'
26064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26067
26068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26069 /* end confdefs.h. */
26070 #include <math.h>
26071 int
26072 main ()
26073 {
26074 powl(0, 0);
26075 ;
26076 return 0;
26077 }
26078 _ACEOF
26079 if ac_fn_cxx_try_compile "$LINENO"; then :
26080 glibcxx_cv_func_powl_use=yes
26081 else
26082 glibcxx_cv_func_powl_use=no
26083 fi
26084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26085 ac_ext=c
26086 ac_cpp='$CPP $CPPFLAGS'
26087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26090
26091
26092 fi
26093
26094 fi
26095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26096 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26097
26098 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26099 for ac_func in powl
26100 do :
26101 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26102 if test "x$ac_cv_func_powl" = x""yes; then :
26103 cat >>confdefs.h <<_ACEOF
26104 #define HAVE_POWL 1
26105 _ACEOF
26106
26107 fi
26108 done
26109
26110 else
26111
26112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26113 $as_echo_n "checking for _powl declaration... " >&6; }
26114 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26115 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26116 $as_echo_n "(cached) " >&6
26117 else
26118
26119
26120 ac_ext=cpp
26121 ac_cpp='$CXXCPP $CPPFLAGS'
26122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26125
26126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26127 /* end confdefs.h. */
26128 #include <math.h>
26129 int
26130 main ()
26131 {
26132 _powl(0, 0);
26133 ;
26134 return 0;
26135 }
26136 _ACEOF
26137 if ac_fn_cxx_try_compile "$LINENO"; then :
26138 glibcxx_cv_func__powl_use=yes
26139 else
26140 glibcxx_cv_func__powl_use=no
26141 fi
26142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26143 ac_ext=c
26144 ac_cpp='$CPP $CPPFLAGS'
26145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26148
26149
26150 fi
26151
26152 fi
26153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26154 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26155
26156 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26157 for ac_func in _powl
26158 do :
26159 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26160 if test "x$ac_cv_func__powl" = x""yes; then :
26161 cat >>confdefs.h <<_ACEOF
26162 #define HAVE__POWL 1
26163 _ACEOF
26164
26165 fi
26166 done
26167
26168 fi
26169 fi
26170
26171
26172
26173
26174
26175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26176 $as_echo_n "checking for sqrtl declaration... " >&6; }
26177 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26178 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26179 $as_echo_n "(cached) " >&6
26180 else
26181
26182
26183 ac_ext=cpp
26184 ac_cpp='$CXXCPP $CPPFLAGS'
26185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26188
26189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26190 /* end confdefs.h. */
26191 #include <math.h>
26192 #ifdef HAVE_IEEEFP_H
26193 #include <ieeefp.h>
26194 #endif
26195
26196 int
26197 main ()
26198 {
26199 sqrtl(0);
26200 ;
26201 return 0;
26202 }
26203 _ACEOF
26204 if ac_fn_cxx_try_compile "$LINENO"; then :
26205 glibcxx_cv_func_sqrtl_use=yes
26206 else
26207 glibcxx_cv_func_sqrtl_use=no
26208 fi
26209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26210 ac_ext=c
26211 ac_cpp='$CPP $CPPFLAGS'
26212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26215
26216
26217 fi
26218
26219 fi
26220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26221 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26222
26223 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26224 for ac_func in sqrtl
26225 do :
26226 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26227 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26228 cat >>confdefs.h <<_ACEOF
26229 #define HAVE_SQRTL 1
26230 _ACEOF
26231
26232 fi
26233 done
26234
26235 else
26236
26237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26238 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26239 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26240 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26241 $as_echo_n "(cached) " >&6
26242 else
26243
26244
26245 ac_ext=cpp
26246 ac_cpp='$CXXCPP $CPPFLAGS'
26247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26250
26251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26252 /* end confdefs.h. */
26253 #include <math.h>
26254 #ifdef HAVE_IEEEFP_H
26255 #include <ieeefp.h>
26256 #endif
26257
26258 int
26259 main ()
26260 {
26261 _sqrtl(0);
26262 ;
26263 return 0;
26264 }
26265 _ACEOF
26266 if ac_fn_cxx_try_compile "$LINENO"; then :
26267 glibcxx_cv_func__sqrtl_use=yes
26268 else
26269 glibcxx_cv_func__sqrtl_use=no
26270 fi
26271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26272 ac_ext=c
26273 ac_cpp='$CPP $CPPFLAGS'
26274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26277
26278
26279 fi
26280
26281 fi
26282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26283 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26284
26285 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26286 for ac_func in _sqrtl
26287 do :
26288 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26289 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26290 cat >>confdefs.h <<_ACEOF
26291 #define HAVE__SQRTL 1
26292 _ACEOF
26293
26294 fi
26295 done
26296
26297 fi
26298 fi
26299
26300
26301
26302
26303
26304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26305 $as_echo_n "checking for sincosl declaration... " >&6; }
26306 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26307 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26308 $as_echo_n "(cached) " >&6
26309 else
26310
26311
26312 ac_ext=cpp
26313 ac_cpp='$CXXCPP $CPPFLAGS'
26314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26317
26318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26319 /* end confdefs.h. */
26320 #include <math.h>
26321 int
26322 main ()
26323 {
26324 sincosl(0, 0, 0);
26325 ;
26326 return 0;
26327 }
26328 _ACEOF
26329 if ac_fn_cxx_try_compile "$LINENO"; then :
26330 glibcxx_cv_func_sincosl_use=yes
26331 else
26332 glibcxx_cv_func_sincosl_use=no
26333 fi
26334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26335 ac_ext=c
26336 ac_cpp='$CPP $CPPFLAGS'
26337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26340
26341
26342 fi
26343
26344 fi
26345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26346 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26347
26348 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26349 for ac_func in sincosl
26350 do :
26351 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26352 if test "x$ac_cv_func_sincosl" = x""yes; then :
26353 cat >>confdefs.h <<_ACEOF
26354 #define HAVE_SINCOSL 1
26355 _ACEOF
26356
26357 fi
26358 done
26359
26360 else
26361
26362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26363 $as_echo_n "checking for _sincosl declaration... " >&6; }
26364 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26365 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26366 $as_echo_n "(cached) " >&6
26367 else
26368
26369
26370 ac_ext=cpp
26371 ac_cpp='$CXXCPP $CPPFLAGS'
26372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26375
26376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26377 /* end confdefs.h. */
26378 #include <math.h>
26379 int
26380 main ()
26381 {
26382 _sincosl(0, 0, 0);
26383 ;
26384 return 0;
26385 }
26386 _ACEOF
26387 if ac_fn_cxx_try_compile "$LINENO"; then :
26388 glibcxx_cv_func__sincosl_use=yes
26389 else
26390 glibcxx_cv_func__sincosl_use=no
26391 fi
26392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26393 ac_ext=c
26394 ac_cpp='$CPP $CPPFLAGS'
26395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26398
26399
26400 fi
26401
26402 fi
26403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26404 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26405
26406 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26407 for ac_func in _sincosl
26408 do :
26409 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26410 if test "x$ac_cv_func__sincosl" = x""yes; then :
26411 cat >>confdefs.h <<_ACEOF
26412 #define HAVE__SINCOSL 1
26413 _ACEOF
26414
26415 fi
26416 done
26417
26418 fi
26419 fi
26420
26421
26422
26423
26424
26425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26426 $as_echo_n "checking for finitel declaration... " >&6; }
26427 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26428 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26429 $as_echo_n "(cached) " >&6
26430 else
26431
26432
26433 ac_ext=cpp
26434 ac_cpp='$CXXCPP $CPPFLAGS'
26435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26438
26439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26440 /* end confdefs.h. */
26441 #include <math.h>
26442 #ifdef HAVE_IEEEFP_H
26443 #include <ieeefp.h>
26444 #endif
26445
26446 int
26447 main ()
26448 {
26449 finitel(0);
26450 ;
26451 return 0;
26452 }
26453 _ACEOF
26454 if ac_fn_cxx_try_compile "$LINENO"; then :
26455 glibcxx_cv_func_finitel_use=yes
26456 else
26457 glibcxx_cv_func_finitel_use=no
26458 fi
26459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26460 ac_ext=c
26461 ac_cpp='$CPP $CPPFLAGS'
26462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26465
26466
26467 fi
26468
26469 fi
26470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26471 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26472
26473 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26474 for ac_func in finitel
26475 do :
26476 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26477 if test "x$ac_cv_func_finitel" = x""yes; then :
26478 cat >>confdefs.h <<_ACEOF
26479 #define HAVE_FINITEL 1
26480 _ACEOF
26481
26482 fi
26483 done
26484
26485 else
26486
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26488 $as_echo_n "checking for _finitel declaration... " >&6; }
26489 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26490 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26491 $as_echo_n "(cached) " >&6
26492 else
26493
26494
26495 ac_ext=cpp
26496 ac_cpp='$CXXCPP $CPPFLAGS'
26497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26500
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26503 #include <math.h>
26504 #ifdef HAVE_IEEEFP_H
26505 #include <ieeefp.h>
26506 #endif
26507
26508 int
26509 main ()
26510 {
26511 _finitel(0);
26512 ;
26513 return 0;
26514 }
26515 _ACEOF
26516 if ac_fn_cxx_try_compile "$LINENO"; then :
26517 glibcxx_cv_func__finitel_use=yes
26518 else
26519 glibcxx_cv_func__finitel_use=no
26520 fi
26521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26522 ac_ext=c
26523 ac_cpp='$CPP $CPPFLAGS'
26524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26527
26528
26529 fi
26530
26531 fi
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26533 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26534
26535 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26536 for ac_func in _finitel
26537 do :
26538 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26539 if test "x$ac_cv_func__finitel" = x""yes; then :
26540 cat >>confdefs.h <<_ACEOF
26541 #define HAVE__FINITEL 1
26542 _ACEOF
26543
26544 fi
26545 done
26546
26547 fi
26548 fi
26549
26550
26551
26552
26553 LIBS="$ac_save_LIBS"
26554 CXXFLAGS="$ac_save_CXXFLAGS"
26555
26556
26557 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26558 ac_save_CXXFLAGS="$CXXFLAGS"
26559 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26560
26561
26562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26563 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26564 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26565 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26566 $as_echo_n "(cached) " >&6
26567 else
26568
26569
26570 ac_ext=cpp
26571 ac_cpp='$CXXCPP $CPPFLAGS'
26572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26575
26576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26577 /* end confdefs.h. */
26578 #include <stdlib.h>
26579 int
26580 main ()
26581 {
26582 at_quick_exit(0);
26583 ;
26584 return 0;
26585 }
26586 _ACEOF
26587 if ac_fn_cxx_try_compile "$LINENO"; then :
26588 glibcxx_cv_func_at_quick_exit_use=yes
26589 else
26590 glibcxx_cv_func_at_quick_exit_use=no
26591 fi
26592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26593 ac_ext=c
26594 ac_cpp='$CPP $CPPFLAGS'
26595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26598
26599
26600 fi
26601
26602 fi
26603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26604 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26605 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26606 for ac_func in at_quick_exit
26607 do :
26608 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26609 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26610 cat >>confdefs.h <<_ACEOF
26611 #define HAVE_AT_QUICK_EXIT 1
26612 _ACEOF
26613
26614 fi
26615 done
26616
26617 fi
26618
26619
26620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26621 $as_echo_n "checking for quick_exit declaration... " >&6; }
26622 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26623 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26624 $as_echo_n "(cached) " >&6
26625 else
26626
26627
26628 ac_ext=cpp
26629 ac_cpp='$CXXCPP $CPPFLAGS'
26630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26633
26634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26635 /* end confdefs.h. */
26636 #include <stdlib.h>
26637 int
26638 main ()
26639 {
26640 quick_exit(0);
26641 ;
26642 return 0;
26643 }
26644 _ACEOF
26645 if ac_fn_cxx_try_compile "$LINENO"; then :
26646 glibcxx_cv_func_quick_exit_use=yes
26647 else
26648 glibcxx_cv_func_quick_exit_use=no
26649 fi
26650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26651 ac_ext=c
26652 ac_cpp='$CPP $CPPFLAGS'
26653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26656
26657
26658 fi
26659
26660 fi
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26662 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26663 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26664 for ac_func in quick_exit
26665 do :
26666 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26667 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26668 cat >>confdefs.h <<_ACEOF
26669 #define HAVE_QUICK_EXIT 1
26670 _ACEOF
26671
26672 fi
26673 done
26674
26675 fi
26676
26677
26678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26679 $as_echo_n "checking for strtold declaration... " >&6; }
26680 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26681 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26682 $as_echo_n "(cached) " >&6
26683 else
26684
26685
26686 ac_ext=cpp
26687 ac_cpp='$CXXCPP $CPPFLAGS'
26688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26691
26692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26693 /* end confdefs.h. */
26694 #include <stdlib.h>
26695 int
26696 main ()
26697 {
26698 strtold(0, 0);
26699 ;
26700 return 0;
26701 }
26702 _ACEOF
26703 if ac_fn_cxx_try_compile "$LINENO"; then :
26704 glibcxx_cv_func_strtold_use=yes
26705 else
26706 glibcxx_cv_func_strtold_use=no
26707 fi
26708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26709 ac_ext=c
26710 ac_cpp='$CPP $CPPFLAGS'
26711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26714
26715
26716 fi
26717
26718 fi
26719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26720 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26721 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26722 for ac_func in strtold
26723 do :
26724 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26725 if test "x$ac_cv_func_strtold" = x""yes; then :
26726 cat >>confdefs.h <<_ACEOF
26727 #define HAVE_STRTOLD 1
26728 _ACEOF
26729
26730 fi
26731 done
26732
26733 fi
26734
26735
26736
26737
26738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26739 $as_echo_n "checking for strtof declaration... " >&6; }
26740 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26741 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26742 $as_echo_n "(cached) " >&6
26743 else
26744
26745
26746 ac_ext=cpp
26747 ac_cpp='$CXXCPP $CPPFLAGS'
26748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26751
26752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26753 /* end confdefs.h. */
26754 #include <stdlib.h>
26755 int
26756 main ()
26757 {
26758 strtof(0, 0);
26759 ;
26760 return 0;
26761 }
26762 _ACEOF
26763 if ac_fn_cxx_try_compile "$LINENO"; then :
26764 glibcxx_cv_func_strtof_use=yes
26765 else
26766 glibcxx_cv_func_strtof_use=no
26767 fi
26768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26769 ac_ext=c
26770 ac_cpp='$CPP $CPPFLAGS'
26771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26774
26775
26776 fi
26777
26778 fi
26779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26780 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26781 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26782 for ac_func in strtof
26783 do :
26784 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26785 if test "x$ac_cv_func_strtof" = x""yes; then :
26786 cat >>confdefs.h <<_ACEOF
26787 #define HAVE_STRTOF 1
26788 _ACEOF
26789
26790 fi
26791 done
26792
26793 fi
26794
26795
26796
26797
26798 CXXFLAGS="$ac_save_CXXFLAGS"
26799
26800
26801 # For /dev/random and /dev/urandom for TR1.
26802
26803
26804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26805 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26806 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26807 $as_echo_n "(cached) " >&6
26808 else
26809
26810 if test -r /dev/random && test -r /dev/urandom; then
26811 ## For MSys environment the test above is detect as false-positive
26812 ## on mingw-targets. So disable it explicit for them.
26813 case ${target_os} in
26814 *mingw*) glibcxx_cv_random_tr1=no ;;
26815 *) glibcxx_cv_random_tr1=yes ;;
26816 esac
26817 else
26818 glibcxx_cv_random_tr1=no;
26819 fi
26820
26821 fi
26822
26823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26824 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26825
26826 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26827
26828 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26829
26830 fi
26831
26832
26833
26834 # For TLS support.
26835
26836
26837 # Check whether --enable-tls was given.
26838 if test "${enable_tls+set}" = set; then :
26839 enableval=$enable_tls;
26840 case "$enableval" in
26841 yes|no) ;;
26842 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26843 esac
26844
26845 else
26846 enable_tls=yes
26847 fi
26848
26849
26850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26851 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26852 if test "${gcc_cv_have_tls+set}" = set; then :
26853 $as_echo_n "(cached) " >&6
26854 else
26855
26856 if test "$cross_compiling" = yes; then :
26857 if test x$gcc_no_link = xyes; then
26858 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26859 fi
26860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26861 /* end confdefs.h. */
26862 __thread int a; int b; int main() { return a = b; }
26863 _ACEOF
26864 if ac_fn_c_try_link "$LINENO"; then :
26865 chktls_save_LDFLAGS="$LDFLAGS"
26866 case $host in
26867 *-*-linux*)
26868 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26869 ;;
26870 esac
26871 chktls_save_CFLAGS="$CFLAGS"
26872 CFLAGS="-fPIC $CFLAGS"
26873 if test x$gcc_no_link = xyes; then
26874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26875 fi
26876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26877 /* end confdefs.h. */
26878 int f() { return 0; }
26879 _ACEOF
26880 if ac_fn_c_try_link "$LINENO"; then :
26881 if test x$gcc_no_link = xyes; then
26882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26883 fi
26884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26885 /* end confdefs.h. */
26886 __thread int a; int b; int f() { return a = b; }
26887 _ACEOF
26888 if ac_fn_c_try_link "$LINENO"; then :
26889 gcc_cv_have_tls=yes
26890 else
26891 gcc_cv_have_tls=no
26892 fi
26893 rm -f core conftest.err conftest.$ac_objext \
26894 conftest$ac_exeext conftest.$ac_ext
26895 else
26896 gcc_cv_have_tls=yes
26897 fi
26898 rm -f core conftest.err conftest.$ac_objext \
26899 conftest$ac_exeext conftest.$ac_ext
26900 CFLAGS="$chktls_save_CFLAGS"
26901 LDFLAGS="$chktls_save_LDFLAGS"
26902 else
26903 gcc_cv_have_tls=no
26904 fi
26905 rm -f core conftest.err conftest.$ac_objext \
26906 conftest$ac_exeext conftest.$ac_ext
26907
26908
26909 else
26910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26911 /* end confdefs.h. */
26912 __thread int a; int b; int main() { return a = b; }
26913 _ACEOF
26914 if ac_fn_c_try_run "$LINENO"; then :
26915 chktls_save_LDFLAGS="$LDFLAGS"
26916 LDFLAGS="-static $LDFLAGS"
26917 if test x$gcc_no_link = xyes; then
26918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26919 fi
26920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26921 /* end confdefs.h. */
26922 int main() { return 0; }
26923 _ACEOF
26924 if ac_fn_c_try_link "$LINENO"; then :
26925 if test "$cross_compiling" = yes; then :
26926 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26928 as_fn_error "cannot run test program while cross compiling
26929 See \`config.log' for more details." "$LINENO" 5; }
26930 else
26931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26932 /* end confdefs.h. */
26933 __thread int a; int b; int main() { return a = b; }
26934 _ACEOF
26935 if ac_fn_c_try_run "$LINENO"; then :
26936 gcc_cv_have_tls=yes
26937 else
26938 gcc_cv_have_tls=no
26939 fi
26940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26941 conftest.$ac_objext conftest.beam conftest.$ac_ext
26942 fi
26943
26944 else
26945 gcc_cv_have_tls=yes
26946 fi
26947 rm -f core conftest.err conftest.$ac_objext \
26948 conftest$ac_exeext conftest.$ac_ext
26949 LDFLAGS="$chktls_save_LDFLAGS"
26950 if test $gcc_cv_have_tls = yes; then
26951 chktls_save_CFLAGS="$CFLAGS"
26952 thread_CFLAGS=failed
26953 for flag in '' '-pthread' '-lpthread'; do
26954 CFLAGS="$flag $chktls_save_CFLAGS"
26955 if test x$gcc_no_link = xyes; then
26956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26957 fi
26958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26959 /* end confdefs.h. */
26960 #include <pthread.h>
26961 void *g(void *d) { return NULL; }
26962 int
26963 main ()
26964 {
26965 pthread_t t; pthread_create(&t,NULL,g,NULL);
26966 ;
26967 return 0;
26968 }
26969 _ACEOF
26970 if ac_fn_c_try_link "$LINENO"; then :
26971 thread_CFLAGS="$flag"
26972 fi
26973 rm -f core conftest.err conftest.$ac_objext \
26974 conftest$ac_exeext conftest.$ac_ext
26975 if test "X$thread_CFLAGS" != Xfailed; then
26976 break
26977 fi
26978 done
26979 CFLAGS="$chktls_save_CFLAGS"
26980 if test "X$thread_CFLAGS" != Xfailed; then
26981 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26982 if test "$cross_compiling" = yes; then :
26983 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26984 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26985 as_fn_error "cannot run test program while cross compiling
26986 See \`config.log' for more details." "$LINENO" 5; }
26987 else
26988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26989 /* end confdefs.h. */
26990 #include <pthread.h>
26991 __thread int a;
26992 static int *volatile a_in_other_thread;
26993 static void *
26994 thread_func (void *arg)
26995 {
26996 a_in_other_thread = &a;
26997 return (void *)0;
26998 }
26999 int
27000 main ()
27001 {
27002 pthread_t thread;
27003 void *thread_retval;
27004 int *volatile a_in_main_thread;
27005 a_in_main_thread = &a;
27006 if (pthread_create (&thread, (pthread_attr_t *)0,
27007 thread_func, (void *)0))
27008 return 0;
27009 if (pthread_join (thread, &thread_retval))
27010 return 0;
27011 return (a_in_other_thread == a_in_main_thread);
27012 ;
27013 return 0;
27014 }
27015 _ACEOF
27016 if ac_fn_c_try_run "$LINENO"; then :
27017 gcc_cv_have_tls=yes
27018 else
27019 gcc_cv_have_tls=no
27020 fi
27021 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27022 conftest.$ac_objext conftest.beam conftest.$ac_ext
27023 fi
27024
27025 CFLAGS="$chktls_save_CFLAGS"
27026 fi
27027 fi
27028 else
27029 gcc_cv_have_tls=no
27030 fi
27031 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27032 conftest.$ac_objext conftest.beam conftest.$ac_ext
27033 fi
27034
27035 fi
27036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27037 $as_echo "$gcc_cv_have_tls" >&6; }
27038 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27039
27040 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27041
27042 fi
27043
27044 for ac_func in __cxa_thread_atexit_impl
27045 do :
27046 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27047 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27048 cat >>confdefs.h <<_ACEOF
27049 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27050 _ACEOF
27051
27052 fi
27053 done
27054
27055
27056 # For iconv support.
27057
27058 if test "X$prefix" = "XNONE"; then
27059 acl_final_prefix="$ac_default_prefix"
27060 else
27061 acl_final_prefix="$prefix"
27062 fi
27063 if test "X$exec_prefix" = "XNONE"; then
27064 acl_final_exec_prefix='${prefix}'
27065 else
27066 acl_final_exec_prefix="$exec_prefix"
27067 fi
27068 acl_save_prefix="$prefix"
27069 prefix="$acl_final_prefix"
27070 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27071 prefix="$acl_save_prefix"
27072
27073
27074 # Check whether --with-gnu-ld was given.
27075 if test "${with_gnu_ld+set}" = set; then :
27076 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27077 else
27078 with_gnu_ld=no
27079 fi
27080
27081 # Prepare PATH_SEPARATOR.
27082 # The user is always right.
27083 if test "${PATH_SEPARATOR+set}" != set; then
27084 echo "#! /bin/sh" >conf$$.sh
27085 echo "exit 0" >>conf$$.sh
27086 chmod +x conf$$.sh
27087 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27088 PATH_SEPARATOR=';'
27089 else
27090 PATH_SEPARATOR=:
27091 fi
27092 rm -f conf$$.sh
27093 fi
27094 ac_prog=ld
27095 if test "$GCC" = yes; then
27096 # Check if gcc -print-prog-name=ld gives a path.
27097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27098 $as_echo_n "checking for ld used by GCC... " >&6; }
27099 case $host in
27100 *-*-mingw*)
27101 # gcc leaves a trailing carriage return which upsets mingw
27102 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27103 *)
27104 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27105 esac
27106 case $ac_prog in
27107 # Accept absolute paths.
27108 [\\/]* | [A-Za-z]:[\\/]*)
27109 re_direlt='/[^/][^/]*/\.\./'
27110 # Canonicalize the path of ld
27111 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27112 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27113 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27114 done
27115 test -z "$LD" && LD="$ac_prog"
27116 ;;
27117 "")
27118 # If it fails, then pretend we aren't using GCC.
27119 ac_prog=ld
27120 ;;
27121 *)
27122 # If it is relative, then search for the first ld in PATH.
27123 with_gnu_ld=unknown
27124 ;;
27125 esac
27126 elif test "$with_gnu_ld" = yes; then
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27128 $as_echo_n "checking for GNU ld... " >&6; }
27129 else
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27131 $as_echo_n "checking for non-GNU ld... " >&6; }
27132 fi
27133 if test "${acl_cv_path_LD+set}" = set; then :
27134 $as_echo_n "(cached) " >&6
27135 else
27136 if test -z "$LD"; then
27137 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27138 for ac_dir in $PATH; do
27139 test -z "$ac_dir" && ac_dir=.
27140 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27141 acl_cv_path_LD="$ac_dir/$ac_prog"
27142 # Check to see if the program is GNU ld. I'd rather use --version,
27143 # but apparently some GNU ld's only accept -v.
27144 # Break only if it was the GNU/non-GNU ld that we prefer.
27145 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27146 test "$with_gnu_ld" != no && break
27147 else
27148 test "$with_gnu_ld" != yes && break
27149 fi
27150 fi
27151 done
27152 IFS="$ac_save_ifs"
27153 else
27154 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27155 fi
27156 fi
27157
27158 LD="$acl_cv_path_LD"
27159 if test -n "$LD"; then
27160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27161 $as_echo "$LD" >&6; }
27162 else
27163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27164 $as_echo "no" >&6; }
27165 fi
27166 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27168 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27169 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27170 $as_echo_n "(cached) " >&6
27171 else
27172 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27173 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27174 acl_cv_prog_gnu_ld=yes
27175 else
27176 acl_cv_prog_gnu_ld=no
27177 fi
27178 fi
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27180 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27181 with_gnu_ld=$acl_cv_prog_gnu_ld
27182
27183
27184
27185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27186 $as_echo_n "checking for shared library run path origin... " >&6; }
27187 if test "${acl_cv_rpath+set}" = set; then :
27188 $as_echo_n "(cached) " >&6
27189 else
27190
27191 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27192 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27193 . ./conftest.sh
27194 rm -f ./conftest.sh
27195 acl_cv_rpath=done
27196
27197 fi
27198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27199 $as_echo "$acl_cv_rpath" >&6; }
27200 wl="$acl_cv_wl"
27201 libext="$acl_cv_libext"
27202 shlibext="$acl_cv_shlibext"
27203 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27204 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27205 hardcode_direct="$acl_cv_hardcode_direct"
27206 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27207 # Check whether --enable-rpath was given.
27208 if test "${enable_rpath+set}" = set; then :
27209 enableval=$enable_rpath; :
27210 else
27211 enable_rpath=yes
27212 fi
27213
27214
27215
27216
27217
27218
27219
27220
27221 use_additional=yes
27222
27223 acl_save_prefix="$prefix"
27224 prefix="$acl_final_prefix"
27225 acl_save_exec_prefix="$exec_prefix"
27226 exec_prefix="$acl_final_exec_prefix"
27227
27228 eval additional_includedir=\"$includedir\"
27229 eval additional_libdir=\"$libdir\"
27230
27231 exec_prefix="$acl_save_exec_prefix"
27232 prefix="$acl_save_prefix"
27233
27234
27235 # Check whether --with-libiconv-prefix was given.
27236 if test "${with_libiconv_prefix+set}" = set; then :
27237 withval=$with_libiconv_prefix;
27238 if test "X$withval" = "Xno"; then
27239 use_additional=no
27240 else
27241 if test "X$withval" = "X"; then
27242
27243 acl_save_prefix="$prefix"
27244 prefix="$acl_final_prefix"
27245 acl_save_exec_prefix="$exec_prefix"
27246 exec_prefix="$acl_final_exec_prefix"
27247
27248 eval additional_includedir=\"$includedir\"
27249 eval additional_libdir=\"$libdir\"
27250
27251 exec_prefix="$acl_save_exec_prefix"
27252 prefix="$acl_save_prefix"
27253
27254 else
27255 additional_includedir="$withval/include"
27256 additional_libdir="$withval/lib"
27257 fi
27258 fi
27259
27260 fi
27261
27262 LIBICONV=
27263 LTLIBICONV=
27264 INCICONV=
27265 rpathdirs=
27266 ltrpathdirs=
27267 names_already_handled=
27268 names_next_round='iconv '
27269 while test -n "$names_next_round"; do
27270 names_this_round="$names_next_round"
27271 names_next_round=
27272 for name in $names_this_round; do
27273 already_handled=
27274 for n in $names_already_handled; do
27275 if test "$n" = "$name"; then
27276 already_handled=yes
27277 break
27278 fi
27279 done
27280 if test -z "$already_handled"; then
27281 names_already_handled="$names_already_handled $name"
27282 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27283 eval value=\"\$HAVE_LIB$uppername\"
27284 if test -n "$value"; then
27285 if test "$value" = yes; then
27286 eval value=\"\$LIB$uppername\"
27287 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27288 eval value=\"\$LTLIB$uppername\"
27289 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27290 else
27291 :
27292 fi
27293 else
27294 found_dir=
27295 found_la=
27296 found_so=
27297 found_a=
27298 if test $use_additional = yes; then
27299 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27300 found_dir="$additional_libdir"
27301 found_so="$additional_libdir/lib$name.$shlibext"
27302 if test -f "$additional_libdir/lib$name.la"; then
27303 found_la="$additional_libdir/lib$name.la"
27304 fi
27305 else
27306 if test -f "$additional_libdir/lib$name.$libext"; then
27307 found_dir="$additional_libdir"
27308 found_a="$additional_libdir/lib$name.$libext"
27309 if test -f "$additional_libdir/lib$name.la"; then
27310 found_la="$additional_libdir/lib$name.la"
27311 fi
27312 fi
27313 fi
27314 fi
27315 if test "X$found_dir" = "X"; then
27316 for x in $LDFLAGS $LTLIBICONV; do
27317
27318 acl_save_prefix="$prefix"
27319 prefix="$acl_final_prefix"
27320 acl_save_exec_prefix="$exec_prefix"
27321 exec_prefix="$acl_final_exec_prefix"
27322 eval x=\"$x\"
27323 exec_prefix="$acl_save_exec_prefix"
27324 prefix="$acl_save_prefix"
27325
27326 case "$x" in
27327 -L*)
27328 dir=`echo "X$x" | sed -e 's/^X-L//'`
27329 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27330 found_dir="$dir"
27331 found_so="$dir/lib$name.$shlibext"
27332 if test -f "$dir/lib$name.la"; then
27333 found_la="$dir/lib$name.la"
27334 fi
27335 else
27336 if test -f "$dir/lib$name.$libext"; then
27337 found_dir="$dir"
27338 found_a="$dir/lib$name.$libext"
27339 if test -f "$dir/lib$name.la"; then
27340 found_la="$dir/lib$name.la"
27341 fi
27342 fi
27343 fi
27344 ;;
27345 esac
27346 if test "X$found_dir" != "X"; then
27347 break
27348 fi
27349 done
27350 fi
27351 if test "X$found_dir" != "X"; then
27352 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27353 if test "X$found_so" != "X"; then
27354 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27355 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27356 else
27357 haveit=
27358 for x in $ltrpathdirs; do
27359 if test "X$x" = "X$found_dir"; then
27360 haveit=yes
27361 break
27362 fi
27363 done
27364 if test -z "$haveit"; then
27365 ltrpathdirs="$ltrpathdirs $found_dir"
27366 fi
27367 if test "$hardcode_direct" = yes; then
27368 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27369 else
27370 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27371 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27372 haveit=
27373 for x in $rpathdirs; do
27374 if test "X$x" = "X$found_dir"; then
27375 haveit=yes
27376 break
27377 fi
27378 done
27379 if test -z "$haveit"; then
27380 rpathdirs="$rpathdirs $found_dir"
27381 fi
27382 else
27383 haveit=
27384 for x in $LDFLAGS $LIBICONV; do
27385
27386 acl_save_prefix="$prefix"
27387 prefix="$acl_final_prefix"
27388 acl_save_exec_prefix="$exec_prefix"
27389 exec_prefix="$acl_final_exec_prefix"
27390 eval x=\"$x\"
27391 exec_prefix="$acl_save_exec_prefix"
27392 prefix="$acl_save_prefix"
27393
27394 if test "X$x" = "X-L$found_dir"; then
27395 haveit=yes
27396 break
27397 fi
27398 done
27399 if test -z "$haveit"; then
27400 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27401 fi
27402 if test "$hardcode_minus_L" != no; then
27403 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27404 else
27405 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27406 fi
27407 fi
27408 fi
27409 fi
27410 else
27411 if test "X$found_a" != "X"; then
27412 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27413 else
27414 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27415 fi
27416 fi
27417 additional_includedir=
27418 case "$found_dir" in
27419 */lib | */lib/)
27420 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27421 additional_includedir="$basedir/include"
27422 ;;
27423 esac
27424 if test "X$additional_includedir" != "X"; then
27425 if test "X$additional_includedir" != "X/usr/include"; then
27426 haveit=
27427 if test "X$additional_includedir" = "X/usr/local/include"; then
27428 if test -n "$GCC"; then
27429 case $host_os in
27430 linux*) haveit=yes;;
27431 esac
27432 fi
27433 fi
27434 if test -z "$haveit"; then
27435 for x in $CPPFLAGS $INCICONV; do
27436
27437 acl_save_prefix="$prefix"
27438 prefix="$acl_final_prefix"
27439 acl_save_exec_prefix="$exec_prefix"
27440 exec_prefix="$acl_final_exec_prefix"
27441 eval x=\"$x\"
27442 exec_prefix="$acl_save_exec_prefix"
27443 prefix="$acl_save_prefix"
27444
27445 if test "X$x" = "X-I$additional_includedir"; then
27446 haveit=yes
27447 break
27448 fi
27449 done
27450 if test -z "$haveit"; then
27451 if test -d "$additional_includedir"; then
27452 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27453 fi
27454 fi
27455 fi
27456 fi
27457 fi
27458 if test -n "$found_la"; then
27459 save_libdir="$libdir"
27460 case "$found_la" in
27461 */* | *\\*) . "$found_la" ;;
27462 *) . "./$found_la" ;;
27463 esac
27464 libdir="$save_libdir"
27465 for dep in $dependency_libs; do
27466 case "$dep" in
27467 -L*)
27468 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27469 if test "X$additional_libdir" != "X/usr/lib"; then
27470 haveit=
27471 if test "X$additional_libdir" = "X/usr/local/lib"; then
27472 if test -n "$GCC"; then
27473 case $host_os in
27474 linux*) haveit=yes;;
27475 esac
27476 fi
27477 fi
27478 if test -z "$haveit"; then
27479 haveit=
27480 for x in $LDFLAGS $LIBICONV; do
27481
27482 acl_save_prefix="$prefix"
27483 prefix="$acl_final_prefix"
27484 acl_save_exec_prefix="$exec_prefix"
27485 exec_prefix="$acl_final_exec_prefix"
27486 eval x=\"$x\"
27487 exec_prefix="$acl_save_exec_prefix"
27488 prefix="$acl_save_prefix"
27489
27490 if test "X$x" = "X-L$additional_libdir"; then
27491 haveit=yes
27492 break
27493 fi
27494 done
27495 if test -z "$haveit"; then
27496 if test -d "$additional_libdir"; then
27497 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27498 fi
27499 fi
27500 haveit=
27501 for x in $LDFLAGS $LTLIBICONV; do
27502
27503 acl_save_prefix="$prefix"
27504 prefix="$acl_final_prefix"
27505 acl_save_exec_prefix="$exec_prefix"
27506 exec_prefix="$acl_final_exec_prefix"
27507 eval x=\"$x\"
27508 exec_prefix="$acl_save_exec_prefix"
27509 prefix="$acl_save_prefix"
27510
27511 if test "X$x" = "X-L$additional_libdir"; then
27512 haveit=yes
27513 break
27514 fi
27515 done
27516 if test -z "$haveit"; then
27517 if test -d "$additional_libdir"; then
27518 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27519 fi
27520 fi
27521 fi
27522 fi
27523 ;;
27524 -R*)
27525 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27526 if test "$enable_rpath" != no; then
27527 haveit=
27528 for x in $rpathdirs; do
27529 if test "X$x" = "X$dir"; then
27530 haveit=yes
27531 break
27532 fi
27533 done
27534 if test -z "$haveit"; then
27535 rpathdirs="$rpathdirs $dir"
27536 fi
27537 haveit=
27538 for x in $ltrpathdirs; do
27539 if test "X$x" = "X$dir"; then
27540 haveit=yes
27541 break
27542 fi
27543 done
27544 if test -z "$haveit"; then
27545 ltrpathdirs="$ltrpathdirs $dir"
27546 fi
27547 fi
27548 ;;
27549 -l*)
27550 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27551 ;;
27552 *.la)
27553 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27554 ;;
27555 *)
27556 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27557 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27558 ;;
27559 esac
27560 done
27561 fi
27562 else
27563 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27564 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27565 fi
27566 fi
27567 fi
27568 done
27569 done
27570 if test "X$rpathdirs" != "X"; then
27571 if test -n "$hardcode_libdir_separator"; then
27572 alldirs=
27573 for found_dir in $rpathdirs; do
27574 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27575 done
27576 acl_save_libdir="$libdir"
27577 libdir="$alldirs"
27578 eval flag=\"$hardcode_libdir_flag_spec\"
27579 libdir="$acl_save_libdir"
27580 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27581 else
27582 for found_dir in $rpathdirs; do
27583 acl_save_libdir="$libdir"
27584 libdir="$found_dir"
27585 eval flag=\"$hardcode_libdir_flag_spec\"
27586 libdir="$acl_save_libdir"
27587 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27588 done
27589 fi
27590 fi
27591 if test "X$ltrpathdirs" != "X"; then
27592 for found_dir in $ltrpathdirs; do
27593 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27594 done
27595 fi
27596
27597
27598
27599
27600
27601
27602
27603 am_save_CPPFLAGS="$CPPFLAGS"
27604
27605 for element in $INCICONV; do
27606 haveit=
27607 for x in $CPPFLAGS; do
27608
27609 acl_save_prefix="$prefix"
27610 prefix="$acl_final_prefix"
27611 acl_save_exec_prefix="$exec_prefix"
27612 exec_prefix="$acl_final_exec_prefix"
27613 eval x=\"$x\"
27614 exec_prefix="$acl_save_exec_prefix"
27615 prefix="$acl_save_prefix"
27616
27617 if test "X$x" = "X$element"; then
27618 haveit=yes
27619 break
27620 fi
27621 done
27622 if test -z "$haveit"; then
27623 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27624 fi
27625 done
27626
27627
27628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27629 $as_echo_n "checking for iconv... " >&6; }
27630 if test "${am_cv_func_iconv+set}" = set; then :
27631 $as_echo_n "(cached) " >&6
27632 else
27633
27634 am_cv_func_iconv="no, consider installing GNU libiconv"
27635 am_cv_lib_iconv=no
27636 if test x$gcc_no_link = xyes; then
27637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27638 fi
27639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27640 /* end confdefs.h. */
27641 #include <stdlib.h>
27642 #include <iconv.h>
27643 int
27644 main ()
27645 {
27646 iconv_t cd = iconv_open("","");
27647 iconv(cd,NULL,NULL,NULL,NULL);
27648 iconv_close(cd);
27649 ;
27650 return 0;
27651 }
27652 _ACEOF
27653 if ac_fn_c_try_link "$LINENO"; then :
27654 am_cv_func_iconv=yes
27655 fi
27656 rm -f core conftest.err conftest.$ac_objext \
27657 conftest$ac_exeext conftest.$ac_ext
27658 if test "$am_cv_func_iconv" != yes; then
27659 am_save_LIBS="$LIBS"
27660 LIBS="$LIBS $LIBICONV"
27661 if test x$gcc_no_link = xyes; then
27662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27663 fi
27664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27665 /* end confdefs.h. */
27666 #include <stdlib.h>
27667 #include <iconv.h>
27668 int
27669 main ()
27670 {
27671 iconv_t cd = iconv_open("","");
27672 iconv(cd,NULL,NULL,NULL,NULL);
27673 iconv_close(cd);
27674 ;
27675 return 0;
27676 }
27677 _ACEOF
27678 if ac_fn_c_try_link "$LINENO"; then :
27679 am_cv_lib_iconv=yes
27680 am_cv_func_iconv=yes
27681 fi
27682 rm -f core conftest.err conftest.$ac_objext \
27683 conftest$ac_exeext conftest.$ac_ext
27684 LIBS="$am_save_LIBS"
27685 fi
27686
27687 fi
27688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27689 $as_echo "$am_cv_func_iconv" >&6; }
27690 if test "$am_cv_func_iconv" = yes; then
27691
27692 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27693
27694 fi
27695 if test "$am_cv_lib_iconv" = yes; then
27696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27697 $as_echo_n "checking how to link with libiconv... " >&6; }
27698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27699 $as_echo "$LIBICONV" >&6; }
27700 else
27701 CPPFLAGS="$am_save_CPPFLAGS"
27702 LIBICONV=
27703 LTLIBICONV=
27704 fi
27705
27706
27707
27708 if test "$am_cv_func_iconv" = yes; then
27709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27710 $as_echo_n "checking for iconv declaration... " >&6; }
27711 if test "${am_cv_proto_iconv+set}" = set; then :
27712 $as_echo_n "(cached) " >&6
27713 else
27714
27715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27716 /* end confdefs.h. */
27717
27718 #include <stdlib.h>
27719 #include <iconv.h>
27720 extern
27721 #ifdef __cplusplus
27722 "C"
27723 #endif
27724 #if defined(__STDC__) || defined(__cplusplus)
27725 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27726 #else
27727 size_t iconv();
27728 #endif
27729
27730 int
27731 main ()
27732 {
27733
27734 ;
27735 return 0;
27736 }
27737 _ACEOF
27738 if ac_fn_c_try_compile "$LINENO"; then :
27739 am_cv_proto_iconv_arg1=""
27740 else
27741 am_cv_proto_iconv_arg1="const"
27742 fi
27743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27744 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);"
27745 fi
27746
27747 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27749 }$am_cv_proto_iconv" >&5
27750 $as_echo "${ac_t:-
27751 }$am_cv_proto_iconv" >&6; }
27752
27753 cat >>confdefs.h <<_ACEOF
27754 #define ICONV_CONST $am_cv_proto_iconv_arg1
27755 _ACEOF
27756
27757 fi
27758
27759
27760 else
27761
27762 # This lets us hard-code the functionality we know we'll have in the cross
27763 # target environment. "Let" is a sugar-coated word placed on an especially
27764 # dull and tedious hack, actually.
27765 #
27766 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27767 # that involve linking, can't be used:
27768 # "cannot open sim-crt0.o"
27769 # "cannot open crt0.o"
27770 # etc. All this is because there currently exists no unified, consistent
27771 # way for top level CC information to be passed down to target directories:
27772 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27773 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27774 # crosses can be removed.
27775
27776 # If Canadian cross, then don't pick up tools from the build directory.
27777 # Used only in GLIBCXX_EXPORT_INCLUDES.
27778 if test -n "$with_cross_host" &&
27779 test x"$build_alias" != x"$with_cross_host" &&
27780 test x"$build" != x"$target";
27781 then
27782 CANADIAN=yes
27783 else
27784 CANADIAN=no
27785 fi
27786
27787 # Construct crosses by hand, eliminating bits that need ld...
27788 # GLIBCXX_CHECK_MATH_SUPPORT
27789
27790 # First, test for "known" system libraries. We may be using newlib even
27791 # on a hosted environment.
27792 if test "x${with_newlib}" = "xyes"; then
27793 os_include_dir="os/newlib"
27794 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27795
27796
27797 # GLIBCXX_CHECK_STDLIB_SUPPORT
27798 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27799
27800
27801 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27802
27803 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27804
27805 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27806
27807 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27808
27809 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27810
27811 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27812
27813 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27814
27815 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27816
27817 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27818
27819 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27820
27821 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27822
27823 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27824
27825 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27826
27827 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27828
27829 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27830
27831 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27832
27833 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27834
27835 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27836
27837 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27838
27839 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27840
27841 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27842
27843 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27844
27845
27846 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27847
27848 else
27849
27850 # Base decisions on target environment.
27851 case "${host}" in
27852 arm*-*-symbianelf*)
27853 # This is a freestanding configuration; there is nothing to do here.
27854 ;;
27855
27856 mips*-sde-elf*)
27857 # These definitions are for the SDE C library rather than newlib.
27858 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27859
27860
27861 # All these tests are for C++; save the language and the compiler flags.
27862 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27863 # found in GLIBCXX_CONFIGURE.
27864
27865 ac_ext=cpp
27866 ac_cpp='$CXXCPP $CPPFLAGS'
27867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27870
27871 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27872 ac_save_CXXFLAGS="$CXXFLAGS"
27873
27874 # Check for maintainer-mode bits.
27875 if test x"$USE_MAINTAINER_MODE" = xno; then
27876 WERROR=''
27877 else
27878 WERROR='-Werror'
27879 fi
27880
27881 # Check for -ffunction-sections -fdata-sections
27882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27883 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27884 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27886 /* end confdefs.h. */
27887 int foo; void bar() { };
27888 int
27889 main ()
27890 {
27891
27892 ;
27893 return 0;
27894 }
27895 _ACEOF
27896 if ac_fn_cxx_try_compile "$LINENO"; then :
27897 ac_fdsections=yes
27898 else
27899 ac_fdsections=no
27900 fi
27901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27902 if test "$ac_test_CXXFLAGS" = set; then
27903 CXXFLAGS="$ac_save_CXXFLAGS"
27904 else
27905 # this is the suspicious part
27906 CXXFLAGS=''
27907 fi
27908 if test x"$ac_fdsections" = x"yes"; then
27909 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27910 fi
27911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27912 $as_echo "$ac_fdsections" >&6; }
27913
27914 ac_ext=c
27915 ac_cpp='$CPP $CPPFLAGS'
27916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27919
27920
27921
27922
27923
27924 # If we're not using GNU ld, then there's no point in even trying these
27925 # tests. Check for that first. We should have already tested for gld
27926 # by now (in libtool), but require it now just to be safe...
27927 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27928 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27929
27930
27931
27932 # The name set by libtool depends on the version of libtool. Shame on us
27933 # for depending on an impl detail, but c'est la vie. Older versions used
27934 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27935 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27936 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27937 # set (hence we're using an older libtool), then set it.
27938 if test x${with_gnu_ld+set} != xset; then
27939 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27940 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27941 with_gnu_ld=no
27942 else
27943 with_gnu_ld=$ac_cv_prog_gnu_ld
27944 fi
27945 fi
27946
27947 # Start by getting the version number. I think the libtool test already
27948 # does some of this, but throws away the result.
27949 glibcxx_ld_is_gold=no
27950 if test x"$with_gnu_ld" = x"yes"; then
27951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27952 $as_echo_n "checking for ld version... " >&6; }
27953
27954 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27955 glibcxx_ld_is_gold=yes
27956 fi
27957 ldver=`$LD --version 2>/dev/null |
27958 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'`
27959
27960 glibcxx_gnu_ld_version=`echo $ldver | \
27961 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27963 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27964 fi
27965
27966 # Set --gc-sections.
27967 glibcxx_have_gc_sections=no
27968 if test "$glibcxx_ld_is_gold" = "yes"; then
27969 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27970 glibcxx_have_gc_sections=yes
27971 fi
27972 else
27973 glibcxx_gcsections_min_ld=21602
27974 if test x"$with_gnu_ld" = x"yes" &&
27975 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27976 glibcxx_have_gc_sections=yes
27977 fi
27978 fi
27979 if test "$glibcxx_have_gc_sections" = "yes"; then
27980 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27981 # NB: This flag only works reliably after 2.16.1. Configure tests
27982 # for this are difficult, so hard wire a value that should work.
27983
27984 ac_test_CFLAGS="${CFLAGS+set}"
27985 ac_save_CFLAGS="$CFLAGS"
27986 CFLAGS='-Wl,--gc-sections'
27987
27988 # Check for -Wl,--gc-sections
27989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27990 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27991 if test x$gcc_no_link = xyes; then
27992 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27993 fi
27994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27995 /* end confdefs.h. */
27996 int one(void) { return 1; }
27997 int two(void) { return 2; }
27998
27999 int
28000 main ()
28001 {
28002 two();
28003 ;
28004 return 0;
28005 }
28006 _ACEOF
28007 if ac_fn_c_try_link "$LINENO"; then :
28008 ac_gcsections=yes
28009 else
28010 ac_gcsections=no
28011 fi
28012 rm -f core conftest.err conftest.$ac_objext \
28013 conftest$ac_exeext conftest.$ac_ext
28014 if test "$ac_gcsections" = "yes"; then
28015 rm -f conftest.c
28016 touch conftest.c
28017 if $CC -c conftest.c; then
28018 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28019 grep "Warning: gc-sections option ignored" > /dev/null; then
28020 ac_gcsections=no
28021 fi
28022 fi
28023 rm -f conftest.c conftest.o conftest
28024 fi
28025 if test "$ac_gcsections" = "yes"; then
28026 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28027 fi
28028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28029 $as_echo "$ac_gcsections" >&6; }
28030
28031 if test "$ac_test_CFLAGS" = set; then
28032 CFLAGS="$ac_save_CFLAGS"
28033 else
28034 # this is the suspicious part
28035 CFLAGS=''
28036 fi
28037 fi
28038
28039 # Set -z,relro.
28040 # Note this is only for shared objects.
28041 ac_ld_relro=no
28042 if test x"$with_gnu_ld" = x"yes"; then
28043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28044 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28045 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28046 if test -n "$cxx_z_relo"; then
28047 OPT_LDFLAGS="-Wl,-z,relro"
28048 ac_ld_relro=yes
28049 fi
28050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28051 $as_echo "$ac_ld_relro" >&6; }
28052 fi
28053
28054 # Set linker optimization flags.
28055 if test x"$with_gnu_ld" = x"yes"; then
28056 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28057 fi
28058
28059
28060
28061
28062
28063 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28064 ac_save_CXXFLAGS="$CXXFLAGS"
28065 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28066
28067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28068 $as_echo_n "checking for sin in -lm... " >&6; }
28069 if test "${ac_cv_lib_m_sin+set}" = set; then :
28070 $as_echo_n "(cached) " >&6
28071 else
28072 ac_check_lib_save_LIBS=$LIBS
28073 LIBS="-lm $LIBS"
28074 if test x$gcc_no_link = xyes; then
28075 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28076 fi
28077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28078 /* end confdefs.h. */
28079
28080 /* Override any GCC internal prototype to avoid an error.
28081 Use char because int might match the return type of a GCC
28082 builtin and then its argument prototype would still apply. */
28083 #ifdef __cplusplus
28084 extern "C"
28085 #endif
28086 char sin ();
28087 int
28088 main ()
28089 {
28090 return sin ();
28091 ;
28092 return 0;
28093 }
28094 _ACEOF
28095 if ac_fn_c_try_link "$LINENO"; then :
28096 ac_cv_lib_m_sin=yes
28097 else
28098 ac_cv_lib_m_sin=no
28099 fi
28100 rm -f core conftest.err conftest.$ac_objext \
28101 conftest$ac_exeext conftest.$ac_ext
28102 LIBS=$ac_check_lib_save_LIBS
28103 fi
28104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28105 $as_echo "$ac_cv_lib_m_sin" >&6; }
28106 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28107 libm="-lm"
28108 fi
28109
28110 ac_save_LIBS="$LIBS"
28111 LIBS="$LIBS $libm"
28112
28113
28114
28115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28116 $as_echo_n "checking for isinf declaration... " >&6; }
28117 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28118 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28119 $as_echo_n "(cached) " >&6
28120 else
28121
28122
28123 ac_ext=cpp
28124 ac_cpp='$CXXCPP $CPPFLAGS'
28125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28128
28129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28130 /* end confdefs.h. */
28131 #include <math.h>
28132 #ifdef HAVE_IEEEFP_H
28133 #include <ieeefp.h>
28134 #endif
28135
28136 int
28137 main ()
28138 {
28139 isinf(0);
28140 ;
28141 return 0;
28142 }
28143 _ACEOF
28144 if ac_fn_cxx_try_compile "$LINENO"; then :
28145 glibcxx_cv_func_isinf_use=yes
28146 else
28147 glibcxx_cv_func_isinf_use=no
28148 fi
28149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28150 ac_ext=c
28151 ac_cpp='$CPP $CPPFLAGS'
28152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28155
28156
28157 fi
28158
28159 fi
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28161 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28162
28163 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28164 for ac_func in isinf
28165 do :
28166 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28167 if test "x$ac_cv_func_isinf" = x""yes; then :
28168 cat >>confdefs.h <<_ACEOF
28169 #define HAVE_ISINF 1
28170 _ACEOF
28171
28172 fi
28173 done
28174
28175 else
28176
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28178 $as_echo_n "checking for _isinf declaration... " >&6; }
28179 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28180 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28181 $as_echo_n "(cached) " >&6
28182 else
28183
28184
28185 ac_ext=cpp
28186 ac_cpp='$CXXCPP $CPPFLAGS'
28187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28190
28191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28192 /* end confdefs.h. */
28193 #include <math.h>
28194 #ifdef HAVE_IEEEFP_H
28195 #include <ieeefp.h>
28196 #endif
28197
28198 int
28199 main ()
28200 {
28201 _isinf(0);
28202 ;
28203 return 0;
28204 }
28205 _ACEOF
28206 if ac_fn_cxx_try_compile "$LINENO"; then :
28207 glibcxx_cv_func__isinf_use=yes
28208 else
28209 glibcxx_cv_func__isinf_use=no
28210 fi
28211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28212 ac_ext=c
28213 ac_cpp='$CPP $CPPFLAGS'
28214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28217
28218
28219 fi
28220
28221 fi
28222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28223 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28224
28225 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28226 for ac_func in _isinf
28227 do :
28228 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28229 if test "x$ac_cv_func__isinf" = x""yes; then :
28230 cat >>confdefs.h <<_ACEOF
28231 #define HAVE__ISINF 1
28232 _ACEOF
28233
28234 fi
28235 done
28236
28237 fi
28238 fi
28239
28240
28241
28242
28243
28244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28245 $as_echo_n "checking for isnan declaration... " >&6; }
28246 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28247 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28248 $as_echo_n "(cached) " >&6
28249 else
28250
28251
28252 ac_ext=cpp
28253 ac_cpp='$CXXCPP $CPPFLAGS'
28254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28257
28258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28259 /* end confdefs.h. */
28260 #include <math.h>
28261 #ifdef HAVE_IEEEFP_H
28262 #include <ieeefp.h>
28263 #endif
28264
28265 int
28266 main ()
28267 {
28268 isnan(0);
28269 ;
28270 return 0;
28271 }
28272 _ACEOF
28273 if ac_fn_cxx_try_compile "$LINENO"; then :
28274 glibcxx_cv_func_isnan_use=yes
28275 else
28276 glibcxx_cv_func_isnan_use=no
28277 fi
28278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28279 ac_ext=c
28280 ac_cpp='$CPP $CPPFLAGS'
28281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28284
28285
28286 fi
28287
28288 fi
28289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28290 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28291
28292 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28293 for ac_func in isnan
28294 do :
28295 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28296 if test "x$ac_cv_func_isnan" = x""yes; then :
28297 cat >>confdefs.h <<_ACEOF
28298 #define HAVE_ISNAN 1
28299 _ACEOF
28300
28301 fi
28302 done
28303
28304 else
28305
28306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28307 $as_echo_n "checking for _isnan declaration... " >&6; }
28308 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28309 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28310 $as_echo_n "(cached) " >&6
28311 else
28312
28313
28314 ac_ext=cpp
28315 ac_cpp='$CXXCPP $CPPFLAGS'
28316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28319
28320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28321 /* end confdefs.h. */
28322 #include <math.h>
28323 #ifdef HAVE_IEEEFP_H
28324 #include <ieeefp.h>
28325 #endif
28326
28327 int
28328 main ()
28329 {
28330 _isnan(0);
28331 ;
28332 return 0;
28333 }
28334 _ACEOF
28335 if ac_fn_cxx_try_compile "$LINENO"; then :
28336 glibcxx_cv_func__isnan_use=yes
28337 else
28338 glibcxx_cv_func__isnan_use=no
28339 fi
28340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28341 ac_ext=c
28342 ac_cpp='$CPP $CPPFLAGS'
28343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28346
28347
28348 fi
28349
28350 fi
28351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28352 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28353
28354 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28355 for ac_func in _isnan
28356 do :
28357 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28358 if test "x$ac_cv_func__isnan" = x""yes; then :
28359 cat >>confdefs.h <<_ACEOF
28360 #define HAVE__ISNAN 1
28361 _ACEOF
28362
28363 fi
28364 done
28365
28366 fi
28367 fi
28368
28369
28370
28371
28372
28373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28374 $as_echo_n "checking for finite declaration... " >&6; }
28375 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28376 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28377 $as_echo_n "(cached) " >&6
28378 else
28379
28380
28381 ac_ext=cpp
28382 ac_cpp='$CXXCPP $CPPFLAGS'
28383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28386
28387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28388 /* end confdefs.h. */
28389 #include <math.h>
28390 #ifdef HAVE_IEEEFP_H
28391 #include <ieeefp.h>
28392 #endif
28393
28394 int
28395 main ()
28396 {
28397 finite(0);
28398 ;
28399 return 0;
28400 }
28401 _ACEOF
28402 if ac_fn_cxx_try_compile "$LINENO"; then :
28403 glibcxx_cv_func_finite_use=yes
28404 else
28405 glibcxx_cv_func_finite_use=no
28406 fi
28407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28408 ac_ext=c
28409 ac_cpp='$CPP $CPPFLAGS'
28410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28413
28414
28415 fi
28416
28417 fi
28418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28419 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28420
28421 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28422 for ac_func in finite
28423 do :
28424 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28425 if test "x$ac_cv_func_finite" = x""yes; then :
28426 cat >>confdefs.h <<_ACEOF
28427 #define HAVE_FINITE 1
28428 _ACEOF
28429
28430 fi
28431 done
28432
28433 else
28434
28435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28436 $as_echo_n "checking for _finite declaration... " >&6; }
28437 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28438 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28439 $as_echo_n "(cached) " >&6
28440 else
28441
28442
28443 ac_ext=cpp
28444 ac_cpp='$CXXCPP $CPPFLAGS'
28445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28448
28449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28450 /* end confdefs.h. */
28451 #include <math.h>
28452 #ifdef HAVE_IEEEFP_H
28453 #include <ieeefp.h>
28454 #endif
28455
28456 int
28457 main ()
28458 {
28459 _finite(0);
28460 ;
28461 return 0;
28462 }
28463 _ACEOF
28464 if ac_fn_cxx_try_compile "$LINENO"; then :
28465 glibcxx_cv_func__finite_use=yes
28466 else
28467 glibcxx_cv_func__finite_use=no
28468 fi
28469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28470 ac_ext=c
28471 ac_cpp='$CPP $CPPFLAGS'
28472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28475
28476
28477 fi
28478
28479 fi
28480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28481 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28482
28483 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28484 for ac_func in _finite
28485 do :
28486 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28487 if test "x$ac_cv_func__finite" = x""yes; then :
28488 cat >>confdefs.h <<_ACEOF
28489 #define HAVE__FINITE 1
28490 _ACEOF
28491
28492 fi
28493 done
28494
28495 fi
28496 fi
28497
28498
28499
28500
28501
28502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28503 $as_echo_n "checking for sincos declaration... " >&6; }
28504 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28505 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28506 $as_echo_n "(cached) " >&6
28507 else
28508
28509
28510 ac_ext=cpp
28511 ac_cpp='$CXXCPP $CPPFLAGS'
28512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28515
28516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28517 /* end confdefs.h. */
28518 #include <math.h>
28519 int
28520 main ()
28521 {
28522 sincos(0, 0, 0);
28523 ;
28524 return 0;
28525 }
28526 _ACEOF
28527 if ac_fn_cxx_try_compile "$LINENO"; then :
28528 glibcxx_cv_func_sincos_use=yes
28529 else
28530 glibcxx_cv_func_sincos_use=no
28531 fi
28532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28533 ac_ext=c
28534 ac_cpp='$CPP $CPPFLAGS'
28535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28538
28539
28540 fi
28541
28542 fi
28543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28544 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28545
28546 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28547 for ac_func in sincos
28548 do :
28549 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28550 if test "x$ac_cv_func_sincos" = x""yes; then :
28551 cat >>confdefs.h <<_ACEOF
28552 #define HAVE_SINCOS 1
28553 _ACEOF
28554
28555 fi
28556 done
28557
28558 else
28559
28560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28561 $as_echo_n "checking for _sincos declaration... " >&6; }
28562 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28563 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28564 $as_echo_n "(cached) " >&6
28565 else
28566
28567
28568 ac_ext=cpp
28569 ac_cpp='$CXXCPP $CPPFLAGS'
28570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28573
28574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28575 /* end confdefs.h. */
28576 #include <math.h>
28577 int
28578 main ()
28579 {
28580 _sincos(0, 0, 0);
28581 ;
28582 return 0;
28583 }
28584 _ACEOF
28585 if ac_fn_cxx_try_compile "$LINENO"; then :
28586 glibcxx_cv_func__sincos_use=yes
28587 else
28588 glibcxx_cv_func__sincos_use=no
28589 fi
28590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28591 ac_ext=c
28592 ac_cpp='$CPP $CPPFLAGS'
28593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28596
28597
28598 fi
28599
28600 fi
28601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28602 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28603
28604 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28605 for ac_func in _sincos
28606 do :
28607 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28608 if test "x$ac_cv_func__sincos" = x""yes; then :
28609 cat >>confdefs.h <<_ACEOF
28610 #define HAVE__SINCOS 1
28611 _ACEOF
28612
28613 fi
28614 done
28615
28616 fi
28617 fi
28618
28619
28620
28621
28622
28623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28624 $as_echo_n "checking for fpclass declaration... " >&6; }
28625 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28626 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28627 $as_echo_n "(cached) " >&6
28628 else
28629
28630
28631 ac_ext=cpp
28632 ac_cpp='$CXXCPP $CPPFLAGS'
28633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28636
28637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28638 /* end confdefs.h. */
28639 #include <math.h>
28640 #ifdef HAVE_IEEEFP_H
28641 #include <ieeefp.h>
28642 #endif
28643
28644 int
28645 main ()
28646 {
28647 fpclass(0);
28648 ;
28649 return 0;
28650 }
28651 _ACEOF
28652 if ac_fn_cxx_try_compile "$LINENO"; then :
28653 glibcxx_cv_func_fpclass_use=yes
28654 else
28655 glibcxx_cv_func_fpclass_use=no
28656 fi
28657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28658 ac_ext=c
28659 ac_cpp='$CPP $CPPFLAGS'
28660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28663
28664
28665 fi
28666
28667 fi
28668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28669 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28670
28671 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28672 for ac_func in fpclass
28673 do :
28674 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28675 if test "x$ac_cv_func_fpclass" = x""yes; then :
28676 cat >>confdefs.h <<_ACEOF
28677 #define HAVE_FPCLASS 1
28678 _ACEOF
28679
28680 fi
28681 done
28682
28683 else
28684
28685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28686 $as_echo_n "checking for _fpclass declaration... " >&6; }
28687 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28688 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28689 $as_echo_n "(cached) " >&6
28690 else
28691
28692
28693 ac_ext=cpp
28694 ac_cpp='$CXXCPP $CPPFLAGS'
28695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28698
28699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28700 /* end confdefs.h. */
28701 #include <math.h>
28702 #ifdef HAVE_IEEEFP_H
28703 #include <ieeefp.h>
28704 #endif
28705
28706 int
28707 main ()
28708 {
28709 _fpclass(0);
28710 ;
28711 return 0;
28712 }
28713 _ACEOF
28714 if ac_fn_cxx_try_compile "$LINENO"; then :
28715 glibcxx_cv_func__fpclass_use=yes
28716 else
28717 glibcxx_cv_func__fpclass_use=no
28718 fi
28719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28720 ac_ext=c
28721 ac_cpp='$CPP $CPPFLAGS'
28722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28725
28726
28727 fi
28728
28729 fi
28730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28731 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28732
28733 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28734 for ac_func in _fpclass
28735 do :
28736 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28737 if test "x$ac_cv_func__fpclass" = x""yes; then :
28738 cat >>confdefs.h <<_ACEOF
28739 #define HAVE__FPCLASS 1
28740 _ACEOF
28741
28742 fi
28743 done
28744
28745 fi
28746 fi
28747
28748
28749
28750
28751
28752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28753 $as_echo_n "checking for qfpclass declaration... " >&6; }
28754 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28755 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28756 $as_echo_n "(cached) " >&6
28757 else
28758
28759
28760 ac_ext=cpp
28761 ac_cpp='$CXXCPP $CPPFLAGS'
28762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28765
28766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28767 /* end confdefs.h. */
28768 #include <math.h>
28769 #ifdef HAVE_IEEEFP_H
28770 #include <ieeefp.h>
28771 #endif
28772
28773 int
28774 main ()
28775 {
28776 qfpclass(0);
28777 ;
28778 return 0;
28779 }
28780 _ACEOF
28781 if ac_fn_cxx_try_compile "$LINENO"; then :
28782 glibcxx_cv_func_qfpclass_use=yes
28783 else
28784 glibcxx_cv_func_qfpclass_use=no
28785 fi
28786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28787 ac_ext=c
28788 ac_cpp='$CPP $CPPFLAGS'
28789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28792
28793
28794 fi
28795
28796 fi
28797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28798 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28799
28800 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28801 for ac_func in qfpclass
28802 do :
28803 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28804 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28805 cat >>confdefs.h <<_ACEOF
28806 #define HAVE_QFPCLASS 1
28807 _ACEOF
28808
28809 fi
28810 done
28811
28812 else
28813
28814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28815 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28816 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28817 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28818 $as_echo_n "(cached) " >&6
28819 else
28820
28821
28822 ac_ext=cpp
28823 ac_cpp='$CXXCPP $CPPFLAGS'
28824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28827
28828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28829 /* end confdefs.h. */
28830 #include <math.h>
28831 #ifdef HAVE_IEEEFP_H
28832 #include <ieeefp.h>
28833 #endif
28834
28835 int
28836 main ()
28837 {
28838 _qfpclass(0);
28839 ;
28840 return 0;
28841 }
28842 _ACEOF
28843 if ac_fn_cxx_try_compile "$LINENO"; then :
28844 glibcxx_cv_func__qfpclass_use=yes
28845 else
28846 glibcxx_cv_func__qfpclass_use=no
28847 fi
28848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28849 ac_ext=c
28850 ac_cpp='$CPP $CPPFLAGS'
28851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28854
28855
28856 fi
28857
28858 fi
28859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28860 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28861
28862 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28863 for ac_func in _qfpclass
28864 do :
28865 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28866 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28867 cat >>confdefs.h <<_ACEOF
28868 #define HAVE__QFPCLASS 1
28869 _ACEOF
28870
28871 fi
28872 done
28873
28874 fi
28875 fi
28876
28877
28878
28879
28880
28881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28882 $as_echo_n "checking for hypot declaration... " >&6; }
28883 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28884 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28885 $as_echo_n "(cached) " >&6
28886 else
28887
28888
28889 ac_ext=cpp
28890 ac_cpp='$CXXCPP $CPPFLAGS'
28891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28894
28895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28896 /* end confdefs.h. */
28897 #include <math.h>
28898 int
28899 main ()
28900 {
28901 hypot(0, 0);
28902 ;
28903 return 0;
28904 }
28905 _ACEOF
28906 if ac_fn_cxx_try_compile "$LINENO"; then :
28907 glibcxx_cv_func_hypot_use=yes
28908 else
28909 glibcxx_cv_func_hypot_use=no
28910 fi
28911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28912 ac_ext=c
28913 ac_cpp='$CPP $CPPFLAGS'
28914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28917
28918
28919 fi
28920
28921 fi
28922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28923 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28924
28925 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28926 for ac_func in hypot
28927 do :
28928 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28929 if test "x$ac_cv_func_hypot" = x""yes; then :
28930 cat >>confdefs.h <<_ACEOF
28931 #define HAVE_HYPOT 1
28932 _ACEOF
28933
28934 fi
28935 done
28936
28937 else
28938
28939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28940 $as_echo_n "checking for _hypot declaration... " >&6; }
28941 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28942 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28943 $as_echo_n "(cached) " >&6
28944 else
28945
28946
28947 ac_ext=cpp
28948 ac_cpp='$CXXCPP $CPPFLAGS'
28949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28952
28953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28954 /* end confdefs.h. */
28955 #include <math.h>
28956 int
28957 main ()
28958 {
28959 _hypot(0, 0);
28960 ;
28961 return 0;
28962 }
28963 _ACEOF
28964 if ac_fn_cxx_try_compile "$LINENO"; then :
28965 glibcxx_cv_func__hypot_use=yes
28966 else
28967 glibcxx_cv_func__hypot_use=no
28968 fi
28969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28970 ac_ext=c
28971 ac_cpp='$CPP $CPPFLAGS'
28972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28975
28976
28977 fi
28978
28979 fi
28980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28981 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28982
28983 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28984 for ac_func in _hypot
28985 do :
28986 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28987 if test "x$ac_cv_func__hypot" = x""yes; then :
28988 cat >>confdefs.h <<_ACEOF
28989 #define HAVE__HYPOT 1
28990 _ACEOF
28991
28992 fi
28993 done
28994
28995 fi
28996 fi
28997
28998
28999
29000
29001
29002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29003 $as_echo_n "checking for float trig functions... " >&6; }
29004 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29005 $as_echo_n "(cached) " >&6
29006 else
29007
29008
29009 ac_ext=cpp
29010 ac_cpp='$CXXCPP $CPPFLAGS'
29011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29014
29015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29016 /* end confdefs.h. */
29017 #include <math.h>
29018 int
29019 main ()
29020 {
29021 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29022 ;
29023 return 0;
29024 }
29025 _ACEOF
29026 if ac_fn_cxx_try_compile "$LINENO"; then :
29027 glibcxx_cv_func_float_trig_use=yes
29028 else
29029 glibcxx_cv_func_float_trig_use=no
29030 fi
29031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29032 ac_ext=c
29033 ac_cpp='$CPP $CPPFLAGS'
29034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29037
29038 fi
29039
29040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29041 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29042 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29043 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29044 do :
29045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29047 eval as_val=\$$as_ac_var
29048 if test "x$as_val" = x""yes; then :
29049 cat >>confdefs.h <<_ACEOF
29050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29051 _ACEOF
29052
29053 fi
29054 done
29055
29056 else
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29058 $as_echo_n "checking for _float trig functions... " >&6; }
29059 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29060 $as_echo_n "(cached) " >&6
29061 else
29062
29063
29064 ac_ext=cpp
29065 ac_cpp='$CXXCPP $CPPFLAGS'
29066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29069
29070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29071 /* end confdefs.h. */
29072 #include <math.h>
29073 int
29074 main ()
29075 {
29076 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29077 ;
29078 return 0;
29079 }
29080 _ACEOF
29081 if ac_fn_cxx_try_compile "$LINENO"; then :
29082 glibcxx_cv_func__float_trig_use=yes
29083 else
29084 glibcxx_cv_func__float_trig_use=no
29085 fi
29086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29087 ac_ext=c
29088 ac_cpp='$CPP $CPPFLAGS'
29089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29092
29093 fi
29094
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29096 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29097 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29098 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29099 do :
29100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29102 eval as_val=\$$as_ac_var
29103 if test "x$as_val" = x""yes; then :
29104 cat >>confdefs.h <<_ACEOF
29105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29106 _ACEOF
29107
29108 fi
29109 done
29110
29111 fi
29112 fi
29113
29114
29115
29116
29117
29118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29119 $as_echo_n "checking for float round functions... " >&6; }
29120 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29121 $as_echo_n "(cached) " >&6
29122 else
29123
29124
29125 ac_ext=cpp
29126 ac_cpp='$CXXCPP $CPPFLAGS'
29127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29130
29131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29132 /* end confdefs.h. */
29133 #include <math.h>
29134 int
29135 main ()
29136 {
29137 ceilf (0); floorf (0);
29138 ;
29139 return 0;
29140 }
29141 _ACEOF
29142 if ac_fn_cxx_try_compile "$LINENO"; then :
29143 glibcxx_cv_func_float_round_use=yes
29144 else
29145 glibcxx_cv_func_float_round_use=no
29146 fi
29147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29148 ac_ext=c
29149 ac_cpp='$CPP $CPPFLAGS'
29150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29153
29154 fi
29155
29156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29157 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29158 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29159 for ac_func in ceilf floorf
29160 do :
29161 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29162 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29163 eval as_val=\$$as_ac_var
29164 if test "x$as_val" = x""yes; then :
29165 cat >>confdefs.h <<_ACEOF
29166 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29167 _ACEOF
29168
29169 fi
29170 done
29171
29172 else
29173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29174 $as_echo_n "checking for _float round functions... " >&6; }
29175 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29176 $as_echo_n "(cached) " >&6
29177 else
29178
29179
29180 ac_ext=cpp
29181 ac_cpp='$CXXCPP $CPPFLAGS'
29182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29185
29186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29187 /* end confdefs.h. */
29188 #include <math.h>
29189 int
29190 main ()
29191 {
29192 _ceilf (0); _floorf (0);
29193 ;
29194 return 0;
29195 }
29196 _ACEOF
29197 if ac_fn_cxx_try_compile "$LINENO"; then :
29198 glibcxx_cv_func__float_round_use=yes
29199 else
29200 glibcxx_cv_func__float_round_use=no
29201 fi
29202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29203 ac_ext=c
29204 ac_cpp='$CPP $CPPFLAGS'
29205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29208
29209 fi
29210
29211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29212 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29213 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29214 for ac_func in _ceilf _floorf
29215 do :
29216 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29217 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29218 eval as_val=\$$as_ac_var
29219 if test "x$as_val" = x""yes; then :
29220 cat >>confdefs.h <<_ACEOF
29221 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29222 _ACEOF
29223
29224 fi
29225 done
29226
29227 fi
29228 fi
29229
29230
29231
29232
29233
29234
29235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29236 $as_echo_n "checking for expf declaration... " >&6; }
29237 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29238 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29239 $as_echo_n "(cached) " >&6
29240 else
29241
29242
29243 ac_ext=cpp
29244 ac_cpp='$CXXCPP $CPPFLAGS'
29245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29248
29249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29250 /* end confdefs.h. */
29251 #include <math.h>
29252 #ifdef HAVE_IEEEFP_H
29253 #include <ieeefp.h>
29254 #endif
29255
29256 int
29257 main ()
29258 {
29259 expf(0);
29260 ;
29261 return 0;
29262 }
29263 _ACEOF
29264 if ac_fn_cxx_try_compile "$LINENO"; then :
29265 glibcxx_cv_func_expf_use=yes
29266 else
29267 glibcxx_cv_func_expf_use=no
29268 fi
29269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29270 ac_ext=c
29271 ac_cpp='$CPP $CPPFLAGS'
29272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29275
29276
29277 fi
29278
29279 fi
29280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29281 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29282
29283 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29284 for ac_func in expf
29285 do :
29286 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29287 if test "x$ac_cv_func_expf" = x""yes; then :
29288 cat >>confdefs.h <<_ACEOF
29289 #define HAVE_EXPF 1
29290 _ACEOF
29291
29292 fi
29293 done
29294
29295 else
29296
29297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29298 $as_echo_n "checking for _expf declaration... " >&6; }
29299 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29300 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29301 $as_echo_n "(cached) " >&6
29302 else
29303
29304
29305 ac_ext=cpp
29306 ac_cpp='$CXXCPP $CPPFLAGS'
29307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29310
29311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29312 /* end confdefs.h. */
29313 #include <math.h>
29314 #ifdef HAVE_IEEEFP_H
29315 #include <ieeefp.h>
29316 #endif
29317
29318 int
29319 main ()
29320 {
29321 _expf(0);
29322 ;
29323 return 0;
29324 }
29325 _ACEOF
29326 if ac_fn_cxx_try_compile "$LINENO"; then :
29327 glibcxx_cv_func__expf_use=yes
29328 else
29329 glibcxx_cv_func__expf_use=no
29330 fi
29331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29332 ac_ext=c
29333 ac_cpp='$CPP $CPPFLAGS'
29334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29337
29338
29339 fi
29340
29341 fi
29342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29343 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29344
29345 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29346 for ac_func in _expf
29347 do :
29348 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29349 if test "x$ac_cv_func__expf" = x""yes; then :
29350 cat >>confdefs.h <<_ACEOF
29351 #define HAVE__EXPF 1
29352 _ACEOF
29353
29354 fi
29355 done
29356
29357 fi
29358 fi
29359
29360
29361
29362
29363
29364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29365 $as_echo_n "checking for isnanf declaration... " >&6; }
29366 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29367 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29368 $as_echo_n "(cached) " >&6
29369 else
29370
29371
29372 ac_ext=cpp
29373 ac_cpp='$CXXCPP $CPPFLAGS'
29374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29377
29378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29379 /* end confdefs.h. */
29380 #include <math.h>
29381 #ifdef HAVE_IEEEFP_H
29382 #include <ieeefp.h>
29383 #endif
29384
29385 int
29386 main ()
29387 {
29388 isnanf(0);
29389 ;
29390 return 0;
29391 }
29392 _ACEOF
29393 if ac_fn_cxx_try_compile "$LINENO"; then :
29394 glibcxx_cv_func_isnanf_use=yes
29395 else
29396 glibcxx_cv_func_isnanf_use=no
29397 fi
29398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29399 ac_ext=c
29400 ac_cpp='$CPP $CPPFLAGS'
29401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29404
29405
29406 fi
29407
29408 fi
29409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29410 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29411
29412 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29413 for ac_func in isnanf
29414 do :
29415 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29416 if test "x$ac_cv_func_isnanf" = x""yes; then :
29417 cat >>confdefs.h <<_ACEOF
29418 #define HAVE_ISNANF 1
29419 _ACEOF
29420
29421 fi
29422 done
29423
29424 else
29425
29426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29427 $as_echo_n "checking for _isnanf declaration... " >&6; }
29428 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29429 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29430 $as_echo_n "(cached) " >&6
29431 else
29432
29433
29434 ac_ext=cpp
29435 ac_cpp='$CXXCPP $CPPFLAGS'
29436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29439
29440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29441 /* end confdefs.h. */
29442 #include <math.h>
29443 #ifdef HAVE_IEEEFP_H
29444 #include <ieeefp.h>
29445 #endif
29446
29447 int
29448 main ()
29449 {
29450 _isnanf(0);
29451 ;
29452 return 0;
29453 }
29454 _ACEOF
29455 if ac_fn_cxx_try_compile "$LINENO"; then :
29456 glibcxx_cv_func__isnanf_use=yes
29457 else
29458 glibcxx_cv_func__isnanf_use=no
29459 fi
29460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29461 ac_ext=c
29462 ac_cpp='$CPP $CPPFLAGS'
29463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29466
29467
29468 fi
29469
29470 fi
29471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29472 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29473
29474 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29475 for ac_func in _isnanf
29476 do :
29477 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29478 if test "x$ac_cv_func__isnanf" = x""yes; then :
29479 cat >>confdefs.h <<_ACEOF
29480 #define HAVE__ISNANF 1
29481 _ACEOF
29482
29483 fi
29484 done
29485
29486 fi
29487 fi
29488
29489
29490
29491
29492
29493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29494 $as_echo_n "checking for isinff declaration... " >&6; }
29495 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29496 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29497 $as_echo_n "(cached) " >&6
29498 else
29499
29500
29501 ac_ext=cpp
29502 ac_cpp='$CXXCPP $CPPFLAGS'
29503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29506
29507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29508 /* end confdefs.h. */
29509 #include <math.h>
29510 #ifdef HAVE_IEEEFP_H
29511 #include <ieeefp.h>
29512 #endif
29513
29514 int
29515 main ()
29516 {
29517 isinff(0);
29518 ;
29519 return 0;
29520 }
29521 _ACEOF
29522 if ac_fn_cxx_try_compile "$LINENO"; then :
29523 glibcxx_cv_func_isinff_use=yes
29524 else
29525 glibcxx_cv_func_isinff_use=no
29526 fi
29527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29528 ac_ext=c
29529 ac_cpp='$CPP $CPPFLAGS'
29530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29533
29534
29535 fi
29536
29537 fi
29538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29539 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29540
29541 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29542 for ac_func in isinff
29543 do :
29544 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29545 if test "x$ac_cv_func_isinff" = x""yes; then :
29546 cat >>confdefs.h <<_ACEOF
29547 #define HAVE_ISINFF 1
29548 _ACEOF
29549
29550 fi
29551 done
29552
29553 else
29554
29555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29556 $as_echo_n "checking for _isinff declaration... " >&6; }
29557 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29558 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29559 $as_echo_n "(cached) " >&6
29560 else
29561
29562
29563 ac_ext=cpp
29564 ac_cpp='$CXXCPP $CPPFLAGS'
29565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29568
29569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29570 /* end confdefs.h. */
29571 #include <math.h>
29572 #ifdef HAVE_IEEEFP_H
29573 #include <ieeefp.h>
29574 #endif
29575
29576 int
29577 main ()
29578 {
29579 _isinff(0);
29580 ;
29581 return 0;
29582 }
29583 _ACEOF
29584 if ac_fn_cxx_try_compile "$LINENO"; then :
29585 glibcxx_cv_func__isinff_use=yes
29586 else
29587 glibcxx_cv_func__isinff_use=no
29588 fi
29589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29590 ac_ext=c
29591 ac_cpp='$CPP $CPPFLAGS'
29592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29595
29596
29597 fi
29598
29599 fi
29600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29601 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29602
29603 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29604 for ac_func in _isinff
29605 do :
29606 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29607 if test "x$ac_cv_func__isinff" = x""yes; then :
29608 cat >>confdefs.h <<_ACEOF
29609 #define HAVE__ISINFF 1
29610 _ACEOF
29611
29612 fi
29613 done
29614
29615 fi
29616 fi
29617
29618
29619
29620
29621
29622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29623 $as_echo_n "checking for atan2f declaration... " >&6; }
29624 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29625 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29626 $as_echo_n "(cached) " >&6
29627 else
29628
29629
29630 ac_ext=cpp
29631 ac_cpp='$CXXCPP $CPPFLAGS'
29632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29635
29636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29637 /* end confdefs.h. */
29638 #include <math.h>
29639 int
29640 main ()
29641 {
29642 atan2f(0, 0);
29643 ;
29644 return 0;
29645 }
29646 _ACEOF
29647 if ac_fn_cxx_try_compile "$LINENO"; then :
29648 glibcxx_cv_func_atan2f_use=yes
29649 else
29650 glibcxx_cv_func_atan2f_use=no
29651 fi
29652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29653 ac_ext=c
29654 ac_cpp='$CPP $CPPFLAGS'
29655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29658
29659
29660 fi
29661
29662 fi
29663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29664 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29665
29666 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29667 for ac_func in atan2f
29668 do :
29669 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29670 if test "x$ac_cv_func_atan2f" = x""yes; then :
29671 cat >>confdefs.h <<_ACEOF
29672 #define HAVE_ATAN2F 1
29673 _ACEOF
29674
29675 fi
29676 done
29677
29678 else
29679
29680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29681 $as_echo_n "checking for _atan2f declaration... " >&6; }
29682 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29683 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29684 $as_echo_n "(cached) " >&6
29685 else
29686
29687
29688 ac_ext=cpp
29689 ac_cpp='$CXXCPP $CPPFLAGS'
29690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29693
29694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29695 /* end confdefs.h. */
29696 #include <math.h>
29697 int
29698 main ()
29699 {
29700 _atan2f(0, 0);
29701 ;
29702 return 0;
29703 }
29704 _ACEOF
29705 if ac_fn_cxx_try_compile "$LINENO"; then :
29706 glibcxx_cv_func__atan2f_use=yes
29707 else
29708 glibcxx_cv_func__atan2f_use=no
29709 fi
29710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29711 ac_ext=c
29712 ac_cpp='$CPP $CPPFLAGS'
29713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29716
29717
29718 fi
29719
29720 fi
29721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29722 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29723
29724 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29725 for ac_func in _atan2f
29726 do :
29727 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29728 if test "x$ac_cv_func__atan2f" = x""yes; then :
29729 cat >>confdefs.h <<_ACEOF
29730 #define HAVE__ATAN2F 1
29731 _ACEOF
29732
29733 fi
29734 done
29735
29736 fi
29737 fi
29738
29739
29740
29741
29742
29743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29744 $as_echo_n "checking for fabsf declaration... " >&6; }
29745 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29746 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29747 $as_echo_n "(cached) " >&6
29748 else
29749
29750
29751 ac_ext=cpp
29752 ac_cpp='$CXXCPP $CPPFLAGS'
29753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29756
29757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29758 /* end confdefs.h. */
29759 #include <math.h>
29760 #ifdef HAVE_IEEEFP_H
29761 #include <ieeefp.h>
29762 #endif
29763
29764 int
29765 main ()
29766 {
29767 fabsf(0);
29768 ;
29769 return 0;
29770 }
29771 _ACEOF
29772 if ac_fn_cxx_try_compile "$LINENO"; then :
29773 glibcxx_cv_func_fabsf_use=yes
29774 else
29775 glibcxx_cv_func_fabsf_use=no
29776 fi
29777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29778 ac_ext=c
29779 ac_cpp='$CPP $CPPFLAGS'
29780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29783
29784
29785 fi
29786
29787 fi
29788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29789 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29790
29791 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29792 for ac_func in fabsf
29793 do :
29794 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29795 if test "x$ac_cv_func_fabsf" = x""yes; then :
29796 cat >>confdefs.h <<_ACEOF
29797 #define HAVE_FABSF 1
29798 _ACEOF
29799
29800 fi
29801 done
29802
29803 else
29804
29805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29806 $as_echo_n "checking for _fabsf declaration... " >&6; }
29807 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29808 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29809 $as_echo_n "(cached) " >&6
29810 else
29811
29812
29813 ac_ext=cpp
29814 ac_cpp='$CXXCPP $CPPFLAGS'
29815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29818
29819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29820 /* end confdefs.h. */
29821 #include <math.h>
29822 #ifdef HAVE_IEEEFP_H
29823 #include <ieeefp.h>
29824 #endif
29825
29826 int
29827 main ()
29828 {
29829 _fabsf(0);
29830 ;
29831 return 0;
29832 }
29833 _ACEOF
29834 if ac_fn_cxx_try_compile "$LINENO"; then :
29835 glibcxx_cv_func__fabsf_use=yes
29836 else
29837 glibcxx_cv_func__fabsf_use=no
29838 fi
29839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29840 ac_ext=c
29841 ac_cpp='$CPP $CPPFLAGS'
29842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29845
29846
29847 fi
29848
29849 fi
29850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29851 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29852
29853 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29854 for ac_func in _fabsf
29855 do :
29856 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29857 if test "x$ac_cv_func__fabsf" = x""yes; then :
29858 cat >>confdefs.h <<_ACEOF
29859 #define HAVE__FABSF 1
29860 _ACEOF
29861
29862 fi
29863 done
29864
29865 fi
29866 fi
29867
29868
29869
29870
29871
29872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29873 $as_echo_n "checking for fmodf declaration... " >&6; }
29874 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29875 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29876 $as_echo_n "(cached) " >&6
29877 else
29878
29879
29880 ac_ext=cpp
29881 ac_cpp='$CXXCPP $CPPFLAGS'
29882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29885
29886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29887 /* end confdefs.h. */
29888 #include <math.h>
29889 int
29890 main ()
29891 {
29892 fmodf(0, 0);
29893 ;
29894 return 0;
29895 }
29896 _ACEOF
29897 if ac_fn_cxx_try_compile "$LINENO"; then :
29898 glibcxx_cv_func_fmodf_use=yes
29899 else
29900 glibcxx_cv_func_fmodf_use=no
29901 fi
29902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29903 ac_ext=c
29904 ac_cpp='$CPP $CPPFLAGS'
29905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29908
29909
29910 fi
29911
29912 fi
29913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29914 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29915
29916 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29917 for ac_func in fmodf
29918 do :
29919 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29920 if test "x$ac_cv_func_fmodf" = x""yes; then :
29921 cat >>confdefs.h <<_ACEOF
29922 #define HAVE_FMODF 1
29923 _ACEOF
29924
29925 fi
29926 done
29927
29928 else
29929
29930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29931 $as_echo_n "checking for _fmodf declaration... " >&6; }
29932 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29933 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29934 $as_echo_n "(cached) " >&6
29935 else
29936
29937
29938 ac_ext=cpp
29939 ac_cpp='$CXXCPP $CPPFLAGS'
29940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29943
29944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29945 /* end confdefs.h. */
29946 #include <math.h>
29947 int
29948 main ()
29949 {
29950 _fmodf(0, 0);
29951 ;
29952 return 0;
29953 }
29954 _ACEOF
29955 if ac_fn_cxx_try_compile "$LINENO"; then :
29956 glibcxx_cv_func__fmodf_use=yes
29957 else
29958 glibcxx_cv_func__fmodf_use=no
29959 fi
29960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29961 ac_ext=c
29962 ac_cpp='$CPP $CPPFLAGS'
29963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29966
29967
29968 fi
29969
29970 fi
29971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29972 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29973
29974 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29975 for ac_func in _fmodf
29976 do :
29977 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29978 if test "x$ac_cv_func__fmodf" = x""yes; then :
29979 cat >>confdefs.h <<_ACEOF
29980 #define HAVE__FMODF 1
29981 _ACEOF
29982
29983 fi
29984 done
29985
29986 fi
29987 fi
29988
29989
29990
29991
29992
29993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29994 $as_echo_n "checking for frexpf declaration... " >&6; }
29995 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29996 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29997 $as_echo_n "(cached) " >&6
29998 else
29999
30000
30001 ac_ext=cpp
30002 ac_cpp='$CXXCPP $CPPFLAGS'
30003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30006
30007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30008 /* end confdefs.h. */
30009 #include <math.h>
30010 int
30011 main ()
30012 {
30013 frexpf(0, 0);
30014 ;
30015 return 0;
30016 }
30017 _ACEOF
30018 if ac_fn_cxx_try_compile "$LINENO"; then :
30019 glibcxx_cv_func_frexpf_use=yes
30020 else
30021 glibcxx_cv_func_frexpf_use=no
30022 fi
30023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30024 ac_ext=c
30025 ac_cpp='$CPP $CPPFLAGS'
30026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30029
30030
30031 fi
30032
30033 fi
30034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30035 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30036
30037 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30038 for ac_func in frexpf
30039 do :
30040 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30041 if test "x$ac_cv_func_frexpf" = x""yes; then :
30042 cat >>confdefs.h <<_ACEOF
30043 #define HAVE_FREXPF 1
30044 _ACEOF
30045
30046 fi
30047 done
30048
30049 else
30050
30051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30052 $as_echo_n "checking for _frexpf declaration... " >&6; }
30053 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30054 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30055 $as_echo_n "(cached) " >&6
30056 else
30057
30058
30059 ac_ext=cpp
30060 ac_cpp='$CXXCPP $CPPFLAGS'
30061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30064
30065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30066 /* end confdefs.h. */
30067 #include <math.h>
30068 int
30069 main ()
30070 {
30071 _frexpf(0, 0);
30072 ;
30073 return 0;
30074 }
30075 _ACEOF
30076 if ac_fn_cxx_try_compile "$LINENO"; then :
30077 glibcxx_cv_func__frexpf_use=yes
30078 else
30079 glibcxx_cv_func__frexpf_use=no
30080 fi
30081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30082 ac_ext=c
30083 ac_cpp='$CPP $CPPFLAGS'
30084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30087
30088
30089 fi
30090
30091 fi
30092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30093 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30094
30095 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30096 for ac_func in _frexpf
30097 do :
30098 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30099 if test "x$ac_cv_func__frexpf" = x""yes; then :
30100 cat >>confdefs.h <<_ACEOF
30101 #define HAVE__FREXPF 1
30102 _ACEOF
30103
30104 fi
30105 done
30106
30107 fi
30108 fi
30109
30110
30111
30112
30113
30114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30115 $as_echo_n "checking for hypotf declaration... " >&6; }
30116 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30117 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30118 $as_echo_n "(cached) " >&6
30119 else
30120
30121
30122 ac_ext=cpp
30123 ac_cpp='$CXXCPP $CPPFLAGS'
30124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30127
30128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30129 /* end confdefs.h. */
30130 #include <math.h>
30131 int
30132 main ()
30133 {
30134 hypotf(0, 0);
30135 ;
30136 return 0;
30137 }
30138 _ACEOF
30139 if ac_fn_cxx_try_compile "$LINENO"; then :
30140 glibcxx_cv_func_hypotf_use=yes
30141 else
30142 glibcxx_cv_func_hypotf_use=no
30143 fi
30144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30145 ac_ext=c
30146 ac_cpp='$CPP $CPPFLAGS'
30147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30150
30151
30152 fi
30153
30154 fi
30155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30156 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30157
30158 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30159 for ac_func in hypotf
30160 do :
30161 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30162 if test "x$ac_cv_func_hypotf" = x""yes; then :
30163 cat >>confdefs.h <<_ACEOF
30164 #define HAVE_HYPOTF 1
30165 _ACEOF
30166
30167 fi
30168 done
30169
30170 else
30171
30172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30173 $as_echo_n "checking for _hypotf declaration... " >&6; }
30174 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30175 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30176 $as_echo_n "(cached) " >&6
30177 else
30178
30179
30180 ac_ext=cpp
30181 ac_cpp='$CXXCPP $CPPFLAGS'
30182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30185
30186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30187 /* end confdefs.h. */
30188 #include <math.h>
30189 int
30190 main ()
30191 {
30192 _hypotf(0, 0);
30193 ;
30194 return 0;
30195 }
30196 _ACEOF
30197 if ac_fn_cxx_try_compile "$LINENO"; then :
30198 glibcxx_cv_func__hypotf_use=yes
30199 else
30200 glibcxx_cv_func__hypotf_use=no
30201 fi
30202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30203 ac_ext=c
30204 ac_cpp='$CPP $CPPFLAGS'
30205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30208
30209
30210 fi
30211
30212 fi
30213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30214 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30215
30216 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30217 for ac_func in _hypotf
30218 do :
30219 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30220 if test "x$ac_cv_func__hypotf" = x""yes; then :
30221 cat >>confdefs.h <<_ACEOF
30222 #define HAVE__HYPOTF 1
30223 _ACEOF
30224
30225 fi
30226 done
30227
30228 fi
30229 fi
30230
30231
30232
30233
30234
30235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30236 $as_echo_n "checking for ldexpf declaration... " >&6; }
30237 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30238 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30239 $as_echo_n "(cached) " >&6
30240 else
30241
30242
30243 ac_ext=cpp
30244 ac_cpp='$CXXCPP $CPPFLAGS'
30245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30248
30249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30250 /* end confdefs.h. */
30251 #include <math.h>
30252 int
30253 main ()
30254 {
30255 ldexpf(0, 0);
30256 ;
30257 return 0;
30258 }
30259 _ACEOF
30260 if ac_fn_cxx_try_compile "$LINENO"; then :
30261 glibcxx_cv_func_ldexpf_use=yes
30262 else
30263 glibcxx_cv_func_ldexpf_use=no
30264 fi
30265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30266 ac_ext=c
30267 ac_cpp='$CPP $CPPFLAGS'
30268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30271
30272
30273 fi
30274
30275 fi
30276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30277 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30278
30279 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30280 for ac_func in ldexpf
30281 do :
30282 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30283 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30284 cat >>confdefs.h <<_ACEOF
30285 #define HAVE_LDEXPF 1
30286 _ACEOF
30287
30288 fi
30289 done
30290
30291 else
30292
30293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30294 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30295 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30296 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30297 $as_echo_n "(cached) " >&6
30298 else
30299
30300
30301 ac_ext=cpp
30302 ac_cpp='$CXXCPP $CPPFLAGS'
30303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30306
30307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30308 /* end confdefs.h. */
30309 #include <math.h>
30310 int
30311 main ()
30312 {
30313 _ldexpf(0, 0);
30314 ;
30315 return 0;
30316 }
30317 _ACEOF
30318 if ac_fn_cxx_try_compile "$LINENO"; then :
30319 glibcxx_cv_func__ldexpf_use=yes
30320 else
30321 glibcxx_cv_func__ldexpf_use=no
30322 fi
30323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30324 ac_ext=c
30325 ac_cpp='$CPP $CPPFLAGS'
30326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30329
30330
30331 fi
30332
30333 fi
30334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30335 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30336
30337 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30338 for ac_func in _ldexpf
30339 do :
30340 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30341 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30342 cat >>confdefs.h <<_ACEOF
30343 #define HAVE__LDEXPF 1
30344 _ACEOF
30345
30346 fi
30347 done
30348
30349 fi
30350 fi
30351
30352
30353
30354
30355
30356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30357 $as_echo_n "checking for logf declaration... " >&6; }
30358 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30359 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30360 $as_echo_n "(cached) " >&6
30361 else
30362
30363
30364 ac_ext=cpp
30365 ac_cpp='$CXXCPP $CPPFLAGS'
30366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30369
30370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30371 /* end confdefs.h. */
30372 #include <math.h>
30373 #ifdef HAVE_IEEEFP_H
30374 #include <ieeefp.h>
30375 #endif
30376
30377 int
30378 main ()
30379 {
30380 logf(0);
30381 ;
30382 return 0;
30383 }
30384 _ACEOF
30385 if ac_fn_cxx_try_compile "$LINENO"; then :
30386 glibcxx_cv_func_logf_use=yes
30387 else
30388 glibcxx_cv_func_logf_use=no
30389 fi
30390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30391 ac_ext=c
30392 ac_cpp='$CPP $CPPFLAGS'
30393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30396
30397
30398 fi
30399
30400 fi
30401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30402 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30403
30404 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30405 for ac_func in logf
30406 do :
30407 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30408 if test "x$ac_cv_func_logf" = x""yes; then :
30409 cat >>confdefs.h <<_ACEOF
30410 #define HAVE_LOGF 1
30411 _ACEOF
30412
30413 fi
30414 done
30415
30416 else
30417
30418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30419 $as_echo_n "checking for _logf declaration... " >&6; }
30420 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30421 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30422 $as_echo_n "(cached) " >&6
30423 else
30424
30425
30426 ac_ext=cpp
30427 ac_cpp='$CXXCPP $CPPFLAGS'
30428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30431
30432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30433 /* end confdefs.h. */
30434 #include <math.h>
30435 #ifdef HAVE_IEEEFP_H
30436 #include <ieeefp.h>
30437 #endif
30438
30439 int
30440 main ()
30441 {
30442 _logf(0);
30443 ;
30444 return 0;
30445 }
30446 _ACEOF
30447 if ac_fn_cxx_try_compile "$LINENO"; then :
30448 glibcxx_cv_func__logf_use=yes
30449 else
30450 glibcxx_cv_func__logf_use=no
30451 fi
30452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30453 ac_ext=c
30454 ac_cpp='$CPP $CPPFLAGS'
30455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30458
30459
30460 fi
30461
30462 fi
30463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30464 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30465
30466 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30467 for ac_func in _logf
30468 do :
30469 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30470 if test "x$ac_cv_func__logf" = x""yes; then :
30471 cat >>confdefs.h <<_ACEOF
30472 #define HAVE__LOGF 1
30473 _ACEOF
30474
30475 fi
30476 done
30477
30478 fi
30479 fi
30480
30481
30482
30483
30484
30485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30486 $as_echo_n "checking for log10f declaration... " >&6; }
30487 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30488 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30489 $as_echo_n "(cached) " >&6
30490 else
30491
30492
30493 ac_ext=cpp
30494 ac_cpp='$CXXCPP $CPPFLAGS'
30495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30498
30499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30500 /* end confdefs.h. */
30501 #include <math.h>
30502 #ifdef HAVE_IEEEFP_H
30503 #include <ieeefp.h>
30504 #endif
30505
30506 int
30507 main ()
30508 {
30509 log10f(0);
30510 ;
30511 return 0;
30512 }
30513 _ACEOF
30514 if ac_fn_cxx_try_compile "$LINENO"; then :
30515 glibcxx_cv_func_log10f_use=yes
30516 else
30517 glibcxx_cv_func_log10f_use=no
30518 fi
30519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30520 ac_ext=c
30521 ac_cpp='$CPP $CPPFLAGS'
30522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30525
30526
30527 fi
30528
30529 fi
30530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30531 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30532
30533 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30534 for ac_func in log10f
30535 do :
30536 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30537 if test "x$ac_cv_func_log10f" = x""yes; then :
30538 cat >>confdefs.h <<_ACEOF
30539 #define HAVE_LOG10F 1
30540 _ACEOF
30541
30542 fi
30543 done
30544
30545 else
30546
30547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30548 $as_echo_n "checking for _log10f declaration... " >&6; }
30549 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30550 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30551 $as_echo_n "(cached) " >&6
30552 else
30553
30554
30555 ac_ext=cpp
30556 ac_cpp='$CXXCPP $CPPFLAGS'
30557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30560
30561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30562 /* end confdefs.h. */
30563 #include <math.h>
30564 #ifdef HAVE_IEEEFP_H
30565 #include <ieeefp.h>
30566 #endif
30567
30568 int
30569 main ()
30570 {
30571 _log10f(0);
30572 ;
30573 return 0;
30574 }
30575 _ACEOF
30576 if ac_fn_cxx_try_compile "$LINENO"; then :
30577 glibcxx_cv_func__log10f_use=yes
30578 else
30579 glibcxx_cv_func__log10f_use=no
30580 fi
30581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30582 ac_ext=c
30583 ac_cpp='$CPP $CPPFLAGS'
30584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30587
30588
30589 fi
30590
30591 fi
30592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30593 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30594
30595 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30596 for ac_func in _log10f
30597 do :
30598 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30599 if test "x$ac_cv_func__log10f" = x""yes; then :
30600 cat >>confdefs.h <<_ACEOF
30601 #define HAVE__LOG10F 1
30602 _ACEOF
30603
30604 fi
30605 done
30606
30607 fi
30608 fi
30609
30610
30611
30612
30613
30614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30615 $as_echo_n "checking for modff declaration... " >&6; }
30616 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30617 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30618 $as_echo_n "(cached) " >&6
30619 else
30620
30621
30622 ac_ext=cpp
30623 ac_cpp='$CXXCPP $CPPFLAGS'
30624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30627
30628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30629 /* end confdefs.h. */
30630 #include <math.h>
30631 int
30632 main ()
30633 {
30634 modff(0, 0);
30635 ;
30636 return 0;
30637 }
30638 _ACEOF
30639 if ac_fn_cxx_try_compile "$LINENO"; then :
30640 glibcxx_cv_func_modff_use=yes
30641 else
30642 glibcxx_cv_func_modff_use=no
30643 fi
30644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30645 ac_ext=c
30646 ac_cpp='$CPP $CPPFLAGS'
30647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30650
30651
30652 fi
30653
30654 fi
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30656 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30657
30658 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30659 for ac_func in modff
30660 do :
30661 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30662 if test "x$ac_cv_func_modff" = x""yes; then :
30663 cat >>confdefs.h <<_ACEOF
30664 #define HAVE_MODFF 1
30665 _ACEOF
30666
30667 fi
30668 done
30669
30670 else
30671
30672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30673 $as_echo_n "checking for _modff declaration... " >&6; }
30674 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30675 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30676 $as_echo_n "(cached) " >&6
30677 else
30678
30679
30680 ac_ext=cpp
30681 ac_cpp='$CXXCPP $CPPFLAGS'
30682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30685
30686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30687 /* end confdefs.h. */
30688 #include <math.h>
30689 int
30690 main ()
30691 {
30692 _modff(0, 0);
30693 ;
30694 return 0;
30695 }
30696 _ACEOF
30697 if ac_fn_cxx_try_compile "$LINENO"; then :
30698 glibcxx_cv_func__modff_use=yes
30699 else
30700 glibcxx_cv_func__modff_use=no
30701 fi
30702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30703 ac_ext=c
30704 ac_cpp='$CPP $CPPFLAGS'
30705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30708
30709
30710 fi
30711
30712 fi
30713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30714 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30715
30716 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30717 for ac_func in _modff
30718 do :
30719 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30720 if test "x$ac_cv_func__modff" = x""yes; then :
30721 cat >>confdefs.h <<_ACEOF
30722 #define HAVE__MODFF 1
30723 _ACEOF
30724
30725 fi
30726 done
30727
30728 fi
30729 fi
30730
30731
30732
30733
30734
30735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30736 $as_echo_n "checking for modf declaration... " >&6; }
30737 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30738 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30739 $as_echo_n "(cached) " >&6
30740 else
30741
30742
30743 ac_ext=cpp
30744 ac_cpp='$CXXCPP $CPPFLAGS'
30745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30748
30749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30750 /* end confdefs.h. */
30751 #include <math.h>
30752 int
30753 main ()
30754 {
30755 modf(0, 0);
30756 ;
30757 return 0;
30758 }
30759 _ACEOF
30760 if ac_fn_cxx_try_compile "$LINENO"; then :
30761 glibcxx_cv_func_modf_use=yes
30762 else
30763 glibcxx_cv_func_modf_use=no
30764 fi
30765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30766 ac_ext=c
30767 ac_cpp='$CPP $CPPFLAGS'
30768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30771
30772
30773 fi
30774
30775 fi
30776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30777 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30778
30779 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30780 for ac_func in modf
30781 do :
30782 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30783 if test "x$ac_cv_func_modf" = x""yes; then :
30784 cat >>confdefs.h <<_ACEOF
30785 #define HAVE_MODF 1
30786 _ACEOF
30787
30788 fi
30789 done
30790
30791 else
30792
30793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30794 $as_echo_n "checking for _modf declaration... " >&6; }
30795 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30796 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30797 $as_echo_n "(cached) " >&6
30798 else
30799
30800
30801 ac_ext=cpp
30802 ac_cpp='$CXXCPP $CPPFLAGS'
30803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30806
30807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30808 /* end confdefs.h. */
30809 #include <math.h>
30810 int
30811 main ()
30812 {
30813 _modf(0, 0);
30814 ;
30815 return 0;
30816 }
30817 _ACEOF
30818 if ac_fn_cxx_try_compile "$LINENO"; then :
30819 glibcxx_cv_func__modf_use=yes
30820 else
30821 glibcxx_cv_func__modf_use=no
30822 fi
30823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30824 ac_ext=c
30825 ac_cpp='$CPP $CPPFLAGS'
30826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30829
30830
30831 fi
30832
30833 fi
30834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30835 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30836
30837 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30838 for ac_func in _modf
30839 do :
30840 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30841 if test "x$ac_cv_func__modf" = x""yes; then :
30842 cat >>confdefs.h <<_ACEOF
30843 #define HAVE__MODF 1
30844 _ACEOF
30845
30846 fi
30847 done
30848
30849 fi
30850 fi
30851
30852
30853
30854
30855
30856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30857 $as_echo_n "checking for powf declaration... " >&6; }
30858 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30859 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30860 $as_echo_n "(cached) " >&6
30861 else
30862
30863
30864 ac_ext=cpp
30865 ac_cpp='$CXXCPP $CPPFLAGS'
30866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30869
30870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30871 /* end confdefs.h. */
30872 #include <math.h>
30873 int
30874 main ()
30875 {
30876 powf(0, 0);
30877 ;
30878 return 0;
30879 }
30880 _ACEOF
30881 if ac_fn_cxx_try_compile "$LINENO"; then :
30882 glibcxx_cv_func_powf_use=yes
30883 else
30884 glibcxx_cv_func_powf_use=no
30885 fi
30886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30887 ac_ext=c
30888 ac_cpp='$CPP $CPPFLAGS'
30889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30892
30893
30894 fi
30895
30896 fi
30897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30898 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30899
30900 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30901 for ac_func in powf
30902 do :
30903 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30904 if test "x$ac_cv_func_powf" = x""yes; then :
30905 cat >>confdefs.h <<_ACEOF
30906 #define HAVE_POWF 1
30907 _ACEOF
30908
30909 fi
30910 done
30911
30912 else
30913
30914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30915 $as_echo_n "checking for _powf declaration... " >&6; }
30916 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30917 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30918 $as_echo_n "(cached) " >&6
30919 else
30920
30921
30922 ac_ext=cpp
30923 ac_cpp='$CXXCPP $CPPFLAGS'
30924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30927
30928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30929 /* end confdefs.h. */
30930 #include <math.h>
30931 int
30932 main ()
30933 {
30934 _powf(0, 0);
30935 ;
30936 return 0;
30937 }
30938 _ACEOF
30939 if ac_fn_cxx_try_compile "$LINENO"; then :
30940 glibcxx_cv_func__powf_use=yes
30941 else
30942 glibcxx_cv_func__powf_use=no
30943 fi
30944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30945 ac_ext=c
30946 ac_cpp='$CPP $CPPFLAGS'
30947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30950
30951
30952 fi
30953
30954 fi
30955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30956 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30957
30958 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30959 for ac_func in _powf
30960 do :
30961 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30962 if test "x$ac_cv_func__powf" = x""yes; then :
30963 cat >>confdefs.h <<_ACEOF
30964 #define HAVE__POWF 1
30965 _ACEOF
30966
30967 fi
30968 done
30969
30970 fi
30971 fi
30972
30973
30974
30975
30976
30977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30978 $as_echo_n "checking for sqrtf declaration... " >&6; }
30979 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30980 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30981 $as_echo_n "(cached) " >&6
30982 else
30983
30984
30985 ac_ext=cpp
30986 ac_cpp='$CXXCPP $CPPFLAGS'
30987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30990
30991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30992 /* end confdefs.h. */
30993 #include <math.h>
30994 #ifdef HAVE_IEEEFP_H
30995 #include <ieeefp.h>
30996 #endif
30997
30998 int
30999 main ()
31000 {
31001 sqrtf(0);
31002 ;
31003 return 0;
31004 }
31005 _ACEOF
31006 if ac_fn_cxx_try_compile "$LINENO"; then :
31007 glibcxx_cv_func_sqrtf_use=yes
31008 else
31009 glibcxx_cv_func_sqrtf_use=no
31010 fi
31011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31012 ac_ext=c
31013 ac_cpp='$CPP $CPPFLAGS'
31014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31017
31018
31019 fi
31020
31021 fi
31022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31023 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31024
31025 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31026 for ac_func in sqrtf
31027 do :
31028 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31029 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31030 cat >>confdefs.h <<_ACEOF
31031 #define HAVE_SQRTF 1
31032 _ACEOF
31033
31034 fi
31035 done
31036
31037 else
31038
31039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31040 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31041 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31042 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31043 $as_echo_n "(cached) " >&6
31044 else
31045
31046
31047 ac_ext=cpp
31048 ac_cpp='$CXXCPP $CPPFLAGS'
31049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31052
31053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31054 /* end confdefs.h. */
31055 #include <math.h>
31056 #ifdef HAVE_IEEEFP_H
31057 #include <ieeefp.h>
31058 #endif
31059
31060 int
31061 main ()
31062 {
31063 _sqrtf(0);
31064 ;
31065 return 0;
31066 }
31067 _ACEOF
31068 if ac_fn_cxx_try_compile "$LINENO"; then :
31069 glibcxx_cv_func__sqrtf_use=yes
31070 else
31071 glibcxx_cv_func__sqrtf_use=no
31072 fi
31073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31074 ac_ext=c
31075 ac_cpp='$CPP $CPPFLAGS'
31076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31079
31080
31081 fi
31082
31083 fi
31084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31085 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31086
31087 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31088 for ac_func in _sqrtf
31089 do :
31090 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31091 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31092 cat >>confdefs.h <<_ACEOF
31093 #define HAVE__SQRTF 1
31094 _ACEOF
31095
31096 fi
31097 done
31098
31099 fi
31100 fi
31101
31102
31103
31104
31105
31106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31107 $as_echo_n "checking for sincosf declaration... " >&6; }
31108 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31109 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31110 $as_echo_n "(cached) " >&6
31111 else
31112
31113
31114 ac_ext=cpp
31115 ac_cpp='$CXXCPP $CPPFLAGS'
31116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31119
31120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31121 /* end confdefs.h. */
31122 #include <math.h>
31123 int
31124 main ()
31125 {
31126 sincosf(0, 0, 0);
31127 ;
31128 return 0;
31129 }
31130 _ACEOF
31131 if ac_fn_cxx_try_compile "$LINENO"; then :
31132 glibcxx_cv_func_sincosf_use=yes
31133 else
31134 glibcxx_cv_func_sincosf_use=no
31135 fi
31136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31137 ac_ext=c
31138 ac_cpp='$CPP $CPPFLAGS'
31139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31142
31143
31144 fi
31145
31146 fi
31147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31148 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31149
31150 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31151 for ac_func in sincosf
31152 do :
31153 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31154 if test "x$ac_cv_func_sincosf" = x""yes; then :
31155 cat >>confdefs.h <<_ACEOF
31156 #define HAVE_SINCOSF 1
31157 _ACEOF
31158
31159 fi
31160 done
31161
31162 else
31163
31164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31165 $as_echo_n "checking for _sincosf declaration... " >&6; }
31166 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31167 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31168 $as_echo_n "(cached) " >&6
31169 else
31170
31171
31172 ac_ext=cpp
31173 ac_cpp='$CXXCPP $CPPFLAGS'
31174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31177
31178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31179 /* end confdefs.h. */
31180 #include <math.h>
31181 int
31182 main ()
31183 {
31184 _sincosf(0, 0, 0);
31185 ;
31186 return 0;
31187 }
31188 _ACEOF
31189 if ac_fn_cxx_try_compile "$LINENO"; then :
31190 glibcxx_cv_func__sincosf_use=yes
31191 else
31192 glibcxx_cv_func__sincosf_use=no
31193 fi
31194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31195 ac_ext=c
31196 ac_cpp='$CPP $CPPFLAGS'
31197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31200
31201
31202 fi
31203
31204 fi
31205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31206 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31207
31208 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31209 for ac_func in _sincosf
31210 do :
31211 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31212 if test "x$ac_cv_func__sincosf" = x""yes; then :
31213 cat >>confdefs.h <<_ACEOF
31214 #define HAVE__SINCOSF 1
31215 _ACEOF
31216
31217 fi
31218 done
31219
31220 fi
31221 fi
31222
31223
31224
31225
31226
31227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31228 $as_echo_n "checking for finitef declaration... " >&6; }
31229 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31230 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31231 $as_echo_n "(cached) " >&6
31232 else
31233
31234
31235 ac_ext=cpp
31236 ac_cpp='$CXXCPP $CPPFLAGS'
31237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31240
31241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31242 /* end confdefs.h. */
31243 #include <math.h>
31244 #ifdef HAVE_IEEEFP_H
31245 #include <ieeefp.h>
31246 #endif
31247
31248 int
31249 main ()
31250 {
31251 finitef(0);
31252 ;
31253 return 0;
31254 }
31255 _ACEOF
31256 if ac_fn_cxx_try_compile "$LINENO"; then :
31257 glibcxx_cv_func_finitef_use=yes
31258 else
31259 glibcxx_cv_func_finitef_use=no
31260 fi
31261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31262 ac_ext=c
31263 ac_cpp='$CPP $CPPFLAGS'
31264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31267
31268
31269 fi
31270
31271 fi
31272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31273 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31274
31275 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31276 for ac_func in finitef
31277 do :
31278 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31279 if test "x$ac_cv_func_finitef" = x""yes; then :
31280 cat >>confdefs.h <<_ACEOF
31281 #define HAVE_FINITEF 1
31282 _ACEOF
31283
31284 fi
31285 done
31286
31287 else
31288
31289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31290 $as_echo_n "checking for _finitef declaration... " >&6; }
31291 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31292 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31293 $as_echo_n "(cached) " >&6
31294 else
31295
31296
31297 ac_ext=cpp
31298 ac_cpp='$CXXCPP $CPPFLAGS'
31299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31302
31303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31304 /* end confdefs.h. */
31305 #include <math.h>
31306 #ifdef HAVE_IEEEFP_H
31307 #include <ieeefp.h>
31308 #endif
31309
31310 int
31311 main ()
31312 {
31313 _finitef(0);
31314 ;
31315 return 0;
31316 }
31317 _ACEOF
31318 if ac_fn_cxx_try_compile "$LINENO"; then :
31319 glibcxx_cv_func__finitef_use=yes
31320 else
31321 glibcxx_cv_func__finitef_use=no
31322 fi
31323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31324 ac_ext=c
31325 ac_cpp='$CPP $CPPFLAGS'
31326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31329
31330
31331 fi
31332
31333 fi
31334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31335 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31336
31337 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31338 for ac_func in _finitef
31339 do :
31340 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31341 if test "x$ac_cv_func__finitef" = x""yes; then :
31342 cat >>confdefs.h <<_ACEOF
31343 #define HAVE__FINITEF 1
31344 _ACEOF
31345
31346 fi
31347 done
31348
31349 fi
31350 fi
31351
31352
31353
31354
31355
31356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31357 $as_echo_n "checking for long double trig functions... " >&6; }
31358 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31359 $as_echo_n "(cached) " >&6
31360 else
31361
31362
31363 ac_ext=cpp
31364 ac_cpp='$CXXCPP $CPPFLAGS'
31365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31368
31369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31370 /* end confdefs.h. */
31371 #include <math.h>
31372 int
31373 main ()
31374 {
31375 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31376 ;
31377 return 0;
31378 }
31379 _ACEOF
31380 if ac_fn_cxx_try_compile "$LINENO"; then :
31381 glibcxx_cv_func_long_double_trig_use=yes
31382 else
31383 glibcxx_cv_func_long_double_trig_use=no
31384 fi
31385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31386 ac_ext=c
31387 ac_cpp='$CPP $CPPFLAGS'
31388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31391
31392 fi
31393
31394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31395 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31396 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31397 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31398 do :
31399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31401 eval as_val=\$$as_ac_var
31402 if test "x$as_val" = x""yes; then :
31403 cat >>confdefs.h <<_ACEOF
31404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31405 _ACEOF
31406
31407 fi
31408 done
31409
31410 else
31411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31412 $as_echo_n "checking for _long double trig functions... " >&6; }
31413 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31414 $as_echo_n "(cached) " >&6
31415 else
31416
31417
31418 ac_ext=cpp
31419 ac_cpp='$CXXCPP $CPPFLAGS'
31420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31423
31424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31425 /* end confdefs.h. */
31426 #include <math.h>
31427 int
31428 main ()
31429 {
31430 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31431 ;
31432 return 0;
31433 }
31434 _ACEOF
31435 if ac_fn_cxx_try_compile "$LINENO"; then :
31436 glibcxx_cv_func__long_double_trig_use=yes
31437 else
31438 glibcxx_cv_func__long_double_trig_use=no
31439 fi
31440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31441 ac_ext=c
31442 ac_cpp='$CPP $CPPFLAGS'
31443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31446
31447 fi
31448
31449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31450 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31451 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31452 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31453 do :
31454 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31455 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31456 eval as_val=\$$as_ac_var
31457 if test "x$as_val" = x""yes; then :
31458 cat >>confdefs.h <<_ACEOF
31459 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31460 _ACEOF
31461
31462 fi
31463 done
31464
31465 fi
31466 fi
31467
31468
31469
31470
31471
31472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31473 $as_echo_n "checking for long double round functions... " >&6; }
31474 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31475 $as_echo_n "(cached) " >&6
31476 else
31477
31478
31479 ac_ext=cpp
31480 ac_cpp='$CXXCPP $CPPFLAGS'
31481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31484
31485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31486 /* end confdefs.h. */
31487 #include <math.h>
31488 int
31489 main ()
31490 {
31491 ceill (0); floorl (0);
31492 ;
31493 return 0;
31494 }
31495 _ACEOF
31496 if ac_fn_cxx_try_compile "$LINENO"; then :
31497 glibcxx_cv_func_long_double_round_use=yes
31498 else
31499 glibcxx_cv_func_long_double_round_use=no
31500 fi
31501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31502 ac_ext=c
31503 ac_cpp='$CPP $CPPFLAGS'
31504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31507
31508 fi
31509
31510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31511 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31512 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31513 for ac_func in ceill floorl
31514 do :
31515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31517 eval as_val=\$$as_ac_var
31518 if test "x$as_val" = x""yes; then :
31519 cat >>confdefs.h <<_ACEOF
31520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31521 _ACEOF
31522
31523 fi
31524 done
31525
31526 else
31527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31528 $as_echo_n "checking for _long double round functions... " >&6; }
31529 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31530 $as_echo_n "(cached) " >&6
31531 else
31532
31533
31534 ac_ext=cpp
31535 ac_cpp='$CXXCPP $CPPFLAGS'
31536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31539
31540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31541 /* end confdefs.h. */
31542 #include <math.h>
31543 int
31544 main ()
31545 {
31546 _ceill (0); _floorl (0);
31547 ;
31548 return 0;
31549 }
31550 _ACEOF
31551 if ac_fn_cxx_try_compile "$LINENO"; then :
31552 glibcxx_cv_func__long_double_round_use=yes
31553 else
31554 glibcxx_cv_func__long_double_round_use=no
31555 fi
31556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31557 ac_ext=c
31558 ac_cpp='$CPP $CPPFLAGS'
31559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31562
31563 fi
31564
31565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31566 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31567 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31568 for ac_func in _ceill _floorl
31569 do :
31570 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31571 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31572 eval as_val=\$$as_ac_var
31573 if test "x$as_val" = x""yes; then :
31574 cat >>confdefs.h <<_ACEOF
31575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31576 _ACEOF
31577
31578 fi
31579 done
31580
31581 fi
31582 fi
31583
31584
31585
31586
31587
31588
31589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31590 $as_echo_n "checking for isnanl declaration... " >&6; }
31591 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31592 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31593 $as_echo_n "(cached) " >&6
31594 else
31595
31596
31597 ac_ext=cpp
31598 ac_cpp='$CXXCPP $CPPFLAGS'
31599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31602
31603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31604 /* end confdefs.h. */
31605 #include <math.h>
31606 #ifdef HAVE_IEEEFP_H
31607 #include <ieeefp.h>
31608 #endif
31609
31610 int
31611 main ()
31612 {
31613 isnanl(0);
31614 ;
31615 return 0;
31616 }
31617 _ACEOF
31618 if ac_fn_cxx_try_compile "$LINENO"; then :
31619 glibcxx_cv_func_isnanl_use=yes
31620 else
31621 glibcxx_cv_func_isnanl_use=no
31622 fi
31623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31624 ac_ext=c
31625 ac_cpp='$CPP $CPPFLAGS'
31626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31629
31630
31631 fi
31632
31633 fi
31634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31635 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31636
31637 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31638 for ac_func in isnanl
31639 do :
31640 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31641 if test "x$ac_cv_func_isnanl" = x""yes; then :
31642 cat >>confdefs.h <<_ACEOF
31643 #define HAVE_ISNANL 1
31644 _ACEOF
31645
31646 fi
31647 done
31648
31649 else
31650
31651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31652 $as_echo_n "checking for _isnanl declaration... " >&6; }
31653 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31654 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31655 $as_echo_n "(cached) " >&6
31656 else
31657
31658
31659 ac_ext=cpp
31660 ac_cpp='$CXXCPP $CPPFLAGS'
31661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31664
31665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31666 /* end confdefs.h. */
31667 #include <math.h>
31668 #ifdef HAVE_IEEEFP_H
31669 #include <ieeefp.h>
31670 #endif
31671
31672 int
31673 main ()
31674 {
31675 _isnanl(0);
31676 ;
31677 return 0;
31678 }
31679 _ACEOF
31680 if ac_fn_cxx_try_compile "$LINENO"; then :
31681 glibcxx_cv_func__isnanl_use=yes
31682 else
31683 glibcxx_cv_func__isnanl_use=no
31684 fi
31685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31686 ac_ext=c
31687 ac_cpp='$CPP $CPPFLAGS'
31688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31691
31692
31693 fi
31694
31695 fi
31696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31697 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31698
31699 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31700 for ac_func in _isnanl
31701 do :
31702 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31703 if test "x$ac_cv_func__isnanl" = x""yes; then :
31704 cat >>confdefs.h <<_ACEOF
31705 #define HAVE__ISNANL 1
31706 _ACEOF
31707
31708 fi
31709 done
31710
31711 fi
31712 fi
31713
31714
31715
31716
31717
31718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31719 $as_echo_n "checking for isinfl declaration... " >&6; }
31720 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31721 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31722 $as_echo_n "(cached) " >&6
31723 else
31724
31725
31726 ac_ext=cpp
31727 ac_cpp='$CXXCPP $CPPFLAGS'
31728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31731
31732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31733 /* end confdefs.h. */
31734 #include <math.h>
31735 #ifdef HAVE_IEEEFP_H
31736 #include <ieeefp.h>
31737 #endif
31738
31739 int
31740 main ()
31741 {
31742 isinfl(0);
31743 ;
31744 return 0;
31745 }
31746 _ACEOF
31747 if ac_fn_cxx_try_compile "$LINENO"; then :
31748 glibcxx_cv_func_isinfl_use=yes
31749 else
31750 glibcxx_cv_func_isinfl_use=no
31751 fi
31752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31753 ac_ext=c
31754 ac_cpp='$CPP $CPPFLAGS'
31755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31758
31759
31760 fi
31761
31762 fi
31763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31764 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31765
31766 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31767 for ac_func in isinfl
31768 do :
31769 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31770 if test "x$ac_cv_func_isinfl" = x""yes; then :
31771 cat >>confdefs.h <<_ACEOF
31772 #define HAVE_ISINFL 1
31773 _ACEOF
31774
31775 fi
31776 done
31777
31778 else
31779
31780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31781 $as_echo_n "checking for _isinfl declaration... " >&6; }
31782 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31783 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31784 $as_echo_n "(cached) " >&6
31785 else
31786
31787
31788 ac_ext=cpp
31789 ac_cpp='$CXXCPP $CPPFLAGS'
31790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31793
31794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31795 /* end confdefs.h. */
31796 #include <math.h>
31797 #ifdef HAVE_IEEEFP_H
31798 #include <ieeefp.h>
31799 #endif
31800
31801 int
31802 main ()
31803 {
31804 _isinfl(0);
31805 ;
31806 return 0;
31807 }
31808 _ACEOF
31809 if ac_fn_cxx_try_compile "$LINENO"; then :
31810 glibcxx_cv_func__isinfl_use=yes
31811 else
31812 glibcxx_cv_func__isinfl_use=no
31813 fi
31814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31815 ac_ext=c
31816 ac_cpp='$CPP $CPPFLAGS'
31817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31820
31821
31822 fi
31823
31824 fi
31825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31826 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31827
31828 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31829 for ac_func in _isinfl
31830 do :
31831 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31832 if test "x$ac_cv_func__isinfl" = x""yes; then :
31833 cat >>confdefs.h <<_ACEOF
31834 #define HAVE__ISINFL 1
31835 _ACEOF
31836
31837 fi
31838 done
31839
31840 fi
31841 fi
31842
31843
31844
31845
31846
31847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31848 $as_echo_n "checking for atan2l declaration... " >&6; }
31849 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31850 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31851 $as_echo_n "(cached) " >&6
31852 else
31853
31854
31855 ac_ext=cpp
31856 ac_cpp='$CXXCPP $CPPFLAGS'
31857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31860
31861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31862 /* end confdefs.h. */
31863 #include <math.h>
31864 int
31865 main ()
31866 {
31867 atan2l(0, 0);
31868 ;
31869 return 0;
31870 }
31871 _ACEOF
31872 if ac_fn_cxx_try_compile "$LINENO"; then :
31873 glibcxx_cv_func_atan2l_use=yes
31874 else
31875 glibcxx_cv_func_atan2l_use=no
31876 fi
31877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31878 ac_ext=c
31879 ac_cpp='$CPP $CPPFLAGS'
31880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31883
31884
31885 fi
31886
31887 fi
31888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31889 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31890
31891 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31892 for ac_func in atan2l
31893 do :
31894 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31895 if test "x$ac_cv_func_atan2l" = x""yes; then :
31896 cat >>confdefs.h <<_ACEOF
31897 #define HAVE_ATAN2L 1
31898 _ACEOF
31899
31900 fi
31901 done
31902
31903 else
31904
31905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31906 $as_echo_n "checking for _atan2l declaration... " >&6; }
31907 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31908 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31909 $as_echo_n "(cached) " >&6
31910 else
31911
31912
31913 ac_ext=cpp
31914 ac_cpp='$CXXCPP $CPPFLAGS'
31915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31918
31919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31920 /* end confdefs.h. */
31921 #include <math.h>
31922 int
31923 main ()
31924 {
31925 _atan2l(0, 0);
31926 ;
31927 return 0;
31928 }
31929 _ACEOF
31930 if ac_fn_cxx_try_compile "$LINENO"; then :
31931 glibcxx_cv_func__atan2l_use=yes
31932 else
31933 glibcxx_cv_func__atan2l_use=no
31934 fi
31935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31936 ac_ext=c
31937 ac_cpp='$CPP $CPPFLAGS'
31938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31941
31942
31943 fi
31944
31945 fi
31946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31947 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31948
31949 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31950 for ac_func in _atan2l
31951 do :
31952 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31953 if test "x$ac_cv_func__atan2l" = x""yes; then :
31954 cat >>confdefs.h <<_ACEOF
31955 #define HAVE__ATAN2L 1
31956 _ACEOF
31957
31958 fi
31959 done
31960
31961 fi
31962 fi
31963
31964
31965
31966
31967
31968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31969 $as_echo_n "checking for expl declaration... " >&6; }
31970 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31971 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31972 $as_echo_n "(cached) " >&6
31973 else
31974
31975
31976 ac_ext=cpp
31977 ac_cpp='$CXXCPP $CPPFLAGS'
31978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31981
31982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31983 /* end confdefs.h. */
31984 #include <math.h>
31985 #ifdef HAVE_IEEEFP_H
31986 #include <ieeefp.h>
31987 #endif
31988
31989 int
31990 main ()
31991 {
31992 expl(0);
31993 ;
31994 return 0;
31995 }
31996 _ACEOF
31997 if ac_fn_cxx_try_compile "$LINENO"; then :
31998 glibcxx_cv_func_expl_use=yes
31999 else
32000 glibcxx_cv_func_expl_use=no
32001 fi
32002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32003 ac_ext=c
32004 ac_cpp='$CPP $CPPFLAGS'
32005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32008
32009
32010 fi
32011
32012 fi
32013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32014 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32015
32016 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32017 for ac_func in expl
32018 do :
32019 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32020 if test "x$ac_cv_func_expl" = x""yes; then :
32021 cat >>confdefs.h <<_ACEOF
32022 #define HAVE_EXPL 1
32023 _ACEOF
32024
32025 fi
32026 done
32027
32028 else
32029
32030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32031 $as_echo_n "checking for _expl declaration... " >&6; }
32032 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32033 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32034 $as_echo_n "(cached) " >&6
32035 else
32036
32037
32038 ac_ext=cpp
32039 ac_cpp='$CXXCPP $CPPFLAGS'
32040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32043
32044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32045 /* end confdefs.h. */
32046 #include <math.h>
32047 #ifdef HAVE_IEEEFP_H
32048 #include <ieeefp.h>
32049 #endif
32050
32051 int
32052 main ()
32053 {
32054 _expl(0);
32055 ;
32056 return 0;
32057 }
32058 _ACEOF
32059 if ac_fn_cxx_try_compile "$LINENO"; then :
32060 glibcxx_cv_func__expl_use=yes
32061 else
32062 glibcxx_cv_func__expl_use=no
32063 fi
32064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32065 ac_ext=c
32066 ac_cpp='$CPP $CPPFLAGS'
32067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32070
32071
32072 fi
32073
32074 fi
32075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32076 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32077
32078 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32079 for ac_func in _expl
32080 do :
32081 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32082 if test "x$ac_cv_func__expl" = x""yes; then :
32083 cat >>confdefs.h <<_ACEOF
32084 #define HAVE__EXPL 1
32085 _ACEOF
32086
32087 fi
32088 done
32089
32090 fi
32091 fi
32092
32093
32094
32095
32096
32097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32098 $as_echo_n "checking for fabsl declaration... " >&6; }
32099 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32100 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32101 $as_echo_n "(cached) " >&6
32102 else
32103
32104
32105 ac_ext=cpp
32106 ac_cpp='$CXXCPP $CPPFLAGS'
32107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32110
32111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32112 /* end confdefs.h. */
32113 #include <math.h>
32114 #ifdef HAVE_IEEEFP_H
32115 #include <ieeefp.h>
32116 #endif
32117
32118 int
32119 main ()
32120 {
32121 fabsl(0);
32122 ;
32123 return 0;
32124 }
32125 _ACEOF
32126 if ac_fn_cxx_try_compile "$LINENO"; then :
32127 glibcxx_cv_func_fabsl_use=yes
32128 else
32129 glibcxx_cv_func_fabsl_use=no
32130 fi
32131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32132 ac_ext=c
32133 ac_cpp='$CPP $CPPFLAGS'
32134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32137
32138
32139 fi
32140
32141 fi
32142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32143 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32144
32145 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32146 for ac_func in fabsl
32147 do :
32148 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32149 if test "x$ac_cv_func_fabsl" = x""yes; then :
32150 cat >>confdefs.h <<_ACEOF
32151 #define HAVE_FABSL 1
32152 _ACEOF
32153
32154 fi
32155 done
32156
32157 else
32158
32159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32160 $as_echo_n "checking for _fabsl declaration... " >&6; }
32161 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32162 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32163 $as_echo_n "(cached) " >&6
32164 else
32165
32166
32167 ac_ext=cpp
32168 ac_cpp='$CXXCPP $CPPFLAGS'
32169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32172
32173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32174 /* end confdefs.h. */
32175 #include <math.h>
32176 #ifdef HAVE_IEEEFP_H
32177 #include <ieeefp.h>
32178 #endif
32179
32180 int
32181 main ()
32182 {
32183 _fabsl(0);
32184 ;
32185 return 0;
32186 }
32187 _ACEOF
32188 if ac_fn_cxx_try_compile "$LINENO"; then :
32189 glibcxx_cv_func__fabsl_use=yes
32190 else
32191 glibcxx_cv_func__fabsl_use=no
32192 fi
32193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32194 ac_ext=c
32195 ac_cpp='$CPP $CPPFLAGS'
32196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32199
32200
32201 fi
32202
32203 fi
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32205 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32206
32207 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32208 for ac_func in _fabsl
32209 do :
32210 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32211 if test "x$ac_cv_func__fabsl" = x""yes; then :
32212 cat >>confdefs.h <<_ACEOF
32213 #define HAVE__FABSL 1
32214 _ACEOF
32215
32216 fi
32217 done
32218
32219 fi
32220 fi
32221
32222
32223
32224
32225
32226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32227 $as_echo_n "checking for fmodl declaration... " >&6; }
32228 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32229 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32230 $as_echo_n "(cached) " >&6
32231 else
32232
32233
32234 ac_ext=cpp
32235 ac_cpp='$CXXCPP $CPPFLAGS'
32236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32239
32240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32241 /* end confdefs.h. */
32242 #include <math.h>
32243 int
32244 main ()
32245 {
32246 fmodl(0, 0);
32247 ;
32248 return 0;
32249 }
32250 _ACEOF
32251 if ac_fn_cxx_try_compile "$LINENO"; then :
32252 glibcxx_cv_func_fmodl_use=yes
32253 else
32254 glibcxx_cv_func_fmodl_use=no
32255 fi
32256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32257 ac_ext=c
32258 ac_cpp='$CPP $CPPFLAGS'
32259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32262
32263
32264 fi
32265
32266 fi
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32268 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32269
32270 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32271 for ac_func in fmodl
32272 do :
32273 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32274 if test "x$ac_cv_func_fmodl" = x""yes; then :
32275 cat >>confdefs.h <<_ACEOF
32276 #define HAVE_FMODL 1
32277 _ACEOF
32278
32279 fi
32280 done
32281
32282 else
32283
32284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32285 $as_echo_n "checking for _fmodl declaration... " >&6; }
32286 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32287 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32288 $as_echo_n "(cached) " >&6
32289 else
32290
32291
32292 ac_ext=cpp
32293 ac_cpp='$CXXCPP $CPPFLAGS'
32294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32297
32298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32299 /* end confdefs.h. */
32300 #include <math.h>
32301 int
32302 main ()
32303 {
32304 _fmodl(0, 0);
32305 ;
32306 return 0;
32307 }
32308 _ACEOF
32309 if ac_fn_cxx_try_compile "$LINENO"; then :
32310 glibcxx_cv_func__fmodl_use=yes
32311 else
32312 glibcxx_cv_func__fmodl_use=no
32313 fi
32314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32315 ac_ext=c
32316 ac_cpp='$CPP $CPPFLAGS'
32317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32320
32321
32322 fi
32323
32324 fi
32325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32326 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32327
32328 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32329 for ac_func in _fmodl
32330 do :
32331 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32332 if test "x$ac_cv_func__fmodl" = x""yes; then :
32333 cat >>confdefs.h <<_ACEOF
32334 #define HAVE__FMODL 1
32335 _ACEOF
32336
32337 fi
32338 done
32339
32340 fi
32341 fi
32342
32343
32344
32345
32346
32347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32348 $as_echo_n "checking for frexpl declaration... " >&6; }
32349 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32350 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32351 $as_echo_n "(cached) " >&6
32352 else
32353
32354
32355 ac_ext=cpp
32356 ac_cpp='$CXXCPP $CPPFLAGS'
32357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32360
32361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32362 /* end confdefs.h. */
32363 #include <math.h>
32364 int
32365 main ()
32366 {
32367 frexpl(0, 0);
32368 ;
32369 return 0;
32370 }
32371 _ACEOF
32372 if ac_fn_cxx_try_compile "$LINENO"; then :
32373 glibcxx_cv_func_frexpl_use=yes
32374 else
32375 glibcxx_cv_func_frexpl_use=no
32376 fi
32377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32378 ac_ext=c
32379 ac_cpp='$CPP $CPPFLAGS'
32380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32383
32384
32385 fi
32386
32387 fi
32388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32389 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32390
32391 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32392 for ac_func in frexpl
32393 do :
32394 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32395 if test "x$ac_cv_func_frexpl" = x""yes; then :
32396 cat >>confdefs.h <<_ACEOF
32397 #define HAVE_FREXPL 1
32398 _ACEOF
32399
32400 fi
32401 done
32402
32403 else
32404
32405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32406 $as_echo_n "checking for _frexpl declaration... " >&6; }
32407 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32408 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32409 $as_echo_n "(cached) " >&6
32410 else
32411
32412
32413 ac_ext=cpp
32414 ac_cpp='$CXXCPP $CPPFLAGS'
32415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32418
32419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32420 /* end confdefs.h. */
32421 #include <math.h>
32422 int
32423 main ()
32424 {
32425 _frexpl(0, 0);
32426 ;
32427 return 0;
32428 }
32429 _ACEOF
32430 if ac_fn_cxx_try_compile "$LINENO"; then :
32431 glibcxx_cv_func__frexpl_use=yes
32432 else
32433 glibcxx_cv_func__frexpl_use=no
32434 fi
32435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32436 ac_ext=c
32437 ac_cpp='$CPP $CPPFLAGS'
32438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32441
32442
32443 fi
32444
32445 fi
32446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32447 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32448
32449 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32450 for ac_func in _frexpl
32451 do :
32452 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32453 if test "x$ac_cv_func__frexpl" = x""yes; then :
32454 cat >>confdefs.h <<_ACEOF
32455 #define HAVE__FREXPL 1
32456 _ACEOF
32457
32458 fi
32459 done
32460
32461 fi
32462 fi
32463
32464
32465
32466
32467
32468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32469 $as_echo_n "checking for hypotl declaration... " >&6; }
32470 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32471 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32472 $as_echo_n "(cached) " >&6
32473 else
32474
32475
32476 ac_ext=cpp
32477 ac_cpp='$CXXCPP $CPPFLAGS'
32478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32481
32482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32483 /* end confdefs.h. */
32484 #include <math.h>
32485 int
32486 main ()
32487 {
32488 hypotl(0, 0);
32489 ;
32490 return 0;
32491 }
32492 _ACEOF
32493 if ac_fn_cxx_try_compile "$LINENO"; then :
32494 glibcxx_cv_func_hypotl_use=yes
32495 else
32496 glibcxx_cv_func_hypotl_use=no
32497 fi
32498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32499 ac_ext=c
32500 ac_cpp='$CPP $CPPFLAGS'
32501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32504
32505
32506 fi
32507
32508 fi
32509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32510 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32511
32512 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32513 for ac_func in hypotl
32514 do :
32515 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32516 if test "x$ac_cv_func_hypotl" = x""yes; then :
32517 cat >>confdefs.h <<_ACEOF
32518 #define HAVE_HYPOTL 1
32519 _ACEOF
32520
32521 fi
32522 done
32523
32524 else
32525
32526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32527 $as_echo_n "checking for _hypotl declaration... " >&6; }
32528 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32529 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32530 $as_echo_n "(cached) " >&6
32531 else
32532
32533
32534 ac_ext=cpp
32535 ac_cpp='$CXXCPP $CPPFLAGS'
32536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32539
32540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32541 /* end confdefs.h. */
32542 #include <math.h>
32543 int
32544 main ()
32545 {
32546 _hypotl(0, 0);
32547 ;
32548 return 0;
32549 }
32550 _ACEOF
32551 if ac_fn_cxx_try_compile "$LINENO"; then :
32552 glibcxx_cv_func__hypotl_use=yes
32553 else
32554 glibcxx_cv_func__hypotl_use=no
32555 fi
32556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32557 ac_ext=c
32558 ac_cpp='$CPP $CPPFLAGS'
32559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32562
32563
32564 fi
32565
32566 fi
32567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32568 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32569
32570 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32571 for ac_func in _hypotl
32572 do :
32573 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32574 if test "x$ac_cv_func__hypotl" = x""yes; then :
32575 cat >>confdefs.h <<_ACEOF
32576 #define HAVE__HYPOTL 1
32577 _ACEOF
32578
32579 fi
32580 done
32581
32582 fi
32583 fi
32584
32585
32586
32587
32588
32589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32590 $as_echo_n "checking for ldexpl declaration... " >&6; }
32591 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32592 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32593 $as_echo_n "(cached) " >&6
32594 else
32595
32596
32597 ac_ext=cpp
32598 ac_cpp='$CXXCPP $CPPFLAGS'
32599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32602
32603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32604 /* end confdefs.h. */
32605 #include <math.h>
32606 int
32607 main ()
32608 {
32609 ldexpl(0, 0);
32610 ;
32611 return 0;
32612 }
32613 _ACEOF
32614 if ac_fn_cxx_try_compile "$LINENO"; then :
32615 glibcxx_cv_func_ldexpl_use=yes
32616 else
32617 glibcxx_cv_func_ldexpl_use=no
32618 fi
32619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32620 ac_ext=c
32621 ac_cpp='$CPP $CPPFLAGS'
32622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32625
32626
32627 fi
32628
32629 fi
32630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32631 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32632
32633 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32634 for ac_func in ldexpl
32635 do :
32636 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32637 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32638 cat >>confdefs.h <<_ACEOF
32639 #define HAVE_LDEXPL 1
32640 _ACEOF
32641
32642 fi
32643 done
32644
32645 else
32646
32647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32648 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32649 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32650 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32651 $as_echo_n "(cached) " >&6
32652 else
32653
32654
32655 ac_ext=cpp
32656 ac_cpp='$CXXCPP $CPPFLAGS'
32657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32660
32661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32662 /* end confdefs.h. */
32663 #include <math.h>
32664 int
32665 main ()
32666 {
32667 _ldexpl(0, 0);
32668 ;
32669 return 0;
32670 }
32671 _ACEOF
32672 if ac_fn_cxx_try_compile "$LINENO"; then :
32673 glibcxx_cv_func__ldexpl_use=yes
32674 else
32675 glibcxx_cv_func__ldexpl_use=no
32676 fi
32677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32678 ac_ext=c
32679 ac_cpp='$CPP $CPPFLAGS'
32680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683
32684
32685 fi
32686
32687 fi
32688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32689 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32690
32691 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32692 for ac_func in _ldexpl
32693 do :
32694 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32695 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32696 cat >>confdefs.h <<_ACEOF
32697 #define HAVE__LDEXPL 1
32698 _ACEOF
32699
32700 fi
32701 done
32702
32703 fi
32704 fi
32705
32706
32707
32708
32709
32710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32711 $as_echo_n "checking for logl declaration... " >&6; }
32712 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32713 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32714 $as_echo_n "(cached) " >&6
32715 else
32716
32717
32718 ac_ext=cpp
32719 ac_cpp='$CXXCPP $CPPFLAGS'
32720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32723
32724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32725 /* end confdefs.h. */
32726 #include <math.h>
32727 #ifdef HAVE_IEEEFP_H
32728 #include <ieeefp.h>
32729 #endif
32730
32731 int
32732 main ()
32733 {
32734 logl(0);
32735 ;
32736 return 0;
32737 }
32738 _ACEOF
32739 if ac_fn_cxx_try_compile "$LINENO"; then :
32740 glibcxx_cv_func_logl_use=yes
32741 else
32742 glibcxx_cv_func_logl_use=no
32743 fi
32744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32745 ac_ext=c
32746 ac_cpp='$CPP $CPPFLAGS'
32747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32750
32751
32752 fi
32753
32754 fi
32755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32756 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32757
32758 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32759 for ac_func in logl
32760 do :
32761 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32762 if test "x$ac_cv_func_logl" = x""yes; then :
32763 cat >>confdefs.h <<_ACEOF
32764 #define HAVE_LOGL 1
32765 _ACEOF
32766
32767 fi
32768 done
32769
32770 else
32771
32772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32773 $as_echo_n "checking for _logl declaration... " >&6; }
32774 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32775 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32776 $as_echo_n "(cached) " >&6
32777 else
32778
32779
32780 ac_ext=cpp
32781 ac_cpp='$CXXCPP $CPPFLAGS'
32782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32785
32786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32787 /* end confdefs.h. */
32788 #include <math.h>
32789 #ifdef HAVE_IEEEFP_H
32790 #include <ieeefp.h>
32791 #endif
32792
32793 int
32794 main ()
32795 {
32796 _logl(0);
32797 ;
32798 return 0;
32799 }
32800 _ACEOF
32801 if ac_fn_cxx_try_compile "$LINENO"; then :
32802 glibcxx_cv_func__logl_use=yes
32803 else
32804 glibcxx_cv_func__logl_use=no
32805 fi
32806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32807 ac_ext=c
32808 ac_cpp='$CPP $CPPFLAGS'
32809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32812
32813
32814 fi
32815
32816 fi
32817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32818 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32819
32820 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32821 for ac_func in _logl
32822 do :
32823 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32824 if test "x$ac_cv_func__logl" = x""yes; then :
32825 cat >>confdefs.h <<_ACEOF
32826 #define HAVE__LOGL 1
32827 _ACEOF
32828
32829 fi
32830 done
32831
32832 fi
32833 fi
32834
32835
32836
32837
32838
32839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32840 $as_echo_n "checking for log10l declaration... " >&6; }
32841 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32842 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32843 $as_echo_n "(cached) " >&6
32844 else
32845
32846
32847 ac_ext=cpp
32848 ac_cpp='$CXXCPP $CPPFLAGS'
32849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32852
32853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32854 /* end confdefs.h. */
32855 #include <math.h>
32856 #ifdef HAVE_IEEEFP_H
32857 #include <ieeefp.h>
32858 #endif
32859
32860 int
32861 main ()
32862 {
32863 log10l(0);
32864 ;
32865 return 0;
32866 }
32867 _ACEOF
32868 if ac_fn_cxx_try_compile "$LINENO"; then :
32869 glibcxx_cv_func_log10l_use=yes
32870 else
32871 glibcxx_cv_func_log10l_use=no
32872 fi
32873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32874 ac_ext=c
32875 ac_cpp='$CPP $CPPFLAGS'
32876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32879
32880
32881 fi
32882
32883 fi
32884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32885 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32886
32887 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32888 for ac_func in log10l
32889 do :
32890 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32891 if test "x$ac_cv_func_log10l" = x""yes; then :
32892 cat >>confdefs.h <<_ACEOF
32893 #define HAVE_LOG10L 1
32894 _ACEOF
32895
32896 fi
32897 done
32898
32899 else
32900
32901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32902 $as_echo_n "checking for _log10l declaration... " >&6; }
32903 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32904 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32905 $as_echo_n "(cached) " >&6
32906 else
32907
32908
32909 ac_ext=cpp
32910 ac_cpp='$CXXCPP $CPPFLAGS'
32911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32914
32915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32916 /* end confdefs.h. */
32917 #include <math.h>
32918 #ifdef HAVE_IEEEFP_H
32919 #include <ieeefp.h>
32920 #endif
32921
32922 int
32923 main ()
32924 {
32925 _log10l(0);
32926 ;
32927 return 0;
32928 }
32929 _ACEOF
32930 if ac_fn_cxx_try_compile "$LINENO"; then :
32931 glibcxx_cv_func__log10l_use=yes
32932 else
32933 glibcxx_cv_func__log10l_use=no
32934 fi
32935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32936 ac_ext=c
32937 ac_cpp='$CPP $CPPFLAGS'
32938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32941
32942
32943 fi
32944
32945 fi
32946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32947 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32948
32949 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32950 for ac_func in _log10l
32951 do :
32952 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32953 if test "x$ac_cv_func__log10l" = x""yes; then :
32954 cat >>confdefs.h <<_ACEOF
32955 #define HAVE__LOG10L 1
32956 _ACEOF
32957
32958 fi
32959 done
32960
32961 fi
32962 fi
32963
32964
32965
32966
32967
32968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32969 $as_echo_n "checking for modfl declaration... " >&6; }
32970 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32971 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32972 $as_echo_n "(cached) " >&6
32973 else
32974
32975
32976 ac_ext=cpp
32977 ac_cpp='$CXXCPP $CPPFLAGS'
32978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32981
32982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32983 /* end confdefs.h. */
32984 #include <math.h>
32985 int
32986 main ()
32987 {
32988 modfl(0, 0);
32989 ;
32990 return 0;
32991 }
32992 _ACEOF
32993 if ac_fn_cxx_try_compile "$LINENO"; then :
32994 glibcxx_cv_func_modfl_use=yes
32995 else
32996 glibcxx_cv_func_modfl_use=no
32997 fi
32998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32999 ac_ext=c
33000 ac_cpp='$CPP $CPPFLAGS'
33001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33004
33005
33006 fi
33007
33008 fi
33009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33010 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33011
33012 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33013 for ac_func in modfl
33014 do :
33015 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33016 if test "x$ac_cv_func_modfl" = x""yes; then :
33017 cat >>confdefs.h <<_ACEOF
33018 #define HAVE_MODFL 1
33019 _ACEOF
33020
33021 fi
33022 done
33023
33024 else
33025
33026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33027 $as_echo_n "checking for _modfl declaration... " >&6; }
33028 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33029 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33030 $as_echo_n "(cached) " >&6
33031 else
33032
33033
33034 ac_ext=cpp
33035 ac_cpp='$CXXCPP $CPPFLAGS'
33036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33039
33040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33041 /* end confdefs.h. */
33042 #include <math.h>
33043 int
33044 main ()
33045 {
33046 _modfl(0, 0);
33047 ;
33048 return 0;
33049 }
33050 _ACEOF
33051 if ac_fn_cxx_try_compile "$LINENO"; then :
33052 glibcxx_cv_func__modfl_use=yes
33053 else
33054 glibcxx_cv_func__modfl_use=no
33055 fi
33056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33057 ac_ext=c
33058 ac_cpp='$CPP $CPPFLAGS'
33059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33062
33063
33064 fi
33065
33066 fi
33067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33068 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33069
33070 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33071 for ac_func in _modfl
33072 do :
33073 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33074 if test "x$ac_cv_func__modfl" = x""yes; then :
33075 cat >>confdefs.h <<_ACEOF
33076 #define HAVE__MODFL 1
33077 _ACEOF
33078
33079 fi
33080 done
33081
33082 fi
33083 fi
33084
33085
33086
33087
33088
33089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33090 $as_echo_n "checking for powl declaration... " >&6; }
33091 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33092 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33093 $as_echo_n "(cached) " >&6
33094 else
33095
33096
33097 ac_ext=cpp
33098 ac_cpp='$CXXCPP $CPPFLAGS'
33099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33102
33103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33104 /* end confdefs.h. */
33105 #include <math.h>
33106 int
33107 main ()
33108 {
33109 powl(0, 0);
33110 ;
33111 return 0;
33112 }
33113 _ACEOF
33114 if ac_fn_cxx_try_compile "$LINENO"; then :
33115 glibcxx_cv_func_powl_use=yes
33116 else
33117 glibcxx_cv_func_powl_use=no
33118 fi
33119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33120 ac_ext=c
33121 ac_cpp='$CPP $CPPFLAGS'
33122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33125
33126
33127 fi
33128
33129 fi
33130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33131 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33132
33133 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33134 for ac_func in powl
33135 do :
33136 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33137 if test "x$ac_cv_func_powl" = x""yes; then :
33138 cat >>confdefs.h <<_ACEOF
33139 #define HAVE_POWL 1
33140 _ACEOF
33141
33142 fi
33143 done
33144
33145 else
33146
33147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33148 $as_echo_n "checking for _powl declaration... " >&6; }
33149 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33150 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33151 $as_echo_n "(cached) " >&6
33152 else
33153
33154
33155 ac_ext=cpp
33156 ac_cpp='$CXXCPP $CPPFLAGS'
33157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33160
33161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33162 /* end confdefs.h. */
33163 #include <math.h>
33164 int
33165 main ()
33166 {
33167 _powl(0, 0);
33168 ;
33169 return 0;
33170 }
33171 _ACEOF
33172 if ac_fn_cxx_try_compile "$LINENO"; then :
33173 glibcxx_cv_func__powl_use=yes
33174 else
33175 glibcxx_cv_func__powl_use=no
33176 fi
33177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33178 ac_ext=c
33179 ac_cpp='$CPP $CPPFLAGS'
33180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33183
33184
33185 fi
33186
33187 fi
33188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33189 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33190
33191 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33192 for ac_func in _powl
33193 do :
33194 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33195 if test "x$ac_cv_func__powl" = x""yes; then :
33196 cat >>confdefs.h <<_ACEOF
33197 #define HAVE__POWL 1
33198 _ACEOF
33199
33200 fi
33201 done
33202
33203 fi
33204 fi
33205
33206
33207
33208
33209
33210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33211 $as_echo_n "checking for sqrtl declaration... " >&6; }
33212 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33213 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33214 $as_echo_n "(cached) " >&6
33215 else
33216
33217
33218 ac_ext=cpp
33219 ac_cpp='$CXXCPP $CPPFLAGS'
33220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33223
33224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33225 /* end confdefs.h. */
33226 #include <math.h>
33227 #ifdef HAVE_IEEEFP_H
33228 #include <ieeefp.h>
33229 #endif
33230
33231 int
33232 main ()
33233 {
33234 sqrtl(0);
33235 ;
33236 return 0;
33237 }
33238 _ACEOF
33239 if ac_fn_cxx_try_compile "$LINENO"; then :
33240 glibcxx_cv_func_sqrtl_use=yes
33241 else
33242 glibcxx_cv_func_sqrtl_use=no
33243 fi
33244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33245 ac_ext=c
33246 ac_cpp='$CPP $CPPFLAGS'
33247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33250
33251
33252 fi
33253
33254 fi
33255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33256 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33257
33258 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33259 for ac_func in sqrtl
33260 do :
33261 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33262 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33263 cat >>confdefs.h <<_ACEOF
33264 #define HAVE_SQRTL 1
33265 _ACEOF
33266
33267 fi
33268 done
33269
33270 else
33271
33272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33273 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33274 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33275 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33276 $as_echo_n "(cached) " >&6
33277 else
33278
33279
33280 ac_ext=cpp
33281 ac_cpp='$CXXCPP $CPPFLAGS'
33282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33285
33286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33287 /* end confdefs.h. */
33288 #include <math.h>
33289 #ifdef HAVE_IEEEFP_H
33290 #include <ieeefp.h>
33291 #endif
33292
33293 int
33294 main ()
33295 {
33296 _sqrtl(0);
33297 ;
33298 return 0;
33299 }
33300 _ACEOF
33301 if ac_fn_cxx_try_compile "$LINENO"; then :
33302 glibcxx_cv_func__sqrtl_use=yes
33303 else
33304 glibcxx_cv_func__sqrtl_use=no
33305 fi
33306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33307 ac_ext=c
33308 ac_cpp='$CPP $CPPFLAGS'
33309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33312
33313
33314 fi
33315
33316 fi
33317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33318 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33319
33320 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33321 for ac_func in _sqrtl
33322 do :
33323 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33324 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33325 cat >>confdefs.h <<_ACEOF
33326 #define HAVE__SQRTL 1
33327 _ACEOF
33328
33329 fi
33330 done
33331
33332 fi
33333 fi
33334
33335
33336
33337
33338
33339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33340 $as_echo_n "checking for sincosl declaration... " >&6; }
33341 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33342 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33343 $as_echo_n "(cached) " >&6
33344 else
33345
33346
33347 ac_ext=cpp
33348 ac_cpp='$CXXCPP $CPPFLAGS'
33349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33352
33353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33354 /* end confdefs.h. */
33355 #include <math.h>
33356 int
33357 main ()
33358 {
33359 sincosl(0, 0, 0);
33360 ;
33361 return 0;
33362 }
33363 _ACEOF
33364 if ac_fn_cxx_try_compile "$LINENO"; then :
33365 glibcxx_cv_func_sincosl_use=yes
33366 else
33367 glibcxx_cv_func_sincosl_use=no
33368 fi
33369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33370 ac_ext=c
33371 ac_cpp='$CPP $CPPFLAGS'
33372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33375
33376
33377 fi
33378
33379 fi
33380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33381 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33382
33383 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33384 for ac_func in sincosl
33385 do :
33386 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33387 if test "x$ac_cv_func_sincosl" = x""yes; then :
33388 cat >>confdefs.h <<_ACEOF
33389 #define HAVE_SINCOSL 1
33390 _ACEOF
33391
33392 fi
33393 done
33394
33395 else
33396
33397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33398 $as_echo_n "checking for _sincosl declaration... " >&6; }
33399 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33400 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33401 $as_echo_n "(cached) " >&6
33402 else
33403
33404
33405 ac_ext=cpp
33406 ac_cpp='$CXXCPP $CPPFLAGS'
33407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33410
33411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33412 /* end confdefs.h. */
33413 #include <math.h>
33414 int
33415 main ()
33416 {
33417 _sincosl(0, 0, 0);
33418 ;
33419 return 0;
33420 }
33421 _ACEOF
33422 if ac_fn_cxx_try_compile "$LINENO"; then :
33423 glibcxx_cv_func__sincosl_use=yes
33424 else
33425 glibcxx_cv_func__sincosl_use=no
33426 fi
33427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33428 ac_ext=c
33429 ac_cpp='$CPP $CPPFLAGS'
33430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33433
33434
33435 fi
33436
33437 fi
33438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33439 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33440
33441 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33442 for ac_func in _sincosl
33443 do :
33444 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33445 if test "x$ac_cv_func__sincosl" = x""yes; then :
33446 cat >>confdefs.h <<_ACEOF
33447 #define HAVE__SINCOSL 1
33448 _ACEOF
33449
33450 fi
33451 done
33452
33453 fi
33454 fi
33455
33456
33457
33458
33459
33460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33461 $as_echo_n "checking for finitel declaration... " >&6; }
33462 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33463 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33464 $as_echo_n "(cached) " >&6
33465 else
33466
33467
33468 ac_ext=cpp
33469 ac_cpp='$CXXCPP $CPPFLAGS'
33470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33473
33474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33475 /* end confdefs.h. */
33476 #include <math.h>
33477 #ifdef HAVE_IEEEFP_H
33478 #include <ieeefp.h>
33479 #endif
33480
33481 int
33482 main ()
33483 {
33484 finitel(0);
33485 ;
33486 return 0;
33487 }
33488 _ACEOF
33489 if ac_fn_cxx_try_compile "$LINENO"; then :
33490 glibcxx_cv_func_finitel_use=yes
33491 else
33492 glibcxx_cv_func_finitel_use=no
33493 fi
33494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33495 ac_ext=c
33496 ac_cpp='$CPP $CPPFLAGS'
33497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33500
33501
33502 fi
33503
33504 fi
33505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33506 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33507
33508 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33509 for ac_func in finitel
33510 do :
33511 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33512 if test "x$ac_cv_func_finitel" = x""yes; then :
33513 cat >>confdefs.h <<_ACEOF
33514 #define HAVE_FINITEL 1
33515 _ACEOF
33516
33517 fi
33518 done
33519
33520 else
33521
33522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33523 $as_echo_n "checking for _finitel declaration... " >&6; }
33524 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33525 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33526 $as_echo_n "(cached) " >&6
33527 else
33528
33529
33530 ac_ext=cpp
33531 ac_cpp='$CXXCPP $CPPFLAGS'
33532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33535
33536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33537 /* end confdefs.h. */
33538 #include <math.h>
33539 #ifdef HAVE_IEEEFP_H
33540 #include <ieeefp.h>
33541 #endif
33542
33543 int
33544 main ()
33545 {
33546 _finitel(0);
33547 ;
33548 return 0;
33549 }
33550 _ACEOF
33551 if ac_fn_cxx_try_compile "$LINENO"; then :
33552 glibcxx_cv_func__finitel_use=yes
33553 else
33554 glibcxx_cv_func__finitel_use=no
33555 fi
33556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33557 ac_ext=c
33558 ac_cpp='$CPP $CPPFLAGS'
33559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33562
33563
33564 fi
33565
33566 fi
33567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33568 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33569
33570 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33571 for ac_func in _finitel
33572 do :
33573 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33574 if test "x$ac_cv_func__finitel" = x""yes; then :
33575 cat >>confdefs.h <<_ACEOF
33576 #define HAVE__FINITEL 1
33577 _ACEOF
33578
33579 fi
33580 done
33581
33582 fi
33583 fi
33584
33585
33586
33587
33588 LIBS="$ac_save_LIBS"
33589 CXXFLAGS="$ac_save_CXXFLAGS"
33590
33591
33592 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33593 ac_save_CXXFLAGS="$CXXFLAGS"
33594 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33595
33596
33597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33598 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33599 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33600 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33601 $as_echo_n "(cached) " >&6
33602 else
33603
33604
33605 ac_ext=cpp
33606 ac_cpp='$CXXCPP $CPPFLAGS'
33607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33610
33611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33612 /* end confdefs.h. */
33613 #include <stdlib.h>
33614 int
33615 main ()
33616 {
33617 at_quick_exit(0);
33618 ;
33619 return 0;
33620 }
33621 _ACEOF
33622 if ac_fn_cxx_try_compile "$LINENO"; then :
33623 glibcxx_cv_func_at_quick_exit_use=yes
33624 else
33625 glibcxx_cv_func_at_quick_exit_use=no
33626 fi
33627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33628 ac_ext=c
33629 ac_cpp='$CPP $CPPFLAGS'
33630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33633
33634
33635 fi
33636
33637 fi
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33639 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33640 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33641 for ac_func in at_quick_exit
33642 do :
33643 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33644 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33645 cat >>confdefs.h <<_ACEOF
33646 #define HAVE_AT_QUICK_EXIT 1
33647 _ACEOF
33648
33649 fi
33650 done
33651
33652 fi
33653
33654
33655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33656 $as_echo_n "checking for quick_exit declaration... " >&6; }
33657 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33658 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33659 $as_echo_n "(cached) " >&6
33660 else
33661
33662
33663 ac_ext=cpp
33664 ac_cpp='$CXXCPP $CPPFLAGS'
33665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33668
33669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33670 /* end confdefs.h. */
33671 #include <stdlib.h>
33672 int
33673 main ()
33674 {
33675 quick_exit(0);
33676 ;
33677 return 0;
33678 }
33679 _ACEOF
33680 if ac_fn_cxx_try_compile "$LINENO"; then :
33681 glibcxx_cv_func_quick_exit_use=yes
33682 else
33683 glibcxx_cv_func_quick_exit_use=no
33684 fi
33685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33686 ac_ext=c
33687 ac_cpp='$CPP $CPPFLAGS'
33688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33691
33692
33693 fi
33694
33695 fi
33696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33697 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33698 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33699 for ac_func in quick_exit
33700 do :
33701 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33702 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33703 cat >>confdefs.h <<_ACEOF
33704 #define HAVE_QUICK_EXIT 1
33705 _ACEOF
33706
33707 fi
33708 done
33709
33710 fi
33711
33712
33713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33714 $as_echo_n "checking for strtold declaration... " >&6; }
33715 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33716 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33717 $as_echo_n "(cached) " >&6
33718 else
33719
33720
33721 ac_ext=cpp
33722 ac_cpp='$CXXCPP $CPPFLAGS'
33723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33726
33727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33728 /* end confdefs.h. */
33729 #include <stdlib.h>
33730 int
33731 main ()
33732 {
33733 strtold(0, 0);
33734 ;
33735 return 0;
33736 }
33737 _ACEOF
33738 if ac_fn_cxx_try_compile "$LINENO"; then :
33739 glibcxx_cv_func_strtold_use=yes
33740 else
33741 glibcxx_cv_func_strtold_use=no
33742 fi
33743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33744 ac_ext=c
33745 ac_cpp='$CPP $CPPFLAGS'
33746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33749
33750
33751 fi
33752
33753 fi
33754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33755 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33756 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33757 for ac_func in strtold
33758 do :
33759 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33760 if test "x$ac_cv_func_strtold" = x""yes; then :
33761 cat >>confdefs.h <<_ACEOF
33762 #define HAVE_STRTOLD 1
33763 _ACEOF
33764
33765 fi
33766 done
33767
33768 fi
33769
33770
33771
33772
33773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33774 $as_echo_n "checking for strtof declaration... " >&6; }
33775 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33776 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33777 $as_echo_n "(cached) " >&6
33778 else
33779
33780
33781 ac_ext=cpp
33782 ac_cpp='$CXXCPP $CPPFLAGS'
33783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33786
33787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33788 /* end confdefs.h. */
33789 #include <stdlib.h>
33790 int
33791 main ()
33792 {
33793 strtof(0, 0);
33794 ;
33795 return 0;
33796 }
33797 _ACEOF
33798 if ac_fn_cxx_try_compile "$LINENO"; then :
33799 glibcxx_cv_func_strtof_use=yes
33800 else
33801 glibcxx_cv_func_strtof_use=no
33802 fi
33803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33804 ac_ext=c
33805 ac_cpp='$CPP $CPPFLAGS'
33806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33809
33810
33811 fi
33812
33813 fi
33814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33815 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33816 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33817 for ac_func in strtof
33818 do :
33819 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33820 if test "x$ac_cv_func_strtof" = x""yes; then :
33821 cat >>confdefs.h <<_ACEOF
33822 #define HAVE_STRTOF 1
33823 _ACEOF
33824
33825 fi
33826 done
33827
33828 fi
33829
33830
33831
33832
33833 CXXFLAGS="$ac_save_CXXFLAGS"
33834
33835
33836 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33837
33838 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33839
33840 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33841
33842 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33843
33844
33845 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33846
33847 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33848
33849 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33850
33851 ;;
33852
33853 spu-*-elf*)
33854
33855 # All these tests are for C++; save the language and the compiler flags.
33856 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33857 # found in GLIBCXX_CONFIGURE.
33858
33859 ac_ext=cpp
33860 ac_cpp='$CXXCPP $CPPFLAGS'
33861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33864
33865 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33866 ac_save_CXXFLAGS="$CXXFLAGS"
33867
33868 # Check for maintainer-mode bits.
33869 if test x"$USE_MAINTAINER_MODE" = xno; then
33870 WERROR=''
33871 else
33872 WERROR='-Werror'
33873 fi
33874
33875 # Check for -ffunction-sections -fdata-sections
33876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33877 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33878 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33880 /* end confdefs.h. */
33881 int foo; void bar() { };
33882 int
33883 main ()
33884 {
33885
33886 ;
33887 return 0;
33888 }
33889 _ACEOF
33890 if ac_fn_cxx_try_compile "$LINENO"; then :
33891 ac_fdsections=yes
33892 else
33893 ac_fdsections=no
33894 fi
33895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33896 if test "$ac_test_CXXFLAGS" = set; then
33897 CXXFLAGS="$ac_save_CXXFLAGS"
33898 else
33899 # this is the suspicious part
33900 CXXFLAGS=''
33901 fi
33902 if test x"$ac_fdsections" = x"yes"; then
33903 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33904 fi
33905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33906 $as_echo "$ac_fdsections" >&6; }
33907
33908 ac_ext=c
33909 ac_cpp='$CPP $CPPFLAGS'
33910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33913
33914
33915
33916
33917
33918 # If we're not using GNU ld, then there's no point in even trying these
33919 # tests. Check for that first. We should have already tested for gld
33920 # by now (in libtool), but require it now just to be safe...
33921 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33922 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33923
33924
33925
33926 # The name set by libtool depends on the version of libtool. Shame on us
33927 # for depending on an impl detail, but c'est la vie. Older versions used
33928 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33929 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33930 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33931 # set (hence we're using an older libtool), then set it.
33932 if test x${with_gnu_ld+set} != xset; then
33933 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33934 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33935 with_gnu_ld=no
33936 else
33937 with_gnu_ld=$ac_cv_prog_gnu_ld
33938 fi
33939 fi
33940
33941 # Start by getting the version number. I think the libtool test already
33942 # does some of this, but throws away the result.
33943 glibcxx_ld_is_gold=no
33944 if test x"$with_gnu_ld" = x"yes"; then
33945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33946 $as_echo_n "checking for ld version... " >&6; }
33947
33948 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33949 glibcxx_ld_is_gold=yes
33950 fi
33951 ldver=`$LD --version 2>/dev/null |
33952 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'`
33953
33954 glibcxx_gnu_ld_version=`echo $ldver | \
33955 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33957 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33958 fi
33959
33960 # Set --gc-sections.
33961 glibcxx_have_gc_sections=no
33962 if test "$glibcxx_ld_is_gold" = "yes"; then
33963 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33964 glibcxx_have_gc_sections=yes
33965 fi
33966 else
33967 glibcxx_gcsections_min_ld=21602
33968 if test x"$with_gnu_ld" = x"yes" &&
33969 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33970 glibcxx_have_gc_sections=yes
33971 fi
33972 fi
33973 if test "$glibcxx_have_gc_sections" = "yes"; then
33974 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33975 # NB: This flag only works reliably after 2.16.1. Configure tests
33976 # for this are difficult, so hard wire a value that should work.
33977
33978 ac_test_CFLAGS="${CFLAGS+set}"
33979 ac_save_CFLAGS="$CFLAGS"
33980 CFLAGS='-Wl,--gc-sections'
33981
33982 # Check for -Wl,--gc-sections
33983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33984 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33985 if test x$gcc_no_link = xyes; then
33986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33987 fi
33988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33989 /* end confdefs.h. */
33990 int one(void) { return 1; }
33991 int two(void) { return 2; }
33992
33993 int
33994 main ()
33995 {
33996 two();
33997 ;
33998 return 0;
33999 }
34000 _ACEOF
34001 if ac_fn_c_try_link "$LINENO"; then :
34002 ac_gcsections=yes
34003 else
34004 ac_gcsections=no
34005 fi
34006 rm -f core conftest.err conftest.$ac_objext \
34007 conftest$ac_exeext conftest.$ac_ext
34008 if test "$ac_gcsections" = "yes"; then
34009 rm -f conftest.c
34010 touch conftest.c
34011 if $CC -c conftest.c; then
34012 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34013 grep "Warning: gc-sections option ignored" > /dev/null; then
34014 ac_gcsections=no
34015 fi
34016 fi
34017 rm -f conftest.c conftest.o conftest
34018 fi
34019 if test "$ac_gcsections" = "yes"; then
34020 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34021 fi
34022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34023 $as_echo "$ac_gcsections" >&6; }
34024
34025 if test "$ac_test_CFLAGS" = set; then
34026 CFLAGS="$ac_save_CFLAGS"
34027 else
34028 # this is the suspicious part
34029 CFLAGS=''
34030 fi
34031 fi
34032
34033 # Set -z,relro.
34034 # Note this is only for shared objects.
34035 ac_ld_relro=no
34036 if test x"$with_gnu_ld" = x"yes"; then
34037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34038 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34039 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34040 if test -n "$cxx_z_relo"; then
34041 OPT_LDFLAGS="-Wl,-z,relro"
34042 ac_ld_relro=yes
34043 fi
34044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34045 $as_echo "$ac_ld_relro" >&6; }
34046 fi
34047
34048 # Set linker optimization flags.
34049 if test x"$with_gnu_ld" = x"yes"; then
34050 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34051 fi
34052
34053
34054
34055
34056
34057 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34058 ac_save_CXXFLAGS="$CXXFLAGS"
34059 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34060
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34062 $as_echo_n "checking for sin in -lm... " >&6; }
34063 if test "${ac_cv_lib_m_sin+set}" = set; then :
34064 $as_echo_n "(cached) " >&6
34065 else
34066 ac_check_lib_save_LIBS=$LIBS
34067 LIBS="-lm $LIBS"
34068 if test x$gcc_no_link = xyes; then
34069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34070 fi
34071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34072 /* end confdefs.h. */
34073
34074 /* Override any GCC internal prototype to avoid an error.
34075 Use char because int might match the return type of a GCC
34076 builtin and then its argument prototype would still apply. */
34077 #ifdef __cplusplus
34078 extern "C"
34079 #endif
34080 char sin ();
34081 int
34082 main ()
34083 {
34084 return sin ();
34085 ;
34086 return 0;
34087 }
34088 _ACEOF
34089 if ac_fn_c_try_link "$LINENO"; then :
34090 ac_cv_lib_m_sin=yes
34091 else
34092 ac_cv_lib_m_sin=no
34093 fi
34094 rm -f core conftest.err conftest.$ac_objext \
34095 conftest$ac_exeext conftest.$ac_ext
34096 LIBS=$ac_check_lib_save_LIBS
34097 fi
34098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34099 $as_echo "$ac_cv_lib_m_sin" >&6; }
34100 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34101 libm="-lm"
34102 fi
34103
34104 ac_save_LIBS="$LIBS"
34105 LIBS="$LIBS $libm"
34106
34107
34108
34109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34110 $as_echo_n "checking for isinf declaration... " >&6; }
34111 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34112 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34113 $as_echo_n "(cached) " >&6
34114 else
34115
34116
34117 ac_ext=cpp
34118 ac_cpp='$CXXCPP $CPPFLAGS'
34119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34122
34123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34124 /* end confdefs.h. */
34125 #include <math.h>
34126 #ifdef HAVE_IEEEFP_H
34127 #include <ieeefp.h>
34128 #endif
34129
34130 int
34131 main ()
34132 {
34133 isinf(0);
34134 ;
34135 return 0;
34136 }
34137 _ACEOF
34138 if ac_fn_cxx_try_compile "$LINENO"; then :
34139 glibcxx_cv_func_isinf_use=yes
34140 else
34141 glibcxx_cv_func_isinf_use=no
34142 fi
34143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34144 ac_ext=c
34145 ac_cpp='$CPP $CPPFLAGS'
34146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34149
34150
34151 fi
34152
34153 fi
34154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34155 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34156
34157 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34158 for ac_func in isinf
34159 do :
34160 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34161 if test "x$ac_cv_func_isinf" = x""yes; then :
34162 cat >>confdefs.h <<_ACEOF
34163 #define HAVE_ISINF 1
34164 _ACEOF
34165
34166 fi
34167 done
34168
34169 else
34170
34171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34172 $as_echo_n "checking for _isinf declaration... " >&6; }
34173 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34174 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34175 $as_echo_n "(cached) " >&6
34176 else
34177
34178
34179 ac_ext=cpp
34180 ac_cpp='$CXXCPP $CPPFLAGS'
34181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34184
34185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34186 /* end confdefs.h. */
34187 #include <math.h>
34188 #ifdef HAVE_IEEEFP_H
34189 #include <ieeefp.h>
34190 #endif
34191
34192 int
34193 main ()
34194 {
34195 _isinf(0);
34196 ;
34197 return 0;
34198 }
34199 _ACEOF
34200 if ac_fn_cxx_try_compile "$LINENO"; then :
34201 glibcxx_cv_func__isinf_use=yes
34202 else
34203 glibcxx_cv_func__isinf_use=no
34204 fi
34205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34206 ac_ext=c
34207 ac_cpp='$CPP $CPPFLAGS'
34208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34211
34212
34213 fi
34214
34215 fi
34216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34217 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34218
34219 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34220 for ac_func in _isinf
34221 do :
34222 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34223 if test "x$ac_cv_func__isinf" = x""yes; then :
34224 cat >>confdefs.h <<_ACEOF
34225 #define HAVE__ISINF 1
34226 _ACEOF
34227
34228 fi
34229 done
34230
34231 fi
34232 fi
34233
34234
34235
34236
34237
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34239 $as_echo_n "checking for isnan declaration... " >&6; }
34240 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34241 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34242 $as_echo_n "(cached) " >&6
34243 else
34244
34245
34246 ac_ext=cpp
34247 ac_cpp='$CXXCPP $CPPFLAGS'
34248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34251
34252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34253 /* end confdefs.h. */
34254 #include <math.h>
34255 #ifdef HAVE_IEEEFP_H
34256 #include <ieeefp.h>
34257 #endif
34258
34259 int
34260 main ()
34261 {
34262 isnan(0);
34263 ;
34264 return 0;
34265 }
34266 _ACEOF
34267 if ac_fn_cxx_try_compile "$LINENO"; then :
34268 glibcxx_cv_func_isnan_use=yes
34269 else
34270 glibcxx_cv_func_isnan_use=no
34271 fi
34272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34273 ac_ext=c
34274 ac_cpp='$CPP $CPPFLAGS'
34275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34278
34279
34280 fi
34281
34282 fi
34283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34284 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34285
34286 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34287 for ac_func in isnan
34288 do :
34289 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34290 if test "x$ac_cv_func_isnan" = x""yes; then :
34291 cat >>confdefs.h <<_ACEOF
34292 #define HAVE_ISNAN 1
34293 _ACEOF
34294
34295 fi
34296 done
34297
34298 else
34299
34300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34301 $as_echo_n "checking for _isnan declaration... " >&6; }
34302 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34303 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34304 $as_echo_n "(cached) " >&6
34305 else
34306
34307
34308 ac_ext=cpp
34309 ac_cpp='$CXXCPP $CPPFLAGS'
34310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34313
34314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34315 /* end confdefs.h. */
34316 #include <math.h>
34317 #ifdef HAVE_IEEEFP_H
34318 #include <ieeefp.h>
34319 #endif
34320
34321 int
34322 main ()
34323 {
34324 _isnan(0);
34325 ;
34326 return 0;
34327 }
34328 _ACEOF
34329 if ac_fn_cxx_try_compile "$LINENO"; then :
34330 glibcxx_cv_func__isnan_use=yes
34331 else
34332 glibcxx_cv_func__isnan_use=no
34333 fi
34334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34335 ac_ext=c
34336 ac_cpp='$CPP $CPPFLAGS'
34337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34340
34341
34342 fi
34343
34344 fi
34345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34346 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34347
34348 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34349 for ac_func in _isnan
34350 do :
34351 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34352 if test "x$ac_cv_func__isnan" = x""yes; then :
34353 cat >>confdefs.h <<_ACEOF
34354 #define HAVE__ISNAN 1
34355 _ACEOF
34356
34357 fi
34358 done
34359
34360 fi
34361 fi
34362
34363
34364
34365
34366
34367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34368 $as_echo_n "checking for finite declaration... " >&6; }
34369 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34370 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34371 $as_echo_n "(cached) " >&6
34372 else
34373
34374
34375 ac_ext=cpp
34376 ac_cpp='$CXXCPP $CPPFLAGS'
34377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34380
34381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34382 /* end confdefs.h. */
34383 #include <math.h>
34384 #ifdef HAVE_IEEEFP_H
34385 #include <ieeefp.h>
34386 #endif
34387
34388 int
34389 main ()
34390 {
34391 finite(0);
34392 ;
34393 return 0;
34394 }
34395 _ACEOF
34396 if ac_fn_cxx_try_compile "$LINENO"; then :
34397 glibcxx_cv_func_finite_use=yes
34398 else
34399 glibcxx_cv_func_finite_use=no
34400 fi
34401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34402 ac_ext=c
34403 ac_cpp='$CPP $CPPFLAGS'
34404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34407
34408
34409 fi
34410
34411 fi
34412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34413 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34414
34415 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34416 for ac_func in finite
34417 do :
34418 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34419 if test "x$ac_cv_func_finite" = x""yes; then :
34420 cat >>confdefs.h <<_ACEOF
34421 #define HAVE_FINITE 1
34422 _ACEOF
34423
34424 fi
34425 done
34426
34427 else
34428
34429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34430 $as_echo_n "checking for _finite declaration... " >&6; }
34431 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34432 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34433 $as_echo_n "(cached) " >&6
34434 else
34435
34436
34437 ac_ext=cpp
34438 ac_cpp='$CXXCPP $CPPFLAGS'
34439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34442
34443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34444 /* end confdefs.h. */
34445 #include <math.h>
34446 #ifdef HAVE_IEEEFP_H
34447 #include <ieeefp.h>
34448 #endif
34449
34450 int
34451 main ()
34452 {
34453 _finite(0);
34454 ;
34455 return 0;
34456 }
34457 _ACEOF
34458 if ac_fn_cxx_try_compile "$LINENO"; then :
34459 glibcxx_cv_func__finite_use=yes
34460 else
34461 glibcxx_cv_func__finite_use=no
34462 fi
34463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34464 ac_ext=c
34465 ac_cpp='$CPP $CPPFLAGS'
34466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34469
34470
34471 fi
34472
34473 fi
34474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34475 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34476
34477 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34478 for ac_func in _finite
34479 do :
34480 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34481 if test "x$ac_cv_func__finite" = x""yes; then :
34482 cat >>confdefs.h <<_ACEOF
34483 #define HAVE__FINITE 1
34484 _ACEOF
34485
34486 fi
34487 done
34488
34489 fi
34490 fi
34491
34492
34493
34494
34495
34496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34497 $as_echo_n "checking for sincos declaration... " >&6; }
34498 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34499 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34500 $as_echo_n "(cached) " >&6
34501 else
34502
34503
34504 ac_ext=cpp
34505 ac_cpp='$CXXCPP $CPPFLAGS'
34506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34509
34510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34511 /* end confdefs.h. */
34512 #include <math.h>
34513 int
34514 main ()
34515 {
34516 sincos(0, 0, 0);
34517 ;
34518 return 0;
34519 }
34520 _ACEOF
34521 if ac_fn_cxx_try_compile "$LINENO"; then :
34522 glibcxx_cv_func_sincos_use=yes
34523 else
34524 glibcxx_cv_func_sincos_use=no
34525 fi
34526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34527 ac_ext=c
34528 ac_cpp='$CPP $CPPFLAGS'
34529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34532
34533
34534 fi
34535
34536 fi
34537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34538 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34539
34540 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34541 for ac_func in sincos
34542 do :
34543 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34544 if test "x$ac_cv_func_sincos" = x""yes; then :
34545 cat >>confdefs.h <<_ACEOF
34546 #define HAVE_SINCOS 1
34547 _ACEOF
34548
34549 fi
34550 done
34551
34552 else
34553
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34555 $as_echo_n "checking for _sincos declaration... " >&6; }
34556 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34557 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34558 $as_echo_n "(cached) " >&6
34559 else
34560
34561
34562 ac_ext=cpp
34563 ac_cpp='$CXXCPP $CPPFLAGS'
34564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34567
34568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34569 /* end confdefs.h. */
34570 #include <math.h>
34571 int
34572 main ()
34573 {
34574 _sincos(0, 0, 0);
34575 ;
34576 return 0;
34577 }
34578 _ACEOF
34579 if ac_fn_cxx_try_compile "$LINENO"; then :
34580 glibcxx_cv_func__sincos_use=yes
34581 else
34582 glibcxx_cv_func__sincos_use=no
34583 fi
34584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34585 ac_ext=c
34586 ac_cpp='$CPP $CPPFLAGS'
34587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34590
34591
34592 fi
34593
34594 fi
34595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34596 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34597
34598 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34599 for ac_func in _sincos
34600 do :
34601 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34602 if test "x$ac_cv_func__sincos" = x""yes; then :
34603 cat >>confdefs.h <<_ACEOF
34604 #define HAVE__SINCOS 1
34605 _ACEOF
34606
34607 fi
34608 done
34609
34610 fi
34611 fi
34612
34613
34614
34615
34616
34617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34618 $as_echo_n "checking for fpclass declaration... " >&6; }
34619 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34620 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34621 $as_echo_n "(cached) " >&6
34622 else
34623
34624
34625 ac_ext=cpp
34626 ac_cpp='$CXXCPP $CPPFLAGS'
34627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34630
34631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34632 /* end confdefs.h. */
34633 #include <math.h>
34634 #ifdef HAVE_IEEEFP_H
34635 #include <ieeefp.h>
34636 #endif
34637
34638 int
34639 main ()
34640 {
34641 fpclass(0);
34642 ;
34643 return 0;
34644 }
34645 _ACEOF
34646 if ac_fn_cxx_try_compile "$LINENO"; then :
34647 glibcxx_cv_func_fpclass_use=yes
34648 else
34649 glibcxx_cv_func_fpclass_use=no
34650 fi
34651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34652 ac_ext=c
34653 ac_cpp='$CPP $CPPFLAGS'
34654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34657
34658
34659 fi
34660
34661 fi
34662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34663 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34664
34665 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34666 for ac_func in fpclass
34667 do :
34668 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34669 if test "x$ac_cv_func_fpclass" = x""yes; then :
34670 cat >>confdefs.h <<_ACEOF
34671 #define HAVE_FPCLASS 1
34672 _ACEOF
34673
34674 fi
34675 done
34676
34677 else
34678
34679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34680 $as_echo_n "checking for _fpclass declaration... " >&6; }
34681 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34682 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34683 $as_echo_n "(cached) " >&6
34684 else
34685
34686
34687 ac_ext=cpp
34688 ac_cpp='$CXXCPP $CPPFLAGS'
34689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34692
34693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34694 /* end confdefs.h. */
34695 #include <math.h>
34696 #ifdef HAVE_IEEEFP_H
34697 #include <ieeefp.h>
34698 #endif
34699
34700 int
34701 main ()
34702 {
34703 _fpclass(0);
34704 ;
34705 return 0;
34706 }
34707 _ACEOF
34708 if ac_fn_cxx_try_compile "$LINENO"; then :
34709 glibcxx_cv_func__fpclass_use=yes
34710 else
34711 glibcxx_cv_func__fpclass_use=no
34712 fi
34713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34714 ac_ext=c
34715 ac_cpp='$CPP $CPPFLAGS'
34716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34719
34720
34721 fi
34722
34723 fi
34724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34725 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34726
34727 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34728 for ac_func in _fpclass
34729 do :
34730 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34731 if test "x$ac_cv_func__fpclass" = x""yes; then :
34732 cat >>confdefs.h <<_ACEOF
34733 #define HAVE__FPCLASS 1
34734 _ACEOF
34735
34736 fi
34737 done
34738
34739 fi
34740 fi
34741
34742
34743
34744
34745
34746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34747 $as_echo_n "checking for qfpclass declaration... " >&6; }
34748 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34749 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34750 $as_echo_n "(cached) " >&6
34751 else
34752
34753
34754 ac_ext=cpp
34755 ac_cpp='$CXXCPP $CPPFLAGS'
34756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34759
34760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34761 /* end confdefs.h. */
34762 #include <math.h>
34763 #ifdef HAVE_IEEEFP_H
34764 #include <ieeefp.h>
34765 #endif
34766
34767 int
34768 main ()
34769 {
34770 qfpclass(0);
34771 ;
34772 return 0;
34773 }
34774 _ACEOF
34775 if ac_fn_cxx_try_compile "$LINENO"; then :
34776 glibcxx_cv_func_qfpclass_use=yes
34777 else
34778 glibcxx_cv_func_qfpclass_use=no
34779 fi
34780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34781 ac_ext=c
34782 ac_cpp='$CPP $CPPFLAGS'
34783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34786
34787
34788 fi
34789
34790 fi
34791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34792 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34793
34794 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34795 for ac_func in qfpclass
34796 do :
34797 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34798 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34799 cat >>confdefs.h <<_ACEOF
34800 #define HAVE_QFPCLASS 1
34801 _ACEOF
34802
34803 fi
34804 done
34805
34806 else
34807
34808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34809 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34810 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34811 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34812 $as_echo_n "(cached) " >&6
34813 else
34814
34815
34816 ac_ext=cpp
34817 ac_cpp='$CXXCPP $CPPFLAGS'
34818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34821
34822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34823 /* end confdefs.h. */
34824 #include <math.h>
34825 #ifdef HAVE_IEEEFP_H
34826 #include <ieeefp.h>
34827 #endif
34828
34829 int
34830 main ()
34831 {
34832 _qfpclass(0);
34833 ;
34834 return 0;
34835 }
34836 _ACEOF
34837 if ac_fn_cxx_try_compile "$LINENO"; then :
34838 glibcxx_cv_func__qfpclass_use=yes
34839 else
34840 glibcxx_cv_func__qfpclass_use=no
34841 fi
34842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34843 ac_ext=c
34844 ac_cpp='$CPP $CPPFLAGS'
34845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34848
34849
34850 fi
34851
34852 fi
34853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34854 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34855
34856 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34857 for ac_func in _qfpclass
34858 do :
34859 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34860 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34861 cat >>confdefs.h <<_ACEOF
34862 #define HAVE__QFPCLASS 1
34863 _ACEOF
34864
34865 fi
34866 done
34867
34868 fi
34869 fi
34870
34871
34872
34873
34874
34875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34876 $as_echo_n "checking for hypot declaration... " >&6; }
34877 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34878 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34879 $as_echo_n "(cached) " >&6
34880 else
34881
34882
34883 ac_ext=cpp
34884 ac_cpp='$CXXCPP $CPPFLAGS'
34885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34888
34889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34890 /* end confdefs.h. */
34891 #include <math.h>
34892 int
34893 main ()
34894 {
34895 hypot(0, 0);
34896 ;
34897 return 0;
34898 }
34899 _ACEOF
34900 if ac_fn_cxx_try_compile "$LINENO"; then :
34901 glibcxx_cv_func_hypot_use=yes
34902 else
34903 glibcxx_cv_func_hypot_use=no
34904 fi
34905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34906 ac_ext=c
34907 ac_cpp='$CPP $CPPFLAGS'
34908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34911
34912
34913 fi
34914
34915 fi
34916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34917 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34918
34919 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34920 for ac_func in hypot
34921 do :
34922 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34923 if test "x$ac_cv_func_hypot" = x""yes; then :
34924 cat >>confdefs.h <<_ACEOF
34925 #define HAVE_HYPOT 1
34926 _ACEOF
34927
34928 fi
34929 done
34930
34931 else
34932
34933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34934 $as_echo_n "checking for _hypot declaration... " >&6; }
34935 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34936 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34937 $as_echo_n "(cached) " >&6
34938 else
34939
34940
34941 ac_ext=cpp
34942 ac_cpp='$CXXCPP $CPPFLAGS'
34943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34946
34947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34948 /* end confdefs.h. */
34949 #include <math.h>
34950 int
34951 main ()
34952 {
34953 _hypot(0, 0);
34954 ;
34955 return 0;
34956 }
34957 _ACEOF
34958 if ac_fn_cxx_try_compile "$LINENO"; then :
34959 glibcxx_cv_func__hypot_use=yes
34960 else
34961 glibcxx_cv_func__hypot_use=no
34962 fi
34963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34964 ac_ext=c
34965 ac_cpp='$CPP $CPPFLAGS'
34966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34969
34970
34971 fi
34972
34973 fi
34974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34975 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34976
34977 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34978 for ac_func in _hypot
34979 do :
34980 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34981 if test "x$ac_cv_func__hypot" = x""yes; then :
34982 cat >>confdefs.h <<_ACEOF
34983 #define HAVE__HYPOT 1
34984 _ACEOF
34985
34986 fi
34987 done
34988
34989 fi
34990 fi
34991
34992
34993
34994
34995
34996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34997 $as_echo_n "checking for float trig functions... " >&6; }
34998 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34999 $as_echo_n "(cached) " >&6
35000 else
35001
35002
35003 ac_ext=cpp
35004 ac_cpp='$CXXCPP $CPPFLAGS'
35005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35008
35009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35010 /* end confdefs.h. */
35011 #include <math.h>
35012 int
35013 main ()
35014 {
35015 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35016 ;
35017 return 0;
35018 }
35019 _ACEOF
35020 if ac_fn_cxx_try_compile "$LINENO"; then :
35021 glibcxx_cv_func_float_trig_use=yes
35022 else
35023 glibcxx_cv_func_float_trig_use=no
35024 fi
35025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35026 ac_ext=c
35027 ac_cpp='$CPP $CPPFLAGS'
35028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35031
35032 fi
35033
35034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35035 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35036 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35037 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35038 do :
35039 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35041 eval as_val=\$$as_ac_var
35042 if test "x$as_val" = x""yes; then :
35043 cat >>confdefs.h <<_ACEOF
35044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35045 _ACEOF
35046
35047 fi
35048 done
35049
35050 else
35051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35052 $as_echo_n "checking for _float trig functions... " >&6; }
35053 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35054 $as_echo_n "(cached) " >&6
35055 else
35056
35057
35058 ac_ext=cpp
35059 ac_cpp='$CXXCPP $CPPFLAGS'
35060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35063
35064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35065 /* end confdefs.h. */
35066 #include <math.h>
35067 int
35068 main ()
35069 {
35070 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35071 ;
35072 return 0;
35073 }
35074 _ACEOF
35075 if ac_fn_cxx_try_compile "$LINENO"; then :
35076 glibcxx_cv_func__float_trig_use=yes
35077 else
35078 glibcxx_cv_func__float_trig_use=no
35079 fi
35080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35081 ac_ext=c
35082 ac_cpp='$CPP $CPPFLAGS'
35083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35086
35087 fi
35088
35089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35090 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35091 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35092 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35093 do :
35094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35096 eval as_val=\$$as_ac_var
35097 if test "x$as_val" = x""yes; then :
35098 cat >>confdefs.h <<_ACEOF
35099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35100 _ACEOF
35101
35102 fi
35103 done
35104
35105 fi
35106 fi
35107
35108
35109
35110
35111
35112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35113 $as_echo_n "checking for float round functions... " >&6; }
35114 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35115 $as_echo_n "(cached) " >&6
35116 else
35117
35118
35119 ac_ext=cpp
35120 ac_cpp='$CXXCPP $CPPFLAGS'
35121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35124
35125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35126 /* end confdefs.h. */
35127 #include <math.h>
35128 int
35129 main ()
35130 {
35131 ceilf (0); floorf (0);
35132 ;
35133 return 0;
35134 }
35135 _ACEOF
35136 if ac_fn_cxx_try_compile "$LINENO"; then :
35137 glibcxx_cv_func_float_round_use=yes
35138 else
35139 glibcxx_cv_func_float_round_use=no
35140 fi
35141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35142 ac_ext=c
35143 ac_cpp='$CPP $CPPFLAGS'
35144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35147
35148 fi
35149
35150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35151 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35152 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35153 for ac_func in ceilf floorf
35154 do :
35155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35156 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35157 eval as_val=\$$as_ac_var
35158 if test "x$as_val" = x""yes; then :
35159 cat >>confdefs.h <<_ACEOF
35160 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35161 _ACEOF
35162
35163 fi
35164 done
35165
35166 else
35167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35168 $as_echo_n "checking for _float round functions... " >&6; }
35169 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35170 $as_echo_n "(cached) " >&6
35171 else
35172
35173
35174 ac_ext=cpp
35175 ac_cpp='$CXXCPP $CPPFLAGS'
35176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35179
35180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35181 /* end confdefs.h. */
35182 #include <math.h>
35183 int
35184 main ()
35185 {
35186 _ceilf (0); _floorf (0);
35187 ;
35188 return 0;
35189 }
35190 _ACEOF
35191 if ac_fn_cxx_try_compile "$LINENO"; then :
35192 glibcxx_cv_func__float_round_use=yes
35193 else
35194 glibcxx_cv_func__float_round_use=no
35195 fi
35196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35197 ac_ext=c
35198 ac_cpp='$CPP $CPPFLAGS'
35199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35202
35203 fi
35204
35205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35206 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35207 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35208 for ac_func in _ceilf _floorf
35209 do :
35210 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35211 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35212 eval as_val=\$$as_ac_var
35213 if test "x$as_val" = x""yes; then :
35214 cat >>confdefs.h <<_ACEOF
35215 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35216 _ACEOF
35217
35218 fi
35219 done
35220
35221 fi
35222 fi
35223
35224
35225
35226
35227
35228
35229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35230 $as_echo_n "checking for expf declaration... " >&6; }
35231 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35232 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35233 $as_echo_n "(cached) " >&6
35234 else
35235
35236
35237 ac_ext=cpp
35238 ac_cpp='$CXXCPP $CPPFLAGS'
35239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35242
35243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35244 /* end confdefs.h. */
35245 #include <math.h>
35246 #ifdef HAVE_IEEEFP_H
35247 #include <ieeefp.h>
35248 #endif
35249
35250 int
35251 main ()
35252 {
35253 expf(0);
35254 ;
35255 return 0;
35256 }
35257 _ACEOF
35258 if ac_fn_cxx_try_compile "$LINENO"; then :
35259 glibcxx_cv_func_expf_use=yes
35260 else
35261 glibcxx_cv_func_expf_use=no
35262 fi
35263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35264 ac_ext=c
35265 ac_cpp='$CPP $CPPFLAGS'
35266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35269
35270
35271 fi
35272
35273 fi
35274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35275 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35276
35277 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35278 for ac_func in expf
35279 do :
35280 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35281 if test "x$ac_cv_func_expf" = x""yes; then :
35282 cat >>confdefs.h <<_ACEOF
35283 #define HAVE_EXPF 1
35284 _ACEOF
35285
35286 fi
35287 done
35288
35289 else
35290
35291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35292 $as_echo_n "checking for _expf declaration... " >&6; }
35293 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35294 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35295 $as_echo_n "(cached) " >&6
35296 else
35297
35298
35299 ac_ext=cpp
35300 ac_cpp='$CXXCPP $CPPFLAGS'
35301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35304
35305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35306 /* end confdefs.h. */
35307 #include <math.h>
35308 #ifdef HAVE_IEEEFP_H
35309 #include <ieeefp.h>
35310 #endif
35311
35312 int
35313 main ()
35314 {
35315 _expf(0);
35316 ;
35317 return 0;
35318 }
35319 _ACEOF
35320 if ac_fn_cxx_try_compile "$LINENO"; then :
35321 glibcxx_cv_func__expf_use=yes
35322 else
35323 glibcxx_cv_func__expf_use=no
35324 fi
35325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35326 ac_ext=c
35327 ac_cpp='$CPP $CPPFLAGS'
35328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35331
35332
35333 fi
35334
35335 fi
35336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35337 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35338
35339 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35340 for ac_func in _expf
35341 do :
35342 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35343 if test "x$ac_cv_func__expf" = x""yes; then :
35344 cat >>confdefs.h <<_ACEOF
35345 #define HAVE__EXPF 1
35346 _ACEOF
35347
35348 fi
35349 done
35350
35351 fi
35352 fi
35353
35354
35355
35356
35357
35358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35359 $as_echo_n "checking for isnanf declaration... " >&6; }
35360 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35361 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35362 $as_echo_n "(cached) " >&6
35363 else
35364
35365
35366 ac_ext=cpp
35367 ac_cpp='$CXXCPP $CPPFLAGS'
35368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35371
35372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35373 /* end confdefs.h. */
35374 #include <math.h>
35375 #ifdef HAVE_IEEEFP_H
35376 #include <ieeefp.h>
35377 #endif
35378
35379 int
35380 main ()
35381 {
35382 isnanf(0);
35383 ;
35384 return 0;
35385 }
35386 _ACEOF
35387 if ac_fn_cxx_try_compile "$LINENO"; then :
35388 glibcxx_cv_func_isnanf_use=yes
35389 else
35390 glibcxx_cv_func_isnanf_use=no
35391 fi
35392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35393 ac_ext=c
35394 ac_cpp='$CPP $CPPFLAGS'
35395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35398
35399
35400 fi
35401
35402 fi
35403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35404 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35405
35406 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35407 for ac_func in isnanf
35408 do :
35409 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35410 if test "x$ac_cv_func_isnanf" = x""yes; then :
35411 cat >>confdefs.h <<_ACEOF
35412 #define HAVE_ISNANF 1
35413 _ACEOF
35414
35415 fi
35416 done
35417
35418 else
35419
35420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35421 $as_echo_n "checking for _isnanf declaration... " >&6; }
35422 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35423 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35424 $as_echo_n "(cached) " >&6
35425 else
35426
35427
35428 ac_ext=cpp
35429 ac_cpp='$CXXCPP $CPPFLAGS'
35430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35433
35434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35435 /* end confdefs.h. */
35436 #include <math.h>
35437 #ifdef HAVE_IEEEFP_H
35438 #include <ieeefp.h>
35439 #endif
35440
35441 int
35442 main ()
35443 {
35444 _isnanf(0);
35445 ;
35446 return 0;
35447 }
35448 _ACEOF
35449 if ac_fn_cxx_try_compile "$LINENO"; then :
35450 glibcxx_cv_func__isnanf_use=yes
35451 else
35452 glibcxx_cv_func__isnanf_use=no
35453 fi
35454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35455 ac_ext=c
35456 ac_cpp='$CPP $CPPFLAGS'
35457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35460
35461
35462 fi
35463
35464 fi
35465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35466 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35467
35468 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35469 for ac_func in _isnanf
35470 do :
35471 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35472 if test "x$ac_cv_func__isnanf" = x""yes; then :
35473 cat >>confdefs.h <<_ACEOF
35474 #define HAVE__ISNANF 1
35475 _ACEOF
35476
35477 fi
35478 done
35479
35480 fi
35481 fi
35482
35483
35484
35485
35486
35487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35488 $as_echo_n "checking for isinff declaration... " >&6; }
35489 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35490 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35491 $as_echo_n "(cached) " >&6
35492 else
35493
35494
35495 ac_ext=cpp
35496 ac_cpp='$CXXCPP $CPPFLAGS'
35497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35500
35501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35502 /* end confdefs.h. */
35503 #include <math.h>
35504 #ifdef HAVE_IEEEFP_H
35505 #include <ieeefp.h>
35506 #endif
35507
35508 int
35509 main ()
35510 {
35511 isinff(0);
35512 ;
35513 return 0;
35514 }
35515 _ACEOF
35516 if ac_fn_cxx_try_compile "$LINENO"; then :
35517 glibcxx_cv_func_isinff_use=yes
35518 else
35519 glibcxx_cv_func_isinff_use=no
35520 fi
35521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35522 ac_ext=c
35523 ac_cpp='$CPP $CPPFLAGS'
35524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35527
35528
35529 fi
35530
35531 fi
35532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35533 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35534
35535 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35536 for ac_func in isinff
35537 do :
35538 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35539 if test "x$ac_cv_func_isinff" = x""yes; then :
35540 cat >>confdefs.h <<_ACEOF
35541 #define HAVE_ISINFF 1
35542 _ACEOF
35543
35544 fi
35545 done
35546
35547 else
35548
35549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35550 $as_echo_n "checking for _isinff declaration... " >&6; }
35551 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35552 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35553 $as_echo_n "(cached) " >&6
35554 else
35555
35556
35557 ac_ext=cpp
35558 ac_cpp='$CXXCPP $CPPFLAGS'
35559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35562
35563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35564 /* end confdefs.h. */
35565 #include <math.h>
35566 #ifdef HAVE_IEEEFP_H
35567 #include <ieeefp.h>
35568 #endif
35569
35570 int
35571 main ()
35572 {
35573 _isinff(0);
35574 ;
35575 return 0;
35576 }
35577 _ACEOF
35578 if ac_fn_cxx_try_compile "$LINENO"; then :
35579 glibcxx_cv_func__isinff_use=yes
35580 else
35581 glibcxx_cv_func__isinff_use=no
35582 fi
35583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35584 ac_ext=c
35585 ac_cpp='$CPP $CPPFLAGS'
35586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35589
35590
35591 fi
35592
35593 fi
35594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35595 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35596
35597 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35598 for ac_func in _isinff
35599 do :
35600 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35601 if test "x$ac_cv_func__isinff" = x""yes; then :
35602 cat >>confdefs.h <<_ACEOF
35603 #define HAVE__ISINFF 1
35604 _ACEOF
35605
35606 fi
35607 done
35608
35609 fi
35610 fi
35611
35612
35613
35614
35615
35616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35617 $as_echo_n "checking for atan2f declaration... " >&6; }
35618 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35619 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35620 $as_echo_n "(cached) " >&6
35621 else
35622
35623
35624 ac_ext=cpp
35625 ac_cpp='$CXXCPP $CPPFLAGS'
35626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35629
35630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35631 /* end confdefs.h. */
35632 #include <math.h>
35633 int
35634 main ()
35635 {
35636 atan2f(0, 0);
35637 ;
35638 return 0;
35639 }
35640 _ACEOF
35641 if ac_fn_cxx_try_compile "$LINENO"; then :
35642 glibcxx_cv_func_atan2f_use=yes
35643 else
35644 glibcxx_cv_func_atan2f_use=no
35645 fi
35646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35647 ac_ext=c
35648 ac_cpp='$CPP $CPPFLAGS'
35649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35652
35653
35654 fi
35655
35656 fi
35657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35658 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35659
35660 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35661 for ac_func in atan2f
35662 do :
35663 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35664 if test "x$ac_cv_func_atan2f" = x""yes; then :
35665 cat >>confdefs.h <<_ACEOF
35666 #define HAVE_ATAN2F 1
35667 _ACEOF
35668
35669 fi
35670 done
35671
35672 else
35673
35674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35675 $as_echo_n "checking for _atan2f declaration... " >&6; }
35676 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35677 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35678 $as_echo_n "(cached) " >&6
35679 else
35680
35681
35682 ac_ext=cpp
35683 ac_cpp='$CXXCPP $CPPFLAGS'
35684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35687
35688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35689 /* end confdefs.h. */
35690 #include <math.h>
35691 int
35692 main ()
35693 {
35694 _atan2f(0, 0);
35695 ;
35696 return 0;
35697 }
35698 _ACEOF
35699 if ac_fn_cxx_try_compile "$LINENO"; then :
35700 glibcxx_cv_func__atan2f_use=yes
35701 else
35702 glibcxx_cv_func__atan2f_use=no
35703 fi
35704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35705 ac_ext=c
35706 ac_cpp='$CPP $CPPFLAGS'
35707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35710
35711
35712 fi
35713
35714 fi
35715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35716 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35717
35718 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35719 for ac_func in _atan2f
35720 do :
35721 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35722 if test "x$ac_cv_func__atan2f" = x""yes; then :
35723 cat >>confdefs.h <<_ACEOF
35724 #define HAVE__ATAN2F 1
35725 _ACEOF
35726
35727 fi
35728 done
35729
35730 fi
35731 fi
35732
35733
35734
35735
35736
35737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35738 $as_echo_n "checking for fabsf declaration... " >&6; }
35739 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35740 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35741 $as_echo_n "(cached) " >&6
35742 else
35743
35744
35745 ac_ext=cpp
35746 ac_cpp='$CXXCPP $CPPFLAGS'
35747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35750
35751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35752 /* end confdefs.h. */
35753 #include <math.h>
35754 #ifdef HAVE_IEEEFP_H
35755 #include <ieeefp.h>
35756 #endif
35757
35758 int
35759 main ()
35760 {
35761 fabsf(0);
35762 ;
35763 return 0;
35764 }
35765 _ACEOF
35766 if ac_fn_cxx_try_compile "$LINENO"; then :
35767 glibcxx_cv_func_fabsf_use=yes
35768 else
35769 glibcxx_cv_func_fabsf_use=no
35770 fi
35771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35772 ac_ext=c
35773 ac_cpp='$CPP $CPPFLAGS'
35774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35777
35778
35779 fi
35780
35781 fi
35782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35783 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35784
35785 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35786 for ac_func in fabsf
35787 do :
35788 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35789 if test "x$ac_cv_func_fabsf" = x""yes; then :
35790 cat >>confdefs.h <<_ACEOF
35791 #define HAVE_FABSF 1
35792 _ACEOF
35793
35794 fi
35795 done
35796
35797 else
35798
35799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35800 $as_echo_n "checking for _fabsf declaration... " >&6; }
35801 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35802 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35803 $as_echo_n "(cached) " >&6
35804 else
35805
35806
35807 ac_ext=cpp
35808 ac_cpp='$CXXCPP $CPPFLAGS'
35809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35812
35813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35814 /* end confdefs.h. */
35815 #include <math.h>
35816 #ifdef HAVE_IEEEFP_H
35817 #include <ieeefp.h>
35818 #endif
35819
35820 int
35821 main ()
35822 {
35823 _fabsf(0);
35824 ;
35825 return 0;
35826 }
35827 _ACEOF
35828 if ac_fn_cxx_try_compile "$LINENO"; then :
35829 glibcxx_cv_func__fabsf_use=yes
35830 else
35831 glibcxx_cv_func__fabsf_use=no
35832 fi
35833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35834 ac_ext=c
35835 ac_cpp='$CPP $CPPFLAGS'
35836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35839
35840
35841 fi
35842
35843 fi
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35845 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35846
35847 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35848 for ac_func in _fabsf
35849 do :
35850 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35851 if test "x$ac_cv_func__fabsf" = x""yes; then :
35852 cat >>confdefs.h <<_ACEOF
35853 #define HAVE__FABSF 1
35854 _ACEOF
35855
35856 fi
35857 done
35858
35859 fi
35860 fi
35861
35862
35863
35864
35865
35866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35867 $as_echo_n "checking for fmodf declaration... " >&6; }
35868 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35869 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35870 $as_echo_n "(cached) " >&6
35871 else
35872
35873
35874 ac_ext=cpp
35875 ac_cpp='$CXXCPP $CPPFLAGS'
35876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35879
35880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35881 /* end confdefs.h. */
35882 #include <math.h>
35883 int
35884 main ()
35885 {
35886 fmodf(0, 0);
35887 ;
35888 return 0;
35889 }
35890 _ACEOF
35891 if ac_fn_cxx_try_compile "$LINENO"; then :
35892 glibcxx_cv_func_fmodf_use=yes
35893 else
35894 glibcxx_cv_func_fmodf_use=no
35895 fi
35896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35897 ac_ext=c
35898 ac_cpp='$CPP $CPPFLAGS'
35899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35902
35903
35904 fi
35905
35906 fi
35907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35908 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35909
35910 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35911 for ac_func in fmodf
35912 do :
35913 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35914 if test "x$ac_cv_func_fmodf" = x""yes; then :
35915 cat >>confdefs.h <<_ACEOF
35916 #define HAVE_FMODF 1
35917 _ACEOF
35918
35919 fi
35920 done
35921
35922 else
35923
35924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35925 $as_echo_n "checking for _fmodf declaration... " >&6; }
35926 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35927 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35928 $as_echo_n "(cached) " >&6
35929 else
35930
35931
35932 ac_ext=cpp
35933 ac_cpp='$CXXCPP $CPPFLAGS'
35934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35937
35938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35939 /* end confdefs.h. */
35940 #include <math.h>
35941 int
35942 main ()
35943 {
35944 _fmodf(0, 0);
35945 ;
35946 return 0;
35947 }
35948 _ACEOF
35949 if ac_fn_cxx_try_compile "$LINENO"; then :
35950 glibcxx_cv_func__fmodf_use=yes
35951 else
35952 glibcxx_cv_func__fmodf_use=no
35953 fi
35954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35955 ac_ext=c
35956 ac_cpp='$CPP $CPPFLAGS'
35957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35960
35961
35962 fi
35963
35964 fi
35965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35966 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35967
35968 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35969 for ac_func in _fmodf
35970 do :
35971 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35972 if test "x$ac_cv_func__fmodf" = x""yes; then :
35973 cat >>confdefs.h <<_ACEOF
35974 #define HAVE__FMODF 1
35975 _ACEOF
35976
35977 fi
35978 done
35979
35980 fi
35981 fi
35982
35983
35984
35985
35986
35987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35988 $as_echo_n "checking for frexpf declaration... " >&6; }
35989 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35990 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35991 $as_echo_n "(cached) " >&6
35992 else
35993
35994
35995 ac_ext=cpp
35996 ac_cpp='$CXXCPP $CPPFLAGS'
35997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36000
36001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36002 /* end confdefs.h. */
36003 #include <math.h>
36004 int
36005 main ()
36006 {
36007 frexpf(0, 0);
36008 ;
36009 return 0;
36010 }
36011 _ACEOF
36012 if ac_fn_cxx_try_compile "$LINENO"; then :
36013 glibcxx_cv_func_frexpf_use=yes
36014 else
36015 glibcxx_cv_func_frexpf_use=no
36016 fi
36017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36018 ac_ext=c
36019 ac_cpp='$CPP $CPPFLAGS'
36020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36023
36024
36025 fi
36026
36027 fi
36028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36029 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36030
36031 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36032 for ac_func in frexpf
36033 do :
36034 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36035 if test "x$ac_cv_func_frexpf" = x""yes; then :
36036 cat >>confdefs.h <<_ACEOF
36037 #define HAVE_FREXPF 1
36038 _ACEOF
36039
36040 fi
36041 done
36042
36043 else
36044
36045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36046 $as_echo_n "checking for _frexpf declaration... " >&6; }
36047 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36048 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36049 $as_echo_n "(cached) " >&6
36050 else
36051
36052
36053 ac_ext=cpp
36054 ac_cpp='$CXXCPP $CPPFLAGS'
36055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36058
36059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36060 /* end confdefs.h. */
36061 #include <math.h>
36062 int
36063 main ()
36064 {
36065 _frexpf(0, 0);
36066 ;
36067 return 0;
36068 }
36069 _ACEOF
36070 if ac_fn_cxx_try_compile "$LINENO"; then :
36071 glibcxx_cv_func__frexpf_use=yes
36072 else
36073 glibcxx_cv_func__frexpf_use=no
36074 fi
36075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36076 ac_ext=c
36077 ac_cpp='$CPP $CPPFLAGS'
36078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36081
36082
36083 fi
36084
36085 fi
36086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36087 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36088
36089 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36090 for ac_func in _frexpf
36091 do :
36092 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36093 if test "x$ac_cv_func__frexpf" = x""yes; then :
36094 cat >>confdefs.h <<_ACEOF
36095 #define HAVE__FREXPF 1
36096 _ACEOF
36097
36098 fi
36099 done
36100
36101 fi
36102 fi
36103
36104
36105
36106
36107
36108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36109 $as_echo_n "checking for hypotf declaration... " >&6; }
36110 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36111 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36112 $as_echo_n "(cached) " >&6
36113 else
36114
36115
36116 ac_ext=cpp
36117 ac_cpp='$CXXCPP $CPPFLAGS'
36118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36121
36122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36123 /* end confdefs.h. */
36124 #include <math.h>
36125 int
36126 main ()
36127 {
36128 hypotf(0, 0);
36129 ;
36130 return 0;
36131 }
36132 _ACEOF
36133 if ac_fn_cxx_try_compile "$LINENO"; then :
36134 glibcxx_cv_func_hypotf_use=yes
36135 else
36136 glibcxx_cv_func_hypotf_use=no
36137 fi
36138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36139 ac_ext=c
36140 ac_cpp='$CPP $CPPFLAGS'
36141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36144
36145
36146 fi
36147
36148 fi
36149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36150 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36151
36152 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36153 for ac_func in hypotf
36154 do :
36155 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36156 if test "x$ac_cv_func_hypotf" = x""yes; then :
36157 cat >>confdefs.h <<_ACEOF
36158 #define HAVE_HYPOTF 1
36159 _ACEOF
36160
36161 fi
36162 done
36163
36164 else
36165
36166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36167 $as_echo_n "checking for _hypotf declaration... " >&6; }
36168 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36169 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36170 $as_echo_n "(cached) " >&6
36171 else
36172
36173
36174 ac_ext=cpp
36175 ac_cpp='$CXXCPP $CPPFLAGS'
36176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36179
36180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36181 /* end confdefs.h. */
36182 #include <math.h>
36183 int
36184 main ()
36185 {
36186 _hypotf(0, 0);
36187 ;
36188 return 0;
36189 }
36190 _ACEOF
36191 if ac_fn_cxx_try_compile "$LINENO"; then :
36192 glibcxx_cv_func__hypotf_use=yes
36193 else
36194 glibcxx_cv_func__hypotf_use=no
36195 fi
36196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36197 ac_ext=c
36198 ac_cpp='$CPP $CPPFLAGS'
36199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36202
36203
36204 fi
36205
36206 fi
36207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36208 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36209
36210 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36211 for ac_func in _hypotf
36212 do :
36213 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36214 if test "x$ac_cv_func__hypotf" = x""yes; then :
36215 cat >>confdefs.h <<_ACEOF
36216 #define HAVE__HYPOTF 1
36217 _ACEOF
36218
36219 fi
36220 done
36221
36222 fi
36223 fi
36224
36225
36226
36227
36228
36229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36230 $as_echo_n "checking for ldexpf declaration... " >&6; }
36231 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36232 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36233 $as_echo_n "(cached) " >&6
36234 else
36235
36236
36237 ac_ext=cpp
36238 ac_cpp='$CXXCPP $CPPFLAGS'
36239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36242
36243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36244 /* end confdefs.h. */
36245 #include <math.h>
36246 int
36247 main ()
36248 {
36249 ldexpf(0, 0);
36250 ;
36251 return 0;
36252 }
36253 _ACEOF
36254 if ac_fn_cxx_try_compile "$LINENO"; then :
36255 glibcxx_cv_func_ldexpf_use=yes
36256 else
36257 glibcxx_cv_func_ldexpf_use=no
36258 fi
36259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36260 ac_ext=c
36261 ac_cpp='$CPP $CPPFLAGS'
36262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36265
36266
36267 fi
36268
36269 fi
36270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36271 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36272
36273 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36274 for ac_func in ldexpf
36275 do :
36276 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36277 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36278 cat >>confdefs.h <<_ACEOF
36279 #define HAVE_LDEXPF 1
36280 _ACEOF
36281
36282 fi
36283 done
36284
36285 else
36286
36287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36288 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36289 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36290 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36291 $as_echo_n "(cached) " >&6
36292 else
36293
36294
36295 ac_ext=cpp
36296 ac_cpp='$CXXCPP $CPPFLAGS'
36297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36300
36301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36302 /* end confdefs.h. */
36303 #include <math.h>
36304 int
36305 main ()
36306 {
36307 _ldexpf(0, 0);
36308 ;
36309 return 0;
36310 }
36311 _ACEOF
36312 if ac_fn_cxx_try_compile "$LINENO"; then :
36313 glibcxx_cv_func__ldexpf_use=yes
36314 else
36315 glibcxx_cv_func__ldexpf_use=no
36316 fi
36317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36318 ac_ext=c
36319 ac_cpp='$CPP $CPPFLAGS'
36320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36323
36324
36325 fi
36326
36327 fi
36328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36329 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36330
36331 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36332 for ac_func in _ldexpf
36333 do :
36334 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36335 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36336 cat >>confdefs.h <<_ACEOF
36337 #define HAVE__LDEXPF 1
36338 _ACEOF
36339
36340 fi
36341 done
36342
36343 fi
36344 fi
36345
36346
36347
36348
36349
36350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36351 $as_echo_n "checking for logf declaration... " >&6; }
36352 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36353 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36354 $as_echo_n "(cached) " >&6
36355 else
36356
36357
36358 ac_ext=cpp
36359 ac_cpp='$CXXCPP $CPPFLAGS'
36360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36363
36364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36365 /* end confdefs.h. */
36366 #include <math.h>
36367 #ifdef HAVE_IEEEFP_H
36368 #include <ieeefp.h>
36369 #endif
36370
36371 int
36372 main ()
36373 {
36374 logf(0);
36375 ;
36376 return 0;
36377 }
36378 _ACEOF
36379 if ac_fn_cxx_try_compile "$LINENO"; then :
36380 glibcxx_cv_func_logf_use=yes
36381 else
36382 glibcxx_cv_func_logf_use=no
36383 fi
36384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36385 ac_ext=c
36386 ac_cpp='$CPP $CPPFLAGS'
36387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36390
36391
36392 fi
36393
36394 fi
36395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36396 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36397
36398 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36399 for ac_func in logf
36400 do :
36401 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36402 if test "x$ac_cv_func_logf" = x""yes; then :
36403 cat >>confdefs.h <<_ACEOF
36404 #define HAVE_LOGF 1
36405 _ACEOF
36406
36407 fi
36408 done
36409
36410 else
36411
36412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36413 $as_echo_n "checking for _logf declaration... " >&6; }
36414 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36415 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36416 $as_echo_n "(cached) " >&6
36417 else
36418
36419
36420 ac_ext=cpp
36421 ac_cpp='$CXXCPP $CPPFLAGS'
36422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36425
36426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36427 /* end confdefs.h. */
36428 #include <math.h>
36429 #ifdef HAVE_IEEEFP_H
36430 #include <ieeefp.h>
36431 #endif
36432
36433 int
36434 main ()
36435 {
36436 _logf(0);
36437 ;
36438 return 0;
36439 }
36440 _ACEOF
36441 if ac_fn_cxx_try_compile "$LINENO"; then :
36442 glibcxx_cv_func__logf_use=yes
36443 else
36444 glibcxx_cv_func__logf_use=no
36445 fi
36446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36447 ac_ext=c
36448 ac_cpp='$CPP $CPPFLAGS'
36449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36452
36453
36454 fi
36455
36456 fi
36457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36458 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36459
36460 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36461 for ac_func in _logf
36462 do :
36463 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36464 if test "x$ac_cv_func__logf" = x""yes; then :
36465 cat >>confdefs.h <<_ACEOF
36466 #define HAVE__LOGF 1
36467 _ACEOF
36468
36469 fi
36470 done
36471
36472 fi
36473 fi
36474
36475
36476
36477
36478
36479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36480 $as_echo_n "checking for log10f declaration... " >&6; }
36481 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36482 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36483 $as_echo_n "(cached) " >&6
36484 else
36485
36486
36487 ac_ext=cpp
36488 ac_cpp='$CXXCPP $CPPFLAGS'
36489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36492
36493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36494 /* end confdefs.h. */
36495 #include <math.h>
36496 #ifdef HAVE_IEEEFP_H
36497 #include <ieeefp.h>
36498 #endif
36499
36500 int
36501 main ()
36502 {
36503 log10f(0);
36504 ;
36505 return 0;
36506 }
36507 _ACEOF
36508 if ac_fn_cxx_try_compile "$LINENO"; then :
36509 glibcxx_cv_func_log10f_use=yes
36510 else
36511 glibcxx_cv_func_log10f_use=no
36512 fi
36513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36514 ac_ext=c
36515 ac_cpp='$CPP $CPPFLAGS'
36516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36519
36520
36521 fi
36522
36523 fi
36524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36525 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36526
36527 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36528 for ac_func in log10f
36529 do :
36530 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36531 if test "x$ac_cv_func_log10f" = x""yes; then :
36532 cat >>confdefs.h <<_ACEOF
36533 #define HAVE_LOG10F 1
36534 _ACEOF
36535
36536 fi
36537 done
36538
36539 else
36540
36541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36542 $as_echo_n "checking for _log10f declaration... " >&6; }
36543 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36544 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36545 $as_echo_n "(cached) " >&6
36546 else
36547
36548
36549 ac_ext=cpp
36550 ac_cpp='$CXXCPP $CPPFLAGS'
36551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36554
36555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36556 /* end confdefs.h. */
36557 #include <math.h>
36558 #ifdef HAVE_IEEEFP_H
36559 #include <ieeefp.h>
36560 #endif
36561
36562 int
36563 main ()
36564 {
36565 _log10f(0);
36566 ;
36567 return 0;
36568 }
36569 _ACEOF
36570 if ac_fn_cxx_try_compile "$LINENO"; then :
36571 glibcxx_cv_func__log10f_use=yes
36572 else
36573 glibcxx_cv_func__log10f_use=no
36574 fi
36575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36576 ac_ext=c
36577 ac_cpp='$CPP $CPPFLAGS'
36578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36581
36582
36583 fi
36584
36585 fi
36586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36587 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36588
36589 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36590 for ac_func in _log10f
36591 do :
36592 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36593 if test "x$ac_cv_func__log10f" = x""yes; then :
36594 cat >>confdefs.h <<_ACEOF
36595 #define HAVE__LOG10F 1
36596 _ACEOF
36597
36598 fi
36599 done
36600
36601 fi
36602 fi
36603
36604
36605
36606
36607
36608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36609 $as_echo_n "checking for modff declaration... " >&6; }
36610 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36611 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36612 $as_echo_n "(cached) " >&6
36613 else
36614
36615
36616 ac_ext=cpp
36617 ac_cpp='$CXXCPP $CPPFLAGS'
36618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36621
36622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36623 /* end confdefs.h. */
36624 #include <math.h>
36625 int
36626 main ()
36627 {
36628 modff(0, 0);
36629 ;
36630 return 0;
36631 }
36632 _ACEOF
36633 if ac_fn_cxx_try_compile "$LINENO"; then :
36634 glibcxx_cv_func_modff_use=yes
36635 else
36636 glibcxx_cv_func_modff_use=no
36637 fi
36638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36639 ac_ext=c
36640 ac_cpp='$CPP $CPPFLAGS'
36641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36644
36645
36646 fi
36647
36648 fi
36649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36650 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36651
36652 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36653 for ac_func in modff
36654 do :
36655 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36656 if test "x$ac_cv_func_modff" = x""yes; then :
36657 cat >>confdefs.h <<_ACEOF
36658 #define HAVE_MODFF 1
36659 _ACEOF
36660
36661 fi
36662 done
36663
36664 else
36665
36666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36667 $as_echo_n "checking for _modff declaration... " >&6; }
36668 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36669 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36670 $as_echo_n "(cached) " >&6
36671 else
36672
36673
36674 ac_ext=cpp
36675 ac_cpp='$CXXCPP $CPPFLAGS'
36676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36679
36680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36681 /* end confdefs.h. */
36682 #include <math.h>
36683 int
36684 main ()
36685 {
36686 _modff(0, 0);
36687 ;
36688 return 0;
36689 }
36690 _ACEOF
36691 if ac_fn_cxx_try_compile "$LINENO"; then :
36692 glibcxx_cv_func__modff_use=yes
36693 else
36694 glibcxx_cv_func__modff_use=no
36695 fi
36696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36697 ac_ext=c
36698 ac_cpp='$CPP $CPPFLAGS'
36699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36702
36703
36704 fi
36705
36706 fi
36707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36708 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36709
36710 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36711 for ac_func in _modff
36712 do :
36713 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36714 if test "x$ac_cv_func__modff" = x""yes; then :
36715 cat >>confdefs.h <<_ACEOF
36716 #define HAVE__MODFF 1
36717 _ACEOF
36718
36719 fi
36720 done
36721
36722 fi
36723 fi
36724
36725
36726
36727
36728
36729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36730 $as_echo_n "checking for modf declaration... " >&6; }
36731 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36732 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36733 $as_echo_n "(cached) " >&6
36734 else
36735
36736
36737 ac_ext=cpp
36738 ac_cpp='$CXXCPP $CPPFLAGS'
36739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36742
36743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36744 /* end confdefs.h. */
36745 #include <math.h>
36746 int
36747 main ()
36748 {
36749 modf(0, 0);
36750 ;
36751 return 0;
36752 }
36753 _ACEOF
36754 if ac_fn_cxx_try_compile "$LINENO"; then :
36755 glibcxx_cv_func_modf_use=yes
36756 else
36757 glibcxx_cv_func_modf_use=no
36758 fi
36759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36760 ac_ext=c
36761 ac_cpp='$CPP $CPPFLAGS'
36762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36765
36766
36767 fi
36768
36769 fi
36770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36771 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36772
36773 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36774 for ac_func in modf
36775 do :
36776 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36777 if test "x$ac_cv_func_modf" = x""yes; then :
36778 cat >>confdefs.h <<_ACEOF
36779 #define HAVE_MODF 1
36780 _ACEOF
36781
36782 fi
36783 done
36784
36785 else
36786
36787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36788 $as_echo_n "checking for _modf declaration... " >&6; }
36789 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36790 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36791 $as_echo_n "(cached) " >&6
36792 else
36793
36794
36795 ac_ext=cpp
36796 ac_cpp='$CXXCPP $CPPFLAGS'
36797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36800
36801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36802 /* end confdefs.h. */
36803 #include <math.h>
36804 int
36805 main ()
36806 {
36807 _modf(0, 0);
36808 ;
36809 return 0;
36810 }
36811 _ACEOF
36812 if ac_fn_cxx_try_compile "$LINENO"; then :
36813 glibcxx_cv_func__modf_use=yes
36814 else
36815 glibcxx_cv_func__modf_use=no
36816 fi
36817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36818 ac_ext=c
36819 ac_cpp='$CPP $CPPFLAGS'
36820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36823
36824
36825 fi
36826
36827 fi
36828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36829 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36830
36831 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36832 for ac_func in _modf
36833 do :
36834 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36835 if test "x$ac_cv_func__modf" = x""yes; then :
36836 cat >>confdefs.h <<_ACEOF
36837 #define HAVE__MODF 1
36838 _ACEOF
36839
36840 fi
36841 done
36842
36843 fi
36844 fi
36845
36846
36847
36848
36849
36850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36851 $as_echo_n "checking for powf declaration... " >&6; }
36852 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36853 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36854 $as_echo_n "(cached) " >&6
36855 else
36856
36857
36858 ac_ext=cpp
36859 ac_cpp='$CXXCPP $CPPFLAGS'
36860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36863
36864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36865 /* end confdefs.h. */
36866 #include <math.h>
36867 int
36868 main ()
36869 {
36870 powf(0, 0);
36871 ;
36872 return 0;
36873 }
36874 _ACEOF
36875 if ac_fn_cxx_try_compile "$LINENO"; then :
36876 glibcxx_cv_func_powf_use=yes
36877 else
36878 glibcxx_cv_func_powf_use=no
36879 fi
36880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36881 ac_ext=c
36882 ac_cpp='$CPP $CPPFLAGS'
36883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36886
36887
36888 fi
36889
36890 fi
36891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36892 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36893
36894 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36895 for ac_func in powf
36896 do :
36897 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36898 if test "x$ac_cv_func_powf" = x""yes; then :
36899 cat >>confdefs.h <<_ACEOF
36900 #define HAVE_POWF 1
36901 _ACEOF
36902
36903 fi
36904 done
36905
36906 else
36907
36908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36909 $as_echo_n "checking for _powf declaration... " >&6; }
36910 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36911 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36912 $as_echo_n "(cached) " >&6
36913 else
36914
36915
36916 ac_ext=cpp
36917 ac_cpp='$CXXCPP $CPPFLAGS'
36918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36921
36922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36923 /* end confdefs.h. */
36924 #include <math.h>
36925 int
36926 main ()
36927 {
36928 _powf(0, 0);
36929 ;
36930 return 0;
36931 }
36932 _ACEOF
36933 if ac_fn_cxx_try_compile "$LINENO"; then :
36934 glibcxx_cv_func__powf_use=yes
36935 else
36936 glibcxx_cv_func__powf_use=no
36937 fi
36938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36939 ac_ext=c
36940 ac_cpp='$CPP $CPPFLAGS'
36941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36944
36945
36946 fi
36947
36948 fi
36949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36950 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36951
36952 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36953 for ac_func in _powf
36954 do :
36955 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36956 if test "x$ac_cv_func__powf" = x""yes; then :
36957 cat >>confdefs.h <<_ACEOF
36958 #define HAVE__POWF 1
36959 _ACEOF
36960
36961 fi
36962 done
36963
36964 fi
36965 fi
36966
36967
36968
36969
36970
36971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36972 $as_echo_n "checking for sqrtf declaration... " >&6; }
36973 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36974 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36975 $as_echo_n "(cached) " >&6
36976 else
36977
36978
36979 ac_ext=cpp
36980 ac_cpp='$CXXCPP $CPPFLAGS'
36981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36984
36985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36986 /* end confdefs.h. */
36987 #include <math.h>
36988 #ifdef HAVE_IEEEFP_H
36989 #include <ieeefp.h>
36990 #endif
36991
36992 int
36993 main ()
36994 {
36995 sqrtf(0);
36996 ;
36997 return 0;
36998 }
36999 _ACEOF
37000 if ac_fn_cxx_try_compile "$LINENO"; then :
37001 glibcxx_cv_func_sqrtf_use=yes
37002 else
37003 glibcxx_cv_func_sqrtf_use=no
37004 fi
37005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37006 ac_ext=c
37007 ac_cpp='$CPP $CPPFLAGS'
37008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37011
37012
37013 fi
37014
37015 fi
37016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37017 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37018
37019 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37020 for ac_func in sqrtf
37021 do :
37022 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37023 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37024 cat >>confdefs.h <<_ACEOF
37025 #define HAVE_SQRTF 1
37026 _ACEOF
37027
37028 fi
37029 done
37030
37031 else
37032
37033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37034 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37035 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37036 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37037 $as_echo_n "(cached) " >&6
37038 else
37039
37040
37041 ac_ext=cpp
37042 ac_cpp='$CXXCPP $CPPFLAGS'
37043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37046
37047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37048 /* end confdefs.h. */
37049 #include <math.h>
37050 #ifdef HAVE_IEEEFP_H
37051 #include <ieeefp.h>
37052 #endif
37053
37054 int
37055 main ()
37056 {
37057 _sqrtf(0);
37058 ;
37059 return 0;
37060 }
37061 _ACEOF
37062 if ac_fn_cxx_try_compile "$LINENO"; then :
37063 glibcxx_cv_func__sqrtf_use=yes
37064 else
37065 glibcxx_cv_func__sqrtf_use=no
37066 fi
37067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37068 ac_ext=c
37069 ac_cpp='$CPP $CPPFLAGS'
37070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37073
37074
37075 fi
37076
37077 fi
37078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37079 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37080
37081 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37082 for ac_func in _sqrtf
37083 do :
37084 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37085 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37086 cat >>confdefs.h <<_ACEOF
37087 #define HAVE__SQRTF 1
37088 _ACEOF
37089
37090 fi
37091 done
37092
37093 fi
37094 fi
37095
37096
37097
37098
37099
37100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37101 $as_echo_n "checking for sincosf declaration... " >&6; }
37102 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37103 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37104 $as_echo_n "(cached) " >&6
37105 else
37106
37107
37108 ac_ext=cpp
37109 ac_cpp='$CXXCPP $CPPFLAGS'
37110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37113
37114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37115 /* end confdefs.h. */
37116 #include <math.h>
37117 int
37118 main ()
37119 {
37120 sincosf(0, 0, 0);
37121 ;
37122 return 0;
37123 }
37124 _ACEOF
37125 if ac_fn_cxx_try_compile "$LINENO"; then :
37126 glibcxx_cv_func_sincosf_use=yes
37127 else
37128 glibcxx_cv_func_sincosf_use=no
37129 fi
37130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37131 ac_ext=c
37132 ac_cpp='$CPP $CPPFLAGS'
37133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37136
37137
37138 fi
37139
37140 fi
37141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37142 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37143
37144 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37145 for ac_func in sincosf
37146 do :
37147 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37148 if test "x$ac_cv_func_sincosf" = x""yes; then :
37149 cat >>confdefs.h <<_ACEOF
37150 #define HAVE_SINCOSF 1
37151 _ACEOF
37152
37153 fi
37154 done
37155
37156 else
37157
37158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37159 $as_echo_n "checking for _sincosf declaration... " >&6; }
37160 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37161 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37162 $as_echo_n "(cached) " >&6
37163 else
37164
37165
37166 ac_ext=cpp
37167 ac_cpp='$CXXCPP $CPPFLAGS'
37168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37171
37172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37173 /* end confdefs.h. */
37174 #include <math.h>
37175 int
37176 main ()
37177 {
37178 _sincosf(0, 0, 0);
37179 ;
37180 return 0;
37181 }
37182 _ACEOF
37183 if ac_fn_cxx_try_compile "$LINENO"; then :
37184 glibcxx_cv_func__sincosf_use=yes
37185 else
37186 glibcxx_cv_func__sincosf_use=no
37187 fi
37188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37189 ac_ext=c
37190 ac_cpp='$CPP $CPPFLAGS'
37191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37194
37195
37196 fi
37197
37198 fi
37199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37200 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37201
37202 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37203 for ac_func in _sincosf
37204 do :
37205 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37206 if test "x$ac_cv_func__sincosf" = x""yes; then :
37207 cat >>confdefs.h <<_ACEOF
37208 #define HAVE__SINCOSF 1
37209 _ACEOF
37210
37211 fi
37212 done
37213
37214 fi
37215 fi
37216
37217
37218
37219
37220
37221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37222 $as_echo_n "checking for finitef declaration... " >&6; }
37223 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37224 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37225 $as_echo_n "(cached) " >&6
37226 else
37227
37228
37229 ac_ext=cpp
37230 ac_cpp='$CXXCPP $CPPFLAGS'
37231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37234
37235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37236 /* end confdefs.h. */
37237 #include <math.h>
37238 #ifdef HAVE_IEEEFP_H
37239 #include <ieeefp.h>
37240 #endif
37241
37242 int
37243 main ()
37244 {
37245 finitef(0);
37246 ;
37247 return 0;
37248 }
37249 _ACEOF
37250 if ac_fn_cxx_try_compile "$LINENO"; then :
37251 glibcxx_cv_func_finitef_use=yes
37252 else
37253 glibcxx_cv_func_finitef_use=no
37254 fi
37255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37256 ac_ext=c
37257 ac_cpp='$CPP $CPPFLAGS'
37258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37261
37262
37263 fi
37264
37265 fi
37266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37267 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37268
37269 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37270 for ac_func in finitef
37271 do :
37272 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37273 if test "x$ac_cv_func_finitef" = x""yes; then :
37274 cat >>confdefs.h <<_ACEOF
37275 #define HAVE_FINITEF 1
37276 _ACEOF
37277
37278 fi
37279 done
37280
37281 else
37282
37283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37284 $as_echo_n "checking for _finitef declaration... " >&6; }
37285 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37286 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37287 $as_echo_n "(cached) " >&6
37288 else
37289
37290
37291 ac_ext=cpp
37292 ac_cpp='$CXXCPP $CPPFLAGS'
37293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37296
37297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37298 /* end confdefs.h. */
37299 #include <math.h>
37300 #ifdef HAVE_IEEEFP_H
37301 #include <ieeefp.h>
37302 #endif
37303
37304 int
37305 main ()
37306 {
37307 _finitef(0);
37308 ;
37309 return 0;
37310 }
37311 _ACEOF
37312 if ac_fn_cxx_try_compile "$LINENO"; then :
37313 glibcxx_cv_func__finitef_use=yes
37314 else
37315 glibcxx_cv_func__finitef_use=no
37316 fi
37317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37318 ac_ext=c
37319 ac_cpp='$CPP $CPPFLAGS'
37320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37323
37324
37325 fi
37326
37327 fi
37328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37329 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37330
37331 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37332 for ac_func in _finitef
37333 do :
37334 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37335 if test "x$ac_cv_func__finitef" = x""yes; then :
37336 cat >>confdefs.h <<_ACEOF
37337 #define HAVE__FINITEF 1
37338 _ACEOF
37339
37340 fi
37341 done
37342
37343 fi
37344 fi
37345
37346
37347
37348
37349
37350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37351 $as_echo_n "checking for long double trig functions... " >&6; }
37352 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37353 $as_echo_n "(cached) " >&6
37354 else
37355
37356
37357 ac_ext=cpp
37358 ac_cpp='$CXXCPP $CPPFLAGS'
37359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37362
37363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37364 /* end confdefs.h. */
37365 #include <math.h>
37366 int
37367 main ()
37368 {
37369 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37370 ;
37371 return 0;
37372 }
37373 _ACEOF
37374 if ac_fn_cxx_try_compile "$LINENO"; then :
37375 glibcxx_cv_func_long_double_trig_use=yes
37376 else
37377 glibcxx_cv_func_long_double_trig_use=no
37378 fi
37379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37380 ac_ext=c
37381 ac_cpp='$CPP $CPPFLAGS'
37382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37385
37386 fi
37387
37388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37389 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37390 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37391 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37392 do :
37393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37395 eval as_val=\$$as_ac_var
37396 if test "x$as_val" = x""yes; then :
37397 cat >>confdefs.h <<_ACEOF
37398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37399 _ACEOF
37400
37401 fi
37402 done
37403
37404 else
37405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37406 $as_echo_n "checking for _long double trig functions... " >&6; }
37407 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37408 $as_echo_n "(cached) " >&6
37409 else
37410
37411
37412 ac_ext=cpp
37413 ac_cpp='$CXXCPP $CPPFLAGS'
37414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37417
37418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37419 /* end confdefs.h. */
37420 #include <math.h>
37421 int
37422 main ()
37423 {
37424 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37425 ;
37426 return 0;
37427 }
37428 _ACEOF
37429 if ac_fn_cxx_try_compile "$LINENO"; then :
37430 glibcxx_cv_func__long_double_trig_use=yes
37431 else
37432 glibcxx_cv_func__long_double_trig_use=no
37433 fi
37434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37435 ac_ext=c
37436 ac_cpp='$CPP $CPPFLAGS'
37437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37440
37441 fi
37442
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37444 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37445 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37446 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37447 do :
37448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37450 eval as_val=\$$as_ac_var
37451 if test "x$as_val" = x""yes; then :
37452 cat >>confdefs.h <<_ACEOF
37453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37454 _ACEOF
37455
37456 fi
37457 done
37458
37459 fi
37460 fi
37461
37462
37463
37464
37465
37466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37467 $as_echo_n "checking for long double round functions... " >&6; }
37468 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37469 $as_echo_n "(cached) " >&6
37470 else
37471
37472
37473 ac_ext=cpp
37474 ac_cpp='$CXXCPP $CPPFLAGS'
37475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37478
37479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37480 /* end confdefs.h. */
37481 #include <math.h>
37482 int
37483 main ()
37484 {
37485 ceill (0); floorl (0);
37486 ;
37487 return 0;
37488 }
37489 _ACEOF
37490 if ac_fn_cxx_try_compile "$LINENO"; then :
37491 glibcxx_cv_func_long_double_round_use=yes
37492 else
37493 glibcxx_cv_func_long_double_round_use=no
37494 fi
37495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37496 ac_ext=c
37497 ac_cpp='$CPP $CPPFLAGS'
37498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37501
37502 fi
37503
37504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37505 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37506 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37507 for ac_func in ceill floorl
37508 do :
37509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37511 eval as_val=\$$as_ac_var
37512 if test "x$as_val" = x""yes; then :
37513 cat >>confdefs.h <<_ACEOF
37514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37515 _ACEOF
37516
37517 fi
37518 done
37519
37520 else
37521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37522 $as_echo_n "checking for _long double round functions... " >&6; }
37523 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37524 $as_echo_n "(cached) " >&6
37525 else
37526
37527
37528 ac_ext=cpp
37529 ac_cpp='$CXXCPP $CPPFLAGS'
37530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37533
37534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37535 /* end confdefs.h. */
37536 #include <math.h>
37537 int
37538 main ()
37539 {
37540 _ceill (0); _floorl (0);
37541 ;
37542 return 0;
37543 }
37544 _ACEOF
37545 if ac_fn_cxx_try_compile "$LINENO"; then :
37546 glibcxx_cv_func__long_double_round_use=yes
37547 else
37548 glibcxx_cv_func__long_double_round_use=no
37549 fi
37550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37551 ac_ext=c
37552 ac_cpp='$CPP $CPPFLAGS'
37553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37556
37557 fi
37558
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37560 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37561 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37562 for ac_func in _ceill _floorl
37563 do :
37564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37566 eval as_val=\$$as_ac_var
37567 if test "x$as_val" = x""yes; then :
37568 cat >>confdefs.h <<_ACEOF
37569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37570 _ACEOF
37571
37572 fi
37573 done
37574
37575 fi
37576 fi
37577
37578
37579
37580
37581
37582
37583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37584 $as_echo_n "checking for isnanl declaration... " >&6; }
37585 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37586 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37587 $as_echo_n "(cached) " >&6
37588 else
37589
37590
37591 ac_ext=cpp
37592 ac_cpp='$CXXCPP $CPPFLAGS'
37593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37596
37597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37598 /* end confdefs.h. */
37599 #include <math.h>
37600 #ifdef HAVE_IEEEFP_H
37601 #include <ieeefp.h>
37602 #endif
37603
37604 int
37605 main ()
37606 {
37607 isnanl(0);
37608 ;
37609 return 0;
37610 }
37611 _ACEOF
37612 if ac_fn_cxx_try_compile "$LINENO"; then :
37613 glibcxx_cv_func_isnanl_use=yes
37614 else
37615 glibcxx_cv_func_isnanl_use=no
37616 fi
37617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37618 ac_ext=c
37619 ac_cpp='$CPP $CPPFLAGS'
37620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37623
37624
37625 fi
37626
37627 fi
37628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37629 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37630
37631 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37632 for ac_func in isnanl
37633 do :
37634 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37635 if test "x$ac_cv_func_isnanl" = x""yes; then :
37636 cat >>confdefs.h <<_ACEOF
37637 #define HAVE_ISNANL 1
37638 _ACEOF
37639
37640 fi
37641 done
37642
37643 else
37644
37645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37646 $as_echo_n "checking for _isnanl declaration... " >&6; }
37647 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37648 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37649 $as_echo_n "(cached) " >&6
37650 else
37651
37652
37653 ac_ext=cpp
37654 ac_cpp='$CXXCPP $CPPFLAGS'
37655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37658
37659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37660 /* end confdefs.h. */
37661 #include <math.h>
37662 #ifdef HAVE_IEEEFP_H
37663 #include <ieeefp.h>
37664 #endif
37665
37666 int
37667 main ()
37668 {
37669 _isnanl(0);
37670 ;
37671 return 0;
37672 }
37673 _ACEOF
37674 if ac_fn_cxx_try_compile "$LINENO"; then :
37675 glibcxx_cv_func__isnanl_use=yes
37676 else
37677 glibcxx_cv_func__isnanl_use=no
37678 fi
37679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37680 ac_ext=c
37681 ac_cpp='$CPP $CPPFLAGS'
37682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37685
37686
37687 fi
37688
37689 fi
37690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37691 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37692
37693 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37694 for ac_func in _isnanl
37695 do :
37696 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37697 if test "x$ac_cv_func__isnanl" = x""yes; then :
37698 cat >>confdefs.h <<_ACEOF
37699 #define HAVE__ISNANL 1
37700 _ACEOF
37701
37702 fi
37703 done
37704
37705 fi
37706 fi
37707
37708
37709
37710
37711
37712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37713 $as_echo_n "checking for isinfl declaration... " >&6; }
37714 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37715 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37716 $as_echo_n "(cached) " >&6
37717 else
37718
37719
37720 ac_ext=cpp
37721 ac_cpp='$CXXCPP $CPPFLAGS'
37722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37725
37726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37727 /* end confdefs.h. */
37728 #include <math.h>
37729 #ifdef HAVE_IEEEFP_H
37730 #include <ieeefp.h>
37731 #endif
37732
37733 int
37734 main ()
37735 {
37736 isinfl(0);
37737 ;
37738 return 0;
37739 }
37740 _ACEOF
37741 if ac_fn_cxx_try_compile "$LINENO"; then :
37742 glibcxx_cv_func_isinfl_use=yes
37743 else
37744 glibcxx_cv_func_isinfl_use=no
37745 fi
37746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37747 ac_ext=c
37748 ac_cpp='$CPP $CPPFLAGS'
37749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37752
37753
37754 fi
37755
37756 fi
37757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37758 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37759
37760 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37761 for ac_func in isinfl
37762 do :
37763 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37764 if test "x$ac_cv_func_isinfl" = x""yes; then :
37765 cat >>confdefs.h <<_ACEOF
37766 #define HAVE_ISINFL 1
37767 _ACEOF
37768
37769 fi
37770 done
37771
37772 else
37773
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37775 $as_echo_n "checking for _isinfl declaration... " >&6; }
37776 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37777 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37778 $as_echo_n "(cached) " >&6
37779 else
37780
37781
37782 ac_ext=cpp
37783 ac_cpp='$CXXCPP $CPPFLAGS'
37784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37787
37788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37789 /* end confdefs.h. */
37790 #include <math.h>
37791 #ifdef HAVE_IEEEFP_H
37792 #include <ieeefp.h>
37793 #endif
37794
37795 int
37796 main ()
37797 {
37798 _isinfl(0);
37799 ;
37800 return 0;
37801 }
37802 _ACEOF
37803 if ac_fn_cxx_try_compile "$LINENO"; then :
37804 glibcxx_cv_func__isinfl_use=yes
37805 else
37806 glibcxx_cv_func__isinfl_use=no
37807 fi
37808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37809 ac_ext=c
37810 ac_cpp='$CPP $CPPFLAGS'
37811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37814
37815
37816 fi
37817
37818 fi
37819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37820 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37821
37822 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37823 for ac_func in _isinfl
37824 do :
37825 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37826 if test "x$ac_cv_func__isinfl" = x""yes; then :
37827 cat >>confdefs.h <<_ACEOF
37828 #define HAVE__ISINFL 1
37829 _ACEOF
37830
37831 fi
37832 done
37833
37834 fi
37835 fi
37836
37837
37838
37839
37840
37841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37842 $as_echo_n "checking for atan2l declaration... " >&6; }
37843 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37844 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37845 $as_echo_n "(cached) " >&6
37846 else
37847
37848
37849 ac_ext=cpp
37850 ac_cpp='$CXXCPP $CPPFLAGS'
37851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37854
37855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37856 /* end confdefs.h. */
37857 #include <math.h>
37858 int
37859 main ()
37860 {
37861 atan2l(0, 0);
37862 ;
37863 return 0;
37864 }
37865 _ACEOF
37866 if ac_fn_cxx_try_compile "$LINENO"; then :
37867 glibcxx_cv_func_atan2l_use=yes
37868 else
37869 glibcxx_cv_func_atan2l_use=no
37870 fi
37871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37872 ac_ext=c
37873 ac_cpp='$CPP $CPPFLAGS'
37874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37877
37878
37879 fi
37880
37881 fi
37882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37883 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37884
37885 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37886 for ac_func in atan2l
37887 do :
37888 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37889 if test "x$ac_cv_func_atan2l" = x""yes; then :
37890 cat >>confdefs.h <<_ACEOF
37891 #define HAVE_ATAN2L 1
37892 _ACEOF
37893
37894 fi
37895 done
37896
37897 else
37898
37899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37900 $as_echo_n "checking for _atan2l declaration... " >&6; }
37901 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37902 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37903 $as_echo_n "(cached) " >&6
37904 else
37905
37906
37907 ac_ext=cpp
37908 ac_cpp='$CXXCPP $CPPFLAGS'
37909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37912
37913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37914 /* end confdefs.h. */
37915 #include <math.h>
37916 int
37917 main ()
37918 {
37919 _atan2l(0, 0);
37920 ;
37921 return 0;
37922 }
37923 _ACEOF
37924 if ac_fn_cxx_try_compile "$LINENO"; then :
37925 glibcxx_cv_func__atan2l_use=yes
37926 else
37927 glibcxx_cv_func__atan2l_use=no
37928 fi
37929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37930 ac_ext=c
37931 ac_cpp='$CPP $CPPFLAGS'
37932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37935
37936
37937 fi
37938
37939 fi
37940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37941 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37942
37943 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37944 for ac_func in _atan2l
37945 do :
37946 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37947 if test "x$ac_cv_func__atan2l" = x""yes; then :
37948 cat >>confdefs.h <<_ACEOF
37949 #define HAVE__ATAN2L 1
37950 _ACEOF
37951
37952 fi
37953 done
37954
37955 fi
37956 fi
37957
37958
37959
37960
37961
37962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37963 $as_echo_n "checking for expl declaration... " >&6; }
37964 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37965 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37966 $as_echo_n "(cached) " >&6
37967 else
37968
37969
37970 ac_ext=cpp
37971 ac_cpp='$CXXCPP $CPPFLAGS'
37972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37975
37976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37977 /* end confdefs.h. */
37978 #include <math.h>
37979 #ifdef HAVE_IEEEFP_H
37980 #include <ieeefp.h>
37981 #endif
37982
37983 int
37984 main ()
37985 {
37986 expl(0);
37987 ;
37988 return 0;
37989 }
37990 _ACEOF
37991 if ac_fn_cxx_try_compile "$LINENO"; then :
37992 glibcxx_cv_func_expl_use=yes
37993 else
37994 glibcxx_cv_func_expl_use=no
37995 fi
37996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37997 ac_ext=c
37998 ac_cpp='$CPP $CPPFLAGS'
37999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38002
38003
38004 fi
38005
38006 fi
38007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38008 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38009
38010 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38011 for ac_func in expl
38012 do :
38013 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38014 if test "x$ac_cv_func_expl" = x""yes; then :
38015 cat >>confdefs.h <<_ACEOF
38016 #define HAVE_EXPL 1
38017 _ACEOF
38018
38019 fi
38020 done
38021
38022 else
38023
38024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38025 $as_echo_n "checking for _expl declaration... " >&6; }
38026 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38027 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38028 $as_echo_n "(cached) " >&6
38029 else
38030
38031
38032 ac_ext=cpp
38033 ac_cpp='$CXXCPP $CPPFLAGS'
38034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38037
38038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38039 /* end confdefs.h. */
38040 #include <math.h>
38041 #ifdef HAVE_IEEEFP_H
38042 #include <ieeefp.h>
38043 #endif
38044
38045 int
38046 main ()
38047 {
38048 _expl(0);
38049 ;
38050 return 0;
38051 }
38052 _ACEOF
38053 if ac_fn_cxx_try_compile "$LINENO"; then :
38054 glibcxx_cv_func__expl_use=yes
38055 else
38056 glibcxx_cv_func__expl_use=no
38057 fi
38058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38059 ac_ext=c
38060 ac_cpp='$CPP $CPPFLAGS'
38061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38064
38065
38066 fi
38067
38068 fi
38069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38070 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38071
38072 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38073 for ac_func in _expl
38074 do :
38075 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38076 if test "x$ac_cv_func__expl" = x""yes; then :
38077 cat >>confdefs.h <<_ACEOF
38078 #define HAVE__EXPL 1
38079 _ACEOF
38080
38081 fi
38082 done
38083
38084 fi
38085 fi
38086
38087
38088
38089
38090
38091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38092 $as_echo_n "checking for fabsl declaration... " >&6; }
38093 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38094 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38095 $as_echo_n "(cached) " >&6
38096 else
38097
38098
38099 ac_ext=cpp
38100 ac_cpp='$CXXCPP $CPPFLAGS'
38101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38104
38105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38106 /* end confdefs.h. */
38107 #include <math.h>
38108 #ifdef HAVE_IEEEFP_H
38109 #include <ieeefp.h>
38110 #endif
38111
38112 int
38113 main ()
38114 {
38115 fabsl(0);
38116 ;
38117 return 0;
38118 }
38119 _ACEOF
38120 if ac_fn_cxx_try_compile "$LINENO"; then :
38121 glibcxx_cv_func_fabsl_use=yes
38122 else
38123 glibcxx_cv_func_fabsl_use=no
38124 fi
38125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38126 ac_ext=c
38127 ac_cpp='$CPP $CPPFLAGS'
38128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38131
38132
38133 fi
38134
38135 fi
38136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38137 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38138
38139 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38140 for ac_func in fabsl
38141 do :
38142 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38143 if test "x$ac_cv_func_fabsl" = x""yes; then :
38144 cat >>confdefs.h <<_ACEOF
38145 #define HAVE_FABSL 1
38146 _ACEOF
38147
38148 fi
38149 done
38150
38151 else
38152
38153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38154 $as_echo_n "checking for _fabsl declaration... " >&6; }
38155 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38156 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38157 $as_echo_n "(cached) " >&6
38158 else
38159
38160
38161 ac_ext=cpp
38162 ac_cpp='$CXXCPP $CPPFLAGS'
38163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38166
38167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38168 /* end confdefs.h. */
38169 #include <math.h>
38170 #ifdef HAVE_IEEEFP_H
38171 #include <ieeefp.h>
38172 #endif
38173
38174 int
38175 main ()
38176 {
38177 _fabsl(0);
38178 ;
38179 return 0;
38180 }
38181 _ACEOF
38182 if ac_fn_cxx_try_compile "$LINENO"; then :
38183 glibcxx_cv_func__fabsl_use=yes
38184 else
38185 glibcxx_cv_func__fabsl_use=no
38186 fi
38187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38188 ac_ext=c
38189 ac_cpp='$CPP $CPPFLAGS'
38190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38193
38194
38195 fi
38196
38197 fi
38198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38199 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38200
38201 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38202 for ac_func in _fabsl
38203 do :
38204 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38205 if test "x$ac_cv_func__fabsl" = x""yes; then :
38206 cat >>confdefs.h <<_ACEOF
38207 #define HAVE__FABSL 1
38208 _ACEOF
38209
38210 fi
38211 done
38212
38213 fi
38214 fi
38215
38216
38217
38218
38219
38220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38221 $as_echo_n "checking for fmodl declaration... " >&6; }
38222 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38223 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38224 $as_echo_n "(cached) " >&6
38225 else
38226
38227
38228 ac_ext=cpp
38229 ac_cpp='$CXXCPP $CPPFLAGS'
38230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38233
38234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38235 /* end confdefs.h. */
38236 #include <math.h>
38237 int
38238 main ()
38239 {
38240 fmodl(0, 0);
38241 ;
38242 return 0;
38243 }
38244 _ACEOF
38245 if ac_fn_cxx_try_compile "$LINENO"; then :
38246 glibcxx_cv_func_fmodl_use=yes
38247 else
38248 glibcxx_cv_func_fmodl_use=no
38249 fi
38250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38251 ac_ext=c
38252 ac_cpp='$CPP $CPPFLAGS'
38253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38256
38257
38258 fi
38259
38260 fi
38261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38262 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38263
38264 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38265 for ac_func in fmodl
38266 do :
38267 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38268 if test "x$ac_cv_func_fmodl" = x""yes; then :
38269 cat >>confdefs.h <<_ACEOF
38270 #define HAVE_FMODL 1
38271 _ACEOF
38272
38273 fi
38274 done
38275
38276 else
38277
38278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38279 $as_echo_n "checking for _fmodl declaration... " >&6; }
38280 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38281 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38282 $as_echo_n "(cached) " >&6
38283 else
38284
38285
38286 ac_ext=cpp
38287 ac_cpp='$CXXCPP $CPPFLAGS'
38288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38291
38292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38293 /* end confdefs.h. */
38294 #include <math.h>
38295 int
38296 main ()
38297 {
38298 _fmodl(0, 0);
38299 ;
38300 return 0;
38301 }
38302 _ACEOF
38303 if ac_fn_cxx_try_compile "$LINENO"; then :
38304 glibcxx_cv_func__fmodl_use=yes
38305 else
38306 glibcxx_cv_func__fmodl_use=no
38307 fi
38308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38309 ac_ext=c
38310 ac_cpp='$CPP $CPPFLAGS'
38311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38314
38315
38316 fi
38317
38318 fi
38319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38320 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38321
38322 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38323 for ac_func in _fmodl
38324 do :
38325 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38326 if test "x$ac_cv_func__fmodl" = x""yes; then :
38327 cat >>confdefs.h <<_ACEOF
38328 #define HAVE__FMODL 1
38329 _ACEOF
38330
38331 fi
38332 done
38333
38334 fi
38335 fi
38336
38337
38338
38339
38340
38341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38342 $as_echo_n "checking for frexpl declaration... " >&6; }
38343 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38344 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38345 $as_echo_n "(cached) " >&6
38346 else
38347
38348
38349 ac_ext=cpp
38350 ac_cpp='$CXXCPP $CPPFLAGS'
38351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38354
38355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38356 /* end confdefs.h. */
38357 #include <math.h>
38358 int
38359 main ()
38360 {
38361 frexpl(0, 0);
38362 ;
38363 return 0;
38364 }
38365 _ACEOF
38366 if ac_fn_cxx_try_compile "$LINENO"; then :
38367 glibcxx_cv_func_frexpl_use=yes
38368 else
38369 glibcxx_cv_func_frexpl_use=no
38370 fi
38371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38372 ac_ext=c
38373 ac_cpp='$CPP $CPPFLAGS'
38374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38377
38378
38379 fi
38380
38381 fi
38382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38383 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38384
38385 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38386 for ac_func in frexpl
38387 do :
38388 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38389 if test "x$ac_cv_func_frexpl" = x""yes; then :
38390 cat >>confdefs.h <<_ACEOF
38391 #define HAVE_FREXPL 1
38392 _ACEOF
38393
38394 fi
38395 done
38396
38397 else
38398
38399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38400 $as_echo_n "checking for _frexpl declaration... " >&6; }
38401 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38402 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38403 $as_echo_n "(cached) " >&6
38404 else
38405
38406
38407 ac_ext=cpp
38408 ac_cpp='$CXXCPP $CPPFLAGS'
38409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38412
38413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38414 /* end confdefs.h. */
38415 #include <math.h>
38416 int
38417 main ()
38418 {
38419 _frexpl(0, 0);
38420 ;
38421 return 0;
38422 }
38423 _ACEOF
38424 if ac_fn_cxx_try_compile "$LINENO"; then :
38425 glibcxx_cv_func__frexpl_use=yes
38426 else
38427 glibcxx_cv_func__frexpl_use=no
38428 fi
38429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38430 ac_ext=c
38431 ac_cpp='$CPP $CPPFLAGS'
38432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38435
38436
38437 fi
38438
38439 fi
38440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38441 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38442
38443 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38444 for ac_func in _frexpl
38445 do :
38446 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38447 if test "x$ac_cv_func__frexpl" = x""yes; then :
38448 cat >>confdefs.h <<_ACEOF
38449 #define HAVE__FREXPL 1
38450 _ACEOF
38451
38452 fi
38453 done
38454
38455 fi
38456 fi
38457
38458
38459
38460
38461
38462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38463 $as_echo_n "checking for hypotl declaration... " >&6; }
38464 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38465 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38466 $as_echo_n "(cached) " >&6
38467 else
38468
38469
38470 ac_ext=cpp
38471 ac_cpp='$CXXCPP $CPPFLAGS'
38472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38475
38476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38477 /* end confdefs.h. */
38478 #include <math.h>
38479 int
38480 main ()
38481 {
38482 hypotl(0, 0);
38483 ;
38484 return 0;
38485 }
38486 _ACEOF
38487 if ac_fn_cxx_try_compile "$LINENO"; then :
38488 glibcxx_cv_func_hypotl_use=yes
38489 else
38490 glibcxx_cv_func_hypotl_use=no
38491 fi
38492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38493 ac_ext=c
38494 ac_cpp='$CPP $CPPFLAGS'
38495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38498
38499
38500 fi
38501
38502 fi
38503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38504 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38505
38506 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38507 for ac_func in hypotl
38508 do :
38509 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38510 if test "x$ac_cv_func_hypotl" = x""yes; then :
38511 cat >>confdefs.h <<_ACEOF
38512 #define HAVE_HYPOTL 1
38513 _ACEOF
38514
38515 fi
38516 done
38517
38518 else
38519
38520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38521 $as_echo_n "checking for _hypotl declaration... " >&6; }
38522 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38523 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38524 $as_echo_n "(cached) " >&6
38525 else
38526
38527
38528 ac_ext=cpp
38529 ac_cpp='$CXXCPP $CPPFLAGS'
38530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38533
38534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38535 /* end confdefs.h. */
38536 #include <math.h>
38537 int
38538 main ()
38539 {
38540 _hypotl(0, 0);
38541 ;
38542 return 0;
38543 }
38544 _ACEOF
38545 if ac_fn_cxx_try_compile "$LINENO"; then :
38546 glibcxx_cv_func__hypotl_use=yes
38547 else
38548 glibcxx_cv_func__hypotl_use=no
38549 fi
38550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38551 ac_ext=c
38552 ac_cpp='$CPP $CPPFLAGS'
38553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38556
38557
38558 fi
38559
38560 fi
38561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38562 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38563
38564 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38565 for ac_func in _hypotl
38566 do :
38567 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38568 if test "x$ac_cv_func__hypotl" = x""yes; then :
38569 cat >>confdefs.h <<_ACEOF
38570 #define HAVE__HYPOTL 1
38571 _ACEOF
38572
38573 fi
38574 done
38575
38576 fi
38577 fi
38578
38579
38580
38581
38582
38583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38584 $as_echo_n "checking for ldexpl declaration... " >&6; }
38585 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38586 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38587 $as_echo_n "(cached) " >&6
38588 else
38589
38590
38591 ac_ext=cpp
38592 ac_cpp='$CXXCPP $CPPFLAGS'
38593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38596
38597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38598 /* end confdefs.h. */
38599 #include <math.h>
38600 int
38601 main ()
38602 {
38603 ldexpl(0, 0);
38604 ;
38605 return 0;
38606 }
38607 _ACEOF
38608 if ac_fn_cxx_try_compile "$LINENO"; then :
38609 glibcxx_cv_func_ldexpl_use=yes
38610 else
38611 glibcxx_cv_func_ldexpl_use=no
38612 fi
38613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38614 ac_ext=c
38615 ac_cpp='$CPP $CPPFLAGS'
38616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38619
38620
38621 fi
38622
38623 fi
38624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38625 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38626
38627 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38628 for ac_func in ldexpl
38629 do :
38630 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38631 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38632 cat >>confdefs.h <<_ACEOF
38633 #define HAVE_LDEXPL 1
38634 _ACEOF
38635
38636 fi
38637 done
38638
38639 else
38640
38641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38642 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38643 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38644 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38645 $as_echo_n "(cached) " >&6
38646 else
38647
38648
38649 ac_ext=cpp
38650 ac_cpp='$CXXCPP $CPPFLAGS'
38651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38654
38655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38656 /* end confdefs.h. */
38657 #include <math.h>
38658 int
38659 main ()
38660 {
38661 _ldexpl(0, 0);
38662 ;
38663 return 0;
38664 }
38665 _ACEOF
38666 if ac_fn_cxx_try_compile "$LINENO"; then :
38667 glibcxx_cv_func__ldexpl_use=yes
38668 else
38669 glibcxx_cv_func__ldexpl_use=no
38670 fi
38671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38672 ac_ext=c
38673 ac_cpp='$CPP $CPPFLAGS'
38674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677
38678
38679 fi
38680
38681 fi
38682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38683 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38684
38685 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38686 for ac_func in _ldexpl
38687 do :
38688 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38689 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38690 cat >>confdefs.h <<_ACEOF
38691 #define HAVE__LDEXPL 1
38692 _ACEOF
38693
38694 fi
38695 done
38696
38697 fi
38698 fi
38699
38700
38701
38702
38703
38704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38705 $as_echo_n "checking for logl declaration... " >&6; }
38706 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38707 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38708 $as_echo_n "(cached) " >&6
38709 else
38710
38711
38712 ac_ext=cpp
38713 ac_cpp='$CXXCPP $CPPFLAGS'
38714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38717
38718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38719 /* end confdefs.h. */
38720 #include <math.h>
38721 #ifdef HAVE_IEEEFP_H
38722 #include <ieeefp.h>
38723 #endif
38724
38725 int
38726 main ()
38727 {
38728 logl(0);
38729 ;
38730 return 0;
38731 }
38732 _ACEOF
38733 if ac_fn_cxx_try_compile "$LINENO"; then :
38734 glibcxx_cv_func_logl_use=yes
38735 else
38736 glibcxx_cv_func_logl_use=no
38737 fi
38738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38739 ac_ext=c
38740 ac_cpp='$CPP $CPPFLAGS'
38741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38744
38745
38746 fi
38747
38748 fi
38749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38750 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38751
38752 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38753 for ac_func in logl
38754 do :
38755 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38756 if test "x$ac_cv_func_logl" = x""yes; then :
38757 cat >>confdefs.h <<_ACEOF
38758 #define HAVE_LOGL 1
38759 _ACEOF
38760
38761 fi
38762 done
38763
38764 else
38765
38766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38767 $as_echo_n "checking for _logl declaration... " >&6; }
38768 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38769 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38770 $as_echo_n "(cached) " >&6
38771 else
38772
38773
38774 ac_ext=cpp
38775 ac_cpp='$CXXCPP $CPPFLAGS'
38776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38779
38780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38781 /* end confdefs.h. */
38782 #include <math.h>
38783 #ifdef HAVE_IEEEFP_H
38784 #include <ieeefp.h>
38785 #endif
38786
38787 int
38788 main ()
38789 {
38790 _logl(0);
38791 ;
38792 return 0;
38793 }
38794 _ACEOF
38795 if ac_fn_cxx_try_compile "$LINENO"; then :
38796 glibcxx_cv_func__logl_use=yes
38797 else
38798 glibcxx_cv_func__logl_use=no
38799 fi
38800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38801 ac_ext=c
38802 ac_cpp='$CPP $CPPFLAGS'
38803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38806
38807
38808 fi
38809
38810 fi
38811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38812 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38813
38814 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38815 for ac_func in _logl
38816 do :
38817 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38818 if test "x$ac_cv_func__logl" = x""yes; then :
38819 cat >>confdefs.h <<_ACEOF
38820 #define HAVE__LOGL 1
38821 _ACEOF
38822
38823 fi
38824 done
38825
38826 fi
38827 fi
38828
38829
38830
38831
38832
38833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38834 $as_echo_n "checking for log10l declaration... " >&6; }
38835 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38836 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38837 $as_echo_n "(cached) " >&6
38838 else
38839
38840
38841 ac_ext=cpp
38842 ac_cpp='$CXXCPP $CPPFLAGS'
38843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38846
38847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38848 /* end confdefs.h. */
38849 #include <math.h>
38850 #ifdef HAVE_IEEEFP_H
38851 #include <ieeefp.h>
38852 #endif
38853
38854 int
38855 main ()
38856 {
38857 log10l(0);
38858 ;
38859 return 0;
38860 }
38861 _ACEOF
38862 if ac_fn_cxx_try_compile "$LINENO"; then :
38863 glibcxx_cv_func_log10l_use=yes
38864 else
38865 glibcxx_cv_func_log10l_use=no
38866 fi
38867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38868 ac_ext=c
38869 ac_cpp='$CPP $CPPFLAGS'
38870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38873
38874
38875 fi
38876
38877 fi
38878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38879 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38880
38881 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38882 for ac_func in log10l
38883 do :
38884 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38885 if test "x$ac_cv_func_log10l" = x""yes; then :
38886 cat >>confdefs.h <<_ACEOF
38887 #define HAVE_LOG10L 1
38888 _ACEOF
38889
38890 fi
38891 done
38892
38893 else
38894
38895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38896 $as_echo_n "checking for _log10l declaration... " >&6; }
38897 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38898 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38899 $as_echo_n "(cached) " >&6
38900 else
38901
38902
38903 ac_ext=cpp
38904 ac_cpp='$CXXCPP $CPPFLAGS'
38905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38908
38909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38910 /* end confdefs.h. */
38911 #include <math.h>
38912 #ifdef HAVE_IEEEFP_H
38913 #include <ieeefp.h>
38914 #endif
38915
38916 int
38917 main ()
38918 {
38919 _log10l(0);
38920 ;
38921 return 0;
38922 }
38923 _ACEOF
38924 if ac_fn_cxx_try_compile "$LINENO"; then :
38925 glibcxx_cv_func__log10l_use=yes
38926 else
38927 glibcxx_cv_func__log10l_use=no
38928 fi
38929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38930 ac_ext=c
38931 ac_cpp='$CPP $CPPFLAGS'
38932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38935
38936
38937 fi
38938
38939 fi
38940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38941 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38942
38943 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38944 for ac_func in _log10l
38945 do :
38946 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38947 if test "x$ac_cv_func__log10l" = x""yes; then :
38948 cat >>confdefs.h <<_ACEOF
38949 #define HAVE__LOG10L 1
38950 _ACEOF
38951
38952 fi
38953 done
38954
38955 fi
38956 fi
38957
38958
38959
38960
38961
38962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38963 $as_echo_n "checking for modfl declaration... " >&6; }
38964 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38965 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38966 $as_echo_n "(cached) " >&6
38967 else
38968
38969
38970 ac_ext=cpp
38971 ac_cpp='$CXXCPP $CPPFLAGS'
38972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38975
38976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38977 /* end confdefs.h. */
38978 #include <math.h>
38979 int
38980 main ()
38981 {
38982 modfl(0, 0);
38983 ;
38984 return 0;
38985 }
38986 _ACEOF
38987 if ac_fn_cxx_try_compile "$LINENO"; then :
38988 glibcxx_cv_func_modfl_use=yes
38989 else
38990 glibcxx_cv_func_modfl_use=no
38991 fi
38992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38993 ac_ext=c
38994 ac_cpp='$CPP $CPPFLAGS'
38995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38998
38999
39000 fi
39001
39002 fi
39003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39004 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39005
39006 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39007 for ac_func in modfl
39008 do :
39009 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39010 if test "x$ac_cv_func_modfl" = x""yes; then :
39011 cat >>confdefs.h <<_ACEOF
39012 #define HAVE_MODFL 1
39013 _ACEOF
39014
39015 fi
39016 done
39017
39018 else
39019
39020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39021 $as_echo_n "checking for _modfl declaration... " >&6; }
39022 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39023 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39024 $as_echo_n "(cached) " >&6
39025 else
39026
39027
39028 ac_ext=cpp
39029 ac_cpp='$CXXCPP $CPPFLAGS'
39030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39033
39034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39035 /* end confdefs.h. */
39036 #include <math.h>
39037 int
39038 main ()
39039 {
39040 _modfl(0, 0);
39041 ;
39042 return 0;
39043 }
39044 _ACEOF
39045 if ac_fn_cxx_try_compile "$LINENO"; then :
39046 glibcxx_cv_func__modfl_use=yes
39047 else
39048 glibcxx_cv_func__modfl_use=no
39049 fi
39050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39051 ac_ext=c
39052 ac_cpp='$CPP $CPPFLAGS'
39053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39056
39057
39058 fi
39059
39060 fi
39061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39062 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39063
39064 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39065 for ac_func in _modfl
39066 do :
39067 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39068 if test "x$ac_cv_func__modfl" = x""yes; then :
39069 cat >>confdefs.h <<_ACEOF
39070 #define HAVE__MODFL 1
39071 _ACEOF
39072
39073 fi
39074 done
39075
39076 fi
39077 fi
39078
39079
39080
39081
39082
39083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39084 $as_echo_n "checking for powl declaration... " >&6; }
39085 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39086 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39087 $as_echo_n "(cached) " >&6
39088 else
39089
39090
39091 ac_ext=cpp
39092 ac_cpp='$CXXCPP $CPPFLAGS'
39093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39096
39097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39098 /* end confdefs.h. */
39099 #include <math.h>
39100 int
39101 main ()
39102 {
39103 powl(0, 0);
39104 ;
39105 return 0;
39106 }
39107 _ACEOF
39108 if ac_fn_cxx_try_compile "$LINENO"; then :
39109 glibcxx_cv_func_powl_use=yes
39110 else
39111 glibcxx_cv_func_powl_use=no
39112 fi
39113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39114 ac_ext=c
39115 ac_cpp='$CPP $CPPFLAGS'
39116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39119
39120
39121 fi
39122
39123 fi
39124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39125 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39126
39127 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39128 for ac_func in powl
39129 do :
39130 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39131 if test "x$ac_cv_func_powl" = x""yes; then :
39132 cat >>confdefs.h <<_ACEOF
39133 #define HAVE_POWL 1
39134 _ACEOF
39135
39136 fi
39137 done
39138
39139 else
39140
39141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39142 $as_echo_n "checking for _powl declaration... " >&6; }
39143 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39144 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39145 $as_echo_n "(cached) " >&6
39146 else
39147
39148
39149 ac_ext=cpp
39150 ac_cpp='$CXXCPP $CPPFLAGS'
39151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39154
39155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39156 /* end confdefs.h. */
39157 #include <math.h>
39158 int
39159 main ()
39160 {
39161 _powl(0, 0);
39162 ;
39163 return 0;
39164 }
39165 _ACEOF
39166 if ac_fn_cxx_try_compile "$LINENO"; then :
39167 glibcxx_cv_func__powl_use=yes
39168 else
39169 glibcxx_cv_func__powl_use=no
39170 fi
39171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39172 ac_ext=c
39173 ac_cpp='$CPP $CPPFLAGS'
39174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39177
39178
39179 fi
39180
39181 fi
39182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39183 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39184
39185 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39186 for ac_func in _powl
39187 do :
39188 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39189 if test "x$ac_cv_func__powl" = x""yes; then :
39190 cat >>confdefs.h <<_ACEOF
39191 #define HAVE__POWL 1
39192 _ACEOF
39193
39194 fi
39195 done
39196
39197 fi
39198 fi
39199
39200
39201
39202
39203
39204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39205 $as_echo_n "checking for sqrtl declaration... " >&6; }
39206 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39207 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39208 $as_echo_n "(cached) " >&6
39209 else
39210
39211
39212 ac_ext=cpp
39213 ac_cpp='$CXXCPP $CPPFLAGS'
39214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39217
39218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39219 /* end confdefs.h. */
39220 #include <math.h>
39221 #ifdef HAVE_IEEEFP_H
39222 #include <ieeefp.h>
39223 #endif
39224
39225 int
39226 main ()
39227 {
39228 sqrtl(0);
39229 ;
39230 return 0;
39231 }
39232 _ACEOF
39233 if ac_fn_cxx_try_compile "$LINENO"; then :
39234 glibcxx_cv_func_sqrtl_use=yes
39235 else
39236 glibcxx_cv_func_sqrtl_use=no
39237 fi
39238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39239 ac_ext=c
39240 ac_cpp='$CPP $CPPFLAGS'
39241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39244
39245
39246 fi
39247
39248 fi
39249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39250 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39251
39252 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39253 for ac_func in sqrtl
39254 do :
39255 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39256 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39257 cat >>confdefs.h <<_ACEOF
39258 #define HAVE_SQRTL 1
39259 _ACEOF
39260
39261 fi
39262 done
39263
39264 else
39265
39266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39267 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39268 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39269 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39270 $as_echo_n "(cached) " >&6
39271 else
39272
39273
39274 ac_ext=cpp
39275 ac_cpp='$CXXCPP $CPPFLAGS'
39276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39279
39280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39281 /* end confdefs.h. */
39282 #include <math.h>
39283 #ifdef HAVE_IEEEFP_H
39284 #include <ieeefp.h>
39285 #endif
39286
39287 int
39288 main ()
39289 {
39290 _sqrtl(0);
39291 ;
39292 return 0;
39293 }
39294 _ACEOF
39295 if ac_fn_cxx_try_compile "$LINENO"; then :
39296 glibcxx_cv_func__sqrtl_use=yes
39297 else
39298 glibcxx_cv_func__sqrtl_use=no
39299 fi
39300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39301 ac_ext=c
39302 ac_cpp='$CPP $CPPFLAGS'
39303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39306
39307
39308 fi
39309
39310 fi
39311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39312 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39313
39314 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39315 for ac_func in _sqrtl
39316 do :
39317 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39318 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39319 cat >>confdefs.h <<_ACEOF
39320 #define HAVE__SQRTL 1
39321 _ACEOF
39322
39323 fi
39324 done
39325
39326 fi
39327 fi
39328
39329
39330
39331
39332
39333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39334 $as_echo_n "checking for sincosl declaration... " >&6; }
39335 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39336 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39337 $as_echo_n "(cached) " >&6
39338 else
39339
39340
39341 ac_ext=cpp
39342 ac_cpp='$CXXCPP $CPPFLAGS'
39343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39346
39347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39348 /* end confdefs.h. */
39349 #include <math.h>
39350 int
39351 main ()
39352 {
39353 sincosl(0, 0, 0);
39354 ;
39355 return 0;
39356 }
39357 _ACEOF
39358 if ac_fn_cxx_try_compile "$LINENO"; then :
39359 glibcxx_cv_func_sincosl_use=yes
39360 else
39361 glibcxx_cv_func_sincosl_use=no
39362 fi
39363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39364 ac_ext=c
39365 ac_cpp='$CPP $CPPFLAGS'
39366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39369
39370
39371 fi
39372
39373 fi
39374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39375 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39376
39377 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39378 for ac_func in sincosl
39379 do :
39380 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39381 if test "x$ac_cv_func_sincosl" = x""yes; then :
39382 cat >>confdefs.h <<_ACEOF
39383 #define HAVE_SINCOSL 1
39384 _ACEOF
39385
39386 fi
39387 done
39388
39389 else
39390
39391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39392 $as_echo_n "checking for _sincosl declaration... " >&6; }
39393 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39394 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39395 $as_echo_n "(cached) " >&6
39396 else
39397
39398
39399 ac_ext=cpp
39400 ac_cpp='$CXXCPP $CPPFLAGS'
39401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39404
39405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39406 /* end confdefs.h. */
39407 #include <math.h>
39408 int
39409 main ()
39410 {
39411 _sincosl(0, 0, 0);
39412 ;
39413 return 0;
39414 }
39415 _ACEOF
39416 if ac_fn_cxx_try_compile "$LINENO"; then :
39417 glibcxx_cv_func__sincosl_use=yes
39418 else
39419 glibcxx_cv_func__sincosl_use=no
39420 fi
39421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39422 ac_ext=c
39423 ac_cpp='$CPP $CPPFLAGS'
39424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39427
39428
39429 fi
39430
39431 fi
39432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39433 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39434
39435 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39436 for ac_func in _sincosl
39437 do :
39438 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39439 if test "x$ac_cv_func__sincosl" = x""yes; then :
39440 cat >>confdefs.h <<_ACEOF
39441 #define HAVE__SINCOSL 1
39442 _ACEOF
39443
39444 fi
39445 done
39446
39447 fi
39448 fi
39449
39450
39451
39452
39453
39454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39455 $as_echo_n "checking for finitel declaration... " >&6; }
39456 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39457 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39458 $as_echo_n "(cached) " >&6
39459 else
39460
39461
39462 ac_ext=cpp
39463 ac_cpp='$CXXCPP $CPPFLAGS'
39464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39467
39468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39469 /* end confdefs.h. */
39470 #include <math.h>
39471 #ifdef HAVE_IEEEFP_H
39472 #include <ieeefp.h>
39473 #endif
39474
39475 int
39476 main ()
39477 {
39478 finitel(0);
39479 ;
39480 return 0;
39481 }
39482 _ACEOF
39483 if ac_fn_cxx_try_compile "$LINENO"; then :
39484 glibcxx_cv_func_finitel_use=yes
39485 else
39486 glibcxx_cv_func_finitel_use=no
39487 fi
39488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39489 ac_ext=c
39490 ac_cpp='$CPP $CPPFLAGS'
39491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39494
39495
39496 fi
39497
39498 fi
39499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39500 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39501
39502 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39503 for ac_func in finitel
39504 do :
39505 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39506 if test "x$ac_cv_func_finitel" = x""yes; then :
39507 cat >>confdefs.h <<_ACEOF
39508 #define HAVE_FINITEL 1
39509 _ACEOF
39510
39511 fi
39512 done
39513
39514 else
39515
39516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39517 $as_echo_n "checking for _finitel declaration... " >&6; }
39518 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39519 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39520 $as_echo_n "(cached) " >&6
39521 else
39522
39523
39524 ac_ext=cpp
39525 ac_cpp='$CXXCPP $CPPFLAGS'
39526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39529
39530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39531 /* end confdefs.h. */
39532 #include <math.h>
39533 #ifdef HAVE_IEEEFP_H
39534 #include <ieeefp.h>
39535 #endif
39536
39537 int
39538 main ()
39539 {
39540 _finitel(0);
39541 ;
39542 return 0;
39543 }
39544 _ACEOF
39545 if ac_fn_cxx_try_compile "$LINENO"; then :
39546 glibcxx_cv_func__finitel_use=yes
39547 else
39548 glibcxx_cv_func__finitel_use=no
39549 fi
39550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39551 ac_ext=c
39552 ac_cpp='$CPP $CPPFLAGS'
39553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39556
39557
39558 fi
39559
39560 fi
39561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39562 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39563
39564 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39565 for ac_func in _finitel
39566 do :
39567 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39568 if test "x$ac_cv_func__finitel" = x""yes; then :
39569 cat >>confdefs.h <<_ACEOF
39570 #define HAVE__FINITEL 1
39571 _ACEOF
39572
39573 fi
39574 done
39575
39576 fi
39577 fi
39578
39579
39580
39581
39582 LIBS="$ac_save_LIBS"
39583 CXXFLAGS="$ac_save_CXXFLAGS"
39584
39585
39586 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39587 ac_save_CXXFLAGS="$CXXFLAGS"
39588 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39589
39590
39591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39592 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39593 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39594 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39595 $as_echo_n "(cached) " >&6
39596 else
39597
39598
39599 ac_ext=cpp
39600 ac_cpp='$CXXCPP $CPPFLAGS'
39601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39604
39605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39606 /* end confdefs.h. */
39607 #include <stdlib.h>
39608 int
39609 main ()
39610 {
39611 at_quick_exit(0);
39612 ;
39613 return 0;
39614 }
39615 _ACEOF
39616 if ac_fn_cxx_try_compile "$LINENO"; then :
39617 glibcxx_cv_func_at_quick_exit_use=yes
39618 else
39619 glibcxx_cv_func_at_quick_exit_use=no
39620 fi
39621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39622 ac_ext=c
39623 ac_cpp='$CPP $CPPFLAGS'
39624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39627
39628
39629 fi
39630
39631 fi
39632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39633 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39634 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39635 for ac_func in at_quick_exit
39636 do :
39637 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39638 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39639 cat >>confdefs.h <<_ACEOF
39640 #define HAVE_AT_QUICK_EXIT 1
39641 _ACEOF
39642
39643 fi
39644 done
39645
39646 fi
39647
39648
39649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39650 $as_echo_n "checking for quick_exit declaration... " >&6; }
39651 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39652 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39653 $as_echo_n "(cached) " >&6
39654 else
39655
39656
39657 ac_ext=cpp
39658 ac_cpp='$CXXCPP $CPPFLAGS'
39659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39662
39663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39664 /* end confdefs.h. */
39665 #include <stdlib.h>
39666 int
39667 main ()
39668 {
39669 quick_exit(0);
39670 ;
39671 return 0;
39672 }
39673 _ACEOF
39674 if ac_fn_cxx_try_compile "$LINENO"; then :
39675 glibcxx_cv_func_quick_exit_use=yes
39676 else
39677 glibcxx_cv_func_quick_exit_use=no
39678 fi
39679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39680 ac_ext=c
39681 ac_cpp='$CPP $CPPFLAGS'
39682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39685
39686
39687 fi
39688
39689 fi
39690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39691 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39692 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39693 for ac_func in quick_exit
39694 do :
39695 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39696 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39697 cat >>confdefs.h <<_ACEOF
39698 #define HAVE_QUICK_EXIT 1
39699 _ACEOF
39700
39701 fi
39702 done
39703
39704 fi
39705
39706
39707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39708 $as_echo_n "checking for strtold declaration... " >&6; }
39709 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39710 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39711 $as_echo_n "(cached) " >&6
39712 else
39713
39714
39715 ac_ext=cpp
39716 ac_cpp='$CXXCPP $CPPFLAGS'
39717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39720
39721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39722 /* end confdefs.h. */
39723 #include <stdlib.h>
39724 int
39725 main ()
39726 {
39727 strtold(0, 0);
39728 ;
39729 return 0;
39730 }
39731 _ACEOF
39732 if ac_fn_cxx_try_compile "$LINENO"; then :
39733 glibcxx_cv_func_strtold_use=yes
39734 else
39735 glibcxx_cv_func_strtold_use=no
39736 fi
39737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39738 ac_ext=c
39739 ac_cpp='$CPP $CPPFLAGS'
39740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39743
39744
39745 fi
39746
39747 fi
39748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39749 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39750 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39751 for ac_func in strtold
39752 do :
39753 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39754 if test "x$ac_cv_func_strtold" = x""yes; then :
39755 cat >>confdefs.h <<_ACEOF
39756 #define HAVE_STRTOLD 1
39757 _ACEOF
39758
39759 fi
39760 done
39761
39762 fi
39763
39764
39765
39766
39767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39768 $as_echo_n "checking for strtof declaration... " >&6; }
39769 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39770 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39771 $as_echo_n "(cached) " >&6
39772 else
39773
39774
39775 ac_ext=cpp
39776 ac_cpp='$CXXCPP $CPPFLAGS'
39777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39780
39781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39782 /* end confdefs.h. */
39783 #include <stdlib.h>
39784 int
39785 main ()
39786 {
39787 strtof(0, 0);
39788 ;
39789 return 0;
39790 }
39791 _ACEOF
39792 if ac_fn_cxx_try_compile "$LINENO"; then :
39793 glibcxx_cv_func_strtof_use=yes
39794 else
39795 glibcxx_cv_func_strtof_use=no
39796 fi
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798 ac_ext=c
39799 ac_cpp='$CPP $CPPFLAGS'
39800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39803
39804
39805 fi
39806
39807 fi
39808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39809 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39810 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39811 for ac_func in strtof
39812 do :
39813 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39814 if test "x$ac_cv_func_strtof" = x""yes; then :
39815 cat >>confdefs.h <<_ACEOF
39816 #define HAVE_STRTOF 1
39817 _ACEOF
39818
39819 fi
39820 done
39821
39822 fi
39823
39824
39825
39826
39827 CXXFLAGS="$ac_save_CXXFLAGS"
39828
39829
39830
39831
39832
39833
39834 am_save_CPPFLAGS="$CPPFLAGS"
39835
39836 for element in $INCICONV; do
39837 haveit=
39838 for x in $CPPFLAGS; do
39839
39840 acl_save_prefix="$prefix"
39841 prefix="$acl_final_prefix"
39842 acl_save_exec_prefix="$exec_prefix"
39843 exec_prefix="$acl_final_exec_prefix"
39844 eval x=\"$x\"
39845 exec_prefix="$acl_save_exec_prefix"
39846 prefix="$acl_save_prefix"
39847
39848 if test "X$x" = "X$element"; then
39849 haveit=yes
39850 break
39851 fi
39852 done
39853 if test -z "$haveit"; then
39854 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39855 fi
39856 done
39857
39858
39859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39860 $as_echo_n "checking for iconv... " >&6; }
39861 if test "${am_cv_func_iconv+set}" = set; then :
39862 $as_echo_n "(cached) " >&6
39863 else
39864
39865 am_cv_func_iconv="no, consider installing GNU libiconv"
39866 am_cv_lib_iconv=no
39867 if test x$gcc_no_link = xyes; then
39868 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39869 fi
39870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39871 /* end confdefs.h. */
39872 #include <stdlib.h>
39873 #include <iconv.h>
39874 int
39875 main ()
39876 {
39877 iconv_t cd = iconv_open("","");
39878 iconv(cd,NULL,NULL,NULL,NULL);
39879 iconv_close(cd);
39880 ;
39881 return 0;
39882 }
39883 _ACEOF
39884 if ac_fn_c_try_link "$LINENO"; then :
39885 am_cv_func_iconv=yes
39886 fi
39887 rm -f core conftest.err conftest.$ac_objext \
39888 conftest$ac_exeext conftest.$ac_ext
39889 if test "$am_cv_func_iconv" != yes; then
39890 am_save_LIBS="$LIBS"
39891 LIBS="$LIBS $LIBICONV"
39892 if test x$gcc_no_link = xyes; then
39893 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39894 fi
39895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39896 /* end confdefs.h. */
39897 #include <stdlib.h>
39898 #include <iconv.h>
39899 int
39900 main ()
39901 {
39902 iconv_t cd = iconv_open("","");
39903 iconv(cd,NULL,NULL,NULL,NULL);
39904 iconv_close(cd);
39905 ;
39906 return 0;
39907 }
39908 _ACEOF
39909 if ac_fn_c_try_link "$LINENO"; then :
39910 am_cv_lib_iconv=yes
39911 am_cv_func_iconv=yes
39912 fi
39913 rm -f core conftest.err conftest.$ac_objext \
39914 conftest$ac_exeext conftest.$ac_ext
39915 LIBS="$am_save_LIBS"
39916 fi
39917
39918 fi
39919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39920 $as_echo "$am_cv_func_iconv" >&6; }
39921 if test "$am_cv_func_iconv" = yes; then
39922
39923 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39924
39925 fi
39926 if test "$am_cv_lib_iconv" = yes; then
39927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39928 $as_echo_n "checking how to link with libiconv... " >&6; }
39929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39930 $as_echo "$LIBICONV" >&6; }
39931 else
39932 CPPFLAGS="$am_save_CPPFLAGS"
39933 LIBICONV=
39934 LTLIBICONV=
39935 fi
39936
39937
39938
39939 if test "$am_cv_func_iconv" = yes; then
39940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39941 $as_echo_n "checking for iconv declaration... " >&6; }
39942 if test "${am_cv_proto_iconv+set}" = set; then :
39943 $as_echo_n "(cached) " >&6
39944 else
39945
39946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39947 /* end confdefs.h. */
39948
39949 #include <stdlib.h>
39950 #include <iconv.h>
39951 extern
39952 #ifdef __cplusplus
39953 "C"
39954 #endif
39955 #if defined(__STDC__) || defined(__cplusplus)
39956 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39957 #else
39958 size_t iconv();
39959 #endif
39960
39961 int
39962 main ()
39963 {
39964
39965 ;
39966 return 0;
39967 }
39968 _ACEOF
39969 if ac_fn_c_try_compile "$LINENO"; then :
39970 am_cv_proto_iconv_arg1=""
39971 else
39972 am_cv_proto_iconv_arg1="const"
39973 fi
39974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39975 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);"
39976 fi
39977
39978 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39980 }$am_cv_proto_iconv" >&5
39981 $as_echo "${ac_t:-
39982 }$am_cv_proto_iconv" >&6; }
39983
39984 cat >>confdefs.h <<_ACEOF
39985 #define ICONV_CONST $am_cv_proto_iconv_arg1
39986 _ACEOF
39987
39988 fi
39989
39990 ;;
39991
39992 *-aix*)
39993
39994 # If we're not using GNU ld, then there's no point in even trying these
39995 # tests. Check for that first. We should have already tested for gld
39996 # by now (in libtool), but require it now just to be safe...
39997 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
39998 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
39999
40000
40001
40002 # The name set by libtool depends on the version of libtool. Shame on us
40003 # for depending on an impl detail, but c'est la vie. Older versions used
40004 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40005 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40006 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40007 # set (hence we're using an older libtool), then set it.
40008 if test x${with_gnu_ld+set} != xset; then
40009 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40010 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40011 with_gnu_ld=no
40012 else
40013 with_gnu_ld=$ac_cv_prog_gnu_ld
40014 fi
40015 fi
40016
40017 # Start by getting the version number. I think the libtool test already
40018 # does some of this, but throws away the result.
40019 glibcxx_ld_is_gold=no
40020 if test x"$with_gnu_ld" = x"yes"; then
40021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40022 $as_echo_n "checking for ld version... " >&6; }
40023
40024 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40025 glibcxx_ld_is_gold=yes
40026 fi
40027 ldver=`$LD --version 2>/dev/null |
40028 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'`
40029
40030 glibcxx_gnu_ld_version=`echo $ldver | \
40031 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40033 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40034 fi
40035
40036 # Set --gc-sections.
40037 glibcxx_have_gc_sections=no
40038 if test "$glibcxx_ld_is_gold" = "yes"; then
40039 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40040 glibcxx_have_gc_sections=yes
40041 fi
40042 else
40043 glibcxx_gcsections_min_ld=21602
40044 if test x"$with_gnu_ld" = x"yes" &&
40045 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40046 glibcxx_have_gc_sections=yes
40047 fi
40048 fi
40049 if test "$glibcxx_have_gc_sections" = "yes"; then
40050 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40051 # NB: This flag only works reliably after 2.16.1. Configure tests
40052 # for this are difficult, so hard wire a value that should work.
40053
40054 ac_test_CFLAGS="${CFLAGS+set}"
40055 ac_save_CFLAGS="$CFLAGS"
40056 CFLAGS='-Wl,--gc-sections'
40057
40058 # Check for -Wl,--gc-sections
40059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40060 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40061 if test x$gcc_no_link = xyes; then
40062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40063 fi
40064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40065 /* end confdefs.h. */
40066 int one(void) { return 1; }
40067 int two(void) { return 2; }
40068
40069 int
40070 main ()
40071 {
40072 two();
40073 ;
40074 return 0;
40075 }
40076 _ACEOF
40077 if ac_fn_c_try_link "$LINENO"; then :
40078 ac_gcsections=yes
40079 else
40080 ac_gcsections=no
40081 fi
40082 rm -f core conftest.err conftest.$ac_objext \
40083 conftest$ac_exeext conftest.$ac_ext
40084 if test "$ac_gcsections" = "yes"; then
40085 rm -f conftest.c
40086 touch conftest.c
40087 if $CC -c conftest.c; then
40088 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40089 grep "Warning: gc-sections option ignored" > /dev/null; then
40090 ac_gcsections=no
40091 fi
40092 fi
40093 rm -f conftest.c conftest.o conftest
40094 fi
40095 if test "$ac_gcsections" = "yes"; then
40096 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40097 fi
40098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40099 $as_echo "$ac_gcsections" >&6; }
40100
40101 if test "$ac_test_CFLAGS" = set; then
40102 CFLAGS="$ac_save_CFLAGS"
40103 else
40104 # this is the suspicious part
40105 CFLAGS=''
40106 fi
40107 fi
40108
40109 # Set -z,relro.
40110 # Note this is only for shared objects.
40111 ac_ld_relro=no
40112 if test x"$with_gnu_ld" = x"yes"; then
40113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40114 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40115 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40116 if test -n "$cxx_z_relo"; then
40117 OPT_LDFLAGS="-Wl,-z,relro"
40118 ac_ld_relro=yes
40119 fi
40120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40121 $as_echo "$ac_ld_relro" >&6; }
40122 fi
40123
40124 # Set linker optimization flags.
40125 if test x"$with_gnu_ld" = x"yes"; then
40126 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40127 fi
40128
40129
40130
40131
40132
40133 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40134 ac_save_CXXFLAGS="$CXXFLAGS"
40135 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40136
40137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40138 $as_echo_n "checking for sin in -lm... " >&6; }
40139 if test "${ac_cv_lib_m_sin+set}" = set; then :
40140 $as_echo_n "(cached) " >&6
40141 else
40142 ac_check_lib_save_LIBS=$LIBS
40143 LIBS="-lm $LIBS"
40144 if test x$gcc_no_link = xyes; then
40145 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40146 fi
40147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40148 /* end confdefs.h. */
40149
40150 /* Override any GCC internal prototype to avoid an error.
40151 Use char because int might match the return type of a GCC
40152 builtin and then its argument prototype would still apply. */
40153 #ifdef __cplusplus
40154 extern "C"
40155 #endif
40156 char sin ();
40157 int
40158 main ()
40159 {
40160 return sin ();
40161 ;
40162 return 0;
40163 }
40164 _ACEOF
40165 if ac_fn_c_try_link "$LINENO"; then :
40166 ac_cv_lib_m_sin=yes
40167 else
40168 ac_cv_lib_m_sin=no
40169 fi
40170 rm -f core conftest.err conftest.$ac_objext \
40171 conftest$ac_exeext conftest.$ac_ext
40172 LIBS=$ac_check_lib_save_LIBS
40173 fi
40174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40175 $as_echo "$ac_cv_lib_m_sin" >&6; }
40176 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40177 libm="-lm"
40178 fi
40179
40180 ac_save_LIBS="$LIBS"
40181 LIBS="$LIBS $libm"
40182
40183
40184
40185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40186 $as_echo_n "checking for isinf declaration... " >&6; }
40187 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40188 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40189 $as_echo_n "(cached) " >&6
40190 else
40191
40192
40193 ac_ext=cpp
40194 ac_cpp='$CXXCPP $CPPFLAGS'
40195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40198
40199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40200 /* end confdefs.h. */
40201 #include <math.h>
40202 #ifdef HAVE_IEEEFP_H
40203 #include <ieeefp.h>
40204 #endif
40205
40206 int
40207 main ()
40208 {
40209 isinf(0);
40210 ;
40211 return 0;
40212 }
40213 _ACEOF
40214 if ac_fn_cxx_try_compile "$LINENO"; then :
40215 glibcxx_cv_func_isinf_use=yes
40216 else
40217 glibcxx_cv_func_isinf_use=no
40218 fi
40219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40220 ac_ext=c
40221 ac_cpp='$CPP $CPPFLAGS'
40222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40225
40226
40227 fi
40228
40229 fi
40230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40231 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40232
40233 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40234 for ac_func in isinf
40235 do :
40236 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40237 if test "x$ac_cv_func_isinf" = x""yes; then :
40238 cat >>confdefs.h <<_ACEOF
40239 #define HAVE_ISINF 1
40240 _ACEOF
40241
40242 fi
40243 done
40244
40245 else
40246
40247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40248 $as_echo_n "checking for _isinf declaration... " >&6; }
40249 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40250 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40251 $as_echo_n "(cached) " >&6
40252 else
40253
40254
40255 ac_ext=cpp
40256 ac_cpp='$CXXCPP $CPPFLAGS'
40257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40260
40261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40262 /* end confdefs.h. */
40263 #include <math.h>
40264 #ifdef HAVE_IEEEFP_H
40265 #include <ieeefp.h>
40266 #endif
40267
40268 int
40269 main ()
40270 {
40271 _isinf(0);
40272 ;
40273 return 0;
40274 }
40275 _ACEOF
40276 if ac_fn_cxx_try_compile "$LINENO"; then :
40277 glibcxx_cv_func__isinf_use=yes
40278 else
40279 glibcxx_cv_func__isinf_use=no
40280 fi
40281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40282 ac_ext=c
40283 ac_cpp='$CPP $CPPFLAGS'
40284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40287
40288
40289 fi
40290
40291 fi
40292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40293 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40294
40295 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40296 for ac_func in _isinf
40297 do :
40298 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40299 if test "x$ac_cv_func__isinf" = x""yes; then :
40300 cat >>confdefs.h <<_ACEOF
40301 #define HAVE__ISINF 1
40302 _ACEOF
40303
40304 fi
40305 done
40306
40307 fi
40308 fi
40309
40310
40311
40312
40313
40314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40315 $as_echo_n "checking for isnan declaration... " >&6; }
40316 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40317 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40318 $as_echo_n "(cached) " >&6
40319 else
40320
40321
40322 ac_ext=cpp
40323 ac_cpp='$CXXCPP $CPPFLAGS'
40324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40327
40328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40329 /* end confdefs.h. */
40330 #include <math.h>
40331 #ifdef HAVE_IEEEFP_H
40332 #include <ieeefp.h>
40333 #endif
40334
40335 int
40336 main ()
40337 {
40338 isnan(0);
40339 ;
40340 return 0;
40341 }
40342 _ACEOF
40343 if ac_fn_cxx_try_compile "$LINENO"; then :
40344 glibcxx_cv_func_isnan_use=yes
40345 else
40346 glibcxx_cv_func_isnan_use=no
40347 fi
40348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40349 ac_ext=c
40350 ac_cpp='$CPP $CPPFLAGS'
40351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40354
40355
40356 fi
40357
40358 fi
40359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40360 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40361
40362 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40363 for ac_func in isnan
40364 do :
40365 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40366 if test "x$ac_cv_func_isnan" = x""yes; then :
40367 cat >>confdefs.h <<_ACEOF
40368 #define HAVE_ISNAN 1
40369 _ACEOF
40370
40371 fi
40372 done
40373
40374 else
40375
40376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40377 $as_echo_n "checking for _isnan declaration... " >&6; }
40378 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40379 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40380 $as_echo_n "(cached) " >&6
40381 else
40382
40383
40384 ac_ext=cpp
40385 ac_cpp='$CXXCPP $CPPFLAGS'
40386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40389
40390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40391 /* end confdefs.h. */
40392 #include <math.h>
40393 #ifdef HAVE_IEEEFP_H
40394 #include <ieeefp.h>
40395 #endif
40396
40397 int
40398 main ()
40399 {
40400 _isnan(0);
40401 ;
40402 return 0;
40403 }
40404 _ACEOF
40405 if ac_fn_cxx_try_compile "$LINENO"; then :
40406 glibcxx_cv_func__isnan_use=yes
40407 else
40408 glibcxx_cv_func__isnan_use=no
40409 fi
40410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40411 ac_ext=c
40412 ac_cpp='$CPP $CPPFLAGS'
40413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40416
40417
40418 fi
40419
40420 fi
40421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40422 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40423
40424 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40425 for ac_func in _isnan
40426 do :
40427 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40428 if test "x$ac_cv_func__isnan" = x""yes; then :
40429 cat >>confdefs.h <<_ACEOF
40430 #define HAVE__ISNAN 1
40431 _ACEOF
40432
40433 fi
40434 done
40435
40436 fi
40437 fi
40438
40439
40440
40441
40442
40443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40444 $as_echo_n "checking for finite declaration... " >&6; }
40445 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40446 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40447 $as_echo_n "(cached) " >&6
40448 else
40449
40450
40451 ac_ext=cpp
40452 ac_cpp='$CXXCPP $CPPFLAGS'
40453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40456
40457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40458 /* end confdefs.h. */
40459 #include <math.h>
40460 #ifdef HAVE_IEEEFP_H
40461 #include <ieeefp.h>
40462 #endif
40463
40464 int
40465 main ()
40466 {
40467 finite(0);
40468 ;
40469 return 0;
40470 }
40471 _ACEOF
40472 if ac_fn_cxx_try_compile "$LINENO"; then :
40473 glibcxx_cv_func_finite_use=yes
40474 else
40475 glibcxx_cv_func_finite_use=no
40476 fi
40477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40478 ac_ext=c
40479 ac_cpp='$CPP $CPPFLAGS'
40480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40483
40484
40485 fi
40486
40487 fi
40488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40489 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40490
40491 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40492 for ac_func in finite
40493 do :
40494 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40495 if test "x$ac_cv_func_finite" = x""yes; then :
40496 cat >>confdefs.h <<_ACEOF
40497 #define HAVE_FINITE 1
40498 _ACEOF
40499
40500 fi
40501 done
40502
40503 else
40504
40505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40506 $as_echo_n "checking for _finite declaration... " >&6; }
40507 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40508 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40509 $as_echo_n "(cached) " >&6
40510 else
40511
40512
40513 ac_ext=cpp
40514 ac_cpp='$CXXCPP $CPPFLAGS'
40515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40518
40519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40520 /* end confdefs.h. */
40521 #include <math.h>
40522 #ifdef HAVE_IEEEFP_H
40523 #include <ieeefp.h>
40524 #endif
40525
40526 int
40527 main ()
40528 {
40529 _finite(0);
40530 ;
40531 return 0;
40532 }
40533 _ACEOF
40534 if ac_fn_cxx_try_compile "$LINENO"; then :
40535 glibcxx_cv_func__finite_use=yes
40536 else
40537 glibcxx_cv_func__finite_use=no
40538 fi
40539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40540 ac_ext=c
40541 ac_cpp='$CPP $CPPFLAGS'
40542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40545
40546
40547 fi
40548
40549 fi
40550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40551 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40552
40553 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40554 for ac_func in _finite
40555 do :
40556 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40557 if test "x$ac_cv_func__finite" = x""yes; then :
40558 cat >>confdefs.h <<_ACEOF
40559 #define HAVE__FINITE 1
40560 _ACEOF
40561
40562 fi
40563 done
40564
40565 fi
40566 fi
40567
40568
40569
40570
40571
40572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40573 $as_echo_n "checking for sincos declaration... " >&6; }
40574 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40575 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40576 $as_echo_n "(cached) " >&6
40577 else
40578
40579
40580 ac_ext=cpp
40581 ac_cpp='$CXXCPP $CPPFLAGS'
40582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40585
40586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40587 /* end confdefs.h. */
40588 #include <math.h>
40589 int
40590 main ()
40591 {
40592 sincos(0, 0, 0);
40593 ;
40594 return 0;
40595 }
40596 _ACEOF
40597 if ac_fn_cxx_try_compile "$LINENO"; then :
40598 glibcxx_cv_func_sincos_use=yes
40599 else
40600 glibcxx_cv_func_sincos_use=no
40601 fi
40602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40603 ac_ext=c
40604 ac_cpp='$CPP $CPPFLAGS'
40605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40608
40609
40610 fi
40611
40612 fi
40613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40614 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40615
40616 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40617 for ac_func in sincos
40618 do :
40619 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40620 if test "x$ac_cv_func_sincos" = x""yes; then :
40621 cat >>confdefs.h <<_ACEOF
40622 #define HAVE_SINCOS 1
40623 _ACEOF
40624
40625 fi
40626 done
40627
40628 else
40629
40630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40631 $as_echo_n "checking for _sincos declaration... " >&6; }
40632 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40633 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40634 $as_echo_n "(cached) " >&6
40635 else
40636
40637
40638 ac_ext=cpp
40639 ac_cpp='$CXXCPP $CPPFLAGS'
40640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40643
40644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40645 /* end confdefs.h. */
40646 #include <math.h>
40647 int
40648 main ()
40649 {
40650 _sincos(0, 0, 0);
40651 ;
40652 return 0;
40653 }
40654 _ACEOF
40655 if ac_fn_cxx_try_compile "$LINENO"; then :
40656 glibcxx_cv_func__sincos_use=yes
40657 else
40658 glibcxx_cv_func__sincos_use=no
40659 fi
40660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40661 ac_ext=c
40662 ac_cpp='$CPP $CPPFLAGS'
40663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40666
40667
40668 fi
40669
40670 fi
40671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40672 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40673
40674 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40675 for ac_func in _sincos
40676 do :
40677 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40678 if test "x$ac_cv_func__sincos" = x""yes; then :
40679 cat >>confdefs.h <<_ACEOF
40680 #define HAVE__SINCOS 1
40681 _ACEOF
40682
40683 fi
40684 done
40685
40686 fi
40687 fi
40688
40689
40690
40691
40692
40693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40694 $as_echo_n "checking for fpclass declaration... " >&6; }
40695 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40696 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40697 $as_echo_n "(cached) " >&6
40698 else
40699
40700
40701 ac_ext=cpp
40702 ac_cpp='$CXXCPP $CPPFLAGS'
40703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40706
40707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40708 /* end confdefs.h. */
40709 #include <math.h>
40710 #ifdef HAVE_IEEEFP_H
40711 #include <ieeefp.h>
40712 #endif
40713
40714 int
40715 main ()
40716 {
40717 fpclass(0);
40718 ;
40719 return 0;
40720 }
40721 _ACEOF
40722 if ac_fn_cxx_try_compile "$LINENO"; then :
40723 glibcxx_cv_func_fpclass_use=yes
40724 else
40725 glibcxx_cv_func_fpclass_use=no
40726 fi
40727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40728 ac_ext=c
40729 ac_cpp='$CPP $CPPFLAGS'
40730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40733
40734
40735 fi
40736
40737 fi
40738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40739 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40740
40741 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40742 for ac_func in fpclass
40743 do :
40744 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40745 if test "x$ac_cv_func_fpclass" = x""yes; then :
40746 cat >>confdefs.h <<_ACEOF
40747 #define HAVE_FPCLASS 1
40748 _ACEOF
40749
40750 fi
40751 done
40752
40753 else
40754
40755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40756 $as_echo_n "checking for _fpclass declaration... " >&6; }
40757 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40758 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40759 $as_echo_n "(cached) " >&6
40760 else
40761
40762
40763 ac_ext=cpp
40764 ac_cpp='$CXXCPP $CPPFLAGS'
40765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40768
40769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40770 /* end confdefs.h. */
40771 #include <math.h>
40772 #ifdef HAVE_IEEEFP_H
40773 #include <ieeefp.h>
40774 #endif
40775
40776 int
40777 main ()
40778 {
40779 _fpclass(0);
40780 ;
40781 return 0;
40782 }
40783 _ACEOF
40784 if ac_fn_cxx_try_compile "$LINENO"; then :
40785 glibcxx_cv_func__fpclass_use=yes
40786 else
40787 glibcxx_cv_func__fpclass_use=no
40788 fi
40789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40790 ac_ext=c
40791 ac_cpp='$CPP $CPPFLAGS'
40792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40795
40796
40797 fi
40798
40799 fi
40800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40801 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40802
40803 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40804 for ac_func in _fpclass
40805 do :
40806 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40807 if test "x$ac_cv_func__fpclass" = x""yes; then :
40808 cat >>confdefs.h <<_ACEOF
40809 #define HAVE__FPCLASS 1
40810 _ACEOF
40811
40812 fi
40813 done
40814
40815 fi
40816 fi
40817
40818
40819
40820
40821
40822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40823 $as_echo_n "checking for qfpclass declaration... " >&6; }
40824 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40825 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40826 $as_echo_n "(cached) " >&6
40827 else
40828
40829
40830 ac_ext=cpp
40831 ac_cpp='$CXXCPP $CPPFLAGS'
40832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40835
40836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40837 /* end confdefs.h. */
40838 #include <math.h>
40839 #ifdef HAVE_IEEEFP_H
40840 #include <ieeefp.h>
40841 #endif
40842
40843 int
40844 main ()
40845 {
40846 qfpclass(0);
40847 ;
40848 return 0;
40849 }
40850 _ACEOF
40851 if ac_fn_cxx_try_compile "$LINENO"; then :
40852 glibcxx_cv_func_qfpclass_use=yes
40853 else
40854 glibcxx_cv_func_qfpclass_use=no
40855 fi
40856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40857 ac_ext=c
40858 ac_cpp='$CPP $CPPFLAGS'
40859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40862
40863
40864 fi
40865
40866 fi
40867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40868 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40869
40870 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40871 for ac_func in qfpclass
40872 do :
40873 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40874 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40875 cat >>confdefs.h <<_ACEOF
40876 #define HAVE_QFPCLASS 1
40877 _ACEOF
40878
40879 fi
40880 done
40881
40882 else
40883
40884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40885 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40886 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40887 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40888 $as_echo_n "(cached) " >&6
40889 else
40890
40891
40892 ac_ext=cpp
40893 ac_cpp='$CXXCPP $CPPFLAGS'
40894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40897
40898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40899 /* end confdefs.h. */
40900 #include <math.h>
40901 #ifdef HAVE_IEEEFP_H
40902 #include <ieeefp.h>
40903 #endif
40904
40905 int
40906 main ()
40907 {
40908 _qfpclass(0);
40909 ;
40910 return 0;
40911 }
40912 _ACEOF
40913 if ac_fn_cxx_try_compile "$LINENO"; then :
40914 glibcxx_cv_func__qfpclass_use=yes
40915 else
40916 glibcxx_cv_func__qfpclass_use=no
40917 fi
40918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40919 ac_ext=c
40920 ac_cpp='$CPP $CPPFLAGS'
40921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40924
40925
40926 fi
40927
40928 fi
40929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40930 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40931
40932 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40933 for ac_func in _qfpclass
40934 do :
40935 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40936 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40937 cat >>confdefs.h <<_ACEOF
40938 #define HAVE__QFPCLASS 1
40939 _ACEOF
40940
40941 fi
40942 done
40943
40944 fi
40945 fi
40946
40947
40948
40949
40950
40951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40952 $as_echo_n "checking for hypot declaration... " >&6; }
40953 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40954 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40955 $as_echo_n "(cached) " >&6
40956 else
40957
40958
40959 ac_ext=cpp
40960 ac_cpp='$CXXCPP $CPPFLAGS'
40961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40964
40965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40966 /* end confdefs.h. */
40967 #include <math.h>
40968 int
40969 main ()
40970 {
40971 hypot(0, 0);
40972 ;
40973 return 0;
40974 }
40975 _ACEOF
40976 if ac_fn_cxx_try_compile "$LINENO"; then :
40977 glibcxx_cv_func_hypot_use=yes
40978 else
40979 glibcxx_cv_func_hypot_use=no
40980 fi
40981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40982 ac_ext=c
40983 ac_cpp='$CPP $CPPFLAGS'
40984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40987
40988
40989 fi
40990
40991 fi
40992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40993 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40994
40995 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40996 for ac_func in hypot
40997 do :
40998 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40999 if test "x$ac_cv_func_hypot" = x""yes; then :
41000 cat >>confdefs.h <<_ACEOF
41001 #define HAVE_HYPOT 1
41002 _ACEOF
41003
41004 fi
41005 done
41006
41007 else
41008
41009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41010 $as_echo_n "checking for _hypot declaration... " >&6; }
41011 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41012 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41013 $as_echo_n "(cached) " >&6
41014 else
41015
41016
41017 ac_ext=cpp
41018 ac_cpp='$CXXCPP $CPPFLAGS'
41019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41022
41023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41024 /* end confdefs.h. */
41025 #include <math.h>
41026 int
41027 main ()
41028 {
41029 _hypot(0, 0);
41030 ;
41031 return 0;
41032 }
41033 _ACEOF
41034 if ac_fn_cxx_try_compile "$LINENO"; then :
41035 glibcxx_cv_func__hypot_use=yes
41036 else
41037 glibcxx_cv_func__hypot_use=no
41038 fi
41039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41040 ac_ext=c
41041 ac_cpp='$CPP $CPPFLAGS'
41042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41045
41046
41047 fi
41048
41049 fi
41050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41051 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41052
41053 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41054 for ac_func in _hypot
41055 do :
41056 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41057 if test "x$ac_cv_func__hypot" = x""yes; then :
41058 cat >>confdefs.h <<_ACEOF
41059 #define HAVE__HYPOT 1
41060 _ACEOF
41061
41062 fi
41063 done
41064
41065 fi
41066 fi
41067
41068
41069
41070
41071
41072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41073 $as_echo_n "checking for float trig functions... " >&6; }
41074 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41075 $as_echo_n "(cached) " >&6
41076 else
41077
41078
41079 ac_ext=cpp
41080 ac_cpp='$CXXCPP $CPPFLAGS'
41081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41084
41085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41086 /* end confdefs.h. */
41087 #include <math.h>
41088 int
41089 main ()
41090 {
41091 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41092 ;
41093 return 0;
41094 }
41095 _ACEOF
41096 if ac_fn_cxx_try_compile "$LINENO"; then :
41097 glibcxx_cv_func_float_trig_use=yes
41098 else
41099 glibcxx_cv_func_float_trig_use=no
41100 fi
41101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41102 ac_ext=c
41103 ac_cpp='$CPP $CPPFLAGS'
41104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41107
41108 fi
41109
41110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41111 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41112 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41113 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41114 do :
41115 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41116 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41117 eval as_val=\$$as_ac_var
41118 if test "x$as_val" = x""yes; then :
41119 cat >>confdefs.h <<_ACEOF
41120 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41121 _ACEOF
41122
41123 fi
41124 done
41125
41126 else
41127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41128 $as_echo_n "checking for _float trig functions... " >&6; }
41129 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41130 $as_echo_n "(cached) " >&6
41131 else
41132
41133
41134 ac_ext=cpp
41135 ac_cpp='$CXXCPP $CPPFLAGS'
41136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41139
41140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41141 /* end confdefs.h. */
41142 #include <math.h>
41143 int
41144 main ()
41145 {
41146 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41147 ;
41148 return 0;
41149 }
41150 _ACEOF
41151 if ac_fn_cxx_try_compile "$LINENO"; then :
41152 glibcxx_cv_func__float_trig_use=yes
41153 else
41154 glibcxx_cv_func__float_trig_use=no
41155 fi
41156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41157 ac_ext=c
41158 ac_cpp='$CPP $CPPFLAGS'
41159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41162
41163 fi
41164
41165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41166 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41167 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41168 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41169 do :
41170 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41171 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41172 eval as_val=\$$as_ac_var
41173 if test "x$as_val" = x""yes; then :
41174 cat >>confdefs.h <<_ACEOF
41175 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41176 _ACEOF
41177
41178 fi
41179 done
41180
41181 fi
41182 fi
41183
41184
41185
41186
41187
41188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41189 $as_echo_n "checking for float round functions... " >&6; }
41190 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41191 $as_echo_n "(cached) " >&6
41192 else
41193
41194
41195 ac_ext=cpp
41196 ac_cpp='$CXXCPP $CPPFLAGS'
41197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41200
41201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41202 /* end confdefs.h. */
41203 #include <math.h>
41204 int
41205 main ()
41206 {
41207 ceilf (0); floorf (0);
41208 ;
41209 return 0;
41210 }
41211 _ACEOF
41212 if ac_fn_cxx_try_compile "$LINENO"; then :
41213 glibcxx_cv_func_float_round_use=yes
41214 else
41215 glibcxx_cv_func_float_round_use=no
41216 fi
41217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41218 ac_ext=c
41219 ac_cpp='$CPP $CPPFLAGS'
41220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41223
41224 fi
41225
41226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41227 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41228 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41229 for ac_func in ceilf floorf
41230 do :
41231 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41232 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41233 eval as_val=\$$as_ac_var
41234 if test "x$as_val" = x""yes; then :
41235 cat >>confdefs.h <<_ACEOF
41236 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41237 _ACEOF
41238
41239 fi
41240 done
41241
41242 else
41243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41244 $as_echo_n "checking for _float round functions... " >&6; }
41245 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41246 $as_echo_n "(cached) " >&6
41247 else
41248
41249
41250 ac_ext=cpp
41251 ac_cpp='$CXXCPP $CPPFLAGS'
41252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41255
41256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41257 /* end confdefs.h. */
41258 #include <math.h>
41259 int
41260 main ()
41261 {
41262 _ceilf (0); _floorf (0);
41263 ;
41264 return 0;
41265 }
41266 _ACEOF
41267 if ac_fn_cxx_try_compile "$LINENO"; then :
41268 glibcxx_cv_func__float_round_use=yes
41269 else
41270 glibcxx_cv_func__float_round_use=no
41271 fi
41272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41273 ac_ext=c
41274 ac_cpp='$CPP $CPPFLAGS'
41275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41278
41279 fi
41280
41281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41282 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41283 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41284 for ac_func in _ceilf _floorf
41285 do :
41286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41288 eval as_val=\$$as_ac_var
41289 if test "x$as_val" = x""yes; then :
41290 cat >>confdefs.h <<_ACEOF
41291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41292 _ACEOF
41293
41294 fi
41295 done
41296
41297 fi
41298 fi
41299
41300
41301
41302
41303
41304
41305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41306 $as_echo_n "checking for expf declaration... " >&6; }
41307 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41308 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41309 $as_echo_n "(cached) " >&6
41310 else
41311
41312
41313 ac_ext=cpp
41314 ac_cpp='$CXXCPP $CPPFLAGS'
41315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41318
41319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41320 /* end confdefs.h. */
41321 #include <math.h>
41322 #ifdef HAVE_IEEEFP_H
41323 #include <ieeefp.h>
41324 #endif
41325
41326 int
41327 main ()
41328 {
41329 expf(0);
41330 ;
41331 return 0;
41332 }
41333 _ACEOF
41334 if ac_fn_cxx_try_compile "$LINENO"; then :
41335 glibcxx_cv_func_expf_use=yes
41336 else
41337 glibcxx_cv_func_expf_use=no
41338 fi
41339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41340 ac_ext=c
41341 ac_cpp='$CPP $CPPFLAGS'
41342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41345
41346
41347 fi
41348
41349 fi
41350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41351 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41352
41353 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41354 for ac_func in expf
41355 do :
41356 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41357 if test "x$ac_cv_func_expf" = x""yes; then :
41358 cat >>confdefs.h <<_ACEOF
41359 #define HAVE_EXPF 1
41360 _ACEOF
41361
41362 fi
41363 done
41364
41365 else
41366
41367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41368 $as_echo_n "checking for _expf declaration... " >&6; }
41369 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41370 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41371 $as_echo_n "(cached) " >&6
41372 else
41373
41374
41375 ac_ext=cpp
41376 ac_cpp='$CXXCPP $CPPFLAGS'
41377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41380
41381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41382 /* end confdefs.h. */
41383 #include <math.h>
41384 #ifdef HAVE_IEEEFP_H
41385 #include <ieeefp.h>
41386 #endif
41387
41388 int
41389 main ()
41390 {
41391 _expf(0);
41392 ;
41393 return 0;
41394 }
41395 _ACEOF
41396 if ac_fn_cxx_try_compile "$LINENO"; then :
41397 glibcxx_cv_func__expf_use=yes
41398 else
41399 glibcxx_cv_func__expf_use=no
41400 fi
41401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41402 ac_ext=c
41403 ac_cpp='$CPP $CPPFLAGS'
41404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41407
41408
41409 fi
41410
41411 fi
41412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41413 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41414
41415 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41416 for ac_func in _expf
41417 do :
41418 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41419 if test "x$ac_cv_func__expf" = x""yes; then :
41420 cat >>confdefs.h <<_ACEOF
41421 #define HAVE__EXPF 1
41422 _ACEOF
41423
41424 fi
41425 done
41426
41427 fi
41428 fi
41429
41430
41431
41432
41433
41434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41435 $as_echo_n "checking for isnanf declaration... " >&6; }
41436 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41437 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41438 $as_echo_n "(cached) " >&6
41439 else
41440
41441
41442 ac_ext=cpp
41443 ac_cpp='$CXXCPP $CPPFLAGS'
41444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41447
41448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41449 /* end confdefs.h. */
41450 #include <math.h>
41451 #ifdef HAVE_IEEEFP_H
41452 #include <ieeefp.h>
41453 #endif
41454
41455 int
41456 main ()
41457 {
41458 isnanf(0);
41459 ;
41460 return 0;
41461 }
41462 _ACEOF
41463 if ac_fn_cxx_try_compile "$LINENO"; then :
41464 glibcxx_cv_func_isnanf_use=yes
41465 else
41466 glibcxx_cv_func_isnanf_use=no
41467 fi
41468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41469 ac_ext=c
41470 ac_cpp='$CPP $CPPFLAGS'
41471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41474
41475
41476 fi
41477
41478 fi
41479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41480 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41481
41482 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41483 for ac_func in isnanf
41484 do :
41485 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41486 if test "x$ac_cv_func_isnanf" = x""yes; then :
41487 cat >>confdefs.h <<_ACEOF
41488 #define HAVE_ISNANF 1
41489 _ACEOF
41490
41491 fi
41492 done
41493
41494 else
41495
41496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41497 $as_echo_n "checking for _isnanf declaration... " >&6; }
41498 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41499 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41500 $as_echo_n "(cached) " >&6
41501 else
41502
41503
41504 ac_ext=cpp
41505 ac_cpp='$CXXCPP $CPPFLAGS'
41506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41509
41510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41511 /* end confdefs.h. */
41512 #include <math.h>
41513 #ifdef HAVE_IEEEFP_H
41514 #include <ieeefp.h>
41515 #endif
41516
41517 int
41518 main ()
41519 {
41520 _isnanf(0);
41521 ;
41522 return 0;
41523 }
41524 _ACEOF
41525 if ac_fn_cxx_try_compile "$LINENO"; then :
41526 glibcxx_cv_func__isnanf_use=yes
41527 else
41528 glibcxx_cv_func__isnanf_use=no
41529 fi
41530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41531 ac_ext=c
41532 ac_cpp='$CPP $CPPFLAGS'
41533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41536
41537
41538 fi
41539
41540 fi
41541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41542 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41543
41544 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41545 for ac_func in _isnanf
41546 do :
41547 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41548 if test "x$ac_cv_func__isnanf" = x""yes; then :
41549 cat >>confdefs.h <<_ACEOF
41550 #define HAVE__ISNANF 1
41551 _ACEOF
41552
41553 fi
41554 done
41555
41556 fi
41557 fi
41558
41559
41560
41561
41562
41563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41564 $as_echo_n "checking for isinff declaration... " >&6; }
41565 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41566 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41567 $as_echo_n "(cached) " >&6
41568 else
41569
41570
41571 ac_ext=cpp
41572 ac_cpp='$CXXCPP $CPPFLAGS'
41573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41576
41577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41578 /* end confdefs.h. */
41579 #include <math.h>
41580 #ifdef HAVE_IEEEFP_H
41581 #include <ieeefp.h>
41582 #endif
41583
41584 int
41585 main ()
41586 {
41587 isinff(0);
41588 ;
41589 return 0;
41590 }
41591 _ACEOF
41592 if ac_fn_cxx_try_compile "$LINENO"; then :
41593 glibcxx_cv_func_isinff_use=yes
41594 else
41595 glibcxx_cv_func_isinff_use=no
41596 fi
41597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41598 ac_ext=c
41599 ac_cpp='$CPP $CPPFLAGS'
41600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41603
41604
41605 fi
41606
41607 fi
41608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41609 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41610
41611 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41612 for ac_func in isinff
41613 do :
41614 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41615 if test "x$ac_cv_func_isinff" = x""yes; then :
41616 cat >>confdefs.h <<_ACEOF
41617 #define HAVE_ISINFF 1
41618 _ACEOF
41619
41620 fi
41621 done
41622
41623 else
41624
41625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41626 $as_echo_n "checking for _isinff declaration... " >&6; }
41627 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41628 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41629 $as_echo_n "(cached) " >&6
41630 else
41631
41632
41633 ac_ext=cpp
41634 ac_cpp='$CXXCPP $CPPFLAGS'
41635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41638
41639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41640 /* end confdefs.h. */
41641 #include <math.h>
41642 #ifdef HAVE_IEEEFP_H
41643 #include <ieeefp.h>
41644 #endif
41645
41646 int
41647 main ()
41648 {
41649 _isinff(0);
41650 ;
41651 return 0;
41652 }
41653 _ACEOF
41654 if ac_fn_cxx_try_compile "$LINENO"; then :
41655 glibcxx_cv_func__isinff_use=yes
41656 else
41657 glibcxx_cv_func__isinff_use=no
41658 fi
41659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41660 ac_ext=c
41661 ac_cpp='$CPP $CPPFLAGS'
41662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41665
41666
41667 fi
41668
41669 fi
41670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41671 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41672
41673 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41674 for ac_func in _isinff
41675 do :
41676 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41677 if test "x$ac_cv_func__isinff" = x""yes; then :
41678 cat >>confdefs.h <<_ACEOF
41679 #define HAVE__ISINFF 1
41680 _ACEOF
41681
41682 fi
41683 done
41684
41685 fi
41686 fi
41687
41688
41689
41690
41691
41692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41693 $as_echo_n "checking for atan2f declaration... " >&6; }
41694 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41695 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41696 $as_echo_n "(cached) " >&6
41697 else
41698
41699
41700 ac_ext=cpp
41701 ac_cpp='$CXXCPP $CPPFLAGS'
41702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41705
41706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41707 /* end confdefs.h. */
41708 #include <math.h>
41709 int
41710 main ()
41711 {
41712 atan2f(0, 0);
41713 ;
41714 return 0;
41715 }
41716 _ACEOF
41717 if ac_fn_cxx_try_compile "$LINENO"; then :
41718 glibcxx_cv_func_atan2f_use=yes
41719 else
41720 glibcxx_cv_func_atan2f_use=no
41721 fi
41722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41723 ac_ext=c
41724 ac_cpp='$CPP $CPPFLAGS'
41725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41728
41729
41730 fi
41731
41732 fi
41733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41734 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41735
41736 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41737 for ac_func in atan2f
41738 do :
41739 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41740 if test "x$ac_cv_func_atan2f" = x""yes; then :
41741 cat >>confdefs.h <<_ACEOF
41742 #define HAVE_ATAN2F 1
41743 _ACEOF
41744
41745 fi
41746 done
41747
41748 else
41749
41750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41751 $as_echo_n "checking for _atan2f declaration... " >&6; }
41752 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41753 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41754 $as_echo_n "(cached) " >&6
41755 else
41756
41757
41758 ac_ext=cpp
41759 ac_cpp='$CXXCPP $CPPFLAGS'
41760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41763
41764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41765 /* end confdefs.h. */
41766 #include <math.h>
41767 int
41768 main ()
41769 {
41770 _atan2f(0, 0);
41771 ;
41772 return 0;
41773 }
41774 _ACEOF
41775 if ac_fn_cxx_try_compile "$LINENO"; then :
41776 glibcxx_cv_func__atan2f_use=yes
41777 else
41778 glibcxx_cv_func__atan2f_use=no
41779 fi
41780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41781 ac_ext=c
41782 ac_cpp='$CPP $CPPFLAGS'
41783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41786
41787
41788 fi
41789
41790 fi
41791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41792 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41793
41794 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41795 for ac_func in _atan2f
41796 do :
41797 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41798 if test "x$ac_cv_func__atan2f" = x""yes; then :
41799 cat >>confdefs.h <<_ACEOF
41800 #define HAVE__ATAN2F 1
41801 _ACEOF
41802
41803 fi
41804 done
41805
41806 fi
41807 fi
41808
41809
41810
41811
41812
41813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41814 $as_echo_n "checking for fabsf declaration... " >&6; }
41815 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41816 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41817 $as_echo_n "(cached) " >&6
41818 else
41819
41820
41821 ac_ext=cpp
41822 ac_cpp='$CXXCPP $CPPFLAGS'
41823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41826
41827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41828 /* end confdefs.h. */
41829 #include <math.h>
41830 #ifdef HAVE_IEEEFP_H
41831 #include <ieeefp.h>
41832 #endif
41833
41834 int
41835 main ()
41836 {
41837 fabsf(0);
41838 ;
41839 return 0;
41840 }
41841 _ACEOF
41842 if ac_fn_cxx_try_compile "$LINENO"; then :
41843 glibcxx_cv_func_fabsf_use=yes
41844 else
41845 glibcxx_cv_func_fabsf_use=no
41846 fi
41847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41848 ac_ext=c
41849 ac_cpp='$CPP $CPPFLAGS'
41850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41853
41854
41855 fi
41856
41857 fi
41858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41859 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41860
41861 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41862 for ac_func in fabsf
41863 do :
41864 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41865 if test "x$ac_cv_func_fabsf" = x""yes; then :
41866 cat >>confdefs.h <<_ACEOF
41867 #define HAVE_FABSF 1
41868 _ACEOF
41869
41870 fi
41871 done
41872
41873 else
41874
41875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41876 $as_echo_n "checking for _fabsf declaration... " >&6; }
41877 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41878 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41879 $as_echo_n "(cached) " >&6
41880 else
41881
41882
41883 ac_ext=cpp
41884 ac_cpp='$CXXCPP $CPPFLAGS'
41885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41888
41889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41890 /* end confdefs.h. */
41891 #include <math.h>
41892 #ifdef HAVE_IEEEFP_H
41893 #include <ieeefp.h>
41894 #endif
41895
41896 int
41897 main ()
41898 {
41899 _fabsf(0);
41900 ;
41901 return 0;
41902 }
41903 _ACEOF
41904 if ac_fn_cxx_try_compile "$LINENO"; then :
41905 glibcxx_cv_func__fabsf_use=yes
41906 else
41907 glibcxx_cv_func__fabsf_use=no
41908 fi
41909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41910 ac_ext=c
41911 ac_cpp='$CPP $CPPFLAGS'
41912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41915
41916
41917 fi
41918
41919 fi
41920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41921 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41922
41923 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41924 for ac_func in _fabsf
41925 do :
41926 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41927 if test "x$ac_cv_func__fabsf" = x""yes; then :
41928 cat >>confdefs.h <<_ACEOF
41929 #define HAVE__FABSF 1
41930 _ACEOF
41931
41932 fi
41933 done
41934
41935 fi
41936 fi
41937
41938
41939
41940
41941
41942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41943 $as_echo_n "checking for fmodf declaration... " >&6; }
41944 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41945 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41946 $as_echo_n "(cached) " >&6
41947 else
41948
41949
41950 ac_ext=cpp
41951 ac_cpp='$CXXCPP $CPPFLAGS'
41952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41955
41956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41957 /* end confdefs.h. */
41958 #include <math.h>
41959 int
41960 main ()
41961 {
41962 fmodf(0, 0);
41963 ;
41964 return 0;
41965 }
41966 _ACEOF
41967 if ac_fn_cxx_try_compile "$LINENO"; then :
41968 glibcxx_cv_func_fmodf_use=yes
41969 else
41970 glibcxx_cv_func_fmodf_use=no
41971 fi
41972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41973 ac_ext=c
41974 ac_cpp='$CPP $CPPFLAGS'
41975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41978
41979
41980 fi
41981
41982 fi
41983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41984 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41985
41986 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41987 for ac_func in fmodf
41988 do :
41989 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41990 if test "x$ac_cv_func_fmodf" = x""yes; then :
41991 cat >>confdefs.h <<_ACEOF
41992 #define HAVE_FMODF 1
41993 _ACEOF
41994
41995 fi
41996 done
41997
41998 else
41999
42000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42001 $as_echo_n "checking for _fmodf declaration... " >&6; }
42002 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42003 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42004 $as_echo_n "(cached) " >&6
42005 else
42006
42007
42008 ac_ext=cpp
42009 ac_cpp='$CXXCPP $CPPFLAGS'
42010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42013
42014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42015 /* end confdefs.h. */
42016 #include <math.h>
42017 int
42018 main ()
42019 {
42020 _fmodf(0, 0);
42021 ;
42022 return 0;
42023 }
42024 _ACEOF
42025 if ac_fn_cxx_try_compile "$LINENO"; then :
42026 glibcxx_cv_func__fmodf_use=yes
42027 else
42028 glibcxx_cv_func__fmodf_use=no
42029 fi
42030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42031 ac_ext=c
42032 ac_cpp='$CPP $CPPFLAGS'
42033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42036
42037
42038 fi
42039
42040 fi
42041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42042 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42043
42044 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42045 for ac_func in _fmodf
42046 do :
42047 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42048 if test "x$ac_cv_func__fmodf" = x""yes; then :
42049 cat >>confdefs.h <<_ACEOF
42050 #define HAVE__FMODF 1
42051 _ACEOF
42052
42053 fi
42054 done
42055
42056 fi
42057 fi
42058
42059
42060
42061
42062
42063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42064 $as_echo_n "checking for frexpf declaration... " >&6; }
42065 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42066 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42067 $as_echo_n "(cached) " >&6
42068 else
42069
42070
42071 ac_ext=cpp
42072 ac_cpp='$CXXCPP $CPPFLAGS'
42073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42076
42077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42078 /* end confdefs.h. */
42079 #include <math.h>
42080 int
42081 main ()
42082 {
42083 frexpf(0, 0);
42084 ;
42085 return 0;
42086 }
42087 _ACEOF
42088 if ac_fn_cxx_try_compile "$LINENO"; then :
42089 glibcxx_cv_func_frexpf_use=yes
42090 else
42091 glibcxx_cv_func_frexpf_use=no
42092 fi
42093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42094 ac_ext=c
42095 ac_cpp='$CPP $CPPFLAGS'
42096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42099
42100
42101 fi
42102
42103 fi
42104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42105 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42106
42107 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42108 for ac_func in frexpf
42109 do :
42110 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42111 if test "x$ac_cv_func_frexpf" = x""yes; then :
42112 cat >>confdefs.h <<_ACEOF
42113 #define HAVE_FREXPF 1
42114 _ACEOF
42115
42116 fi
42117 done
42118
42119 else
42120
42121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42122 $as_echo_n "checking for _frexpf declaration... " >&6; }
42123 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42124 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42125 $as_echo_n "(cached) " >&6
42126 else
42127
42128
42129 ac_ext=cpp
42130 ac_cpp='$CXXCPP $CPPFLAGS'
42131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42134
42135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42136 /* end confdefs.h. */
42137 #include <math.h>
42138 int
42139 main ()
42140 {
42141 _frexpf(0, 0);
42142 ;
42143 return 0;
42144 }
42145 _ACEOF
42146 if ac_fn_cxx_try_compile "$LINENO"; then :
42147 glibcxx_cv_func__frexpf_use=yes
42148 else
42149 glibcxx_cv_func__frexpf_use=no
42150 fi
42151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42152 ac_ext=c
42153 ac_cpp='$CPP $CPPFLAGS'
42154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42157
42158
42159 fi
42160
42161 fi
42162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42163 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42164
42165 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42166 for ac_func in _frexpf
42167 do :
42168 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42169 if test "x$ac_cv_func__frexpf" = x""yes; then :
42170 cat >>confdefs.h <<_ACEOF
42171 #define HAVE__FREXPF 1
42172 _ACEOF
42173
42174 fi
42175 done
42176
42177 fi
42178 fi
42179
42180
42181
42182
42183
42184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42185 $as_echo_n "checking for hypotf declaration... " >&6; }
42186 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42187 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42188 $as_echo_n "(cached) " >&6
42189 else
42190
42191
42192 ac_ext=cpp
42193 ac_cpp='$CXXCPP $CPPFLAGS'
42194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42197
42198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42199 /* end confdefs.h. */
42200 #include <math.h>
42201 int
42202 main ()
42203 {
42204 hypotf(0, 0);
42205 ;
42206 return 0;
42207 }
42208 _ACEOF
42209 if ac_fn_cxx_try_compile "$LINENO"; then :
42210 glibcxx_cv_func_hypotf_use=yes
42211 else
42212 glibcxx_cv_func_hypotf_use=no
42213 fi
42214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42215 ac_ext=c
42216 ac_cpp='$CPP $CPPFLAGS'
42217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42220
42221
42222 fi
42223
42224 fi
42225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42226 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42227
42228 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42229 for ac_func in hypotf
42230 do :
42231 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42232 if test "x$ac_cv_func_hypotf" = x""yes; then :
42233 cat >>confdefs.h <<_ACEOF
42234 #define HAVE_HYPOTF 1
42235 _ACEOF
42236
42237 fi
42238 done
42239
42240 else
42241
42242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42243 $as_echo_n "checking for _hypotf declaration... " >&6; }
42244 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42245 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42246 $as_echo_n "(cached) " >&6
42247 else
42248
42249
42250 ac_ext=cpp
42251 ac_cpp='$CXXCPP $CPPFLAGS'
42252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42255
42256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42257 /* end confdefs.h. */
42258 #include <math.h>
42259 int
42260 main ()
42261 {
42262 _hypotf(0, 0);
42263 ;
42264 return 0;
42265 }
42266 _ACEOF
42267 if ac_fn_cxx_try_compile "$LINENO"; then :
42268 glibcxx_cv_func__hypotf_use=yes
42269 else
42270 glibcxx_cv_func__hypotf_use=no
42271 fi
42272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42273 ac_ext=c
42274 ac_cpp='$CPP $CPPFLAGS'
42275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42278
42279
42280 fi
42281
42282 fi
42283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42284 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42285
42286 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42287 for ac_func in _hypotf
42288 do :
42289 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42290 if test "x$ac_cv_func__hypotf" = x""yes; then :
42291 cat >>confdefs.h <<_ACEOF
42292 #define HAVE__HYPOTF 1
42293 _ACEOF
42294
42295 fi
42296 done
42297
42298 fi
42299 fi
42300
42301
42302
42303
42304
42305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42306 $as_echo_n "checking for ldexpf declaration... " >&6; }
42307 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42308 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42309 $as_echo_n "(cached) " >&6
42310 else
42311
42312
42313 ac_ext=cpp
42314 ac_cpp='$CXXCPP $CPPFLAGS'
42315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42318
42319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42320 /* end confdefs.h. */
42321 #include <math.h>
42322 int
42323 main ()
42324 {
42325 ldexpf(0, 0);
42326 ;
42327 return 0;
42328 }
42329 _ACEOF
42330 if ac_fn_cxx_try_compile "$LINENO"; then :
42331 glibcxx_cv_func_ldexpf_use=yes
42332 else
42333 glibcxx_cv_func_ldexpf_use=no
42334 fi
42335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42336 ac_ext=c
42337 ac_cpp='$CPP $CPPFLAGS'
42338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42341
42342
42343 fi
42344
42345 fi
42346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42347 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42348
42349 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42350 for ac_func in ldexpf
42351 do :
42352 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42353 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42354 cat >>confdefs.h <<_ACEOF
42355 #define HAVE_LDEXPF 1
42356 _ACEOF
42357
42358 fi
42359 done
42360
42361 else
42362
42363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42364 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42365 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42366 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42367 $as_echo_n "(cached) " >&6
42368 else
42369
42370
42371 ac_ext=cpp
42372 ac_cpp='$CXXCPP $CPPFLAGS'
42373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42376
42377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42378 /* end confdefs.h. */
42379 #include <math.h>
42380 int
42381 main ()
42382 {
42383 _ldexpf(0, 0);
42384 ;
42385 return 0;
42386 }
42387 _ACEOF
42388 if ac_fn_cxx_try_compile "$LINENO"; then :
42389 glibcxx_cv_func__ldexpf_use=yes
42390 else
42391 glibcxx_cv_func__ldexpf_use=no
42392 fi
42393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42394 ac_ext=c
42395 ac_cpp='$CPP $CPPFLAGS'
42396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42399
42400
42401 fi
42402
42403 fi
42404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42405 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42406
42407 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42408 for ac_func in _ldexpf
42409 do :
42410 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42411 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42412 cat >>confdefs.h <<_ACEOF
42413 #define HAVE__LDEXPF 1
42414 _ACEOF
42415
42416 fi
42417 done
42418
42419 fi
42420 fi
42421
42422
42423
42424
42425
42426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42427 $as_echo_n "checking for logf declaration... " >&6; }
42428 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42429 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42430 $as_echo_n "(cached) " >&6
42431 else
42432
42433
42434 ac_ext=cpp
42435 ac_cpp='$CXXCPP $CPPFLAGS'
42436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42439
42440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42441 /* end confdefs.h. */
42442 #include <math.h>
42443 #ifdef HAVE_IEEEFP_H
42444 #include <ieeefp.h>
42445 #endif
42446
42447 int
42448 main ()
42449 {
42450 logf(0);
42451 ;
42452 return 0;
42453 }
42454 _ACEOF
42455 if ac_fn_cxx_try_compile "$LINENO"; then :
42456 glibcxx_cv_func_logf_use=yes
42457 else
42458 glibcxx_cv_func_logf_use=no
42459 fi
42460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42461 ac_ext=c
42462 ac_cpp='$CPP $CPPFLAGS'
42463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42466
42467
42468 fi
42469
42470 fi
42471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42472 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42473
42474 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42475 for ac_func in logf
42476 do :
42477 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42478 if test "x$ac_cv_func_logf" = x""yes; then :
42479 cat >>confdefs.h <<_ACEOF
42480 #define HAVE_LOGF 1
42481 _ACEOF
42482
42483 fi
42484 done
42485
42486 else
42487
42488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42489 $as_echo_n "checking for _logf declaration... " >&6; }
42490 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42491 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42492 $as_echo_n "(cached) " >&6
42493 else
42494
42495
42496 ac_ext=cpp
42497 ac_cpp='$CXXCPP $CPPFLAGS'
42498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42501
42502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42503 /* end confdefs.h. */
42504 #include <math.h>
42505 #ifdef HAVE_IEEEFP_H
42506 #include <ieeefp.h>
42507 #endif
42508
42509 int
42510 main ()
42511 {
42512 _logf(0);
42513 ;
42514 return 0;
42515 }
42516 _ACEOF
42517 if ac_fn_cxx_try_compile "$LINENO"; then :
42518 glibcxx_cv_func__logf_use=yes
42519 else
42520 glibcxx_cv_func__logf_use=no
42521 fi
42522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42523 ac_ext=c
42524 ac_cpp='$CPP $CPPFLAGS'
42525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42528
42529
42530 fi
42531
42532 fi
42533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42534 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42535
42536 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42537 for ac_func in _logf
42538 do :
42539 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42540 if test "x$ac_cv_func__logf" = x""yes; then :
42541 cat >>confdefs.h <<_ACEOF
42542 #define HAVE__LOGF 1
42543 _ACEOF
42544
42545 fi
42546 done
42547
42548 fi
42549 fi
42550
42551
42552
42553
42554
42555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42556 $as_echo_n "checking for log10f declaration... " >&6; }
42557 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42558 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42559 $as_echo_n "(cached) " >&6
42560 else
42561
42562
42563 ac_ext=cpp
42564 ac_cpp='$CXXCPP $CPPFLAGS'
42565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42568
42569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42570 /* end confdefs.h. */
42571 #include <math.h>
42572 #ifdef HAVE_IEEEFP_H
42573 #include <ieeefp.h>
42574 #endif
42575
42576 int
42577 main ()
42578 {
42579 log10f(0);
42580 ;
42581 return 0;
42582 }
42583 _ACEOF
42584 if ac_fn_cxx_try_compile "$LINENO"; then :
42585 glibcxx_cv_func_log10f_use=yes
42586 else
42587 glibcxx_cv_func_log10f_use=no
42588 fi
42589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42590 ac_ext=c
42591 ac_cpp='$CPP $CPPFLAGS'
42592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42595
42596
42597 fi
42598
42599 fi
42600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42601 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42602
42603 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42604 for ac_func in log10f
42605 do :
42606 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42607 if test "x$ac_cv_func_log10f" = x""yes; then :
42608 cat >>confdefs.h <<_ACEOF
42609 #define HAVE_LOG10F 1
42610 _ACEOF
42611
42612 fi
42613 done
42614
42615 else
42616
42617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42618 $as_echo_n "checking for _log10f declaration... " >&6; }
42619 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42620 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42621 $as_echo_n "(cached) " >&6
42622 else
42623
42624
42625 ac_ext=cpp
42626 ac_cpp='$CXXCPP $CPPFLAGS'
42627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42630
42631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42632 /* end confdefs.h. */
42633 #include <math.h>
42634 #ifdef HAVE_IEEEFP_H
42635 #include <ieeefp.h>
42636 #endif
42637
42638 int
42639 main ()
42640 {
42641 _log10f(0);
42642 ;
42643 return 0;
42644 }
42645 _ACEOF
42646 if ac_fn_cxx_try_compile "$LINENO"; then :
42647 glibcxx_cv_func__log10f_use=yes
42648 else
42649 glibcxx_cv_func__log10f_use=no
42650 fi
42651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42652 ac_ext=c
42653 ac_cpp='$CPP $CPPFLAGS'
42654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42657
42658
42659 fi
42660
42661 fi
42662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42663 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42664
42665 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42666 for ac_func in _log10f
42667 do :
42668 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42669 if test "x$ac_cv_func__log10f" = x""yes; then :
42670 cat >>confdefs.h <<_ACEOF
42671 #define HAVE__LOG10F 1
42672 _ACEOF
42673
42674 fi
42675 done
42676
42677 fi
42678 fi
42679
42680
42681
42682
42683
42684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42685 $as_echo_n "checking for modff declaration... " >&6; }
42686 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42687 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42688 $as_echo_n "(cached) " >&6
42689 else
42690
42691
42692 ac_ext=cpp
42693 ac_cpp='$CXXCPP $CPPFLAGS'
42694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42697
42698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42699 /* end confdefs.h. */
42700 #include <math.h>
42701 int
42702 main ()
42703 {
42704 modff(0, 0);
42705 ;
42706 return 0;
42707 }
42708 _ACEOF
42709 if ac_fn_cxx_try_compile "$LINENO"; then :
42710 glibcxx_cv_func_modff_use=yes
42711 else
42712 glibcxx_cv_func_modff_use=no
42713 fi
42714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42715 ac_ext=c
42716 ac_cpp='$CPP $CPPFLAGS'
42717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42720
42721
42722 fi
42723
42724 fi
42725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42726 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42727
42728 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42729 for ac_func in modff
42730 do :
42731 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42732 if test "x$ac_cv_func_modff" = x""yes; then :
42733 cat >>confdefs.h <<_ACEOF
42734 #define HAVE_MODFF 1
42735 _ACEOF
42736
42737 fi
42738 done
42739
42740 else
42741
42742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42743 $as_echo_n "checking for _modff declaration... " >&6; }
42744 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42745 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42746 $as_echo_n "(cached) " >&6
42747 else
42748
42749
42750 ac_ext=cpp
42751 ac_cpp='$CXXCPP $CPPFLAGS'
42752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42755
42756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42757 /* end confdefs.h. */
42758 #include <math.h>
42759 int
42760 main ()
42761 {
42762 _modff(0, 0);
42763 ;
42764 return 0;
42765 }
42766 _ACEOF
42767 if ac_fn_cxx_try_compile "$LINENO"; then :
42768 glibcxx_cv_func__modff_use=yes
42769 else
42770 glibcxx_cv_func__modff_use=no
42771 fi
42772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42773 ac_ext=c
42774 ac_cpp='$CPP $CPPFLAGS'
42775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42778
42779
42780 fi
42781
42782 fi
42783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42784 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42785
42786 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42787 for ac_func in _modff
42788 do :
42789 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42790 if test "x$ac_cv_func__modff" = x""yes; then :
42791 cat >>confdefs.h <<_ACEOF
42792 #define HAVE__MODFF 1
42793 _ACEOF
42794
42795 fi
42796 done
42797
42798 fi
42799 fi
42800
42801
42802
42803
42804
42805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42806 $as_echo_n "checking for modf declaration... " >&6; }
42807 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42808 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42809 $as_echo_n "(cached) " >&6
42810 else
42811
42812
42813 ac_ext=cpp
42814 ac_cpp='$CXXCPP $CPPFLAGS'
42815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42818
42819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42820 /* end confdefs.h. */
42821 #include <math.h>
42822 int
42823 main ()
42824 {
42825 modf(0, 0);
42826 ;
42827 return 0;
42828 }
42829 _ACEOF
42830 if ac_fn_cxx_try_compile "$LINENO"; then :
42831 glibcxx_cv_func_modf_use=yes
42832 else
42833 glibcxx_cv_func_modf_use=no
42834 fi
42835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42836 ac_ext=c
42837 ac_cpp='$CPP $CPPFLAGS'
42838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42841
42842
42843 fi
42844
42845 fi
42846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42847 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42848
42849 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42850 for ac_func in modf
42851 do :
42852 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42853 if test "x$ac_cv_func_modf" = x""yes; then :
42854 cat >>confdefs.h <<_ACEOF
42855 #define HAVE_MODF 1
42856 _ACEOF
42857
42858 fi
42859 done
42860
42861 else
42862
42863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42864 $as_echo_n "checking for _modf declaration... " >&6; }
42865 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42866 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42867 $as_echo_n "(cached) " >&6
42868 else
42869
42870
42871 ac_ext=cpp
42872 ac_cpp='$CXXCPP $CPPFLAGS'
42873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42876
42877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42878 /* end confdefs.h. */
42879 #include <math.h>
42880 int
42881 main ()
42882 {
42883 _modf(0, 0);
42884 ;
42885 return 0;
42886 }
42887 _ACEOF
42888 if ac_fn_cxx_try_compile "$LINENO"; then :
42889 glibcxx_cv_func__modf_use=yes
42890 else
42891 glibcxx_cv_func__modf_use=no
42892 fi
42893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42894 ac_ext=c
42895 ac_cpp='$CPP $CPPFLAGS'
42896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42899
42900
42901 fi
42902
42903 fi
42904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42905 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42906
42907 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42908 for ac_func in _modf
42909 do :
42910 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42911 if test "x$ac_cv_func__modf" = x""yes; then :
42912 cat >>confdefs.h <<_ACEOF
42913 #define HAVE__MODF 1
42914 _ACEOF
42915
42916 fi
42917 done
42918
42919 fi
42920 fi
42921
42922
42923
42924
42925
42926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42927 $as_echo_n "checking for powf declaration... " >&6; }
42928 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42929 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42930 $as_echo_n "(cached) " >&6
42931 else
42932
42933
42934 ac_ext=cpp
42935 ac_cpp='$CXXCPP $CPPFLAGS'
42936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42939
42940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42941 /* end confdefs.h. */
42942 #include <math.h>
42943 int
42944 main ()
42945 {
42946 powf(0, 0);
42947 ;
42948 return 0;
42949 }
42950 _ACEOF
42951 if ac_fn_cxx_try_compile "$LINENO"; then :
42952 glibcxx_cv_func_powf_use=yes
42953 else
42954 glibcxx_cv_func_powf_use=no
42955 fi
42956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42957 ac_ext=c
42958 ac_cpp='$CPP $CPPFLAGS'
42959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42962
42963
42964 fi
42965
42966 fi
42967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42968 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42969
42970 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42971 for ac_func in powf
42972 do :
42973 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42974 if test "x$ac_cv_func_powf" = x""yes; then :
42975 cat >>confdefs.h <<_ACEOF
42976 #define HAVE_POWF 1
42977 _ACEOF
42978
42979 fi
42980 done
42981
42982 else
42983
42984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42985 $as_echo_n "checking for _powf declaration... " >&6; }
42986 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42987 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42988 $as_echo_n "(cached) " >&6
42989 else
42990
42991
42992 ac_ext=cpp
42993 ac_cpp='$CXXCPP $CPPFLAGS'
42994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42997
42998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42999 /* end confdefs.h. */
43000 #include <math.h>
43001 int
43002 main ()
43003 {
43004 _powf(0, 0);
43005 ;
43006 return 0;
43007 }
43008 _ACEOF
43009 if ac_fn_cxx_try_compile "$LINENO"; then :
43010 glibcxx_cv_func__powf_use=yes
43011 else
43012 glibcxx_cv_func__powf_use=no
43013 fi
43014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43015 ac_ext=c
43016 ac_cpp='$CPP $CPPFLAGS'
43017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43020
43021
43022 fi
43023
43024 fi
43025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43026 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43027
43028 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43029 for ac_func in _powf
43030 do :
43031 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43032 if test "x$ac_cv_func__powf" = x""yes; then :
43033 cat >>confdefs.h <<_ACEOF
43034 #define HAVE__POWF 1
43035 _ACEOF
43036
43037 fi
43038 done
43039
43040 fi
43041 fi
43042
43043
43044
43045
43046
43047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43048 $as_echo_n "checking for sqrtf declaration... " >&6; }
43049 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43050 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43051 $as_echo_n "(cached) " >&6
43052 else
43053
43054
43055 ac_ext=cpp
43056 ac_cpp='$CXXCPP $CPPFLAGS'
43057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43060
43061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43062 /* end confdefs.h. */
43063 #include <math.h>
43064 #ifdef HAVE_IEEEFP_H
43065 #include <ieeefp.h>
43066 #endif
43067
43068 int
43069 main ()
43070 {
43071 sqrtf(0);
43072 ;
43073 return 0;
43074 }
43075 _ACEOF
43076 if ac_fn_cxx_try_compile "$LINENO"; then :
43077 glibcxx_cv_func_sqrtf_use=yes
43078 else
43079 glibcxx_cv_func_sqrtf_use=no
43080 fi
43081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43082 ac_ext=c
43083 ac_cpp='$CPP $CPPFLAGS'
43084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43087
43088
43089 fi
43090
43091 fi
43092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43093 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43094
43095 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43096 for ac_func in sqrtf
43097 do :
43098 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43099 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43100 cat >>confdefs.h <<_ACEOF
43101 #define HAVE_SQRTF 1
43102 _ACEOF
43103
43104 fi
43105 done
43106
43107 else
43108
43109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43110 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43111 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43112 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43113 $as_echo_n "(cached) " >&6
43114 else
43115
43116
43117 ac_ext=cpp
43118 ac_cpp='$CXXCPP $CPPFLAGS'
43119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43122
43123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43124 /* end confdefs.h. */
43125 #include <math.h>
43126 #ifdef HAVE_IEEEFP_H
43127 #include <ieeefp.h>
43128 #endif
43129
43130 int
43131 main ()
43132 {
43133 _sqrtf(0);
43134 ;
43135 return 0;
43136 }
43137 _ACEOF
43138 if ac_fn_cxx_try_compile "$LINENO"; then :
43139 glibcxx_cv_func__sqrtf_use=yes
43140 else
43141 glibcxx_cv_func__sqrtf_use=no
43142 fi
43143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43144 ac_ext=c
43145 ac_cpp='$CPP $CPPFLAGS'
43146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43149
43150
43151 fi
43152
43153 fi
43154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43155 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43156
43157 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43158 for ac_func in _sqrtf
43159 do :
43160 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43161 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43162 cat >>confdefs.h <<_ACEOF
43163 #define HAVE__SQRTF 1
43164 _ACEOF
43165
43166 fi
43167 done
43168
43169 fi
43170 fi
43171
43172
43173
43174
43175
43176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43177 $as_echo_n "checking for sincosf declaration... " >&6; }
43178 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43179 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43180 $as_echo_n "(cached) " >&6
43181 else
43182
43183
43184 ac_ext=cpp
43185 ac_cpp='$CXXCPP $CPPFLAGS'
43186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43189
43190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43191 /* end confdefs.h. */
43192 #include <math.h>
43193 int
43194 main ()
43195 {
43196 sincosf(0, 0, 0);
43197 ;
43198 return 0;
43199 }
43200 _ACEOF
43201 if ac_fn_cxx_try_compile "$LINENO"; then :
43202 glibcxx_cv_func_sincosf_use=yes
43203 else
43204 glibcxx_cv_func_sincosf_use=no
43205 fi
43206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43207 ac_ext=c
43208 ac_cpp='$CPP $CPPFLAGS'
43209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43212
43213
43214 fi
43215
43216 fi
43217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43218 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43219
43220 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43221 for ac_func in sincosf
43222 do :
43223 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43224 if test "x$ac_cv_func_sincosf" = x""yes; then :
43225 cat >>confdefs.h <<_ACEOF
43226 #define HAVE_SINCOSF 1
43227 _ACEOF
43228
43229 fi
43230 done
43231
43232 else
43233
43234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43235 $as_echo_n "checking for _sincosf declaration... " >&6; }
43236 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43237 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43238 $as_echo_n "(cached) " >&6
43239 else
43240
43241
43242 ac_ext=cpp
43243 ac_cpp='$CXXCPP $CPPFLAGS'
43244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43247
43248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43249 /* end confdefs.h. */
43250 #include <math.h>
43251 int
43252 main ()
43253 {
43254 _sincosf(0, 0, 0);
43255 ;
43256 return 0;
43257 }
43258 _ACEOF
43259 if ac_fn_cxx_try_compile "$LINENO"; then :
43260 glibcxx_cv_func__sincosf_use=yes
43261 else
43262 glibcxx_cv_func__sincosf_use=no
43263 fi
43264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43265 ac_ext=c
43266 ac_cpp='$CPP $CPPFLAGS'
43267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43270
43271
43272 fi
43273
43274 fi
43275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43276 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43277
43278 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43279 for ac_func in _sincosf
43280 do :
43281 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43282 if test "x$ac_cv_func__sincosf" = x""yes; then :
43283 cat >>confdefs.h <<_ACEOF
43284 #define HAVE__SINCOSF 1
43285 _ACEOF
43286
43287 fi
43288 done
43289
43290 fi
43291 fi
43292
43293
43294
43295
43296
43297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43298 $as_echo_n "checking for finitef declaration... " >&6; }
43299 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43300 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43301 $as_echo_n "(cached) " >&6
43302 else
43303
43304
43305 ac_ext=cpp
43306 ac_cpp='$CXXCPP $CPPFLAGS'
43307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43310
43311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43312 /* end confdefs.h. */
43313 #include <math.h>
43314 #ifdef HAVE_IEEEFP_H
43315 #include <ieeefp.h>
43316 #endif
43317
43318 int
43319 main ()
43320 {
43321 finitef(0);
43322 ;
43323 return 0;
43324 }
43325 _ACEOF
43326 if ac_fn_cxx_try_compile "$LINENO"; then :
43327 glibcxx_cv_func_finitef_use=yes
43328 else
43329 glibcxx_cv_func_finitef_use=no
43330 fi
43331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43332 ac_ext=c
43333 ac_cpp='$CPP $CPPFLAGS'
43334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43337
43338
43339 fi
43340
43341 fi
43342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43343 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43344
43345 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43346 for ac_func in finitef
43347 do :
43348 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43349 if test "x$ac_cv_func_finitef" = x""yes; then :
43350 cat >>confdefs.h <<_ACEOF
43351 #define HAVE_FINITEF 1
43352 _ACEOF
43353
43354 fi
43355 done
43356
43357 else
43358
43359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43360 $as_echo_n "checking for _finitef declaration... " >&6; }
43361 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43362 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43363 $as_echo_n "(cached) " >&6
43364 else
43365
43366
43367 ac_ext=cpp
43368 ac_cpp='$CXXCPP $CPPFLAGS'
43369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43372
43373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43374 /* end confdefs.h. */
43375 #include <math.h>
43376 #ifdef HAVE_IEEEFP_H
43377 #include <ieeefp.h>
43378 #endif
43379
43380 int
43381 main ()
43382 {
43383 _finitef(0);
43384 ;
43385 return 0;
43386 }
43387 _ACEOF
43388 if ac_fn_cxx_try_compile "$LINENO"; then :
43389 glibcxx_cv_func__finitef_use=yes
43390 else
43391 glibcxx_cv_func__finitef_use=no
43392 fi
43393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43394 ac_ext=c
43395 ac_cpp='$CPP $CPPFLAGS'
43396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43399
43400
43401 fi
43402
43403 fi
43404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43405 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43406
43407 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43408 for ac_func in _finitef
43409 do :
43410 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43411 if test "x$ac_cv_func__finitef" = x""yes; then :
43412 cat >>confdefs.h <<_ACEOF
43413 #define HAVE__FINITEF 1
43414 _ACEOF
43415
43416 fi
43417 done
43418
43419 fi
43420 fi
43421
43422
43423
43424
43425
43426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43427 $as_echo_n "checking for long double trig functions... " >&6; }
43428 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43429 $as_echo_n "(cached) " >&6
43430 else
43431
43432
43433 ac_ext=cpp
43434 ac_cpp='$CXXCPP $CPPFLAGS'
43435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43438
43439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43440 /* end confdefs.h. */
43441 #include <math.h>
43442 int
43443 main ()
43444 {
43445 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43446 ;
43447 return 0;
43448 }
43449 _ACEOF
43450 if ac_fn_cxx_try_compile "$LINENO"; then :
43451 glibcxx_cv_func_long_double_trig_use=yes
43452 else
43453 glibcxx_cv_func_long_double_trig_use=no
43454 fi
43455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43456 ac_ext=c
43457 ac_cpp='$CPP $CPPFLAGS'
43458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43461
43462 fi
43463
43464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43465 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43466 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43467 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43468 do :
43469 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43470 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43471 eval as_val=\$$as_ac_var
43472 if test "x$as_val" = x""yes; then :
43473 cat >>confdefs.h <<_ACEOF
43474 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43475 _ACEOF
43476
43477 fi
43478 done
43479
43480 else
43481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43482 $as_echo_n "checking for _long double trig functions... " >&6; }
43483 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43484 $as_echo_n "(cached) " >&6
43485 else
43486
43487
43488 ac_ext=cpp
43489 ac_cpp='$CXXCPP $CPPFLAGS'
43490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43493
43494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43495 /* end confdefs.h. */
43496 #include <math.h>
43497 int
43498 main ()
43499 {
43500 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43501 ;
43502 return 0;
43503 }
43504 _ACEOF
43505 if ac_fn_cxx_try_compile "$LINENO"; then :
43506 glibcxx_cv_func__long_double_trig_use=yes
43507 else
43508 glibcxx_cv_func__long_double_trig_use=no
43509 fi
43510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43511 ac_ext=c
43512 ac_cpp='$CPP $CPPFLAGS'
43513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43516
43517 fi
43518
43519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43520 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43521 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43522 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43523 do :
43524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43526 eval as_val=\$$as_ac_var
43527 if test "x$as_val" = x""yes; then :
43528 cat >>confdefs.h <<_ACEOF
43529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43530 _ACEOF
43531
43532 fi
43533 done
43534
43535 fi
43536 fi
43537
43538
43539
43540
43541
43542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43543 $as_echo_n "checking for long double round functions... " >&6; }
43544 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43545 $as_echo_n "(cached) " >&6
43546 else
43547
43548
43549 ac_ext=cpp
43550 ac_cpp='$CXXCPP $CPPFLAGS'
43551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43554
43555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43556 /* end confdefs.h. */
43557 #include <math.h>
43558 int
43559 main ()
43560 {
43561 ceill (0); floorl (0);
43562 ;
43563 return 0;
43564 }
43565 _ACEOF
43566 if ac_fn_cxx_try_compile "$LINENO"; then :
43567 glibcxx_cv_func_long_double_round_use=yes
43568 else
43569 glibcxx_cv_func_long_double_round_use=no
43570 fi
43571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43572 ac_ext=c
43573 ac_cpp='$CPP $CPPFLAGS'
43574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43577
43578 fi
43579
43580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43581 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43582 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43583 for ac_func in ceill floorl
43584 do :
43585 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43586 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43587 eval as_val=\$$as_ac_var
43588 if test "x$as_val" = x""yes; then :
43589 cat >>confdefs.h <<_ACEOF
43590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43591 _ACEOF
43592
43593 fi
43594 done
43595
43596 else
43597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43598 $as_echo_n "checking for _long double round functions... " >&6; }
43599 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43600 $as_echo_n "(cached) " >&6
43601 else
43602
43603
43604 ac_ext=cpp
43605 ac_cpp='$CXXCPP $CPPFLAGS'
43606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43609
43610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43611 /* end confdefs.h. */
43612 #include <math.h>
43613 int
43614 main ()
43615 {
43616 _ceill (0); _floorl (0);
43617 ;
43618 return 0;
43619 }
43620 _ACEOF
43621 if ac_fn_cxx_try_compile "$LINENO"; then :
43622 glibcxx_cv_func__long_double_round_use=yes
43623 else
43624 glibcxx_cv_func__long_double_round_use=no
43625 fi
43626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43627 ac_ext=c
43628 ac_cpp='$CPP $CPPFLAGS'
43629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43632
43633 fi
43634
43635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43636 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43637 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43638 for ac_func in _ceill _floorl
43639 do :
43640 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43641 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43642 eval as_val=\$$as_ac_var
43643 if test "x$as_val" = x""yes; then :
43644 cat >>confdefs.h <<_ACEOF
43645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43646 _ACEOF
43647
43648 fi
43649 done
43650
43651 fi
43652 fi
43653
43654
43655
43656
43657
43658
43659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43660 $as_echo_n "checking for isnanl declaration... " >&6; }
43661 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43662 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43663 $as_echo_n "(cached) " >&6
43664 else
43665
43666
43667 ac_ext=cpp
43668 ac_cpp='$CXXCPP $CPPFLAGS'
43669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43672
43673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43674 /* end confdefs.h. */
43675 #include <math.h>
43676 #ifdef HAVE_IEEEFP_H
43677 #include <ieeefp.h>
43678 #endif
43679
43680 int
43681 main ()
43682 {
43683 isnanl(0);
43684 ;
43685 return 0;
43686 }
43687 _ACEOF
43688 if ac_fn_cxx_try_compile "$LINENO"; then :
43689 glibcxx_cv_func_isnanl_use=yes
43690 else
43691 glibcxx_cv_func_isnanl_use=no
43692 fi
43693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43694 ac_ext=c
43695 ac_cpp='$CPP $CPPFLAGS'
43696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43699
43700
43701 fi
43702
43703 fi
43704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43705 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43706
43707 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43708 for ac_func in isnanl
43709 do :
43710 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43711 if test "x$ac_cv_func_isnanl" = x""yes; then :
43712 cat >>confdefs.h <<_ACEOF
43713 #define HAVE_ISNANL 1
43714 _ACEOF
43715
43716 fi
43717 done
43718
43719 else
43720
43721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43722 $as_echo_n "checking for _isnanl declaration... " >&6; }
43723 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43724 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43725 $as_echo_n "(cached) " >&6
43726 else
43727
43728
43729 ac_ext=cpp
43730 ac_cpp='$CXXCPP $CPPFLAGS'
43731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43734
43735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43736 /* end confdefs.h. */
43737 #include <math.h>
43738 #ifdef HAVE_IEEEFP_H
43739 #include <ieeefp.h>
43740 #endif
43741
43742 int
43743 main ()
43744 {
43745 _isnanl(0);
43746 ;
43747 return 0;
43748 }
43749 _ACEOF
43750 if ac_fn_cxx_try_compile "$LINENO"; then :
43751 glibcxx_cv_func__isnanl_use=yes
43752 else
43753 glibcxx_cv_func__isnanl_use=no
43754 fi
43755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43756 ac_ext=c
43757 ac_cpp='$CPP $CPPFLAGS'
43758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43761
43762
43763 fi
43764
43765 fi
43766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43767 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43768
43769 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43770 for ac_func in _isnanl
43771 do :
43772 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43773 if test "x$ac_cv_func__isnanl" = x""yes; then :
43774 cat >>confdefs.h <<_ACEOF
43775 #define HAVE__ISNANL 1
43776 _ACEOF
43777
43778 fi
43779 done
43780
43781 fi
43782 fi
43783
43784
43785
43786
43787
43788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43789 $as_echo_n "checking for isinfl declaration... " >&6; }
43790 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43791 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43792 $as_echo_n "(cached) " >&6
43793 else
43794
43795
43796 ac_ext=cpp
43797 ac_cpp='$CXXCPP $CPPFLAGS'
43798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43801
43802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43803 /* end confdefs.h. */
43804 #include <math.h>
43805 #ifdef HAVE_IEEEFP_H
43806 #include <ieeefp.h>
43807 #endif
43808
43809 int
43810 main ()
43811 {
43812 isinfl(0);
43813 ;
43814 return 0;
43815 }
43816 _ACEOF
43817 if ac_fn_cxx_try_compile "$LINENO"; then :
43818 glibcxx_cv_func_isinfl_use=yes
43819 else
43820 glibcxx_cv_func_isinfl_use=no
43821 fi
43822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43823 ac_ext=c
43824 ac_cpp='$CPP $CPPFLAGS'
43825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43828
43829
43830 fi
43831
43832 fi
43833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43834 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43835
43836 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43837 for ac_func in isinfl
43838 do :
43839 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43840 if test "x$ac_cv_func_isinfl" = x""yes; then :
43841 cat >>confdefs.h <<_ACEOF
43842 #define HAVE_ISINFL 1
43843 _ACEOF
43844
43845 fi
43846 done
43847
43848 else
43849
43850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43851 $as_echo_n "checking for _isinfl declaration... " >&6; }
43852 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43853 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43854 $as_echo_n "(cached) " >&6
43855 else
43856
43857
43858 ac_ext=cpp
43859 ac_cpp='$CXXCPP $CPPFLAGS'
43860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43863
43864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43865 /* end confdefs.h. */
43866 #include <math.h>
43867 #ifdef HAVE_IEEEFP_H
43868 #include <ieeefp.h>
43869 #endif
43870
43871 int
43872 main ()
43873 {
43874 _isinfl(0);
43875 ;
43876 return 0;
43877 }
43878 _ACEOF
43879 if ac_fn_cxx_try_compile "$LINENO"; then :
43880 glibcxx_cv_func__isinfl_use=yes
43881 else
43882 glibcxx_cv_func__isinfl_use=no
43883 fi
43884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43885 ac_ext=c
43886 ac_cpp='$CPP $CPPFLAGS'
43887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43890
43891
43892 fi
43893
43894 fi
43895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43896 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43897
43898 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43899 for ac_func in _isinfl
43900 do :
43901 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43902 if test "x$ac_cv_func__isinfl" = x""yes; then :
43903 cat >>confdefs.h <<_ACEOF
43904 #define HAVE__ISINFL 1
43905 _ACEOF
43906
43907 fi
43908 done
43909
43910 fi
43911 fi
43912
43913
43914
43915
43916
43917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43918 $as_echo_n "checking for atan2l declaration... " >&6; }
43919 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43920 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43921 $as_echo_n "(cached) " >&6
43922 else
43923
43924
43925 ac_ext=cpp
43926 ac_cpp='$CXXCPP $CPPFLAGS'
43927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43930
43931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43932 /* end confdefs.h. */
43933 #include <math.h>
43934 int
43935 main ()
43936 {
43937 atan2l(0, 0);
43938 ;
43939 return 0;
43940 }
43941 _ACEOF
43942 if ac_fn_cxx_try_compile "$LINENO"; then :
43943 glibcxx_cv_func_atan2l_use=yes
43944 else
43945 glibcxx_cv_func_atan2l_use=no
43946 fi
43947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43948 ac_ext=c
43949 ac_cpp='$CPP $CPPFLAGS'
43950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43953
43954
43955 fi
43956
43957 fi
43958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43959 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43960
43961 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43962 for ac_func in atan2l
43963 do :
43964 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43965 if test "x$ac_cv_func_atan2l" = x""yes; then :
43966 cat >>confdefs.h <<_ACEOF
43967 #define HAVE_ATAN2L 1
43968 _ACEOF
43969
43970 fi
43971 done
43972
43973 else
43974
43975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43976 $as_echo_n "checking for _atan2l declaration... " >&6; }
43977 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43978 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43979 $as_echo_n "(cached) " >&6
43980 else
43981
43982
43983 ac_ext=cpp
43984 ac_cpp='$CXXCPP $CPPFLAGS'
43985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43988
43989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43990 /* end confdefs.h. */
43991 #include <math.h>
43992 int
43993 main ()
43994 {
43995 _atan2l(0, 0);
43996 ;
43997 return 0;
43998 }
43999 _ACEOF
44000 if ac_fn_cxx_try_compile "$LINENO"; then :
44001 glibcxx_cv_func__atan2l_use=yes
44002 else
44003 glibcxx_cv_func__atan2l_use=no
44004 fi
44005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44006 ac_ext=c
44007 ac_cpp='$CPP $CPPFLAGS'
44008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44011
44012
44013 fi
44014
44015 fi
44016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44017 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44018
44019 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44020 for ac_func in _atan2l
44021 do :
44022 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44023 if test "x$ac_cv_func__atan2l" = x""yes; then :
44024 cat >>confdefs.h <<_ACEOF
44025 #define HAVE__ATAN2L 1
44026 _ACEOF
44027
44028 fi
44029 done
44030
44031 fi
44032 fi
44033
44034
44035
44036
44037
44038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44039 $as_echo_n "checking for expl declaration... " >&6; }
44040 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44041 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44042 $as_echo_n "(cached) " >&6
44043 else
44044
44045
44046 ac_ext=cpp
44047 ac_cpp='$CXXCPP $CPPFLAGS'
44048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44051
44052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44053 /* end confdefs.h. */
44054 #include <math.h>
44055 #ifdef HAVE_IEEEFP_H
44056 #include <ieeefp.h>
44057 #endif
44058
44059 int
44060 main ()
44061 {
44062 expl(0);
44063 ;
44064 return 0;
44065 }
44066 _ACEOF
44067 if ac_fn_cxx_try_compile "$LINENO"; then :
44068 glibcxx_cv_func_expl_use=yes
44069 else
44070 glibcxx_cv_func_expl_use=no
44071 fi
44072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44073 ac_ext=c
44074 ac_cpp='$CPP $CPPFLAGS'
44075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44078
44079
44080 fi
44081
44082 fi
44083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44084 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44085
44086 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44087 for ac_func in expl
44088 do :
44089 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44090 if test "x$ac_cv_func_expl" = x""yes; then :
44091 cat >>confdefs.h <<_ACEOF
44092 #define HAVE_EXPL 1
44093 _ACEOF
44094
44095 fi
44096 done
44097
44098 else
44099
44100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44101 $as_echo_n "checking for _expl declaration... " >&6; }
44102 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44103 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44104 $as_echo_n "(cached) " >&6
44105 else
44106
44107
44108 ac_ext=cpp
44109 ac_cpp='$CXXCPP $CPPFLAGS'
44110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44113
44114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44115 /* end confdefs.h. */
44116 #include <math.h>
44117 #ifdef HAVE_IEEEFP_H
44118 #include <ieeefp.h>
44119 #endif
44120
44121 int
44122 main ()
44123 {
44124 _expl(0);
44125 ;
44126 return 0;
44127 }
44128 _ACEOF
44129 if ac_fn_cxx_try_compile "$LINENO"; then :
44130 glibcxx_cv_func__expl_use=yes
44131 else
44132 glibcxx_cv_func__expl_use=no
44133 fi
44134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44135 ac_ext=c
44136 ac_cpp='$CPP $CPPFLAGS'
44137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44140
44141
44142 fi
44143
44144 fi
44145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44146 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44147
44148 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44149 for ac_func in _expl
44150 do :
44151 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44152 if test "x$ac_cv_func__expl" = x""yes; then :
44153 cat >>confdefs.h <<_ACEOF
44154 #define HAVE__EXPL 1
44155 _ACEOF
44156
44157 fi
44158 done
44159
44160 fi
44161 fi
44162
44163
44164
44165
44166
44167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44168 $as_echo_n "checking for fabsl declaration... " >&6; }
44169 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44170 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44171 $as_echo_n "(cached) " >&6
44172 else
44173
44174
44175 ac_ext=cpp
44176 ac_cpp='$CXXCPP $CPPFLAGS'
44177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44180
44181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44182 /* end confdefs.h. */
44183 #include <math.h>
44184 #ifdef HAVE_IEEEFP_H
44185 #include <ieeefp.h>
44186 #endif
44187
44188 int
44189 main ()
44190 {
44191 fabsl(0);
44192 ;
44193 return 0;
44194 }
44195 _ACEOF
44196 if ac_fn_cxx_try_compile "$LINENO"; then :
44197 glibcxx_cv_func_fabsl_use=yes
44198 else
44199 glibcxx_cv_func_fabsl_use=no
44200 fi
44201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44202 ac_ext=c
44203 ac_cpp='$CPP $CPPFLAGS'
44204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44207
44208
44209 fi
44210
44211 fi
44212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44213 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44214
44215 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44216 for ac_func in fabsl
44217 do :
44218 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44219 if test "x$ac_cv_func_fabsl" = x""yes; then :
44220 cat >>confdefs.h <<_ACEOF
44221 #define HAVE_FABSL 1
44222 _ACEOF
44223
44224 fi
44225 done
44226
44227 else
44228
44229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44230 $as_echo_n "checking for _fabsl declaration... " >&6; }
44231 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44232 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44233 $as_echo_n "(cached) " >&6
44234 else
44235
44236
44237 ac_ext=cpp
44238 ac_cpp='$CXXCPP $CPPFLAGS'
44239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44242
44243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44244 /* end confdefs.h. */
44245 #include <math.h>
44246 #ifdef HAVE_IEEEFP_H
44247 #include <ieeefp.h>
44248 #endif
44249
44250 int
44251 main ()
44252 {
44253 _fabsl(0);
44254 ;
44255 return 0;
44256 }
44257 _ACEOF
44258 if ac_fn_cxx_try_compile "$LINENO"; then :
44259 glibcxx_cv_func__fabsl_use=yes
44260 else
44261 glibcxx_cv_func__fabsl_use=no
44262 fi
44263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44264 ac_ext=c
44265 ac_cpp='$CPP $CPPFLAGS'
44266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44269
44270
44271 fi
44272
44273 fi
44274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44275 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44276
44277 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44278 for ac_func in _fabsl
44279 do :
44280 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44281 if test "x$ac_cv_func__fabsl" = x""yes; then :
44282 cat >>confdefs.h <<_ACEOF
44283 #define HAVE__FABSL 1
44284 _ACEOF
44285
44286 fi
44287 done
44288
44289 fi
44290 fi
44291
44292
44293
44294
44295
44296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44297 $as_echo_n "checking for fmodl declaration... " >&6; }
44298 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44299 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44300 $as_echo_n "(cached) " >&6
44301 else
44302
44303
44304 ac_ext=cpp
44305 ac_cpp='$CXXCPP $CPPFLAGS'
44306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44309
44310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44311 /* end confdefs.h. */
44312 #include <math.h>
44313 int
44314 main ()
44315 {
44316 fmodl(0, 0);
44317 ;
44318 return 0;
44319 }
44320 _ACEOF
44321 if ac_fn_cxx_try_compile "$LINENO"; then :
44322 glibcxx_cv_func_fmodl_use=yes
44323 else
44324 glibcxx_cv_func_fmodl_use=no
44325 fi
44326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44327 ac_ext=c
44328 ac_cpp='$CPP $CPPFLAGS'
44329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44332
44333
44334 fi
44335
44336 fi
44337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44338 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44339
44340 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44341 for ac_func in fmodl
44342 do :
44343 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44344 if test "x$ac_cv_func_fmodl" = x""yes; then :
44345 cat >>confdefs.h <<_ACEOF
44346 #define HAVE_FMODL 1
44347 _ACEOF
44348
44349 fi
44350 done
44351
44352 else
44353
44354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44355 $as_echo_n "checking for _fmodl declaration... " >&6; }
44356 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44357 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44358 $as_echo_n "(cached) " >&6
44359 else
44360
44361
44362 ac_ext=cpp
44363 ac_cpp='$CXXCPP $CPPFLAGS'
44364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44367
44368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44369 /* end confdefs.h. */
44370 #include <math.h>
44371 int
44372 main ()
44373 {
44374 _fmodl(0, 0);
44375 ;
44376 return 0;
44377 }
44378 _ACEOF
44379 if ac_fn_cxx_try_compile "$LINENO"; then :
44380 glibcxx_cv_func__fmodl_use=yes
44381 else
44382 glibcxx_cv_func__fmodl_use=no
44383 fi
44384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44385 ac_ext=c
44386 ac_cpp='$CPP $CPPFLAGS'
44387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44390
44391
44392 fi
44393
44394 fi
44395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44396 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44397
44398 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44399 for ac_func in _fmodl
44400 do :
44401 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44402 if test "x$ac_cv_func__fmodl" = x""yes; then :
44403 cat >>confdefs.h <<_ACEOF
44404 #define HAVE__FMODL 1
44405 _ACEOF
44406
44407 fi
44408 done
44409
44410 fi
44411 fi
44412
44413
44414
44415
44416
44417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44418 $as_echo_n "checking for frexpl declaration... " >&6; }
44419 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44420 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44421 $as_echo_n "(cached) " >&6
44422 else
44423
44424
44425 ac_ext=cpp
44426 ac_cpp='$CXXCPP $CPPFLAGS'
44427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44430
44431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44432 /* end confdefs.h. */
44433 #include <math.h>
44434 int
44435 main ()
44436 {
44437 frexpl(0, 0);
44438 ;
44439 return 0;
44440 }
44441 _ACEOF
44442 if ac_fn_cxx_try_compile "$LINENO"; then :
44443 glibcxx_cv_func_frexpl_use=yes
44444 else
44445 glibcxx_cv_func_frexpl_use=no
44446 fi
44447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44448 ac_ext=c
44449 ac_cpp='$CPP $CPPFLAGS'
44450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44453
44454
44455 fi
44456
44457 fi
44458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44459 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44460
44461 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44462 for ac_func in frexpl
44463 do :
44464 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44465 if test "x$ac_cv_func_frexpl" = x""yes; then :
44466 cat >>confdefs.h <<_ACEOF
44467 #define HAVE_FREXPL 1
44468 _ACEOF
44469
44470 fi
44471 done
44472
44473 else
44474
44475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44476 $as_echo_n "checking for _frexpl declaration... " >&6; }
44477 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44478 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44479 $as_echo_n "(cached) " >&6
44480 else
44481
44482
44483 ac_ext=cpp
44484 ac_cpp='$CXXCPP $CPPFLAGS'
44485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44488
44489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44490 /* end confdefs.h. */
44491 #include <math.h>
44492 int
44493 main ()
44494 {
44495 _frexpl(0, 0);
44496 ;
44497 return 0;
44498 }
44499 _ACEOF
44500 if ac_fn_cxx_try_compile "$LINENO"; then :
44501 glibcxx_cv_func__frexpl_use=yes
44502 else
44503 glibcxx_cv_func__frexpl_use=no
44504 fi
44505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44506 ac_ext=c
44507 ac_cpp='$CPP $CPPFLAGS'
44508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44511
44512
44513 fi
44514
44515 fi
44516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44517 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44518
44519 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44520 for ac_func in _frexpl
44521 do :
44522 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44523 if test "x$ac_cv_func__frexpl" = x""yes; then :
44524 cat >>confdefs.h <<_ACEOF
44525 #define HAVE__FREXPL 1
44526 _ACEOF
44527
44528 fi
44529 done
44530
44531 fi
44532 fi
44533
44534
44535
44536
44537
44538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44539 $as_echo_n "checking for hypotl declaration... " >&6; }
44540 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44541 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44542 $as_echo_n "(cached) " >&6
44543 else
44544
44545
44546 ac_ext=cpp
44547 ac_cpp='$CXXCPP $CPPFLAGS'
44548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44551
44552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44553 /* end confdefs.h. */
44554 #include <math.h>
44555 int
44556 main ()
44557 {
44558 hypotl(0, 0);
44559 ;
44560 return 0;
44561 }
44562 _ACEOF
44563 if ac_fn_cxx_try_compile "$LINENO"; then :
44564 glibcxx_cv_func_hypotl_use=yes
44565 else
44566 glibcxx_cv_func_hypotl_use=no
44567 fi
44568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44569 ac_ext=c
44570 ac_cpp='$CPP $CPPFLAGS'
44571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44574
44575
44576 fi
44577
44578 fi
44579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44580 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44581
44582 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44583 for ac_func in hypotl
44584 do :
44585 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44586 if test "x$ac_cv_func_hypotl" = x""yes; then :
44587 cat >>confdefs.h <<_ACEOF
44588 #define HAVE_HYPOTL 1
44589 _ACEOF
44590
44591 fi
44592 done
44593
44594 else
44595
44596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44597 $as_echo_n "checking for _hypotl declaration... " >&6; }
44598 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44599 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44600 $as_echo_n "(cached) " >&6
44601 else
44602
44603
44604 ac_ext=cpp
44605 ac_cpp='$CXXCPP $CPPFLAGS'
44606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44609
44610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44611 /* end confdefs.h. */
44612 #include <math.h>
44613 int
44614 main ()
44615 {
44616 _hypotl(0, 0);
44617 ;
44618 return 0;
44619 }
44620 _ACEOF
44621 if ac_fn_cxx_try_compile "$LINENO"; then :
44622 glibcxx_cv_func__hypotl_use=yes
44623 else
44624 glibcxx_cv_func__hypotl_use=no
44625 fi
44626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44627 ac_ext=c
44628 ac_cpp='$CPP $CPPFLAGS'
44629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44632
44633
44634 fi
44635
44636 fi
44637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44638 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44639
44640 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44641 for ac_func in _hypotl
44642 do :
44643 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44644 if test "x$ac_cv_func__hypotl" = x""yes; then :
44645 cat >>confdefs.h <<_ACEOF
44646 #define HAVE__HYPOTL 1
44647 _ACEOF
44648
44649 fi
44650 done
44651
44652 fi
44653 fi
44654
44655
44656
44657
44658
44659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44660 $as_echo_n "checking for ldexpl declaration... " >&6; }
44661 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44662 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44663 $as_echo_n "(cached) " >&6
44664 else
44665
44666
44667 ac_ext=cpp
44668 ac_cpp='$CXXCPP $CPPFLAGS'
44669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44672
44673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44674 /* end confdefs.h. */
44675 #include <math.h>
44676 int
44677 main ()
44678 {
44679 ldexpl(0, 0);
44680 ;
44681 return 0;
44682 }
44683 _ACEOF
44684 if ac_fn_cxx_try_compile "$LINENO"; then :
44685 glibcxx_cv_func_ldexpl_use=yes
44686 else
44687 glibcxx_cv_func_ldexpl_use=no
44688 fi
44689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44690 ac_ext=c
44691 ac_cpp='$CPP $CPPFLAGS'
44692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44695
44696
44697 fi
44698
44699 fi
44700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44701 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44702
44703 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44704 for ac_func in ldexpl
44705 do :
44706 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44707 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44708 cat >>confdefs.h <<_ACEOF
44709 #define HAVE_LDEXPL 1
44710 _ACEOF
44711
44712 fi
44713 done
44714
44715 else
44716
44717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44718 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44719 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44720 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44721 $as_echo_n "(cached) " >&6
44722 else
44723
44724
44725 ac_ext=cpp
44726 ac_cpp='$CXXCPP $CPPFLAGS'
44727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44730
44731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44732 /* end confdefs.h. */
44733 #include <math.h>
44734 int
44735 main ()
44736 {
44737 _ldexpl(0, 0);
44738 ;
44739 return 0;
44740 }
44741 _ACEOF
44742 if ac_fn_cxx_try_compile "$LINENO"; then :
44743 glibcxx_cv_func__ldexpl_use=yes
44744 else
44745 glibcxx_cv_func__ldexpl_use=no
44746 fi
44747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44748 ac_ext=c
44749 ac_cpp='$CPP $CPPFLAGS'
44750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44753
44754
44755 fi
44756
44757 fi
44758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44759 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44760
44761 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44762 for ac_func in _ldexpl
44763 do :
44764 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44765 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44766 cat >>confdefs.h <<_ACEOF
44767 #define HAVE__LDEXPL 1
44768 _ACEOF
44769
44770 fi
44771 done
44772
44773 fi
44774 fi
44775
44776
44777
44778
44779
44780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44781 $as_echo_n "checking for logl declaration... " >&6; }
44782 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44783 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44784 $as_echo_n "(cached) " >&6
44785 else
44786
44787
44788 ac_ext=cpp
44789 ac_cpp='$CXXCPP $CPPFLAGS'
44790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44793
44794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44795 /* end confdefs.h. */
44796 #include <math.h>
44797 #ifdef HAVE_IEEEFP_H
44798 #include <ieeefp.h>
44799 #endif
44800
44801 int
44802 main ()
44803 {
44804 logl(0);
44805 ;
44806 return 0;
44807 }
44808 _ACEOF
44809 if ac_fn_cxx_try_compile "$LINENO"; then :
44810 glibcxx_cv_func_logl_use=yes
44811 else
44812 glibcxx_cv_func_logl_use=no
44813 fi
44814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44815 ac_ext=c
44816 ac_cpp='$CPP $CPPFLAGS'
44817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44820
44821
44822 fi
44823
44824 fi
44825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44826 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44827
44828 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44829 for ac_func in logl
44830 do :
44831 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44832 if test "x$ac_cv_func_logl" = x""yes; then :
44833 cat >>confdefs.h <<_ACEOF
44834 #define HAVE_LOGL 1
44835 _ACEOF
44836
44837 fi
44838 done
44839
44840 else
44841
44842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44843 $as_echo_n "checking for _logl declaration... " >&6; }
44844 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44845 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44846 $as_echo_n "(cached) " >&6
44847 else
44848
44849
44850 ac_ext=cpp
44851 ac_cpp='$CXXCPP $CPPFLAGS'
44852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44855
44856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44857 /* end confdefs.h. */
44858 #include <math.h>
44859 #ifdef HAVE_IEEEFP_H
44860 #include <ieeefp.h>
44861 #endif
44862
44863 int
44864 main ()
44865 {
44866 _logl(0);
44867 ;
44868 return 0;
44869 }
44870 _ACEOF
44871 if ac_fn_cxx_try_compile "$LINENO"; then :
44872 glibcxx_cv_func__logl_use=yes
44873 else
44874 glibcxx_cv_func__logl_use=no
44875 fi
44876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44877 ac_ext=c
44878 ac_cpp='$CPP $CPPFLAGS'
44879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44882
44883
44884 fi
44885
44886 fi
44887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44888 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44889
44890 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44891 for ac_func in _logl
44892 do :
44893 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44894 if test "x$ac_cv_func__logl" = x""yes; then :
44895 cat >>confdefs.h <<_ACEOF
44896 #define HAVE__LOGL 1
44897 _ACEOF
44898
44899 fi
44900 done
44901
44902 fi
44903 fi
44904
44905
44906
44907
44908
44909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44910 $as_echo_n "checking for log10l declaration... " >&6; }
44911 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44912 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44913 $as_echo_n "(cached) " >&6
44914 else
44915
44916
44917 ac_ext=cpp
44918 ac_cpp='$CXXCPP $CPPFLAGS'
44919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44922
44923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44924 /* end confdefs.h. */
44925 #include <math.h>
44926 #ifdef HAVE_IEEEFP_H
44927 #include <ieeefp.h>
44928 #endif
44929
44930 int
44931 main ()
44932 {
44933 log10l(0);
44934 ;
44935 return 0;
44936 }
44937 _ACEOF
44938 if ac_fn_cxx_try_compile "$LINENO"; then :
44939 glibcxx_cv_func_log10l_use=yes
44940 else
44941 glibcxx_cv_func_log10l_use=no
44942 fi
44943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44944 ac_ext=c
44945 ac_cpp='$CPP $CPPFLAGS'
44946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44949
44950
44951 fi
44952
44953 fi
44954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44955 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44956
44957 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44958 for ac_func in log10l
44959 do :
44960 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44961 if test "x$ac_cv_func_log10l" = x""yes; then :
44962 cat >>confdefs.h <<_ACEOF
44963 #define HAVE_LOG10L 1
44964 _ACEOF
44965
44966 fi
44967 done
44968
44969 else
44970
44971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44972 $as_echo_n "checking for _log10l declaration... " >&6; }
44973 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44974 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44975 $as_echo_n "(cached) " >&6
44976 else
44977
44978
44979 ac_ext=cpp
44980 ac_cpp='$CXXCPP $CPPFLAGS'
44981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44984
44985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44986 /* end confdefs.h. */
44987 #include <math.h>
44988 #ifdef HAVE_IEEEFP_H
44989 #include <ieeefp.h>
44990 #endif
44991
44992 int
44993 main ()
44994 {
44995 _log10l(0);
44996 ;
44997 return 0;
44998 }
44999 _ACEOF
45000 if ac_fn_cxx_try_compile "$LINENO"; then :
45001 glibcxx_cv_func__log10l_use=yes
45002 else
45003 glibcxx_cv_func__log10l_use=no
45004 fi
45005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45006 ac_ext=c
45007 ac_cpp='$CPP $CPPFLAGS'
45008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45011
45012
45013 fi
45014
45015 fi
45016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45017 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45018
45019 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45020 for ac_func in _log10l
45021 do :
45022 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45023 if test "x$ac_cv_func__log10l" = x""yes; then :
45024 cat >>confdefs.h <<_ACEOF
45025 #define HAVE__LOG10L 1
45026 _ACEOF
45027
45028 fi
45029 done
45030
45031 fi
45032 fi
45033
45034
45035
45036
45037
45038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45039 $as_echo_n "checking for modfl declaration... " >&6; }
45040 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45041 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45042 $as_echo_n "(cached) " >&6
45043 else
45044
45045
45046 ac_ext=cpp
45047 ac_cpp='$CXXCPP $CPPFLAGS'
45048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45051
45052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45053 /* end confdefs.h. */
45054 #include <math.h>
45055 int
45056 main ()
45057 {
45058 modfl(0, 0);
45059 ;
45060 return 0;
45061 }
45062 _ACEOF
45063 if ac_fn_cxx_try_compile "$LINENO"; then :
45064 glibcxx_cv_func_modfl_use=yes
45065 else
45066 glibcxx_cv_func_modfl_use=no
45067 fi
45068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45069 ac_ext=c
45070 ac_cpp='$CPP $CPPFLAGS'
45071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45074
45075
45076 fi
45077
45078 fi
45079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45080 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45081
45082 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45083 for ac_func in modfl
45084 do :
45085 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45086 if test "x$ac_cv_func_modfl" = x""yes; then :
45087 cat >>confdefs.h <<_ACEOF
45088 #define HAVE_MODFL 1
45089 _ACEOF
45090
45091 fi
45092 done
45093
45094 else
45095
45096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45097 $as_echo_n "checking for _modfl declaration... " >&6; }
45098 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45099 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45100 $as_echo_n "(cached) " >&6
45101 else
45102
45103
45104 ac_ext=cpp
45105 ac_cpp='$CXXCPP $CPPFLAGS'
45106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45109
45110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45111 /* end confdefs.h. */
45112 #include <math.h>
45113 int
45114 main ()
45115 {
45116 _modfl(0, 0);
45117 ;
45118 return 0;
45119 }
45120 _ACEOF
45121 if ac_fn_cxx_try_compile "$LINENO"; then :
45122 glibcxx_cv_func__modfl_use=yes
45123 else
45124 glibcxx_cv_func__modfl_use=no
45125 fi
45126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45127 ac_ext=c
45128 ac_cpp='$CPP $CPPFLAGS'
45129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45132
45133
45134 fi
45135
45136 fi
45137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45138 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45139
45140 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45141 for ac_func in _modfl
45142 do :
45143 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45144 if test "x$ac_cv_func__modfl" = x""yes; then :
45145 cat >>confdefs.h <<_ACEOF
45146 #define HAVE__MODFL 1
45147 _ACEOF
45148
45149 fi
45150 done
45151
45152 fi
45153 fi
45154
45155
45156
45157
45158
45159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45160 $as_echo_n "checking for powl declaration... " >&6; }
45161 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45162 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45163 $as_echo_n "(cached) " >&6
45164 else
45165
45166
45167 ac_ext=cpp
45168 ac_cpp='$CXXCPP $CPPFLAGS'
45169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45172
45173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45174 /* end confdefs.h. */
45175 #include <math.h>
45176 int
45177 main ()
45178 {
45179 powl(0, 0);
45180 ;
45181 return 0;
45182 }
45183 _ACEOF
45184 if ac_fn_cxx_try_compile "$LINENO"; then :
45185 glibcxx_cv_func_powl_use=yes
45186 else
45187 glibcxx_cv_func_powl_use=no
45188 fi
45189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45190 ac_ext=c
45191 ac_cpp='$CPP $CPPFLAGS'
45192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45195
45196
45197 fi
45198
45199 fi
45200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45201 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45202
45203 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45204 for ac_func in powl
45205 do :
45206 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45207 if test "x$ac_cv_func_powl" = x""yes; then :
45208 cat >>confdefs.h <<_ACEOF
45209 #define HAVE_POWL 1
45210 _ACEOF
45211
45212 fi
45213 done
45214
45215 else
45216
45217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45218 $as_echo_n "checking for _powl declaration... " >&6; }
45219 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45220 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45221 $as_echo_n "(cached) " >&6
45222 else
45223
45224
45225 ac_ext=cpp
45226 ac_cpp='$CXXCPP $CPPFLAGS'
45227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45230
45231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45232 /* end confdefs.h. */
45233 #include <math.h>
45234 int
45235 main ()
45236 {
45237 _powl(0, 0);
45238 ;
45239 return 0;
45240 }
45241 _ACEOF
45242 if ac_fn_cxx_try_compile "$LINENO"; then :
45243 glibcxx_cv_func__powl_use=yes
45244 else
45245 glibcxx_cv_func__powl_use=no
45246 fi
45247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45248 ac_ext=c
45249 ac_cpp='$CPP $CPPFLAGS'
45250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45253
45254
45255 fi
45256
45257 fi
45258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45259 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45260
45261 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45262 for ac_func in _powl
45263 do :
45264 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45265 if test "x$ac_cv_func__powl" = x""yes; then :
45266 cat >>confdefs.h <<_ACEOF
45267 #define HAVE__POWL 1
45268 _ACEOF
45269
45270 fi
45271 done
45272
45273 fi
45274 fi
45275
45276
45277
45278
45279
45280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45281 $as_echo_n "checking for sqrtl declaration... " >&6; }
45282 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45283 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45284 $as_echo_n "(cached) " >&6
45285 else
45286
45287
45288 ac_ext=cpp
45289 ac_cpp='$CXXCPP $CPPFLAGS'
45290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45293
45294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45295 /* end confdefs.h. */
45296 #include <math.h>
45297 #ifdef HAVE_IEEEFP_H
45298 #include <ieeefp.h>
45299 #endif
45300
45301 int
45302 main ()
45303 {
45304 sqrtl(0);
45305 ;
45306 return 0;
45307 }
45308 _ACEOF
45309 if ac_fn_cxx_try_compile "$LINENO"; then :
45310 glibcxx_cv_func_sqrtl_use=yes
45311 else
45312 glibcxx_cv_func_sqrtl_use=no
45313 fi
45314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45315 ac_ext=c
45316 ac_cpp='$CPP $CPPFLAGS'
45317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45320
45321
45322 fi
45323
45324 fi
45325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45326 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45327
45328 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45329 for ac_func in sqrtl
45330 do :
45331 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45332 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45333 cat >>confdefs.h <<_ACEOF
45334 #define HAVE_SQRTL 1
45335 _ACEOF
45336
45337 fi
45338 done
45339
45340 else
45341
45342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45343 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45344 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45345 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45346 $as_echo_n "(cached) " >&6
45347 else
45348
45349
45350 ac_ext=cpp
45351 ac_cpp='$CXXCPP $CPPFLAGS'
45352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45355
45356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45357 /* end confdefs.h. */
45358 #include <math.h>
45359 #ifdef HAVE_IEEEFP_H
45360 #include <ieeefp.h>
45361 #endif
45362
45363 int
45364 main ()
45365 {
45366 _sqrtl(0);
45367 ;
45368 return 0;
45369 }
45370 _ACEOF
45371 if ac_fn_cxx_try_compile "$LINENO"; then :
45372 glibcxx_cv_func__sqrtl_use=yes
45373 else
45374 glibcxx_cv_func__sqrtl_use=no
45375 fi
45376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45377 ac_ext=c
45378 ac_cpp='$CPP $CPPFLAGS'
45379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45382
45383
45384 fi
45385
45386 fi
45387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45388 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45389
45390 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45391 for ac_func in _sqrtl
45392 do :
45393 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45394 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45395 cat >>confdefs.h <<_ACEOF
45396 #define HAVE__SQRTL 1
45397 _ACEOF
45398
45399 fi
45400 done
45401
45402 fi
45403 fi
45404
45405
45406
45407
45408
45409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45410 $as_echo_n "checking for sincosl declaration... " >&6; }
45411 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45412 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45413 $as_echo_n "(cached) " >&6
45414 else
45415
45416
45417 ac_ext=cpp
45418 ac_cpp='$CXXCPP $CPPFLAGS'
45419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45422
45423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45424 /* end confdefs.h. */
45425 #include <math.h>
45426 int
45427 main ()
45428 {
45429 sincosl(0, 0, 0);
45430 ;
45431 return 0;
45432 }
45433 _ACEOF
45434 if ac_fn_cxx_try_compile "$LINENO"; then :
45435 glibcxx_cv_func_sincosl_use=yes
45436 else
45437 glibcxx_cv_func_sincosl_use=no
45438 fi
45439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45440 ac_ext=c
45441 ac_cpp='$CPP $CPPFLAGS'
45442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45445
45446
45447 fi
45448
45449 fi
45450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45451 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45452
45453 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45454 for ac_func in sincosl
45455 do :
45456 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45457 if test "x$ac_cv_func_sincosl" = x""yes; then :
45458 cat >>confdefs.h <<_ACEOF
45459 #define HAVE_SINCOSL 1
45460 _ACEOF
45461
45462 fi
45463 done
45464
45465 else
45466
45467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45468 $as_echo_n "checking for _sincosl declaration... " >&6; }
45469 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45470 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45471 $as_echo_n "(cached) " >&6
45472 else
45473
45474
45475 ac_ext=cpp
45476 ac_cpp='$CXXCPP $CPPFLAGS'
45477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45480
45481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45482 /* end confdefs.h. */
45483 #include <math.h>
45484 int
45485 main ()
45486 {
45487 _sincosl(0, 0, 0);
45488 ;
45489 return 0;
45490 }
45491 _ACEOF
45492 if ac_fn_cxx_try_compile "$LINENO"; then :
45493 glibcxx_cv_func__sincosl_use=yes
45494 else
45495 glibcxx_cv_func__sincosl_use=no
45496 fi
45497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45498 ac_ext=c
45499 ac_cpp='$CPP $CPPFLAGS'
45500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45503
45504
45505 fi
45506
45507 fi
45508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45509 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45510
45511 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45512 for ac_func in _sincosl
45513 do :
45514 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45515 if test "x$ac_cv_func__sincosl" = x""yes; then :
45516 cat >>confdefs.h <<_ACEOF
45517 #define HAVE__SINCOSL 1
45518 _ACEOF
45519
45520 fi
45521 done
45522
45523 fi
45524 fi
45525
45526
45527
45528
45529
45530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45531 $as_echo_n "checking for finitel declaration... " >&6; }
45532 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45533 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45534 $as_echo_n "(cached) " >&6
45535 else
45536
45537
45538 ac_ext=cpp
45539 ac_cpp='$CXXCPP $CPPFLAGS'
45540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45543
45544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45545 /* end confdefs.h. */
45546 #include <math.h>
45547 #ifdef HAVE_IEEEFP_H
45548 #include <ieeefp.h>
45549 #endif
45550
45551 int
45552 main ()
45553 {
45554 finitel(0);
45555 ;
45556 return 0;
45557 }
45558 _ACEOF
45559 if ac_fn_cxx_try_compile "$LINENO"; then :
45560 glibcxx_cv_func_finitel_use=yes
45561 else
45562 glibcxx_cv_func_finitel_use=no
45563 fi
45564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45565 ac_ext=c
45566 ac_cpp='$CPP $CPPFLAGS'
45567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45570
45571
45572 fi
45573
45574 fi
45575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45576 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45577
45578 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45579 for ac_func in finitel
45580 do :
45581 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45582 if test "x$ac_cv_func_finitel" = x""yes; then :
45583 cat >>confdefs.h <<_ACEOF
45584 #define HAVE_FINITEL 1
45585 _ACEOF
45586
45587 fi
45588 done
45589
45590 else
45591
45592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45593 $as_echo_n "checking for _finitel declaration... " >&6; }
45594 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45595 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45596 $as_echo_n "(cached) " >&6
45597 else
45598
45599
45600 ac_ext=cpp
45601 ac_cpp='$CXXCPP $CPPFLAGS'
45602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45605
45606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45607 /* end confdefs.h. */
45608 #include <math.h>
45609 #ifdef HAVE_IEEEFP_H
45610 #include <ieeefp.h>
45611 #endif
45612
45613 int
45614 main ()
45615 {
45616 _finitel(0);
45617 ;
45618 return 0;
45619 }
45620 _ACEOF
45621 if ac_fn_cxx_try_compile "$LINENO"; then :
45622 glibcxx_cv_func__finitel_use=yes
45623 else
45624 glibcxx_cv_func__finitel_use=no
45625 fi
45626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45627 ac_ext=c
45628 ac_cpp='$CPP $CPPFLAGS'
45629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45632
45633
45634 fi
45635
45636 fi
45637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45638 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45639
45640 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45641 for ac_func in _finitel
45642 do :
45643 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45644 if test "x$ac_cv_func__finitel" = x""yes; then :
45645 cat >>confdefs.h <<_ACEOF
45646 #define HAVE__FINITEL 1
45647 _ACEOF
45648
45649 fi
45650 done
45651
45652 fi
45653 fi
45654
45655
45656
45657
45658 LIBS="$ac_save_LIBS"
45659 CXXFLAGS="$ac_save_CXXFLAGS"
45660
45661
45662 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45663 ac_save_CXXFLAGS="$CXXFLAGS"
45664 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45665
45666
45667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45668 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45669 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45670 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45671 $as_echo_n "(cached) " >&6
45672 else
45673
45674
45675 ac_ext=cpp
45676 ac_cpp='$CXXCPP $CPPFLAGS'
45677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45680
45681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45682 /* end confdefs.h. */
45683 #include <stdlib.h>
45684 int
45685 main ()
45686 {
45687 at_quick_exit(0);
45688 ;
45689 return 0;
45690 }
45691 _ACEOF
45692 if ac_fn_cxx_try_compile "$LINENO"; then :
45693 glibcxx_cv_func_at_quick_exit_use=yes
45694 else
45695 glibcxx_cv_func_at_quick_exit_use=no
45696 fi
45697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45698 ac_ext=c
45699 ac_cpp='$CPP $CPPFLAGS'
45700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45703
45704
45705 fi
45706
45707 fi
45708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45709 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45710 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45711 for ac_func in at_quick_exit
45712 do :
45713 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45714 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45715 cat >>confdefs.h <<_ACEOF
45716 #define HAVE_AT_QUICK_EXIT 1
45717 _ACEOF
45718
45719 fi
45720 done
45721
45722 fi
45723
45724
45725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45726 $as_echo_n "checking for quick_exit declaration... " >&6; }
45727 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45728 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45729 $as_echo_n "(cached) " >&6
45730 else
45731
45732
45733 ac_ext=cpp
45734 ac_cpp='$CXXCPP $CPPFLAGS'
45735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45738
45739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45740 /* end confdefs.h. */
45741 #include <stdlib.h>
45742 int
45743 main ()
45744 {
45745 quick_exit(0);
45746 ;
45747 return 0;
45748 }
45749 _ACEOF
45750 if ac_fn_cxx_try_compile "$LINENO"; then :
45751 glibcxx_cv_func_quick_exit_use=yes
45752 else
45753 glibcxx_cv_func_quick_exit_use=no
45754 fi
45755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45756 ac_ext=c
45757 ac_cpp='$CPP $CPPFLAGS'
45758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45761
45762
45763 fi
45764
45765 fi
45766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45767 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45768 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45769 for ac_func in quick_exit
45770 do :
45771 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45772 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45773 cat >>confdefs.h <<_ACEOF
45774 #define HAVE_QUICK_EXIT 1
45775 _ACEOF
45776
45777 fi
45778 done
45779
45780 fi
45781
45782
45783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45784 $as_echo_n "checking for strtold declaration... " >&6; }
45785 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45786 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45787 $as_echo_n "(cached) " >&6
45788 else
45789
45790
45791 ac_ext=cpp
45792 ac_cpp='$CXXCPP $CPPFLAGS'
45793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45796
45797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45798 /* end confdefs.h. */
45799 #include <stdlib.h>
45800 int
45801 main ()
45802 {
45803 strtold(0, 0);
45804 ;
45805 return 0;
45806 }
45807 _ACEOF
45808 if ac_fn_cxx_try_compile "$LINENO"; then :
45809 glibcxx_cv_func_strtold_use=yes
45810 else
45811 glibcxx_cv_func_strtold_use=no
45812 fi
45813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45814 ac_ext=c
45815 ac_cpp='$CPP $CPPFLAGS'
45816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45819
45820
45821 fi
45822
45823 fi
45824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45825 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45826 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45827 for ac_func in strtold
45828 do :
45829 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45830 if test "x$ac_cv_func_strtold" = x""yes; then :
45831 cat >>confdefs.h <<_ACEOF
45832 #define HAVE_STRTOLD 1
45833 _ACEOF
45834
45835 fi
45836 done
45837
45838 fi
45839
45840
45841
45842
45843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45844 $as_echo_n "checking for strtof declaration... " >&6; }
45845 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45846 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45847 $as_echo_n "(cached) " >&6
45848 else
45849
45850
45851 ac_ext=cpp
45852 ac_cpp='$CXXCPP $CPPFLAGS'
45853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45856
45857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45858 /* end confdefs.h. */
45859 #include <stdlib.h>
45860 int
45861 main ()
45862 {
45863 strtof(0, 0);
45864 ;
45865 return 0;
45866 }
45867 _ACEOF
45868 if ac_fn_cxx_try_compile "$LINENO"; then :
45869 glibcxx_cv_func_strtof_use=yes
45870 else
45871 glibcxx_cv_func_strtof_use=no
45872 fi
45873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45874 ac_ext=c
45875 ac_cpp='$CPP $CPPFLAGS'
45876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45879
45880
45881 fi
45882
45883 fi
45884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45885 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45886 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45887 for ac_func in strtof
45888 do :
45889 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45890 if test "x$ac_cv_func_strtof" = x""yes; then :
45891 cat >>confdefs.h <<_ACEOF
45892 #define HAVE_STRTOF 1
45893 _ACEOF
45894
45895 fi
45896 done
45897
45898 fi
45899
45900
45901
45902
45903 CXXFLAGS="$ac_save_CXXFLAGS"
45904
45905 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45906
45907 # We don't yet support AIX's TLS ABI.
45908 #GCC_CHECK_TLS
45909
45910
45911
45912
45913
45914 am_save_CPPFLAGS="$CPPFLAGS"
45915
45916 for element in $INCICONV; do
45917 haveit=
45918 for x in $CPPFLAGS; do
45919
45920 acl_save_prefix="$prefix"
45921 prefix="$acl_final_prefix"
45922 acl_save_exec_prefix="$exec_prefix"
45923 exec_prefix="$acl_final_exec_prefix"
45924 eval x=\"$x\"
45925 exec_prefix="$acl_save_exec_prefix"
45926 prefix="$acl_save_prefix"
45927
45928 if test "X$x" = "X$element"; then
45929 haveit=yes
45930 break
45931 fi
45932 done
45933 if test -z "$haveit"; then
45934 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45935 fi
45936 done
45937
45938
45939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45940 $as_echo_n "checking for iconv... " >&6; }
45941 if test "${am_cv_func_iconv+set}" = set; then :
45942 $as_echo_n "(cached) " >&6
45943 else
45944
45945 am_cv_func_iconv="no, consider installing GNU libiconv"
45946 am_cv_lib_iconv=no
45947 if test x$gcc_no_link = xyes; then
45948 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45949 fi
45950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45951 /* end confdefs.h. */
45952 #include <stdlib.h>
45953 #include <iconv.h>
45954 int
45955 main ()
45956 {
45957 iconv_t cd = iconv_open("","");
45958 iconv(cd,NULL,NULL,NULL,NULL);
45959 iconv_close(cd);
45960 ;
45961 return 0;
45962 }
45963 _ACEOF
45964 if ac_fn_c_try_link "$LINENO"; then :
45965 am_cv_func_iconv=yes
45966 fi
45967 rm -f core conftest.err conftest.$ac_objext \
45968 conftest$ac_exeext conftest.$ac_ext
45969 if test "$am_cv_func_iconv" != yes; then
45970 am_save_LIBS="$LIBS"
45971 LIBS="$LIBS $LIBICONV"
45972 if test x$gcc_no_link = xyes; then
45973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45974 fi
45975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45976 /* end confdefs.h. */
45977 #include <stdlib.h>
45978 #include <iconv.h>
45979 int
45980 main ()
45981 {
45982 iconv_t cd = iconv_open("","");
45983 iconv(cd,NULL,NULL,NULL,NULL);
45984 iconv_close(cd);
45985 ;
45986 return 0;
45987 }
45988 _ACEOF
45989 if ac_fn_c_try_link "$LINENO"; then :
45990 am_cv_lib_iconv=yes
45991 am_cv_func_iconv=yes
45992 fi
45993 rm -f core conftest.err conftest.$ac_objext \
45994 conftest$ac_exeext conftest.$ac_ext
45995 LIBS="$am_save_LIBS"
45996 fi
45997
45998 fi
45999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46000 $as_echo "$am_cv_func_iconv" >&6; }
46001 if test "$am_cv_func_iconv" = yes; then
46002
46003 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46004
46005 fi
46006 if test "$am_cv_lib_iconv" = yes; then
46007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46008 $as_echo_n "checking how to link with libiconv... " >&6; }
46009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46010 $as_echo "$LIBICONV" >&6; }
46011 else
46012 CPPFLAGS="$am_save_CPPFLAGS"
46013 LIBICONV=
46014 LTLIBICONV=
46015 fi
46016
46017
46018
46019 if test "$am_cv_func_iconv" = yes; then
46020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46021 $as_echo_n "checking for iconv declaration... " >&6; }
46022 if test "${am_cv_proto_iconv+set}" = set; then :
46023 $as_echo_n "(cached) " >&6
46024 else
46025
46026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46027 /* end confdefs.h. */
46028
46029 #include <stdlib.h>
46030 #include <iconv.h>
46031 extern
46032 #ifdef __cplusplus
46033 "C"
46034 #endif
46035 #if defined(__STDC__) || defined(__cplusplus)
46036 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46037 #else
46038 size_t iconv();
46039 #endif
46040
46041 int
46042 main ()
46043 {
46044
46045 ;
46046 return 0;
46047 }
46048 _ACEOF
46049 if ac_fn_c_try_compile "$LINENO"; then :
46050 am_cv_proto_iconv_arg1=""
46051 else
46052 am_cv_proto_iconv_arg1="const"
46053 fi
46054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46055 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);"
46056 fi
46057
46058 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46060 }$am_cv_proto_iconv" >&5
46061 $as_echo "${ac_t:-
46062 }$am_cv_proto_iconv" >&6; }
46063
46064 cat >>confdefs.h <<_ACEOF
46065 #define ICONV_CONST $am_cv_proto_iconv_arg1
46066 _ACEOF
46067
46068 fi
46069
46070 ;;
46071
46072 *-darwin*)
46073 # Darwin versions vary, but the linker should work in a cross environment,
46074 # so we just check for all the features here.
46075 # Check for available headers.
46076
46077 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46078
46079 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46080 ac_save_CXXFLAGS="$CXXFLAGS"
46081 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46082
46083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46084 $as_echo_n "checking for sin in -lm... " >&6; }
46085 if test "${ac_cv_lib_m_sin+set}" = set; then :
46086 $as_echo_n "(cached) " >&6
46087 else
46088 ac_check_lib_save_LIBS=$LIBS
46089 LIBS="-lm $LIBS"
46090 if test x$gcc_no_link = xyes; then
46091 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46092 fi
46093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46094 /* end confdefs.h. */
46095
46096 /* Override any GCC internal prototype to avoid an error.
46097 Use char because int might match the return type of a GCC
46098 builtin and then its argument prototype would still apply. */
46099 #ifdef __cplusplus
46100 extern "C"
46101 #endif
46102 char sin ();
46103 int
46104 main ()
46105 {
46106 return sin ();
46107 ;
46108 return 0;
46109 }
46110 _ACEOF
46111 if ac_fn_c_try_link "$LINENO"; then :
46112 ac_cv_lib_m_sin=yes
46113 else
46114 ac_cv_lib_m_sin=no
46115 fi
46116 rm -f core conftest.err conftest.$ac_objext \
46117 conftest$ac_exeext conftest.$ac_ext
46118 LIBS=$ac_check_lib_save_LIBS
46119 fi
46120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46121 $as_echo "$ac_cv_lib_m_sin" >&6; }
46122 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46123 libm="-lm"
46124 fi
46125
46126 ac_save_LIBS="$LIBS"
46127 LIBS="$LIBS $libm"
46128
46129
46130
46131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46132 $as_echo_n "checking for isinf declaration... " >&6; }
46133 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46134 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46135 $as_echo_n "(cached) " >&6
46136 else
46137
46138
46139 ac_ext=cpp
46140 ac_cpp='$CXXCPP $CPPFLAGS'
46141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46144
46145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46146 /* end confdefs.h. */
46147 #include <math.h>
46148 #ifdef HAVE_IEEEFP_H
46149 #include <ieeefp.h>
46150 #endif
46151
46152 int
46153 main ()
46154 {
46155 isinf(0);
46156 ;
46157 return 0;
46158 }
46159 _ACEOF
46160 if ac_fn_cxx_try_compile "$LINENO"; then :
46161 glibcxx_cv_func_isinf_use=yes
46162 else
46163 glibcxx_cv_func_isinf_use=no
46164 fi
46165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46166 ac_ext=c
46167 ac_cpp='$CPP $CPPFLAGS'
46168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46171
46172
46173 fi
46174
46175 fi
46176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46177 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46178
46179 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46180 for ac_func in isinf
46181 do :
46182 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46183 if test "x$ac_cv_func_isinf" = x""yes; then :
46184 cat >>confdefs.h <<_ACEOF
46185 #define HAVE_ISINF 1
46186 _ACEOF
46187
46188 fi
46189 done
46190
46191 else
46192
46193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46194 $as_echo_n "checking for _isinf declaration... " >&6; }
46195 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46196 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46197 $as_echo_n "(cached) " >&6
46198 else
46199
46200
46201 ac_ext=cpp
46202 ac_cpp='$CXXCPP $CPPFLAGS'
46203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46206
46207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46208 /* end confdefs.h. */
46209 #include <math.h>
46210 #ifdef HAVE_IEEEFP_H
46211 #include <ieeefp.h>
46212 #endif
46213
46214 int
46215 main ()
46216 {
46217 _isinf(0);
46218 ;
46219 return 0;
46220 }
46221 _ACEOF
46222 if ac_fn_cxx_try_compile "$LINENO"; then :
46223 glibcxx_cv_func__isinf_use=yes
46224 else
46225 glibcxx_cv_func__isinf_use=no
46226 fi
46227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46228 ac_ext=c
46229 ac_cpp='$CPP $CPPFLAGS'
46230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46233
46234
46235 fi
46236
46237 fi
46238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46239 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46240
46241 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46242 for ac_func in _isinf
46243 do :
46244 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46245 if test "x$ac_cv_func__isinf" = x""yes; then :
46246 cat >>confdefs.h <<_ACEOF
46247 #define HAVE__ISINF 1
46248 _ACEOF
46249
46250 fi
46251 done
46252
46253 fi
46254 fi
46255
46256
46257
46258
46259
46260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46261 $as_echo_n "checking for isnan declaration... " >&6; }
46262 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46263 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46264 $as_echo_n "(cached) " >&6
46265 else
46266
46267
46268 ac_ext=cpp
46269 ac_cpp='$CXXCPP $CPPFLAGS'
46270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46273
46274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46275 /* end confdefs.h. */
46276 #include <math.h>
46277 #ifdef HAVE_IEEEFP_H
46278 #include <ieeefp.h>
46279 #endif
46280
46281 int
46282 main ()
46283 {
46284 isnan(0);
46285 ;
46286 return 0;
46287 }
46288 _ACEOF
46289 if ac_fn_cxx_try_compile "$LINENO"; then :
46290 glibcxx_cv_func_isnan_use=yes
46291 else
46292 glibcxx_cv_func_isnan_use=no
46293 fi
46294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46295 ac_ext=c
46296 ac_cpp='$CPP $CPPFLAGS'
46297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46300
46301
46302 fi
46303
46304 fi
46305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46306 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46307
46308 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46309 for ac_func in isnan
46310 do :
46311 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46312 if test "x$ac_cv_func_isnan" = x""yes; then :
46313 cat >>confdefs.h <<_ACEOF
46314 #define HAVE_ISNAN 1
46315 _ACEOF
46316
46317 fi
46318 done
46319
46320 else
46321
46322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46323 $as_echo_n "checking for _isnan declaration... " >&6; }
46324 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46325 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46326 $as_echo_n "(cached) " >&6
46327 else
46328
46329
46330 ac_ext=cpp
46331 ac_cpp='$CXXCPP $CPPFLAGS'
46332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46335
46336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46337 /* end confdefs.h. */
46338 #include <math.h>
46339 #ifdef HAVE_IEEEFP_H
46340 #include <ieeefp.h>
46341 #endif
46342
46343 int
46344 main ()
46345 {
46346 _isnan(0);
46347 ;
46348 return 0;
46349 }
46350 _ACEOF
46351 if ac_fn_cxx_try_compile "$LINENO"; then :
46352 glibcxx_cv_func__isnan_use=yes
46353 else
46354 glibcxx_cv_func__isnan_use=no
46355 fi
46356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46357 ac_ext=c
46358 ac_cpp='$CPP $CPPFLAGS'
46359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46362
46363
46364 fi
46365
46366 fi
46367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46368 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46369
46370 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46371 for ac_func in _isnan
46372 do :
46373 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46374 if test "x$ac_cv_func__isnan" = x""yes; then :
46375 cat >>confdefs.h <<_ACEOF
46376 #define HAVE__ISNAN 1
46377 _ACEOF
46378
46379 fi
46380 done
46381
46382 fi
46383 fi
46384
46385
46386
46387
46388
46389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46390 $as_echo_n "checking for finite declaration... " >&6; }
46391 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46392 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46393 $as_echo_n "(cached) " >&6
46394 else
46395
46396
46397 ac_ext=cpp
46398 ac_cpp='$CXXCPP $CPPFLAGS'
46399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46402
46403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46404 /* end confdefs.h. */
46405 #include <math.h>
46406 #ifdef HAVE_IEEEFP_H
46407 #include <ieeefp.h>
46408 #endif
46409
46410 int
46411 main ()
46412 {
46413 finite(0);
46414 ;
46415 return 0;
46416 }
46417 _ACEOF
46418 if ac_fn_cxx_try_compile "$LINENO"; then :
46419 glibcxx_cv_func_finite_use=yes
46420 else
46421 glibcxx_cv_func_finite_use=no
46422 fi
46423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46424 ac_ext=c
46425 ac_cpp='$CPP $CPPFLAGS'
46426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46429
46430
46431 fi
46432
46433 fi
46434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46435 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46436
46437 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46438 for ac_func in finite
46439 do :
46440 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46441 if test "x$ac_cv_func_finite" = x""yes; then :
46442 cat >>confdefs.h <<_ACEOF
46443 #define HAVE_FINITE 1
46444 _ACEOF
46445
46446 fi
46447 done
46448
46449 else
46450
46451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46452 $as_echo_n "checking for _finite declaration... " >&6; }
46453 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46454 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46455 $as_echo_n "(cached) " >&6
46456 else
46457
46458
46459 ac_ext=cpp
46460 ac_cpp='$CXXCPP $CPPFLAGS'
46461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46464
46465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46466 /* end confdefs.h. */
46467 #include <math.h>
46468 #ifdef HAVE_IEEEFP_H
46469 #include <ieeefp.h>
46470 #endif
46471
46472 int
46473 main ()
46474 {
46475 _finite(0);
46476 ;
46477 return 0;
46478 }
46479 _ACEOF
46480 if ac_fn_cxx_try_compile "$LINENO"; then :
46481 glibcxx_cv_func__finite_use=yes
46482 else
46483 glibcxx_cv_func__finite_use=no
46484 fi
46485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46486 ac_ext=c
46487 ac_cpp='$CPP $CPPFLAGS'
46488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46491
46492
46493 fi
46494
46495 fi
46496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46497 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46498
46499 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46500 for ac_func in _finite
46501 do :
46502 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46503 if test "x$ac_cv_func__finite" = x""yes; then :
46504 cat >>confdefs.h <<_ACEOF
46505 #define HAVE__FINITE 1
46506 _ACEOF
46507
46508 fi
46509 done
46510
46511 fi
46512 fi
46513
46514
46515
46516
46517
46518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46519 $as_echo_n "checking for sincos declaration... " >&6; }
46520 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46521 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46522 $as_echo_n "(cached) " >&6
46523 else
46524
46525
46526 ac_ext=cpp
46527 ac_cpp='$CXXCPP $CPPFLAGS'
46528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46531
46532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46533 /* end confdefs.h. */
46534 #include <math.h>
46535 int
46536 main ()
46537 {
46538 sincos(0, 0, 0);
46539 ;
46540 return 0;
46541 }
46542 _ACEOF
46543 if ac_fn_cxx_try_compile "$LINENO"; then :
46544 glibcxx_cv_func_sincos_use=yes
46545 else
46546 glibcxx_cv_func_sincos_use=no
46547 fi
46548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46549 ac_ext=c
46550 ac_cpp='$CPP $CPPFLAGS'
46551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46554
46555
46556 fi
46557
46558 fi
46559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46560 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46561
46562 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46563 for ac_func in sincos
46564 do :
46565 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46566 if test "x$ac_cv_func_sincos" = x""yes; then :
46567 cat >>confdefs.h <<_ACEOF
46568 #define HAVE_SINCOS 1
46569 _ACEOF
46570
46571 fi
46572 done
46573
46574 else
46575
46576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46577 $as_echo_n "checking for _sincos declaration... " >&6; }
46578 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46579 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46580 $as_echo_n "(cached) " >&6
46581 else
46582
46583
46584 ac_ext=cpp
46585 ac_cpp='$CXXCPP $CPPFLAGS'
46586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46589
46590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46591 /* end confdefs.h. */
46592 #include <math.h>
46593 int
46594 main ()
46595 {
46596 _sincos(0, 0, 0);
46597 ;
46598 return 0;
46599 }
46600 _ACEOF
46601 if ac_fn_cxx_try_compile "$LINENO"; then :
46602 glibcxx_cv_func__sincos_use=yes
46603 else
46604 glibcxx_cv_func__sincos_use=no
46605 fi
46606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46607 ac_ext=c
46608 ac_cpp='$CPP $CPPFLAGS'
46609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46612
46613
46614 fi
46615
46616 fi
46617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46618 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46619
46620 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46621 for ac_func in _sincos
46622 do :
46623 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46624 if test "x$ac_cv_func__sincos" = x""yes; then :
46625 cat >>confdefs.h <<_ACEOF
46626 #define HAVE__SINCOS 1
46627 _ACEOF
46628
46629 fi
46630 done
46631
46632 fi
46633 fi
46634
46635
46636
46637
46638
46639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46640 $as_echo_n "checking for fpclass declaration... " >&6; }
46641 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46642 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46643 $as_echo_n "(cached) " >&6
46644 else
46645
46646
46647 ac_ext=cpp
46648 ac_cpp='$CXXCPP $CPPFLAGS'
46649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46652
46653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46654 /* end confdefs.h. */
46655 #include <math.h>
46656 #ifdef HAVE_IEEEFP_H
46657 #include <ieeefp.h>
46658 #endif
46659
46660 int
46661 main ()
46662 {
46663 fpclass(0);
46664 ;
46665 return 0;
46666 }
46667 _ACEOF
46668 if ac_fn_cxx_try_compile "$LINENO"; then :
46669 glibcxx_cv_func_fpclass_use=yes
46670 else
46671 glibcxx_cv_func_fpclass_use=no
46672 fi
46673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46674 ac_ext=c
46675 ac_cpp='$CPP $CPPFLAGS'
46676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46679
46680
46681 fi
46682
46683 fi
46684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46685 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46686
46687 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46688 for ac_func in fpclass
46689 do :
46690 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46691 if test "x$ac_cv_func_fpclass" = x""yes; then :
46692 cat >>confdefs.h <<_ACEOF
46693 #define HAVE_FPCLASS 1
46694 _ACEOF
46695
46696 fi
46697 done
46698
46699 else
46700
46701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46702 $as_echo_n "checking for _fpclass declaration... " >&6; }
46703 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46704 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46705 $as_echo_n "(cached) " >&6
46706 else
46707
46708
46709 ac_ext=cpp
46710 ac_cpp='$CXXCPP $CPPFLAGS'
46711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46714
46715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46716 /* end confdefs.h. */
46717 #include <math.h>
46718 #ifdef HAVE_IEEEFP_H
46719 #include <ieeefp.h>
46720 #endif
46721
46722 int
46723 main ()
46724 {
46725 _fpclass(0);
46726 ;
46727 return 0;
46728 }
46729 _ACEOF
46730 if ac_fn_cxx_try_compile "$LINENO"; then :
46731 glibcxx_cv_func__fpclass_use=yes
46732 else
46733 glibcxx_cv_func__fpclass_use=no
46734 fi
46735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46736 ac_ext=c
46737 ac_cpp='$CPP $CPPFLAGS'
46738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46741
46742
46743 fi
46744
46745 fi
46746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46747 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46748
46749 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46750 for ac_func in _fpclass
46751 do :
46752 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46753 if test "x$ac_cv_func__fpclass" = x""yes; then :
46754 cat >>confdefs.h <<_ACEOF
46755 #define HAVE__FPCLASS 1
46756 _ACEOF
46757
46758 fi
46759 done
46760
46761 fi
46762 fi
46763
46764
46765
46766
46767
46768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46769 $as_echo_n "checking for qfpclass declaration... " >&6; }
46770 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46771 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46772 $as_echo_n "(cached) " >&6
46773 else
46774
46775
46776 ac_ext=cpp
46777 ac_cpp='$CXXCPP $CPPFLAGS'
46778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46781
46782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46783 /* end confdefs.h. */
46784 #include <math.h>
46785 #ifdef HAVE_IEEEFP_H
46786 #include <ieeefp.h>
46787 #endif
46788
46789 int
46790 main ()
46791 {
46792 qfpclass(0);
46793 ;
46794 return 0;
46795 }
46796 _ACEOF
46797 if ac_fn_cxx_try_compile "$LINENO"; then :
46798 glibcxx_cv_func_qfpclass_use=yes
46799 else
46800 glibcxx_cv_func_qfpclass_use=no
46801 fi
46802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46803 ac_ext=c
46804 ac_cpp='$CPP $CPPFLAGS'
46805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46808
46809
46810 fi
46811
46812 fi
46813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46814 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46815
46816 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46817 for ac_func in qfpclass
46818 do :
46819 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46820 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46821 cat >>confdefs.h <<_ACEOF
46822 #define HAVE_QFPCLASS 1
46823 _ACEOF
46824
46825 fi
46826 done
46827
46828 else
46829
46830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46831 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46832 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46833 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46834 $as_echo_n "(cached) " >&6
46835 else
46836
46837
46838 ac_ext=cpp
46839 ac_cpp='$CXXCPP $CPPFLAGS'
46840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46843
46844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46845 /* end confdefs.h. */
46846 #include <math.h>
46847 #ifdef HAVE_IEEEFP_H
46848 #include <ieeefp.h>
46849 #endif
46850
46851 int
46852 main ()
46853 {
46854 _qfpclass(0);
46855 ;
46856 return 0;
46857 }
46858 _ACEOF
46859 if ac_fn_cxx_try_compile "$LINENO"; then :
46860 glibcxx_cv_func__qfpclass_use=yes
46861 else
46862 glibcxx_cv_func__qfpclass_use=no
46863 fi
46864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46865 ac_ext=c
46866 ac_cpp='$CPP $CPPFLAGS'
46867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46870
46871
46872 fi
46873
46874 fi
46875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46876 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46877
46878 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46879 for ac_func in _qfpclass
46880 do :
46881 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46882 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46883 cat >>confdefs.h <<_ACEOF
46884 #define HAVE__QFPCLASS 1
46885 _ACEOF
46886
46887 fi
46888 done
46889
46890 fi
46891 fi
46892
46893
46894
46895
46896
46897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46898 $as_echo_n "checking for hypot declaration... " >&6; }
46899 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46900 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46901 $as_echo_n "(cached) " >&6
46902 else
46903
46904
46905 ac_ext=cpp
46906 ac_cpp='$CXXCPP $CPPFLAGS'
46907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46910
46911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46912 /* end confdefs.h. */
46913 #include <math.h>
46914 int
46915 main ()
46916 {
46917 hypot(0, 0);
46918 ;
46919 return 0;
46920 }
46921 _ACEOF
46922 if ac_fn_cxx_try_compile "$LINENO"; then :
46923 glibcxx_cv_func_hypot_use=yes
46924 else
46925 glibcxx_cv_func_hypot_use=no
46926 fi
46927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46928 ac_ext=c
46929 ac_cpp='$CPP $CPPFLAGS'
46930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46933
46934
46935 fi
46936
46937 fi
46938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46939 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46940
46941 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46942 for ac_func in hypot
46943 do :
46944 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46945 if test "x$ac_cv_func_hypot" = x""yes; then :
46946 cat >>confdefs.h <<_ACEOF
46947 #define HAVE_HYPOT 1
46948 _ACEOF
46949
46950 fi
46951 done
46952
46953 else
46954
46955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46956 $as_echo_n "checking for _hypot declaration... " >&6; }
46957 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46958 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46959 $as_echo_n "(cached) " >&6
46960 else
46961
46962
46963 ac_ext=cpp
46964 ac_cpp='$CXXCPP $CPPFLAGS'
46965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46968
46969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46970 /* end confdefs.h. */
46971 #include <math.h>
46972 int
46973 main ()
46974 {
46975 _hypot(0, 0);
46976 ;
46977 return 0;
46978 }
46979 _ACEOF
46980 if ac_fn_cxx_try_compile "$LINENO"; then :
46981 glibcxx_cv_func__hypot_use=yes
46982 else
46983 glibcxx_cv_func__hypot_use=no
46984 fi
46985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46986 ac_ext=c
46987 ac_cpp='$CPP $CPPFLAGS'
46988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46991
46992
46993 fi
46994
46995 fi
46996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46997 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46998
46999 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47000 for ac_func in _hypot
47001 do :
47002 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47003 if test "x$ac_cv_func__hypot" = x""yes; then :
47004 cat >>confdefs.h <<_ACEOF
47005 #define HAVE__HYPOT 1
47006 _ACEOF
47007
47008 fi
47009 done
47010
47011 fi
47012 fi
47013
47014
47015
47016
47017
47018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47019 $as_echo_n "checking for float trig functions... " >&6; }
47020 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47021 $as_echo_n "(cached) " >&6
47022 else
47023
47024
47025 ac_ext=cpp
47026 ac_cpp='$CXXCPP $CPPFLAGS'
47027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47030
47031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47032 /* end confdefs.h. */
47033 #include <math.h>
47034 int
47035 main ()
47036 {
47037 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47038 ;
47039 return 0;
47040 }
47041 _ACEOF
47042 if ac_fn_cxx_try_compile "$LINENO"; then :
47043 glibcxx_cv_func_float_trig_use=yes
47044 else
47045 glibcxx_cv_func_float_trig_use=no
47046 fi
47047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47048 ac_ext=c
47049 ac_cpp='$CPP $CPPFLAGS'
47050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47053
47054 fi
47055
47056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47057 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47058 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47059 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47060 do :
47061 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47062 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47063 eval as_val=\$$as_ac_var
47064 if test "x$as_val" = x""yes; then :
47065 cat >>confdefs.h <<_ACEOF
47066 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47067 _ACEOF
47068
47069 fi
47070 done
47071
47072 else
47073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47074 $as_echo_n "checking for _float trig functions... " >&6; }
47075 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47076 $as_echo_n "(cached) " >&6
47077 else
47078
47079
47080 ac_ext=cpp
47081 ac_cpp='$CXXCPP $CPPFLAGS'
47082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47085
47086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47087 /* end confdefs.h. */
47088 #include <math.h>
47089 int
47090 main ()
47091 {
47092 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47093 ;
47094 return 0;
47095 }
47096 _ACEOF
47097 if ac_fn_cxx_try_compile "$LINENO"; then :
47098 glibcxx_cv_func__float_trig_use=yes
47099 else
47100 glibcxx_cv_func__float_trig_use=no
47101 fi
47102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47103 ac_ext=c
47104 ac_cpp='$CPP $CPPFLAGS'
47105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47108
47109 fi
47110
47111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47112 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47113 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47114 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47115 do :
47116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47118 eval as_val=\$$as_ac_var
47119 if test "x$as_val" = x""yes; then :
47120 cat >>confdefs.h <<_ACEOF
47121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47122 _ACEOF
47123
47124 fi
47125 done
47126
47127 fi
47128 fi
47129
47130
47131
47132
47133
47134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47135 $as_echo_n "checking for float round functions... " >&6; }
47136 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47137 $as_echo_n "(cached) " >&6
47138 else
47139
47140
47141 ac_ext=cpp
47142 ac_cpp='$CXXCPP $CPPFLAGS'
47143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47146
47147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47148 /* end confdefs.h. */
47149 #include <math.h>
47150 int
47151 main ()
47152 {
47153 ceilf (0); floorf (0);
47154 ;
47155 return 0;
47156 }
47157 _ACEOF
47158 if ac_fn_cxx_try_compile "$LINENO"; then :
47159 glibcxx_cv_func_float_round_use=yes
47160 else
47161 glibcxx_cv_func_float_round_use=no
47162 fi
47163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47164 ac_ext=c
47165 ac_cpp='$CPP $CPPFLAGS'
47166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47169
47170 fi
47171
47172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47173 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47174 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47175 for ac_func in ceilf floorf
47176 do :
47177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47178 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47179 eval as_val=\$$as_ac_var
47180 if test "x$as_val" = x""yes; then :
47181 cat >>confdefs.h <<_ACEOF
47182 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47183 _ACEOF
47184
47185 fi
47186 done
47187
47188 else
47189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47190 $as_echo_n "checking for _float round functions... " >&6; }
47191 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47192 $as_echo_n "(cached) " >&6
47193 else
47194
47195
47196 ac_ext=cpp
47197 ac_cpp='$CXXCPP $CPPFLAGS'
47198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47201
47202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47203 /* end confdefs.h. */
47204 #include <math.h>
47205 int
47206 main ()
47207 {
47208 _ceilf (0); _floorf (0);
47209 ;
47210 return 0;
47211 }
47212 _ACEOF
47213 if ac_fn_cxx_try_compile "$LINENO"; then :
47214 glibcxx_cv_func__float_round_use=yes
47215 else
47216 glibcxx_cv_func__float_round_use=no
47217 fi
47218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47219 ac_ext=c
47220 ac_cpp='$CPP $CPPFLAGS'
47221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47224
47225 fi
47226
47227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47228 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47229 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47230 for ac_func in _ceilf _floorf
47231 do :
47232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47234 eval as_val=\$$as_ac_var
47235 if test "x$as_val" = x""yes; then :
47236 cat >>confdefs.h <<_ACEOF
47237 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47238 _ACEOF
47239
47240 fi
47241 done
47242
47243 fi
47244 fi
47245
47246
47247
47248
47249
47250
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47252 $as_echo_n "checking for expf declaration... " >&6; }
47253 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47254 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47255 $as_echo_n "(cached) " >&6
47256 else
47257
47258
47259 ac_ext=cpp
47260 ac_cpp='$CXXCPP $CPPFLAGS'
47261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47264
47265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47266 /* end confdefs.h. */
47267 #include <math.h>
47268 #ifdef HAVE_IEEEFP_H
47269 #include <ieeefp.h>
47270 #endif
47271
47272 int
47273 main ()
47274 {
47275 expf(0);
47276 ;
47277 return 0;
47278 }
47279 _ACEOF
47280 if ac_fn_cxx_try_compile "$LINENO"; then :
47281 glibcxx_cv_func_expf_use=yes
47282 else
47283 glibcxx_cv_func_expf_use=no
47284 fi
47285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47286 ac_ext=c
47287 ac_cpp='$CPP $CPPFLAGS'
47288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47291
47292
47293 fi
47294
47295 fi
47296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47297 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47298
47299 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47300 for ac_func in expf
47301 do :
47302 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47303 if test "x$ac_cv_func_expf" = x""yes; then :
47304 cat >>confdefs.h <<_ACEOF
47305 #define HAVE_EXPF 1
47306 _ACEOF
47307
47308 fi
47309 done
47310
47311 else
47312
47313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47314 $as_echo_n "checking for _expf declaration... " >&6; }
47315 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47316 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47317 $as_echo_n "(cached) " >&6
47318 else
47319
47320
47321 ac_ext=cpp
47322 ac_cpp='$CXXCPP $CPPFLAGS'
47323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47326
47327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47328 /* end confdefs.h. */
47329 #include <math.h>
47330 #ifdef HAVE_IEEEFP_H
47331 #include <ieeefp.h>
47332 #endif
47333
47334 int
47335 main ()
47336 {
47337 _expf(0);
47338 ;
47339 return 0;
47340 }
47341 _ACEOF
47342 if ac_fn_cxx_try_compile "$LINENO"; then :
47343 glibcxx_cv_func__expf_use=yes
47344 else
47345 glibcxx_cv_func__expf_use=no
47346 fi
47347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47348 ac_ext=c
47349 ac_cpp='$CPP $CPPFLAGS'
47350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47353
47354
47355 fi
47356
47357 fi
47358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47359 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47360
47361 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47362 for ac_func in _expf
47363 do :
47364 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47365 if test "x$ac_cv_func__expf" = x""yes; then :
47366 cat >>confdefs.h <<_ACEOF
47367 #define HAVE__EXPF 1
47368 _ACEOF
47369
47370 fi
47371 done
47372
47373 fi
47374 fi
47375
47376
47377
47378
47379
47380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47381 $as_echo_n "checking for isnanf declaration... " >&6; }
47382 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47383 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47384 $as_echo_n "(cached) " >&6
47385 else
47386
47387
47388 ac_ext=cpp
47389 ac_cpp='$CXXCPP $CPPFLAGS'
47390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47393
47394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47395 /* end confdefs.h. */
47396 #include <math.h>
47397 #ifdef HAVE_IEEEFP_H
47398 #include <ieeefp.h>
47399 #endif
47400
47401 int
47402 main ()
47403 {
47404 isnanf(0);
47405 ;
47406 return 0;
47407 }
47408 _ACEOF
47409 if ac_fn_cxx_try_compile "$LINENO"; then :
47410 glibcxx_cv_func_isnanf_use=yes
47411 else
47412 glibcxx_cv_func_isnanf_use=no
47413 fi
47414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47415 ac_ext=c
47416 ac_cpp='$CPP $CPPFLAGS'
47417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47420
47421
47422 fi
47423
47424 fi
47425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47426 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47427
47428 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47429 for ac_func in isnanf
47430 do :
47431 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47432 if test "x$ac_cv_func_isnanf" = x""yes; then :
47433 cat >>confdefs.h <<_ACEOF
47434 #define HAVE_ISNANF 1
47435 _ACEOF
47436
47437 fi
47438 done
47439
47440 else
47441
47442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47443 $as_echo_n "checking for _isnanf declaration... " >&6; }
47444 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47445 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47446 $as_echo_n "(cached) " >&6
47447 else
47448
47449
47450 ac_ext=cpp
47451 ac_cpp='$CXXCPP $CPPFLAGS'
47452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47455
47456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47457 /* end confdefs.h. */
47458 #include <math.h>
47459 #ifdef HAVE_IEEEFP_H
47460 #include <ieeefp.h>
47461 #endif
47462
47463 int
47464 main ()
47465 {
47466 _isnanf(0);
47467 ;
47468 return 0;
47469 }
47470 _ACEOF
47471 if ac_fn_cxx_try_compile "$LINENO"; then :
47472 glibcxx_cv_func__isnanf_use=yes
47473 else
47474 glibcxx_cv_func__isnanf_use=no
47475 fi
47476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47477 ac_ext=c
47478 ac_cpp='$CPP $CPPFLAGS'
47479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47482
47483
47484 fi
47485
47486 fi
47487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47488 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47489
47490 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47491 for ac_func in _isnanf
47492 do :
47493 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47494 if test "x$ac_cv_func__isnanf" = x""yes; then :
47495 cat >>confdefs.h <<_ACEOF
47496 #define HAVE__ISNANF 1
47497 _ACEOF
47498
47499 fi
47500 done
47501
47502 fi
47503 fi
47504
47505
47506
47507
47508
47509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47510 $as_echo_n "checking for isinff declaration... " >&6; }
47511 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47512 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47513 $as_echo_n "(cached) " >&6
47514 else
47515
47516
47517 ac_ext=cpp
47518 ac_cpp='$CXXCPP $CPPFLAGS'
47519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47522
47523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47524 /* end confdefs.h. */
47525 #include <math.h>
47526 #ifdef HAVE_IEEEFP_H
47527 #include <ieeefp.h>
47528 #endif
47529
47530 int
47531 main ()
47532 {
47533 isinff(0);
47534 ;
47535 return 0;
47536 }
47537 _ACEOF
47538 if ac_fn_cxx_try_compile "$LINENO"; then :
47539 glibcxx_cv_func_isinff_use=yes
47540 else
47541 glibcxx_cv_func_isinff_use=no
47542 fi
47543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47544 ac_ext=c
47545 ac_cpp='$CPP $CPPFLAGS'
47546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47549
47550
47551 fi
47552
47553 fi
47554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47555 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47556
47557 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47558 for ac_func in isinff
47559 do :
47560 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47561 if test "x$ac_cv_func_isinff" = x""yes; then :
47562 cat >>confdefs.h <<_ACEOF
47563 #define HAVE_ISINFF 1
47564 _ACEOF
47565
47566 fi
47567 done
47568
47569 else
47570
47571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47572 $as_echo_n "checking for _isinff declaration... " >&6; }
47573 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47574 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47575 $as_echo_n "(cached) " >&6
47576 else
47577
47578
47579 ac_ext=cpp
47580 ac_cpp='$CXXCPP $CPPFLAGS'
47581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47584
47585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47586 /* end confdefs.h. */
47587 #include <math.h>
47588 #ifdef HAVE_IEEEFP_H
47589 #include <ieeefp.h>
47590 #endif
47591
47592 int
47593 main ()
47594 {
47595 _isinff(0);
47596 ;
47597 return 0;
47598 }
47599 _ACEOF
47600 if ac_fn_cxx_try_compile "$LINENO"; then :
47601 glibcxx_cv_func__isinff_use=yes
47602 else
47603 glibcxx_cv_func__isinff_use=no
47604 fi
47605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47606 ac_ext=c
47607 ac_cpp='$CPP $CPPFLAGS'
47608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47611
47612
47613 fi
47614
47615 fi
47616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47617 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47618
47619 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47620 for ac_func in _isinff
47621 do :
47622 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47623 if test "x$ac_cv_func__isinff" = x""yes; then :
47624 cat >>confdefs.h <<_ACEOF
47625 #define HAVE__ISINFF 1
47626 _ACEOF
47627
47628 fi
47629 done
47630
47631 fi
47632 fi
47633
47634
47635
47636
47637
47638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47639 $as_echo_n "checking for atan2f declaration... " >&6; }
47640 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47641 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47642 $as_echo_n "(cached) " >&6
47643 else
47644
47645
47646 ac_ext=cpp
47647 ac_cpp='$CXXCPP $CPPFLAGS'
47648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47651
47652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47653 /* end confdefs.h. */
47654 #include <math.h>
47655 int
47656 main ()
47657 {
47658 atan2f(0, 0);
47659 ;
47660 return 0;
47661 }
47662 _ACEOF
47663 if ac_fn_cxx_try_compile "$LINENO"; then :
47664 glibcxx_cv_func_atan2f_use=yes
47665 else
47666 glibcxx_cv_func_atan2f_use=no
47667 fi
47668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47669 ac_ext=c
47670 ac_cpp='$CPP $CPPFLAGS'
47671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47674
47675
47676 fi
47677
47678 fi
47679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47680 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47681
47682 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47683 for ac_func in atan2f
47684 do :
47685 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47686 if test "x$ac_cv_func_atan2f" = x""yes; then :
47687 cat >>confdefs.h <<_ACEOF
47688 #define HAVE_ATAN2F 1
47689 _ACEOF
47690
47691 fi
47692 done
47693
47694 else
47695
47696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47697 $as_echo_n "checking for _atan2f declaration... " >&6; }
47698 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47699 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47700 $as_echo_n "(cached) " >&6
47701 else
47702
47703
47704 ac_ext=cpp
47705 ac_cpp='$CXXCPP $CPPFLAGS'
47706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47709
47710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47711 /* end confdefs.h. */
47712 #include <math.h>
47713 int
47714 main ()
47715 {
47716 _atan2f(0, 0);
47717 ;
47718 return 0;
47719 }
47720 _ACEOF
47721 if ac_fn_cxx_try_compile "$LINENO"; then :
47722 glibcxx_cv_func__atan2f_use=yes
47723 else
47724 glibcxx_cv_func__atan2f_use=no
47725 fi
47726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47727 ac_ext=c
47728 ac_cpp='$CPP $CPPFLAGS'
47729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47732
47733
47734 fi
47735
47736 fi
47737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47738 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47739
47740 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47741 for ac_func in _atan2f
47742 do :
47743 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47744 if test "x$ac_cv_func__atan2f" = x""yes; then :
47745 cat >>confdefs.h <<_ACEOF
47746 #define HAVE__ATAN2F 1
47747 _ACEOF
47748
47749 fi
47750 done
47751
47752 fi
47753 fi
47754
47755
47756
47757
47758
47759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47760 $as_echo_n "checking for fabsf declaration... " >&6; }
47761 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47762 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47763 $as_echo_n "(cached) " >&6
47764 else
47765
47766
47767 ac_ext=cpp
47768 ac_cpp='$CXXCPP $CPPFLAGS'
47769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47772
47773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47774 /* end confdefs.h. */
47775 #include <math.h>
47776 #ifdef HAVE_IEEEFP_H
47777 #include <ieeefp.h>
47778 #endif
47779
47780 int
47781 main ()
47782 {
47783 fabsf(0);
47784 ;
47785 return 0;
47786 }
47787 _ACEOF
47788 if ac_fn_cxx_try_compile "$LINENO"; then :
47789 glibcxx_cv_func_fabsf_use=yes
47790 else
47791 glibcxx_cv_func_fabsf_use=no
47792 fi
47793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47794 ac_ext=c
47795 ac_cpp='$CPP $CPPFLAGS'
47796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47799
47800
47801 fi
47802
47803 fi
47804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47805 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47806
47807 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47808 for ac_func in fabsf
47809 do :
47810 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47811 if test "x$ac_cv_func_fabsf" = x""yes; then :
47812 cat >>confdefs.h <<_ACEOF
47813 #define HAVE_FABSF 1
47814 _ACEOF
47815
47816 fi
47817 done
47818
47819 else
47820
47821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47822 $as_echo_n "checking for _fabsf declaration... " >&6; }
47823 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47824 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47825 $as_echo_n "(cached) " >&6
47826 else
47827
47828
47829 ac_ext=cpp
47830 ac_cpp='$CXXCPP $CPPFLAGS'
47831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47834
47835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47836 /* end confdefs.h. */
47837 #include <math.h>
47838 #ifdef HAVE_IEEEFP_H
47839 #include <ieeefp.h>
47840 #endif
47841
47842 int
47843 main ()
47844 {
47845 _fabsf(0);
47846 ;
47847 return 0;
47848 }
47849 _ACEOF
47850 if ac_fn_cxx_try_compile "$LINENO"; then :
47851 glibcxx_cv_func__fabsf_use=yes
47852 else
47853 glibcxx_cv_func__fabsf_use=no
47854 fi
47855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47856 ac_ext=c
47857 ac_cpp='$CPP $CPPFLAGS'
47858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47861
47862
47863 fi
47864
47865 fi
47866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47867 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47868
47869 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47870 for ac_func in _fabsf
47871 do :
47872 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47873 if test "x$ac_cv_func__fabsf" = x""yes; then :
47874 cat >>confdefs.h <<_ACEOF
47875 #define HAVE__FABSF 1
47876 _ACEOF
47877
47878 fi
47879 done
47880
47881 fi
47882 fi
47883
47884
47885
47886
47887
47888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47889 $as_echo_n "checking for fmodf declaration... " >&6; }
47890 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47891 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47892 $as_echo_n "(cached) " >&6
47893 else
47894
47895
47896 ac_ext=cpp
47897 ac_cpp='$CXXCPP $CPPFLAGS'
47898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47901
47902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47903 /* end confdefs.h. */
47904 #include <math.h>
47905 int
47906 main ()
47907 {
47908 fmodf(0, 0);
47909 ;
47910 return 0;
47911 }
47912 _ACEOF
47913 if ac_fn_cxx_try_compile "$LINENO"; then :
47914 glibcxx_cv_func_fmodf_use=yes
47915 else
47916 glibcxx_cv_func_fmodf_use=no
47917 fi
47918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47919 ac_ext=c
47920 ac_cpp='$CPP $CPPFLAGS'
47921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47924
47925
47926 fi
47927
47928 fi
47929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47930 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47931
47932 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47933 for ac_func in fmodf
47934 do :
47935 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47936 if test "x$ac_cv_func_fmodf" = x""yes; then :
47937 cat >>confdefs.h <<_ACEOF
47938 #define HAVE_FMODF 1
47939 _ACEOF
47940
47941 fi
47942 done
47943
47944 else
47945
47946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47947 $as_echo_n "checking for _fmodf declaration... " >&6; }
47948 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47949 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47950 $as_echo_n "(cached) " >&6
47951 else
47952
47953
47954 ac_ext=cpp
47955 ac_cpp='$CXXCPP $CPPFLAGS'
47956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47959
47960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47961 /* end confdefs.h. */
47962 #include <math.h>
47963 int
47964 main ()
47965 {
47966 _fmodf(0, 0);
47967 ;
47968 return 0;
47969 }
47970 _ACEOF
47971 if ac_fn_cxx_try_compile "$LINENO"; then :
47972 glibcxx_cv_func__fmodf_use=yes
47973 else
47974 glibcxx_cv_func__fmodf_use=no
47975 fi
47976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47977 ac_ext=c
47978 ac_cpp='$CPP $CPPFLAGS'
47979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47982
47983
47984 fi
47985
47986 fi
47987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47988 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47989
47990 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47991 for ac_func in _fmodf
47992 do :
47993 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47994 if test "x$ac_cv_func__fmodf" = x""yes; then :
47995 cat >>confdefs.h <<_ACEOF
47996 #define HAVE__FMODF 1
47997 _ACEOF
47998
47999 fi
48000 done
48001
48002 fi
48003 fi
48004
48005
48006
48007
48008
48009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48010 $as_echo_n "checking for frexpf declaration... " >&6; }
48011 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48012 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48013 $as_echo_n "(cached) " >&6
48014 else
48015
48016
48017 ac_ext=cpp
48018 ac_cpp='$CXXCPP $CPPFLAGS'
48019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48022
48023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48024 /* end confdefs.h. */
48025 #include <math.h>
48026 int
48027 main ()
48028 {
48029 frexpf(0, 0);
48030 ;
48031 return 0;
48032 }
48033 _ACEOF
48034 if ac_fn_cxx_try_compile "$LINENO"; then :
48035 glibcxx_cv_func_frexpf_use=yes
48036 else
48037 glibcxx_cv_func_frexpf_use=no
48038 fi
48039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48040 ac_ext=c
48041 ac_cpp='$CPP $CPPFLAGS'
48042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48045
48046
48047 fi
48048
48049 fi
48050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48051 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48052
48053 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48054 for ac_func in frexpf
48055 do :
48056 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48057 if test "x$ac_cv_func_frexpf" = x""yes; then :
48058 cat >>confdefs.h <<_ACEOF
48059 #define HAVE_FREXPF 1
48060 _ACEOF
48061
48062 fi
48063 done
48064
48065 else
48066
48067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48068 $as_echo_n "checking for _frexpf declaration... " >&6; }
48069 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48070 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48071 $as_echo_n "(cached) " >&6
48072 else
48073
48074
48075 ac_ext=cpp
48076 ac_cpp='$CXXCPP $CPPFLAGS'
48077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48080
48081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48082 /* end confdefs.h. */
48083 #include <math.h>
48084 int
48085 main ()
48086 {
48087 _frexpf(0, 0);
48088 ;
48089 return 0;
48090 }
48091 _ACEOF
48092 if ac_fn_cxx_try_compile "$LINENO"; then :
48093 glibcxx_cv_func__frexpf_use=yes
48094 else
48095 glibcxx_cv_func__frexpf_use=no
48096 fi
48097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48098 ac_ext=c
48099 ac_cpp='$CPP $CPPFLAGS'
48100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48103
48104
48105 fi
48106
48107 fi
48108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48109 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48110
48111 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48112 for ac_func in _frexpf
48113 do :
48114 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48115 if test "x$ac_cv_func__frexpf" = x""yes; then :
48116 cat >>confdefs.h <<_ACEOF
48117 #define HAVE__FREXPF 1
48118 _ACEOF
48119
48120 fi
48121 done
48122
48123 fi
48124 fi
48125
48126
48127
48128
48129
48130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48131 $as_echo_n "checking for hypotf declaration... " >&6; }
48132 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48133 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48134 $as_echo_n "(cached) " >&6
48135 else
48136
48137
48138 ac_ext=cpp
48139 ac_cpp='$CXXCPP $CPPFLAGS'
48140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48143
48144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48145 /* end confdefs.h. */
48146 #include <math.h>
48147 int
48148 main ()
48149 {
48150 hypotf(0, 0);
48151 ;
48152 return 0;
48153 }
48154 _ACEOF
48155 if ac_fn_cxx_try_compile "$LINENO"; then :
48156 glibcxx_cv_func_hypotf_use=yes
48157 else
48158 glibcxx_cv_func_hypotf_use=no
48159 fi
48160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48161 ac_ext=c
48162 ac_cpp='$CPP $CPPFLAGS'
48163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48166
48167
48168 fi
48169
48170 fi
48171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48172 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48173
48174 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48175 for ac_func in hypotf
48176 do :
48177 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48178 if test "x$ac_cv_func_hypotf" = x""yes; then :
48179 cat >>confdefs.h <<_ACEOF
48180 #define HAVE_HYPOTF 1
48181 _ACEOF
48182
48183 fi
48184 done
48185
48186 else
48187
48188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48189 $as_echo_n "checking for _hypotf declaration... " >&6; }
48190 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48191 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48192 $as_echo_n "(cached) " >&6
48193 else
48194
48195
48196 ac_ext=cpp
48197 ac_cpp='$CXXCPP $CPPFLAGS'
48198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48201
48202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48203 /* end confdefs.h. */
48204 #include <math.h>
48205 int
48206 main ()
48207 {
48208 _hypotf(0, 0);
48209 ;
48210 return 0;
48211 }
48212 _ACEOF
48213 if ac_fn_cxx_try_compile "$LINENO"; then :
48214 glibcxx_cv_func__hypotf_use=yes
48215 else
48216 glibcxx_cv_func__hypotf_use=no
48217 fi
48218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48219 ac_ext=c
48220 ac_cpp='$CPP $CPPFLAGS'
48221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48224
48225
48226 fi
48227
48228 fi
48229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48230 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48231
48232 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48233 for ac_func in _hypotf
48234 do :
48235 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48236 if test "x$ac_cv_func__hypotf" = x""yes; then :
48237 cat >>confdefs.h <<_ACEOF
48238 #define HAVE__HYPOTF 1
48239 _ACEOF
48240
48241 fi
48242 done
48243
48244 fi
48245 fi
48246
48247
48248
48249
48250
48251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48252 $as_echo_n "checking for ldexpf declaration... " >&6; }
48253 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48254 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48255 $as_echo_n "(cached) " >&6
48256 else
48257
48258
48259 ac_ext=cpp
48260 ac_cpp='$CXXCPP $CPPFLAGS'
48261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48264
48265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48266 /* end confdefs.h. */
48267 #include <math.h>
48268 int
48269 main ()
48270 {
48271 ldexpf(0, 0);
48272 ;
48273 return 0;
48274 }
48275 _ACEOF
48276 if ac_fn_cxx_try_compile "$LINENO"; then :
48277 glibcxx_cv_func_ldexpf_use=yes
48278 else
48279 glibcxx_cv_func_ldexpf_use=no
48280 fi
48281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48282 ac_ext=c
48283 ac_cpp='$CPP $CPPFLAGS'
48284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48287
48288
48289 fi
48290
48291 fi
48292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48293 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48294
48295 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48296 for ac_func in ldexpf
48297 do :
48298 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48299 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48300 cat >>confdefs.h <<_ACEOF
48301 #define HAVE_LDEXPF 1
48302 _ACEOF
48303
48304 fi
48305 done
48306
48307 else
48308
48309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48310 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48311 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48312 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48313 $as_echo_n "(cached) " >&6
48314 else
48315
48316
48317 ac_ext=cpp
48318 ac_cpp='$CXXCPP $CPPFLAGS'
48319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48322
48323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48324 /* end confdefs.h. */
48325 #include <math.h>
48326 int
48327 main ()
48328 {
48329 _ldexpf(0, 0);
48330 ;
48331 return 0;
48332 }
48333 _ACEOF
48334 if ac_fn_cxx_try_compile "$LINENO"; then :
48335 glibcxx_cv_func__ldexpf_use=yes
48336 else
48337 glibcxx_cv_func__ldexpf_use=no
48338 fi
48339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48340 ac_ext=c
48341 ac_cpp='$CPP $CPPFLAGS'
48342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48345
48346
48347 fi
48348
48349 fi
48350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48351 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48352
48353 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48354 for ac_func in _ldexpf
48355 do :
48356 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48357 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48358 cat >>confdefs.h <<_ACEOF
48359 #define HAVE__LDEXPF 1
48360 _ACEOF
48361
48362 fi
48363 done
48364
48365 fi
48366 fi
48367
48368
48369
48370
48371
48372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48373 $as_echo_n "checking for logf declaration... " >&6; }
48374 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48375 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48376 $as_echo_n "(cached) " >&6
48377 else
48378
48379
48380 ac_ext=cpp
48381 ac_cpp='$CXXCPP $CPPFLAGS'
48382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48385
48386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48387 /* end confdefs.h. */
48388 #include <math.h>
48389 #ifdef HAVE_IEEEFP_H
48390 #include <ieeefp.h>
48391 #endif
48392
48393 int
48394 main ()
48395 {
48396 logf(0);
48397 ;
48398 return 0;
48399 }
48400 _ACEOF
48401 if ac_fn_cxx_try_compile "$LINENO"; then :
48402 glibcxx_cv_func_logf_use=yes
48403 else
48404 glibcxx_cv_func_logf_use=no
48405 fi
48406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48407 ac_ext=c
48408 ac_cpp='$CPP $CPPFLAGS'
48409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48412
48413
48414 fi
48415
48416 fi
48417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48418 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48419
48420 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48421 for ac_func in logf
48422 do :
48423 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48424 if test "x$ac_cv_func_logf" = x""yes; then :
48425 cat >>confdefs.h <<_ACEOF
48426 #define HAVE_LOGF 1
48427 _ACEOF
48428
48429 fi
48430 done
48431
48432 else
48433
48434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48435 $as_echo_n "checking for _logf declaration... " >&6; }
48436 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48437 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48438 $as_echo_n "(cached) " >&6
48439 else
48440
48441
48442 ac_ext=cpp
48443 ac_cpp='$CXXCPP $CPPFLAGS'
48444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48447
48448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48449 /* end confdefs.h. */
48450 #include <math.h>
48451 #ifdef HAVE_IEEEFP_H
48452 #include <ieeefp.h>
48453 #endif
48454
48455 int
48456 main ()
48457 {
48458 _logf(0);
48459 ;
48460 return 0;
48461 }
48462 _ACEOF
48463 if ac_fn_cxx_try_compile "$LINENO"; then :
48464 glibcxx_cv_func__logf_use=yes
48465 else
48466 glibcxx_cv_func__logf_use=no
48467 fi
48468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48469 ac_ext=c
48470 ac_cpp='$CPP $CPPFLAGS'
48471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48474
48475
48476 fi
48477
48478 fi
48479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48480 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48481
48482 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48483 for ac_func in _logf
48484 do :
48485 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48486 if test "x$ac_cv_func__logf" = x""yes; then :
48487 cat >>confdefs.h <<_ACEOF
48488 #define HAVE__LOGF 1
48489 _ACEOF
48490
48491 fi
48492 done
48493
48494 fi
48495 fi
48496
48497
48498
48499
48500
48501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48502 $as_echo_n "checking for log10f declaration... " >&6; }
48503 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48504 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48505 $as_echo_n "(cached) " >&6
48506 else
48507
48508
48509 ac_ext=cpp
48510 ac_cpp='$CXXCPP $CPPFLAGS'
48511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48514
48515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48516 /* end confdefs.h. */
48517 #include <math.h>
48518 #ifdef HAVE_IEEEFP_H
48519 #include <ieeefp.h>
48520 #endif
48521
48522 int
48523 main ()
48524 {
48525 log10f(0);
48526 ;
48527 return 0;
48528 }
48529 _ACEOF
48530 if ac_fn_cxx_try_compile "$LINENO"; then :
48531 glibcxx_cv_func_log10f_use=yes
48532 else
48533 glibcxx_cv_func_log10f_use=no
48534 fi
48535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48536 ac_ext=c
48537 ac_cpp='$CPP $CPPFLAGS'
48538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48541
48542
48543 fi
48544
48545 fi
48546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48547 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48548
48549 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48550 for ac_func in log10f
48551 do :
48552 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48553 if test "x$ac_cv_func_log10f" = x""yes; then :
48554 cat >>confdefs.h <<_ACEOF
48555 #define HAVE_LOG10F 1
48556 _ACEOF
48557
48558 fi
48559 done
48560
48561 else
48562
48563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48564 $as_echo_n "checking for _log10f declaration... " >&6; }
48565 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48566 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48567 $as_echo_n "(cached) " >&6
48568 else
48569
48570
48571 ac_ext=cpp
48572 ac_cpp='$CXXCPP $CPPFLAGS'
48573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48576
48577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48578 /* end confdefs.h. */
48579 #include <math.h>
48580 #ifdef HAVE_IEEEFP_H
48581 #include <ieeefp.h>
48582 #endif
48583
48584 int
48585 main ()
48586 {
48587 _log10f(0);
48588 ;
48589 return 0;
48590 }
48591 _ACEOF
48592 if ac_fn_cxx_try_compile "$LINENO"; then :
48593 glibcxx_cv_func__log10f_use=yes
48594 else
48595 glibcxx_cv_func__log10f_use=no
48596 fi
48597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48598 ac_ext=c
48599 ac_cpp='$CPP $CPPFLAGS'
48600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48603
48604
48605 fi
48606
48607 fi
48608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48609 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48610
48611 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48612 for ac_func in _log10f
48613 do :
48614 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48615 if test "x$ac_cv_func__log10f" = x""yes; then :
48616 cat >>confdefs.h <<_ACEOF
48617 #define HAVE__LOG10F 1
48618 _ACEOF
48619
48620 fi
48621 done
48622
48623 fi
48624 fi
48625
48626
48627
48628
48629
48630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48631 $as_echo_n "checking for modff declaration... " >&6; }
48632 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48633 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48634 $as_echo_n "(cached) " >&6
48635 else
48636
48637
48638 ac_ext=cpp
48639 ac_cpp='$CXXCPP $CPPFLAGS'
48640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48643
48644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48645 /* end confdefs.h. */
48646 #include <math.h>
48647 int
48648 main ()
48649 {
48650 modff(0, 0);
48651 ;
48652 return 0;
48653 }
48654 _ACEOF
48655 if ac_fn_cxx_try_compile "$LINENO"; then :
48656 glibcxx_cv_func_modff_use=yes
48657 else
48658 glibcxx_cv_func_modff_use=no
48659 fi
48660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48661 ac_ext=c
48662 ac_cpp='$CPP $CPPFLAGS'
48663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48666
48667
48668 fi
48669
48670 fi
48671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48672 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48673
48674 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48675 for ac_func in modff
48676 do :
48677 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48678 if test "x$ac_cv_func_modff" = x""yes; then :
48679 cat >>confdefs.h <<_ACEOF
48680 #define HAVE_MODFF 1
48681 _ACEOF
48682
48683 fi
48684 done
48685
48686 else
48687
48688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48689 $as_echo_n "checking for _modff declaration... " >&6; }
48690 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48691 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48692 $as_echo_n "(cached) " >&6
48693 else
48694
48695
48696 ac_ext=cpp
48697 ac_cpp='$CXXCPP $CPPFLAGS'
48698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48701
48702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48703 /* end confdefs.h. */
48704 #include <math.h>
48705 int
48706 main ()
48707 {
48708 _modff(0, 0);
48709 ;
48710 return 0;
48711 }
48712 _ACEOF
48713 if ac_fn_cxx_try_compile "$LINENO"; then :
48714 glibcxx_cv_func__modff_use=yes
48715 else
48716 glibcxx_cv_func__modff_use=no
48717 fi
48718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48719 ac_ext=c
48720 ac_cpp='$CPP $CPPFLAGS'
48721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48724
48725
48726 fi
48727
48728 fi
48729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48730 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48731
48732 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48733 for ac_func in _modff
48734 do :
48735 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48736 if test "x$ac_cv_func__modff" = x""yes; then :
48737 cat >>confdefs.h <<_ACEOF
48738 #define HAVE__MODFF 1
48739 _ACEOF
48740
48741 fi
48742 done
48743
48744 fi
48745 fi
48746
48747
48748
48749
48750
48751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48752 $as_echo_n "checking for modf declaration... " >&6; }
48753 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48754 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48755 $as_echo_n "(cached) " >&6
48756 else
48757
48758
48759 ac_ext=cpp
48760 ac_cpp='$CXXCPP $CPPFLAGS'
48761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48764
48765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48766 /* end confdefs.h. */
48767 #include <math.h>
48768 int
48769 main ()
48770 {
48771 modf(0, 0);
48772 ;
48773 return 0;
48774 }
48775 _ACEOF
48776 if ac_fn_cxx_try_compile "$LINENO"; then :
48777 glibcxx_cv_func_modf_use=yes
48778 else
48779 glibcxx_cv_func_modf_use=no
48780 fi
48781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48782 ac_ext=c
48783 ac_cpp='$CPP $CPPFLAGS'
48784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48787
48788
48789 fi
48790
48791 fi
48792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48793 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48794
48795 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48796 for ac_func in modf
48797 do :
48798 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48799 if test "x$ac_cv_func_modf" = x""yes; then :
48800 cat >>confdefs.h <<_ACEOF
48801 #define HAVE_MODF 1
48802 _ACEOF
48803
48804 fi
48805 done
48806
48807 else
48808
48809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48810 $as_echo_n "checking for _modf declaration... " >&6; }
48811 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48812 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48813 $as_echo_n "(cached) " >&6
48814 else
48815
48816
48817 ac_ext=cpp
48818 ac_cpp='$CXXCPP $CPPFLAGS'
48819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48822
48823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48824 /* end confdefs.h. */
48825 #include <math.h>
48826 int
48827 main ()
48828 {
48829 _modf(0, 0);
48830 ;
48831 return 0;
48832 }
48833 _ACEOF
48834 if ac_fn_cxx_try_compile "$LINENO"; then :
48835 glibcxx_cv_func__modf_use=yes
48836 else
48837 glibcxx_cv_func__modf_use=no
48838 fi
48839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48840 ac_ext=c
48841 ac_cpp='$CPP $CPPFLAGS'
48842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48845
48846
48847 fi
48848
48849 fi
48850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48851 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48852
48853 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48854 for ac_func in _modf
48855 do :
48856 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48857 if test "x$ac_cv_func__modf" = x""yes; then :
48858 cat >>confdefs.h <<_ACEOF
48859 #define HAVE__MODF 1
48860 _ACEOF
48861
48862 fi
48863 done
48864
48865 fi
48866 fi
48867
48868
48869
48870
48871
48872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48873 $as_echo_n "checking for powf declaration... " >&6; }
48874 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48875 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48876 $as_echo_n "(cached) " >&6
48877 else
48878
48879
48880 ac_ext=cpp
48881 ac_cpp='$CXXCPP $CPPFLAGS'
48882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48885
48886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48887 /* end confdefs.h. */
48888 #include <math.h>
48889 int
48890 main ()
48891 {
48892 powf(0, 0);
48893 ;
48894 return 0;
48895 }
48896 _ACEOF
48897 if ac_fn_cxx_try_compile "$LINENO"; then :
48898 glibcxx_cv_func_powf_use=yes
48899 else
48900 glibcxx_cv_func_powf_use=no
48901 fi
48902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48903 ac_ext=c
48904 ac_cpp='$CPP $CPPFLAGS'
48905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48908
48909
48910 fi
48911
48912 fi
48913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48914 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48915
48916 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48917 for ac_func in powf
48918 do :
48919 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48920 if test "x$ac_cv_func_powf" = x""yes; then :
48921 cat >>confdefs.h <<_ACEOF
48922 #define HAVE_POWF 1
48923 _ACEOF
48924
48925 fi
48926 done
48927
48928 else
48929
48930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48931 $as_echo_n "checking for _powf declaration... " >&6; }
48932 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48933 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48934 $as_echo_n "(cached) " >&6
48935 else
48936
48937
48938 ac_ext=cpp
48939 ac_cpp='$CXXCPP $CPPFLAGS'
48940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48943
48944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48945 /* end confdefs.h. */
48946 #include <math.h>
48947 int
48948 main ()
48949 {
48950 _powf(0, 0);
48951 ;
48952 return 0;
48953 }
48954 _ACEOF
48955 if ac_fn_cxx_try_compile "$LINENO"; then :
48956 glibcxx_cv_func__powf_use=yes
48957 else
48958 glibcxx_cv_func__powf_use=no
48959 fi
48960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48961 ac_ext=c
48962 ac_cpp='$CPP $CPPFLAGS'
48963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48966
48967
48968 fi
48969
48970 fi
48971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48972 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48973
48974 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48975 for ac_func in _powf
48976 do :
48977 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48978 if test "x$ac_cv_func__powf" = x""yes; then :
48979 cat >>confdefs.h <<_ACEOF
48980 #define HAVE__POWF 1
48981 _ACEOF
48982
48983 fi
48984 done
48985
48986 fi
48987 fi
48988
48989
48990
48991
48992
48993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48994 $as_echo_n "checking for sqrtf declaration... " >&6; }
48995 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48996 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48997 $as_echo_n "(cached) " >&6
48998 else
48999
49000
49001 ac_ext=cpp
49002 ac_cpp='$CXXCPP $CPPFLAGS'
49003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49006
49007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49008 /* end confdefs.h. */
49009 #include <math.h>
49010 #ifdef HAVE_IEEEFP_H
49011 #include <ieeefp.h>
49012 #endif
49013
49014 int
49015 main ()
49016 {
49017 sqrtf(0);
49018 ;
49019 return 0;
49020 }
49021 _ACEOF
49022 if ac_fn_cxx_try_compile "$LINENO"; then :
49023 glibcxx_cv_func_sqrtf_use=yes
49024 else
49025 glibcxx_cv_func_sqrtf_use=no
49026 fi
49027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49028 ac_ext=c
49029 ac_cpp='$CPP $CPPFLAGS'
49030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49033
49034
49035 fi
49036
49037 fi
49038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49039 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49040
49041 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49042 for ac_func in sqrtf
49043 do :
49044 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49045 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49046 cat >>confdefs.h <<_ACEOF
49047 #define HAVE_SQRTF 1
49048 _ACEOF
49049
49050 fi
49051 done
49052
49053 else
49054
49055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49056 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49057 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49058 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49059 $as_echo_n "(cached) " >&6
49060 else
49061
49062
49063 ac_ext=cpp
49064 ac_cpp='$CXXCPP $CPPFLAGS'
49065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49068
49069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49070 /* end confdefs.h. */
49071 #include <math.h>
49072 #ifdef HAVE_IEEEFP_H
49073 #include <ieeefp.h>
49074 #endif
49075
49076 int
49077 main ()
49078 {
49079 _sqrtf(0);
49080 ;
49081 return 0;
49082 }
49083 _ACEOF
49084 if ac_fn_cxx_try_compile "$LINENO"; then :
49085 glibcxx_cv_func__sqrtf_use=yes
49086 else
49087 glibcxx_cv_func__sqrtf_use=no
49088 fi
49089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49090 ac_ext=c
49091 ac_cpp='$CPP $CPPFLAGS'
49092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49095
49096
49097 fi
49098
49099 fi
49100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49101 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49102
49103 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49104 for ac_func in _sqrtf
49105 do :
49106 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49107 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49108 cat >>confdefs.h <<_ACEOF
49109 #define HAVE__SQRTF 1
49110 _ACEOF
49111
49112 fi
49113 done
49114
49115 fi
49116 fi
49117
49118
49119
49120
49121
49122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49123 $as_echo_n "checking for sincosf declaration... " >&6; }
49124 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49125 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49126 $as_echo_n "(cached) " >&6
49127 else
49128
49129
49130 ac_ext=cpp
49131 ac_cpp='$CXXCPP $CPPFLAGS'
49132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49135
49136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49137 /* end confdefs.h. */
49138 #include <math.h>
49139 int
49140 main ()
49141 {
49142 sincosf(0, 0, 0);
49143 ;
49144 return 0;
49145 }
49146 _ACEOF
49147 if ac_fn_cxx_try_compile "$LINENO"; then :
49148 glibcxx_cv_func_sincosf_use=yes
49149 else
49150 glibcxx_cv_func_sincosf_use=no
49151 fi
49152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49153 ac_ext=c
49154 ac_cpp='$CPP $CPPFLAGS'
49155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49158
49159
49160 fi
49161
49162 fi
49163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49164 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49165
49166 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49167 for ac_func in sincosf
49168 do :
49169 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49170 if test "x$ac_cv_func_sincosf" = x""yes; then :
49171 cat >>confdefs.h <<_ACEOF
49172 #define HAVE_SINCOSF 1
49173 _ACEOF
49174
49175 fi
49176 done
49177
49178 else
49179
49180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49181 $as_echo_n "checking for _sincosf declaration... " >&6; }
49182 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49183 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49184 $as_echo_n "(cached) " >&6
49185 else
49186
49187
49188 ac_ext=cpp
49189 ac_cpp='$CXXCPP $CPPFLAGS'
49190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49193
49194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49195 /* end confdefs.h. */
49196 #include <math.h>
49197 int
49198 main ()
49199 {
49200 _sincosf(0, 0, 0);
49201 ;
49202 return 0;
49203 }
49204 _ACEOF
49205 if ac_fn_cxx_try_compile "$LINENO"; then :
49206 glibcxx_cv_func__sincosf_use=yes
49207 else
49208 glibcxx_cv_func__sincosf_use=no
49209 fi
49210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49211 ac_ext=c
49212 ac_cpp='$CPP $CPPFLAGS'
49213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49216
49217
49218 fi
49219
49220 fi
49221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49222 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49223
49224 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49225 for ac_func in _sincosf
49226 do :
49227 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49228 if test "x$ac_cv_func__sincosf" = x""yes; then :
49229 cat >>confdefs.h <<_ACEOF
49230 #define HAVE__SINCOSF 1
49231 _ACEOF
49232
49233 fi
49234 done
49235
49236 fi
49237 fi
49238
49239
49240
49241
49242
49243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49244 $as_echo_n "checking for finitef declaration... " >&6; }
49245 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49246 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49247 $as_echo_n "(cached) " >&6
49248 else
49249
49250
49251 ac_ext=cpp
49252 ac_cpp='$CXXCPP $CPPFLAGS'
49253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49256
49257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49258 /* end confdefs.h. */
49259 #include <math.h>
49260 #ifdef HAVE_IEEEFP_H
49261 #include <ieeefp.h>
49262 #endif
49263
49264 int
49265 main ()
49266 {
49267 finitef(0);
49268 ;
49269 return 0;
49270 }
49271 _ACEOF
49272 if ac_fn_cxx_try_compile "$LINENO"; then :
49273 glibcxx_cv_func_finitef_use=yes
49274 else
49275 glibcxx_cv_func_finitef_use=no
49276 fi
49277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49278 ac_ext=c
49279 ac_cpp='$CPP $CPPFLAGS'
49280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49283
49284
49285 fi
49286
49287 fi
49288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49289 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49290
49291 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49292 for ac_func in finitef
49293 do :
49294 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49295 if test "x$ac_cv_func_finitef" = x""yes; then :
49296 cat >>confdefs.h <<_ACEOF
49297 #define HAVE_FINITEF 1
49298 _ACEOF
49299
49300 fi
49301 done
49302
49303 else
49304
49305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49306 $as_echo_n "checking for _finitef declaration... " >&6; }
49307 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49308 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49309 $as_echo_n "(cached) " >&6
49310 else
49311
49312
49313 ac_ext=cpp
49314 ac_cpp='$CXXCPP $CPPFLAGS'
49315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49318
49319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49320 /* end confdefs.h. */
49321 #include <math.h>
49322 #ifdef HAVE_IEEEFP_H
49323 #include <ieeefp.h>
49324 #endif
49325
49326 int
49327 main ()
49328 {
49329 _finitef(0);
49330 ;
49331 return 0;
49332 }
49333 _ACEOF
49334 if ac_fn_cxx_try_compile "$LINENO"; then :
49335 glibcxx_cv_func__finitef_use=yes
49336 else
49337 glibcxx_cv_func__finitef_use=no
49338 fi
49339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49340 ac_ext=c
49341 ac_cpp='$CPP $CPPFLAGS'
49342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49345
49346
49347 fi
49348
49349 fi
49350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49351 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49352
49353 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49354 for ac_func in _finitef
49355 do :
49356 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49357 if test "x$ac_cv_func__finitef" = x""yes; then :
49358 cat >>confdefs.h <<_ACEOF
49359 #define HAVE__FINITEF 1
49360 _ACEOF
49361
49362 fi
49363 done
49364
49365 fi
49366 fi
49367
49368
49369
49370
49371
49372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49373 $as_echo_n "checking for long double trig functions... " >&6; }
49374 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49375 $as_echo_n "(cached) " >&6
49376 else
49377
49378
49379 ac_ext=cpp
49380 ac_cpp='$CXXCPP $CPPFLAGS'
49381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49384
49385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49386 /* end confdefs.h. */
49387 #include <math.h>
49388 int
49389 main ()
49390 {
49391 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49392 ;
49393 return 0;
49394 }
49395 _ACEOF
49396 if ac_fn_cxx_try_compile "$LINENO"; then :
49397 glibcxx_cv_func_long_double_trig_use=yes
49398 else
49399 glibcxx_cv_func_long_double_trig_use=no
49400 fi
49401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49402 ac_ext=c
49403 ac_cpp='$CPP $CPPFLAGS'
49404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49407
49408 fi
49409
49410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49411 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49412 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49413 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49414 do :
49415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49417 eval as_val=\$$as_ac_var
49418 if test "x$as_val" = x""yes; then :
49419 cat >>confdefs.h <<_ACEOF
49420 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49421 _ACEOF
49422
49423 fi
49424 done
49425
49426 else
49427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49428 $as_echo_n "checking for _long double trig functions... " >&6; }
49429 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49430 $as_echo_n "(cached) " >&6
49431 else
49432
49433
49434 ac_ext=cpp
49435 ac_cpp='$CXXCPP $CPPFLAGS'
49436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49439
49440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49441 /* end confdefs.h. */
49442 #include <math.h>
49443 int
49444 main ()
49445 {
49446 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49447 ;
49448 return 0;
49449 }
49450 _ACEOF
49451 if ac_fn_cxx_try_compile "$LINENO"; then :
49452 glibcxx_cv_func__long_double_trig_use=yes
49453 else
49454 glibcxx_cv_func__long_double_trig_use=no
49455 fi
49456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49457 ac_ext=c
49458 ac_cpp='$CPP $CPPFLAGS'
49459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49462
49463 fi
49464
49465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49466 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49467 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49468 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49469 do :
49470 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49471 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49472 eval as_val=\$$as_ac_var
49473 if test "x$as_val" = x""yes; then :
49474 cat >>confdefs.h <<_ACEOF
49475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49476 _ACEOF
49477
49478 fi
49479 done
49480
49481 fi
49482 fi
49483
49484
49485
49486
49487
49488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49489 $as_echo_n "checking for long double round functions... " >&6; }
49490 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49491 $as_echo_n "(cached) " >&6
49492 else
49493
49494
49495 ac_ext=cpp
49496 ac_cpp='$CXXCPP $CPPFLAGS'
49497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49500
49501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49502 /* end confdefs.h. */
49503 #include <math.h>
49504 int
49505 main ()
49506 {
49507 ceill (0); floorl (0);
49508 ;
49509 return 0;
49510 }
49511 _ACEOF
49512 if ac_fn_cxx_try_compile "$LINENO"; then :
49513 glibcxx_cv_func_long_double_round_use=yes
49514 else
49515 glibcxx_cv_func_long_double_round_use=no
49516 fi
49517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49518 ac_ext=c
49519 ac_cpp='$CPP $CPPFLAGS'
49520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49523
49524 fi
49525
49526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49527 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49528 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49529 for ac_func in ceill floorl
49530 do :
49531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49533 eval as_val=\$$as_ac_var
49534 if test "x$as_val" = x""yes; then :
49535 cat >>confdefs.h <<_ACEOF
49536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49537 _ACEOF
49538
49539 fi
49540 done
49541
49542 else
49543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49544 $as_echo_n "checking for _long double round functions... " >&6; }
49545 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49546 $as_echo_n "(cached) " >&6
49547 else
49548
49549
49550 ac_ext=cpp
49551 ac_cpp='$CXXCPP $CPPFLAGS'
49552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49555
49556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49557 /* end confdefs.h. */
49558 #include <math.h>
49559 int
49560 main ()
49561 {
49562 _ceill (0); _floorl (0);
49563 ;
49564 return 0;
49565 }
49566 _ACEOF
49567 if ac_fn_cxx_try_compile "$LINENO"; then :
49568 glibcxx_cv_func__long_double_round_use=yes
49569 else
49570 glibcxx_cv_func__long_double_round_use=no
49571 fi
49572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49573 ac_ext=c
49574 ac_cpp='$CPP $CPPFLAGS'
49575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49578
49579 fi
49580
49581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49582 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49583 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49584 for ac_func in _ceill _floorl
49585 do :
49586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49588 eval as_val=\$$as_ac_var
49589 if test "x$as_val" = x""yes; then :
49590 cat >>confdefs.h <<_ACEOF
49591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49592 _ACEOF
49593
49594 fi
49595 done
49596
49597 fi
49598 fi
49599
49600
49601
49602
49603
49604
49605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49606 $as_echo_n "checking for isnanl declaration... " >&6; }
49607 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49608 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49609 $as_echo_n "(cached) " >&6
49610 else
49611
49612
49613 ac_ext=cpp
49614 ac_cpp='$CXXCPP $CPPFLAGS'
49615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49618
49619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49620 /* end confdefs.h. */
49621 #include <math.h>
49622 #ifdef HAVE_IEEEFP_H
49623 #include <ieeefp.h>
49624 #endif
49625
49626 int
49627 main ()
49628 {
49629 isnanl(0);
49630 ;
49631 return 0;
49632 }
49633 _ACEOF
49634 if ac_fn_cxx_try_compile "$LINENO"; then :
49635 glibcxx_cv_func_isnanl_use=yes
49636 else
49637 glibcxx_cv_func_isnanl_use=no
49638 fi
49639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49640 ac_ext=c
49641 ac_cpp='$CPP $CPPFLAGS'
49642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49645
49646
49647 fi
49648
49649 fi
49650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49651 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49652
49653 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49654 for ac_func in isnanl
49655 do :
49656 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49657 if test "x$ac_cv_func_isnanl" = x""yes; then :
49658 cat >>confdefs.h <<_ACEOF
49659 #define HAVE_ISNANL 1
49660 _ACEOF
49661
49662 fi
49663 done
49664
49665 else
49666
49667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49668 $as_echo_n "checking for _isnanl declaration... " >&6; }
49669 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49670 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49671 $as_echo_n "(cached) " >&6
49672 else
49673
49674
49675 ac_ext=cpp
49676 ac_cpp='$CXXCPP $CPPFLAGS'
49677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49680
49681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49682 /* end confdefs.h. */
49683 #include <math.h>
49684 #ifdef HAVE_IEEEFP_H
49685 #include <ieeefp.h>
49686 #endif
49687
49688 int
49689 main ()
49690 {
49691 _isnanl(0);
49692 ;
49693 return 0;
49694 }
49695 _ACEOF
49696 if ac_fn_cxx_try_compile "$LINENO"; then :
49697 glibcxx_cv_func__isnanl_use=yes
49698 else
49699 glibcxx_cv_func__isnanl_use=no
49700 fi
49701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49702 ac_ext=c
49703 ac_cpp='$CPP $CPPFLAGS'
49704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49707
49708
49709 fi
49710
49711 fi
49712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49713 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49714
49715 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49716 for ac_func in _isnanl
49717 do :
49718 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49719 if test "x$ac_cv_func__isnanl" = x""yes; then :
49720 cat >>confdefs.h <<_ACEOF
49721 #define HAVE__ISNANL 1
49722 _ACEOF
49723
49724 fi
49725 done
49726
49727 fi
49728 fi
49729
49730
49731
49732
49733
49734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49735 $as_echo_n "checking for isinfl declaration... " >&6; }
49736 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49737 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49738 $as_echo_n "(cached) " >&6
49739 else
49740
49741
49742 ac_ext=cpp
49743 ac_cpp='$CXXCPP $CPPFLAGS'
49744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49747
49748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49749 /* end confdefs.h. */
49750 #include <math.h>
49751 #ifdef HAVE_IEEEFP_H
49752 #include <ieeefp.h>
49753 #endif
49754
49755 int
49756 main ()
49757 {
49758 isinfl(0);
49759 ;
49760 return 0;
49761 }
49762 _ACEOF
49763 if ac_fn_cxx_try_compile "$LINENO"; then :
49764 glibcxx_cv_func_isinfl_use=yes
49765 else
49766 glibcxx_cv_func_isinfl_use=no
49767 fi
49768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49769 ac_ext=c
49770 ac_cpp='$CPP $CPPFLAGS'
49771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49774
49775
49776 fi
49777
49778 fi
49779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49780 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49781
49782 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49783 for ac_func in isinfl
49784 do :
49785 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49786 if test "x$ac_cv_func_isinfl" = x""yes; then :
49787 cat >>confdefs.h <<_ACEOF
49788 #define HAVE_ISINFL 1
49789 _ACEOF
49790
49791 fi
49792 done
49793
49794 else
49795
49796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49797 $as_echo_n "checking for _isinfl declaration... " >&6; }
49798 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49799 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49800 $as_echo_n "(cached) " >&6
49801 else
49802
49803
49804 ac_ext=cpp
49805 ac_cpp='$CXXCPP $CPPFLAGS'
49806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49809
49810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49811 /* end confdefs.h. */
49812 #include <math.h>
49813 #ifdef HAVE_IEEEFP_H
49814 #include <ieeefp.h>
49815 #endif
49816
49817 int
49818 main ()
49819 {
49820 _isinfl(0);
49821 ;
49822 return 0;
49823 }
49824 _ACEOF
49825 if ac_fn_cxx_try_compile "$LINENO"; then :
49826 glibcxx_cv_func__isinfl_use=yes
49827 else
49828 glibcxx_cv_func__isinfl_use=no
49829 fi
49830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49831 ac_ext=c
49832 ac_cpp='$CPP $CPPFLAGS'
49833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49836
49837
49838 fi
49839
49840 fi
49841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49842 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49843
49844 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49845 for ac_func in _isinfl
49846 do :
49847 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49848 if test "x$ac_cv_func__isinfl" = x""yes; then :
49849 cat >>confdefs.h <<_ACEOF
49850 #define HAVE__ISINFL 1
49851 _ACEOF
49852
49853 fi
49854 done
49855
49856 fi
49857 fi
49858
49859
49860
49861
49862
49863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49864 $as_echo_n "checking for atan2l declaration... " >&6; }
49865 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49866 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49867 $as_echo_n "(cached) " >&6
49868 else
49869
49870
49871 ac_ext=cpp
49872 ac_cpp='$CXXCPP $CPPFLAGS'
49873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49876
49877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49878 /* end confdefs.h. */
49879 #include <math.h>
49880 int
49881 main ()
49882 {
49883 atan2l(0, 0);
49884 ;
49885 return 0;
49886 }
49887 _ACEOF
49888 if ac_fn_cxx_try_compile "$LINENO"; then :
49889 glibcxx_cv_func_atan2l_use=yes
49890 else
49891 glibcxx_cv_func_atan2l_use=no
49892 fi
49893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49894 ac_ext=c
49895 ac_cpp='$CPP $CPPFLAGS'
49896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49899
49900
49901 fi
49902
49903 fi
49904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49905 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49906
49907 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49908 for ac_func in atan2l
49909 do :
49910 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49911 if test "x$ac_cv_func_atan2l" = x""yes; then :
49912 cat >>confdefs.h <<_ACEOF
49913 #define HAVE_ATAN2L 1
49914 _ACEOF
49915
49916 fi
49917 done
49918
49919 else
49920
49921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49922 $as_echo_n "checking for _atan2l declaration... " >&6; }
49923 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49924 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49925 $as_echo_n "(cached) " >&6
49926 else
49927
49928
49929 ac_ext=cpp
49930 ac_cpp='$CXXCPP $CPPFLAGS'
49931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49934
49935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49936 /* end confdefs.h. */
49937 #include <math.h>
49938 int
49939 main ()
49940 {
49941 _atan2l(0, 0);
49942 ;
49943 return 0;
49944 }
49945 _ACEOF
49946 if ac_fn_cxx_try_compile "$LINENO"; then :
49947 glibcxx_cv_func__atan2l_use=yes
49948 else
49949 glibcxx_cv_func__atan2l_use=no
49950 fi
49951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49952 ac_ext=c
49953 ac_cpp='$CPP $CPPFLAGS'
49954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49957
49958
49959 fi
49960
49961 fi
49962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49963 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49964
49965 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49966 for ac_func in _atan2l
49967 do :
49968 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49969 if test "x$ac_cv_func__atan2l" = x""yes; then :
49970 cat >>confdefs.h <<_ACEOF
49971 #define HAVE__ATAN2L 1
49972 _ACEOF
49973
49974 fi
49975 done
49976
49977 fi
49978 fi
49979
49980
49981
49982
49983
49984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49985 $as_echo_n "checking for expl declaration... " >&6; }
49986 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49987 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49988 $as_echo_n "(cached) " >&6
49989 else
49990
49991
49992 ac_ext=cpp
49993 ac_cpp='$CXXCPP $CPPFLAGS'
49994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49997
49998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49999 /* end confdefs.h. */
50000 #include <math.h>
50001 #ifdef HAVE_IEEEFP_H
50002 #include <ieeefp.h>
50003 #endif
50004
50005 int
50006 main ()
50007 {
50008 expl(0);
50009 ;
50010 return 0;
50011 }
50012 _ACEOF
50013 if ac_fn_cxx_try_compile "$LINENO"; then :
50014 glibcxx_cv_func_expl_use=yes
50015 else
50016 glibcxx_cv_func_expl_use=no
50017 fi
50018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50019 ac_ext=c
50020 ac_cpp='$CPP $CPPFLAGS'
50021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50024
50025
50026 fi
50027
50028 fi
50029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50030 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50031
50032 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50033 for ac_func in expl
50034 do :
50035 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50036 if test "x$ac_cv_func_expl" = x""yes; then :
50037 cat >>confdefs.h <<_ACEOF
50038 #define HAVE_EXPL 1
50039 _ACEOF
50040
50041 fi
50042 done
50043
50044 else
50045
50046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50047 $as_echo_n "checking for _expl declaration... " >&6; }
50048 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50049 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50050 $as_echo_n "(cached) " >&6
50051 else
50052
50053
50054 ac_ext=cpp
50055 ac_cpp='$CXXCPP $CPPFLAGS'
50056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50059
50060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50061 /* end confdefs.h. */
50062 #include <math.h>
50063 #ifdef HAVE_IEEEFP_H
50064 #include <ieeefp.h>
50065 #endif
50066
50067 int
50068 main ()
50069 {
50070 _expl(0);
50071 ;
50072 return 0;
50073 }
50074 _ACEOF
50075 if ac_fn_cxx_try_compile "$LINENO"; then :
50076 glibcxx_cv_func__expl_use=yes
50077 else
50078 glibcxx_cv_func__expl_use=no
50079 fi
50080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50081 ac_ext=c
50082 ac_cpp='$CPP $CPPFLAGS'
50083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50086
50087
50088 fi
50089
50090 fi
50091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50092 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50093
50094 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50095 for ac_func in _expl
50096 do :
50097 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50098 if test "x$ac_cv_func__expl" = x""yes; then :
50099 cat >>confdefs.h <<_ACEOF
50100 #define HAVE__EXPL 1
50101 _ACEOF
50102
50103 fi
50104 done
50105
50106 fi
50107 fi
50108
50109
50110
50111
50112
50113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50114 $as_echo_n "checking for fabsl declaration... " >&6; }
50115 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50116 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50117 $as_echo_n "(cached) " >&6
50118 else
50119
50120
50121 ac_ext=cpp
50122 ac_cpp='$CXXCPP $CPPFLAGS'
50123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50126
50127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50128 /* end confdefs.h. */
50129 #include <math.h>
50130 #ifdef HAVE_IEEEFP_H
50131 #include <ieeefp.h>
50132 #endif
50133
50134 int
50135 main ()
50136 {
50137 fabsl(0);
50138 ;
50139 return 0;
50140 }
50141 _ACEOF
50142 if ac_fn_cxx_try_compile "$LINENO"; then :
50143 glibcxx_cv_func_fabsl_use=yes
50144 else
50145 glibcxx_cv_func_fabsl_use=no
50146 fi
50147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50148 ac_ext=c
50149 ac_cpp='$CPP $CPPFLAGS'
50150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50153
50154
50155 fi
50156
50157 fi
50158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50159 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50160
50161 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50162 for ac_func in fabsl
50163 do :
50164 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50165 if test "x$ac_cv_func_fabsl" = x""yes; then :
50166 cat >>confdefs.h <<_ACEOF
50167 #define HAVE_FABSL 1
50168 _ACEOF
50169
50170 fi
50171 done
50172
50173 else
50174
50175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50176 $as_echo_n "checking for _fabsl declaration... " >&6; }
50177 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50178 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50179 $as_echo_n "(cached) " >&6
50180 else
50181
50182
50183 ac_ext=cpp
50184 ac_cpp='$CXXCPP $CPPFLAGS'
50185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50188
50189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50190 /* end confdefs.h. */
50191 #include <math.h>
50192 #ifdef HAVE_IEEEFP_H
50193 #include <ieeefp.h>
50194 #endif
50195
50196 int
50197 main ()
50198 {
50199 _fabsl(0);
50200 ;
50201 return 0;
50202 }
50203 _ACEOF
50204 if ac_fn_cxx_try_compile "$LINENO"; then :
50205 glibcxx_cv_func__fabsl_use=yes
50206 else
50207 glibcxx_cv_func__fabsl_use=no
50208 fi
50209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50210 ac_ext=c
50211 ac_cpp='$CPP $CPPFLAGS'
50212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50215
50216
50217 fi
50218
50219 fi
50220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50221 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50222
50223 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50224 for ac_func in _fabsl
50225 do :
50226 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50227 if test "x$ac_cv_func__fabsl" = x""yes; then :
50228 cat >>confdefs.h <<_ACEOF
50229 #define HAVE__FABSL 1
50230 _ACEOF
50231
50232 fi
50233 done
50234
50235 fi
50236 fi
50237
50238
50239
50240
50241
50242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50243 $as_echo_n "checking for fmodl declaration... " >&6; }
50244 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50245 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50246 $as_echo_n "(cached) " >&6
50247 else
50248
50249
50250 ac_ext=cpp
50251 ac_cpp='$CXXCPP $CPPFLAGS'
50252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50255
50256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50257 /* end confdefs.h. */
50258 #include <math.h>
50259 int
50260 main ()
50261 {
50262 fmodl(0, 0);
50263 ;
50264 return 0;
50265 }
50266 _ACEOF
50267 if ac_fn_cxx_try_compile "$LINENO"; then :
50268 glibcxx_cv_func_fmodl_use=yes
50269 else
50270 glibcxx_cv_func_fmodl_use=no
50271 fi
50272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50273 ac_ext=c
50274 ac_cpp='$CPP $CPPFLAGS'
50275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50278
50279
50280 fi
50281
50282 fi
50283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50284 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50285
50286 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50287 for ac_func in fmodl
50288 do :
50289 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50290 if test "x$ac_cv_func_fmodl" = x""yes; then :
50291 cat >>confdefs.h <<_ACEOF
50292 #define HAVE_FMODL 1
50293 _ACEOF
50294
50295 fi
50296 done
50297
50298 else
50299
50300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50301 $as_echo_n "checking for _fmodl declaration... " >&6; }
50302 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50303 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50304 $as_echo_n "(cached) " >&6
50305 else
50306
50307
50308 ac_ext=cpp
50309 ac_cpp='$CXXCPP $CPPFLAGS'
50310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50313
50314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50315 /* end confdefs.h. */
50316 #include <math.h>
50317 int
50318 main ()
50319 {
50320 _fmodl(0, 0);
50321 ;
50322 return 0;
50323 }
50324 _ACEOF
50325 if ac_fn_cxx_try_compile "$LINENO"; then :
50326 glibcxx_cv_func__fmodl_use=yes
50327 else
50328 glibcxx_cv_func__fmodl_use=no
50329 fi
50330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50331 ac_ext=c
50332 ac_cpp='$CPP $CPPFLAGS'
50333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50336
50337
50338 fi
50339
50340 fi
50341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50342 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50343
50344 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50345 for ac_func in _fmodl
50346 do :
50347 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50348 if test "x$ac_cv_func__fmodl" = x""yes; then :
50349 cat >>confdefs.h <<_ACEOF
50350 #define HAVE__FMODL 1
50351 _ACEOF
50352
50353 fi
50354 done
50355
50356 fi
50357 fi
50358
50359
50360
50361
50362
50363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50364 $as_echo_n "checking for frexpl declaration... " >&6; }
50365 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50366 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50367 $as_echo_n "(cached) " >&6
50368 else
50369
50370
50371 ac_ext=cpp
50372 ac_cpp='$CXXCPP $CPPFLAGS'
50373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50376
50377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50378 /* end confdefs.h. */
50379 #include <math.h>
50380 int
50381 main ()
50382 {
50383 frexpl(0, 0);
50384 ;
50385 return 0;
50386 }
50387 _ACEOF
50388 if ac_fn_cxx_try_compile "$LINENO"; then :
50389 glibcxx_cv_func_frexpl_use=yes
50390 else
50391 glibcxx_cv_func_frexpl_use=no
50392 fi
50393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50394 ac_ext=c
50395 ac_cpp='$CPP $CPPFLAGS'
50396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50399
50400
50401 fi
50402
50403 fi
50404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50405 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50406
50407 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50408 for ac_func in frexpl
50409 do :
50410 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50411 if test "x$ac_cv_func_frexpl" = x""yes; then :
50412 cat >>confdefs.h <<_ACEOF
50413 #define HAVE_FREXPL 1
50414 _ACEOF
50415
50416 fi
50417 done
50418
50419 else
50420
50421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50422 $as_echo_n "checking for _frexpl declaration... " >&6; }
50423 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50424 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50425 $as_echo_n "(cached) " >&6
50426 else
50427
50428
50429 ac_ext=cpp
50430 ac_cpp='$CXXCPP $CPPFLAGS'
50431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50434
50435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50436 /* end confdefs.h. */
50437 #include <math.h>
50438 int
50439 main ()
50440 {
50441 _frexpl(0, 0);
50442 ;
50443 return 0;
50444 }
50445 _ACEOF
50446 if ac_fn_cxx_try_compile "$LINENO"; then :
50447 glibcxx_cv_func__frexpl_use=yes
50448 else
50449 glibcxx_cv_func__frexpl_use=no
50450 fi
50451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50452 ac_ext=c
50453 ac_cpp='$CPP $CPPFLAGS'
50454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50457
50458
50459 fi
50460
50461 fi
50462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50463 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50464
50465 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50466 for ac_func in _frexpl
50467 do :
50468 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50469 if test "x$ac_cv_func__frexpl" = x""yes; then :
50470 cat >>confdefs.h <<_ACEOF
50471 #define HAVE__FREXPL 1
50472 _ACEOF
50473
50474 fi
50475 done
50476
50477 fi
50478 fi
50479
50480
50481
50482
50483
50484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50485 $as_echo_n "checking for hypotl declaration... " >&6; }
50486 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50487 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50488 $as_echo_n "(cached) " >&6
50489 else
50490
50491
50492 ac_ext=cpp
50493 ac_cpp='$CXXCPP $CPPFLAGS'
50494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50497
50498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50499 /* end confdefs.h. */
50500 #include <math.h>
50501 int
50502 main ()
50503 {
50504 hypotl(0, 0);
50505 ;
50506 return 0;
50507 }
50508 _ACEOF
50509 if ac_fn_cxx_try_compile "$LINENO"; then :
50510 glibcxx_cv_func_hypotl_use=yes
50511 else
50512 glibcxx_cv_func_hypotl_use=no
50513 fi
50514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50515 ac_ext=c
50516 ac_cpp='$CPP $CPPFLAGS'
50517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50520
50521
50522 fi
50523
50524 fi
50525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50526 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50527
50528 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50529 for ac_func in hypotl
50530 do :
50531 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50532 if test "x$ac_cv_func_hypotl" = x""yes; then :
50533 cat >>confdefs.h <<_ACEOF
50534 #define HAVE_HYPOTL 1
50535 _ACEOF
50536
50537 fi
50538 done
50539
50540 else
50541
50542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50543 $as_echo_n "checking for _hypotl declaration... " >&6; }
50544 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50545 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50546 $as_echo_n "(cached) " >&6
50547 else
50548
50549
50550 ac_ext=cpp
50551 ac_cpp='$CXXCPP $CPPFLAGS'
50552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50555
50556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50557 /* end confdefs.h. */
50558 #include <math.h>
50559 int
50560 main ()
50561 {
50562 _hypotl(0, 0);
50563 ;
50564 return 0;
50565 }
50566 _ACEOF
50567 if ac_fn_cxx_try_compile "$LINENO"; then :
50568 glibcxx_cv_func__hypotl_use=yes
50569 else
50570 glibcxx_cv_func__hypotl_use=no
50571 fi
50572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50573 ac_ext=c
50574 ac_cpp='$CPP $CPPFLAGS'
50575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50578
50579
50580 fi
50581
50582 fi
50583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50584 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50585
50586 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50587 for ac_func in _hypotl
50588 do :
50589 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50590 if test "x$ac_cv_func__hypotl" = x""yes; then :
50591 cat >>confdefs.h <<_ACEOF
50592 #define HAVE__HYPOTL 1
50593 _ACEOF
50594
50595 fi
50596 done
50597
50598 fi
50599 fi
50600
50601
50602
50603
50604
50605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50606 $as_echo_n "checking for ldexpl declaration... " >&6; }
50607 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50608 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50609 $as_echo_n "(cached) " >&6
50610 else
50611
50612
50613 ac_ext=cpp
50614 ac_cpp='$CXXCPP $CPPFLAGS'
50615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50618
50619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50620 /* end confdefs.h. */
50621 #include <math.h>
50622 int
50623 main ()
50624 {
50625 ldexpl(0, 0);
50626 ;
50627 return 0;
50628 }
50629 _ACEOF
50630 if ac_fn_cxx_try_compile "$LINENO"; then :
50631 glibcxx_cv_func_ldexpl_use=yes
50632 else
50633 glibcxx_cv_func_ldexpl_use=no
50634 fi
50635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50636 ac_ext=c
50637 ac_cpp='$CPP $CPPFLAGS'
50638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50641
50642
50643 fi
50644
50645 fi
50646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50647 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50648
50649 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50650 for ac_func in ldexpl
50651 do :
50652 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50653 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50654 cat >>confdefs.h <<_ACEOF
50655 #define HAVE_LDEXPL 1
50656 _ACEOF
50657
50658 fi
50659 done
50660
50661 else
50662
50663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50664 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50665 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50666 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50667 $as_echo_n "(cached) " >&6
50668 else
50669
50670
50671 ac_ext=cpp
50672 ac_cpp='$CXXCPP $CPPFLAGS'
50673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50676
50677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50678 /* end confdefs.h. */
50679 #include <math.h>
50680 int
50681 main ()
50682 {
50683 _ldexpl(0, 0);
50684 ;
50685 return 0;
50686 }
50687 _ACEOF
50688 if ac_fn_cxx_try_compile "$LINENO"; then :
50689 glibcxx_cv_func__ldexpl_use=yes
50690 else
50691 glibcxx_cv_func__ldexpl_use=no
50692 fi
50693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50694 ac_ext=c
50695 ac_cpp='$CPP $CPPFLAGS'
50696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50699
50700
50701 fi
50702
50703 fi
50704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50705 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50706
50707 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50708 for ac_func in _ldexpl
50709 do :
50710 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50711 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50712 cat >>confdefs.h <<_ACEOF
50713 #define HAVE__LDEXPL 1
50714 _ACEOF
50715
50716 fi
50717 done
50718
50719 fi
50720 fi
50721
50722
50723
50724
50725
50726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50727 $as_echo_n "checking for logl declaration... " >&6; }
50728 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50729 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50730 $as_echo_n "(cached) " >&6
50731 else
50732
50733
50734 ac_ext=cpp
50735 ac_cpp='$CXXCPP $CPPFLAGS'
50736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50739
50740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50741 /* end confdefs.h. */
50742 #include <math.h>
50743 #ifdef HAVE_IEEEFP_H
50744 #include <ieeefp.h>
50745 #endif
50746
50747 int
50748 main ()
50749 {
50750 logl(0);
50751 ;
50752 return 0;
50753 }
50754 _ACEOF
50755 if ac_fn_cxx_try_compile "$LINENO"; then :
50756 glibcxx_cv_func_logl_use=yes
50757 else
50758 glibcxx_cv_func_logl_use=no
50759 fi
50760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50761 ac_ext=c
50762 ac_cpp='$CPP $CPPFLAGS'
50763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50766
50767
50768 fi
50769
50770 fi
50771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50772 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50773
50774 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50775 for ac_func in logl
50776 do :
50777 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50778 if test "x$ac_cv_func_logl" = x""yes; then :
50779 cat >>confdefs.h <<_ACEOF
50780 #define HAVE_LOGL 1
50781 _ACEOF
50782
50783 fi
50784 done
50785
50786 else
50787
50788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50789 $as_echo_n "checking for _logl declaration... " >&6; }
50790 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50791 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50792 $as_echo_n "(cached) " >&6
50793 else
50794
50795
50796 ac_ext=cpp
50797 ac_cpp='$CXXCPP $CPPFLAGS'
50798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50801
50802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50803 /* end confdefs.h. */
50804 #include <math.h>
50805 #ifdef HAVE_IEEEFP_H
50806 #include <ieeefp.h>
50807 #endif
50808
50809 int
50810 main ()
50811 {
50812 _logl(0);
50813 ;
50814 return 0;
50815 }
50816 _ACEOF
50817 if ac_fn_cxx_try_compile "$LINENO"; then :
50818 glibcxx_cv_func__logl_use=yes
50819 else
50820 glibcxx_cv_func__logl_use=no
50821 fi
50822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50823 ac_ext=c
50824 ac_cpp='$CPP $CPPFLAGS'
50825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50828
50829
50830 fi
50831
50832 fi
50833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50834 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50835
50836 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50837 for ac_func in _logl
50838 do :
50839 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50840 if test "x$ac_cv_func__logl" = x""yes; then :
50841 cat >>confdefs.h <<_ACEOF
50842 #define HAVE__LOGL 1
50843 _ACEOF
50844
50845 fi
50846 done
50847
50848 fi
50849 fi
50850
50851
50852
50853
50854
50855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50856 $as_echo_n "checking for log10l declaration... " >&6; }
50857 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50858 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50859 $as_echo_n "(cached) " >&6
50860 else
50861
50862
50863 ac_ext=cpp
50864 ac_cpp='$CXXCPP $CPPFLAGS'
50865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50868
50869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50870 /* end confdefs.h. */
50871 #include <math.h>
50872 #ifdef HAVE_IEEEFP_H
50873 #include <ieeefp.h>
50874 #endif
50875
50876 int
50877 main ()
50878 {
50879 log10l(0);
50880 ;
50881 return 0;
50882 }
50883 _ACEOF
50884 if ac_fn_cxx_try_compile "$LINENO"; then :
50885 glibcxx_cv_func_log10l_use=yes
50886 else
50887 glibcxx_cv_func_log10l_use=no
50888 fi
50889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50890 ac_ext=c
50891 ac_cpp='$CPP $CPPFLAGS'
50892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50895
50896
50897 fi
50898
50899 fi
50900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50901 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50902
50903 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50904 for ac_func in log10l
50905 do :
50906 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50907 if test "x$ac_cv_func_log10l" = x""yes; then :
50908 cat >>confdefs.h <<_ACEOF
50909 #define HAVE_LOG10L 1
50910 _ACEOF
50911
50912 fi
50913 done
50914
50915 else
50916
50917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50918 $as_echo_n "checking for _log10l declaration... " >&6; }
50919 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50920 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50921 $as_echo_n "(cached) " >&6
50922 else
50923
50924
50925 ac_ext=cpp
50926 ac_cpp='$CXXCPP $CPPFLAGS'
50927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50930
50931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50932 /* end confdefs.h. */
50933 #include <math.h>
50934 #ifdef HAVE_IEEEFP_H
50935 #include <ieeefp.h>
50936 #endif
50937
50938 int
50939 main ()
50940 {
50941 _log10l(0);
50942 ;
50943 return 0;
50944 }
50945 _ACEOF
50946 if ac_fn_cxx_try_compile "$LINENO"; then :
50947 glibcxx_cv_func__log10l_use=yes
50948 else
50949 glibcxx_cv_func__log10l_use=no
50950 fi
50951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50952 ac_ext=c
50953 ac_cpp='$CPP $CPPFLAGS'
50954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50957
50958
50959 fi
50960
50961 fi
50962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50963 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50964
50965 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50966 for ac_func in _log10l
50967 do :
50968 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50969 if test "x$ac_cv_func__log10l" = x""yes; then :
50970 cat >>confdefs.h <<_ACEOF
50971 #define HAVE__LOG10L 1
50972 _ACEOF
50973
50974 fi
50975 done
50976
50977 fi
50978 fi
50979
50980
50981
50982
50983
50984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50985 $as_echo_n "checking for modfl declaration... " >&6; }
50986 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50987 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50988 $as_echo_n "(cached) " >&6
50989 else
50990
50991
50992 ac_ext=cpp
50993 ac_cpp='$CXXCPP $CPPFLAGS'
50994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50997
50998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50999 /* end confdefs.h. */
51000 #include <math.h>
51001 int
51002 main ()
51003 {
51004 modfl(0, 0);
51005 ;
51006 return 0;
51007 }
51008 _ACEOF
51009 if ac_fn_cxx_try_compile "$LINENO"; then :
51010 glibcxx_cv_func_modfl_use=yes
51011 else
51012 glibcxx_cv_func_modfl_use=no
51013 fi
51014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51015 ac_ext=c
51016 ac_cpp='$CPP $CPPFLAGS'
51017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51020
51021
51022 fi
51023
51024 fi
51025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51026 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51027
51028 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51029 for ac_func in modfl
51030 do :
51031 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51032 if test "x$ac_cv_func_modfl" = x""yes; then :
51033 cat >>confdefs.h <<_ACEOF
51034 #define HAVE_MODFL 1
51035 _ACEOF
51036
51037 fi
51038 done
51039
51040 else
51041
51042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51043 $as_echo_n "checking for _modfl declaration... " >&6; }
51044 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51045 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51046 $as_echo_n "(cached) " >&6
51047 else
51048
51049
51050 ac_ext=cpp
51051 ac_cpp='$CXXCPP $CPPFLAGS'
51052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51055
51056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51057 /* end confdefs.h. */
51058 #include <math.h>
51059 int
51060 main ()
51061 {
51062 _modfl(0, 0);
51063 ;
51064 return 0;
51065 }
51066 _ACEOF
51067 if ac_fn_cxx_try_compile "$LINENO"; then :
51068 glibcxx_cv_func__modfl_use=yes
51069 else
51070 glibcxx_cv_func__modfl_use=no
51071 fi
51072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51073 ac_ext=c
51074 ac_cpp='$CPP $CPPFLAGS'
51075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51078
51079
51080 fi
51081
51082 fi
51083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51084 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51085
51086 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51087 for ac_func in _modfl
51088 do :
51089 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51090 if test "x$ac_cv_func__modfl" = x""yes; then :
51091 cat >>confdefs.h <<_ACEOF
51092 #define HAVE__MODFL 1
51093 _ACEOF
51094
51095 fi
51096 done
51097
51098 fi
51099 fi
51100
51101
51102
51103
51104
51105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51106 $as_echo_n "checking for powl declaration... " >&6; }
51107 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51108 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51109 $as_echo_n "(cached) " >&6
51110 else
51111
51112
51113 ac_ext=cpp
51114 ac_cpp='$CXXCPP $CPPFLAGS'
51115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51118
51119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51120 /* end confdefs.h. */
51121 #include <math.h>
51122 int
51123 main ()
51124 {
51125 powl(0, 0);
51126 ;
51127 return 0;
51128 }
51129 _ACEOF
51130 if ac_fn_cxx_try_compile "$LINENO"; then :
51131 glibcxx_cv_func_powl_use=yes
51132 else
51133 glibcxx_cv_func_powl_use=no
51134 fi
51135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51136 ac_ext=c
51137 ac_cpp='$CPP $CPPFLAGS'
51138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51141
51142
51143 fi
51144
51145 fi
51146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51147 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51148
51149 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51150 for ac_func in powl
51151 do :
51152 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51153 if test "x$ac_cv_func_powl" = x""yes; then :
51154 cat >>confdefs.h <<_ACEOF
51155 #define HAVE_POWL 1
51156 _ACEOF
51157
51158 fi
51159 done
51160
51161 else
51162
51163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51164 $as_echo_n "checking for _powl declaration... " >&6; }
51165 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51166 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51167 $as_echo_n "(cached) " >&6
51168 else
51169
51170
51171 ac_ext=cpp
51172 ac_cpp='$CXXCPP $CPPFLAGS'
51173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51176
51177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51178 /* end confdefs.h. */
51179 #include <math.h>
51180 int
51181 main ()
51182 {
51183 _powl(0, 0);
51184 ;
51185 return 0;
51186 }
51187 _ACEOF
51188 if ac_fn_cxx_try_compile "$LINENO"; then :
51189 glibcxx_cv_func__powl_use=yes
51190 else
51191 glibcxx_cv_func__powl_use=no
51192 fi
51193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51194 ac_ext=c
51195 ac_cpp='$CPP $CPPFLAGS'
51196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51199
51200
51201 fi
51202
51203 fi
51204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51205 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51206
51207 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51208 for ac_func in _powl
51209 do :
51210 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51211 if test "x$ac_cv_func__powl" = x""yes; then :
51212 cat >>confdefs.h <<_ACEOF
51213 #define HAVE__POWL 1
51214 _ACEOF
51215
51216 fi
51217 done
51218
51219 fi
51220 fi
51221
51222
51223
51224
51225
51226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51227 $as_echo_n "checking for sqrtl declaration... " >&6; }
51228 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51229 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51230 $as_echo_n "(cached) " >&6
51231 else
51232
51233
51234 ac_ext=cpp
51235 ac_cpp='$CXXCPP $CPPFLAGS'
51236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51239
51240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51241 /* end confdefs.h. */
51242 #include <math.h>
51243 #ifdef HAVE_IEEEFP_H
51244 #include <ieeefp.h>
51245 #endif
51246
51247 int
51248 main ()
51249 {
51250 sqrtl(0);
51251 ;
51252 return 0;
51253 }
51254 _ACEOF
51255 if ac_fn_cxx_try_compile "$LINENO"; then :
51256 glibcxx_cv_func_sqrtl_use=yes
51257 else
51258 glibcxx_cv_func_sqrtl_use=no
51259 fi
51260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51261 ac_ext=c
51262 ac_cpp='$CPP $CPPFLAGS'
51263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51266
51267
51268 fi
51269
51270 fi
51271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51272 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51273
51274 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51275 for ac_func in sqrtl
51276 do :
51277 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51278 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51279 cat >>confdefs.h <<_ACEOF
51280 #define HAVE_SQRTL 1
51281 _ACEOF
51282
51283 fi
51284 done
51285
51286 else
51287
51288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51289 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51290 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51291 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51292 $as_echo_n "(cached) " >&6
51293 else
51294
51295
51296 ac_ext=cpp
51297 ac_cpp='$CXXCPP $CPPFLAGS'
51298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51301
51302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51303 /* end confdefs.h. */
51304 #include <math.h>
51305 #ifdef HAVE_IEEEFP_H
51306 #include <ieeefp.h>
51307 #endif
51308
51309 int
51310 main ()
51311 {
51312 _sqrtl(0);
51313 ;
51314 return 0;
51315 }
51316 _ACEOF
51317 if ac_fn_cxx_try_compile "$LINENO"; then :
51318 glibcxx_cv_func__sqrtl_use=yes
51319 else
51320 glibcxx_cv_func__sqrtl_use=no
51321 fi
51322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51323 ac_ext=c
51324 ac_cpp='$CPP $CPPFLAGS'
51325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51328
51329
51330 fi
51331
51332 fi
51333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51334 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51335
51336 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51337 for ac_func in _sqrtl
51338 do :
51339 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51340 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51341 cat >>confdefs.h <<_ACEOF
51342 #define HAVE__SQRTL 1
51343 _ACEOF
51344
51345 fi
51346 done
51347
51348 fi
51349 fi
51350
51351
51352
51353
51354
51355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51356 $as_echo_n "checking for sincosl declaration... " >&6; }
51357 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51358 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51359 $as_echo_n "(cached) " >&6
51360 else
51361
51362
51363 ac_ext=cpp
51364 ac_cpp='$CXXCPP $CPPFLAGS'
51365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51368
51369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51370 /* end confdefs.h. */
51371 #include <math.h>
51372 int
51373 main ()
51374 {
51375 sincosl(0, 0, 0);
51376 ;
51377 return 0;
51378 }
51379 _ACEOF
51380 if ac_fn_cxx_try_compile "$LINENO"; then :
51381 glibcxx_cv_func_sincosl_use=yes
51382 else
51383 glibcxx_cv_func_sincosl_use=no
51384 fi
51385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51386 ac_ext=c
51387 ac_cpp='$CPP $CPPFLAGS'
51388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51391
51392
51393 fi
51394
51395 fi
51396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51397 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51398
51399 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51400 for ac_func in sincosl
51401 do :
51402 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51403 if test "x$ac_cv_func_sincosl" = x""yes; then :
51404 cat >>confdefs.h <<_ACEOF
51405 #define HAVE_SINCOSL 1
51406 _ACEOF
51407
51408 fi
51409 done
51410
51411 else
51412
51413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51414 $as_echo_n "checking for _sincosl declaration... " >&6; }
51415 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51416 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51417 $as_echo_n "(cached) " >&6
51418 else
51419
51420
51421 ac_ext=cpp
51422 ac_cpp='$CXXCPP $CPPFLAGS'
51423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51426
51427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51428 /* end confdefs.h. */
51429 #include <math.h>
51430 int
51431 main ()
51432 {
51433 _sincosl(0, 0, 0);
51434 ;
51435 return 0;
51436 }
51437 _ACEOF
51438 if ac_fn_cxx_try_compile "$LINENO"; then :
51439 glibcxx_cv_func__sincosl_use=yes
51440 else
51441 glibcxx_cv_func__sincosl_use=no
51442 fi
51443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51444 ac_ext=c
51445 ac_cpp='$CPP $CPPFLAGS'
51446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51449
51450
51451 fi
51452
51453 fi
51454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51455 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51456
51457 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51458 for ac_func in _sincosl
51459 do :
51460 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51461 if test "x$ac_cv_func__sincosl" = x""yes; then :
51462 cat >>confdefs.h <<_ACEOF
51463 #define HAVE__SINCOSL 1
51464 _ACEOF
51465
51466 fi
51467 done
51468
51469 fi
51470 fi
51471
51472
51473
51474
51475
51476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51477 $as_echo_n "checking for finitel declaration... " >&6; }
51478 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51479 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51480 $as_echo_n "(cached) " >&6
51481 else
51482
51483
51484 ac_ext=cpp
51485 ac_cpp='$CXXCPP $CPPFLAGS'
51486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51489
51490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51491 /* end confdefs.h. */
51492 #include <math.h>
51493 #ifdef HAVE_IEEEFP_H
51494 #include <ieeefp.h>
51495 #endif
51496
51497 int
51498 main ()
51499 {
51500 finitel(0);
51501 ;
51502 return 0;
51503 }
51504 _ACEOF
51505 if ac_fn_cxx_try_compile "$LINENO"; then :
51506 glibcxx_cv_func_finitel_use=yes
51507 else
51508 glibcxx_cv_func_finitel_use=no
51509 fi
51510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51511 ac_ext=c
51512 ac_cpp='$CPP $CPPFLAGS'
51513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51516
51517
51518 fi
51519
51520 fi
51521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51522 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51523
51524 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51525 for ac_func in finitel
51526 do :
51527 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51528 if test "x$ac_cv_func_finitel" = x""yes; then :
51529 cat >>confdefs.h <<_ACEOF
51530 #define HAVE_FINITEL 1
51531 _ACEOF
51532
51533 fi
51534 done
51535
51536 else
51537
51538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51539 $as_echo_n "checking for _finitel declaration... " >&6; }
51540 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51541 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51542 $as_echo_n "(cached) " >&6
51543 else
51544
51545
51546 ac_ext=cpp
51547 ac_cpp='$CXXCPP $CPPFLAGS'
51548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51551
51552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51553 /* end confdefs.h. */
51554 #include <math.h>
51555 #ifdef HAVE_IEEEFP_H
51556 #include <ieeefp.h>
51557 #endif
51558
51559 int
51560 main ()
51561 {
51562 _finitel(0);
51563 ;
51564 return 0;
51565 }
51566 _ACEOF
51567 if ac_fn_cxx_try_compile "$LINENO"; then :
51568 glibcxx_cv_func__finitel_use=yes
51569 else
51570 glibcxx_cv_func__finitel_use=no
51571 fi
51572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51573 ac_ext=c
51574 ac_cpp='$CPP $CPPFLAGS'
51575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51578
51579
51580 fi
51581
51582 fi
51583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51584 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51585
51586 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51587 for ac_func in _finitel
51588 do :
51589 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51590 if test "x$ac_cv_func__finitel" = x""yes; then :
51591 cat >>confdefs.h <<_ACEOF
51592 #define HAVE__FINITEL 1
51593 _ACEOF
51594
51595 fi
51596 done
51597
51598 fi
51599 fi
51600
51601
51602
51603
51604 LIBS="$ac_save_LIBS"
51605 CXXFLAGS="$ac_save_CXXFLAGS"
51606
51607
51608 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51609 ac_save_CXXFLAGS="$CXXFLAGS"
51610 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51611
51612
51613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51614 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51615 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51616 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51617 $as_echo_n "(cached) " >&6
51618 else
51619
51620
51621 ac_ext=cpp
51622 ac_cpp='$CXXCPP $CPPFLAGS'
51623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51626
51627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51628 /* end confdefs.h. */
51629 #include <stdlib.h>
51630 int
51631 main ()
51632 {
51633 at_quick_exit(0);
51634 ;
51635 return 0;
51636 }
51637 _ACEOF
51638 if ac_fn_cxx_try_compile "$LINENO"; then :
51639 glibcxx_cv_func_at_quick_exit_use=yes
51640 else
51641 glibcxx_cv_func_at_quick_exit_use=no
51642 fi
51643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51644 ac_ext=c
51645 ac_cpp='$CPP $CPPFLAGS'
51646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51649
51650
51651 fi
51652
51653 fi
51654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51655 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51656 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51657 for ac_func in at_quick_exit
51658 do :
51659 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51660 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51661 cat >>confdefs.h <<_ACEOF
51662 #define HAVE_AT_QUICK_EXIT 1
51663 _ACEOF
51664
51665 fi
51666 done
51667
51668 fi
51669
51670
51671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51672 $as_echo_n "checking for quick_exit declaration... " >&6; }
51673 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51674 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51675 $as_echo_n "(cached) " >&6
51676 else
51677
51678
51679 ac_ext=cpp
51680 ac_cpp='$CXXCPP $CPPFLAGS'
51681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51684
51685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51686 /* end confdefs.h. */
51687 #include <stdlib.h>
51688 int
51689 main ()
51690 {
51691 quick_exit(0);
51692 ;
51693 return 0;
51694 }
51695 _ACEOF
51696 if ac_fn_cxx_try_compile "$LINENO"; then :
51697 glibcxx_cv_func_quick_exit_use=yes
51698 else
51699 glibcxx_cv_func_quick_exit_use=no
51700 fi
51701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51702 ac_ext=c
51703 ac_cpp='$CPP $CPPFLAGS'
51704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51707
51708
51709 fi
51710
51711 fi
51712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51713 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51714 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51715 for ac_func in quick_exit
51716 do :
51717 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51718 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51719 cat >>confdefs.h <<_ACEOF
51720 #define HAVE_QUICK_EXIT 1
51721 _ACEOF
51722
51723 fi
51724 done
51725
51726 fi
51727
51728
51729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51730 $as_echo_n "checking for strtold declaration... " >&6; }
51731 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51732 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51733 $as_echo_n "(cached) " >&6
51734 else
51735
51736
51737 ac_ext=cpp
51738 ac_cpp='$CXXCPP $CPPFLAGS'
51739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51742
51743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51744 /* end confdefs.h. */
51745 #include <stdlib.h>
51746 int
51747 main ()
51748 {
51749 strtold(0, 0);
51750 ;
51751 return 0;
51752 }
51753 _ACEOF
51754 if ac_fn_cxx_try_compile "$LINENO"; then :
51755 glibcxx_cv_func_strtold_use=yes
51756 else
51757 glibcxx_cv_func_strtold_use=no
51758 fi
51759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51760 ac_ext=c
51761 ac_cpp='$CPP $CPPFLAGS'
51762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51765
51766
51767 fi
51768
51769 fi
51770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51771 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51772 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51773 for ac_func in strtold
51774 do :
51775 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51776 if test "x$ac_cv_func_strtold" = x""yes; then :
51777 cat >>confdefs.h <<_ACEOF
51778 #define HAVE_STRTOLD 1
51779 _ACEOF
51780
51781 fi
51782 done
51783
51784 fi
51785
51786
51787
51788
51789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51790 $as_echo_n "checking for strtof declaration... " >&6; }
51791 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51792 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51793 $as_echo_n "(cached) " >&6
51794 else
51795
51796
51797 ac_ext=cpp
51798 ac_cpp='$CXXCPP $CPPFLAGS'
51799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51802
51803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51804 /* end confdefs.h. */
51805 #include <stdlib.h>
51806 int
51807 main ()
51808 {
51809 strtof(0, 0);
51810 ;
51811 return 0;
51812 }
51813 _ACEOF
51814 if ac_fn_cxx_try_compile "$LINENO"; then :
51815 glibcxx_cv_func_strtof_use=yes
51816 else
51817 glibcxx_cv_func_strtof_use=no
51818 fi
51819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51820 ac_ext=c
51821 ac_cpp='$CPP $CPPFLAGS'
51822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51825
51826
51827 fi
51828
51829 fi
51830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51831 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51832 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51833 for ac_func in strtof
51834 do :
51835 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51836 if test "x$ac_cv_func_strtof" = x""yes; then :
51837 cat >>confdefs.h <<_ACEOF
51838 #define HAVE_STRTOF 1
51839 _ACEOF
51840
51841 fi
51842 done
51843
51844 fi
51845
51846
51847
51848
51849 CXXFLAGS="$ac_save_CXXFLAGS"
51850
51851 ;;
51852
51853 *djgpp)
51854 # GLIBCXX_CHECK_MATH_SUPPORT
51855 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51856
51857 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51858
51859 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51860
51861 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51862
51863 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51864
51865 ;;
51866
51867 *-freebsd*)
51868 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51869
51870
51871 # If we're not using GNU ld, then there's no point in even trying these
51872 # tests. Check for that first. We should have already tested for gld
51873 # by now (in libtool), but require it now just to be safe...
51874 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51875 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51876
51877
51878
51879 # The name set by libtool depends on the version of libtool. Shame on us
51880 # for depending on an impl detail, but c'est la vie. Older versions used
51881 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51882 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51883 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51884 # set (hence we're using an older libtool), then set it.
51885 if test x${with_gnu_ld+set} != xset; then
51886 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51887 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51888 with_gnu_ld=no
51889 else
51890 with_gnu_ld=$ac_cv_prog_gnu_ld
51891 fi
51892 fi
51893
51894 # Start by getting the version number. I think the libtool test already
51895 # does some of this, but throws away the result.
51896 glibcxx_ld_is_gold=no
51897 if test x"$with_gnu_ld" = x"yes"; then
51898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51899 $as_echo_n "checking for ld version... " >&6; }
51900
51901 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51902 glibcxx_ld_is_gold=yes
51903 fi
51904 ldver=`$LD --version 2>/dev/null |
51905 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'`
51906
51907 glibcxx_gnu_ld_version=`echo $ldver | \
51908 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51910 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51911 fi
51912
51913 # Set --gc-sections.
51914 glibcxx_have_gc_sections=no
51915 if test "$glibcxx_ld_is_gold" = "yes"; then
51916 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51917 glibcxx_have_gc_sections=yes
51918 fi
51919 else
51920 glibcxx_gcsections_min_ld=21602
51921 if test x"$with_gnu_ld" = x"yes" &&
51922 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51923 glibcxx_have_gc_sections=yes
51924 fi
51925 fi
51926 if test "$glibcxx_have_gc_sections" = "yes"; then
51927 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51928 # NB: This flag only works reliably after 2.16.1. Configure tests
51929 # for this are difficult, so hard wire a value that should work.
51930
51931 ac_test_CFLAGS="${CFLAGS+set}"
51932 ac_save_CFLAGS="$CFLAGS"
51933 CFLAGS='-Wl,--gc-sections'
51934
51935 # Check for -Wl,--gc-sections
51936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51937 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51938 if test x$gcc_no_link = xyes; then
51939 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51940 fi
51941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51942 /* end confdefs.h. */
51943 int one(void) { return 1; }
51944 int two(void) { return 2; }
51945
51946 int
51947 main ()
51948 {
51949 two();
51950 ;
51951 return 0;
51952 }
51953 _ACEOF
51954 if ac_fn_c_try_link "$LINENO"; then :
51955 ac_gcsections=yes
51956 else
51957 ac_gcsections=no
51958 fi
51959 rm -f core conftest.err conftest.$ac_objext \
51960 conftest$ac_exeext conftest.$ac_ext
51961 if test "$ac_gcsections" = "yes"; then
51962 rm -f conftest.c
51963 touch conftest.c
51964 if $CC -c conftest.c; then
51965 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51966 grep "Warning: gc-sections option ignored" > /dev/null; then
51967 ac_gcsections=no
51968 fi
51969 fi
51970 rm -f conftest.c conftest.o conftest
51971 fi
51972 if test "$ac_gcsections" = "yes"; then
51973 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51974 fi
51975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51976 $as_echo "$ac_gcsections" >&6; }
51977
51978 if test "$ac_test_CFLAGS" = set; then
51979 CFLAGS="$ac_save_CFLAGS"
51980 else
51981 # this is the suspicious part
51982 CFLAGS=''
51983 fi
51984 fi
51985
51986 # Set -z,relro.
51987 # Note this is only for shared objects.
51988 ac_ld_relro=no
51989 if test x"$with_gnu_ld" = x"yes"; then
51990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51991 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51992 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51993 if test -n "$cxx_z_relo"; then
51994 OPT_LDFLAGS="-Wl,-z,relro"
51995 ac_ld_relro=yes
51996 fi
51997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51998 $as_echo "$ac_ld_relro" >&6; }
51999 fi
52000
52001 # Set linker optimization flags.
52002 if test x"$with_gnu_ld" = x"yes"; then
52003 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52004 fi
52005
52006
52007
52008
52009 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52010
52011 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52012
52013 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52014
52015 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52016
52017 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52018
52019 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52020
52021 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52022
52023 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52024
52025 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52026
52027
52028 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52029
52030 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52031
52032 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52033
52034 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52035
52036 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52037
52038 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52039
52040 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52041
52042 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52043
52044 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52045
52046 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52047
52048 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52049
52050 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52051
52052 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52053
52054 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52055
52056 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52057
52058 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52059
52060 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52061
52062 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52063
52064 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52065
52066 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52067
52068 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52069
52070 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52071
52072 if test x"long_double_math_on_this_cpu" = x"yes"; then
52073 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52074
52075 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52076
52077 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52078
52079 fi
52080 ;;
52081 *-hpux*)
52082 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52083
52084
52085 # If we're not using GNU ld, then there's no point in even trying these
52086 # tests. Check for that first. We should have already tested for gld
52087 # by now (in libtool), but require it now just to be safe...
52088 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52089 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52090
52091
52092
52093 # The name set by libtool depends on the version of libtool. Shame on us
52094 # for depending on an impl detail, but c'est la vie. Older versions used
52095 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52096 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52097 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52098 # set (hence we're using an older libtool), then set it.
52099 if test x${with_gnu_ld+set} != xset; then
52100 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52101 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52102 with_gnu_ld=no
52103 else
52104 with_gnu_ld=$ac_cv_prog_gnu_ld
52105 fi
52106 fi
52107
52108 # Start by getting the version number. I think the libtool test already
52109 # does some of this, but throws away the result.
52110 glibcxx_ld_is_gold=no
52111 if test x"$with_gnu_ld" = x"yes"; then
52112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52113 $as_echo_n "checking for ld version... " >&6; }
52114
52115 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52116 glibcxx_ld_is_gold=yes
52117 fi
52118 ldver=`$LD --version 2>/dev/null |
52119 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'`
52120
52121 glibcxx_gnu_ld_version=`echo $ldver | \
52122 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52124 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52125 fi
52126
52127 # Set --gc-sections.
52128 glibcxx_have_gc_sections=no
52129 if test "$glibcxx_ld_is_gold" = "yes"; then
52130 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52131 glibcxx_have_gc_sections=yes
52132 fi
52133 else
52134 glibcxx_gcsections_min_ld=21602
52135 if test x"$with_gnu_ld" = x"yes" &&
52136 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52137 glibcxx_have_gc_sections=yes
52138 fi
52139 fi
52140 if test "$glibcxx_have_gc_sections" = "yes"; then
52141 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52142 # NB: This flag only works reliably after 2.16.1. Configure tests
52143 # for this are difficult, so hard wire a value that should work.
52144
52145 ac_test_CFLAGS="${CFLAGS+set}"
52146 ac_save_CFLAGS="$CFLAGS"
52147 CFLAGS='-Wl,--gc-sections'
52148
52149 # Check for -Wl,--gc-sections
52150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52151 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52152 if test x$gcc_no_link = xyes; then
52153 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52154 fi
52155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52156 /* end confdefs.h. */
52157 int one(void) { return 1; }
52158 int two(void) { return 2; }
52159
52160 int
52161 main ()
52162 {
52163 two();
52164 ;
52165 return 0;
52166 }
52167 _ACEOF
52168 if ac_fn_c_try_link "$LINENO"; then :
52169 ac_gcsections=yes
52170 else
52171 ac_gcsections=no
52172 fi
52173 rm -f core conftest.err conftest.$ac_objext \
52174 conftest$ac_exeext conftest.$ac_ext
52175 if test "$ac_gcsections" = "yes"; then
52176 rm -f conftest.c
52177 touch conftest.c
52178 if $CC -c conftest.c; then
52179 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52180 grep "Warning: gc-sections option ignored" > /dev/null; then
52181 ac_gcsections=no
52182 fi
52183 fi
52184 rm -f conftest.c conftest.o conftest
52185 fi
52186 if test "$ac_gcsections" = "yes"; then
52187 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52188 fi
52189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52190 $as_echo "$ac_gcsections" >&6; }
52191
52192 if test "$ac_test_CFLAGS" = set; then
52193 CFLAGS="$ac_save_CFLAGS"
52194 else
52195 # this is the suspicious part
52196 CFLAGS=''
52197 fi
52198 fi
52199
52200 # Set -z,relro.
52201 # Note this is only for shared objects.
52202 ac_ld_relro=no
52203 if test x"$with_gnu_ld" = x"yes"; then
52204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52205 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52206 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52207 if test -n "$cxx_z_relo"; then
52208 OPT_LDFLAGS="-Wl,-z,relro"
52209 ac_ld_relro=yes
52210 fi
52211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52212 $as_echo "$ac_ld_relro" >&6; }
52213 fi
52214
52215 # Set linker optimization flags.
52216 if test x"$with_gnu_ld" = x"yes"; then
52217 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52218 fi
52219
52220
52221
52222
52223
52224 # GLIBCXX_CHECK_MATH_SUPPORT
52225 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52226
52227 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52228
52229 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52230
52231 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52232
52233 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52234
52235 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52236
52237 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52238
52239 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52240
52241 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52242
52243 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52244
52245 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52246
52247 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52248
52249 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52250
52251 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52252
52253 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52254
52255 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52256
52257 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52258
52259 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52260
52261 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52262
52263 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52264
52265 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52266
52267
52268 # GLIBCXX_CHECK_STDLIB_SUPPORT
52269 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52270
52271
52272
52273
52274 # Check whether --enable-tls was given.
52275 if test "${enable_tls+set}" = set; then :
52276 enableval=$enable_tls;
52277 case "$enableval" in
52278 yes|no) ;;
52279 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52280 esac
52281
52282 else
52283 enable_tls=yes
52284 fi
52285
52286
52287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52288 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52289 if test "${gcc_cv_have_tls+set}" = set; then :
52290 $as_echo_n "(cached) " >&6
52291 else
52292
52293 if test "$cross_compiling" = yes; then :
52294 if test x$gcc_no_link = xyes; then
52295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52296 fi
52297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52298 /* end confdefs.h. */
52299 __thread int a; int b; int main() { return a = b; }
52300 _ACEOF
52301 if ac_fn_c_try_link "$LINENO"; then :
52302 chktls_save_LDFLAGS="$LDFLAGS"
52303 case $host in
52304 *-*-linux*)
52305 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52306 ;;
52307 esac
52308 chktls_save_CFLAGS="$CFLAGS"
52309 CFLAGS="-fPIC $CFLAGS"
52310 if test x$gcc_no_link = xyes; then
52311 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52312 fi
52313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52314 /* end confdefs.h. */
52315 int f() { return 0; }
52316 _ACEOF
52317 if ac_fn_c_try_link "$LINENO"; then :
52318 if test x$gcc_no_link = xyes; then
52319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52320 fi
52321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52322 /* end confdefs.h. */
52323 __thread int a; int b; int f() { return a = b; }
52324 _ACEOF
52325 if ac_fn_c_try_link "$LINENO"; then :
52326 gcc_cv_have_tls=yes
52327 else
52328 gcc_cv_have_tls=no
52329 fi
52330 rm -f core conftest.err conftest.$ac_objext \
52331 conftest$ac_exeext conftest.$ac_ext
52332 else
52333 gcc_cv_have_tls=yes
52334 fi
52335 rm -f core conftest.err conftest.$ac_objext \
52336 conftest$ac_exeext conftest.$ac_ext
52337 CFLAGS="$chktls_save_CFLAGS"
52338 LDFLAGS="$chktls_save_LDFLAGS"
52339 else
52340 gcc_cv_have_tls=no
52341 fi
52342 rm -f core conftest.err conftest.$ac_objext \
52343 conftest$ac_exeext conftest.$ac_ext
52344
52345
52346 else
52347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52348 /* end confdefs.h. */
52349 __thread int a; int b; int main() { return a = b; }
52350 _ACEOF
52351 if ac_fn_c_try_run "$LINENO"; then :
52352 chktls_save_LDFLAGS="$LDFLAGS"
52353 LDFLAGS="-static $LDFLAGS"
52354 if test x$gcc_no_link = xyes; then
52355 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52356 fi
52357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52358 /* end confdefs.h. */
52359 int main() { return 0; }
52360 _ACEOF
52361 if ac_fn_c_try_link "$LINENO"; then :
52362 if test "$cross_compiling" = yes; then :
52363 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52364 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52365 as_fn_error "cannot run test program while cross compiling
52366 See \`config.log' for more details." "$LINENO" 5; }
52367 else
52368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52369 /* end confdefs.h. */
52370 __thread int a; int b; int main() { return a = b; }
52371 _ACEOF
52372 if ac_fn_c_try_run "$LINENO"; then :
52373 gcc_cv_have_tls=yes
52374 else
52375 gcc_cv_have_tls=no
52376 fi
52377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52378 conftest.$ac_objext conftest.beam conftest.$ac_ext
52379 fi
52380
52381 else
52382 gcc_cv_have_tls=yes
52383 fi
52384 rm -f core conftest.err conftest.$ac_objext \
52385 conftest$ac_exeext conftest.$ac_ext
52386 LDFLAGS="$chktls_save_LDFLAGS"
52387 if test $gcc_cv_have_tls = yes; then
52388 chktls_save_CFLAGS="$CFLAGS"
52389 thread_CFLAGS=failed
52390 for flag in '' '-pthread' '-lpthread'; do
52391 CFLAGS="$flag $chktls_save_CFLAGS"
52392 if test x$gcc_no_link = xyes; then
52393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52394 fi
52395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52396 /* end confdefs.h. */
52397 #include <pthread.h>
52398 void *g(void *d) { return NULL; }
52399 int
52400 main ()
52401 {
52402 pthread_t t; pthread_create(&t,NULL,g,NULL);
52403 ;
52404 return 0;
52405 }
52406 _ACEOF
52407 if ac_fn_c_try_link "$LINENO"; then :
52408 thread_CFLAGS="$flag"
52409 fi
52410 rm -f core conftest.err conftest.$ac_objext \
52411 conftest$ac_exeext conftest.$ac_ext
52412 if test "X$thread_CFLAGS" != Xfailed; then
52413 break
52414 fi
52415 done
52416 CFLAGS="$chktls_save_CFLAGS"
52417 if test "X$thread_CFLAGS" != Xfailed; then
52418 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52419 if test "$cross_compiling" = yes; then :
52420 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52421 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52422 as_fn_error "cannot run test program while cross compiling
52423 See \`config.log' for more details." "$LINENO" 5; }
52424 else
52425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52426 /* end confdefs.h. */
52427 #include <pthread.h>
52428 __thread int a;
52429 static int *volatile a_in_other_thread;
52430 static void *
52431 thread_func (void *arg)
52432 {
52433 a_in_other_thread = &a;
52434 return (void *)0;
52435 }
52436 int
52437 main ()
52438 {
52439 pthread_t thread;
52440 void *thread_retval;
52441 int *volatile a_in_main_thread;
52442 a_in_main_thread = &a;
52443 if (pthread_create (&thread, (pthread_attr_t *)0,
52444 thread_func, (void *)0))
52445 return 0;
52446 if (pthread_join (thread, &thread_retval))
52447 return 0;
52448 return (a_in_other_thread == a_in_main_thread);
52449 ;
52450 return 0;
52451 }
52452 _ACEOF
52453 if ac_fn_c_try_run "$LINENO"; then :
52454 gcc_cv_have_tls=yes
52455 else
52456 gcc_cv_have_tls=no
52457 fi
52458 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52459 conftest.$ac_objext conftest.beam conftest.$ac_ext
52460 fi
52461
52462 CFLAGS="$chktls_save_CFLAGS"
52463 fi
52464 fi
52465 else
52466 gcc_cv_have_tls=no
52467 fi
52468 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52469 conftest.$ac_objext conftest.beam conftest.$ac_ext
52470 fi
52471
52472 fi
52473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52474 $as_echo "$gcc_cv_have_tls" >&6; }
52475 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52476
52477 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52478
52479 fi
52480 case "$target" in
52481 *-hpux10*)
52482 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52483
52484 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52485
52486 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52487
52488 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52489
52490 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52491
52492 ;;
52493 esac
52494 ;;
52495 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52496
52497 # All these tests are for C++; save the language and the compiler flags.
52498 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52499 # found in GLIBCXX_CONFIGURE.
52500
52501 ac_ext=cpp
52502 ac_cpp='$CXXCPP $CPPFLAGS'
52503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52506
52507 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52508 ac_save_CXXFLAGS="$CXXFLAGS"
52509
52510 # Check for maintainer-mode bits.
52511 if test x"$USE_MAINTAINER_MODE" = xno; then
52512 WERROR=''
52513 else
52514 WERROR='-Werror'
52515 fi
52516
52517 # Check for -ffunction-sections -fdata-sections
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52519 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52520 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52522 /* end confdefs.h. */
52523 int foo; void bar() { };
52524 int
52525 main ()
52526 {
52527
52528 ;
52529 return 0;
52530 }
52531 _ACEOF
52532 if ac_fn_cxx_try_compile "$LINENO"; then :
52533 ac_fdsections=yes
52534 else
52535 ac_fdsections=no
52536 fi
52537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52538 if test "$ac_test_CXXFLAGS" = set; then
52539 CXXFLAGS="$ac_save_CXXFLAGS"
52540 else
52541 # this is the suspicious part
52542 CXXFLAGS=''
52543 fi
52544 if test x"$ac_fdsections" = x"yes"; then
52545 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52546 fi
52547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52548 $as_echo "$ac_fdsections" >&6; }
52549
52550 ac_ext=c
52551 ac_cpp='$CPP $CPPFLAGS'
52552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52555
52556
52557
52558
52559
52560 # If we're not using GNU ld, then there's no point in even trying these
52561 # tests. Check for that first. We should have already tested for gld
52562 # by now (in libtool), but require it now just to be safe...
52563 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52564 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52565
52566
52567
52568 # The name set by libtool depends on the version of libtool. Shame on us
52569 # for depending on an impl detail, but c'est la vie. Older versions used
52570 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52571 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52572 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52573 # set (hence we're using an older libtool), then set it.
52574 if test x${with_gnu_ld+set} != xset; then
52575 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52576 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52577 with_gnu_ld=no
52578 else
52579 with_gnu_ld=$ac_cv_prog_gnu_ld
52580 fi
52581 fi
52582
52583 # Start by getting the version number. I think the libtool test already
52584 # does some of this, but throws away the result.
52585 glibcxx_ld_is_gold=no
52586 if test x"$with_gnu_ld" = x"yes"; then
52587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52588 $as_echo_n "checking for ld version... " >&6; }
52589
52590 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52591 glibcxx_ld_is_gold=yes
52592 fi
52593 ldver=`$LD --version 2>/dev/null |
52594 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'`
52595
52596 glibcxx_gnu_ld_version=`echo $ldver | \
52597 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52599 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52600 fi
52601
52602 # Set --gc-sections.
52603 glibcxx_have_gc_sections=no
52604 if test "$glibcxx_ld_is_gold" = "yes"; then
52605 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52606 glibcxx_have_gc_sections=yes
52607 fi
52608 else
52609 glibcxx_gcsections_min_ld=21602
52610 if test x"$with_gnu_ld" = x"yes" &&
52611 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52612 glibcxx_have_gc_sections=yes
52613 fi
52614 fi
52615 if test "$glibcxx_have_gc_sections" = "yes"; then
52616 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52617 # NB: This flag only works reliably after 2.16.1. Configure tests
52618 # for this are difficult, so hard wire a value that should work.
52619
52620 ac_test_CFLAGS="${CFLAGS+set}"
52621 ac_save_CFLAGS="$CFLAGS"
52622 CFLAGS='-Wl,--gc-sections'
52623
52624 # Check for -Wl,--gc-sections
52625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52626 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52627 if test x$gcc_no_link = xyes; then
52628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52629 fi
52630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52631 /* end confdefs.h. */
52632 int one(void) { return 1; }
52633 int two(void) { return 2; }
52634
52635 int
52636 main ()
52637 {
52638 two();
52639 ;
52640 return 0;
52641 }
52642 _ACEOF
52643 if ac_fn_c_try_link "$LINENO"; then :
52644 ac_gcsections=yes
52645 else
52646 ac_gcsections=no
52647 fi
52648 rm -f core conftest.err conftest.$ac_objext \
52649 conftest$ac_exeext conftest.$ac_ext
52650 if test "$ac_gcsections" = "yes"; then
52651 rm -f conftest.c
52652 touch conftest.c
52653 if $CC -c conftest.c; then
52654 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52655 grep "Warning: gc-sections option ignored" > /dev/null; then
52656 ac_gcsections=no
52657 fi
52658 fi
52659 rm -f conftest.c conftest.o conftest
52660 fi
52661 if test "$ac_gcsections" = "yes"; then
52662 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52663 fi
52664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52665 $as_echo "$ac_gcsections" >&6; }
52666
52667 if test "$ac_test_CFLAGS" = set; then
52668 CFLAGS="$ac_save_CFLAGS"
52669 else
52670 # this is the suspicious part
52671 CFLAGS=''
52672 fi
52673 fi
52674
52675 # Set -z,relro.
52676 # Note this is only for shared objects.
52677 ac_ld_relro=no
52678 if test x"$with_gnu_ld" = x"yes"; then
52679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52680 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52681 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52682 if test -n "$cxx_z_relo"; then
52683 OPT_LDFLAGS="-Wl,-z,relro"
52684 ac_ld_relro=yes
52685 fi
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52687 $as_echo "$ac_ld_relro" >&6; }
52688 fi
52689
52690 # Set linker optimization flags.
52691 if test x"$with_gnu_ld" = x"yes"; then
52692 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52693 fi
52694
52695
52696
52697
52698
52699 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52700 ac_save_CXXFLAGS="$CXXFLAGS"
52701 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52702
52703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52704 $as_echo_n "checking for sin in -lm... " >&6; }
52705 if test "${ac_cv_lib_m_sin+set}" = set; then :
52706 $as_echo_n "(cached) " >&6
52707 else
52708 ac_check_lib_save_LIBS=$LIBS
52709 LIBS="-lm $LIBS"
52710 if test x$gcc_no_link = xyes; then
52711 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52712 fi
52713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52714 /* end confdefs.h. */
52715
52716 /* Override any GCC internal prototype to avoid an error.
52717 Use char because int might match the return type of a GCC
52718 builtin and then its argument prototype would still apply. */
52719 #ifdef __cplusplus
52720 extern "C"
52721 #endif
52722 char sin ();
52723 int
52724 main ()
52725 {
52726 return sin ();
52727 ;
52728 return 0;
52729 }
52730 _ACEOF
52731 if ac_fn_c_try_link "$LINENO"; then :
52732 ac_cv_lib_m_sin=yes
52733 else
52734 ac_cv_lib_m_sin=no
52735 fi
52736 rm -f core conftest.err conftest.$ac_objext \
52737 conftest$ac_exeext conftest.$ac_ext
52738 LIBS=$ac_check_lib_save_LIBS
52739 fi
52740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52741 $as_echo "$ac_cv_lib_m_sin" >&6; }
52742 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52743 libm="-lm"
52744 fi
52745
52746 ac_save_LIBS="$LIBS"
52747 LIBS="$LIBS $libm"
52748
52749
52750
52751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52752 $as_echo_n "checking for isinf declaration... " >&6; }
52753 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52754 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52755 $as_echo_n "(cached) " >&6
52756 else
52757
52758
52759 ac_ext=cpp
52760 ac_cpp='$CXXCPP $CPPFLAGS'
52761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52764
52765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52766 /* end confdefs.h. */
52767 #include <math.h>
52768 #ifdef HAVE_IEEEFP_H
52769 #include <ieeefp.h>
52770 #endif
52771
52772 int
52773 main ()
52774 {
52775 isinf(0);
52776 ;
52777 return 0;
52778 }
52779 _ACEOF
52780 if ac_fn_cxx_try_compile "$LINENO"; then :
52781 glibcxx_cv_func_isinf_use=yes
52782 else
52783 glibcxx_cv_func_isinf_use=no
52784 fi
52785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52786 ac_ext=c
52787 ac_cpp='$CPP $CPPFLAGS'
52788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52791
52792
52793 fi
52794
52795 fi
52796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52797 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52798
52799 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52800 for ac_func in isinf
52801 do :
52802 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52803 if test "x$ac_cv_func_isinf" = x""yes; then :
52804 cat >>confdefs.h <<_ACEOF
52805 #define HAVE_ISINF 1
52806 _ACEOF
52807
52808 fi
52809 done
52810
52811 else
52812
52813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52814 $as_echo_n "checking for _isinf declaration... " >&6; }
52815 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52816 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52817 $as_echo_n "(cached) " >&6
52818 else
52819
52820
52821 ac_ext=cpp
52822 ac_cpp='$CXXCPP $CPPFLAGS'
52823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52826
52827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52828 /* end confdefs.h. */
52829 #include <math.h>
52830 #ifdef HAVE_IEEEFP_H
52831 #include <ieeefp.h>
52832 #endif
52833
52834 int
52835 main ()
52836 {
52837 _isinf(0);
52838 ;
52839 return 0;
52840 }
52841 _ACEOF
52842 if ac_fn_cxx_try_compile "$LINENO"; then :
52843 glibcxx_cv_func__isinf_use=yes
52844 else
52845 glibcxx_cv_func__isinf_use=no
52846 fi
52847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52848 ac_ext=c
52849 ac_cpp='$CPP $CPPFLAGS'
52850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52853
52854
52855 fi
52856
52857 fi
52858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52859 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52860
52861 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52862 for ac_func in _isinf
52863 do :
52864 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52865 if test "x$ac_cv_func__isinf" = x""yes; then :
52866 cat >>confdefs.h <<_ACEOF
52867 #define HAVE__ISINF 1
52868 _ACEOF
52869
52870 fi
52871 done
52872
52873 fi
52874 fi
52875
52876
52877
52878
52879
52880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52881 $as_echo_n "checking for isnan declaration... " >&6; }
52882 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52883 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52884 $as_echo_n "(cached) " >&6
52885 else
52886
52887
52888 ac_ext=cpp
52889 ac_cpp='$CXXCPP $CPPFLAGS'
52890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52893
52894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52895 /* end confdefs.h. */
52896 #include <math.h>
52897 #ifdef HAVE_IEEEFP_H
52898 #include <ieeefp.h>
52899 #endif
52900
52901 int
52902 main ()
52903 {
52904 isnan(0);
52905 ;
52906 return 0;
52907 }
52908 _ACEOF
52909 if ac_fn_cxx_try_compile "$LINENO"; then :
52910 glibcxx_cv_func_isnan_use=yes
52911 else
52912 glibcxx_cv_func_isnan_use=no
52913 fi
52914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52915 ac_ext=c
52916 ac_cpp='$CPP $CPPFLAGS'
52917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52920
52921
52922 fi
52923
52924 fi
52925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52926 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52927
52928 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52929 for ac_func in isnan
52930 do :
52931 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52932 if test "x$ac_cv_func_isnan" = x""yes; then :
52933 cat >>confdefs.h <<_ACEOF
52934 #define HAVE_ISNAN 1
52935 _ACEOF
52936
52937 fi
52938 done
52939
52940 else
52941
52942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52943 $as_echo_n "checking for _isnan declaration... " >&6; }
52944 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52945 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52946 $as_echo_n "(cached) " >&6
52947 else
52948
52949
52950 ac_ext=cpp
52951 ac_cpp='$CXXCPP $CPPFLAGS'
52952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52955
52956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52957 /* end confdefs.h. */
52958 #include <math.h>
52959 #ifdef HAVE_IEEEFP_H
52960 #include <ieeefp.h>
52961 #endif
52962
52963 int
52964 main ()
52965 {
52966 _isnan(0);
52967 ;
52968 return 0;
52969 }
52970 _ACEOF
52971 if ac_fn_cxx_try_compile "$LINENO"; then :
52972 glibcxx_cv_func__isnan_use=yes
52973 else
52974 glibcxx_cv_func__isnan_use=no
52975 fi
52976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52977 ac_ext=c
52978 ac_cpp='$CPP $CPPFLAGS'
52979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52982
52983
52984 fi
52985
52986 fi
52987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52988 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52989
52990 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52991 for ac_func in _isnan
52992 do :
52993 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52994 if test "x$ac_cv_func__isnan" = x""yes; then :
52995 cat >>confdefs.h <<_ACEOF
52996 #define HAVE__ISNAN 1
52997 _ACEOF
52998
52999 fi
53000 done
53001
53002 fi
53003 fi
53004
53005
53006
53007
53008
53009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53010 $as_echo_n "checking for finite declaration... " >&6; }
53011 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53012 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53013 $as_echo_n "(cached) " >&6
53014 else
53015
53016
53017 ac_ext=cpp
53018 ac_cpp='$CXXCPP $CPPFLAGS'
53019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53022
53023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53024 /* end confdefs.h. */
53025 #include <math.h>
53026 #ifdef HAVE_IEEEFP_H
53027 #include <ieeefp.h>
53028 #endif
53029
53030 int
53031 main ()
53032 {
53033 finite(0);
53034 ;
53035 return 0;
53036 }
53037 _ACEOF
53038 if ac_fn_cxx_try_compile "$LINENO"; then :
53039 glibcxx_cv_func_finite_use=yes
53040 else
53041 glibcxx_cv_func_finite_use=no
53042 fi
53043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53044 ac_ext=c
53045 ac_cpp='$CPP $CPPFLAGS'
53046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53049
53050
53051 fi
53052
53053 fi
53054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53055 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53056
53057 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53058 for ac_func in finite
53059 do :
53060 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53061 if test "x$ac_cv_func_finite" = x""yes; then :
53062 cat >>confdefs.h <<_ACEOF
53063 #define HAVE_FINITE 1
53064 _ACEOF
53065
53066 fi
53067 done
53068
53069 else
53070
53071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53072 $as_echo_n "checking for _finite declaration... " >&6; }
53073 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53074 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53075 $as_echo_n "(cached) " >&6
53076 else
53077
53078
53079 ac_ext=cpp
53080 ac_cpp='$CXXCPP $CPPFLAGS'
53081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53084
53085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53086 /* end confdefs.h. */
53087 #include <math.h>
53088 #ifdef HAVE_IEEEFP_H
53089 #include <ieeefp.h>
53090 #endif
53091
53092 int
53093 main ()
53094 {
53095 _finite(0);
53096 ;
53097 return 0;
53098 }
53099 _ACEOF
53100 if ac_fn_cxx_try_compile "$LINENO"; then :
53101 glibcxx_cv_func__finite_use=yes
53102 else
53103 glibcxx_cv_func__finite_use=no
53104 fi
53105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53106 ac_ext=c
53107 ac_cpp='$CPP $CPPFLAGS'
53108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53111
53112
53113 fi
53114
53115 fi
53116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53117 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53118
53119 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53120 for ac_func in _finite
53121 do :
53122 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53123 if test "x$ac_cv_func__finite" = x""yes; then :
53124 cat >>confdefs.h <<_ACEOF
53125 #define HAVE__FINITE 1
53126 _ACEOF
53127
53128 fi
53129 done
53130
53131 fi
53132 fi
53133
53134
53135
53136
53137
53138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53139 $as_echo_n "checking for sincos declaration... " >&6; }
53140 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53141 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53142 $as_echo_n "(cached) " >&6
53143 else
53144
53145
53146 ac_ext=cpp
53147 ac_cpp='$CXXCPP $CPPFLAGS'
53148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53151
53152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53153 /* end confdefs.h. */
53154 #include <math.h>
53155 int
53156 main ()
53157 {
53158 sincos(0, 0, 0);
53159 ;
53160 return 0;
53161 }
53162 _ACEOF
53163 if ac_fn_cxx_try_compile "$LINENO"; then :
53164 glibcxx_cv_func_sincos_use=yes
53165 else
53166 glibcxx_cv_func_sincos_use=no
53167 fi
53168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53169 ac_ext=c
53170 ac_cpp='$CPP $CPPFLAGS'
53171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53174
53175
53176 fi
53177
53178 fi
53179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53180 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53181
53182 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53183 for ac_func in sincos
53184 do :
53185 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53186 if test "x$ac_cv_func_sincos" = x""yes; then :
53187 cat >>confdefs.h <<_ACEOF
53188 #define HAVE_SINCOS 1
53189 _ACEOF
53190
53191 fi
53192 done
53193
53194 else
53195
53196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53197 $as_echo_n "checking for _sincos declaration... " >&6; }
53198 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53199 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53200 $as_echo_n "(cached) " >&6
53201 else
53202
53203
53204 ac_ext=cpp
53205 ac_cpp='$CXXCPP $CPPFLAGS'
53206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53209
53210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53211 /* end confdefs.h. */
53212 #include <math.h>
53213 int
53214 main ()
53215 {
53216 _sincos(0, 0, 0);
53217 ;
53218 return 0;
53219 }
53220 _ACEOF
53221 if ac_fn_cxx_try_compile "$LINENO"; then :
53222 glibcxx_cv_func__sincos_use=yes
53223 else
53224 glibcxx_cv_func__sincos_use=no
53225 fi
53226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53227 ac_ext=c
53228 ac_cpp='$CPP $CPPFLAGS'
53229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53232
53233
53234 fi
53235
53236 fi
53237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53238 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53239
53240 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53241 for ac_func in _sincos
53242 do :
53243 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53244 if test "x$ac_cv_func__sincos" = x""yes; then :
53245 cat >>confdefs.h <<_ACEOF
53246 #define HAVE__SINCOS 1
53247 _ACEOF
53248
53249 fi
53250 done
53251
53252 fi
53253 fi
53254
53255
53256
53257
53258
53259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53260 $as_echo_n "checking for fpclass declaration... " >&6; }
53261 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53262 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53263 $as_echo_n "(cached) " >&6
53264 else
53265
53266
53267 ac_ext=cpp
53268 ac_cpp='$CXXCPP $CPPFLAGS'
53269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53272
53273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53274 /* end confdefs.h. */
53275 #include <math.h>
53276 #ifdef HAVE_IEEEFP_H
53277 #include <ieeefp.h>
53278 #endif
53279
53280 int
53281 main ()
53282 {
53283 fpclass(0);
53284 ;
53285 return 0;
53286 }
53287 _ACEOF
53288 if ac_fn_cxx_try_compile "$LINENO"; then :
53289 glibcxx_cv_func_fpclass_use=yes
53290 else
53291 glibcxx_cv_func_fpclass_use=no
53292 fi
53293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53294 ac_ext=c
53295 ac_cpp='$CPP $CPPFLAGS'
53296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53299
53300
53301 fi
53302
53303 fi
53304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53305 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53306
53307 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53308 for ac_func in fpclass
53309 do :
53310 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53311 if test "x$ac_cv_func_fpclass" = x""yes; then :
53312 cat >>confdefs.h <<_ACEOF
53313 #define HAVE_FPCLASS 1
53314 _ACEOF
53315
53316 fi
53317 done
53318
53319 else
53320
53321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53322 $as_echo_n "checking for _fpclass declaration... " >&6; }
53323 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53324 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53325 $as_echo_n "(cached) " >&6
53326 else
53327
53328
53329 ac_ext=cpp
53330 ac_cpp='$CXXCPP $CPPFLAGS'
53331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53334
53335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53336 /* end confdefs.h. */
53337 #include <math.h>
53338 #ifdef HAVE_IEEEFP_H
53339 #include <ieeefp.h>
53340 #endif
53341
53342 int
53343 main ()
53344 {
53345 _fpclass(0);
53346 ;
53347 return 0;
53348 }
53349 _ACEOF
53350 if ac_fn_cxx_try_compile "$LINENO"; then :
53351 glibcxx_cv_func__fpclass_use=yes
53352 else
53353 glibcxx_cv_func__fpclass_use=no
53354 fi
53355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53356 ac_ext=c
53357 ac_cpp='$CPP $CPPFLAGS'
53358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53361
53362
53363 fi
53364
53365 fi
53366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53367 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53368
53369 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53370 for ac_func in _fpclass
53371 do :
53372 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53373 if test "x$ac_cv_func__fpclass" = x""yes; then :
53374 cat >>confdefs.h <<_ACEOF
53375 #define HAVE__FPCLASS 1
53376 _ACEOF
53377
53378 fi
53379 done
53380
53381 fi
53382 fi
53383
53384
53385
53386
53387
53388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53389 $as_echo_n "checking for qfpclass declaration... " >&6; }
53390 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53391 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53392 $as_echo_n "(cached) " >&6
53393 else
53394
53395
53396 ac_ext=cpp
53397 ac_cpp='$CXXCPP $CPPFLAGS'
53398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53401
53402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53403 /* end confdefs.h. */
53404 #include <math.h>
53405 #ifdef HAVE_IEEEFP_H
53406 #include <ieeefp.h>
53407 #endif
53408
53409 int
53410 main ()
53411 {
53412 qfpclass(0);
53413 ;
53414 return 0;
53415 }
53416 _ACEOF
53417 if ac_fn_cxx_try_compile "$LINENO"; then :
53418 glibcxx_cv_func_qfpclass_use=yes
53419 else
53420 glibcxx_cv_func_qfpclass_use=no
53421 fi
53422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53423 ac_ext=c
53424 ac_cpp='$CPP $CPPFLAGS'
53425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53428
53429
53430 fi
53431
53432 fi
53433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53434 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53435
53436 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53437 for ac_func in qfpclass
53438 do :
53439 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53440 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53441 cat >>confdefs.h <<_ACEOF
53442 #define HAVE_QFPCLASS 1
53443 _ACEOF
53444
53445 fi
53446 done
53447
53448 else
53449
53450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53451 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53452 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53453 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53454 $as_echo_n "(cached) " >&6
53455 else
53456
53457
53458 ac_ext=cpp
53459 ac_cpp='$CXXCPP $CPPFLAGS'
53460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53463
53464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53465 /* end confdefs.h. */
53466 #include <math.h>
53467 #ifdef HAVE_IEEEFP_H
53468 #include <ieeefp.h>
53469 #endif
53470
53471 int
53472 main ()
53473 {
53474 _qfpclass(0);
53475 ;
53476 return 0;
53477 }
53478 _ACEOF
53479 if ac_fn_cxx_try_compile "$LINENO"; then :
53480 glibcxx_cv_func__qfpclass_use=yes
53481 else
53482 glibcxx_cv_func__qfpclass_use=no
53483 fi
53484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53485 ac_ext=c
53486 ac_cpp='$CPP $CPPFLAGS'
53487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53490
53491
53492 fi
53493
53494 fi
53495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53496 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53497
53498 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53499 for ac_func in _qfpclass
53500 do :
53501 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53502 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53503 cat >>confdefs.h <<_ACEOF
53504 #define HAVE__QFPCLASS 1
53505 _ACEOF
53506
53507 fi
53508 done
53509
53510 fi
53511 fi
53512
53513
53514
53515
53516
53517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53518 $as_echo_n "checking for hypot declaration... " >&6; }
53519 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53520 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53521 $as_echo_n "(cached) " >&6
53522 else
53523
53524
53525 ac_ext=cpp
53526 ac_cpp='$CXXCPP $CPPFLAGS'
53527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53530
53531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53532 /* end confdefs.h. */
53533 #include <math.h>
53534 int
53535 main ()
53536 {
53537 hypot(0, 0);
53538 ;
53539 return 0;
53540 }
53541 _ACEOF
53542 if ac_fn_cxx_try_compile "$LINENO"; then :
53543 glibcxx_cv_func_hypot_use=yes
53544 else
53545 glibcxx_cv_func_hypot_use=no
53546 fi
53547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53548 ac_ext=c
53549 ac_cpp='$CPP $CPPFLAGS'
53550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53553
53554
53555 fi
53556
53557 fi
53558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53559 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53560
53561 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53562 for ac_func in hypot
53563 do :
53564 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53565 if test "x$ac_cv_func_hypot" = x""yes; then :
53566 cat >>confdefs.h <<_ACEOF
53567 #define HAVE_HYPOT 1
53568 _ACEOF
53569
53570 fi
53571 done
53572
53573 else
53574
53575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53576 $as_echo_n "checking for _hypot declaration... " >&6; }
53577 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53578 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53579 $as_echo_n "(cached) " >&6
53580 else
53581
53582
53583 ac_ext=cpp
53584 ac_cpp='$CXXCPP $CPPFLAGS'
53585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53588
53589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53590 /* end confdefs.h. */
53591 #include <math.h>
53592 int
53593 main ()
53594 {
53595 _hypot(0, 0);
53596 ;
53597 return 0;
53598 }
53599 _ACEOF
53600 if ac_fn_cxx_try_compile "$LINENO"; then :
53601 glibcxx_cv_func__hypot_use=yes
53602 else
53603 glibcxx_cv_func__hypot_use=no
53604 fi
53605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53606 ac_ext=c
53607 ac_cpp='$CPP $CPPFLAGS'
53608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53611
53612
53613 fi
53614
53615 fi
53616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53617 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53618
53619 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53620 for ac_func in _hypot
53621 do :
53622 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53623 if test "x$ac_cv_func__hypot" = x""yes; then :
53624 cat >>confdefs.h <<_ACEOF
53625 #define HAVE__HYPOT 1
53626 _ACEOF
53627
53628 fi
53629 done
53630
53631 fi
53632 fi
53633
53634
53635
53636
53637
53638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53639 $as_echo_n "checking for float trig functions... " >&6; }
53640 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53641 $as_echo_n "(cached) " >&6
53642 else
53643
53644
53645 ac_ext=cpp
53646 ac_cpp='$CXXCPP $CPPFLAGS'
53647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53650
53651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53652 /* end confdefs.h. */
53653 #include <math.h>
53654 int
53655 main ()
53656 {
53657 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53658 ;
53659 return 0;
53660 }
53661 _ACEOF
53662 if ac_fn_cxx_try_compile "$LINENO"; then :
53663 glibcxx_cv_func_float_trig_use=yes
53664 else
53665 glibcxx_cv_func_float_trig_use=no
53666 fi
53667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53668 ac_ext=c
53669 ac_cpp='$CPP $CPPFLAGS'
53670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53673
53674 fi
53675
53676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53677 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53678 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53679 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53680 do :
53681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53683 eval as_val=\$$as_ac_var
53684 if test "x$as_val" = x""yes; then :
53685 cat >>confdefs.h <<_ACEOF
53686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53687 _ACEOF
53688
53689 fi
53690 done
53691
53692 else
53693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53694 $as_echo_n "checking for _float trig functions... " >&6; }
53695 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53696 $as_echo_n "(cached) " >&6
53697 else
53698
53699
53700 ac_ext=cpp
53701 ac_cpp='$CXXCPP $CPPFLAGS'
53702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53705
53706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53707 /* end confdefs.h. */
53708 #include <math.h>
53709 int
53710 main ()
53711 {
53712 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53713 ;
53714 return 0;
53715 }
53716 _ACEOF
53717 if ac_fn_cxx_try_compile "$LINENO"; then :
53718 glibcxx_cv_func__float_trig_use=yes
53719 else
53720 glibcxx_cv_func__float_trig_use=no
53721 fi
53722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53723 ac_ext=c
53724 ac_cpp='$CPP $CPPFLAGS'
53725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53728
53729 fi
53730
53731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53732 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53733 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53734 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53735 do :
53736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53738 eval as_val=\$$as_ac_var
53739 if test "x$as_val" = x""yes; then :
53740 cat >>confdefs.h <<_ACEOF
53741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53742 _ACEOF
53743
53744 fi
53745 done
53746
53747 fi
53748 fi
53749
53750
53751
53752
53753
53754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53755 $as_echo_n "checking for float round functions... " >&6; }
53756 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53757 $as_echo_n "(cached) " >&6
53758 else
53759
53760
53761 ac_ext=cpp
53762 ac_cpp='$CXXCPP $CPPFLAGS'
53763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53766
53767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53768 /* end confdefs.h. */
53769 #include <math.h>
53770 int
53771 main ()
53772 {
53773 ceilf (0); floorf (0);
53774 ;
53775 return 0;
53776 }
53777 _ACEOF
53778 if ac_fn_cxx_try_compile "$LINENO"; then :
53779 glibcxx_cv_func_float_round_use=yes
53780 else
53781 glibcxx_cv_func_float_round_use=no
53782 fi
53783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53784 ac_ext=c
53785 ac_cpp='$CPP $CPPFLAGS'
53786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53789
53790 fi
53791
53792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53793 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53794 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53795 for ac_func in ceilf floorf
53796 do :
53797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53799 eval as_val=\$$as_ac_var
53800 if test "x$as_val" = x""yes; then :
53801 cat >>confdefs.h <<_ACEOF
53802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53803 _ACEOF
53804
53805 fi
53806 done
53807
53808 else
53809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53810 $as_echo_n "checking for _float round functions... " >&6; }
53811 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53812 $as_echo_n "(cached) " >&6
53813 else
53814
53815
53816 ac_ext=cpp
53817 ac_cpp='$CXXCPP $CPPFLAGS'
53818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53821
53822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53823 /* end confdefs.h. */
53824 #include <math.h>
53825 int
53826 main ()
53827 {
53828 _ceilf (0); _floorf (0);
53829 ;
53830 return 0;
53831 }
53832 _ACEOF
53833 if ac_fn_cxx_try_compile "$LINENO"; then :
53834 glibcxx_cv_func__float_round_use=yes
53835 else
53836 glibcxx_cv_func__float_round_use=no
53837 fi
53838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53839 ac_ext=c
53840 ac_cpp='$CPP $CPPFLAGS'
53841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53844
53845 fi
53846
53847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53848 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53849 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53850 for ac_func in _ceilf _floorf
53851 do :
53852 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53853 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53854 eval as_val=\$$as_ac_var
53855 if test "x$as_val" = x""yes; then :
53856 cat >>confdefs.h <<_ACEOF
53857 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53858 _ACEOF
53859
53860 fi
53861 done
53862
53863 fi
53864 fi
53865
53866
53867
53868
53869
53870
53871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53872 $as_echo_n "checking for expf declaration... " >&6; }
53873 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53874 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53875 $as_echo_n "(cached) " >&6
53876 else
53877
53878
53879 ac_ext=cpp
53880 ac_cpp='$CXXCPP $CPPFLAGS'
53881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53884
53885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53886 /* end confdefs.h. */
53887 #include <math.h>
53888 #ifdef HAVE_IEEEFP_H
53889 #include <ieeefp.h>
53890 #endif
53891
53892 int
53893 main ()
53894 {
53895 expf(0);
53896 ;
53897 return 0;
53898 }
53899 _ACEOF
53900 if ac_fn_cxx_try_compile "$LINENO"; then :
53901 glibcxx_cv_func_expf_use=yes
53902 else
53903 glibcxx_cv_func_expf_use=no
53904 fi
53905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53906 ac_ext=c
53907 ac_cpp='$CPP $CPPFLAGS'
53908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53911
53912
53913 fi
53914
53915 fi
53916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53917 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53918
53919 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53920 for ac_func in expf
53921 do :
53922 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53923 if test "x$ac_cv_func_expf" = x""yes; then :
53924 cat >>confdefs.h <<_ACEOF
53925 #define HAVE_EXPF 1
53926 _ACEOF
53927
53928 fi
53929 done
53930
53931 else
53932
53933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53934 $as_echo_n "checking for _expf declaration... " >&6; }
53935 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53936 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53937 $as_echo_n "(cached) " >&6
53938 else
53939
53940
53941 ac_ext=cpp
53942 ac_cpp='$CXXCPP $CPPFLAGS'
53943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53946
53947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53948 /* end confdefs.h. */
53949 #include <math.h>
53950 #ifdef HAVE_IEEEFP_H
53951 #include <ieeefp.h>
53952 #endif
53953
53954 int
53955 main ()
53956 {
53957 _expf(0);
53958 ;
53959 return 0;
53960 }
53961 _ACEOF
53962 if ac_fn_cxx_try_compile "$LINENO"; then :
53963 glibcxx_cv_func__expf_use=yes
53964 else
53965 glibcxx_cv_func__expf_use=no
53966 fi
53967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53968 ac_ext=c
53969 ac_cpp='$CPP $CPPFLAGS'
53970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53973
53974
53975 fi
53976
53977 fi
53978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53979 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53980
53981 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53982 for ac_func in _expf
53983 do :
53984 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53985 if test "x$ac_cv_func__expf" = x""yes; then :
53986 cat >>confdefs.h <<_ACEOF
53987 #define HAVE__EXPF 1
53988 _ACEOF
53989
53990 fi
53991 done
53992
53993 fi
53994 fi
53995
53996
53997
53998
53999
54000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54001 $as_echo_n "checking for isnanf declaration... " >&6; }
54002 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54003 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54004 $as_echo_n "(cached) " >&6
54005 else
54006
54007
54008 ac_ext=cpp
54009 ac_cpp='$CXXCPP $CPPFLAGS'
54010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54013
54014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54015 /* end confdefs.h. */
54016 #include <math.h>
54017 #ifdef HAVE_IEEEFP_H
54018 #include <ieeefp.h>
54019 #endif
54020
54021 int
54022 main ()
54023 {
54024 isnanf(0);
54025 ;
54026 return 0;
54027 }
54028 _ACEOF
54029 if ac_fn_cxx_try_compile "$LINENO"; then :
54030 glibcxx_cv_func_isnanf_use=yes
54031 else
54032 glibcxx_cv_func_isnanf_use=no
54033 fi
54034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54035 ac_ext=c
54036 ac_cpp='$CPP $CPPFLAGS'
54037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54040
54041
54042 fi
54043
54044 fi
54045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54046 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54047
54048 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54049 for ac_func in isnanf
54050 do :
54051 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54052 if test "x$ac_cv_func_isnanf" = x""yes; then :
54053 cat >>confdefs.h <<_ACEOF
54054 #define HAVE_ISNANF 1
54055 _ACEOF
54056
54057 fi
54058 done
54059
54060 else
54061
54062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54063 $as_echo_n "checking for _isnanf declaration... " >&6; }
54064 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54065 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54066 $as_echo_n "(cached) " >&6
54067 else
54068
54069
54070 ac_ext=cpp
54071 ac_cpp='$CXXCPP $CPPFLAGS'
54072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54075
54076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54077 /* end confdefs.h. */
54078 #include <math.h>
54079 #ifdef HAVE_IEEEFP_H
54080 #include <ieeefp.h>
54081 #endif
54082
54083 int
54084 main ()
54085 {
54086 _isnanf(0);
54087 ;
54088 return 0;
54089 }
54090 _ACEOF
54091 if ac_fn_cxx_try_compile "$LINENO"; then :
54092 glibcxx_cv_func__isnanf_use=yes
54093 else
54094 glibcxx_cv_func__isnanf_use=no
54095 fi
54096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54097 ac_ext=c
54098 ac_cpp='$CPP $CPPFLAGS'
54099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54102
54103
54104 fi
54105
54106 fi
54107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54108 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54109
54110 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54111 for ac_func in _isnanf
54112 do :
54113 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54114 if test "x$ac_cv_func__isnanf" = x""yes; then :
54115 cat >>confdefs.h <<_ACEOF
54116 #define HAVE__ISNANF 1
54117 _ACEOF
54118
54119 fi
54120 done
54121
54122 fi
54123 fi
54124
54125
54126
54127
54128
54129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54130 $as_echo_n "checking for isinff declaration... " >&6; }
54131 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54132 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54133 $as_echo_n "(cached) " >&6
54134 else
54135
54136
54137 ac_ext=cpp
54138 ac_cpp='$CXXCPP $CPPFLAGS'
54139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54142
54143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54144 /* end confdefs.h. */
54145 #include <math.h>
54146 #ifdef HAVE_IEEEFP_H
54147 #include <ieeefp.h>
54148 #endif
54149
54150 int
54151 main ()
54152 {
54153 isinff(0);
54154 ;
54155 return 0;
54156 }
54157 _ACEOF
54158 if ac_fn_cxx_try_compile "$LINENO"; then :
54159 glibcxx_cv_func_isinff_use=yes
54160 else
54161 glibcxx_cv_func_isinff_use=no
54162 fi
54163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54164 ac_ext=c
54165 ac_cpp='$CPP $CPPFLAGS'
54166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54169
54170
54171 fi
54172
54173 fi
54174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54175 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54176
54177 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54178 for ac_func in isinff
54179 do :
54180 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54181 if test "x$ac_cv_func_isinff" = x""yes; then :
54182 cat >>confdefs.h <<_ACEOF
54183 #define HAVE_ISINFF 1
54184 _ACEOF
54185
54186 fi
54187 done
54188
54189 else
54190
54191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54192 $as_echo_n "checking for _isinff declaration... " >&6; }
54193 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54194 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54195 $as_echo_n "(cached) " >&6
54196 else
54197
54198
54199 ac_ext=cpp
54200 ac_cpp='$CXXCPP $CPPFLAGS'
54201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54204
54205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54206 /* end confdefs.h. */
54207 #include <math.h>
54208 #ifdef HAVE_IEEEFP_H
54209 #include <ieeefp.h>
54210 #endif
54211
54212 int
54213 main ()
54214 {
54215 _isinff(0);
54216 ;
54217 return 0;
54218 }
54219 _ACEOF
54220 if ac_fn_cxx_try_compile "$LINENO"; then :
54221 glibcxx_cv_func__isinff_use=yes
54222 else
54223 glibcxx_cv_func__isinff_use=no
54224 fi
54225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54226 ac_ext=c
54227 ac_cpp='$CPP $CPPFLAGS'
54228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54231
54232
54233 fi
54234
54235 fi
54236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54237 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54238
54239 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54240 for ac_func in _isinff
54241 do :
54242 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54243 if test "x$ac_cv_func__isinff" = x""yes; then :
54244 cat >>confdefs.h <<_ACEOF
54245 #define HAVE__ISINFF 1
54246 _ACEOF
54247
54248 fi
54249 done
54250
54251 fi
54252 fi
54253
54254
54255
54256
54257
54258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54259 $as_echo_n "checking for atan2f declaration... " >&6; }
54260 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54261 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54262 $as_echo_n "(cached) " >&6
54263 else
54264
54265
54266 ac_ext=cpp
54267 ac_cpp='$CXXCPP $CPPFLAGS'
54268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54271
54272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54273 /* end confdefs.h. */
54274 #include <math.h>
54275 int
54276 main ()
54277 {
54278 atan2f(0, 0);
54279 ;
54280 return 0;
54281 }
54282 _ACEOF
54283 if ac_fn_cxx_try_compile "$LINENO"; then :
54284 glibcxx_cv_func_atan2f_use=yes
54285 else
54286 glibcxx_cv_func_atan2f_use=no
54287 fi
54288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54289 ac_ext=c
54290 ac_cpp='$CPP $CPPFLAGS'
54291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54294
54295
54296 fi
54297
54298 fi
54299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54300 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54301
54302 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54303 for ac_func in atan2f
54304 do :
54305 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54306 if test "x$ac_cv_func_atan2f" = x""yes; then :
54307 cat >>confdefs.h <<_ACEOF
54308 #define HAVE_ATAN2F 1
54309 _ACEOF
54310
54311 fi
54312 done
54313
54314 else
54315
54316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54317 $as_echo_n "checking for _atan2f declaration... " >&6; }
54318 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54319 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54320 $as_echo_n "(cached) " >&6
54321 else
54322
54323
54324 ac_ext=cpp
54325 ac_cpp='$CXXCPP $CPPFLAGS'
54326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54329
54330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54331 /* end confdefs.h. */
54332 #include <math.h>
54333 int
54334 main ()
54335 {
54336 _atan2f(0, 0);
54337 ;
54338 return 0;
54339 }
54340 _ACEOF
54341 if ac_fn_cxx_try_compile "$LINENO"; then :
54342 glibcxx_cv_func__atan2f_use=yes
54343 else
54344 glibcxx_cv_func__atan2f_use=no
54345 fi
54346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54347 ac_ext=c
54348 ac_cpp='$CPP $CPPFLAGS'
54349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54352
54353
54354 fi
54355
54356 fi
54357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54358 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54359
54360 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54361 for ac_func in _atan2f
54362 do :
54363 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54364 if test "x$ac_cv_func__atan2f" = x""yes; then :
54365 cat >>confdefs.h <<_ACEOF
54366 #define HAVE__ATAN2F 1
54367 _ACEOF
54368
54369 fi
54370 done
54371
54372 fi
54373 fi
54374
54375
54376
54377
54378
54379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54380 $as_echo_n "checking for fabsf declaration... " >&6; }
54381 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54382 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54383 $as_echo_n "(cached) " >&6
54384 else
54385
54386
54387 ac_ext=cpp
54388 ac_cpp='$CXXCPP $CPPFLAGS'
54389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54392
54393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54394 /* end confdefs.h. */
54395 #include <math.h>
54396 #ifdef HAVE_IEEEFP_H
54397 #include <ieeefp.h>
54398 #endif
54399
54400 int
54401 main ()
54402 {
54403 fabsf(0);
54404 ;
54405 return 0;
54406 }
54407 _ACEOF
54408 if ac_fn_cxx_try_compile "$LINENO"; then :
54409 glibcxx_cv_func_fabsf_use=yes
54410 else
54411 glibcxx_cv_func_fabsf_use=no
54412 fi
54413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54414 ac_ext=c
54415 ac_cpp='$CPP $CPPFLAGS'
54416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54419
54420
54421 fi
54422
54423 fi
54424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54425 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54426
54427 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54428 for ac_func in fabsf
54429 do :
54430 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54431 if test "x$ac_cv_func_fabsf" = x""yes; then :
54432 cat >>confdefs.h <<_ACEOF
54433 #define HAVE_FABSF 1
54434 _ACEOF
54435
54436 fi
54437 done
54438
54439 else
54440
54441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54442 $as_echo_n "checking for _fabsf declaration... " >&6; }
54443 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54444 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54445 $as_echo_n "(cached) " >&6
54446 else
54447
54448
54449 ac_ext=cpp
54450 ac_cpp='$CXXCPP $CPPFLAGS'
54451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54454
54455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54456 /* end confdefs.h. */
54457 #include <math.h>
54458 #ifdef HAVE_IEEEFP_H
54459 #include <ieeefp.h>
54460 #endif
54461
54462 int
54463 main ()
54464 {
54465 _fabsf(0);
54466 ;
54467 return 0;
54468 }
54469 _ACEOF
54470 if ac_fn_cxx_try_compile "$LINENO"; then :
54471 glibcxx_cv_func__fabsf_use=yes
54472 else
54473 glibcxx_cv_func__fabsf_use=no
54474 fi
54475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54476 ac_ext=c
54477 ac_cpp='$CPP $CPPFLAGS'
54478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54481
54482
54483 fi
54484
54485 fi
54486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54487 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54488
54489 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54490 for ac_func in _fabsf
54491 do :
54492 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54493 if test "x$ac_cv_func__fabsf" = x""yes; then :
54494 cat >>confdefs.h <<_ACEOF
54495 #define HAVE__FABSF 1
54496 _ACEOF
54497
54498 fi
54499 done
54500
54501 fi
54502 fi
54503
54504
54505
54506
54507
54508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54509 $as_echo_n "checking for fmodf declaration... " >&6; }
54510 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54511 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54512 $as_echo_n "(cached) " >&6
54513 else
54514
54515
54516 ac_ext=cpp
54517 ac_cpp='$CXXCPP $CPPFLAGS'
54518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54521
54522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54523 /* end confdefs.h. */
54524 #include <math.h>
54525 int
54526 main ()
54527 {
54528 fmodf(0, 0);
54529 ;
54530 return 0;
54531 }
54532 _ACEOF
54533 if ac_fn_cxx_try_compile "$LINENO"; then :
54534 glibcxx_cv_func_fmodf_use=yes
54535 else
54536 glibcxx_cv_func_fmodf_use=no
54537 fi
54538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54539 ac_ext=c
54540 ac_cpp='$CPP $CPPFLAGS'
54541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54544
54545
54546 fi
54547
54548 fi
54549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54550 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54551
54552 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54553 for ac_func in fmodf
54554 do :
54555 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54556 if test "x$ac_cv_func_fmodf" = x""yes; then :
54557 cat >>confdefs.h <<_ACEOF
54558 #define HAVE_FMODF 1
54559 _ACEOF
54560
54561 fi
54562 done
54563
54564 else
54565
54566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54567 $as_echo_n "checking for _fmodf declaration... " >&6; }
54568 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54569 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54570 $as_echo_n "(cached) " >&6
54571 else
54572
54573
54574 ac_ext=cpp
54575 ac_cpp='$CXXCPP $CPPFLAGS'
54576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54579
54580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54581 /* end confdefs.h. */
54582 #include <math.h>
54583 int
54584 main ()
54585 {
54586 _fmodf(0, 0);
54587 ;
54588 return 0;
54589 }
54590 _ACEOF
54591 if ac_fn_cxx_try_compile "$LINENO"; then :
54592 glibcxx_cv_func__fmodf_use=yes
54593 else
54594 glibcxx_cv_func__fmodf_use=no
54595 fi
54596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54597 ac_ext=c
54598 ac_cpp='$CPP $CPPFLAGS'
54599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54602
54603
54604 fi
54605
54606 fi
54607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54608 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54609
54610 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54611 for ac_func in _fmodf
54612 do :
54613 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54614 if test "x$ac_cv_func__fmodf" = x""yes; then :
54615 cat >>confdefs.h <<_ACEOF
54616 #define HAVE__FMODF 1
54617 _ACEOF
54618
54619 fi
54620 done
54621
54622 fi
54623 fi
54624
54625
54626
54627
54628
54629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54630 $as_echo_n "checking for frexpf declaration... " >&6; }
54631 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54632 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54633 $as_echo_n "(cached) " >&6
54634 else
54635
54636
54637 ac_ext=cpp
54638 ac_cpp='$CXXCPP $CPPFLAGS'
54639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54642
54643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54644 /* end confdefs.h. */
54645 #include <math.h>
54646 int
54647 main ()
54648 {
54649 frexpf(0, 0);
54650 ;
54651 return 0;
54652 }
54653 _ACEOF
54654 if ac_fn_cxx_try_compile "$LINENO"; then :
54655 glibcxx_cv_func_frexpf_use=yes
54656 else
54657 glibcxx_cv_func_frexpf_use=no
54658 fi
54659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54660 ac_ext=c
54661 ac_cpp='$CPP $CPPFLAGS'
54662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54665
54666
54667 fi
54668
54669 fi
54670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54671 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54672
54673 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54674 for ac_func in frexpf
54675 do :
54676 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54677 if test "x$ac_cv_func_frexpf" = x""yes; then :
54678 cat >>confdefs.h <<_ACEOF
54679 #define HAVE_FREXPF 1
54680 _ACEOF
54681
54682 fi
54683 done
54684
54685 else
54686
54687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54688 $as_echo_n "checking for _frexpf declaration... " >&6; }
54689 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54690 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54691 $as_echo_n "(cached) " >&6
54692 else
54693
54694
54695 ac_ext=cpp
54696 ac_cpp='$CXXCPP $CPPFLAGS'
54697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54700
54701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54702 /* end confdefs.h. */
54703 #include <math.h>
54704 int
54705 main ()
54706 {
54707 _frexpf(0, 0);
54708 ;
54709 return 0;
54710 }
54711 _ACEOF
54712 if ac_fn_cxx_try_compile "$LINENO"; then :
54713 glibcxx_cv_func__frexpf_use=yes
54714 else
54715 glibcxx_cv_func__frexpf_use=no
54716 fi
54717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54718 ac_ext=c
54719 ac_cpp='$CPP $CPPFLAGS'
54720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54723
54724
54725 fi
54726
54727 fi
54728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54729 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54730
54731 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54732 for ac_func in _frexpf
54733 do :
54734 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54735 if test "x$ac_cv_func__frexpf" = x""yes; then :
54736 cat >>confdefs.h <<_ACEOF
54737 #define HAVE__FREXPF 1
54738 _ACEOF
54739
54740 fi
54741 done
54742
54743 fi
54744 fi
54745
54746
54747
54748
54749
54750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54751 $as_echo_n "checking for hypotf declaration... " >&6; }
54752 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54753 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54754 $as_echo_n "(cached) " >&6
54755 else
54756
54757
54758 ac_ext=cpp
54759 ac_cpp='$CXXCPP $CPPFLAGS'
54760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54763
54764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54765 /* end confdefs.h. */
54766 #include <math.h>
54767 int
54768 main ()
54769 {
54770 hypotf(0, 0);
54771 ;
54772 return 0;
54773 }
54774 _ACEOF
54775 if ac_fn_cxx_try_compile "$LINENO"; then :
54776 glibcxx_cv_func_hypotf_use=yes
54777 else
54778 glibcxx_cv_func_hypotf_use=no
54779 fi
54780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54781 ac_ext=c
54782 ac_cpp='$CPP $CPPFLAGS'
54783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54786
54787
54788 fi
54789
54790 fi
54791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54792 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54793
54794 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54795 for ac_func in hypotf
54796 do :
54797 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54798 if test "x$ac_cv_func_hypotf" = x""yes; then :
54799 cat >>confdefs.h <<_ACEOF
54800 #define HAVE_HYPOTF 1
54801 _ACEOF
54802
54803 fi
54804 done
54805
54806 else
54807
54808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54809 $as_echo_n "checking for _hypotf declaration... " >&6; }
54810 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54811 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54812 $as_echo_n "(cached) " >&6
54813 else
54814
54815
54816 ac_ext=cpp
54817 ac_cpp='$CXXCPP $CPPFLAGS'
54818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54821
54822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54823 /* end confdefs.h. */
54824 #include <math.h>
54825 int
54826 main ()
54827 {
54828 _hypotf(0, 0);
54829 ;
54830 return 0;
54831 }
54832 _ACEOF
54833 if ac_fn_cxx_try_compile "$LINENO"; then :
54834 glibcxx_cv_func__hypotf_use=yes
54835 else
54836 glibcxx_cv_func__hypotf_use=no
54837 fi
54838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54839 ac_ext=c
54840 ac_cpp='$CPP $CPPFLAGS'
54841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54844
54845
54846 fi
54847
54848 fi
54849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54850 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54851
54852 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54853 for ac_func in _hypotf
54854 do :
54855 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54856 if test "x$ac_cv_func__hypotf" = x""yes; then :
54857 cat >>confdefs.h <<_ACEOF
54858 #define HAVE__HYPOTF 1
54859 _ACEOF
54860
54861 fi
54862 done
54863
54864 fi
54865 fi
54866
54867
54868
54869
54870
54871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54872 $as_echo_n "checking for ldexpf declaration... " >&6; }
54873 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54874 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54875 $as_echo_n "(cached) " >&6
54876 else
54877
54878
54879 ac_ext=cpp
54880 ac_cpp='$CXXCPP $CPPFLAGS'
54881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54884
54885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54886 /* end confdefs.h. */
54887 #include <math.h>
54888 int
54889 main ()
54890 {
54891 ldexpf(0, 0);
54892 ;
54893 return 0;
54894 }
54895 _ACEOF
54896 if ac_fn_cxx_try_compile "$LINENO"; then :
54897 glibcxx_cv_func_ldexpf_use=yes
54898 else
54899 glibcxx_cv_func_ldexpf_use=no
54900 fi
54901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54902 ac_ext=c
54903 ac_cpp='$CPP $CPPFLAGS'
54904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54907
54908
54909 fi
54910
54911 fi
54912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54913 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54914
54915 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54916 for ac_func in ldexpf
54917 do :
54918 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54919 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54920 cat >>confdefs.h <<_ACEOF
54921 #define HAVE_LDEXPF 1
54922 _ACEOF
54923
54924 fi
54925 done
54926
54927 else
54928
54929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54930 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54931 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54932 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54933 $as_echo_n "(cached) " >&6
54934 else
54935
54936
54937 ac_ext=cpp
54938 ac_cpp='$CXXCPP $CPPFLAGS'
54939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54942
54943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54944 /* end confdefs.h. */
54945 #include <math.h>
54946 int
54947 main ()
54948 {
54949 _ldexpf(0, 0);
54950 ;
54951 return 0;
54952 }
54953 _ACEOF
54954 if ac_fn_cxx_try_compile "$LINENO"; then :
54955 glibcxx_cv_func__ldexpf_use=yes
54956 else
54957 glibcxx_cv_func__ldexpf_use=no
54958 fi
54959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54960 ac_ext=c
54961 ac_cpp='$CPP $CPPFLAGS'
54962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54965
54966
54967 fi
54968
54969 fi
54970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54971 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54972
54973 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54974 for ac_func in _ldexpf
54975 do :
54976 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54977 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54978 cat >>confdefs.h <<_ACEOF
54979 #define HAVE__LDEXPF 1
54980 _ACEOF
54981
54982 fi
54983 done
54984
54985 fi
54986 fi
54987
54988
54989
54990
54991
54992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54993 $as_echo_n "checking for logf declaration... " >&6; }
54994 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54995 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54996 $as_echo_n "(cached) " >&6
54997 else
54998
54999
55000 ac_ext=cpp
55001 ac_cpp='$CXXCPP $CPPFLAGS'
55002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55005
55006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55007 /* end confdefs.h. */
55008 #include <math.h>
55009 #ifdef HAVE_IEEEFP_H
55010 #include <ieeefp.h>
55011 #endif
55012
55013 int
55014 main ()
55015 {
55016 logf(0);
55017 ;
55018 return 0;
55019 }
55020 _ACEOF
55021 if ac_fn_cxx_try_compile "$LINENO"; then :
55022 glibcxx_cv_func_logf_use=yes
55023 else
55024 glibcxx_cv_func_logf_use=no
55025 fi
55026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55027 ac_ext=c
55028 ac_cpp='$CPP $CPPFLAGS'
55029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55032
55033
55034 fi
55035
55036 fi
55037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55038 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55039
55040 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55041 for ac_func in logf
55042 do :
55043 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55044 if test "x$ac_cv_func_logf" = x""yes; then :
55045 cat >>confdefs.h <<_ACEOF
55046 #define HAVE_LOGF 1
55047 _ACEOF
55048
55049 fi
55050 done
55051
55052 else
55053
55054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55055 $as_echo_n "checking for _logf declaration... " >&6; }
55056 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55057 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55058 $as_echo_n "(cached) " >&6
55059 else
55060
55061
55062 ac_ext=cpp
55063 ac_cpp='$CXXCPP $CPPFLAGS'
55064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55067
55068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55069 /* end confdefs.h. */
55070 #include <math.h>
55071 #ifdef HAVE_IEEEFP_H
55072 #include <ieeefp.h>
55073 #endif
55074
55075 int
55076 main ()
55077 {
55078 _logf(0);
55079 ;
55080 return 0;
55081 }
55082 _ACEOF
55083 if ac_fn_cxx_try_compile "$LINENO"; then :
55084 glibcxx_cv_func__logf_use=yes
55085 else
55086 glibcxx_cv_func__logf_use=no
55087 fi
55088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55089 ac_ext=c
55090 ac_cpp='$CPP $CPPFLAGS'
55091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55094
55095
55096 fi
55097
55098 fi
55099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55100 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55101
55102 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55103 for ac_func in _logf
55104 do :
55105 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55106 if test "x$ac_cv_func__logf" = x""yes; then :
55107 cat >>confdefs.h <<_ACEOF
55108 #define HAVE__LOGF 1
55109 _ACEOF
55110
55111 fi
55112 done
55113
55114 fi
55115 fi
55116
55117
55118
55119
55120
55121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55122 $as_echo_n "checking for log10f declaration... " >&6; }
55123 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55124 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55125 $as_echo_n "(cached) " >&6
55126 else
55127
55128
55129 ac_ext=cpp
55130 ac_cpp='$CXXCPP $CPPFLAGS'
55131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55134
55135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55136 /* end confdefs.h. */
55137 #include <math.h>
55138 #ifdef HAVE_IEEEFP_H
55139 #include <ieeefp.h>
55140 #endif
55141
55142 int
55143 main ()
55144 {
55145 log10f(0);
55146 ;
55147 return 0;
55148 }
55149 _ACEOF
55150 if ac_fn_cxx_try_compile "$LINENO"; then :
55151 glibcxx_cv_func_log10f_use=yes
55152 else
55153 glibcxx_cv_func_log10f_use=no
55154 fi
55155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55156 ac_ext=c
55157 ac_cpp='$CPP $CPPFLAGS'
55158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55161
55162
55163 fi
55164
55165 fi
55166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55167 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55168
55169 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55170 for ac_func in log10f
55171 do :
55172 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55173 if test "x$ac_cv_func_log10f" = x""yes; then :
55174 cat >>confdefs.h <<_ACEOF
55175 #define HAVE_LOG10F 1
55176 _ACEOF
55177
55178 fi
55179 done
55180
55181 else
55182
55183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55184 $as_echo_n "checking for _log10f declaration... " >&6; }
55185 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55186 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55187 $as_echo_n "(cached) " >&6
55188 else
55189
55190
55191 ac_ext=cpp
55192 ac_cpp='$CXXCPP $CPPFLAGS'
55193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55196
55197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55198 /* end confdefs.h. */
55199 #include <math.h>
55200 #ifdef HAVE_IEEEFP_H
55201 #include <ieeefp.h>
55202 #endif
55203
55204 int
55205 main ()
55206 {
55207 _log10f(0);
55208 ;
55209 return 0;
55210 }
55211 _ACEOF
55212 if ac_fn_cxx_try_compile "$LINENO"; then :
55213 glibcxx_cv_func__log10f_use=yes
55214 else
55215 glibcxx_cv_func__log10f_use=no
55216 fi
55217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55218 ac_ext=c
55219 ac_cpp='$CPP $CPPFLAGS'
55220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55223
55224
55225 fi
55226
55227 fi
55228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55229 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55230
55231 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55232 for ac_func in _log10f
55233 do :
55234 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55235 if test "x$ac_cv_func__log10f" = x""yes; then :
55236 cat >>confdefs.h <<_ACEOF
55237 #define HAVE__LOG10F 1
55238 _ACEOF
55239
55240 fi
55241 done
55242
55243 fi
55244 fi
55245
55246
55247
55248
55249
55250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55251 $as_echo_n "checking for modff declaration... " >&6; }
55252 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55253 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55254 $as_echo_n "(cached) " >&6
55255 else
55256
55257
55258 ac_ext=cpp
55259 ac_cpp='$CXXCPP $CPPFLAGS'
55260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55263
55264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55265 /* end confdefs.h. */
55266 #include <math.h>
55267 int
55268 main ()
55269 {
55270 modff(0, 0);
55271 ;
55272 return 0;
55273 }
55274 _ACEOF
55275 if ac_fn_cxx_try_compile "$LINENO"; then :
55276 glibcxx_cv_func_modff_use=yes
55277 else
55278 glibcxx_cv_func_modff_use=no
55279 fi
55280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55281 ac_ext=c
55282 ac_cpp='$CPP $CPPFLAGS'
55283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55286
55287
55288 fi
55289
55290 fi
55291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55292 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55293
55294 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55295 for ac_func in modff
55296 do :
55297 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55298 if test "x$ac_cv_func_modff" = x""yes; then :
55299 cat >>confdefs.h <<_ACEOF
55300 #define HAVE_MODFF 1
55301 _ACEOF
55302
55303 fi
55304 done
55305
55306 else
55307
55308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55309 $as_echo_n "checking for _modff declaration... " >&6; }
55310 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55311 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55312 $as_echo_n "(cached) " >&6
55313 else
55314
55315
55316 ac_ext=cpp
55317 ac_cpp='$CXXCPP $CPPFLAGS'
55318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55321
55322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55323 /* end confdefs.h. */
55324 #include <math.h>
55325 int
55326 main ()
55327 {
55328 _modff(0, 0);
55329 ;
55330 return 0;
55331 }
55332 _ACEOF
55333 if ac_fn_cxx_try_compile "$LINENO"; then :
55334 glibcxx_cv_func__modff_use=yes
55335 else
55336 glibcxx_cv_func__modff_use=no
55337 fi
55338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55339 ac_ext=c
55340 ac_cpp='$CPP $CPPFLAGS'
55341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55344
55345
55346 fi
55347
55348 fi
55349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55350 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55351
55352 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55353 for ac_func in _modff
55354 do :
55355 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55356 if test "x$ac_cv_func__modff" = x""yes; then :
55357 cat >>confdefs.h <<_ACEOF
55358 #define HAVE__MODFF 1
55359 _ACEOF
55360
55361 fi
55362 done
55363
55364 fi
55365 fi
55366
55367
55368
55369
55370
55371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55372 $as_echo_n "checking for modf declaration... " >&6; }
55373 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55374 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55375 $as_echo_n "(cached) " >&6
55376 else
55377
55378
55379 ac_ext=cpp
55380 ac_cpp='$CXXCPP $CPPFLAGS'
55381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55384
55385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55386 /* end confdefs.h. */
55387 #include <math.h>
55388 int
55389 main ()
55390 {
55391 modf(0, 0);
55392 ;
55393 return 0;
55394 }
55395 _ACEOF
55396 if ac_fn_cxx_try_compile "$LINENO"; then :
55397 glibcxx_cv_func_modf_use=yes
55398 else
55399 glibcxx_cv_func_modf_use=no
55400 fi
55401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55402 ac_ext=c
55403 ac_cpp='$CPP $CPPFLAGS'
55404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55407
55408
55409 fi
55410
55411 fi
55412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55413 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55414
55415 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55416 for ac_func in modf
55417 do :
55418 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55419 if test "x$ac_cv_func_modf" = x""yes; then :
55420 cat >>confdefs.h <<_ACEOF
55421 #define HAVE_MODF 1
55422 _ACEOF
55423
55424 fi
55425 done
55426
55427 else
55428
55429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55430 $as_echo_n "checking for _modf declaration... " >&6; }
55431 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55432 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55433 $as_echo_n "(cached) " >&6
55434 else
55435
55436
55437 ac_ext=cpp
55438 ac_cpp='$CXXCPP $CPPFLAGS'
55439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55442
55443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55444 /* end confdefs.h. */
55445 #include <math.h>
55446 int
55447 main ()
55448 {
55449 _modf(0, 0);
55450 ;
55451 return 0;
55452 }
55453 _ACEOF
55454 if ac_fn_cxx_try_compile "$LINENO"; then :
55455 glibcxx_cv_func__modf_use=yes
55456 else
55457 glibcxx_cv_func__modf_use=no
55458 fi
55459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55460 ac_ext=c
55461 ac_cpp='$CPP $CPPFLAGS'
55462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55465
55466
55467 fi
55468
55469 fi
55470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55471 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55472
55473 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55474 for ac_func in _modf
55475 do :
55476 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55477 if test "x$ac_cv_func__modf" = x""yes; then :
55478 cat >>confdefs.h <<_ACEOF
55479 #define HAVE__MODF 1
55480 _ACEOF
55481
55482 fi
55483 done
55484
55485 fi
55486 fi
55487
55488
55489
55490
55491
55492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55493 $as_echo_n "checking for powf declaration... " >&6; }
55494 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55495 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55496 $as_echo_n "(cached) " >&6
55497 else
55498
55499
55500 ac_ext=cpp
55501 ac_cpp='$CXXCPP $CPPFLAGS'
55502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55505
55506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55507 /* end confdefs.h. */
55508 #include <math.h>
55509 int
55510 main ()
55511 {
55512 powf(0, 0);
55513 ;
55514 return 0;
55515 }
55516 _ACEOF
55517 if ac_fn_cxx_try_compile "$LINENO"; then :
55518 glibcxx_cv_func_powf_use=yes
55519 else
55520 glibcxx_cv_func_powf_use=no
55521 fi
55522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55523 ac_ext=c
55524 ac_cpp='$CPP $CPPFLAGS'
55525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55528
55529
55530 fi
55531
55532 fi
55533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55534 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55535
55536 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55537 for ac_func in powf
55538 do :
55539 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55540 if test "x$ac_cv_func_powf" = x""yes; then :
55541 cat >>confdefs.h <<_ACEOF
55542 #define HAVE_POWF 1
55543 _ACEOF
55544
55545 fi
55546 done
55547
55548 else
55549
55550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55551 $as_echo_n "checking for _powf declaration... " >&6; }
55552 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55553 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55554 $as_echo_n "(cached) " >&6
55555 else
55556
55557
55558 ac_ext=cpp
55559 ac_cpp='$CXXCPP $CPPFLAGS'
55560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55563
55564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55565 /* end confdefs.h. */
55566 #include <math.h>
55567 int
55568 main ()
55569 {
55570 _powf(0, 0);
55571 ;
55572 return 0;
55573 }
55574 _ACEOF
55575 if ac_fn_cxx_try_compile "$LINENO"; then :
55576 glibcxx_cv_func__powf_use=yes
55577 else
55578 glibcxx_cv_func__powf_use=no
55579 fi
55580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55581 ac_ext=c
55582 ac_cpp='$CPP $CPPFLAGS'
55583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55586
55587
55588 fi
55589
55590 fi
55591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55592 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55593
55594 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55595 for ac_func in _powf
55596 do :
55597 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55598 if test "x$ac_cv_func__powf" = x""yes; then :
55599 cat >>confdefs.h <<_ACEOF
55600 #define HAVE__POWF 1
55601 _ACEOF
55602
55603 fi
55604 done
55605
55606 fi
55607 fi
55608
55609
55610
55611
55612
55613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55614 $as_echo_n "checking for sqrtf declaration... " >&6; }
55615 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55616 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55617 $as_echo_n "(cached) " >&6
55618 else
55619
55620
55621 ac_ext=cpp
55622 ac_cpp='$CXXCPP $CPPFLAGS'
55623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55626
55627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55628 /* end confdefs.h. */
55629 #include <math.h>
55630 #ifdef HAVE_IEEEFP_H
55631 #include <ieeefp.h>
55632 #endif
55633
55634 int
55635 main ()
55636 {
55637 sqrtf(0);
55638 ;
55639 return 0;
55640 }
55641 _ACEOF
55642 if ac_fn_cxx_try_compile "$LINENO"; then :
55643 glibcxx_cv_func_sqrtf_use=yes
55644 else
55645 glibcxx_cv_func_sqrtf_use=no
55646 fi
55647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55648 ac_ext=c
55649 ac_cpp='$CPP $CPPFLAGS'
55650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55653
55654
55655 fi
55656
55657 fi
55658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55659 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55660
55661 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55662 for ac_func in sqrtf
55663 do :
55664 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55665 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55666 cat >>confdefs.h <<_ACEOF
55667 #define HAVE_SQRTF 1
55668 _ACEOF
55669
55670 fi
55671 done
55672
55673 else
55674
55675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55676 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55677 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55678 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55679 $as_echo_n "(cached) " >&6
55680 else
55681
55682
55683 ac_ext=cpp
55684 ac_cpp='$CXXCPP $CPPFLAGS'
55685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55688
55689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55690 /* end confdefs.h. */
55691 #include <math.h>
55692 #ifdef HAVE_IEEEFP_H
55693 #include <ieeefp.h>
55694 #endif
55695
55696 int
55697 main ()
55698 {
55699 _sqrtf(0);
55700 ;
55701 return 0;
55702 }
55703 _ACEOF
55704 if ac_fn_cxx_try_compile "$LINENO"; then :
55705 glibcxx_cv_func__sqrtf_use=yes
55706 else
55707 glibcxx_cv_func__sqrtf_use=no
55708 fi
55709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55710 ac_ext=c
55711 ac_cpp='$CPP $CPPFLAGS'
55712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55715
55716
55717 fi
55718
55719 fi
55720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55721 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55722
55723 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55724 for ac_func in _sqrtf
55725 do :
55726 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55727 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55728 cat >>confdefs.h <<_ACEOF
55729 #define HAVE__SQRTF 1
55730 _ACEOF
55731
55732 fi
55733 done
55734
55735 fi
55736 fi
55737
55738
55739
55740
55741
55742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55743 $as_echo_n "checking for sincosf declaration... " >&6; }
55744 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55745 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55746 $as_echo_n "(cached) " >&6
55747 else
55748
55749
55750 ac_ext=cpp
55751 ac_cpp='$CXXCPP $CPPFLAGS'
55752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55755
55756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55757 /* end confdefs.h. */
55758 #include <math.h>
55759 int
55760 main ()
55761 {
55762 sincosf(0, 0, 0);
55763 ;
55764 return 0;
55765 }
55766 _ACEOF
55767 if ac_fn_cxx_try_compile "$LINENO"; then :
55768 glibcxx_cv_func_sincosf_use=yes
55769 else
55770 glibcxx_cv_func_sincosf_use=no
55771 fi
55772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55773 ac_ext=c
55774 ac_cpp='$CPP $CPPFLAGS'
55775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55778
55779
55780 fi
55781
55782 fi
55783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55784 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55785
55786 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55787 for ac_func in sincosf
55788 do :
55789 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55790 if test "x$ac_cv_func_sincosf" = x""yes; then :
55791 cat >>confdefs.h <<_ACEOF
55792 #define HAVE_SINCOSF 1
55793 _ACEOF
55794
55795 fi
55796 done
55797
55798 else
55799
55800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55801 $as_echo_n "checking for _sincosf declaration... " >&6; }
55802 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55803 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55804 $as_echo_n "(cached) " >&6
55805 else
55806
55807
55808 ac_ext=cpp
55809 ac_cpp='$CXXCPP $CPPFLAGS'
55810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55813
55814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55815 /* end confdefs.h. */
55816 #include <math.h>
55817 int
55818 main ()
55819 {
55820 _sincosf(0, 0, 0);
55821 ;
55822 return 0;
55823 }
55824 _ACEOF
55825 if ac_fn_cxx_try_compile "$LINENO"; then :
55826 glibcxx_cv_func__sincosf_use=yes
55827 else
55828 glibcxx_cv_func__sincosf_use=no
55829 fi
55830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55831 ac_ext=c
55832 ac_cpp='$CPP $CPPFLAGS'
55833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55836
55837
55838 fi
55839
55840 fi
55841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55842 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55843
55844 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55845 for ac_func in _sincosf
55846 do :
55847 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55848 if test "x$ac_cv_func__sincosf" = x""yes; then :
55849 cat >>confdefs.h <<_ACEOF
55850 #define HAVE__SINCOSF 1
55851 _ACEOF
55852
55853 fi
55854 done
55855
55856 fi
55857 fi
55858
55859
55860
55861
55862
55863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55864 $as_echo_n "checking for finitef declaration... " >&6; }
55865 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55866 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55867 $as_echo_n "(cached) " >&6
55868 else
55869
55870
55871 ac_ext=cpp
55872 ac_cpp='$CXXCPP $CPPFLAGS'
55873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55876
55877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55878 /* end confdefs.h. */
55879 #include <math.h>
55880 #ifdef HAVE_IEEEFP_H
55881 #include <ieeefp.h>
55882 #endif
55883
55884 int
55885 main ()
55886 {
55887 finitef(0);
55888 ;
55889 return 0;
55890 }
55891 _ACEOF
55892 if ac_fn_cxx_try_compile "$LINENO"; then :
55893 glibcxx_cv_func_finitef_use=yes
55894 else
55895 glibcxx_cv_func_finitef_use=no
55896 fi
55897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55898 ac_ext=c
55899 ac_cpp='$CPP $CPPFLAGS'
55900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55903
55904
55905 fi
55906
55907 fi
55908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55909 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55910
55911 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55912 for ac_func in finitef
55913 do :
55914 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55915 if test "x$ac_cv_func_finitef" = x""yes; then :
55916 cat >>confdefs.h <<_ACEOF
55917 #define HAVE_FINITEF 1
55918 _ACEOF
55919
55920 fi
55921 done
55922
55923 else
55924
55925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55926 $as_echo_n "checking for _finitef declaration... " >&6; }
55927 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55928 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55929 $as_echo_n "(cached) " >&6
55930 else
55931
55932
55933 ac_ext=cpp
55934 ac_cpp='$CXXCPP $CPPFLAGS'
55935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55938
55939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55940 /* end confdefs.h. */
55941 #include <math.h>
55942 #ifdef HAVE_IEEEFP_H
55943 #include <ieeefp.h>
55944 #endif
55945
55946 int
55947 main ()
55948 {
55949 _finitef(0);
55950 ;
55951 return 0;
55952 }
55953 _ACEOF
55954 if ac_fn_cxx_try_compile "$LINENO"; then :
55955 glibcxx_cv_func__finitef_use=yes
55956 else
55957 glibcxx_cv_func__finitef_use=no
55958 fi
55959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55960 ac_ext=c
55961 ac_cpp='$CPP $CPPFLAGS'
55962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55965
55966
55967 fi
55968
55969 fi
55970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55971 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55972
55973 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55974 for ac_func in _finitef
55975 do :
55976 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55977 if test "x$ac_cv_func__finitef" = x""yes; then :
55978 cat >>confdefs.h <<_ACEOF
55979 #define HAVE__FINITEF 1
55980 _ACEOF
55981
55982 fi
55983 done
55984
55985 fi
55986 fi
55987
55988
55989
55990
55991
55992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55993 $as_echo_n "checking for long double trig functions... " >&6; }
55994 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55995 $as_echo_n "(cached) " >&6
55996 else
55997
55998
55999 ac_ext=cpp
56000 ac_cpp='$CXXCPP $CPPFLAGS'
56001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56004
56005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56006 /* end confdefs.h. */
56007 #include <math.h>
56008 int
56009 main ()
56010 {
56011 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56012 ;
56013 return 0;
56014 }
56015 _ACEOF
56016 if ac_fn_cxx_try_compile "$LINENO"; then :
56017 glibcxx_cv_func_long_double_trig_use=yes
56018 else
56019 glibcxx_cv_func_long_double_trig_use=no
56020 fi
56021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56022 ac_ext=c
56023 ac_cpp='$CPP $CPPFLAGS'
56024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56027
56028 fi
56029
56030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56031 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56032 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56033 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56034 do :
56035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56037 eval as_val=\$$as_ac_var
56038 if test "x$as_val" = x""yes; then :
56039 cat >>confdefs.h <<_ACEOF
56040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56041 _ACEOF
56042
56043 fi
56044 done
56045
56046 else
56047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56048 $as_echo_n "checking for _long double trig functions... " >&6; }
56049 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56050 $as_echo_n "(cached) " >&6
56051 else
56052
56053
56054 ac_ext=cpp
56055 ac_cpp='$CXXCPP $CPPFLAGS'
56056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56059
56060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56061 /* end confdefs.h. */
56062 #include <math.h>
56063 int
56064 main ()
56065 {
56066 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56067 ;
56068 return 0;
56069 }
56070 _ACEOF
56071 if ac_fn_cxx_try_compile "$LINENO"; then :
56072 glibcxx_cv_func__long_double_trig_use=yes
56073 else
56074 glibcxx_cv_func__long_double_trig_use=no
56075 fi
56076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56077 ac_ext=c
56078 ac_cpp='$CPP $CPPFLAGS'
56079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56082
56083 fi
56084
56085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56086 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56087 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56088 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56089 do :
56090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56092 eval as_val=\$$as_ac_var
56093 if test "x$as_val" = x""yes; then :
56094 cat >>confdefs.h <<_ACEOF
56095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56096 _ACEOF
56097
56098 fi
56099 done
56100
56101 fi
56102 fi
56103
56104
56105
56106
56107
56108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56109 $as_echo_n "checking for long double round functions... " >&6; }
56110 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56111 $as_echo_n "(cached) " >&6
56112 else
56113
56114
56115 ac_ext=cpp
56116 ac_cpp='$CXXCPP $CPPFLAGS'
56117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56120
56121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56122 /* end confdefs.h. */
56123 #include <math.h>
56124 int
56125 main ()
56126 {
56127 ceill (0); floorl (0);
56128 ;
56129 return 0;
56130 }
56131 _ACEOF
56132 if ac_fn_cxx_try_compile "$LINENO"; then :
56133 glibcxx_cv_func_long_double_round_use=yes
56134 else
56135 glibcxx_cv_func_long_double_round_use=no
56136 fi
56137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56138 ac_ext=c
56139 ac_cpp='$CPP $CPPFLAGS'
56140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56143
56144 fi
56145
56146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56147 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56148 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56149 for ac_func in ceill floorl
56150 do :
56151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56153 eval as_val=\$$as_ac_var
56154 if test "x$as_val" = x""yes; then :
56155 cat >>confdefs.h <<_ACEOF
56156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56157 _ACEOF
56158
56159 fi
56160 done
56161
56162 else
56163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56164 $as_echo_n "checking for _long double round functions... " >&6; }
56165 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56166 $as_echo_n "(cached) " >&6
56167 else
56168
56169
56170 ac_ext=cpp
56171 ac_cpp='$CXXCPP $CPPFLAGS'
56172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56175
56176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56177 /* end confdefs.h. */
56178 #include <math.h>
56179 int
56180 main ()
56181 {
56182 _ceill (0); _floorl (0);
56183 ;
56184 return 0;
56185 }
56186 _ACEOF
56187 if ac_fn_cxx_try_compile "$LINENO"; then :
56188 glibcxx_cv_func__long_double_round_use=yes
56189 else
56190 glibcxx_cv_func__long_double_round_use=no
56191 fi
56192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56193 ac_ext=c
56194 ac_cpp='$CPP $CPPFLAGS'
56195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56198
56199 fi
56200
56201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56202 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56203 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56204 for ac_func in _ceill _floorl
56205 do :
56206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56208 eval as_val=\$$as_ac_var
56209 if test "x$as_val" = x""yes; then :
56210 cat >>confdefs.h <<_ACEOF
56211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56212 _ACEOF
56213
56214 fi
56215 done
56216
56217 fi
56218 fi
56219
56220
56221
56222
56223
56224
56225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56226 $as_echo_n "checking for isnanl declaration... " >&6; }
56227 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56228 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56229 $as_echo_n "(cached) " >&6
56230 else
56231
56232
56233 ac_ext=cpp
56234 ac_cpp='$CXXCPP $CPPFLAGS'
56235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56238
56239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56240 /* end confdefs.h. */
56241 #include <math.h>
56242 #ifdef HAVE_IEEEFP_H
56243 #include <ieeefp.h>
56244 #endif
56245
56246 int
56247 main ()
56248 {
56249 isnanl(0);
56250 ;
56251 return 0;
56252 }
56253 _ACEOF
56254 if ac_fn_cxx_try_compile "$LINENO"; then :
56255 glibcxx_cv_func_isnanl_use=yes
56256 else
56257 glibcxx_cv_func_isnanl_use=no
56258 fi
56259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56260 ac_ext=c
56261 ac_cpp='$CPP $CPPFLAGS'
56262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56265
56266
56267 fi
56268
56269 fi
56270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56271 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56272
56273 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56274 for ac_func in isnanl
56275 do :
56276 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56277 if test "x$ac_cv_func_isnanl" = x""yes; then :
56278 cat >>confdefs.h <<_ACEOF
56279 #define HAVE_ISNANL 1
56280 _ACEOF
56281
56282 fi
56283 done
56284
56285 else
56286
56287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56288 $as_echo_n "checking for _isnanl declaration... " >&6; }
56289 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56290 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56291 $as_echo_n "(cached) " >&6
56292 else
56293
56294
56295 ac_ext=cpp
56296 ac_cpp='$CXXCPP $CPPFLAGS'
56297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56300
56301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56302 /* end confdefs.h. */
56303 #include <math.h>
56304 #ifdef HAVE_IEEEFP_H
56305 #include <ieeefp.h>
56306 #endif
56307
56308 int
56309 main ()
56310 {
56311 _isnanl(0);
56312 ;
56313 return 0;
56314 }
56315 _ACEOF
56316 if ac_fn_cxx_try_compile "$LINENO"; then :
56317 glibcxx_cv_func__isnanl_use=yes
56318 else
56319 glibcxx_cv_func__isnanl_use=no
56320 fi
56321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56322 ac_ext=c
56323 ac_cpp='$CPP $CPPFLAGS'
56324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56327
56328
56329 fi
56330
56331 fi
56332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56333 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56334
56335 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56336 for ac_func in _isnanl
56337 do :
56338 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56339 if test "x$ac_cv_func__isnanl" = x""yes; then :
56340 cat >>confdefs.h <<_ACEOF
56341 #define HAVE__ISNANL 1
56342 _ACEOF
56343
56344 fi
56345 done
56346
56347 fi
56348 fi
56349
56350
56351
56352
56353
56354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56355 $as_echo_n "checking for isinfl declaration... " >&6; }
56356 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56357 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56358 $as_echo_n "(cached) " >&6
56359 else
56360
56361
56362 ac_ext=cpp
56363 ac_cpp='$CXXCPP $CPPFLAGS'
56364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56367
56368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56369 /* end confdefs.h. */
56370 #include <math.h>
56371 #ifdef HAVE_IEEEFP_H
56372 #include <ieeefp.h>
56373 #endif
56374
56375 int
56376 main ()
56377 {
56378 isinfl(0);
56379 ;
56380 return 0;
56381 }
56382 _ACEOF
56383 if ac_fn_cxx_try_compile "$LINENO"; then :
56384 glibcxx_cv_func_isinfl_use=yes
56385 else
56386 glibcxx_cv_func_isinfl_use=no
56387 fi
56388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56389 ac_ext=c
56390 ac_cpp='$CPP $CPPFLAGS'
56391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56394
56395
56396 fi
56397
56398 fi
56399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56400 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56401
56402 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56403 for ac_func in isinfl
56404 do :
56405 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56406 if test "x$ac_cv_func_isinfl" = x""yes; then :
56407 cat >>confdefs.h <<_ACEOF
56408 #define HAVE_ISINFL 1
56409 _ACEOF
56410
56411 fi
56412 done
56413
56414 else
56415
56416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56417 $as_echo_n "checking for _isinfl declaration... " >&6; }
56418 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56419 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56420 $as_echo_n "(cached) " >&6
56421 else
56422
56423
56424 ac_ext=cpp
56425 ac_cpp='$CXXCPP $CPPFLAGS'
56426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56429
56430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56431 /* end confdefs.h. */
56432 #include <math.h>
56433 #ifdef HAVE_IEEEFP_H
56434 #include <ieeefp.h>
56435 #endif
56436
56437 int
56438 main ()
56439 {
56440 _isinfl(0);
56441 ;
56442 return 0;
56443 }
56444 _ACEOF
56445 if ac_fn_cxx_try_compile "$LINENO"; then :
56446 glibcxx_cv_func__isinfl_use=yes
56447 else
56448 glibcxx_cv_func__isinfl_use=no
56449 fi
56450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56451 ac_ext=c
56452 ac_cpp='$CPP $CPPFLAGS'
56453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56456
56457
56458 fi
56459
56460 fi
56461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56462 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56463
56464 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56465 for ac_func in _isinfl
56466 do :
56467 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56468 if test "x$ac_cv_func__isinfl" = x""yes; then :
56469 cat >>confdefs.h <<_ACEOF
56470 #define HAVE__ISINFL 1
56471 _ACEOF
56472
56473 fi
56474 done
56475
56476 fi
56477 fi
56478
56479
56480
56481
56482
56483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56484 $as_echo_n "checking for atan2l declaration... " >&6; }
56485 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56486 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56487 $as_echo_n "(cached) " >&6
56488 else
56489
56490
56491 ac_ext=cpp
56492 ac_cpp='$CXXCPP $CPPFLAGS'
56493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56496
56497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56498 /* end confdefs.h. */
56499 #include <math.h>
56500 int
56501 main ()
56502 {
56503 atan2l(0, 0);
56504 ;
56505 return 0;
56506 }
56507 _ACEOF
56508 if ac_fn_cxx_try_compile "$LINENO"; then :
56509 glibcxx_cv_func_atan2l_use=yes
56510 else
56511 glibcxx_cv_func_atan2l_use=no
56512 fi
56513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56514 ac_ext=c
56515 ac_cpp='$CPP $CPPFLAGS'
56516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56519
56520
56521 fi
56522
56523 fi
56524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56525 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56526
56527 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56528 for ac_func in atan2l
56529 do :
56530 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56531 if test "x$ac_cv_func_atan2l" = x""yes; then :
56532 cat >>confdefs.h <<_ACEOF
56533 #define HAVE_ATAN2L 1
56534 _ACEOF
56535
56536 fi
56537 done
56538
56539 else
56540
56541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56542 $as_echo_n "checking for _atan2l declaration... " >&6; }
56543 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56544 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56545 $as_echo_n "(cached) " >&6
56546 else
56547
56548
56549 ac_ext=cpp
56550 ac_cpp='$CXXCPP $CPPFLAGS'
56551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56554
56555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56556 /* end confdefs.h. */
56557 #include <math.h>
56558 int
56559 main ()
56560 {
56561 _atan2l(0, 0);
56562 ;
56563 return 0;
56564 }
56565 _ACEOF
56566 if ac_fn_cxx_try_compile "$LINENO"; then :
56567 glibcxx_cv_func__atan2l_use=yes
56568 else
56569 glibcxx_cv_func__atan2l_use=no
56570 fi
56571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56572 ac_ext=c
56573 ac_cpp='$CPP $CPPFLAGS'
56574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56577
56578
56579 fi
56580
56581 fi
56582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56583 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56584
56585 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56586 for ac_func in _atan2l
56587 do :
56588 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56589 if test "x$ac_cv_func__atan2l" = x""yes; then :
56590 cat >>confdefs.h <<_ACEOF
56591 #define HAVE__ATAN2L 1
56592 _ACEOF
56593
56594 fi
56595 done
56596
56597 fi
56598 fi
56599
56600
56601
56602
56603
56604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56605 $as_echo_n "checking for expl declaration... " >&6; }
56606 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56607 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56608 $as_echo_n "(cached) " >&6
56609 else
56610
56611
56612 ac_ext=cpp
56613 ac_cpp='$CXXCPP $CPPFLAGS'
56614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56617
56618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56619 /* end confdefs.h. */
56620 #include <math.h>
56621 #ifdef HAVE_IEEEFP_H
56622 #include <ieeefp.h>
56623 #endif
56624
56625 int
56626 main ()
56627 {
56628 expl(0);
56629 ;
56630 return 0;
56631 }
56632 _ACEOF
56633 if ac_fn_cxx_try_compile "$LINENO"; then :
56634 glibcxx_cv_func_expl_use=yes
56635 else
56636 glibcxx_cv_func_expl_use=no
56637 fi
56638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56639 ac_ext=c
56640 ac_cpp='$CPP $CPPFLAGS'
56641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56644
56645
56646 fi
56647
56648 fi
56649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56650 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56651
56652 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56653 for ac_func in expl
56654 do :
56655 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56656 if test "x$ac_cv_func_expl" = x""yes; then :
56657 cat >>confdefs.h <<_ACEOF
56658 #define HAVE_EXPL 1
56659 _ACEOF
56660
56661 fi
56662 done
56663
56664 else
56665
56666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56667 $as_echo_n "checking for _expl declaration... " >&6; }
56668 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56669 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56670 $as_echo_n "(cached) " >&6
56671 else
56672
56673
56674 ac_ext=cpp
56675 ac_cpp='$CXXCPP $CPPFLAGS'
56676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56679
56680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56681 /* end confdefs.h. */
56682 #include <math.h>
56683 #ifdef HAVE_IEEEFP_H
56684 #include <ieeefp.h>
56685 #endif
56686
56687 int
56688 main ()
56689 {
56690 _expl(0);
56691 ;
56692 return 0;
56693 }
56694 _ACEOF
56695 if ac_fn_cxx_try_compile "$LINENO"; then :
56696 glibcxx_cv_func__expl_use=yes
56697 else
56698 glibcxx_cv_func__expl_use=no
56699 fi
56700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56701 ac_ext=c
56702 ac_cpp='$CPP $CPPFLAGS'
56703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56706
56707
56708 fi
56709
56710 fi
56711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56712 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56713
56714 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56715 for ac_func in _expl
56716 do :
56717 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56718 if test "x$ac_cv_func__expl" = x""yes; then :
56719 cat >>confdefs.h <<_ACEOF
56720 #define HAVE__EXPL 1
56721 _ACEOF
56722
56723 fi
56724 done
56725
56726 fi
56727 fi
56728
56729
56730
56731
56732
56733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56734 $as_echo_n "checking for fabsl declaration... " >&6; }
56735 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56736 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56737 $as_echo_n "(cached) " >&6
56738 else
56739
56740
56741 ac_ext=cpp
56742 ac_cpp='$CXXCPP $CPPFLAGS'
56743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56746
56747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56748 /* end confdefs.h. */
56749 #include <math.h>
56750 #ifdef HAVE_IEEEFP_H
56751 #include <ieeefp.h>
56752 #endif
56753
56754 int
56755 main ()
56756 {
56757 fabsl(0);
56758 ;
56759 return 0;
56760 }
56761 _ACEOF
56762 if ac_fn_cxx_try_compile "$LINENO"; then :
56763 glibcxx_cv_func_fabsl_use=yes
56764 else
56765 glibcxx_cv_func_fabsl_use=no
56766 fi
56767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56768 ac_ext=c
56769 ac_cpp='$CPP $CPPFLAGS'
56770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56773
56774
56775 fi
56776
56777 fi
56778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56779 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56780
56781 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56782 for ac_func in fabsl
56783 do :
56784 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56785 if test "x$ac_cv_func_fabsl" = x""yes; then :
56786 cat >>confdefs.h <<_ACEOF
56787 #define HAVE_FABSL 1
56788 _ACEOF
56789
56790 fi
56791 done
56792
56793 else
56794
56795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56796 $as_echo_n "checking for _fabsl declaration... " >&6; }
56797 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56798 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56799 $as_echo_n "(cached) " >&6
56800 else
56801
56802
56803 ac_ext=cpp
56804 ac_cpp='$CXXCPP $CPPFLAGS'
56805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56808
56809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56810 /* end confdefs.h. */
56811 #include <math.h>
56812 #ifdef HAVE_IEEEFP_H
56813 #include <ieeefp.h>
56814 #endif
56815
56816 int
56817 main ()
56818 {
56819 _fabsl(0);
56820 ;
56821 return 0;
56822 }
56823 _ACEOF
56824 if ac_fn_cxx_try_compile "$LINENO"; then :
56825 glibcxx_cv_func__fabsl_use=yes
56826 else
56827 glibcxx_cv_func__fabsl_use=no
56828 fi
56829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56830 ac_ext=c
56831 ac_cpp='$CPP $CPPFLAGS'
56832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56835
56836
56837 fi
56838
56839 fi
56840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56841 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56842
56843 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56844 for ac_func in _fabsl
56845 do :
56846 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56847 if test "x$ac_cv_func__fabsl" = x""yes; then :
56848 cat >>confdefs.h <<_ACEOF
56849 #define HAVE__FABSL 1
56850 _ACEOF
56851
56852 fi
56853 done
56854
56855 fi
56856 fi
56857
56858
56859
56860
56861
56862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56863 $as_echo_n "checking for fmodl declaration... " >&6; }
56864 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56865 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56866 $as_echo_n "(cached) " >&6
56867 else
56868
56869
56870 ac_ext=cpp
56871 ac_cpp='$CXXCPP $CPPFLAGS'
56872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56875
56876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56877 /* end confdefs.h. */
56878 #include <math.h>
56879 int
56880 main ()
56881 {
56882 fmodl(0, 0);
56883 ;
56884 return 0;
56885 }
56886 _ACEOF
56887 if ac_fn_cxx_try_compile "$LINENO"; then :
56888 glibcxx_cv_func_fmodl_use=yes
56889 else
56890 glibcxx_cv_func_fmodl_use=no
56891 fi
56892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56893 ac_ext=c
56894 ac_cpp='$CPP $CPPFLAGS'
56895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56898
56899
56900 fi
56901
56902 fi
56903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56904 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56905
56906 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56907 for ac_func in fmodl
56908 do :
56909 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56910 if test "x$ac_cv_func_fmodl" = x""yes; then :
56911 cat >>confdefs.h <<_ACEOF
56912 #define HAVE_FMODL 1
56913 _ACEOF
56914
56915 fi
56916 done
56917
56918 else
56919
56920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56921 $as_echo_n "checking for _fmodl declaration... " >&6; }
56922 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56923 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56924 $as_echo_n "(cached) " >&6
56925 else
56926
56927
56928 ac_ext=cpp
56929 ac_cpp='$CXXCPP $CPPFLAGS'
56930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56933
56934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56935 /* end confdefs.h. */
56936 #include <math.h>
56937 int
56938 main ()
56939 {
56940 _fmodl(0, 0);
56941 ;
56942 return 0;
56943 }
56944 _ACEOF
56945 if ac_fn_cxx_try_compile "$LINENO"; then :
56946 glibcxx_cv_func__fmodl_use=yes
56947 else
56948 glibcxx_cv_func__fmodl_use=no
56949 fi
56950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56951 ac_ext=c
56952 ac_cpp='$CPP $CPPFLAGS'
56953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56956
56957
56958 fi
56959
56960 fi
56961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56962 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56963
56964 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56965 for ac_func in _fmodl
56966 do :
56967 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56968 if test "x$ac_cv_func__fmodl" = x""yes; then :
56969 cat >>confdefs.h <<_ACEOF
56970 #define HAVE__FMODL 1
56971 _ACEOF
56972
56973 fi
56974 done
56975
56976 fi
56977 fi
56978
56979
56980
56981
56982
56983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56984 $as_echo_n "checking for frexpl declaration... " >&6; }
56985 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56986 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56987 $as_echo_n "(cached) " >&6
56988 else
56989
56990
56991 ac_ext=cpp
56992 ac_cpp='$CXXCPP $CPPFLAGS'
56993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56996
56997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56998 /* end confdefs.h. */
56999 #include <math.h>
57000 int
57001 main ()
57002 {
57003 frexpl(0, 0);
57004 ;
57005 return 0;
57006 }
57007 _ACEOF
57008 if ac_fn_cxx_try_compile "$LINENO"; then :
57009 glibcxx_cv_func_frexpl_use=yes
57010 else
57011 glibcxx_cv_func_frexpl_use=no
57012 fi
57013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57014 ac_ext=c
57015 ac_cpp='$CPP $CPPFLAGS'
57016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57019
57020
57021 fi
57022
57023 fi
57024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57025 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57026
57027 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57028 for ac_func in frexpl
57029 do :
57030 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57031 if test "x$ac_cv_func_frexpl" = x""yes; then :
57032 cat >>confdefs.h <<_ACEOF
57033 #define HAVE_FREXPL 1
57034 _ACEOF
57035
57036 fi
57037 done
57038
57039 else
57040
57041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57042 $as_echo_n "checking for _frexpl declaration... " >&6; }
57043 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57044 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57045 $as_echo_n "(cached) " >&6
57046 else
57047
57048
57049 ac_ext=cpp
57050 ac_cpp='$CXXCPP $CPPFLAGS'
57051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57054
57055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57056 /* end confdefs.h. */
57057 #include <math.h>
57058 int
57059 main ()
57060 {
57061 _frexpl(0, 0);
57062 ;
57063 return 0;
57064 }
57065 _ACEOF
57066 if ac_fn_cxx_try_compile "$LINENO"; then :
57067 glibcxx_cv_func__frexpl_use=yes
57068 else
57069 glibcxx_cv_func__frexpl_use=no
57070 fi
57071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57072 ac_ext=c
57073 ac_cpp='$CPP $CPPFLAGS'
57074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57077
57078
57079 fi
57080
57081 fi
57082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57083 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57084
57085 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57086 for ac_func in _frexpl
57087 do :
57088 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57089 if test "x$ac_cv_func__frexpl" = x""yes; then :
57090 cat >>confdefs.h <<_ACEOF
57091 #define HAVE__FREXPL 1
57092 _ACEOF
57093
57094 fi
57095 done
57096
57097 fi
57098 fi
57099
57100
57101
57102
57103
57104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57105 $as_echo_n "checking for hypotl declaration... " >&6; }
57106 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57107 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57108 $as_echo_n "(cached) " >&6
57109 else
57110
57111
57112 ac_ext=cpp
57113 ac_cpp='$CXXCPP $CPPFLAGS'
57114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57117
57118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57119 /* end confdefs.h. */
57120 #include <math.h>
57121 int
57122 main ()
57123 {
57124 hypotl(0, 0);
57125 ;
57126 return 0;
57127 }
57128 _ACEOF
57129 if ac_fn_cxx_try_compile "$LINENO"; then :
57130 glibcxx_cv_func_hypotl_use=yes
57131 else
57132 glibcxx_cv_func_hypotl_use=no
57133 fi
57134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57135 ac_ext=c
57136 ac_cpp='$CPP $CPPFLAGS'
57137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57140
57141
57142 fi
57143
57144 fi
57145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57146 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57147
57148 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57149 for ac_func in hypotl
57150 do :
57151 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57152 if test "x$ac_cv_func_hypotl" = x""yes; then :
57153 cat >>confdefs.h <<_ACEOF
57154 #define HAVE_HYPOTL 1
57155 _ACEOF
57156
57157 fi
57158 done
57159
57160 else
57161
57162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57163 $as_echo_n "checking for _hypotl declaration... " >&6; }
57164 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57165 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57166 $as_echo_n "(cached) " >&6
57167 else
57168
57169
57170 ac_ext=cpp
57171 ac_cpp='$CXXCPP $CPPFLAGS'
57172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57175
57176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57177 /* end confdefs.h. */
57178 #include <math.h>
57179 int
57180 main ()
57181 {
57182 _hypotl(0, 0);
57183 ;
57184 return 0;
57185 }
57186 _ACEOF
57187 if ac_fn_cxx_try_compile "$LINENO"; then :
57188 glibcxx_cv_func__hypotl_use=yes
57189 else
57190 glibcxx_cv_func__hypotl_use=no
57191 fi
57192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57193 ac_ext=c
57194 ac_cpp='$CPP $CPPFLAGS'
57195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57198
57199
57200 fi
57201
57202 fi
57203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57204 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57205
57206 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57207 for ac_func in _hypotl
57208 do :
57209 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57210 if test "x$ac_cv_func__hypotl" = x""yes; then :
57211 cat >>confdefs.h <<_ACEOF
57212 #define HAVE__HYPOTL 1
57213 _ACEOF
57214
57215 fi
57216 done
57217
57218 fi
57219 fi
57220
57221
57222
57223
57224
57225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57226 $as_echo_n "checking for ldexpl declaration... " >&6; }
57227 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57228 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57229 $as_echo_n "(cached) " >&6
57230 else
57231
57232
57233 ac_ext=cpp
57234 ac_cpp='$CXXCPP $CPPFLAGS'
57235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57238
57239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57240 /* end confdefs.h. */
57241 #include <math.h>
57242 int
57243 main ()
57244 {
57245 ldexpl(0, 0);
57246 ;
57247 return 0;
57248 }
57249 _ACEOF
57250 if ac_fn_cxx_try_compile "$LINENO"; then :
57251 glibcxx_cv_func_ldexpl_use=yes
57252 else
57253 glibcxx_cv_func_ldexpl_use=no
57254 fi
57255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57256 ac_ext=c
57257 ac_cpp='$CPP $CPPFLAGS'
57258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57261
57262
57263 fi
57264
57265 fi
57266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57267 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57268
57269 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57270 for ac_func in ldexpl
57271 do :
57272 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57273 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57274 cat >>confdefs.h <<_ACEOF
57275 #define HAVE_LDEXPL 1
57276 _ACEOF
57277
57278 fi
57279 done
57280
57281 else
57282
57283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57284 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57285 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57286 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57287 $as_echo_n "(cached) " >&6
57288 else
57289
57290
57291 ac_ext=cpp
57292 ac_cpp='$CXXCPP $CPPFLAGS'
57293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57296
57297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57298 /* end confdefs.h. */
57299 #include <math.h>
57300 int
57301 main ()
57302 {
57303 _ldexpl(0, 0);
57304 ;
57305 return 0;
57306 }
57307 _ACEOF
57308 if ac_fn_cxx_try_compile "$LINENO"; then :
57309 glibcxx_cv_func__ldexpl_use=yes
57310 else
57311 glibcxx_cv_func__ldexpl_use=no
57312 fi
57313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57314 ac_ext=c
57315 ac_cpp='$CPP $CPPFLAGS'
57316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57319
57320
57321 fi
57322
57323 fi
57324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57325 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57326
57327 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57328 for ac_func in _ldexpl
57329 do :
57330 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57331 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57332 cat >>confdefs.h <<_ACEOF
57333 #define HAVE__LDEXPL 1
57334 _ACEOF
57335
57336 fi
57337 done
57338
57339 fi
57340 fi
57341
57342
57343
57344
57345
57346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57347 $as_echo_n "checking for logl declaration... " >&6; }
57348 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57349 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57350 $as_echo_n "(cached) " >&6
57351 else
57352
57353
57354 ac_ext=cpp
57355 ac_cpp='$CXXCPP $CPPFLAGS'
57356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57359
57360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57361 /* end confdefs.h. */
57362 #include <math.h>
57363 #ifdef HAVE_IEEEFP_H
57364 #include <ieeefp.h>
57365 #endif
57366
57367 int
57368 main ()
57369 {
57370 logl(0);
57371 ;
57372 return 0;
57373 }
57374 _ACEOF
57375 if ac_fn_cxx_try_compile "$LINENO"; then :
57376 glibcxx_cv_func_logl_use=yes
57377 else
57378 glibcxx_cv_func_logl_use=no
57379 fi
57380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57381 ac_ext=c
57382 ac_cpp='$CPP $CPPFLAGS'
57383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57386
57387
57388 fi
57389
57390 fi
57391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57392 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57393
57394 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57395 for ac_func in logl
57396 do :
57397 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57398 if test "x$ac_cv_func_logl" = x""yes; then :
57399 cat >>confdefs.h <<_ACEOF
57400 #define HAVE_LOGL 1
57401 _ACEOF
57402
57403 fi
57404 done
57405
57406 else
57407
57408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57409 $as_echo_n "checking for _logl declaration... " >&6; }
57410 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57411 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57412 $as_echo_n "(cached) " >&6
57413 else
57414
57415
57416 ac_ext=cpp
57417 ac_cpp='$CXXCPP $CPPFLAGS'
57418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57421
57422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57423 /* end confdefs.h. */
57424 #include <math.h>
57425 #ifdef HAVE_IEEEFP_H
57426 #include <ieeefp.h>
57427 #endif
57428
57429 int
57430 main ()
57431 {
57432 _logl(0);
57433 ;
57434 return 0;
57435 }
57436 _ACEOF
57437 if ac_fn_cxx_try_compile "$LINENO"; then :
57438 glibcxx_cv_func__logl_use=yes
57439 else
57440 glibcxx_cv_func__logl_use=no
57441 fi
57442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57443 ac_ext=c
57444 ac_cpp='$CPP $CPPFLAGS'
57445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57448
57449
57450 fi
57451
57452 fi
57453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57454 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57455
57456 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57457 for ac_func in _logl
57458 do :
57459 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57460 if test "x$ac_cv_func__logl" = x""yes; then :
57461 cat >>confdefs.h <<_ACEOF
57462 #define HAVE__LOGL 1
57463 _ACEOF
57464
57465 fi
57466 done
57467
57468 fi
57469 fi
57470
57471
57472
57473
57474
57475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57476 $as_echo_n "checking for log10l declaration... " >&6; }
57477 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57478 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57479 $as_echo_n "(cached) " >&6
57480 else
57481
57482
57483 ac_ext=cpp
57484 ac_cpp='$CXXCPP $CPPFLAGS'
57485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57488
57489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57490 /* end confdefs.h. */
57491 #include <math.h>
57492 #ifdef HAVE_IEEEFP_H
57493 #include <ieeefp.h>
57494 #endif
57495
57496 int
57497 main ()
57498 {
57499 log10l(0);
57500 ;
57501 return 0;
57502 }
57503 _ACEOF
57504 if ac_fn_cxx_try_compile "$LINENO"; then :
57505 glibcxx_cv_func_log10l_use=yes
57506 else
57507 glibcxx_cv_func_log10l_use=no
57508 fi
57509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57510 ac_ext=c
57511 ac_cpp='$CPP $CPPFLAGS'
57512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57515
57516
57517 fi
57518
57519 fi
57520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57521 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57522
57523 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57524 for ac_func in log10l
57525 do :
57526 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57527 if test "x$ac_cv_func_log10l" = x""yes; then :
57528 cat >>confdefs.h <<_ACEOF
57529 #define HAVE_LOG10L 1
57530 _ACEOF
57531
57532 fi
57533 done
57534
57535 else
57536
57537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57538 $as_echo_n "checking for _log10l declaration... " >&6; }
57539 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57540 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57541 $as_echo_n "(cached) " >&6
57542 else
57543
57544
57545 ac_ext=cpp
57546 ac_cpp='$CXXCPP $CPPFLAGS'
57547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57550
57551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57552 /* end confdefs.h. */
57553 #include <math.h>
57554 #ifdef HAVE_IEEEFP_H
57555 #include <ieeefp.h>
57556 #endif
57557
57558 int
57559 main ()
57560 {
57561 _log10l(0);
57562 ;
57563 return 0;
57564 }
57565 _ACEOF
57566 if ac_fn_cxx_try_compile "$LINENO"; then :
57567 glibcxx_cv_func__log10l_use=yes
57568 else
57569 glibcxx_cv_func__log10l_use=no
57570 fi
57571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57572 ac_ext=c
57573 ac_cpp='$CPP $CPPFLAGS'
57574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57577
57578
57579 fi
57580
57581 fi
57582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57583 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57584
57585 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57586 for ac_func in _log10l
57587 do :
57588 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57589 if test "x$ac_cv_func__log10l" = x""yes; then :
57590 cat >>confdefs.h <<_ACEOF
57591 #define HAVE__LOG10L 1
57592 _ACEOF
57593
57594 fi
57595 done
57596
57597 fi
57598 fi
57599
57600
57601
57602
57603
57604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57605 $as_echo_n "checking for modfl declaration... " >&6; }
57606 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57607 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57608 $as_echo_n "(cached) " >&6
57609 else
57610
57611
57612 ac_ext=cpp
57613 ac_cpp='$CXXCPP $CPPFLAGS'
57614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57617
57618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57619 /* end confdefs.h. */
57620 #include <math.h>
57621 int
57622 main ()
57623 {
57624 modfl(0, 0);
57625 ;
57626 return 0;
57627 }
57628 _ACEOF
57629 if ac_fn_cxx_try_compile "$LINENO"; then :
57630 glibcxx_cv_func_modfl_use=yes
57631 else
57632 glibcxx_cv_func_modfl_use=no
57633 fi
57634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57635 ac_ext=c
57636 ac_cpp='$CPP $CPPFLAGS'
57637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57640
57641
57642 fi
57643
57644 fi
57645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57646 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57647
57648 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57649 for ac_func in modfl
57650 do :
57651 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57652 if test "x$ac_cv_func_modfl" = x""yes; then :
57653 cat >>confdefs.h <<_ACEOF
57654 #define HAVE_MODFL 1
57655 _ACEOF
57656
57657 fi
57658 done
57659
57660 else
57661
57662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57663 $as_echo_n "checking for _modfl declaration... " >&6; }
57664 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57665 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57666 $as_echo_n "(cached) " >&6
57667 else
57668
57669
57670 ac_ext=cpp
57671 ac_cpp='$CXXCPP $CPPFLAGS'
57672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57675
57676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57677 /* end confdefs.h. */
57678 #include <math.h>
57679 int
57680 main ()
57681 {
57682 _modfl(0, 0);
57683 ;
57684 return 0;
57685 }
57686 _ACEOF
57687 if ac_fn_cxx_try_compile "$LINENO"; then :
57688 glibcxx_cv_func__modfl_use=yes
57689 else
57690 glibcxx_cv_func__modfl_use=no
57691 fi
57692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57693 ac_ext=c
57694 ac_cpp='$CPP $CPPFLAGS'
57695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57698
57699
57700 fi
57701
57702 fi
57703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57704 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57705
57706 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57707 for ac_func in _modfl
57708 do :
57709 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57710 if test "x$ac_cv_func__modfl" = x""yes; then :
57711 cat >>confdefs.h <<_ACEOF
57712 #define HAVE__MODFL 1
57713 _ACEOF
57714
57715 fi
57716 done
57717
57718 fi
57719 fi
57720
57721
57722
57723
57724
57725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57726 $as_echo_n "checking for powl declaration... " >&6; }
57727 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57728 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57729 $as_echo_n "(cached) " >&6
57730 else
57731
57732
57733 ac_ext=cpp
57734 ac_cpp='$CXXCPP $CPPFLAGS'
57735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57738
57739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57740 /* end confdefs.h. */
57741 #include <math.h>
57742 int
57743 main ()
57744 {
57745 powl(0, 0);
57746 ;
57747 return 0;
57748 }
57749 _ACEOF
57750 if ac_fn_cxx_try_compile "$LINENO"; then :
57751 glibcxx_cv_func_powl_use=yes
57752 else
57753 glibcxx_cv_func_powl_use=no
57754 fi
57755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57756 ac_ext=c
57757 ac_cpp='$CPP $CPPFLAGS'
57758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57761
57762
57763 fi
57764
57765 fi
57766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57767 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57768
57769 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57770 for ac_func in powl
57771 do :
57772 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57773 if test "x$ac_cv_func_powl" = x""yes; then :
57774 cat >>confdefs.h <<_ACEOF
57775 #define HAVE_POWL 1
57776 _ACEOF
57777
57778 fi
57779 done
57780
57781 else
57782
57783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57784 $as_echo_n "checking for _powl declaration... " >&6; }
57785 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57786 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57787 $as_echo_n "(cached) " >&6
57788 else
57789
57790
57791 ac_ext=cpp
57792 ac_cpp='$CXXCPP $CPPFLAGS'
57793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57796
57797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57798 /* end confdefs.h. */
57799 #include <math.h>
57800 int
57801 main ()
57802 {
57803 _powl(0, 0);
57804 ;
57805 return 0;
57806 }
57807 _ACEOF
57808 if ac_fn_cxx_try_compile "$LINENO"; then :
57809 glibcxx_cv_func__powl_use=yes
57810 else
57811 glibcxx_cv_func__powl_use=no
57812 fi
57813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57814 ac_ext=c
57815 ac_cpp='$CPP $CPPFLAGS'
57816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57819
57820
57821 fi
57822
57823 fi
57824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57825 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57826
57827 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57828 for ac_func in _powl
57829 do :
57830 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57831 if test "x$ac_cv_func__powl" = x""yes; then :
57832 cat >>confdefs.h <<_ACEOF
57833 #define HAVE__POWL 1
57834 _ACEOF
57835
57836 fi
57837 done
57838
57839 fi
57840 fi
57841
57842
57843
57844
57845
57846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57847 $as_echo_n "checking for sqrtl declaration... " >&6; }
57848 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57849 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57850 $as_echo_n "(cached) " >&6
57851 else
57852
57853
57854 ac_ext=cpp
57855 ac_cpp='$CXXCPP $CPPFLAGS'
57856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57859
57860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57861 /* end confdefs.h. */
57862 #include <math.h>
57863 #ifdef HAVE_IEEEFP_H
57864 #include <ieeefp.h>
57865 #endif
57866
57867 int
57868 main ()
57869 {
57870 sqrtl(0);
57871 ;
57872 return 0;
57873 }
57874 _ACEOF
57875 if ac_fn_cxx_try_compile "$LINENO"; then :
57876 glibcxx_cv_func_sqrtl_use=yes
57877 else
57878 glibcxx_cv_func_sqrtl_use=no
57879 fi
57880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57881 ac_ext=c
57882 ac_cpp='$CPP $CPPFLAGS'
57883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57886
57887
57888 fi
57889
57890 fi
57891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57892 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57893
57894 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57895 for ac_func in sqrtl
57896 do :
57897 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57898 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57899 cat >>confdefs.h <<_ACEOF
57900 #define HAVE_SQRTL 1
57901 _ACEOF
57902
57903 fi
57904 done
57905
57906 else
57907
57908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57909 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57910 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57911 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57912 $as_echo_n "(cached) " >&6
57913 else
57914
57915
57916 ac_ext=cpp
57917 ac_cpp='$CXXCPP $CPPFLAGS'
57918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57921
57922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57923 /* end confdefs.h. */
57924 #include <math.h>
57925 #ifdef HAVE_IEEEFP_H
57926 #include <ieeefp.h>
57927 #endif
57928
57929 int
57930 main ()
57931 {
57932 _sqrtl(0);
57933 ;
57934 return 0;
57935 }
57936 _ACEOF
57937 if ac_fn_cxx_try_compile "$LINENO"; then :
57938 glibcxx_cv_func__sqrtl_use=yes
57939 else
57940 glibcxx_cv_func__sqrtl_use=no
57941 fi
57942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57943 ac_ext=c
57944 ac_cpp='$CPP $CPPFLAGS'
57945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57948
57949
57950 fi
57951
57952 fi
57953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57954 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57955
57956 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57957 for ac_func in _sqrtl
57958 do :
57959 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57960 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57961 cat >>confdefs.h <<_ACEOF
57962 #define HAVE__SQRTL 1
57963 _ACEOF
57964
57965 fi
57966 done
57967
57968 fi
57969 fi
57970
57971
57972
57973
57974
57975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57976 $as_echo_n "checking for sincosl declaration... " >&6; }
57977 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57978 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57979 $as_echo_n "(cached) " >&6
57980 else
57981
57982
57983 ac_ext=cpp
57984 ac_cpp='$CXXCPP $CPPFLAGS'
57985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57988
57989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57990 /* end confdefs.h. */
57991 #include <math.h>
57992 int
57993 main ()
57994 {
57995 sincosl(0, 0, 0);
57996 ;
57997 return 0;
57998 }
57999 _ACEOF
58000 if ac_fn_cxx_try_compile "$LINENO"; then :
58001 glibcxx_cv_func_sincosl_use=yes
58002 else
58003 glibcxx_cv_func_sincosl_use=no
58004 fi
58005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58006 ac_ext=c
58007 ac_cpp='$CPP $CPPFLAGS'
58008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58011
58012
58013 fi
58014
58015 fi
58016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58017 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58018
58019 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58020 for ac_func in sincosl
58021 do :
58022 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58023 if test "x$ac_cv_func_sincosl" = x""yes; then :
58024 cat >>confdefs.h <<_ACEOF
58025 #define HAVE_SINCOSL 1
58026 _ACEOF
58027
58028 fi
58029 done
58030
58031 else
58032
58033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58034 $as_echo_n "checking for _sincosl declaration... " >&6; }
58035 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58036 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58037 $as_echo_n "(cached) " >&6
58038 else
58039
58040
58041 ac_ext=cpp
58042 ac_cpp='$CXXCPP $CPPFLAGS'
58043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58046
58047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58048 /* end confdefs.h. */
58049 #include <math.h>
58050 int
58051 main ()
58052 {
58053 _sincosl(0, 0, 0);
58054 ;
58055 return 0;
58056 }
58057 _ACEOF
58058 if ac_fn_cxx_try_compile "$LINENO"; then :
58059 glibcxx_cv_func__sincosl_use=yes
58060 else
58061 glibcxx_cv_func__sincosl_use=no
58062 fi
58063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58064 ac_ext=c
58065 ac_cpp='$CPP $CPPFLAGS'
58066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58069
58070
58071 fi
58072
58073 fi
58074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58075 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58076
58077 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58078 for ac_func in _sincosl
58079 do :
58080 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58081 if test "x$ac_cv_func__sincosl" = x""yes; then :
58082 cat >>confdefs.h <<_ACEOF
58083 #define HAVE__SINCOSL 1
58084 _ACEOF
58085
58086 fi
58087 done
58088
58089 fi
58090 fi
58091
58092
58093
58094
58095
58096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58097 $as_echo_n "checking for finitel declaration... " >&6; }
58098 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58099 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58100 $as_echo_n "(cached) " >&6
58101 else
58102
58103
58104 ac_ext=cpp
58105 ac_cpp='$CXXCPP $CPPFLAGS'
58106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58109
58110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58111 /* end confdefs.h. */
58112 #include <math.h>
58113 #ifdef HAVE_IEEEFP_H
58114 #include <ieeefp.h>
58115 #endif
58116
58117 int
58118 main ()
58119 {
58120 finitel(0);
58121 ;
58122 return 0;
58123 }
58124 _ACEOF
58125 if ac_fn_cxx_try_compile "$LINENO"; then :
58126 glibcxx_cv_func_finitel_use=yes
58127 else
58128 glibcxx_cv_func_finitel_use=no
58129 fi
58130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58131 ac_ext=c
58132 ac_cpp='$CPP $CPPFLAGS'
58133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58136
58137
58138 fi
58139
58140 fi
58141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58142 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58143
58144 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58145 for ac_func in finitel
58146 do :
58147 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58148 if test "x$ac_cv_func_finitel" = x""yes; then :
58149 cat >>confdefs.h <<_ACEOF
58150 #define HAVE_FINITEL 1
58151 _ACEOF
58152
58153 fi
58154 done
58155
58156 else
58157
58158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58159 $as_echo_n "checking for _finitel declaration... " >&6; }
58160 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58161 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58162 $as_echo_n "(cached) " >&6
58163 else
58164
58165
58166 ac_ext=cpp
58167 ac_cpp='$CXXCPP $CPPFLAGS'
58168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58171
58172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58173 /* end confdefs.h. */
58174 #include <math.h>
58175 #ifdef HAVE_IEEEFP_H
58176 #include <ieeefp.h>
58177 #endif
58178
58179 int
58180 main ()
58181 {
58182 _finitel(0);
58183 ;
58184 return 0;
58185 }
58186 _ACEOF
58187 if ac_fn_cxx_try_compile "$LINENO"; then :
58188 glibcxx_cv_func__finitel_use=yes
58189 else
58190 glibcxx_cv_func__finitel_use=no
58191 fi
58192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58193 ac_ext=c
58194 ac_cpp='$CPP $CPPFLAGS'
58195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58198
58199
58200 fi
58201
58202 fi
58203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58204 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58205
58206 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58207 for ac_func in _finitel
58208 do :
58209 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58210 if test "x$ac_cv_func__finitel" = x""yes; then :
58211 cat >>confdefs.h <<_ACEOF
58212 #define HAVE__FINITEL 1
58213 _ACEOF
58214
58215 fi
58216 done
58217
58218 fi
58219 fi
58220
58221
58222
58223
58224 LIBS="$ac_save_LIBS"
58225 CXXFLAGS="$ac_save_CXXFLAGS"
58226
58227
58228 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58229 ac_save_CXXFLAGS="$CXXFLAGS"
58230 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58231
58232
58233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58234 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58235 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58236 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58237 $as_echo_n "(cached) " >&6
58238 else
58239
58240
58241 ac_ext=cpp
58242 ac_cpp='$CXXCPP $CPPFLAGS'
58243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58246
58247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58248 /* end confdefs.h. */
58249 #include <stdlib.h>
58250 int
58251 main ()
58252 {
58253 at_quick_exit(0);
58254 ;
58255 return 0;
58256 }
58257 _ACEOF
58258 if ac_fn_cxx_try_compile "$LINENO"; then :
58259 glibcxx_cv_func_at_quick_exit_use=yes
58260 else
58261 glibcxx_cv_func_at_quick_exit_use=no
58262 fi
58263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58264 ac_ext=c
58265 ac_cpp='$CPP $CPPFLAGS'
58266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58269
58270
58271 fi
58272
58273 fi
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58275 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58276 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58277 for ac_func in at_quick_exit
58278 do :
58279 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58280 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58281 cat >>confdefs.h <<_ACEOF
58282 #define HAVE_AT_QUICK_EXIT 1
58283 _ACEOF
58284
58285 fi
58286 done
58287
58288 fi
58289
58290
58291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58292 $as_echo_n "checking for quick_exit declaration... " >&6; }
58293 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58294 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58295 $as_echo_n "(cached) " >&6
58296 else
58297
58298
58299 ac_ext=cpp
58300 ac_cpp='$CXXCPP $CPPFLAGS'
58301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58304
58305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58306 /* end confdefs.h. */
58307 #include <stdlib.h>
58308 int
58309 main ()
58310 {
58311 quick_exit(0);
58312 ;
58313 return 0;
58314 }
58315 _ACEOF
58316 if ac_fn_cxx_try_compile "$LINENO"; then :
58317 glibcxx_cv_func_quick_exit_use=yes
58318 else
58319 glibcxx_cv_func_quick_exit_use=no
58320 fi
58321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58322 ac_ext=c
58323 ac_cpp='$CPP $CPPFLAGS'
58324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58327
58328
58329 fi
58330
58331 fi
58332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58333 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58334 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58335 for ac_func in quick_exit
58336 do :
58337 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58338 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58339 cat >>confdefs.h <<_ACEOF
58340 #define HAVE_QUICK_EXIT 1
58341 _ACEOF
58342
58343 fi
58344 done
58345
58346 fi
58347
58348
58349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58350 $as_echo_n "checking for strtold declaration... " >&6; }
58351 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58352 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58353 $as_echo_n "(cached) " >&6
58354 else
58355
58356
58357 ac_ext=cpp
58358 ac_cpp='$CXXCPP $CPPFLAGS'
58359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58362
58363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58364 /* end confdefs.h. */
58365 #include <stdlib.h>
58366 int
58367 main ()
58368 {
58369 strtold(0, 0);
58370 ;
58371 return 0;
58372 }
58373 _ACEOF
58374 if ac_fn_cxx_try_compile "$LINENO"; then :
58375 glibcxx_cv_func_strtold_use=yes
58376 else
58377 glibcxx_cv_func_strtold_use=no
58378 fi
58379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58380 ac_ext=c
58381 ac_cpp='$CPP $CPPFLAGS'
58382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58385
58386
58387 fi
58388
58389 fi
58390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58391 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58392 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58393 for ac_func in strtold
58394 do :
58395 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58396 if test "x$ac_cv_func_strtold" = x""yes; then :
58397 cat >>confdefs.h <<_ACEOF
58398 #define HAVE_STRTOLD 1
58399 _ACEOF
58400
58401 fi
58402 done
58403
58404 fi
58405
58406
58407
58408
58409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58410 $as_echo_n "checking for strtof declaration... " >&6; }
58411 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58412 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58413 $as_echo_n "(cached) " >&6
58414 else
58415
58416
58417 ac_ext=cpp
58418 ac_cpp='$CXXCPP $CPPFLAGS'
58419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58422
58423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58424 /* end confdefs.h. */
58425 #include <stdlib.h>
58426 int
58427 main ()
58428 {
58429 strtof(0, 0);
58430 ;
58431 return 0;
58432 }
58433 _ACEOF
58434 if ac_fn_cxx_try_compile "$LINENO"; then :
58435 glibcxx_cv_func_strtof_use=yes
58436 else
58437 glibcxx_cv_func_strtof_use=no
58438 fi
58439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58440 ac_ext=c
58441 ac_cpp='$CPP $CPPFLAGS'
58442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58445
58446
58447 fi
58448
58449 fi
58450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58451 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58452 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58453 for ac_func in strtof
58454 do :
58455 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58456 if test "x$ac_cv_func_strtof" = x""yes; then :
58457 cat >>confdefs.h <<_ACEOF
58458 #define HAVE_STRTOF 1
58459 _ACEOF
58460
58461 fi
58462 done
58463
58464 fi
58465
58466
58467
58468
58469 CXXFLAGS="$ac_save_CXXFLAGS"
58470
58471 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58472
58473
58474
58475 # Check whether --enable-tls was given.
58476 if test "${enable_tls+set}" = set; then :
58477 enableval=$enable_tls;
58478 case "$enableval" in
58479 yes|no) ;;
58480 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58481 esac
58482
58483 else
58484 enable_tls=yes
58485 fi
58486
58487
58488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58489 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58490 if test "${gcc_cv_have_tls+set}" = set; then :
58491 $as_echo_n "(cached) " >&6
58492 else
58493
58494 if test "$cross_compiling" = yes; then :
58495 if test x$gcc_no_link = xyes; then
58496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58497 fi
58498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58499 /* end confdefs.h. */
58500 __thread int a; int b; int main() { return a = b; }
58501 _ACEOF
58502 if ac_fn_c_try_link "$LINENO"; then :
58503 chktls_save_LDFLAGS="$LDFLAGS"
58504 case $host in
58505 *-*-linux*)
58506 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58507 ;;
58508 esac
58509 chktls_save_CFLAGS="$CFLAGS"
58510 CFLAGS="-fPIC $CFLAGS"
58511 if test x$gcc_no_link = xyes; then
58512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58513 fi
58514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58515 /* end confdefs.h. */
58516 int f() { return 0; }
58517 _ACEOF
58518 if ac_fn_c_try_link "$LINENO"; then :
58519 if test x$gcc_no_link = xyes; then
58520 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58521 fi
58522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58523 /* end confdefs.h. */
58524 __thread int a; int b; int f() { return a = b; }
58525 _ACEOF
58526 if ac_fn_c_try_link "$LINENO"; then :
58527 gcc_cv_have_tls=yes
58528 else
58529 gcc_cv_have_tls=no
58530 fi
58531 rm -f core conftest.err conftest.$ac_objext \
58532 conftest$ac_exeext conftest.$ac_ext
58533 else
58534 gcc_cv_have_tls=yes
58535 fi
58536 rm -f core conftest.err conftest.$ac_objext \
58537 conftest$ac_exeext conftest.$ac_ext
58538 CFLAGS="$chktls_save_CFLAGS"
58539 LDFLAGS="$chktls_save_LDFLAGS"
58540 else
58541 gcc_cv_have_tls=no
58542 fi
58543 rm -f core conftest.err conftest.$ac_objext \
58544 conftest$ac_exeext conftest.$ac_ext
58545
58546
58547 else
58548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58549 /* end confdefs.h. */
58550 __thread int a; int b; int main() { return a = b; }
58551 _ACEOF
58552 if ac_fn_c_try_run "$LINENO"; then :
58553 chktls_save_LDFLAGS="$LDFLAGS"
58554 LDFLAGS="-static $LDFLAGS"
58555 if test x$gcc_no_link = xyes; then
58556 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58557 fi
58558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58559 /* end confdefs.h. */
58560 int main() { return 0; }
58561 _ACEOF
58562 if ac_fn_c_try_link "$LINENO"; then :
58563 if test "$cross_compiling" = yes; then :
58564 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58565 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58566 as_fn_error "cannot run test program while cross compiling
58567 See \`config.log' for more details." "$LINENO" 5; }
58568 else
58569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58570 /* end confdefs.h. */
58571 __thread int a; int b; int main() { return a = b; }
58572 _ACEOF
58573 if ac_fn_c_try_run "$LINENO"; then :
58574 gcc_cv_have_tls=yes
58575 else
58576 gcc_cv_have_tls=no
58577 fi
58578 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58579 conftest.$ac_objext conftest.beam conftest.$ac_ext
58580 fi
58581
58582 else
58583 gcc_cv_have_tls=yes
58584 fi
58585 rm -f core conftest.err conftest.$ac_objext \
58586 conftest$ac_exeext conftest.$ac_ext
58587 LDFLAGS="$chktls_save_LDFLAGS"
58588 if test $gcc_cv_have_tls = yes; then
58589 chktls_save_CFLAGS="$CFLAGS"
58590 thread_CFLAGS=failed
58591 for flag in '' '-pthread' '-lpthread'; do
58592 CFLAGS="$flag $chktls_save_CFLAGS"
58593 if test x$gcc_no_link = xyes; then
58594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58595 fi
58596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58597 /* end confdefs.h. */
58598 #include <pthread.h>
58599 void *g(void *d) { return NULL; }
58600 int
58601 main ()
58602 {
58603 pthread_t t; pthread_create(&t,NULL,g,NULL);
58604 ;
58605 return 0;
58606 }
58607 _ACEOF
58608 if ac_fn_c_try_link "$LINENO"; then :
58609 thread_CFLAGS="$flag"
58610 fi
58611 rm -f core conftest.err conftest.$ac_objext \
58612 conftest$ac_exeext conftest.$ac_ext
58613 if test "X$thread_CFLAGS" != Xfailed; then
58614 break
58615 fi
58616 done
58617 CFLAGS="$chktls_save_CFLAGS"
58618 if test "X$thread_CFLAGS" != Xfailed; then
58619 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58620 if test "$cross_compiling" = yes; then :
58621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58623 as_fn_error "cannot run test program while cross compiling
58624 See \`config.log' for more details." "$LINENO" 5; }
58625 else
58626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58627 /* end confdefs.h. */
58628 #include <pthread.h>
58629 __thread int a;
58630 static int *volatile a_in_other_thread;
58631 static void *
58632 thread_func (void *arg)
58633 {
58634 a_in_other_thread = &a;
58635 return (void *)0;
58636 }
58637 int
58638 main ()
58639 {
58640 pthread_t thread;
58641 void *thread_retval;
58642 int *volatile a_in_main_thread;
58643 a_in_main_thread = &a;
58644 if (pthread_create (&thread, (pthread_attr_t *)0,
58645 thread_func, (void *)0))
58646 return 0;
58647 if (pthread_join (thread, &thread_retval))
58648 return 0;
58649 return (a_in_other_thread == a_in_main_thread);
58650 ;
58651 return 0;
58652 }
58653 _ACEOF
58654 if ac_fn_c_try_run "$LINENO"; then :
58655 gcc_cv_have_tls=yes
58656 else
58657 gcc_cv_have_tls=no
58658 fi
58659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58660 conftest.$ac_objext conftest.beam conftest.$ac_ext
58661 fi
58662
58663 CFLAGS="$chktls_save_CFLAGS"
58664 fi
58665 fi
58666 else
58667 gcc_cv_have_tls=no
58668 fi
58669 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58670 conftest.$ac_objext conftest.beam conftest.$ac_ext
58671 fi
58672
58673 fi
58674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58675 $as_echo "$gcc_cv_have_tls" >&6; }
58676 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58677
58678 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58679
58680 fi
58681
58682
58683
58684
58685
58686 am_save_CPPFLAGS="$CPPFLAGS"
58687
58688 for element in $INCICONV; do
58689 haveit=
58690 for x in $CPPFLAGS; do
58691
58692 acl_save_prefix="$prefix"
58693 prefix="$acl_final_prefix"
58694 acl_save_exec_prefix="$exec_prefix"
58695 exec_prefix="$acl_final_exec_prefix"
58696 eval x=\"$x\"
58697 exec_prefix="$acl_save_exec_prefix"
58698 prefix="$acl_save_prefix"
58699
58700 if test "X$x" = "X$element"; then
58701 haveit=yes
58702 break
58703 fi
58704 done
58705 if test -z "$haveit"; then
58706 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58707 fi
58708 done
58709
58710
58711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58712 $as_echo_n "checking for iconv... " >&6; }
58713 if test "${am_cv_func_iconv+set}" = set; then :
58714 $as_echo_n "(cached) " >&6
58715 else
58716
58717 am_cv_func_iconv="no, consider installing GNU libiconv"
58718 am_cv_lib_iconv=no
58719 if test x$gcc_no_link = xyes; then
58720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58721 fi
58722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58723 /* end confdefs.h. */
58724 #include <stdlib.h>
58725 #include <iconv.h>
58726 int
58727 main ()
58728 {
58729 iconv_t cd = iconv_open("","");
58730 iconv(cd,NULL,NULL,NULL,NULL);
58731 iconv_close(cd);
58732 ;
58733 return 0;
58734 }
58735 _ACEOF
58736 if ac_fn_c_try_link "$LINENO"; then :
58737 am_cv_func_iconv=yes
58738 fi
58739 rm -f core conftest.err conftest.$ac_objext \
58740 conftest$ac_exeext conftest.$ac_ext
58741 if test "$am_cv_func_iconv" != yes; then
58742 am_save_LIBS="$LIBS"
58743 LIBS="$LIBS $LIBICONV"
58744 if test x$gcc_no_link = xyes; then
58745 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58746 fi
58747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58748 /* end confdefs.h. */
58749 #include <stdlib.h>
58750 #include <iconv.h>
58751 int
58752 main ()
58753 {
58754 iconv_t cd = iconv_open("","");
58755 iconv(cd,NULL,NULL,NULL,NULL);
58756 iconv_close(cd);
58757 ;
58758 return 0;
58759 }
58760 _ACEOF
58761 if ac_fn_c_try_link "$LINENO"; then :
58762 am_cv_lib_iconv=yes
58763 am_cv_func_iconv=yes
58764 fi
58765 rm -f core conftest.err conftest.$ac_objext \
58766 conftest$ac_exeext conftest.$ac_ext
58767 LIBS="$am_save_LIBS"
58768 fi
58769
58770 fi
58771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58772 $as_echo "$am_cv_func_iconv" >&6; }
58773 if test "$am_cv_func_iconv" = yes; then
58774
58775 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58776
58777 fi
58778 if test "$am_cv_lib_iconv" = yes; then
58779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58780 $as_echo_n "checking how to link with libiconv... " >&6; }
58781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58782 $as_echo "$LIBICONV" >&6; }
58783 else
58784 CPPFLAGS="$am_save_CPPFLAGS"
58785 LIBICONV=
58786 LTLIBICONV=
58787 fi
58788
58789
58790
58791 if test "$am_cv_func_iconv" = yes; then
58792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58793 $as_echo_n "checking for iconv declaration... " >&6; }
58794 if test "${am_cv_proto_iconv+set}" = set; then :
58795 $as_echo_n "(cached) " >&6
58796 else
58797
58798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58799 /* end confdefs.h. */
58800
58801 #include <stdlib.h>
58802 #include <iconv.h>
58803 extern
58804 #ifdef __cplusplus
58805 "C"
58806 #endif
58807 #if defined(__STDC__) || defined(__cplusplus)
58808 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58809 #else
58810 size_t iconv();
58811 #endif
58812
58813 int
58814 main ()
58815 {
58816
58817 ;
58818 return 0;
58819 }
58820 _ACEOF
58821 if ac_fn_c_try_compile "$LINENO"; then :
58822 am_cv_proto_iconv_arg1=""
58823 else
58824 am_cv_proto_iconv_arg1="const"
58825 fi
58826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58827 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);"
58828 fi
58829
58830 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58832 }$am_cv_proto_iconv" >&5
58833 $as_echo "${ac_t:-
58834 }$am_cv_proto_iconv" >&6; }
58835
58836 cat >>confdefs.h <<_ACEOF
58837 #define ICONV_CONST $am_cv_proto_iconv_arg1
58838 _ACEOF
58839
58840 fi
58841
58842 ;;
58843 *-mingw32*)
58844
58845 # If we're not using GNU ld, then there's no point in even trying these
58846 # tests. Check for that first. We should have already tested for gld
58847 # by now (in libtool), but require it now just to be safe...
58848 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58849 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58850
58851
58852
58853 # The name set by libtool depends on the version of libtool. Shame on us
58854 # for depending on an impl detail, but c'est la vie. Older versions used
58855 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58856 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58857 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58858 # set (hence we're using an older libtool), then set it.
58859 if test x${with_gnu_ld+set} != xset; then
58860 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58861 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58862 with_gnu_ld=no
58863 else
58864 with_gnu_ld=$ac_cv_prog_gnu_ld
58865 fi
58866 fi
58867
58868 # Start by getting the version number. I think the libtool test already
58869 # does some of this, but throws away the result.
58870 glibcxx_ld_is_gold=no
58871 if test x"$with_gnu_ld" = x"yes"; then
58872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58873 $as_echo_n "checking for ld version... " >&6; }
58874
58875 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58876 glibcxx_ld_is_gold=yes
58877 fi
58878 ldver=`$LD --version 2>/dev/null |
58879 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'`
58880
58881 glibcxx_gnu_ld_version=`echo $ldver | \
58882 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58884 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58885 fi
58886
58887 # Set --gc-sections.
58888 glibcxx_have_gc_sections=no
58889 if test "$glibcxx_ld_is_gold" = "yes"; then
58890 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58891 glibcxx_have_gc_sections=yes
58892 fi
58893 else
58894 glibcxx_gcsections_min_ld=21602
58895 if test x"$with_gnu_ld" = x"yes" &&
58896 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58897 glibcxx_have_gc_sections=yes
58898 fi
58899 fi
58900 if test "$glibcxx_have_gc_sections" = "yes"; then
58901 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58902 # NB: This flag only works reliably after 2.16.1. Configure tests
58903 # for this are difficult, so hard wire a value that should work.
58904
58905 ac_test_CFLAGS="${CFLAGS+set}"
58906 ac_save_CFLAGS="$CFLAGS"
58907 CFLAGS='-Wl,--gc-sections'
58908
58909 # Check for -Wl,--gc-sections
58910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58911 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58912 if test x$gcc_no_link = xyes; then
58913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58914 fi
58915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58916 /* end confdefs.h. */
58917 int one(void) { return 1; }
58918 int two(void) { return 2; }
58919
58920 int
58921 main ()
58922 {
58923 two();
58924 ;
58925 return 0;
58926 }
58927 _ACEOF
58928 if ac_fn_c_try_link "$LINENO"; then :
58929 ac_gcsections=yes
58930 else
58931 ac_gcsections=no
58932 fi
58933 rm -f core conftest.err conftest.$ac_objext \
58934 conftest$ac_exeext conftest.$ac_ext
58935 if test "$ac_gcsections" = "yes"; then
58936 rm -f conftest.c
58937 touch conftest.c
58938 if $CC -c conftest.c; then
58939 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58940 grep "Warning: gc-sections option ignored" > /dev/null; then
58941 ac_gcsections=no
58942 fi
58943 fi
58944 rm -f conftest.c conftest.o conftest
58945 fi
58946 if test "$ac_gcsections" = "yes"; then
58947 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58948 fi
58949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58950 $as_echo "$ac_gcsections" >&6; }
58951
58952 if test "$ac_test_CFLAGS" = set; then
58953 CFLAGS="$ac_save_CFLAGS"
58954 else
58955 # this is the suspicious part
58956 CFLAGS=''
58957 fi
58958 fi
58959
58960 # Set -z,relro.
58961 # Note this is only for shared objects.
58962 ac_ld_relro=no
58963 if test x"$with_gnu_ld" = x"yes"; then
58964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58965 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58966 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58967 if test -n "$cxx_z_relo"; then
58968 OPT_LDFLAGS="-Wl,-z,relro"
58969 ac_ld_relro=yes
58970 fi
58971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58972 $as_echo "$ac_ld_relro" >&6; }
58973 fi
58974
58975 # Set linker optimization flags.
58976 if test x"$with_gnu_ld" = x"yes"; then
58977 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58978 fi
58979
58980
58981
58982
58983
58984 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58985 ac_save_CXXFLAGS="$CXXFLAGS"
58986 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58987
58988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58989 $as_echo_n "checking for sin in -lm... " >&6; }
58990 if test "${ac_cv_lib_m_sin+set}" = set; then :
58991 $as_echo_n "(cached) " >&6
58992 else
58993 ac_check_lib_save_LIBS=$LIBS
58994 LIBS="-lm $LIBS"
58995 if test x$gcc_no_link = xyes; then
58996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58997 fi
58998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58999 /* end confdefs.h. */
59000
59001 /* Override any GCC internal prototype to avoid an error.
59002 Use char because int might match the return type of a GCC
59003 builtin and then its argument prototype would still apply. */
59004 #ifdef __cplusplus
59005 extern "C"
59006 #endif
59007 char sin ();
59008 int
59009 main ()
59010 {
59011 return sin ();
59012 ;
59013 return 0;
59014 }
59015 _ACEOF
59016 if ac_fn_c_try_link "$LINENO"; then :
59017 ac_cv_lib_m_sin=yes
59018 else
59019 ac_cv_lib_m_sin=no
59020 fi
59021 rm -f core conftest.err conftest.$ac_objext \
59022 conftest$ac_exeext conftest.$ac_ext
59023 LIBS=$ac_check_lib_save_LIBS
59024 fi
59025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59026 $as_echo "$ac_cv_lib_m_sin" >&6; }
59027 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59028 libm="-lm"
59029 fi
59030
59031 ac_save_LIBS="$LIBS"
59032 LIBS="$LIBS $libm"
59033
59034
59035
59036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59037 $as_echo_n "checking for isinf declaration... " >&6; }
59038 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59039 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59040 $as_echo_n "(cached) " >&6
59041 else
59042
59043
59044 ac_ext=cpp
59045 ac_cpp='$CXXCPP $CPPFLAGS'
59046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59049
59050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59051 /* end confdefs.h. */
59052 #include <math.h>
59053 #ifdef HAVE_IEEEFP_H
59054 #include <ieeefp.h>
59055 #endif
59056
59057 int
59058 main ()
59059 {
59060 isinf(0);
59061 ;
59062 return 0;
59063 }
59064 _ACEOF
59065 if ac_fn_cxx_try_compile "$LINENO"; then :
59066 glibcxx_cv_func_isinf_use=yes
59067 else
59068 glibcxx_cv_func_isinf_use=no
59069 fi
59070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59071 ac_ext=c
59072 ac_cpp='$CPP $CPPFLAGS'
59073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59076
59077
59078 fi
59079
59080 fi
59081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59082 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59083
59084 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59085 for ac_func in isinf
59086 do :
59087 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59088 if test "x$ac_cv_func_isinf" = x""yes; then :
59089 cat >>confdefs.h <<_ACEOF
59090 #define HAVE_ISINF 1
59091 _ACEOF
59092
59093 fi
59094 done
59095
59096 else
59097
59098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59099 $as_echo_n "checking for _isinf declaration... " >&6; }
59100 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59101 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59102 $as_echo_n "(cached) " >&6
59103 else
59104
59105
59106 ac_ext=cpp
59107 ac_cpp='$CXXCPP $CPPFLAGS'
59108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59111
59112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59113 /* end confdefs.h. */
59114 #include <math.h>
59115 #ifdef HAVE_IEEEFP_H
59116 #include <ieeefp.h>
59117 #endif
59118
59119 int
59120 main ()
59121 {
59122 _isinf(0);
59123 ;
59124 return 0;
59125 }
59126 _ACEOF
59127 if ac_fn_cxx_try_compile "$LINENO"; then :
59128 glibcxx_cv_func__isinf_use=yes
59129 else
59130 glibcxx_cv_func__isinf_use=no
59131 fi
59132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59133 ac_ext=c
59134 ac_cpp='$CPP $CPPFLAGS'
59135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59138
59139
59140 fi
59141
59142 fi
59143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59144 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59145
59146 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59147 for ac_func in _isinf
59148 do :
59149 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59150 if test "x$ac_cv_func__isinf" = x""yes; then :
59151 cat >>confdefs.h <<_ACEOF
59152 #define HAVE__ISINF 1
59153 _ACEOF
59154
59155 fi
59156 done
59157
59158 fi
59159 fi
59160
59161
59162
59163
59164
59165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59166 $as_echo_n "checking for isnan declaration... " >&6; }
59167 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59168 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59169 $as_echo_n "(cached) " >&6
59170 else
59171
59172
59173 ac_ext=cpp
59174 ac_cpp='$CXXCPP $CPPFLAGS'
59175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59178
59179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59180 /* end confdefs.h. */
59181 #include <math.h>
59182 #ifdef HAVE_IEEEFP_H
59183 #include <ieeefp.h>
59184 #endif
59185
59186 int
59187 main ()
59188 {
59189 isnan(0);
59190 ;
59191 return 0;
59192 }
59193 _ACEOF
59194 if ac_fn_cxx_try_compile "$LINENO"; then :
59195 glibcxx_cv_func_isnan_use=yes
59196 else
59197 glibcxx_cv_func_isnan_use=no
59198 fi
59199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59200 ac_ext=c
59201 ac_cpp='$CPP $CPPFLAGS'
59202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59205
59206
59207 fi
59208
59209 fi
59210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59211 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59212
59213 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59214 for ac_func in isnan
59215 do :
59216 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59217 if test "x$ac_cv_func_isnan" = x""yes; then :
59218 cat >>confdefs.h <<_ACEOF
59219 #define HAVE_ISNAN 1
59220 _ACEOF
59221
59222 fi
59223 done
59224
59225 else
59226
59227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59228 $as_echo_n "checking for _isnan declaration... " >&6; }
59229 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59230 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59231 $as_echo_n "(cached) " >&6
59232 else
59233
59234
59235 ac_ext=cpp
59236 ac_cpp='$CXXCPP $CPPFLAGS'
59237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59240
59241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59242 /* end confdefs.h. */
59243 #include <math.h>
59244 #ifdef HAVE_IEEEFP_H
59245 #include <ieeefp.h>
59246 #endif
59247
59248 int
59249 main ()
59250 {
59251 _isnan(0);
59252 ;
59253 return 0;
59254 }
59255 _ACEOF
59256 if ac_fn_cxx_try_compile "$LINENO"; then :
59257 glibcxx_cv_func__isnan_use=yes
59258 else
59259 glibcxx_cv_func__isnan_use=no
59260 fi
59261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59262 ac_ext=c
59263 ac_cpp='$CPP $CPPFLAGS'
59264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59267
59268
59269 fi
59270
59271 fi
59272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59273 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59274
59275 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59276 for ac_func in _isnan
59277 do :
59278 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59279 if test "x$ac_cv_func__isnan" = x""yes; then :
59280 cat >>confdefs.h <<_ACEOF
59281 #define HAVE__ISNAN 1
59282 _ACEOF
59283
59284 fi
59285 done
59286
59287 fi
59288 fi
59289
59290
59291
59292
59293
59294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59295 $as_echo_n "checking for finite declaration... " >&6; }
59296 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59297 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59298 $as_echo_n "(cached) " >&6
59299 else
59300
59301
59302 ac_ext=cpp
59303 ac_cpp='$CXXCPP $CPPFLAGS'
59304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59307
59308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59309 /* end confdefs.h. */
59310 #include <math.h>
59311 #ifdef HAVE_IEEEFP_H
59312 #include <ieeefp.h>
59313 #endif
59314
59315 int
59316 main ()
59317 {
59318 finite(0);
59319 ;
59320 return 0;
59321 }
59322 _ACEOF
59323 if ac_fn_cxx_try_compile "$LINENO"; then :
59324 glibcxx_cv_func_finite_use=yes
59325 else
59326 glibcxx_cv_func_finite_use=no
59327 fi
59328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59329 ac_ext=c
59330 ac_cpp='$CPP $CPPFLAGS'
59331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59334
59335
59336 fi
59337
59338 fi
59339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59340 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59341
59342 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59343 for ac_func in finite
59344 do :
59345 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59346 if test "x$ac_cv_func_finite" = x""yes; then :
59347 cat >>confdefs.h <<_ACEOF
59348 #define HAVE_FINITE 1
59349 _ACEOF
59350
59351 fi
59352 done
59353
59354 else
59355
59356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59357 $as_echo_n "checking for _finite declaration... " >&6; }
59358 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59359 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59360 $as_echo_n "(cached) " >&6
59361 else
59362
59363
59364 ac_ext=cpp
59365 ac_cpp='$CXXCPP $CPPFLAGS'
59366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59369
59370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59371 /* end confdefs.h. */
59372 #include <math.h>
59373 #ifdef HAVE_IEEEFP_H
59374 #include <ieeefp.h>
59375 #endif
59376
59377 int
59378 main ()
59379 {
59380 _finite(0);
59381 ;
59382 return 0;
59383 }
59384 _ACEOF
59385 if ac_fn_cxx_try_compile "$LINENO"; then :
59386 glibcxx_cv_func__finite_use=yes
59387 else
59388 glibcxx_cv_func__finite_use=no
59389 fi
59390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59391 ac_ext=c
59392 ac_cpp='$CPP $CPPFLAGS'
59393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59396
59397
59398 fi
59399
59400 fi
59401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59402 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59403
59404 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59405 for ac_func in _finite
59406 do :
59407 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59408 if test "x$ac_cv_func__finite" = x""yes; then :
59409 cat >>confdefs.h <<_ACEOF
59410 #define HAVE__FINITE 1
59411 _ACEOF
59412
59413 fi
59414 done
59415
59416 fi
59417 fi
59418
59419
59420
59421
59422
59423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59424 $as_echo_n "checking for sincos declaration... " >&6; }
59425 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59426 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59427 $as_echo_n "(cached) " >&6
59428 else
59429
59430
59431 ac_ext=cpp
59432 ac_cpp='$CXXCPP $CPPFLAGS'
59433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59436
59437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59438 /* end confdefs.h. */
59439 #include <math.h>
59440 int
59441 main ()
59442 {
59443 sincos(0, 0, 0);
59444 ;
59445 return 0;
59446 }
59447 _ACEOF
59448 if ac_fn_cxx_try_compile "$LINENO"; then :
59449 glibcxx_cv_func_sincos_use=yes
59450 else
59451 glibcxx_cv_func_sincos_use=no
59452 fi
59453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59454 ac_ext=c
59455 ac_cpp='$CPP $CPPFLAGS'
59456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59459
59460
59461 fi
59462
59463 fi
59464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59465 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59466
59467 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59468 for ac_func in sincos
59469 do :
59470 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59471 if test "x$ac_cv_func_sincos" = x""yes; then :
59472 cat >>confdefs.h <<_ACEOF
59473 #define HAVE_SINCOS 1
59474 _ACEOF
59475
59476 fi
59477 done
59478
59479 else
59480
59481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59482 $as_echo_n "checking for _sincos declaration... " >&6; }
59483 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59484 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59485 $as_echo_n "(cached) " >&6
59486 else
59487
59488
59489 ac_ext=cpp
59490 ac_cpp='$CXXCPP $CPPFLAGS'
59491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59494
59495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59496 /* end confdefs.h. */
59497 #include <math.h>
59498 int
59499 main ()
59500 {
59501 _sincos(0, 0, 0);
59502 ;
59503 return 0;
59504 }
59505 _ACEOF
59506 if ac_fn_cxx_try_compile "$LINENO"; then :
59507 glibcxx_cv_func__sincos_use=yes
59508 else
59509 glibcxx_cv_func__sincos_use=no
59510 fi
59511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59512 ac_ext=c
59513 ac_cpp='$CPP $CPPFLAGS'
59514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59517
59518
59519 fi
59520
59521 fi
59522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59523 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59524
59525 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59526 for ac_func in _sincos
59527 do :
59528 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59529 if test "x$ac_cv_func__sincos" = x""yes; then :
59530 cat >>confdefs.h <<_ACEOF
59531 #define HAVE__SINCOS 1
59532 _ACEOF
59533
59534 fi
59535 done
59536
59537 fi
59538 fi
59539
59540
59541
59542
59543
59544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59545 $as_echo_n "checking for fpclass declaration... " >&6; }
59546 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59547 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59548 $as_echo_n "(cached) " >&6
59549 else
59550
59551
59552 ac_ext=cpp
59553 ac_cpp='$CXXCPP $CPPFLAGS'
59554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59557
59558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59559 /* end confdefs.h. */
59560 #include <math.h>
59561 #ifdef HAVE_IEEEFP_H
59562 #include <ieeefp.h>
59563 #endif
59564
59565 int
59566 main ()
59567 {
59568 fpclass(0);
59569 ;
59570 return 0;
59571 }
59572 _ACEOF
59573 if ac_fn_cxx_try_compile "$LINENO"; then :
59574 glibcxx_cv_func_fpclass_use=yes
59575 else
59576 glibcxx_cv_func_fpclass_use=no
59577 fi
59578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59579 ac_ext=c
59580 ac_cpp='$CPP $CPPFLAGS'
59581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59584
59585
59586 fi
59587
59588 fi
59589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59590 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59591
59592 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59593 for ac_func in fpclass
59594 do :
59595 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59596 if test "x$ac_cv_func_fpclass" = x""yes; then :
59597 cat >>confdefs.h <<_ACEOF
59598 #define HAVE_FPCLASS 1
59599 _ACEOF
59600
59601 fi
59602 done
59603
59604 else
59605
59606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59607 $as_echo_n "checking for _fpclass declaration... " >&6; }
59608 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59609 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59610 $as_echo_n "(cached) " >&6
59611 else
59612
59613
59614 ac_ext=cpp
59615 ac_cpp='$CXXCPP $CPPFLAGS'
59616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59619
59620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59621 /* end confdefs.h. */
59622 #include <math.h>
59623 #ifdef HAVE_IEEEFP_H
59624 #include <ieeefp.h>
59625 #endif
59626
59627 int
59628 main ()
59629 {
59630 _fpclass(0);
59631 ;
59632 return 0;
59633 }
59634 _ACEOF
59635 if ac_fn_cxx_try_compile "$LINENO"; then :
59636 glibcxx_cv_func__fpclass_use=yes
59637 else
59638 glibcxx_cv_func__fpclass_use=no
59639 fi
59640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59641 ac_ext=c
59642 ac_cpp='$CPP $CPPFLAGS'
59643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59646
59647
59648 fi
59649
59650 fi
59651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59652 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59653
59654 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59655 for ac_func in _fpclass
59656 do :
59657 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59658 if test "x$ac_cv_func__fpclass" = x""yes; then :
59659 cat >>confdefs.h <<_ACEOF
59660 #define HAVE__FPCLASS 1
59661 _ACEOF
59662
59663 fi
59664 done
59665
59666 fi
59667 fi
59668
59669
59670
59671
59672
59673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59674 $as_echo_n "checking for qfpclass declaration... " >&6; }
59675 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59676 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59677 $as_echo_n "(cached) " >&6
59678 else
59679
59680
59681 ac_ext=cpp
59682 ac_cpp='$CXXCPP $CPPFLAGS'
59683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59686
59687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59688 /* end confdefs.h. */
59689 #include <math.h>
59690 #ifdef HAVE_IEEEFP_H
59691 #include <ieeefp.h>
59692 #endif
59693
59694 int
59695 main ()
59696 {
59697 qfpclass(0);
59698 ;
59699 return 0;
59700 }
59701 _ACEOF
59702 if ac_fn_cxx_try_compile "$LINENO"; then :
59703 glibcxx_cv_func_qfpclass_use=yes
59704 else
59705 glibcxx_cv_func_qfpclass_use=no
59706 fi
59707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59708 ac_ext=c
59709 ac_cpp='$CPP $CPPFLAGS'
59710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59713
59714
59715 fi
59716
59717 fi
59718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59719 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59720
59721 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59722 for ac_func in qfpclass
59723 do :
59724 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59725 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59726 cat >>confdefs.h <<_ACEOF
59727 #define HAVE_QFPCLASS 1
59728 _ACEOF
59729
59730 fi
59731 done
59732
59733 else
59734
59735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59736 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59737 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59738 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59739 $as_echo_n "(cached) " >&6
59740 else
59741
59742
59743 ac_ext=cpp
59744 ac_cpp='$CXXCPP $CPPFLAGS'
59745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59748
59749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59750 /* end confdefs.h. */
59751 #include <math.h>
59752 #ifdef HAVE_IEEEFP_H
59753 #include <ieeefp.h>
59754 #endif
59755
59756 int
59757 main ()
59758 {
59759 _qfpclass(0);
59760 ;
59761 return 0;
59762 }
59763 _ACEOF
59764 if ac_fn_cxx_try_compile "$LINENO"; then :
59765 glibcxx_cv_func__qfpclass_use=yes
59766 else
59767 glibcxx_cv_func__qfpclass_use=no
59768 fi
59769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59770 ac_ext=c
59771 ac_cpp='$CPP $CPPFLAGS'
59772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59775
59776
59777 fi
59778
59779 fi
59780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59781 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59782
59783 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59784 for ac_func in _qfpclass
59785 do :
59786 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59787 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59788 cat >>confdefs.h <<_ACEOF
59789 #define HAVE__QFPCLASS 1
59790 _ACEOF
59791
59792 fi
59793 done
59794
59795 fi
59796 fi
59797
59798
59799
59800
59801
59802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59803 $as_echo_n "checking for hypot declaration... " >&6; }
59804 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59805 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59806 $as_echo_n "(cached) " >&6
59807 else
59808
59809
59810 ac_ext=cpp
59811 ac_cpp='$CXXCPP $CPPFLAGS'
59812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59815
59816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59817 /* end confdefs.h. */
59818 #include <math.h>
59819 int
59820 main ()
59821 {
59822 hypot(0, 0);
59823 ;
59824 return 0;
59825 }
59826 _ACEOF
59827 if ac_fn_cxx_try_compile "$LINENO"; then :
59828 glibcxx_cv_func_hypot_use=yes
59829 else
59830 glibcxx_cv_func_hypot_use=no
59831 fi
59832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59833 ac_ext=c
59834 ac_cpp='$CPP $CPPFLAGS'
59835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59838
59839
59840 fi
59841
59842 fi
59843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59844 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59845
59846 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59847 for ac_func in hypot
59848 do :
59849 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59850 if test "x$ac_cv_func_hypot" = x""yes; then :
59851 cat >>confdefs.h <<_ACEOF
59852 #define HAVE_HYPOT 1
59853 _ACEOF
59854
59855 fi
59856 done
59857
59858 else
59859
59860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59861 $as_echo_n "checking for _hypot declaration... " >&6; }
59862 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59863 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59864 $as_echo_n "(cached) " >&6
59865 else
59866
59867
59868 ac_ext=cpp
59869 ac_cpp='$CXXCPP $CPPFLAGS'
59870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59873
59874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59875 /* end confdefs.h. */
59876 #include <math.h>
59877 int
59878 main ()
59879 {
59880 _hypot(0, 0);
59881 ;
59882 return 0;
59883 }
59884 _ACEOF
59885 if ac_fn_cxx_try_compile "$LINENO"; then :
59886 glibcxx_cv_func__hypot_use=yes
59887 else
59888 glibcxx_cv_func__hypot_use=no
59889 fi
59890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59891 ac_ext=c
59892 ac_cpp='$CPP $CPPFLAGS'
59893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59896
59897
59898 fi
59899
59900 fi
59901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59902 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59903
59904 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59905 for ac_func in _hypot
59906 do :
59907 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59908 if test "x$ac_cv_func__hypot" = x""yes; then :
59909 cat >>confdefs.h <<_ACEOF
59910 #define HAVE__HYPOT 1
59911 _ACEOF
59912
59913 fi
59914 done
59915
59916 fi
59917 fi
59918
59919
59920
59921
59922
59923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59924 $as_echo_n "checking for float trig functions... " >&6; }
59925 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59926 $as_echo_n "(cached) " >&6
59927 else
59928
59929
59930 ac_ext=cpp
59931 ac_cpp='$CXXCPP $CPPFLAGS'
59932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59935
59936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59937 /* end confdefs.h. */
59938 #include <math.h>
59939 int
59940 main ()
59941 {
59942 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59943 ;
59944 return 0;
59945 }
59946 _ACEOF
59947 if ac_fn_cxx_try_compile "$LINENO"; then :
59948 glibcxx_cv_func_float_trig_use=yes
59949 else
59950 glibcxx_cv_func_float_trig_use=no
59951 fi
59952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59953 ac_ext=c
59954 ac_cpp='$CPP $CPPFLAGS'
59955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59958
59959 fi
59960
59961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59962 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59963 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59964 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59965 do :
59966 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59967 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59968 eval as_val=\$$as_ac_var
59969 if test "x$as_val" = x""yes; then :
59970 cat >>confdefs.h <<_ACEOF
59971 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59972 _ACEOF
59973
59974 fi
59975 done
59976
59977 else
59978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59979 $as_echo_n "checking for _float trig functions... " >&6; }
59980 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59981 $as_echo_n "(cached) " >&6
59982 else
59983
59984
59985 ac_ext=cpp
59986 ac_cpp='$CXXCPP $CPPFLAGS'
59987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59990
59991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59992 /* end confdefs.h. */
59993 #include <math.h>
59994 int
59995 main ()
59996 {
59997 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59998 ;
59999 return 0;
60000 }
60001 _ACEOF
60002 if ac_fn_cxx_try_compile "$LINENO"; then :
60003 glibcxx_cv_func__float_trig_use=yes
60004 else
60005 glibcxx_cv_func__float_trig_use=no
60006 fi
60007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60008 ac_ext=c
60009 ac_cpp='$CPP $CPPFLAGS'
60010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60013
60014 fi
60015
60016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60017 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60018 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60019 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60020 do :
60021 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60022 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60023 eval as_val=\$$as_ac_var
60024 if test "x$as_val" = x""yes; then :
60025 cat >>confdefs.h <<_ACEOF
60026 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60027 _ACEOF
60028
60029 fi
60030 done
60031
60032 fi
60033 fi
60034
60035
60036
60037
60038
60039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60040 $as_echo_n "checking for float round functions... " >&6; }
60041 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60042 $as_echo_n "(cached) " >&6
60043 else
60044
60045
60046 ac_ext=cpp
60047 ac_cpp='$CXXCPP $CPPFLAGS'
60048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60051
60052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60053 /* end confdefs.h. */
60054 #include <math.h>
60055 int
60056 main ()
60057 {
60058 ceilf (0); floorf (0);
60059 ;
60060 return 0;
60061 }
60062 _ACEOF
60063 if ac_fn_cxx_try_compile "$LINENO"; then :
60064 glibcxx_cv_func_float_round_use=yes
60065 else
60066 glibcxx_cv_func_float_round_use=no
60067 fi
60068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60069 ac_ext=c
60070 ac_cpp='$CPP $CPPFLAGS'
60071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60074
60075 fi
60076
60077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60078 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60079 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60080 for ac_func in ceilf floorf
60081 do :
60082 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60083 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60084 eval as_val=\$$as_ac_var
60085 if test "x$as_val" = x""yes; then :
60086 cat >>confdefs.h <<_ACEOF
60087 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60088 _ACEOF
60089
60090 fi
60091 done
60092
60093 else
60094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60095 $as_echo_n "checking for _float round functions... " >&6; }
60096 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60097 $as_echo_n "(cached) " >&6
60098 else
60099
60100
60101 ac_ext=cpp
60102 ac_cpp='$CXXCPP $CPPFLAGS'
60103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60106
60107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60108 /* end confdefs.h. */
60109 #include <math.h>
60110 int
60111 main ()
60112 {
60113 _ceilf (0); _floorf (0);
60114 ;
60115 return 0;
60116 }
60117 _ACEOF
60118 if ac_fn_cxx_try_compile "$LINENO"; then :
60119 glibcxx_cv_func__float_round_use=yes
60120 else
60121 glibcxx_cv_func__float_round_use=no
60122 fi
60123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60124 ac_ext=c
60125 ac_cpp='$CPP $CPPFLAGS'
60126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60129
60130 fi
60131
60132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60133 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60134 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60135 for ac_func in _ceilf _floorf
60136 do :
60137 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60138 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60139 eval as_val=\$$as_ac_var
60140 if test "x$as_val" = x""yes; then :
60141 cat >>confdefs.h <<_ACEOF
60142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60143 _ACEOF
60144
60145 fi
60146 done
60147
60148 fi
60149 fi
60150
60151
60152
60153
60154
60155
60156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60157 $as_echo_n "checking for expf declaration... " >&6; }
60158 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60159 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60160 $as_echo_n "(cached) " >&6
60161 else
60162
60163
60164 ac_ext=cpp
60165 ac_cpp='$CXXCPP $CPPFLAGS'
60166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60169
60170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60171 /* end confdefs.h. */
60172 #include <math.h>
60173 #ifdef HAVE_IEEEFP_H
60174 #include <ieeefp.h>
60175 #endif
60176
60177 int
60178 main ()
60179 {
60180 expf(0);
60181 ;
60182 return 0;
60183 }
60184 _ACEOF
60185 if ac_fn_cxx_try_compile "$LINENO"; then :
60186 glibcxx_cv_func_expf_use=yes
60187 else
60188 glibcxx_cv_func_expf_use=no
60189 fi
60190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60191 ac_ext=c
60192 ac_cpp='$CPP $CPPFLAGS'
60193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60196
60197
60198 fi
60199
60200 fi
60201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60202 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60203
60204 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60205 for ac_func in expf
60206 do :
60207 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60208 if test "x$ac_cv_func_expf" = x""yes; then :
60209 cat >>confdefs.h <<_ACEOF
60210 #define HAVE_EXPF 1
60211 _ACEOF
60212
60213 fi
60214 done
60215
60216 else
60217
60218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60219 $as_echo_n "checking for _expf declaration... " >&6; }
60220 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60221 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60222 $as_echo_n "(cached) " >&6
60223 else
60224
60225
60226 ac_ext=cpp
60227 ac_cpp='$CXXCPP $CPPFLAGS'
60228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60231
60232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60233 /* end confdefs.h. */
60234 #include <math.h>
60235 #ifdef HAVE_IEEEFP_H
60236 #include <ieeefp.h>
60237 #endif
60238
60239 int
60240 main ()
60241 {
60242 _expf(0);
60243 ;
60244 return 0;
60245 }
60246 _ACEOF
60247 if ac_fn_cxx_try_compile "$LINENO"; then :
60248 glibcxx_cv_func__expf_use=yes
60249 else
60250 glibcxx_cv_func__expf_use=no
60251 fi
60252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60253 ac_ext=c
60254 ac_cpp='$CPP $CPPFLAGS'
60255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60258
60259
60260 fi
60261
60262 fi
60263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60264 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60265
60266 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60267 for ac_func in _expf
60268 do :
60269 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60270 if test "x$ac_cv_func__expf" = x""yes; then :
60271 cat >>confdefs.h <<_ACEOF
60272 #define HAVE__EXPF 1
60273 _ACEOF
60274
60275 fi
60276 done
60277
60278 fi
60279 fi
60280
60281
60282
60283
60284
60285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60286 $as_echo_n "checking for isnanf declaration... " >&6; }
60287 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60288 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60289 $as_echo_n "(cached) " >&6
60290 else
60291
60292
60293 ac_ext=cpp
60294 ac_cpp='$CXXCPP $CPPFLAGS'
60295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60298
60299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60300 /* end confdefs.h. */
60301 #include <math.h>
60302 #ifdef HAVE_IEEEFP_H
60303 #include <ieeefp.h>
60304 #endif
60305
60306 int
60307 main ()
60308 {
60309 isnanf(0);
60310 ;
60311 return 0;
60312 }
60313 _ACEOF
60314 if ac_fn_cxx_try_compile "$LINENO"; then :
60315 glibcxx_cv_func_isnanf_use=yes
60316 else
60317 glibcxx_cv_func_isnanf_use=no
60318 fi
60319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60320 ac_ext=c
60321 ac_cpp='$CPP $CPPFLAGS'
60322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60325
60326
60327 fi
60328
60329 fi
60330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60331 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60332
60333 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60334 for ac_func in isnanf
60335 do :
60336 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60337 if test "x$ac_cv_func_isnanf" = x""yes; then :
60338 cat >>confdefs.h <<_ACEOF
60339 #define HAVE_ISNANF 1
60340 _ACEOF
60341
60342 fi
60343 done
60344
60345 else
60346
60347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60348 $as_echo_n "checking for _isnanf declaration... " >&6; }
60349 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60350 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60351 $as_echo_n "(cached) " >&6
60352 else
60353
60354
60355 ac_ext=cpp
60356 ac_cpp='$CXXCPP $CPPFLAGS'
60357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60360
60361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60362 /* end confdefs.h. */
60363 #include <math.h>
60364 #ifdef HAVE_IEEEFP_H
60365 #include <ieeefp.h>
60366 #endif
60367
60368 int
60369 main ()
60370 {
60371 _isnanf(0);
60372 ;
60373 return 0;
60374 }
60375 _ACEOF
60376 if ac_fn_cxx_try_compile "$LINENO"; then :
60377 glibcxx_cv_func__isnanf_use=yes
60378 else
60379 glibcxx_cv_func__isnanf_use=no
60380 fi
60381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60382 ac_ext=c
60383 ac_cpp='$CPP $CPPFLAGS'
60384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60387
60388
60389 fi
60390
60391 fi
60392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60393 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60394
60395 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60396 for ac_func in _isnanf
60397 do :
60398 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60399 if test "x$ac_cv_func__isnanf" = x""yes; then :
60400 cat >>confdefs.h <<_ACEOF
60401 #define HAVE__ISNANF 1
60402 _ACEOF
60403
60404 fi
60405 done
60406
60407 fi
60408 fi
60409
60410
60411
60412
60413
60414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60415 $as_echo_n "checking for isinff declaration... " >&6; }
60416 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60417 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60418 $as_echo_n "(cached) " >&6
60419 else
60420
60421
60422 ac_ext=cpp
60423 ac_cpp='$CXXCPP $CPPFLAGS'
60424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60427
60428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60429 /* end confdefs.h. */
60430 #include <math.h>
60431 #ifdef HAVE_IEEEFP_H
60432 #include <ieeefp.h>
60433 #endif
60434
60435 int
60436 main ()
60437 {
60438 isinff(0);
60439 ;
60440 return 0;
60441 }
60442 _ACEOF
60443 if ac_fn_cxx_try_compile "$LINENO"; then :
60444 glibcxx_cv_func_isinff_use=yes
60445 else
60446 glibcxx_cv_func_isinff_use=no
60447 fi
60448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60449 ac_ext=c
60450 ac_cpp='$CPP $CPPFLAGS'
60451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60454
60455
60456 fi
60457
60458 fi
60459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60460 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60461
60462 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60463 for ac_func in isinff
60464 do :
60465 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60466 if test "x$ac_cv_func_isinff" = x""yes; then :
60467 cat >>confdefs.h <<_ACEOF
60468 #define HAVE_ISINFF 1
60469 _ACEOF
60470
60471 fi
60472 done
60473
60474 else
60475
60476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60477 $as_echo_n "checking for _isinff declaration... " >&6; }
60478 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60479 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60480 $as_echo_n "(cached) " >&6
60481 else
60482
60483
60484 ac_ext=cpp
60485 ac_cpp='$CXXCPP $CPPFLAGS'
60486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60489
60490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60491 /* end confdefs.h. */
60492 #include <math.h>
60493 #ifdef HAVE_IEEEFP_H
60494 #include <ieeefp.h>
60495 #endif
60496
60497 int
60498 main ()
60499 {
60500 _isinff(0);
60501 ;
60502 return 0;
60503 }
60504 _ACEOF
60505 if ac_fn_cxx_try_compile "$LINENO"; then :
60506 glibcxx_cv_func__isinff_use=yes
60507 else
60508 glibcxx_cv_func__isinff_use=no
60509 fi
60510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60511 ac_ext=c
60512 ac_cpp='$CPP $CPPFLAGS'
60513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60516
60517
60518 fi
60519
60520 fi
60521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60522 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60523
60524 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60525 for ac_func in _isinff
60526 do :
60527 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60528 if test "x$ac_cv_func__isinff" = x""yes; then :
60529 cat >>confdefs.h <<_ACEOF
60530 #define HAVE__ISINFF 1
60531 _ACEOF
60532
60533 fi
60534 done
60535
60536 fi
60537 fi
60538
60539
60540
60541
60542
60543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60544 $as_echo_n "checking for atan2f declaration... " >&6; }
60545 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60546 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60547 $as_echo_n "(cached) " >&6
60548 else
60549
60550
60551 ac_ext=cpp
60552 ac_cpp='$CXXCPP $CPPFLAGS'
60553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60556
60557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60558 /* end confdefs.h. */
60559 #include <math.h>
60560 int
60561 main ()
60562 {
60563 atan2f(0, 0);
60564 ;
60565 return 0;
60566 }
60567 _ACEOF
60568 if ac_fn_cxx_try_compile "$LINENO"; then :
60569 glibcxx_cv_func_atan2f_use=yes
60570 else
60571 glibcxx_cv_func_atan2f_use=no
60572 fi
60573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60574 ac_ext=c
60575 ac_cpp='$CPP $CPPFLAGS'
60576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60579
60580
60581 fi
60582
60583 fi
60584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60585 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60586
60587 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60588 for ac_func in atan2f
60589 do :
60590 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60591 if test "x$ac_cv_func_atan2f" = x""yes; then :
60592 cat >>confdefs.h <<_ACEOF
60593 #define HAVE_ATAN2F 1
60594 _ACEOF
60595
60596 fi
60597 done
60598
60599 else
60600
60601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60602 $as_echo_n "checking for _atan2f declaration... " >&6; }
60603 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60604 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60605 $as_echo_n "(cached) " >&6
60606 else
60607
60608
60609 ac_ext=cpp
60610 ac_cpp='$CXXCPP $CPPFLAGS'
60611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60614
60615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60616 /* end confdefs.h. */
60617 #include <math.h>
60618 int
60619 main ()
60620 {
60621 _atan2f(0, 0);
60622 ;
60623 return 0;
60624 }
60625 _ACEOF
60626 if ac_fn_cxx_try_compile "$LINENO"; then :
60627 glibcxx_cv_func__atan2f_use=yes
60628 else
60629 glibcxx_cv_func__atan2f_use=no
60630 fi
60631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60632 ac_ext=c
60633 ac_cpp='$CPP $CPPFLAGS'
60634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60637
60638
60639 fi
60640
60641 fi
60642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60643 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60644
60645 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60646 for ac_func in _atan2f
60647 do :
60648 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60649 if test "x$ac_cv_func__atan2f" = x""yes; then :
60650 cat >>confdefs.h <<_ACEOF
60651 #define HAVE__ATAN2F 1
60652 _ACEOF
60653
60654 fi
60655 done
60656
60657 fi
60658 fi
60659
60660
60661
60662
60663
60664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60665 $as_echo_n "checking for fabsf declaration... " >&6; }
60666 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60667 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60668 $as_echo_n "(cached) " >&6
60669 else
60670
60671
60672 ac_ext=cpp
60673 ac_cpp='$CXXCPP $CPPFLAGS'
60674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60677
60678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60679 /* end confdefs.h. */
60680 #include <math.h>
60681 #ifdef HAVE_IEEEFP_H
60682 #include <ieeefp.h>
60683 #endif
60684
60685 int
60686 main ()
60687 {
60688 fabsf(0);
60689 ;
60690 return 0;
60691 }
60692 _ACEOF
60693 if ac_fn_cxx_try_compile "$LINENO"; then :
60694 glibcxx_cv_func_fabsf_use=yes
60695 else
60696 glibcxx_cv_func_fabsf_use=no
60697 fi
60698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60699 ac_ext=c
60700 ac_cpp='$CPP $CPPFLAGS'
60701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60704
60705
60706 fi
60707
60708 fi
60709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60710 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60711
60712 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60713 for ac_func in fabsf
60714 do :
60715 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60716 if test "x$ac_cv_func_fabsf" = x""yes; then :
60717 cat >>confdefs.h <<_ACEOF
60718 #define HAVE_FABSF 1
60719 _ACEOF
60720
60721 fi
60722 done
60723
60724 else
60725
60726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60727 $as_echo_n "checking for _fabsf declaration... " >&6; }
60728 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60729 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60730 $as_echo_n "(cached) " >&6
60731 else
60732
60733
60734 ac_ext=cpp
60735 ac_cpp='$CXXCPP $CPPFLAGS'
60736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60739
60740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60741 /* end confdefs.h. */
60742 #include <math.h>
60743 #ifdef HAVE_IEEEFP_H
60744 #include <ieeefp.h>
60745 #endif
60746
60747 int
60748 main ()
60749 {
60750 _fabsf(0);
60751 ;
60752 return 0;
60753 }
60754 _ACEOF
60755 if ac_fn_cxx_try_compile "$LINENO"; then :
60756 glibcxx_cv_func__fabsf_use=yes
60757 else
60758 glibcxx_cv_func__fabsf_use=no
60759 fi
60760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60761 ac_ext=c
60762 ac_cpp='$CPP $CPPFLAGS'
60763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60766
60767
60768 fi
60769
60770 fi
60771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60772 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60773
60774 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60775 for ac_func in _fabsf
60776 do :
60777 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60778 if test "x$ac_cv_func__fabsf" = x""yes; then :
60779 cat >>confdefs.h <<_ACEOF
60780 #define HAVE__FABSF 1
60781 _ACEOF
60782
60783 fi
60784 done
60785
60786 fi
60787 fi
60788
60789
60790
60791
60792
60793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60794 $as_echo_n "checking for fmodf declaration... " >&6; }
60795 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60796 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60797 $as_echo_n "(cached) " >&6
60798 else
60799
60800
60801 ac_ext=cpp
60802 ac_cpp='$CXXCPP $CPPFLAGS'
60803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60806
60807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60808 /* end confdefs.h. */
60809 #include <math.h>
60810 int
60811 main ()
60812 {
60813 fmodf(0, 0);
60814 ;
60815 return 0;
60816 }
60817 _ACEOF
60818 if ac_fn_cxx_try_compile "$LINENO"; then :
60819 glibcxx_cv_func_fmodf_use=yes
60820 else
60821 glibcxx_cv_func_fmodf_use=no
60822 fi
60823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60824 ac_ext=c
60825 ac_cpp='$CPP $CPPFLAGS'
60826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60829
60830
60831 fi
60832
60833 fi
60834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60835 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60836
60837 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60838 for ac_func in fmodf
60839 do :
60840 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60841 if test "x$ac_cv_func_fmodf" = x""yes; then :
60842 cat >>confdefs.h <<_ACEOF
60843 #define HAVE_FMODF 1
60844 _ACEOF
60845
60846 fi
60847 done
60848
60849 else
60850
60851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60852 $as_echo_n "checking for _fmodf declaration... " >&6; }
60853 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60854 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60855 $as_echo_n "(cached) " >&6
60856 else
60857
60858
60859 ac_ext=cpp
60860 ac_cpp='$CXXCPP $CPPFLAGS'
60861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60864
60865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60866 /* end confdefs.h. */
60867 #include <math.h>
60868 int
60869 main ()
60870 {
60871 _fmodf(0, 0);
60872 ;
60873 return 0;
60874 }
60875 _ACEOF
60876 if ac_fn_cxx_try_compile "$LINENO"; then :
60877 glibcxx_cv_func__fmodf_use=yes
60878 else
60879 glibcxx_cv_func__fmodf_use=no
60880 fi
60881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60882 ac_ext=c
60883 ac_cpp='$CPP $CPPFLAGS'
60884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60887
60888
60889 fi
60890
60891 fi
60892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60893 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60894
60895 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60896 for ac_func in _fmodf
60897 do :
60898 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60899 if test "x$ac_cv_func__fmodf" = x""yes; then :
60900 cat >>confdefs.h <<_ACEOF
60901 #define HAVE__FMODF 1
60902 _ACEOF
60903
60904 fi
60905 done
60906
60907 fi
60908 fi
60909
60910
60911
60912
60913
60914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60915 $as_echo_n "checking for frexpf declaration... " >&6; }
60916 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60917 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60918 $as_echo_n "(cached) " >&6
60919 else
60920
60921
60922 ac_ext=cpp
60923 ac_cpp='$CXXCPP $CPPFLAGS'
60924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60927
60928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60929 /* end confdefs.h. */
60930 #include <math.h>
60931 int
60932 main ()
60933 {
60934 frexpf(0, 0);
60935 ;
60936 return 0;
60937 }
60938 _ACEOF
60939 if ac_fn_cxx_try_compile "$LINENO"; then :
60940 glibcxx_cv_func_frexpf_use=yes
60941 else
60942 glibcxx_cv_func_frexpf_use=no
60943 fi
60944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60945 ac_ext=c
60946 ac_cpp='$CPP $CPPFLAGS'
60947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60950
60951
60952 fi
60953
60954 fi
60955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60956 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60957
60958 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60959 for ac_func in frexpf
60960 do :
60961 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60962 if test "x$ac_cv_func_frexpf" = x""yes; then :
60963 cat >>confdefs.h <<_ACEOF
60964 #define HAVE_FREXPF 1
60965 _ACEOF
60966
60967 fi
60968 done
60969
60970 else
60971
60972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60973 $as_echo_n "checking for _frexpf declaration... " >&6; }
60974 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60975 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60976 $as_echo_n "(cached) " >&6
60977 else
60978
60979
60980 ac_ext=cpp
60981 ac_cpp='$CXXCPP $CPPFLAGS'
60982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60985
60986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60987 /* end confdefs.h. */
60988 #include <math.h>
60989 int
60990 main ()
60991 {
60992 _frexpf(0, 0);
60993 ;
60994 return 0;
60995 }
60996 _ACEOF
60997 if ac_fn_cxx_try_compile "$LINENO"; then :
60998 glibcxx_cv_func__frexpf_use=yes
60999 else
61000 glibcxx_cv_func__frexpf_use=no
61001 fi
61002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61003 ac_ext=c
61004 ac_cpp='$CPP $CPPFLAGS'
61005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61008
61009
61010 fi
61011
61012 fi
61013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61014 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61015
61016 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61017 for ac_func in _frexpf
61018 do :
61019 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61020 if test "x$ac_cv_func__frexpf" = x""yes; then :
61021 cat >>confdefs.h <<_ACEOF
61022 #define HAVE__FREXPF 1
61023 _ACEOF
61024
61025 fi
61026 done
61027
61028 fi
61029 fi
61030
61031
61032
61033
61034
61035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61036 $as_echo_n "checking for hypotf declaration... " >&6; }
61037 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61038 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61039 $as_echo_n "(cached) " >&6
61040 else
61041
61042
61043 ac_ext=cpp
61044 ac_cpp='$CXXCPP $CPPFLAGS'
61045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61048
61049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61050 /* end confdefs.h. */
61051 #include <math.h>
61052 int
61053 main ()
61054 {
61055 hypotf(0, 0);
61056 ;
61057 return 0;
61058 }
61059 _ACEOF
61060 if ac_fn_cxx_try_compile "$LINENO"; then :
61061 glibcxx_cv_func_hypotf_use=yes
61062 else
61063 glibcxx_cv_func_hypotf_use=no
61064 fi
61065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61066 ac_ext=c
61067 ac_cpp='$CPP $CPPFLAGS'
61068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61071
61072
61073 fi
61074
61075 fi
61076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61077 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61078
61079 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61080 for ac_func in hypotf
61081 do :
61082 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61083 if test "x$ac_cv_func_hypotf" = x""yes; then :
61084 cat >>confdefs.h <<_ACEOF
61085 #define HAVE_HYPOTF 1
61086 _ACEOF
61087
61088 fi
61089 done
61090
61091 else
61092
61093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61094 $as_echo_n "checking for _hypotf declaration... " >&6; }
61095 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61096 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61097 $as_echo_n "(cached) " >&6
61098 else
61099
61100
61101 ac_ext=cpp
61102 ac_cpp='$CXXCPP $CPPFLAGS'
61103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61106
61107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61108 /* end confdefs.h. */
61109 #include <math.h>
61110 int
61111 main ()
61112 {
61113 _hypotf(0, 0);
61114 ;
61115 return 0;
61116 }
61117 _ACEOF
61118 if ac_fn_cxx_try_compile "$LINENO"; then :
61119 glibcxx_cv_func__hypotf_use=yes
61120 else
61121 glibcxx_cv_func__hypotf_use=no
61122 fi
61123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61124 ac_ext=c
61125 ac_cpp='$CPP $CPPFLAGS'
61126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61129
61130
61131 fi
61132
61133 fi
61134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61135 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61136
61137 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61138 for ac_func in _hypotf
61139 do :
61140 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61141 if test "x$ac_cv_func__hypotf" = x""yes; then :
61142 cat >>confdefs.h <<_ACEOF
61143 #define HAVE__HYPOTF 1
61144 _ACEOF
61145
61146 fi
61147 done
61148
61149 fi
61150 fi
61151
61152
61153
61154
61155
61156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61157 $as_echo_n "checking for ldexpf declaration... " >&6; }
61158 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61159 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61160 $as_echo_n "(cached) " >&6
61161 else
61162
61163
61164 ac_ext=cpp
61165 ac_cpp='$CXXCPP $CPPFLAGS'
61166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61169
61170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61171 /* end confdefs.h. */
61172 #include <math.h>
61173 int
61174 main ()
61175 {
61176 ldexpf(0, 0);
61177 ;
61178 return 0;
61179 }
61180 _ACEOF
61181 if ac_fn_cxx_try_compile "$LINENO"; then :
61182 glibcxx_cv_func_ldexpf_use=yes
61183 else
61184 glibcxx_cv_func_ldexpf_use=no
61185 fi
61186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61187 ac_ext=c
61188 ac_cpp='$CPP $CPPFLAGS'
61189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61192
61193
61194 fi
61195
61196 fi
61197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61198 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61199
61200 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61201 for ac_func in ldexpf
61202 do :
61203 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61204 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61205 cat >>confdefs.h <<_ACEOF
61206 #define HAVE_LDEXPF 1
61207 _ACEOF
61208
61209 fi
61210 done
61211
61212 else
61213
61214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61215 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61216 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61217 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61218 $as_echo_n "(cached) " >&6
61219 else
61220
61221
61222 ac_ext=cpp
61223 ac_cpp='$CXXCPP $CPPFLAGS'
61224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61227
61228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61229 /* end confdefs.h. */
61230 #include <math.h>
61231 int
61232 main ()
61233 {
61234 _ldexpf(0, 0);
61235 ;
61236 return 0;
61237 }
61238 _ACEOF
61239 if ac_fn_cxx_try_compile "$LINENO"; then :
61240 glibcxx_cv_func__ldexpf_use=yes
61241 else
61242 glibcxx_cv_func__ldexpf_use=no
61243 fi
61244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61245 ac_ext=c
61246 ac_cpp='$CPP $CPPFLAGS'
61247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61250
61251
61252 fi
61253
61254 fi
61255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61256 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61257
61258 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61259 for ac_func in _ldexpf
61260 do :
61261 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61262 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61263 cat >>confdefs.h <<_ACEOF
61264 #define HAVE__LDEXPF 1
61265 _ACEOF
61266
61267 fi
61268 done
61269
61270 fi
61271 fi
61272
61273
61274
61275
61276
61277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61278 $as_echo_n "checking for logf declaration... " >&6; }
61279 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61280 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61281 $as_echo_n "(cached) " >&6
61282 else
61283
61284
61285 ac_ext=cpp
61286 ac_cpp='$CXXCPP $CPPFLAGS'
61287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61290
61291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61292 /* end confdefs.h. */
61293 #include <math.h>
61294 #ifdef HAVE_IEEEFP_H
61295 #include <ieeefp.h>
61296 #endif
61297
61298 int
61299 main ()
61300 {
61301 logf(0);
61302 ;
61303 return 0;
61304 }
61305 _ACEOF
61306 if ac_fn_cxx_try_compile "$LINENO"; then :
61307 glibcxx_cv_func_logf_use=yes
61308 else
61309 glibcxx_cv_func_logf_use=no
61310 fi
61311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61312 ac_ext=c
61313 ac_cpp='$CPP $CPPFLAGS'
61314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61317
61318
61319 fi
61320
61321 fi
61322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61323 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61324
61325 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61326 for ac_func in logf
61327 do :
61328 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61329 if test "x$ac_cv_func_logf" = x""yes; then :
61330 cat >>confdefs.h <<_ACEOF
61331 #define HAVE_LOGF 1
61332 _ACEOF
61333
61334 fi
61335 done
61336
61337 else
61338
61339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61340 $as_echo_n "checking for _logf declaration... " >&6; }
61341 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61342 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61343 $as_echo_n "(cached) " >&6
61344 else
61345
61346
61347 ac_ext=cpp
61348 ac_cpp='$CXXCPP $CPPFLAGS'
61349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61352
61353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61354 /* end confdefs.h. */
61355 #include <math.h>
61356 #ifdef HAVE_IEEEFP_H
61357 #include <ieeefp.h>
61358 #endif
61359
61360 int
61361 main ()
61362 {
61363 _logf(0);
61364 ;
61365 return 0;
61366 }
61367 _ACEOF
61368 if ac_fn_cxx_try_compile "$LINENO"; then :
61369 glibcxx_cv_func__logf_use=yes
61370 else
61371 glibcxx_cv_func__logf_use=no
61372 fi
61373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61374 ac_ext=c
61375 ac_cpp='$CPP $CPPFLAGS'
61376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61379
61380
61381 fi
61382
61383 fi
61384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61385 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61386
61387 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61388 for ac_func in _logf
61389 do :
61390 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61391 if test "x$ac_cv_func__logf" = x""yes; then :
61392 cat >>confdefs.h <<_ACEOF
61393 #define HAVE__LOGF 1
61394 _ACEOF
61395
61396 fi
61397 done
61398
61399 fi
61400 fi
61401
61402
61403
61404
61405
61406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61407 $as_echo_n "checking for log10f declaration... " >&6; }
61408 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61409 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61410 $as_echo_n "(cached) " >&6
61411 else
61412
61413
61414 ac_ext=cpp
61415 ac_cpp='$CXXCPP $CPPFLAGS'
61416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61419
61420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61421 /* end confdefs.h. */
61422 #include <math.h>
61423 #ifdef HAVE_IEEEFP_H
61424 #include <ieeefp.h>
61425 #endif
61426
61427 int
61428 main ()
61429 {
61430 log10f(0);
61431 ;
61432 return 0;
61433 }
61434 _ACEOF
61435 if ac_fn_cxx_try_compile "$LINENO"; then :
61436 glibcxx_cv_func_log10f_use=yes
61437 else
61438 glibcxx_cv_func_log10f_use=no
61439 fi
61440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61441 ac_ext=c
61442 ac_cpp='$CPP $CPPFLAGS'
61443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61446
61447
61448 fi
61449
61450 fi
61451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61452 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61453
61454 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61455 for ac_func in log10f
61456 do :
61457 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61458 if test "x$ac_cv_func_log10f" = x""yes; then :
61459 cat >>confdefs.h <<_ACEOF
61460 #define HAVE_LOG10F 1
61461 _ACEOF
61462
61463 fi
61464 done
61465
61466 else
61467
61468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61469 $as_echo_n "checking for _log10f declaration... " >&6; }
61470 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61471 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61472 $as_echo_n "(cached) " >&6
61473 else
61474
61475
61476 ac_ext=cpp
61477 ac_cpp='$CXXCPP $CPPFLAGS'
61478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61481
61482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61483 /* end confdefs.h. */
61484 #include <math.h>
61485 #ifdef HAVE_IEEEFP_H
61486 #include <ieeefp.h>
61487 #endif
61488
61489 int
61490 main ()
61491 {
61492 _log10f(0);
61493 ;
61494 return 0;
61495 }
61496 _ACEOF
61497 if ac_fn_cxx_try_compile "$LINENO"; then :
61498 glibcxx_cv_func__log10f_use=yes
61499 else
61500 glibcxx_cv_func__log10f_use=no
61501 fi
61502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61503 ac_ext=c
61504 ac_cpp='$CPP $CPPFLAGS'
61505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61508
61509
61510 fi
61511
61512 fi
61513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61514 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61515
61516 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61517 for ac_func in _log10f
61518 do :
61519 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61520 if test "x$ac_cv_func__log10f" = x""yes; then :
61521 cat >>confdefs.h <<_ACEOF
61522 #define HAVE__LOG10F 1
61523 _ACEOF
61524
61525 fi
61526 done
61527
61528 fi
61529 fi
61530
61531
61532
61533
61534
61535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61536 $as_echo_n "checking for modff declaration... " >&6; }
61537 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61538 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61539 $as_echo_n "(cached) " >&6
61540 else
61541
61542
61543 ac_ext=cpp
61544 ac_cpp='$CXXCPP $CPPFLAGS'
61545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61548
61549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61550 /* end confdefs.h. */
61551 #include <math.h>
61552 int
61553 main ()
61554 {
61555 modff(0, 0);
61556 ;
61557 return 0;
61558 }
61559 _ACEOF
61560 if ac_fn_cxx_try_compile "$LINENO"; then :
61561 glibcxx_cv_func_modff_use=yes
61562 else
61563 glibcxx_cv_func_modff_use=no
61564 fi
61565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61566 ac_ext=c
61567 ac_cpp='$CPP $CPPFLAGS'
61568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61571
61572
61573 fi
61574
61575 fi
61576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61577 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61578
61579 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61580 for ac_func in modff
61581 do :
61582 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61583 if test "x$ac_cv_func_modff" = x""yes; then :
61584 cat >>confdefs.h <<_ACEOF
61585 #define HAVE_MODFF 1
61586 _ACEOF
61587
61588 fi
61589 done
61590
61591 else
61592
61593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61594 $as_echo_n "checking for _modff declaration... " >&6; }
61595 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61596 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61597 $as_echo_n "(cached) " >&6
61598 else
61599
61600
61601 ac_ext=cpp
61602 ac_cpp='$CXXCPP $CPPFLAGS'
61603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61606
61607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61608 /* end confdefs.h. */
61609 #include <math.h>
61610 int
61611 main ()
61612 {
61613 _modff(0, 0);
61614 ;
61615 return 0;
61616 }
61617 _ACEOF
61618 if ac_fn_cxx_try_compile "$LINENO"; then :
61619 glibcxx_cv_func__modff_use=yes
61620 else
61621 glibcxx_cv_func__modff_use=no
61622 fi
61623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61624 ac_ext=c
61625 ac_cpp='$CPP $CPPFLAGS'
61626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61629
61630
61631 fi
61632
61633 fi
61634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61635 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61636
61637 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61638 for ac_func in _modff
61639 do :
61640 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61641 if test "x$ac_cv_func__modff" = x""yes; then :
61642 cat >>confdefs.h <<_ACEOF
61643 #define HAVE__MODFF 1
61644 _ACEOF
61645
61646 fi
61647 done
61648
61649 fi
61650 fi
61651
61652
61653
61654
61655
61656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61657 $as_echo_n "checking for modf declaration... " >&6; }
61658 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61659 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61660 $as_echo_n "(cached) " >&6
61661 else
61662
61663
61664 ac_ext=cpp
61665 ac_cpp='$CXXCPP $CPPFLAGS'
61666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61669
61670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61671 /* end confdefs.h. */
61672 #include <math.h>
61673 int
61674 main ()
61675 {
61676 modf(0, 0);
61677 ;
61678 return 0;
61679 }
61680 _ACEOF
61681 if ac_fn_cxx_try_compile "$LINENO"; then :
61682 glibcxx_cv_func_modf_use=yes
61683 else
61684 glibcxx_cv_func_modf_use=no
61685 fi
61686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61687 ac_ext=c
61688 ac_cpp='$CPP $CPPFLAGS'
61689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61692
61693
61694 fi
61695
61696 fi
61697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61698 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61699
61700 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61701 for ac_func in modf
61702 do :
61703 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61704 if test "x$ac_cv_func_modf" = x""yes; then :
61705 cat >>confdefs.h <<_ACEOF
61706 #define HAVE_MODF 1
61707 _ACEOF
61708
61709 fi
61710 done
61711
61712 else
61713
61714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61715 $as_echo_n "checking for _modf declaration... " >&6; }
61716 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61717 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61718 $as_echo_n "(cached) " >&6
61719 else
61720
61721
61722 ac_ext=cpp
61723 ac_cpp='$CXXCPP $CPPFLAGS'
61724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61727
61728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61729 /* end confdefs.h. */
61730 #include <math.h>
61731 int
61732 main ()
61733 {
61734 _modf(0, 0);
61735 ;
61736 return 0;
61737 }
61738 _ACEOF
61739 if ac_fn_cxx_try_compile "$LINENO"; then :
61740 glibcxx_cv_func__modf_use=yes
61741 else
61742 glibcxx_cv_func__modf_use=no
61743 fi
61744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61745 ac_ext=c
61746 ac_cpp='$CPP $CPPFLAGS'
61747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61750
61751
61752 fi
61753
61754 fi
61755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61756 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61757
61758 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61759 for ac_func in _modf
61760 do :
61761 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61762 if test "x$ac_cv_func__modf" = x""yes; then :
61763 cat >>confdefs.h <<_ACEOF
61764 #define HAVE__MODF 1
61765 _ACEOF
61766
61767 fi
61768 done
61769
61770 fi
61771 fi
61772
61773
61774
61775
61776
61777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61778 $as_echo_n "checking for powf declaration... " >&6; }
61779 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61780 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61781 $as_echo_n "(cached) " >&6
61782 else
61783
61784
61785 ac_ext=cpp
61786 ac_cpp='$CXXCPP $CPPFLAGS'
61787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61790
61791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61792 /* end confdefs.h. */
61793 #include <math.h>
61794 int
61795 main ()
61796 {
61797 powf(0, 0);
61798 ;
61799 return 0;
61800 }
61801 _ACEOF
61802 if ac_fn_cxx_try_compile "$LINENO"; then :
61803 glibcxx_cv_func_powf_use=yes
61804 else
61805 glibcxx_cv_func_powf_use=no
61806 fi
61807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61808 ac_ext=c
61809 ac_cpp='$CPP $CPPFLAGS'
61810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61813
61814
61815 fi
61816
61817 fi
61818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61819 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61820
61821 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61822 for ac_func in powf
61823 do :
61824 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61825 if test "x$ac_cv_func_powf" = x""yes; then :
61826 cat >>confdefs.h <<_ACEOF
61827 #define HAVE_POWF 1
61828 _ACEOF
61829
61830 fi
61831 done
61832
61833 else
61834
61835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61836 $as_echo_n "checking for _powf declaration... " >&6; }
61837 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61838 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61839 $as_echo_n "(cached) " >&6
61840 else
61841
61842
61843 ac_ext=cpp
61844 ac_cpp='$CXXCPP $CPPFLAGS'
61845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61848
61849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61850 /* end confdefs.h. */
61851 #include <math.h>
61852 int
61853 main ()
61854 {
61855 _powf(0, 0);
61856 ;
61857 return 0;
61858 }
61859 _ACEOF
61860 if ac_fn_cxx_try_compile "$LINENO"; then :
61861 glibcxx_cv_func__powf_use=yes
61862 else
61863 glibcxx_cv_func__powf_use=no
61864 fi
61865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61866 ac_ext=c
61867 ac_cpp='$CPP $CPPFLAGS'
61868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61871
61872
61873 fi
61874
61875 fi
61876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61877 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61878
61879 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61880 for ac_func in _powf
61881 do :
61882 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61883 if test "x$ac_cv_func__powf" = x""yes; then :
61884 cat >>confdefs.h <<_ACEOF
61885 #define HAVE__POWF 1
61886 _ACEOF
61887
61888 fi
61889 done
61890
61891 fi
61892 fi
61893
61894
61895
61896
61897
61898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61899 $as_echo_n "checking for sqrtf declaration... " >&6; }
61900 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61901 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61902 $as_echo_n "(cached) " >&6
61903 else
61904
61905
61906 ac_ext=cpp
61907 ac_cpp='$CXXCPP $CPPFLAGS'
61908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61911
61912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61913 /* end confdefs.h. */
61914 #include <math.h>
61915 #ifdef HAVE_IEEEFP_H
61916 #include <ieeefp.h>
61917 #endif
61918
61919 int
61920 main ()
61921 {
61922 sqrtf(0);
61923 ;
61924 return 0;
61925 }
61926 _ACEOF
61927 if ac_fn_cxx_try_compile "$LINENO"; then :
61928 glibcxx_cv_func_sqrtf_use=yes
61929 else
61930 glibcxx_cv_func_sqrtf_use=no
61931 fi
61932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61933 ac_ext=c
61934 ac_cpp='$CPP $CPPFLAGS'
61935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61938
61939
61940 fi
61941
61942 fi
61943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61944 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61945
61946 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61947 for ac_func in sqrtf
61948 do :
61949 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61950 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61951 cat >>confdefs.h <<_ACEOF
61952 #define HAVE_SQRTF 1
61953 _ACEOF
61954
61955 fi
61956 done
61957
61958 else
61959
61960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61961 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61962 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61963 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61964 $as_echo_n "(cached) " >&6
61965 else
61966
61967
61968 ac_ext=cpp
61969 ac_cpp='$CXXCPP $CPPFLAGS'
61970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61973
61974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61975 /* end confdefs.h. */
61976 #include <math.h>
61977 #ifdef HAVE_IEEEFP_H
61978 #include <ieeefp.h>
61979 #endif
61980
61981 int
61982 main ()
61983 {
61984 _sqrtf(0);
61985 ;
61986 return 0;
61987 }
61988 _ACEOF
61989 if ac_fn_cxx_try_compile "$LINENO"; then :
61990 glibcxx_cv_func__sqrtf_use=yes
61991 else
61992 glibcxx_cv_func__sqrtf_use=no
61993 fi
61994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61995 ac_ext=c
61996 ac_cpp='$CPP $CPPFLAGS'
61997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62000
62001
62002 fi
62003
62004 fi
62005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62006 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62007
62008 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62009 for ac_func in _sqrtf
62010 do :
62011 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62012 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62013 cat >>confdefs.h <<_ACEOF
62014 #define HAVE__SQRTF 1
62015 _ACEOF
62016
62017 fi
62018 done
62019
62020 fi
62021 fi
62022
62023
62024
62025
62026
62027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62028 $as_echo_n "checking for sincosf declaration... " >&6; }
62029 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62030 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62031 $as_echo_n "(cached) " >&6
62032 else
62033
62034
62035 ac_ext=cpp
62036 ac_cpp='$CXXCPP $CPPFLAGS'
62037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62040
62041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62042 /* end confdefs.h. */
62043 #include <math.h>
62044 int
62045 main ()
62046 {
62047 sincosf(0, 0, 0);
62048 ;
62049 return 0;
62050 }
62051 _ACEOF
62052 if ac_fn_cxx_try_compile "$LINENO"; then :
62053 glibcxx_cv_func_sincosf_use=yes
62054 else
62055 glibcxx_cv_func_sincosf_use=no
62056 fi
62057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62058 ac_ext=c
62059 ac_cpp='$CPP $CPPFLAGS'
62060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62063
62064
62065 fi
62066
62067 fi
62068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62069 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62070
62071 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62072 for ac_func in sincosf
62073 do :
62074 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62075 if test "x$ac_cv_func_sincosf" = x""yes; then :
62076 cat >>confdefs.h <<_ACEOF
62077 #define HAVE_SINCOSF 1
62078 _ACEOF
62079
62080 fi
62081 done
62082
62083 else
62084
62085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62086 $as_echo_n "checking for _sincosf declaration... " >&6; }
62087 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62088 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62089 $as_echo_n "(cached) " >&6
62090 else
62091
62092
62093 ac_ext=cpp
62094 ac_cpp='$CXXCPP $CPPFLAGS'
62095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62098
62099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62100 /* end confdefs.h. */
62101 #include <math.h>
62102 int
62103 main ()
62104 {
62105 _sincosf(0, 0, 0);
62106 ;
62107 return 0;
62108 }
62109 _ACEOF
62110 if ac_fn_cxx_try_compile "$LINENO"; then :
62111 glibcxx_cv_func__sincosf_use=yes
62112 else
62113 glibcxx_cv_func__sincosf_use=no
62114 fi
62115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62116 ac_ext=c
62117 ac_cpp='$CPP $CPPFLAGS'
62118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62121
62122
62123 fi
62124
62125 fi
62126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62127 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62128
62129 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62130 for ac_func in _sincosf
62131 do :
62132 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62133 if test "x$ac_cv_func__sincosf" = x""yes; then :
62134 cat >>confdefs.h <<_ACEOF
62135 #define HAVE__SINCOSF 1
62136 _ACEOF
62137
62138 fi
62139 done
62140
62141 fi
62142 fi
62143
62144
62145
62146
62147
62148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62149 $as_echo_n "checking for finitef declaration... " >&6; }
62150 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62151 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62152 $as_echo_n "(cached) " >&6
62153 else
62154
62155
62156 ac_ext=cpp
62157 ac_cpp='$CXXCPP $CPPFLAGS'
62158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62161
62162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62163 /* end confdefs.h. */
62164 #include <math.h>
62165 #ifdef HAVE_IEEEFP_H
62166 #include <ieeefp.h>
62167 #endif
62168
62169 int
62170 main ()
62171 {
62172 finitef(0);
62173 ;
62174 return 0;
62175 }
62176 _ACEOF
62177 if ac_fn_cxx_try_compile "$LINENO"; then :
62178 glibcxx_cv_func_finitef_use=yes
62179 else
62180 glibcxx_cv_func_finitef_use=no
62181 fi
62182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62183 ac_ext=c
62184 ac_cpp='$CPP $CPPFLAGS'
62185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62188
62189
62190 fi
62191
62192 fi
62193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62194 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62195
62196 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62197 for ac_func in finitef
62198 do :
62199 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62200 if test "x$ac_cv_func_finitef" = x""yes; then :
62201 cat >>confdefs.h <<_ACEOF
62202 #define HAVE_FINITEF 1
62203 _ACEOF
62204
62205 fi
62206 done
62207
62208 else
62209
62210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62211 $as_echo_n "checking for _finitef declaration... " >&6; }
62212 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62213 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62214 $as_echo_n "(cached) " >&6
62215 else
62216
62217
62218 ac_ext=cpp
62219 ac_cpp='$CXXCPP $CPPFLAGS'
62220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62223
62224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62225 /* end confdefs.h. */
62226 #include <math.h>
62227 #ifdef HAVE_IEEEFP_H
62228 #include <ieeefp.h>
62229 #endif
62230
62231 int
62232 main ()
62233 {
62234 _finitef(0);
62235 ;
62236 return 0;
62237 }
62238 _ACEOF
62239 if ac_fn_cxx_try_compile "$LINENO"; then :
62240 glibcxx_cv_func__finitef_use=yes
62241 else
62242 glibcxx_cv_func__finitef_use=no
62243 fi
62244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62245 ac_ext=c
62246 ac_cpp='$CPP $CPPFLAGS'
62247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62250
62251
62252 fi
62253
62254 fi
62255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62256 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62257
62258 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62259 for ac_func in _finitef
62260 do :
62261 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62262 if test "x$ac_cv_func__finitef" = x""yes; then :
62263 cat >>confdefs.h <<_ACEOF
62264 #define HAVE__FINITEF 1
62265 _ACEOF
62266
62267 fi
62268 done
62269
62270 fi
62271 fi
62272
62273
62274
62275
62276
62277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62278 $as_echo_n "checking for long double trig functions... " >&6; }
62279 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62280 $as_echo_n "(cached) " >&6
62281 else
62282
62283
62284 ac_ext=cpp
62285 ac_cpp='$CXXCPP $CPPFLAGS'
62286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62289
62290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62291 /* end confdefs.h. */
62292 #include <math.h>
62293 int
62294 main ()
62295 {
62296 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62297 ;
62298 return 0;
62299 }
62300 _ACEOF
62301 if ac_fn_cxx_try_compile "$LINENO"; then :
62302 glibcxx_cv_func_long_double_trig_use=yes
62303 else
62304 glibcxx_cv_func_long_double_trig_use=no
62305 fi
62306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62307 ac_ext=c
62308 ac_cpp='$CPP $CPPFLAGS'
62309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62312
62313 fi
62314
62315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62316 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62317 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62318 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62319 do :
62320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62321 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62322 eval as_val=\$$as_ac_var
62323 if test "x$as_val" = x""yes; then :
62324 cat >>confdefs.h <<_ACEOF
62325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62326 _ACEOF
62327
62328 fi
62329 done
62330
62331 else
62332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62333 $as_echo_n "checking for _long double trig functions... " >&6; }
62334 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62335 $as_echo_n "(cached) " >&6
62336 else
62337
62338
62339 ac_ext=cpp
62340 ac_cpp='$CXXCPP $CPPFLAGS'
62341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62344
62345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62346 /* end confdefs.h. */
62347 #include <math.h>
62348 int
62349 main ()
62350 {
62351 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62352 ;
62353 return 0;
62354 }
62355 _ACEOF
62356 if ac_fn_cxx_try_compile "$LINENO"; then :
62357 glibcxx_cv_func__long_double_trig_use=yes
62358 else
62359 glibcxx_cv_func__long_double_trig_use=no
62360 fi
62361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62362 ac_ext=c
62363 ac_cpp='$CPP $CPPFLAGS'
62364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62367
62368 fi
62369
62370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62371 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62372 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62373 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62374 do :
62375 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62376 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62377 eval as_val=\$$as_ac_var
62378 if test "x$as_val" = x""yes; then :
62379 cat >>confdefs.h <<_ACEOF
62380 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62381 _ACEOF
62382
62383 fi
62384 done
62385
62386 fi
62387 fi
62388
62389
62390
62391
62392
62393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62394 $as_echo_n "checking for long double round functions... " >&6; }
62395 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62396 $as_echo_n "(cached) " >&6
62397 else
62398
62399
62400 ac_ext=cpp
62401 ac_cpp='$CXXCPP $CPPFLAGS'
62402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62405
62406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62407 /* end confdefs.h. */
62408 #include <math.h>
62409 int
62410 main ()
62411 {
62412 ceill (0); floorl (0);
62413 ;
62414 return 0;
62415 }
62416 _ACEOF
62417 if ac_fn_cxx_try_compile "$LINENO"; then :
62418 glibcxx_cv_func_long_double_round_use=yes
62419 else
62420 glibcxx_cv_func_long_double_round_use=no
62421 fi
62422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62423 ac_ext=c
62424 ac_cpp='$CPP $CPPFLAGS'
62425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62428
62429 fi
62430
62431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62432 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62433 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62434 for ac_func in ceill floorl
62435 do :
62436 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62437 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62438 eval as_val=\$$as_ac_var
62439 if test "x$as_val" = x""yes; then :
62440 cat >>confdefs.h <<_ACEOF
62441 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62442 _ACEOF
62443
62444 fi
62445 done
62446
62447 else
62448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62449 $as_echo_n "checking for _long double round functions... " >&6; }
62450 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62451 $as_echo_n "(cached) " >&6
62452 else
62453
62454
62455 ac_ext=cpp
62456 ac_cpp='$CXXCPP $CPPFLAGS'
62457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62460
62461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62462 /* end confdefs.h. */
62463 #include <math.h>
62464 int
62465 main ()
62466 {
62467 _ceill (0); _floorl (0);
62468 ;
62469 return 0;
62470 }
62471 _ACEOF
62472 if ac_fn_cxx_try_compile "$LINENO"; then :
62473 glibcxx_cv_func__long_double_round_use=yes
62474 else
62475 glibcxx_cv_func__long_double_round_use=no
62476 fi
62477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62478 ac_ext=c
62479 ac_cpp='$CPP $CPPFLAGS'
62480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62483
62484 fi
62485
62486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62487 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62488 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62489 for ac_func in _ceill _floorl
62490 do :
62491 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62492 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62493 eval as_val=\$$as_ac_var
62494 if test "x$as_val" = x""yes; then :
62495 cat >>confdefs.h <<_ACEOF
62496 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62497 _ACEOF
62498
62499 fi
62500 done
62501
62502 fi
62503 fi
62504
62505
62506
62507
62508
62509
62510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62511 $as_echo_n "checking for isnanl declaration... " >&6; }
62512 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62513 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62514 $as_echo_n "(cached) " >&6
62515 else
62516
62517
62518 ac_ext=cpp
62519 ac_cpp='$CXXCPP $CPPFLAGS'
62520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62523
62524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62525 /* end confdefs.h. */
62526 #include <math.h>
62527 #ifdef HAVE_IEEEFP_H
62528 #include <ieeefp.h>
62529 #endif
62530
62531 int
62532 main ()
62533 {
62534 isnanl(0);
62535 ;
62536 return 0;
62537 }
62538 _ACEOF
62539 if ac_fn_cxx_try_compile "$LINENO"; then :
62540 glibcxx_cv_func_isnanl_use=yes
62541 else
62542 glibcxx_cv_func_isnanl_use=no
62543 fi
62544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62545 ac_ext=c
62546 ac_cpp='$CPP $CPPFLAGS'
62547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62550
62551
62552 fi
62553
62554 fi
62555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62556 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62557
62558 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62559 for ac_func in isnanl
62560 do :
62561 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62562 if test "x$ac_cv_func_isnanl" = x""yes; then :
62563 cat >>confdefs.h <<_ACEOF
62564 #define HAVE_ISNANL 1
62565 _ACEOF
62566
62567 fi
62568 done
62569
62570 else
62571
62572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62573 $as_echo_n "checking for _isnanl declaration... " >&6; }
62574 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62575 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62576 $as_echo_n "(cached) " >&6
62577 else
62578
62579
62580 ac_ext=cpp
62581 ac_cpp='$CXXCPP $CPPFLAGS'
62582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62585
62586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62587 /* end confdefs.h. */
62588 #include <math.h>
62589 #ifdef HAVE_IEEEFP_H
62590 #include <ieeefp.h>
62591 #endif
62592
62593 int
62594 main ()
62595 {
62596 _isnanl(0);
62597 ;
62598 return 0;
62599 }
62600 _ACEOF
62601 if ac_fn_cxx_try_compile "$LINENO"; then :
62602 glibcxx_cv_func__isnanl_use=yes
62603 else
62604 glibcxx_cv_func__isnanl_use=no
62605 fi
62606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62607 ac_ext=c
62608 ac_cpp='$CPP $CPPFLAGS'
62609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62612
62613
62614 fi
62615
62616 fi
62617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62618 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62619
62620 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62621 for ac_func in _isnanl
62622 do :
62623 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62624 if test "x$ac_cv_func__isnanl" = x""yes; then :
62625 cat >>confdefs.h <<_ACEOF
62626 #define HAVE__ISNANL 1
62627 _ACEOF
62628
62629 fi
62630 done
62631
62632 fi
62633 fi
62634
62635
62636
62637
62638
62639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62640 $as_echo_n "checking for isinfl declaration... " >&6; }
62641 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62642 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62643 $as_echo_n "(cached) " >&6
62644 else
62645
62646
62647 ac_ext=cpp
62648 ac_cpp='$CXXCPP $CPPFLAGS'
62649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62652
62653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62654 /* end confdefs.h. */
62655 #include <math.h>
62656 #ifdef HAVE_IEEEFP_H
62657 #include <ieeefp.h>
62658 #endif
62659
62660 int
62661 main ()
62662 {
62663 isinfl(0);
62664 ;
62665 return 0;
62666 }
62667 _ACEOF
62668 if ac_fn_cxx_try_compile "$LINENO"; then :
62669 glibcxx_cv_func_isinfl_use=yes
62670 else
62671 glibcxx_cv_func_isinfl_use=no
62672 fi
62673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62674 ac_ext=c
62675 ac_cpp='$CPP $CPPFLAGS'
62676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62679
62680
62681 fi
62682
62683 fi
62684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62685 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62686
62687 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62688 for ac_func in isinfl
62689 do :
62690 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62691 if test "x$ac_cv_func_isinfl" = x""yes; then :
62692 cat >>confdefs.h <<_ACEOF
62693 #define HAVE_ISINFL 1
62694 _ACEOF
62695
62696 fi
62697 done
62698
62699 else
62700
62701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62702 $as_echo_n "checking for _isinfl declaration... " >&6; }
62703 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62704 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62705 $as_echo_n "(cached) " >&6
62706 else
62707
62708
62709 ac_ext=cpp
62710 ac_cpp='$CXXCPP $CPPFLAGS'
62711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62714
62715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62716 /* end confdefs.h. */
62717 #include <math.h>
62718 #ifdef HAVE_IEEEFP_H
62719 #include <ieeefp.h>
62720 #endif
62721
62722 int
62723 main ()
62724 {
62725 _isinfl(0);
62726 ;
62727 return 0;
62728 }
62729 _ACEOF
62730 if ac_fn_cxx_try_compile "$LINENO"; then :
62731 glibcxx_cv_func__isinfl_use=yes
62732 else
62733 glibcxx_cv_func__isinfl_use=no
62734 fi
62735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62736 ac_ext=c
62737 ac_cpp='$CPP $CPPFLAGS'
62738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62741
62742
62743 fi
62744
62745 fi
62746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62747 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62748
62749 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62750 for ac_func in _isinfl
62751 do :
62752 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62753 if test "x$ac_cv_func__isinfl" = x""yes; then :
62754 cat >>confdefs.h <<_ACEOF
62755 #define HAVE__ISINFL 1
62756 _ACEOF
62757
62758 fi
62759 done
62760
62761 fi
62762 fi
62763
62764
62765
62766
62767
62768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62769 $as_echo_n "checking for atan2l declaration... " >&6; }
62770 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62771 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62772 $as_echo_n "(cached) " >&6
62773 else
62774
62775
62776 ac_ext=cpp
62777 ac_cpp='$CXXCPP $CPPFLAGS'
62778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62781
62782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62783 /* end confdefs.h. */
62784 #include <math.h>
62785 int
62786 main ()
62787 {
62788 atan2l(0, 0);
62789 ;
62790 return 0;
62791 }
62792 _ACEOF
62793 if ac_fn_cxx_try_compile "$LINENO"; then :
62794 glibcxx_cv_func_atan2l_use=yes
62795 else
62796 glibcxx_cv_func_atan2l_use=no
62797 fi
62798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62799 ac_ext=c
62800 ac_cpp='$CPP $CPPFLAGS'
62801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62804
62805
62806 fi
62807
62808 fi
62809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62810 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62811
62812 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62813 for ac_func in atan2l
62814 do :
62815 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62816 if test "x$ac_cv_func_atan2l" = x""yes; then :
62817 cat >>confdefs.h <<_ACEOF
62818 #define HAVE_ATAN2L 1
62819 _ACEOF
62820
62821 fi
62822 done
62823
62824 else
62825
62826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62827 $as_echo_n "checking for _atan2l declaration... " >&6; }
62828 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62829 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62830 $as_echo_n "(cached) " >&6
62831 else
62832
62833
62834 ac_ext=cpp
62835 ac_cpp='$CXXCPP $CPPFLAGS'
62836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62839
62840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62841 /* end confdefs.h. */
62842 #include <math.h>
62843 int
62844 main ()
62845 {
62846 _atan2l(0, 0);
62847 ;
62848 return 0;
62849 }
62850 _ACEOF
62851 if ac_fn_cxx_try_compile "$LINENO"; then :
62852 glibcxx_cv_func__atan2l_use=yes
62853 else
62854 glibcxx_cv_func__atan2l_use=no
62855 fi
62856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62857 ac_ext=c
62858 ac_cpp='$CPP $CPPFLAGS'
62859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62862
62863
62864 fi
62865
62866 fi
62867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62868 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62869
62870 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62871 for ac_func in _atan2l
62872 do :
62873 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62874 if test "x$ac_cv_func__atan2l" = x""yes; then :
62875 cat >>confdefs.h <<_ACEOF
62876 #define HAVE__ATAN2L 1
62877 _ACEOF
62878
62879 fi
62880 done
62881
62882 fi
62883 fi
62884
62885
62886
62887
62888
62889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62890 $as_echo_n "checking for expl declaration... " >&6; }
62891 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62892 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62893 $as_echo_n "(cached) " >&6
62894 else
62895
62896
62897 ac_ext=cpp
62898 ac_cpp='$CXXCPP $CPPFLAGS'
62899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62902
62903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62904 /* end confdefs.h. */
62905 #include <math.h>
62906 #ifdef HAVE_IEEEFP_H
62907 #include <ieeefp.h>
62908 #endif
62909
62910 int
62911 main ()
62912 {
62913 expl(0);
62914 ;
62915 return 0;
62916 }
62917 _ACEOF
62918 if ac_fn_cxx_try_compile "$LINENO"; then :
62919 glibcxx_cv_func_expl_use=yes
62920 else
62921 glibcxx_cv_func_expl_use=no
62922 fi
62923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62924 ac_ext=c
62925 ac_cpp='$CPP $CPPFLAGS'
62926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62929
62930
62931 fi
62932
62933 fi
62934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62935 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62936
62937 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62938 for ac_func in expl
62939 do :
62940 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62941 if test "x$ac_cv_func_expl" = x""yes; then :
62942 cat >>confdefs.h <<_ACEOF
62943 #define HAVE_EXPL 1
62944 _ACEOF
62945
62946 fi
62947 done
62948
62949 else
62950
62951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62952 $as_echo_n "checking for _expl declaration... " >&6; }
62953 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62954 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62955 $as_echo_n "(cached) " >&6
62956 else
62957
62958
62959 ac_ext=cpp
62960 ac_cpp='$CXXCPP $CPPFLAGS'
62961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62964
62965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62966 /* end confdefs.h. */
62967 #include <math.h>
62968 #ifdef HAVE_IEEEFP_H
62969 #include <ieeefp.h>
62970 #endif
62971
62972 int
62973 main ()
62974 {
62975 _expl(0);
62976 ;
62977 return 0;
62978 }
62979 _ACEOF
62980 if ac_fn_cxx_try_compile "$LINENO"; then :
62981 glibcxx_cv_func__expl_use=yes
62982 else
62983 glibcxx_cv_func__expl_use=no
62984 fi
62985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62986 ac_ext=c
62987 ac_cpp='$CPP $CPPFLAGS'
62988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62991
62992
62993 fi
62994
62995 fi
62996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62997 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62998
62999 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63000 for ac_func in _expl
63001 do :
63002 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63003 if test "x$ac_cv_func__expl" = x""yes; then :
63004 cat >>confdefs.h <<_ACEOF
63005 #define HAVE__EXPL 1
63006 _ACEOF
63007
63008 fi
63009 done
63010
63011 fi
63012 fi
63013
63014
63015
63016
63017
63018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63019 $as_echo_n "checking for fabsl declaration... " >&6; }
63020 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63021 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63022 $as_echo_n "(cached) " >&6
63023 else
63024
63025
63026 ac_ext=cpp
63027 ac_cpp='$CXXCPP $CPPFLAGS'
63028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63031
63032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63033 /* end confdefs.h. */
63034 #include <math.h>
63035 #ifdef HAVE_IEEEFP_H
63036 #include <ieeefp.h>
63037 #endif
63038
63039 int
63040 main ()
63041 {
63042 fabsl(0);
63043 ;
63044 return 0;
63045 }
63046 _ACEOF
63047 if ac_fn_cxx_try_compile "$LINENO"; then :
63048 glibcxx_cv_func_fabsl_use=yes
63049 else
63050 glibcxx_cv_func_fabsl_use=no
63051 fi
63052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63053 ac_ext=c
63054 ac_cpp='$CPP $CPPFLAGS'
63055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63058
63059
63060 fi
63061
63062 fi
63063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63064 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63065
63066 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63067 for ac_func in fabsl
63068 do :
63069 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63070 if test "x$ac_cv_func_fabsl" = x""yes; then :
63071 cat >>confdefs.h <<_ACEOF
63072 #define HAVE_FABSL 1
63073 _ACEOF
63074
63075 fi
63076 done
63077
63078 else
63079
63080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63081 $as_echo_n "checking for _fabsl declaration... " >&6; }
63082 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63083 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63084 $as_echo_n "(cached) " >&6
63085 else
63086
63087
63088 ac_ext=cpp
63089 ac_cpp='$CXXCPP $CPPFLAGS'
63090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63093
63094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63095 /* end confdefs.h. */
63096 #include <math.h>
63097 #ifdef HAVE_IEEEFP_H
63098 #include <ieeefp.h>
63099 #endif
63100
63101 int
63102 main ()
63103 {
63104 _fabsl(0);
63105 ;
63106 return 0;
63107 }
63108 _ACEOF
63109 if ac_fn_cxx_try_compile "$LINENO"; then :
63110 glibcxx_cv_func__fabsl_use=yes
63111 else
63112 glibcxx_cv_func__fabsl_use=no
63113 fi
63114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63115 ac_ext=c
63116 ac_cpp='$CPP $CPPFLAGS'
63117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63120
63121
63122 fi
63123
63124 fi
63125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63126 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63127
63128 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63129 for ac_func in _fabsl
63130 do :
63131 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63132 if test "x$ac_cv_func__fabsl" = x""yes; then :
63133 cat >>confdefs.h <<_ACEOF
63134 #define HAVE__FABSL 1
63135 _ACEOF
63136
63137 fi
63138 done
63139
63140 fi
63141 fi
63142
63143
63144
63145
63146
63147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63148 $as_echo_n "checking for fmodl declaration... " >&6; }
63149 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63150 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63151 $as_echo_n "(cached) " >&6
63152 else
63153
63154
63155 ac_ext=cpp
63156 ac_cpp='$CXXCPP $CPPFLAGS'
63157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63160
63161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63162 /* end confdefs.h. */
63163 #include <math.h>
63164 int
63165 main ()
63166 {
63167 fmodl(0, 0);
63168 ;
63169 return 0;
63170 }
63171 _ACEOF
63172 if ac_fn_cxx_try_compile "$LINENO"; then :
63173 glibcxx_cv_func_fmodl_use=yes
63174 else
63175 glibcxx_cv_func_fmodl_use=no
63176 fi
63177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63178 ac_ext=c
63179 ac_cpp='$CPP $CPPFLAGS'
63180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63183
63184
63185 fi
63186
63187 fi
63188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63189 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63190
63191 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63192 for ac_func in fmodl
63193 do :
63194 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63195 if test "x$ac_cv_func_fmodl" = x""yes; then :
63196 cat >>confdefs.h <<_ACEOF
63197 #define HAVE_FMODL 1
63198 _ACEOF
63199
63200 fi
63201 done
63202
63203 else
63204
63205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63206 $as_echo_n "checking for _fmodl declaration... " >&6; }
63207 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63208 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63209 $as_echo_n "(cached) " >&6
63210 else
63211
63212
63213 ac_ext=cpp
63214 ac_cpp='$CXXCPP $CPPFLAGS'
63215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63218
63219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63220 /* end confdefs.h. */
63221 #include <math.h>
63222 int
63223 main ()
63224 {
63225 _fmodl(0, 0);
63226 ;
63227 return 0;
63228 }
63229 _ACEOF
63230 if ac_fn_cxx_try_compile "$LINENO"; then :
63231 glibcxx_cv_func__fmodl_use=yes
63232 else
63233 glibcxx_cv_func__fmodl_use=no
63234 fi
63235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63236 ac_ext=c
63237 ac_cpp='$CPP $CPPFLAGS'
63238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63241
63242
63243 fi
63244
63245 fi
63246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63247 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63248
63249 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63250 for ac_func in _fmodl
63251 do :
63252 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63253 if test "x$ac_cv_func__fmodl" = x""yes; then :
63254 cat >>confdefs.h <<_ACEOF
63255 #define HAVE__FMODL 1
63256 _ACEOF
63257
63258 fi
63259 done
63260
63261 fi
63262 fi
63263
63264
63265
63266
63267
63268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63269 $as_echo_n "checking for frexpl declaration... " >&6; }
63270 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63271 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63272 $as_echo_n "(cached) " >&6
63273 else
63274
63275
63276 ac_ext=cpp
63277 ac_cpp='$CXXCPP $CPPFLAGS'
63278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63281
63282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63283 /* end confdefs.h. */
63284 #include <math.h>
63285 int
63286 main ()
63287 {
63288 frexpl(0, 0);
63289 ;
63290 return 0;
63291 }
63292 _ACEOF
63293 if ac_fn_cxx_try_compile "$LINENO"; then :
63294 glibcxx_cv_func_frexpl_use=yes
63295 else
63296 glibcxx_cv_func_frexpl_use=no
63297 fi
63298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63299 ac_ext=c
63300 ac_cpp='$CPP $CPPFLAGS'
63301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63304
63305
63306 fi
63307
63308 fi
63309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63310 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63311
63312 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63313 for ac_func in frexpl
63314 do :
63315 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63316 if test "x$ac_cv_func_frexpl" = x""yes; then :
63317 cat >>confdefs.h <<_ACEOF
63318 #define HAVE_FREXPL 1
63319 _ACEOF
63320
63321 fi
63322 done
63323
63324 else
63325
63326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63327 $as_echo_n "checking for _frexpl declaration... " >&6; }
63328 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63329 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63330 $as_echo_n "(cached) " >&6
63331 else
63332
63333
63334 ac_ext=cpp
63335 ac_cpp='$CXXCPP $CPPFLAGS'
63336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63339
63340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63341 /* end confdefs.h. */
63342 #include <math.h>
63343 int
63344 main ()
63345 {
63346 _frexpl(0, 0);
63347 ;
63348 return 0;
63349 }
63350 _ACEOF
63351 if ac_fn_cxx_try_compile "$LINENO"; then :
63352 glibcxx_cv_func__frexpl_use=yes
63353 else
63354 glibcxx_cv_func__frexpl_use=no
63355 fi
63356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63357 ac_ext=c
63358 ac_cpp='$CPP $CPPFLAGS'
63359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63362
63363
63364 fi
63365
63366 fi
63367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63368 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63369
63370 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63371 for ac_func in _frexpl
63372 do :
63373 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63374 if test "x$ac_cv_func__frexpl" = x""yes; then :
63375 cat >>confdefs.h <<_ACEOF
63376 #define HAVE__FREXPL 1
63377 _ACEOF
63378
63379 fi
63380 done
63381
63382 fi
63383 fi
63384
63385
63386
63387
63388
63389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63390 $as_echo_n "checking for hypotl declaration... " >&6; }
63391 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63392 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63393 $as_echo_n "(cached) " >&6
63394 else
63395
63396
63397 ac_ext=cpp
63398 ac_cpp='$CXXCPP $CPPFLAGS'
63399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63402
63403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63404 /* end confdefs.h. */
63405 #include <math.h>
63406 int
63407 main ()
63408 {
63409 hypotl(0, 0);
63410 ;
63411 return 0;
63412 }
63413 _ACEOF
63414 if ac_fn_cxx_try_compile "$LINENO"; then :
63415 glibcxx_cv_func_hypotl_use=yes
63416 else
63417 glibcxx_cv_func_hypotl_use=no
63418 fi
63419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63420 ac_ext=c
63421 ac_cpp='$CPP $CPPFLAGS'
63422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63425
63426
63427 fi
63428
63429 fi
63430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63431 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63432
63433 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63434 for ac_func in hypotl
63435 do :
63436 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63437 if test "x$ac_cv_func_hypotl" = x""yes; then :
63438 cat >>confdefs.h <<_ACEOF
63439 #define HAVE_HYPOTL 1
63440 _ACEOF
63441
63442 fi
63443 done
63444
63445 else
63446
63447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63448 $as_echo_n "checking for _hypotl declaration... " >&6; }
63449 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63450 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63451 $as_echo_n "(cached) " >&6
63452 else
63453
63454
63455 ac_ext=cpp
63456 ac_cpp='$CXXCPP $CPPFLAGS'
63457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63460
63461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63462 /* end confdefs.h. */
63463 #include <math.h>
63464 int
63465 main ()
63466 {
63467 _hypotl(0, 0);
63468 ;
63469 return 0;
63470 }
63471 _ACEOF
63472 if ac_fn_cxx_try_compile "$LINENO"; then :
63473 glibcxx_cv_func__hypotl_use=yes
63474 else
63475 glibcxx_cv_func__hypotl_use=no
63476 fi
63477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63478 ac_ext=c
63479 ac_cpp='$CPP $CPPFLAGS'
63480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63483
63484
63485 fi
63486
63487 fi
63488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63489 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63490
63491 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63492 for ac_func in _hypotl
63493 do :
63494 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63495 if test "x$ac_cv_func__hypotl" = x""yes; then :
63496 cat >>confdefs.h <<_ACEOF
63497 #define HAVE__HYPOTL 1
63498 _ACEOF
63499
63500 fi
63501 done
63502
63503 fi
63504 fi
63505
63506
63507
63508
63509
63510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63511 $as_echo_n "checking for ldexpl declaration... " >&6; }
63512 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63513 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63514 $as_echo_n "(cached) " >&6
63515 else
63516
63517
63518 ac_ext=cpp
63519 ac_cpp='$CXXCPP $CPPFLAGS'
63520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63523
63524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63525 /* end confdefs.h. */
63526 #include <math.h>
63527 int
63528 main ()
63529 {
63530 ldexpl(0, 0);
63531 ;
63532 return 0;
63533 }
63534 _ACEOF
63535 if ac_fn_cxx_try_compile "$LINENO"; then :
63536 glibcxx_cv_func_ldexpl_use=yes
63537 else
63538 glibcxx_cv_func_ldexpl_use=no
63539 fi
63540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63541 ac_ext=c
63542 ac_cpp='$CPP $CPPFLAGS'
63543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63546
63547
63548 fi
63549
63550 fi
63551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63552 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63553
63554 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63555 for ac_func in ldexpl
63556 do :
63557 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63558 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63559 cat >>confdefs.h <<_ACEOF
63560 #define HAVE_LDEXPL 1
63561 _ACEOF
63562
63563 fi
63564 done
63565
63566 else
63567
63568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63569 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63570 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63571 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63572 $as_echo_n "(cached) " >&6
63573 else
63574
63575
63576 ac_ext=cpp
63577 ac_cpp='$CXXCPP $CPPFLAGS'
63578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63581
63582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63583 /* end confdefs.h. */
63584 #include <math.h>
63585 int
63586 main ()
63587 {
63588 _ldexpl(0, 0);
63589 ;
63590 return 0;
63591 }
63592 _ACEOF
63593 if ac_fn_cxx_try_compile "$LINENO"; then :
63594 glibcxx_cv_func__ldexpl_use=yes
63595 else
63596 glibcxx_cv_func__ldexpl_use=no
63597 fi
63598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63599 ac_ext=c
63600 ac_cpp='$CPP $CPPFLAGS'
63601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63604
63605
63606 fi
63607
63608 fi
63609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63610 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63611
63612 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63613 for ac_func in _ldexpl
63614 do :
63615 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63616 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63617 cat >>confdefs.h <<_ACEOF
63618 #define HAVE__LDEXPL 1
63619 _ACEOF
63620
63621 fi
63622 done
63623
63624 fi
63625 fi
63626
63627
63628
63629
63630
63631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63632 $as_echo_n "checking for logl declaration... " >&6; }
63633 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63634 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63635 $as_echo_n "(cached) " >&6
63636 else
63637
63638
63639 ac_ext=cpp
63640 ac_cpp='$CXXCPP $CPPFLAGS'
63641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63644
63645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63646 /* end confdefs.h. */
63647 #include <math.h>
63648 #ifdef HAVE_IEEEFP_H
63649 #include <ieeefp.h>
63650 #endif
63651
63652 int
63653 main ()
63654 {
63655 logl(0);
63656 ;
63657 return 0;
63658 }
63659 _ACEOF
63660 if ac_fn_cxx_try_compile "$LINENO"; then :
63661 glibcxx_cv_func_logl_use=yes
63662 else
63663 glibcxx_cv_func_logl_use=no
63664 fi
63665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63666 ac_ext=c
63667 ac_cpp='$CPP $CPPFLAGS'
63668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63671
63672
63673 fi
63674
63675 fi
63676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63677 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63678
63679 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63680 for ac_func in logl
63681 do :
63682 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63683 if test "x$ac_cv_func_logl" = x""yes; then :
63684 cat >>confdefs.h <<_ACEOF
63685 #define HAVE_LOGL 1
63686 _ACEOF
63687
63688 fi
63689 done
63690
63691 else
63692
63693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63694 $as_echo_n "checking for _logl declaration... " >&6; }
63695 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63696 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63697 $as_echo_n "(cached) " >&6
63698 else
63699
63700
63701 ac_ext=cpp
63702 ac_cpp='$CXXCPP $CPPFLAGS'
63703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63706
63707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63708 /* end confdefs.h. */
63709 #include <math.h>
63710 #ifdef HAVE_IEEEFP_H
63711 #include <ieeefp.h>
63712 #endif
63713
63714 int
63715 main ()
63716 {
63717 _logl(0);
63718 ;
63719 return 0;
63720 }
63721 _ACEOF
63722 if ac_fn_cxx_try_compile "$LINENO"; then :
63723 glibcxx_cv_func__logl_use=yes
63724 else
63725 glibcxx_cv_func__logl_use=no
63726 fi
63727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63728 ac_ext=c
63729 ac_cpp='$CPP $CPPFLAGS'
63730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63733
63734
63735 fi
63736
63737 fi
63738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63739 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63740
63741 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63742 for ac_func in _logl
63743 do :
63744 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63745 if test "x$ac_cv_func__logl" = x""yes; then :
63746 cat >>confdefs.h <<_ACEOF
63747 #define HAVE__LOGL 1
63748 _ACEOF
63749
63750 fi
63751 done
63752
63753 fi
63754 fi
63755
63756
63757
63758
63759
63760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63761 $as_echo_n "checking for log10l declaration... " >&6; }
63762 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63763 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63764 $as_echo_n "(cached) " >&6
63765 else
63766
63767
63768 ac_ext=cpp
63769 ac_cpp='$CXXCPP $CPPFLAGS'
63770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63773
63774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63775 /* end confdefs.h. */
63776 #include <math.h>
63777 #ifdef HAVE_IEEEFP_H
63778 #include <ieeefp.h>
63779 #endif
63780
63781 int
63782 main ()
63783 {
63784 log10l(0);
63785 ;
63786 return 0;
63787 }
63788 _ACEOF
63789 if ac_fn_cxx_try_compile "$LINENO"; then :
63790 glibcxx_cv_func_log10l_use=yes
63791 else
63792 glibcxx_cv_func_log10l_use=no
63793 fi
63794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63795 ac_ext=c
63796 ac_cpp='$CPP $CPPFLAGS'
63797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63800
63801
63802 fi
63803
63804 fi
63805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63806 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63807
63808 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63809 for ac_func in log10l
63810 do :
63811 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63812 if test "x$ac_cv_func_log10l" = x""yes; then :
63813 cat >>confdefs.h <<_ACEOF
63814 #define HAVE_LOG10L 1
63815 _ACEOF
63816
63817 fi
63818 done
63819
63820 else
63821
63822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63823 $as_echo_n "checking for _log10l declaration... " >&6; }
63824 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63825 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63826 $as_echo_n "(cached) " >&6
63827 else
63828
63829
63830 ac_ext=cpp
63831 ac_cpp='$CXXCPP $CPPFLAGS'
63832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63835
63836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63837 /* end confdefs.h. */
63838 #include <math.h>
63839 #ifdef HAVE_IEEEFP_H
63840 #include <ieeefp.h>
63841 #endif
63842
63843 int
63844 main ()
63845 {
63846 _log10l(0);
63847 ;
63848 return 0;
63849 }
63850 _ACEOF
63851 if ac_fn_cxx_try_compile "$LINENO"; then :
63852 glibcxx_cv_func__log10l_use=yes
63853 else
63854 glibcxx_cv_func__log10l_use=no
63855 fi
63856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63857 ac_ext=c
63858 ac_cpp='$CPP $CPPFLAGS'
63859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63862
63863
63864 fi
63865
63866 fi
63867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63868 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63869
63870 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63871 for ac_func in _log10l
63872 do :
63873 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63874 if test "x$ac_cv_func__log10l" = x""yes; then :
63875 cat >>confdefs.h <<_ACEOF
63876 #define HAVE__LOG10L 1
63877 _ACEOF
63878
63879 fi
63880 done
63881
63882 fi
63883 fi
63884
63885
63886
63887
63888
63889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63890 $as_echo_n "checking for modfl declaration... " >&6; }
63891 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63892 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63893 $as_echo_n "(cached) " >&6
63894 else
63895
63896
63897 ac_ext=cpp
63898 ac_cpp='$CXXCPP $CPPFLAGS'
63899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63902
63903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63904 /* end confdefs.h. */
63905 #include <math.h>
63906 int
63907 main ()
63908 {
63909 modfl(0, 0);
63910 ;
63911 return 0;
63912 }
63913 _ACEOF
63914 if ac_fn_cxx_try_compile "$LINENO"; then :
63915 glibcxx_cv_func_modfl_use=yes
63916 else
63917 glibcxx_cv_func_modfl_use=no
63918 fi
63919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63920 ac_ext=c
63921 ac_cpp='$CPP $CPPFLAGS'
63922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63925
63926
63927 fi
63928
63929 fi
63930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63931 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63932
63933 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63934 for ac_func in modfl
63935 do :
63936 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63937 if test "x$ac_cv_func_modfl" = x""yes; then :
63938 cat >>confdefs.h <<_ACEOF
63939 #define HAVE_MODFL 1
63940 _ACEOF
63941
63942 fi
63943 done
63944
63945 else
63946
63947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63948 $as_echo_n "checking for _modfl declaration... " >&6; }
63949 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63950 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63951 $as_echo_n "(cached) " >&6
63952 else
63953
63954
63955 ac_ext=cpp
63956 ac_cpp='$CXXCPP $CPPFLAGS'
63957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63960
63961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63962 /* end confdefs.h. */
63963 #include <math.h>
63964 int
63965 main ()
63966 {
63967 _modfl(0, 0);
63968 ;
63969 return 0;
63970 }
63971 _ACEOF
63972 if ac_fn_cxx_try_compile "$LINENO"; then :
63973 glibcxx_cv_func__modfl_use=yes
63974 else
63975 glibcxx_cv_func__modfl_use=no
63976 fi
63977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63978 ac_ext=c
63979 ac_cpp='$CPP $CPPFLAGS'
63980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63983
63984
63985 fi
63986
63987 fi
63988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63989 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63990
63991 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63992 for ac_func in _modfl
63993 do :
63994 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63995 if test "x$ac_cv_func__modfl" = x""yes; then :
63996 cat >>confdefs.h <<_ACEOF
63997 #define HAVE__MODFL 1
63998 _ACEOF
63999
64000 fi
64001 done
64002
64003 fi
64004 fi
64005
64006
64007
64008
64009
64010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64011 $as_echo_n "checking for powl declaration... " >&6; }
64012 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64013 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64014 $as_echo_n "(cached) " >&6
64015 else
64016
64017
64018 ac_ext=cpp
64019 ac_cpp='$CXXCPP $CPPFLAGS'
64020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64023
64024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64025 /* end confdefs.h. */
64026 #include <math.h>
64027 int
64028 main ()
64029 {
64030 powl(0, 0);
64031 ;
64032 return 0;
64033 }
64034 _ACEOF
64035 if ac_fn_cxx_try_compile "$LINENO"; then :
64036 glibcxx_cv_func_powl_use=yes
64037 else
64038 glibcxx_cv_func_powl_use=no
64039 fi
64040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64041 ac_ext=c
64042 ac_cpp='$CPP $CPPFLAGS'
64043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64046
64047
64048 fi
64049
64050 fi
64051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64052 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64053
64054 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64055 for ac_func in powl
64056 do :
64057 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64058 if test "x$ac_cv_func_powl" = x""yes; then :
64059 cat >>confdefs.h <<_ACEOF
64060 #define HAVE_POWL 1
64061 _ACEOF
64062
64063 fi
64064 done
64065
64066 else
64067
64068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64069 $as_echo_n "checking for _powl declaration... " >&6; }
64070 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64071 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64072 $as_echo_n "(cached) " >&6
64073 else
64074
64075
64076 ac_ext=cpp
64077 ac_cpp='$CXXCPP $CPPFLAGS'
64078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64081
64082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64083 /* end confdefs.h. */
64084 #include <math.h>
64085 int
64086 main ()
64087 {
64088 _powl(0, 0);
64089 ;
64090 return 0;
64091 }
64092 _ACEOF
64093 if ac_fn_cxx_try_compile "$LINENO"; then :
64094 glibcxx_cv_func__powl_use=yes
64095 else
64096 glibcxx_cv_func__powl_use=no
64097 fi
64098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64099 ac_ext=c
64100 ac_cpp='$CPP $CPPFLAGS'
64101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64104
64105
64106 fi
64107
64108 fi
64109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64110 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64111
64112 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64113 for ac_func in _powl
64114 do :
64115 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64116 if test "x$ac_cv_func__powl" = x""yes; then :
64117 cat >>confdefs.h <<_ACEOF
64118 #define HAVE__POWL 1
64119 _ACEOF
64120
64121 fi
64122 done
64123
64124 fi
64125 fi
64126
64127
64128
64129
64130
64131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64132 $as_echo_n "checking for sqrtl declaration... " >&6; }
64133 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64134 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64135 $as_echo_n "(cached) " >&6
64136 else
64137
64138
64139 ac_ext=cpp
64140 ac_cpp='$CXXCPP $CPPFLAGS'
64141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64144
64145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64146 /* end confdefs.h. */
64147 #include <math.h>
64148 #ifdef HAVE_IEEEFP_H
64149 #include <ieeefp.h>
64150 #endif
64151
64152 int
64153 main ()
64154 {
64155 sqrtl(0);
64156 ;
64157 return 0;
64158 }
64159 _ACEOF
64160 if ac_fn_cxx_try_compile "$LINENO"; then :
64161 glibcxx_cv_func_sqrtl_use=yes
64162 else
64163 glibcxx_cv_func_sqrtl_use=no
64164 fi
64165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64166 ac_ext=c
64167 ac_cpp='$CPP $CPPFLAGS'
64168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64171
64172
64173 fi
64174
64175 fi
64176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64177 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64178
64179 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64180 for ac_func in sqrtl
64181 do :
64182 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64183 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64184 cat >>confdefs.h <<_ACEOF
64185 #define HAVE_SQRTL 1
64186 _ACEOF
64187
64188 fi
64189 done
64190
64191 else
64192
64193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64194 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64195 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64196 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64197 $as_echo_n "(cached) " >&6
64198 else
64199
64200
64201 ac_ext=cpp
64202 ac_cpp='$CXXCPP $CPPFLAGS'
64203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64206
64207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64208 /* end confdefs.h. */
64209 #include <math.h>
64210 #ifdef HAVE_IEEEFP_H
64211 #include <ieeefp.h>
64212 #endif
64213
64214 int
64215 main ()
64216 {
64217 _sqrtl(0);
64218 ;
64219 return 0;
64220 }
64221 _ACEOF
64222 if ac_fn_cxx_try_compile "$LINENO"; then :
64223 glibcxx_cv_func__sqrtl_use=yes
64224 else
64225 glibcxx_cv_func__sqrtl_use=no
64226 fi
64227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64228 ac_ext=c
64229 ac_cpp='$CPP $CPPFLAGS'
64230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64233
64234
64235 fi
64236
64237 fi
64238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64239 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64240
64241 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64242 for ac_func in _sqrtl
64243 do :
64244 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64245 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64246 cat >>confdefs.h <<_ACEOF
64247 #define HAVE__SQRTL 1
64248 _ACEOF
64249
64250 fi
64251 done
64252
64253 fi
64254 fi
64255
64256
64257
64258
64259
64260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64261 $as_echo_n "checking for sincosl declaration... " >&6; }
64262 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64263 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64264 $as_echo_n "(cached) " >&6
64265 else
64266
64267
64268 ac_ext=cpp
64269 ac_cpp='$CXXCPP $CPPFLAGS'
64270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64273
64274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64275 /* end confdefs.h. */
64276 #include <math.h>
64277 int
64278 main ()
64279 {
64280 sincosl(0, 0, 0);
64281 ;
64282 return 0;
64283 }
64284 _ACEOF
64285 if ac_fn_cxx_try_compile "$LINENO"; then :
64286 glibcxx_cv_func_sincosl_use=yes
64287 else
64288 glibcxx_cv_func_sincosl_use=no
64289 fi
64290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64291 ac_ext=c
64292 ac_cpp='$CPP $CPPFLAGS'
64293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64296
64297
64298 fi
64299
64300 fi
64301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64302 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64303
64304 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64305 for ac_func in sincosl
64306 do :
64307 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64308 if test "x$ac_cv_func_sincosl" = x""yes; then :
64309 cat >>confdefs.h <<_ACEOF
64310 #define HAVE_SINCOSL 1
64311 _ACEOF
64312
64313 fi
64314 done
64315
64316 else
64317
64318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64319 $as_echo_n "checking for _sincosl declaration... " >&6; }
64320 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64321 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64322 $as_echo_n "(cached) " >&6
64323 else
64324
64325
64326 ac_ext=cpp
64327 ac_cpp='$CXXCPP $CPPFLAGS'
64328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64331
64332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64333 /* end confdefs.h. */
64334 #include <math.h>
64335 int
64336 main ()
64337 {
64338 _sincosl(0, 0, 0);
64339 ;
64340 return 0;
64341 }
64342 _ACEOF
64343 if ac_fn_cxx_try_compile "$LINENO"; then :
64344 glibcxx_cv_func__sincosl_use=yes
64345 else
64346 glibcxx_cv_func__sincosl_use=no
64347 fi
64348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64349 ac_ext=c
64350 ac_cpp='$CPP $CPPFLAGS'
64351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64354
64355
64356 fi
64357
64358 fi
64359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64360 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64361
64362 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64363 for ac_func in _sincosl
64364 do :
64365 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64366 if test "x$ac_cv_func__sincosl" = x""yes; then :
64367 cat >>confdefs.h <<_ACEOF
64368 #define HAVE__SINCOSL 1
64369 _ACEOF
64370
64371 fi
64372 done
64373
64374 fi
64375 fi
64376
64377
64378
64379
64380
64381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64382 $as_echo_n "checking for finitel declaration... " >&6; }
64383 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64384 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64385 $as_echo_n "(cached) " >&6
64386 else
64387
64388
64389 ac_ext=cpp
64390 ac_cpp='$CXXCPP $CPPFLAGS'
64391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64394
64395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64396 /* end confdefs.h. */
64397 #include <math.h>
64398 #ifdef HAVE_IEEEFP_H
64399 #include <ieeefp.h>
64400 #endif
64401
64402 int
64403 main ()
64404 {
64405 finitel(0);
64406 ;
64407 return 0;
64408 }
64409 _ACEOF
64410 if ac_fn_cxx_try_compile "$LINENO"; then :
64411 glibcxx_cv_func_finitel_use=yes
64412 else
64413 glibcxx_cv_func_finitel_use=no
64414 fi
64415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64416 ac_ext=c
64417 ac_cpp='$CPP $CPPFLAGS'
64418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64421
64422
64423 fi
64424
64425 fi
64426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64427 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64428
64429 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64430 for ac_func in finitel
64431 do :
64432 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64433 if test "x$ac_cv_func_finitel" = x""yes; then :
64434 cat >>confdefs.h <<_ACEOF
64435 #define HAVE_FINITEL 1
64436 _ACEOF
64437
64438 fi
64439 done
64440
64441 else
64442
64443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64444 $as_echo_n "checking for _finitel declaration... " >&6; }
64445 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64446 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64447 $as_echo_n "(cached) " >&6
64448 else
64449
64450
64451 ac_ext=cpp
64452 ac_cpp='$CXXCPP $CPPFLAGS'
64453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64456
64457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64458 /* end confdefs.h. */
64459 #include <math.h>
64460 #ifdef HAVE_IEEEFP_H
64461 #include <ieeefp.h>
64462 #endif
64463
64464 int
64465 main ()
64466 {
64467 _finitel(0);
64468 ;
64469 return 0;
64470 }
64471 _ACEOF
64472 if ac_fn_cxx_try_compile "$LINENO"; then :
64473 glibcxx_cv_func__finitel_use=yes
64474 else
64475 glibcxx_cv_func__finitel_use=no
64476 fi
64477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64478 ac_ext=c
64479 ac_cpp='$CPP $CPPFLAGS'
64480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64483
64484
64485 fi
64486
64487 fi
64488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64489 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64490
64491 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64492 for ac_func in _finitel
64493 do :
64494 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64495 if test "x$ac_cv_func__finitel" = x""yes; then :
64496 cat >>confdefs.h <<_ACEOF
64497 #define HAVE__FINITEL 1
64498 _ACEOF
64499
64500 fi
64501 done
64502
64503 fi
64504 fi
64505
64506
64507
64508
64509 LIBS="$ac_save_LIBS"
64510 CXXFLAGS="$ac_save_CXXFLAGS"
64511
64512
64513 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64514 ac_save_CXXFLAGS="$CXXFLAGS"
64515 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64516
64517
64518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64519 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64520 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64521 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64522 $as_echo_n "(cached) " >&6
64523 else
64524
64525
64526 ac_ext=cpp
64527 ac_cpp='$CXXCPP $CPPFLAGS'
64528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64531
64532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64533 /* end confdefs.h. */
64534 #include <stdlib.h>
64535 int
64536 main ()
64537 {
64538 at_quick_exit(0);
64539 ;
64540 return 0;
64541 }
64542 _ACEOF
64543 if ac_fn_cxx_try_compile "$LINENO"; then :
64544 glibcxx_cv_func_at_quick_exit_use=yes
64545 else
64546 glibcxx_cv_func_at_quick_exit_use=no
64547 fi
64548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64549 ac_ext=c
64550 ac_cpp='$CPP $CPPFLAGS'
64551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64554
64555
64556 fi
64557
64558 fi
64559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64560 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64561 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64562 for ac_func in at_quick_exit
64563 do :
64564 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64565 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64566 cat >>confdefs.h <<_ACEOF
64567 #define HAVE_AT_QUICK_EXIT 1
64568 _ACEOF
64569
64570 fi
64571 done
64572
64573 fi
64574
64575
64576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64577 $as_echo_n "checking for quick_exit declaration... " >&6; }
64578 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64579 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64580 $as_echo_n "(cached) " >&6
64581 else
64582
64583
64584 ac_ext=cpp
64585 ac_cpp='$CXXCPP $CPPFLAGS'
64586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64589
64590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64591 /* end confdefs.h. */
64592 #include <stdlib.h>
64593 int
64594 main ()
64595 {
64596 quick_exit(0);
64597 ;
64598 return 0;
64599 }
64600 _ACEOF
64601 if ac_fn_cxx_try_compile "$LINENO"; then :
64602 glibcxx_cv_func_quick_exit_use=yes
64603 else
64604 glibcxx_cv_func_quick_exit_use=no
64605 fi
64606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64607 ac_ext=c
64608 ac_cpp='$CPP $CPPFLAGS'
64609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64612
64613
64614 fi
64615
64616 fi
64617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64618 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64619 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64620 for ac_func in quick_exit
64621 do :
64622 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64623 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64624 cat >>confdefs.h <<_ACEOF
64625 #define HAVE_QUICK_EXIT 1
64626 _ACEOF
64627
64628 fi
64629 done
64630
64631 fi
64632
64633
64634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64635 $as_echo_n "checking for strtold declaration... " >&6; }
64636 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64637 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64638 $as_echo_n "(cached) " >&6
64639 else
64640
64641
64642 ac_ext=cpp
64643 ac_cpp='$CXXCPP $CPPFLAGS'
64644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64647
64648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64649 /* end confdefs.h. */
64650 #include <stdlib.h>
64651 int
64652 main ()
64653 {
64654 strtold(0, 0);
64655 ;
64656 return 0;
64657 }
64658 _ACEOF
64659 if ac_fn_cxx_try_compile "$LINENO"; then :
64660 glibcxx_cv_func_strtold_use=yes
64661 else
64662 glibcxx_cv_func_strtold_use=no
64663 fi
64664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64665 ac_ext=c
64666 ac_cpp='$CPP $CPPFLAGS'
64667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64670
64671
64672 fi
64673
64674 fi
64675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64676 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64677 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64678 for ac_func in strtold
64679 do :
64680 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64681 if test "x$ac_cv_func_strtold" = x""yes; then :
64682 cat >>confdefs.h <<_ACEOF
64683 #define HAVE_STRTOLD 1
64684 _ACEOF
64685
64686 fi
64687 done
64688
64689 fi
64690
64691
64692
64693
64694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64695 $as_echo_n "checking for strtof declaration... " >&6; }
64696 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64697 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64698 $as_echo_n "(cached) " >&6
64699 else
64700
64701
64702 ac_ext=cpp
64703 ac_cpp='$CXXCPP $CPPFLAGS'
64704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64707
64708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64709 /* end confdefs.h. */
64710 #include <stdlib.h>
64711 int
64712 main ()
64713 {
64714 strtof(0, 0);
64715 ;
64716 return 0;
64717 }
64718 _ACEOF
64719 if ac_fn_cxx_try_compile "$LINENO"; then :
64720 glibcxx_cv_func_strtof_use=yes
64721 else
64722 glibcxx_cv_func_strtof_use=no
64723 fi
64724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64725 ac_ext=c
64726 ac_cpp='$CPP $CPPFLAGS'
64727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64730
64731
64732 fi
64733
64734 fi
64735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64736 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64737 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64738 for ac_func in strtof
64739 do :
64740 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64741 if test "x$ac_cv_func_strtof" = x""yes; then :
64742 cat >>confdefs.h <<_ACEOF
64743 #define HAVE_STRTOF 1
64744 _ACEOF
64745
64746 fi
64747 done
64748
64749 fi
64750
64751
64752
64753
64754 CXXFLAGS="$ac_save_CXXFLAGS"
64755
64756 ;;
64757 *-netbsd*)
64758 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64759
64760
64761 # If we're not using GNU ld, then there's no point in even trying these
64762 # tests. Check for that first. We should have already tested for gld
64763 # by now (in libtool), but require it now just to be safe...
64764 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64765 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64766
64767
64768
64769 # The name set by libtool depends on the version of libtool. Shame on us
64770 # for depending on an impl detail, but c'est la vie. Older versions used
64771 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64772 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64773 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64774 # set (hence we're using an older libtool), then set it.
64775 if test x${with_gnu_ld+set} != xset; then
64776 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64777 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64778 with_gnu_ld=no
64779 else
64780 with_gnu_ld=$ac_cv_prog_gnu_ld
64781 fi
64782 fi
64783
64784 # Start by getting the version number. I think the libtool test already
64785 # does some of this, but throws away the result.
64786 glibcxx_ld_is_gold=no
64787 if test x"$with_gnu_ld" = x"yes"; then
64788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64789 $as_echo_n "checking for ld version... " >&6; }
64790
64791 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64792 glibcxx_ld_is_gold=yes
64793 fi
64794 ldver=`$LD --version 2>/dev/null |
64795 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'`
64796
64797 glibcxx_gnu_ld_version=`echo $ldver | \
64798 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64800 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64801 fi
64802
64803 # Set --gc-sections.
64804 glibcxx_have_gc_sections=no
64805 if test "$glibcxx_ld_is_gold" = "yes"; then
64806 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64807 glibcxx_have_gc_sections=yes
64808 fi
64809 else
64810 glibcxx_gcsections_min_ld=21602
64811 if test x"$with_gnu_ld" = x"yes" &&
64812 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64813 glibcxx_have_gc_sections=yes
64814 fi
64815 fi
64816 if test "$glibcxx_have_gc_sections" = "yes"; then
64817 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64818 # NB: This flag only works reliably after 2.16.1. Configure tests
64819 # for this are difficult, so hard wire a value that should work.
64820
64821 ac_test_CFLAGS="${CFLAGS+set}"
64822 ac_save_CFLAGS="$CFLAGS"
64823 CFLAGS='-Wl,--gc-sections'
64824
64825 # Check for -Wl,--gc-sections
64826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64827 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64828 if test x$gcc_no_link = xyes; then
64829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64830 fi
64831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64832 /* end confdefs.h. */
64833 int one(void) { return 1; }
64834 int two(void) { return 2; }
64835
64836 int
64837 main ()
64838 {
64839 two();
64840 ;
64841 return 0;
64842 }
64843 _ACEOF
64844 if ac_fn_c_try_link "$LINENO"; then :
64845 ac_gcsections=yes
64846 else
64847 ac_gcsections=no
64848 fi
64849 rm -f core conftest.err conftest.$ac_objext \
64850 conftest$ac_exeext conftest.$ac_ext
64851 if test "$ac_gcsections" = "yes"; then
64852 rm -f conftest.c
64853 touch conftest.c
64854 if $CC -c conftest.c; then
64855 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64856 grep "Warning: gc-sections option ignored" > /dev/null; then
64857 ac_gcsections=no
64858 fi
64859 fi
64860 rm -f conftest.c conftest.o conftest
64861 fi
64862 if test "$ac_gcsections" = "yes"; then
64863 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64864 fi
64865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64866 $as_echo "$ac_gcsections" >&6; }
64867
64868 if test "$ac_test_CFLAGS" = set; then
64869 CFLAGS="$ac_save_CFLAGS"
64870 else
64871 # this is the suspicious part
64872 CFLAGS=''
64873 fi
64874 fi
64875
64876 # Set -z,relro.
64877 # Note this is only for shared objects.
64878 ac_ld_relro=no
64879 if test x"$with_gnu_ld" = x"yes"; then
64880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64881 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64882 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64883 if test -n "$cxx_z_relo"; then
64884 OPT_LDFLAGS="-Wl,-z,relro"
64885 ac_ld_relro=yes
64886 fi
64887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64888 $as_echo "$ac_ld_relro" >&6; }
64889 fi
64890
64891 # Set linker optimization flags.
64892 if test x"$with_gnu_ld" = x"yes"; then
64893 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64894 fi
64895
64896
64897
64898
64899 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64900
64901 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64902
64903 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64904
64905 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64906
64907 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64908
64909 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64910
64911 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64912
64913 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64914
64915 if test x"long_double_math_on_this_cpu" = x"yes"; then
64916 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64917
64918 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64919
64920 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64921
64922 fi
64923 ;;
64924 *-qnx6.1* | *-qnx6.2*)
64925 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64926
64927
64928 # If we're not using GNU ld, then there's no point in even trying these
64929 # tests. Check for that first. We should have already tested for gld
64930 # by now (in libtool), but require it now just to be safe...
64931 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64932 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64933
64934
64935
64936 # The name set by libtool depends on the version of libtool. Shame on us
64937 # for depending on an impl detail, but c'est la vie. Older versions used
64938 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64939 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64940 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64941 # set (hence we're using an older libtool), then set it.
64942 if test x${with_gnu_ld+set} != xset; then
64943 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64944 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64945 with_gnu_ld=no
64946 else
64947 with_gnu_ld=$ac_cv_prog_gnu_ld
64948 fi
64949 fi
64950
64951 # Start by getting the version number. I think the libtool test already
64952 # does some of this, but throws away the result.
64953 glibcxx_ld_is_gold=no
64954 if test x"$with_gnu_ld" = x"yes"; then
64955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64956 $as_echo_n "checking for ld version... " >&6; }
64957
64958 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64959 glibcxx_ld_is_gold=yes
64960 fi
64961 ldver=`$LD --version 2>/dev/null |
64962 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'`
64963
64964 glibcxx_gnu_ld_version=`echo $ldver | \
64965 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64967 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64968 fi
64969
64970 # Set --gc-sections.
64971 glibcxx_have_gc_sections=no
64972 if test "$glibcxx_ld_is_gold" = "yes"; then
64973 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64974 glibcxx_have_gc_sections=yes
64975 fi
64976 else
64977 glibcxx_gcsections_min_ld=21602
64978 if test x"$with_gnu_ld" = x"yes" &&
64979 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64980 glibcxx_have_gc_sections=yes
64981 fi
64982 fi
64983 if test "$glibcxx_have_gc_sections" = "yes"; then
64984 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64985 # NB: This flag only works reliably after 2.16.1. Configure tests
64986 # for this are difficult, so hard wire a value that should work.
64987
64988 ac_test_CFLAGS="${CFLAGS+set}"
64989 ac_save_CFLAGS="$CFLAGS"
64990 CFLAGS='-Wl,--gc-sections'
64991
64992 # Check for -Wl,--gc-sections
64993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64994 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64995 if test x$gcc_no_link = xyes; then
64996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64997 fi
64998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64999 /* end confdefs.h. */
65000 int one(void) { return 1; }
65001 int two(void) { return 2; }
65002
65003 int
65004 main ()
65005 {
65006 two();
65007 ;
65008 return 0;
65009 }
65010 _ACEOF
65011 if ac_fn_c_try_link "$LINENO"; then :
65012 ac_gcsections=yes
65013 else
65014 ac_gcsections=no
65015 fi
65016 rm -f core conftest.err conftest.$ac_objext \
65017 conftest$ac_exeext conftest.$ac_ext
65018 if test "$ac_gcsections" = "yes"; then
65019 rm -f conftest.c
65020 touch conftest.c
65021 if $CC -c conftest.c; then
65022 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65023 grep "Warning: gc-sections option ignored" > /dev/null; then
65024 ac_gcsections=no
65025 fi
65026 fi
65027 rm -f conftest.c conftest.o conftest
65028 fi
65029 if test "$ac_gcsections" = "yes"; then
65030 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65031 fi
65032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65033 $as_echo "$ac_gcsections" >&6; }
65034
65035 if test "$ac_test_CFLAGS" = set; then
65036 CFLAGS="$ac_save_CFLAGS"
65037 else
65038 # this is the suspicious part
65039 CFLAGS=''
65040 fi
65041 fi
65042
65043 # Set -z,relro.
65044 # Note this is only for shared objects.
65045 ac_ld_relro=no
65046 if test x"$with_gnu_ld" = x"yes"; then
65047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65048 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65049 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65050 if test -n "$cxx_z_relo"; then
65051 OPT_LDFLAGS="-Wl,-z,relro"
65052 ac_ld_relro=yes
65053 fi
65054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65055 $as_echo "$ac_ld_relro" >&6; }
65056 fi
65057
65058 # Set linker optimization flags.
65059 if test x"$with_gnu_ld" = x"yes"; then
65060 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65061 fi
65062
65063
65064
65065
65066 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65067
65068 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65069
65070 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65071
65072 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65073
65074 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65075
65076 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65077
65078 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65079
65080 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65081
65082 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65083
65084 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65085
65086 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65087
65088 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65089
65090 ;;
65091 *-rtems*)
65092
65093 # All these tests are for C++; save the language and the compiler flags.
65094 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65095 # found in GLIBCXX_CONFIGURE.
65096
65097 ac_ext=cpp
65098 ac_cpp='$CXXCPP $CPPFLAGS'
65099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65102
65103 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65104 ac_save_CXXFLAGS="$CXXFLAGS"
65105
65106 # Check for maintainer-mode bits.
65107 if test x"$USE_MAINTAINER_MODE" = xno; then
65108 WERROR=''
65109 else
65110 WERROR='-Werror'
65111 fi
65112
65113 # Check for -ffunction-sections -fdata-sections
65114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65115 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65116 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65118 /* end confdefs.h. */
65119 int foo; void bar() { };
65120 int
65121 main ()
65122 {
65123
65124 ;
65125 return 0;
65126 }
65127 _ACEOF
65128 if ac_fn_cxx_try_compile "$LINENO"; then :
65129 ac_fdsections=yes
65130 else
65131 ac_fdsections=no
65132 fi
65133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65134 if test "$ac_test_CXXFLAGS" = set; then
65135 CXXFLAGS="$ac_save_CXXFLAGS"
65136 else
65137 # this is the suspicious part
65138 CXXFLAGS=''
65139 fi
65140 if test x"$ac_fdsections" = x"yes"; then
65141 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65142 fi
65143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65144 $as_echo "$ac_fdsections" >&6; }
65145
65146 ac_ext=c
65147 ac_cpp='$CPP $CPPFLAGS'
65148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65151
65152
65153
65154
65155
65156 # If we're not using GNU ld, then there's no point in even trying these
65157 # tests. Check for that first. We should have already tested for gld
65158 # by now (in libtool), but require it now just to be safe...
65159 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65160 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65161
65162
65163
65164 # The name set by libtool depends on the version of libtool. Shame on us
65165 # for depending on an impl detail, but c'est la vie. Older versions used
65166 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65167 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65168 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65169 # set (hence we're using an older libtool), then set it.
65170 if test x${with_gnu_ld+set} != xset; then
65171 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65172 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65173 with_gnu_ld=no
65174 else
65175 with_gnu_ld=$ac_cv_prog_gnu_ld
65176 fi
65177 fi
65178
65179 # Start by getting the version number. I think the libtool test already
65180 # does some of this, but throws away the result.
65181 glibcxx_ld_is_gold=no
65182 if test x"$with_gnu_ld" = x"yes"; then
65183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65184 $as_echo_n "checking for ld version... " >&6; }
65185
65186 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65187 glibcxx_ld_is_gold=yes
65188 fi
65189 ldver=`$LD --version 2>/dev/null |
65190 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'`
65191
65192 glibcxx_gnu_ld_version=`echo $ldver | \
65193 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65195 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65196 fi
65197
65198 # Set --gc-sections.
65199 glibcxx_have_gc_sections=no
65200 if test "$glibcxx_ld_is_gold" = "yes"; then
65201 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65202 glibcxx_have_gc_sections=yes
65203 fi
65204 else
65205 glibcxx_gcsections_min_ld=21602
65206 if test x"$with_gnu_ld" = x"yes" &&
65207 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65208 glibcxx_have_gc_sections=yes
65209 fi
65210 fi
65211 if test "$glibcxx_have_gc_sections" = "yes"; then
65212 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65213 # NB: This flag only works reliably after 2.16.1. Configure tests
65214 # for this are difficult, so hard wire a value that should work.
65215
65216 ac_test_CFLAGS="${CFLAGS+set}"
65217 ac_save_CFLAGS="$CFLAGS"
65218 CFLAGS='-Wl,--gc-sections'
65219
65220 # Check for -Wl,--gc-sections
65221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65222 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65223 if test x$gcc_no_link = xyes; then
65224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65225 fi
65226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65227 /* end confdefs.h. */
65228 int one(void) { return 1; }
65229 int two(void) { return 2; }
65230
65231 int
65232 main ()
65233 {
65234 two();
65235 ;
65236 return 0;
65237 }
65238 _ACEOF
65239 if ac_fn_c_try_link "$LINENO"; then :
65240 ac_gcsections=yes
65241 else
65242 ac_gcsections=no
65243 fi
65244 rm -f core conftest.err conftest.$ac_objext \
65245 conftest$ac_exeext conftest.$ac_ext
65246 if test "$ac_gcsections" = "yes"; then
65247 rm -f conftest.c
65248 touch conftest.c
65249 if $CC -c conftest.c; then
65250 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65251 grep "Warning: gc-sections option ignored" > /dev/null; then
65252 ac_gcsections=no
65253 fi
65254 fi
65255 rm -f conftest.c conftest.o conftest
65256 fi
65257 if test "$ac_gcsections" = "yes"; then
65258 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65259 fi
65260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65261 $as_echo "$ac_gcsections" >&6; }
65262
65263 if test "$ac_test_CFLAGS" = set; then
65264 CFLAGS="$ac_save_CFLAGS"
65265 else
65266 # this is the suspicious part
65267 CFLAGS=''
65268 fi
65269 fi
65270
65271 # Set -z,relro.
65272 # Note this is only for shared objects.
65273 ac_ld_relro=no
65274 if test x"$with_gnu_ld" = x"yes"; then
65275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65276 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65277 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65278 if test -n "$cxx_z_relo"; then
65279 OPT_LDFLAGS="-Wl,-z,relro"
65280 ac_ld_relro=yes
65281 fi
65282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65283 $as_echo "$ac_ld_relro" >&6; }
65284 fi
65285
65286 # Set linker optimization flags.
65287 if test x"$with_gnu_ld" = x"yes"; then
65288 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65289 fi
65290
65291
65292
65293
65294
65295 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65296 ac_save_CXXFLAGS="$CXXFLAGS"
65297 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65298
65299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65300 $as_echo_n "checking for sin in -lm... " >&6; }
65301 if test "${ac_cv_lib_m_sin+set}" = set; then :
65302 $as_echo_n "(cached) " >&6
65303 else
65304 ac_check_lib_save_LIBS=$LIBS
65305 LIBS="-lm $LIBS"
65306 if test x$gcc_no_link = xyes; then
65307 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65308 fi
65309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65310 /* end confdefs.h. */
65311
65312 /* Override any GCC internal prototype to avoid an error.
65313 Use char because int might match the return type of a GCC
65314 builtin and then its argument prototype would still apply. */
65315 #ifdef __cplusplus
65316 extern "C"
65317 #endif
65318 char sin ();
65319 int
65320 main ()
65321 {
65322 return sin ();
65323 ;
65324 return 0;
65325 }
65326 _ACEOF
65327 if ac_fn_c_try_link "$LINENO"; then :
65328 ac_cv_lib_m_sin=yes
65329 else
65330 ac_cv_lib_m_sin=no
65331 fi
65332 rm -f core conftest.err conftest.$ac_objext \
65333 conftest$ac_exeext conftest.$ac_ext
65334 LIBS=$ac_check_lib_save_LIBS
65335 fi
65336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65337 $as_echo "$ac_cv_lib_m_sin" >&6; }
65338 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65339 libm="-lm"
65340 fi
65341
65342 ac_save_LIBS="$LIBS"
65343 LIBS="$LIBS $libm"
65344
65345
65346
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65348 $as_echo_n "checking for isinf declaration... " >&6; }
65349 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65350 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65351 $as_echo_n "(cached) " >&6
65352 else
65353
65354
65355 ac_ext=cpp
65356 ac_cpp='$CXXCPP $CPPFLAGS'
65357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65360
65361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65362 /* end confdefs.h. */
65363 #include <math.h>
65364 #ifdef HAVE_IEEEFP_H
65365 #include <ieeefp.h>
65366 #endif
65367
65368 int
65369 main ()
65370 {
65371 isinf(0);
65372 ;
65373 return 0;
65374 }
65375 _ACEOF
65376 if ac_fn_cxx_try_compile "$LINENO"; then :
65377 glibcxx_cv_func_isinf_use=yes
65378 else
65379 glibcxx_cv_func_isinf_use=no
65380 fi
65381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65382 ac_ext=c
65383 ac_cpp='$CPP $CPPFLAGS'
65384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65387
65388
65389 fi
65390
65391 fi
65392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65393 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65394
65395 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65396 for ac_func in isinf
65397 do :
65398 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65399 if test "x$ac_cv_func_isinf" = x""yes; then :
65400 cat >>confdefs.h <<_ACEOF
65401 #define HAVE_ISINF 1
65402 _ACEOF
65403
65404 fi
65405 done
65406
65407 else
65408
65409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65410 $as_echo_n "checking for _isinf declaration... " >&6; }
65411 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65412 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65413 $as_echo_n "(cached) " >&6
65414 else
65415
65416
65417 ac_ext=cpp
65418 ac_cpp='$CXXCPP $CPPFLAGS'
65419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65422
65423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65424 /* end confdefs.h. */
65425 #include <math.h>
65426 #ifdef HAVE_IEEEFP_H
65427 #include <ieeefp.h>
65428 #endif
65429
65430 int
65431 main ()
65432 {
65433 _isinf(0);
65434 ;
65435 return 0;
65436 }
65437 _ACEOF
65438 if ac_fn_cxx_try_compile "$LINENO"; then :
65439 glibcxx_cv_func__isinf_use=yes
65440 else
65441 glibcxx_cv_func__isinf_use=no
65442 fi
65443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65444 ac_ext=c
65445 ac_cpp='$CPP $CPPFLAGS'
65446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65449
65450
65451 fi
65452
65453 fi
65454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65455 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65456
65457 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65458 for ac_func in _isinf
65459 do :
65460 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65461 if test "x$ac_cv_func__isinf" = x""yes; then :
65462 cat >>confdefs.h <<_ACEOF
65463 #define HAVE__ISINF 1
65464 _ACEOF
65465
65466 fi
65467 done
65468
65469 fi
65470 fi
65471
65472
65473
65474
65475
65476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65477 $as_echo_n "checking for isnan declaration... " >&6; }
65478 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65479 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65480 $as_echo_n "(cached) " >&6
65481 else
65482
65483
65484 ac_ext=cpp
65485 ac_cpp='$CXXCPP $CPPFLAGS'
65486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65489
65490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65491 /* end confdefs.h. */
65492 #include <math.h>
65493 #ifdef HAVE_IEEEFP_H
65494 #include <ieeefp.h>
65495 #endif
65496
65497 int
65498 main ()
65499 {
65500 isnan(0);
65501 ;
65502 return 0;
65503 }
65504 _ACEOF
65505 if ac_fn_cxx_try_compile "$LINENO"; then :
65506 glibcxx_cv_func_isnan_use=yes
65507 else
65508 glibcxx_cv_func_isnan_use=no
65509 fi
65510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65511 ac_ext=c
65512 ac_cpp='$CPP $CPPFLAGS'
65513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65516
65517
65518 fi
65519
65520 fi
65521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65522 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65523
65524 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65525 for ac_func in isnan
65526 do :
65527 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65528 if test "x$ac_cv_func_isnan" = x""yes; then :
65529 cat >>confdefs.h <<_ACEOF
65530 #define HAVE_ISNAN 1
65531 _ACEOF
65532
65533 fi
65534 done
65535
65536 else
65537
65538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65539 $as_echo_n "checking for _isnan declaration... " >&6; }
65540 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65541 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65542 $as_echo_n "(cached) " >&6
65543 else
65544
65545
65546 ac_ext=cpp
65547 ac_cpp='$CXXCPP $CPPFLAGS'
65548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65551
65552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65553 /* end confdefs.h. */
65554 #include <math.h>
65555 #ifdef HAVE_IEEEFP_H
65556 #include <ieeefp.h>
65557 #endif
65558
65559 int
65560 main ()
65561 {
65562 _isnan(0);
65563 ;
65564 return 0;
65565 }
65566 _ACEOF
65567 if ac_fn_cxx_try_compile "$LINENO"; then :
65568 glibcxx_cv_func__isnan_use=yes
65569 else
65570 glibcxx_cv_func__isnan_use=no
65571 fi
65572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65573 ac_ext=c
65574 ac_cpp='$CPP $CPPFLAGS'
65575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65578
65579
65580 fi
65581
65582 fi
65583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65584 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65585
65586 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65587 for ac_func in _isnan
65588 do :
65589 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65590 if test "x$ac_cv_func__isnan" = x""yes; then :
65591 cat >>confdefs.h <<_ACEOF
65592 #define HAVE__ISNAN 1
65593 _ACEOF
65594
65595 fi
65596 done
65597
65598 fi
65599 fi
65600
65601
65602
65603
65604
65605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65606 $as_echo_n "checking for finite declaration... " >&6; }
65607 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65608 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65609 $as_echo_n "(cached) " >&6
65610 else
65611
65612
65613 ac_ext=cpp
65614 ac_cpp='$CXXCPP $CPPFLAGS'
65615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65618
65619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65620 /* end confdefs.h. */
65621 #include <math.h>
65622 #ifdef HAVE_IEEEFP_H
65623 #include <ieeefp.h>
65624 #endif
65625
65626 int
65627 main ()
65628 {
65629 finite(0);
65630 ;
65631 return 0;
65632 }
65633 _ACEOF
65634 if ac_fn_cxx_try_compile "$LINENO"; then :
65635 glibcxx_cv_func_finite_use=yes
65636 else
65637 glibcxx_cv_func_finite_use=no
65638 fi
65639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65640 ac_ext=c
65641 ac_cpp='$CPP $CPPFLAGS'
65642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65645
65646
65647 fi
65648
65649 fi
65650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65651 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65652
65653 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65654 for ac_func in finite
65655 do :
65656 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65657 if test "x$ac_cv_func_finite" = x""yes; then :
65658 cat >>confdefs.h <<_ACEOF
65659 #define HAVE_FINITE 1
65660 _ACEOF
65661
65662 fi
65663 done
65664
65665 else
65666
65667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65668 $as_echo_n "checking for _finite declaration... " >&6; }
65669 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65670 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65671 $as_echo_n "(cached) " >&6
65672 else
65673
65674
65675 ac_ext=cpp
65676 ac_cpp='$CXXCPP $CPPFLAGS'
65677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65680
65681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65682 /* end confdefs.h. */
65683 #include <math.h>
65684 #ifdef HAVE_IEEEFP_H
65685 #include <ieeefp.h>
65686 #endif
65687
65688 int
65689 main ()
65690 {
65691 _finite(0);
65692 ;
65693 return 0;
65694 }
65695 _ACEOF
65696 if ac_fn_cxx_try_compile "$LINENO"; then :
65697 glibcxx_cv_func__finite_use=yes
65698 else
65699 glibcxx_cv_func__finite_use=no
65700 fi
65701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65702 ac_ext=c
65703 ac_cpp='$CPP $CPPFLAGS'
65704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65707
65708
65709 fi
65710
65711 fi
65712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65713 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65714
65715 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65716 for ac_func in _finite
65717 do :
65718 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65719 if test "x$ac_cv_func__finite" = x""yes; then :
65720 cat >>confdefs.h <<_ACEOF
65721 #define HAVE__FINITE 1
65722 _ACEOF
65723
65724 fi
65725 done
65726
65727 fi
65728 fi
65729
65730
65731
65732
65733
65734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65735 $as_echo_n "checking for sincos declaration... " >&6; }
65736 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65737 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65738 $as_echo_n "(cached) " >&6
65739 else
65740
65741
65742 ac_ext=cpp
65743 ac_cpp='$CXXCPP $CPPFLAGS'
65744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65747
65748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65749 /* end confdefs.h. */
65750 #include <math.h>
65751 int
65752 main ()
65753 {
65754 sincos(0, 0, 0);
65755 ;
65756 return 0;
65757 }
65758 _ACEOF
65759 if ac_fn_cxx_try_compile "$LINENO"; then :
65760 glibcxx_cv_func_sincos_use=yes
65761 else
65762 glibcxx_cv_func_sincos_use=no
65763 fi
65764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65765 ac_ext=c
65766 ac_cpp='$CPP $CPPFLAGS'
65767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65770
65771
65772 fi
65773
65774 fi
65775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65776 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65777
65778 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65779 for ac_func in sincos
65780 do :
65781 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65782 if test "x$ac_cv_func_sincos" = x""yes; then :
65783 cat >>confdefs.h <<_ACEOF
65784 #define HAVE_SINCOS 1
65785 _ACEOF
65786
65787 fi
65788 done
65789
65790 else
65791
65792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65793 $as_echo_n "checking for _sincos declaration... " >&6; }
65794 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65795 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65796 $as_echo_n "(cached) " >&6
65797 else
65798
65799
65800 ac_ext=cpp
65801 ac_cpp='$CXXCPP $CPPFLAGS'
65802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65805
65806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65807 /* end confdefs.h. */
65808 #include <math.h>
65809 int
65810 main ()
65811 {
65812 _sincos(0, 0, 0);
65813 ;
65814 return 0;
65815 }
65816 _ACEOF
65817 if ac_fn_cxx_try_compile "$LINENO"; then :
65818 glibcxx_cv_func__sincos_use=yes
65819 else
65820 glibcxx_cv_func__sincos_use=no
65821 fi
65822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65823 ac_ext=c
65824 ac_cpp='$CPP $CPPFLAGS'
65825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65828
65829
65830 fi
65831
65832 fi
65833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65834 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65835
65836 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65837 for ac_func in _sincos
65838 do :
65839 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65840 if test "x$ac_cv_func__sincos" = x""yes; then :
65841 cat >>confdefs.h <<_ACEOF
65842 #define HAVE__SINCOS 1
65843 _ACEOF
65844
65845 fi
65846 done
65847
65848 fi
65849 fi
65850
65851
65852
65853
65854
65855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65856 $as_echo_n "checking for fpclass declaration... " >&6; }
65857 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65858 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65859 $as_echo_n "(cached) " >&6
65860 else
65861
65862
65863 ac_ext=cpp
65864 ac_cpp='$CXXCPP $CPPFLAGS'
65865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65868
65869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65870 /* end confdefs.h. */
65871 #include <math.h>
65872 #ifdef HAVE_IEEEFP_H
65873 #include <ieeefp.h>
65874 #endif
65875
65876 int
65877 main ()
65878 {
65879 fpclass(0);
65880 ;
65881 return 0;
65882 }
65883 _ACEOF
65884 if ac_fn_cxx_try_compile "$LINENO"; then :
65885 glibcxx_cv_func_fpclass_use=yes
65886 else
65887 glibcxx_cv_func_fpclass_use=no
65888 fi
65889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65890 ac_ext=c
65891 ac_cpp='$CPP $CPPFLAGS'
65892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65895
65896
65897 fi
65898
65899 fi
65900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65901 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65902
65903 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65904 for ac_func in fpclass
65905 do :
65906 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65907 if test "x$ac_cv_func_fpclass" = x""yes; then :
65908 cat >>confdefs.h <<_ACEOF
65909 #define HAVE_FPCLASS 1
65910 _ACEOF
65911
65912 fi
65913 done
65914
65915 else
65916
65917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65918 $as_echo_n "checking for _fpclass declaration... " >&6; }
65919 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65920 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65921 $as_echo_n "(cached) " >&6
65922 else
65923
65924
65925 ac_ext=cpp
65926 ac_cpp='$CXXCPP $CPPFLAGS'
65927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65930
65931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65932 /* end confdefs.h. */
65933 #include <math.h>
65934 #ifdef HAVE_IEEEFP_H
65935 #include <ieeefp.h>
65936 #endif
65937
65938 int
65939 main ()
65940 {
65941 _fpclass(0);
65942 ;
65943 return 0;
65944 }
65945 _ACEOF
65946 if ac_fn_cxx_try_compile "$LINENO"; then :
65947 glibcxx_cv_func__fpclass_use=yes
65948 else
65949 glibcxx_cv_func__fpclass_use=no
65950 fi
65951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65952 ac_ext=c
65953 ac_cpp='$CPP $CPPFLAGS'
65954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65957
65958
65959 fi
65960
65961 fi
65962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65963 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65964
65965 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65966 for ac_func in _fpclass
65967 do :
65968 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65969 if test "x$ac_cv_func__fpclass" = x""yes; then :
65970 cat >>confdefs.h <<_ACEOF
65971 #define HAVE__FPCLASS 1
65972 _ACEOF
65973
65974 fi
65975 done
65976
65977 fi
65978 fi
65979
65980
65981
65982
65983
65984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65985 $as_echo_n "checking for qfpclass declaration... " >&6; }
65986 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65987 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65988 $as_echo_n "(cached) " >&6
65989 else
65990
65991
65992 ac_ext=cpp
65993 ac_cpp='$CXXCPP $CPPFLAGS'
65994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65997
65998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65999 /* end confdefs.h. */
66000 #include <math.h>
66001 #ifdef HAVE_IEEEFP_H
66002 #include <ieeefp.h>
66003 #endif
66004
66005 int
66006 main ()
66007 {
66008 qfpclass(0);
66009 ;
66010 return 0;
66011 }
66012 _ACEOF
66013 if ac_fn_cxx_try_compile "$LINENO"; then :
66014 glibcxx_cv_func_qfpclass_use=yes
66015 else
66016 glibcxx_cv_func_qfpclass_use=no
66017 fi
66018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66019 ac_ext=c
66020 ac_cpp='$CPP $CPPFLAGS'
66021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66024
66025
66026 fi
66027
66028 fi
66029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66030 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66031
66032 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66033 for ac_func in qfpclass
66034 do :
66035 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66036 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66037 cat >>confdefs.h <<_ACEOF
66038 #define HAVE_QFPCLASS 1
66039 _ACEOF
66040
66041 fi
66042 done
66043
66044 else
66045
66046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66047 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66048 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66049 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66050 $as_echo_n "(cached) " >&6
66051 else
66052
66053
66054 ac_ext=cpp
66055 ac_cpp='$CXXCPP $CPPFLAGS'
66056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66059
66060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66061 /* end confdefs.h. */
66062 #include <math.h>
66063 #ifdef HAVE_IEEEFP_H
66064 #include <ieeefp.h>
66065 #endif
66066
66067 int
66068 main ()
66069 {
66070 _qfpclass(0);
66071 ;
66072 return 0;
66073 }
66074 _ACEOF
66075 if ac_fn_cxx_try_compile "$LINENO"; then :
66076 glibcxx_cv_func__qfpclass_use=yes
66077 else
66078 glibcxx_cv_func__qfpclass_use=no
66079 fi
66080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66081 ac_ext=c
66082 ac_cpp='$CPP $CPPFLAGS'
66083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66086
66087
66088 fi
66089
66090 fi
66091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66092 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66093
66094 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66095 for ac_func in _qfpclass
66096 do :
66097 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66098 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66099 cat >>confdefs.h <<_ACEOF
66100 #define HAVE__QFPCLASS 1
66101 _ACEOF
66102
66103 fi
66104 done
66105
66106 fi
66107 fi
66108
66109
66110
66111
66112
66113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66114 $as_echo_n "checking for hypot declaration... " >&6; }
66115 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66116 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66117 $as_echo_n "(cached) " >&6
66118 else
66119
66120
66121 ac_ext=cpp
66122 ac_cpp='$CXXCPP $CPPFLAGS'
66123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66126
66127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66128 /* end confdefs.h. */
66129 #include <math.h>
66130 int
66131 main ()
66132 {
66133 hypot(0, 0);
66134 ;
66135 return 0;
66136 }
66137 _ACEOF
66138 if ac_fn_cxx_try_compile "$LINENO"; then :
66139 glibcxx_cv_func_hypot_use=yes
66140 else
66141 glibcxx_cv_func_hypot_use=no
66142 fi
66143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66144 ac_ext=c
66145 ac_cpp='$CPP $CPPFLAGS'
66146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66149
66150
66151 fi
66152
66153 fi
66154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66155 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66156
66157 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66158 for ac_func in hypot
66159 do :
66160 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66161 if test "x$ac_cv_func_hypot" = x""yes; then :
66162 cat >>confdefs.h <<_ACEOF
66163 #define HAVE_HYPOT 1
66164 _ACEOF
66165
66166 fi
66167 done
66168
66169 else
66170
66171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66172 $as_echo_n "checking for _hypot declaration... " >&6; }
66173 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66174 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66175 $as_echo_n "(cached) " >&6
66176 else
66177
66178
66179 ac_ext=cpp
66180 ac_cpp='$CXXCPP $CPPFLAGS'
66181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66184
66185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66186 /* end confdefs.h. */
66187 #include <math.h>
66188 int
66189 main ()
66190 {
66191 _hypot(0, 0);
66192 ;
66193 return 0;
66194 }
66195 _ACEOF
66196 if ac_fn_cxx_try_compile "$LINENO"; then :
66197 glibcxx_cv_func__hypot_use=yes
66198 else
66199 glibcxx_cv_func__hypot_use=no
66200 fi
66201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66202 ac_ext=c
66203 ac_cpp='$CPP $CPPFLAGS'
66204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66207
66208
66209 fi
66210
66211 fi
66212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66213 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66214
66215 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66216 for ac_func in _hypot
66217 do :
66218 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66219 if test "x$ac_cv_func__hypot" = x""yes; then :
66220 cat >>confdefs.h <<_ACEOF
66221 #define HAVE__HYPOT 1
66222 _ACEOF
66223
66224 fi
66225 done
66226
66227 fi
66228 fi
66229
66230
66231
66232
66233
66234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66235 $as_echo_n "checking for float trig functions... " >&6; }
66236 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66237 $as_echo_n "(cached) " >&6
66238 else
66239
66240
66241 ac_ext=cpp
66242 ac_cpp='$CXXCPP $CPPFLAGS'
66243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66246
66247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66248 /* end confdefs.h. */
66249 #include <math.h>
66250 int
66251 main ()
66252 {
66253 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66254 ;
66255 return 0;
66256 }
66257 _ACEOF
66258 if ac_fn_cxx_try_compile "$LINENO"; then :
66259 glibcxx_cv_func_float_trig_use=yes
66260 else
66261 glibcxx_cv_func_float_trig_use=no
66262 fi
66263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66264 ac_ext=c
66265 ac_cpp='$CPP $CPPFLAGS'
66266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66269
66270 fi
66271
66272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66273 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66274 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66275 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66276 do :
66277 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66278 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66279 eval as_val=\$$as_ac_var
66280 if test "x$as_val" = x""yes; then :
66281 cat >>confdefs.h <<_ACEOF
66282 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66283 _ACEOF
66284
66285 fi
66286 done
66287
66288 else
66289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66290 $as_echo_n "checking for _float trig functions... " >&6; }
66291 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66292 $as_echo_n "(cached) " >&6
66293 else
66294
66295
66296 ac_ext=cpp
66297 ac_cpp='$CXXCPP $CPPFLAGS'
66298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66301
66302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66303 /* end confdefs.h. */
66304 #include <math.h>
66305 int
66306 main ()
66307 {
66308 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66309 ;
66310 return 0;
66311 }
66312 _ACEOF
66313 if ac_fn_cxx_try_compile "$LINENO"; then :
66314 glibcxx_cv_func__float_trig_use=yes
66315 else
66316 glibcxx_cv_func__float_trig_use=no
66317 fi
66318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66319 ac_ext=c
66320 ac_cpp='$CPP $CPPFLAGS'
66321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66324
66325 fi
66326
66327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66328 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66329 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66330 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66331 do :
66332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66334 eval as_val=\$$as_ac_var
66335 if test "x$as_val" = x""yes; then :
66336 cat >>confdefs.h <<_ACEOF
66337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66338 _ACEOF
66339
66340 fi
66341 done
66342
66343 fi
66344 fi
66345
66346
66347
66348
66349
66350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66351 $as_echo_n "checking for float round functions... " >&6; }
66352 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66353 $as_echo_n "(cached) " >&6
66354 else
66355
66356
66357 ac_ext=cpp
66358 ac_cpp='$CXXCPP $CPPFLAGS'
66359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66362
66363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66364 /* end confdefs.h. */
66365 #include <math.h>
66366 int
66367 main ()
66368 {
66369 ceilf (0); floorf (0);
66370 ;
66371 return 0;
66372 }
66373 _ACEOF
66374 if ac_fn_cxx_try_compile "$LINENO"; then :
66375 glibcxx_cv_func_float_round_use=yes
66376 else
66377 glibcxx_cv_func_float_round_use=no
66378 fi
66379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66380 ac_ext=c
66381 ac_cpp='$CPP $CPPFLAGS'
66382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66385
66386 fi
66387
66388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66389 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66390 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66391 for ac_func in ceilf floorf
66392 do :
66393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66395 eval as_val=\$$as_ac_var
66396 if test "x$as_val" = x""yes; then :
66397 cat >>confdefs.h <<_ACEOF
66398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66399 _ACEOF
66400
66401 fi
66402 done
66403
66404 else
66405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66406 $as_echo_n "checking for _float round functions... " >&6; }
66407 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66408 $as_echo_n "(cached) " >&6
66409 else
66410
66411
66412 ac_ext=cpp
66413 ac_cpp='$CXXCPP $CPPFLAGS'
66414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66417
66418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66419 /* end confdefs.h. */
66420 #include <math.h>
66421 int
66422 main ()
66423 {
66424 _ceilf (0); _floorf (0);
66425 ;
66426 return 0;
66427 }
66428 _ACEOF
66429 if ac_fn_cxx_try_compile "$LINENO"; then :
66430 glibcxx_cv_func__float_round_use=yes
66431 else
66432 glibcxx_cv_func__float_round_use=no
66433 fi
66434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66435 ac_ext=c
66436 ac_cpp='$CPP $CPPFLAGS'
66437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66440
66441 fi
66442
66443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66444 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66445 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66446 for ac_func in _ceilf _floorf
66447 do :
66448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66450 eval as_val=\$$as_ac_var
66451 if test "x$as_val" = x""yes; then :
66452 cat >>confdefs.h <<_ACEOF
66453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66454 _ACEOF
66455
66456 fi
66457 done
66458
66459 fi
66460 fi
66461
66462
66463
66464
66465
66466
66467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66468 $as_echo_n "checking for expf declaration... " >&6; }
66469 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66470 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66471 $as_echo_n "(cached) " >&6
66472 else
66473
66474
66475 ac_ext=cpp
66476 ac_cpp='$CXXCPP $CPPFLAGS'
66477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66480
66481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66482 /* end confdefs.h. */
66483 #include <math.h>
66484 #ifdef HAVE_IEEEFP_H
66485 #include <ieeefp.h>
66486 #endif
66487
66488 int
66489 main ()
66490 {
66491 expf(0);
66492 ;
66493 return 0;
66494 }
66495 _ACEOF
66496 if ac_fn_cxx_try_compile "$LINENO"; then :
66497 glibcxx_cv_func_expf_use=yes
66498 else
66499 glibcxx_cv_func_expf_use=no
66500 fi
66501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66502 ac_ext=c
66503 ac_cpp='$CPP $CPPFLAGS'
66504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66507
66508
66509 fi
66510
66511 fi
66512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66513 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66514
66515 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66516 for ac_func in expf
66517 do :
66518 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66519 if test "x$ac_cv_func_expf" = x""yes; then :
66520 cat >>confdefs.h <<_ACEOF
66521 #define HAVE_EXPF 1
66522 _ACEOF
66523
66524 fi
66525 done
66526
66527 else
66528
66529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66530 $as_echo_n "checking for _expf declaration... " >&6; }
66531 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66532 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66533 $as_echo_n "(cached) " >&6
66534 else
66535
66536
66537 ac_ext=cpp
66538 ac_cpp='$CXXCPP $CPPFLAGS'
66539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66542
66543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66544 /* end confdefs.h. */
66545 #include <math.h>
66546 #ifdef HAVE_IEEEFP_H
66547 #include <ieeefp.h>
66548 #endif
66549
66550 int
66551 main ()
66552 {
66553 _expf(0);
66554 ;
66555 return 0;
66556 }
66557 _ACEOF
66558 if ac_fn_cxx_try_compile "$LINENO"; then :
66559 glibcxx_cv_func__expf_use=yes
66560 else
66561 glibcxx_cv_func__expf_use=no
66562 fi
66563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66564 ac_ext=c
66565 ac_cpp='$CPP $CPPFLAGS'
66566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66569
66570
66571 fi
66572
66573 fi
66574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66575 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66576
66577 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66578 for ac_func in _expf
66579 do :
66580 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66581 if test "x$ac_cv_func__expf" = x""yes; then :
66582 cat >>confdefs.h <<_ACEOF
66583 #define HAVE__EXPF 1
66584 _ACEOF
66585
66586 fi
66587 done
66588
66589 fi
66590 fi
66591
66592
66593
66594
66595
66596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66597 $as_echo_n "checking for isnanf declaration... " >&6; }
66598 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66599 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66600 $as_echo_n "(cached) " >&6
66601 else
66602
66603
66604 ac_ext=cpp
66605 ac_cpp='$CXXCPP $CPPFLAGS'
66606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66609
66610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66611 /* end confdefs.h. */
66612 #include <math.h>
66613 #ifdef HAVE_IEEEFP_H
66614 #include <ieeefp.h>
66615 #endif
66616
66617 int
66618 main ()
66619 {
66620 isnanf(0);
66621 ;
66622 return 0;
66623 }
66624 _ACEOF
66625 if ac_fn_cxx_try_compile "$LINENO"; then :
66626 glibcxx_cv_func_isnanf_use=yes
66627 else
66628 glibcxx_cv_func_isnanf_use=no
66629 fi
66630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66631 ac_ext=c
66632 ac_cpp='$CPP $CPPFLAGS'
66633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66636
66637
66638 fi
66639
66640 fi
66641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66642 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66643
66644 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66645 for ac_func in isnanf
66646 do :
66647 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66648 if test "x$ac_cv_func_isnanf" = x""yes; then :
66649 cat >>confdefs.h <<_ACEOF
66650 #define HAVE_ISNANF 1
66651 _ACEOF
66652
66653 fi
66654 done
66655
66656 else
66657
66658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66659 $as_echo_n "checking for _isnanf declaration... " >&6; }
66660 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66661 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66662 $as_echo_n "(cached) " >&6
66663 else
66664
66665
66666 ac_ext=cpp
66667 ac_cpp='$CXXCPP $CPPFLAGS'
66668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66671
66672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66673 /* end confdefs.h. */
66674 #include <math.h>
66675 #ifdef HAVE_IEEEFP_H
66676 #include <ieeefp.h>
66677 #endif
66678
66679 int
66680 main ()
66681 {
66682 _isnanf(0);
66683 ;
66684 return 0;
66685 }
66686 _ACEOF
66687 if ac_fn_cxx_try_compile "$LINENO"; then :
66688 glibcxx_cv_func__isnanf_use=yes
66689 else
66690 glibcxx_cv_func__isnanf_use=no
66691 fi
66692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66693 ac_ext=c
66694 ac_cpp='$CPP $CPPFLAGS'
66695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66698
66699
66700 fi
66701
66702 fi
66703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66704 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66705
66706 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66707 for ac_func in _isnanf
66708 do :
66709 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66710 if test "x$ac_cv_func__isnanf" = x""yes; then :
66711 cat >>confdefs.h <<_ACEOF
66712 #define HAVE__ISNANF 1
66713 _ACEOF
66714
66715 fi
66716 done
66717
66718 fi
66719 fi
66720
66721
66722
66723
66724
66725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66726 $as_echo_n "checking for isinff declaration... " >&6; }
66727 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66728 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66729 $as_echo_n "(cached) " >&6
66730 else
66731
66732
66733 ac_ext=cpp
66734 ac_cpp='$CXXCPP $CPPFLAGS'
66735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66738
66739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66740 /* end confdefs.h. */
66741 #include <math.h>
66742 #ifdef HAVE_IEEEFP_H
66743 #include <ieeefp.h>
66744 #endif
66745
66746 int
66747 main ()
66748 {
66749 isinff(0);
66750 ;
66751 return 0;
66752 }
66753 _ACEOF
66754 if ac_fn_cxx_try_compile "$LINENO"; then :
66755 glibcxx_cv_func_isinff_use=yes
66756 else
66757 glibcxx_cv_func_isinff_use=no
66758 fi
66759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66760 ac_ext=c
66761 ac_cpp='$CPP $CPPFLAGS'
66762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66765
66766
66767 fi
66768
66769 fi
66770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66771 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66772
66773 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66774 for ac_func in isinff
66775 do :
66776 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66777 if test "x$ac_cv_func_isinff" = x""yes; then :
66778 cat >>confdefs.h <<_ACEOF
66779 #define HAVE_ISINFF 1
66780 _ACEOF
66781
66782 fi
66783 done
66784
66785 else
66786
66787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66788 $as_echo_n "checking for _isinff declaration... " >&6; }
66789 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66790 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66791 $as_echo_n "(cached) " >&6
66792 else
66793
66794
66795 ac_ext=cpp
66796 ac_cpp='$CXXCPP $CPPFLAGS'
66797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66800
66801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66802 /* end confdefs.h. */
66803 #include <math.h>
66804 #ifdef HAVE_IEEEFP_H
66805 #include <ieeefp.h>
66806 #endif
66807
66808 int
66809 main ()
66810 {
66811 _isinff(0);
66812 ;
66813 return 0;
66814 }
66815 _ACEOF
66816 if ac_fn_cxx_try_compile "$LINENO"; then :
66817 glibcxx_cv_func__isinff_use=yes
66818 else
66819 glibcxx_cv_func__isinff_use=no
66820 fi
66821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66822 ac_ext=c
66823 ac_cpp='$CPP $CPPFLAGS'
66824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66827
66828
66829 fi
66830
66831 fi
66832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66833 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66834
66835 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66836 for ac_func in _isinff
66837 do :
66838 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66839 if test "x$ac_cv_func__isinff" = x""yes; then :
66840 cat >>confdefs.h <<_ACEOF
66841 #define HAVE__ISINFF 1
66842 _ACEOF
66843
66844 fi
66845 done
66846
66847 fi
66848 fi
66849
66850
66851
66852
66853
66854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66855 $as_echo_n "checking for atan2f declaration... " >&6; }
66856 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66857 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66858 $as_echo_n "(cached) " >&6
66859 else
66860
66861
66862 ac_ext=cpp
66863 ac_cpp='$CXXCPP $CPPFLAGS'
66864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66867
66868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66869 /* end confdefs.h. */
66870 #include <math.h>
66871 int
66872 main ()
66873 {
66874 atan2f(0, 0);
66875 ;
66876 return 0;
66877 }
66878 _ACEOF
66879 if ac_fn_cxx_try_compile "$LINENO"; then :
66880 glibcxx_cv_func_atan2f_use=yes
66881 else
66882 glibcxx_cv_func_atan2f_use=no
66883 fi
66884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66885 ac_ext=c
66886 ac_cpp='$CPP $CPPFLAGS'
66887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66890
66891
66892 fi
66893
66894 fi
66895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66896 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66897
66898 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66899 for ac_func in atan2f
66900 do :
66901 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66902 if test "x$ac_cv_func_atan2f" = x""yes; then :
66903 cat >>confdefs.h <<_ACEOF
66904 #define HAVE_ATAN2F 1
66905 _ACEOF
66906
66907 fi
66908 done
66909
66910 else
66911
66912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66913 $as_echo_n "checking for _atan2f declaration... " >&6; }
66914 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66915 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66916 $as_echo_n "(cached) " >&6
66917 else
66918
66919
66920 ac_ext=cpp
66921 ac_cpp='$CXXCPP $CPPFLAGS'
66922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66925
66926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66927 /* end confdefs.h. */
66928 #include <math.h>
66929 int
66930 main ()
66931 {
66932 _atan2f(0, 0);
66933 ;
66934 return 0;
66935 }
66936 _ACEOF
66937 if ac_fn_cxx_try_compile "$LINENO"; then :
66938 glibcxx_cv_func__atan2f_use=yes
66939 else
66940 glibcxx_cv_func__atan2f_use=no
66941 fi
66942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66943 ac_ext=c
66944 ac_cpp='$CPP $CPPFLAGS'
66945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66948
66949
66950 fi
66951
66952 fi
66953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66954 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66955
66956 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66957 for ac_func in _atan2f
66958 do :
66959 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66960 if test "x$ac_cv_func__atan2f" = x""yes; then :
66961 cat >>confdefs.h <<_ACEOF
66962 #define HAVE__ATAN2F 1
66963 _ACEOF
66964
66965 fi
66966 done
66967
66968 fi
66969 fi
66970
66971
66972
66973
66974
66975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66976 $as_echo_n "checking for fabsf declaration... " >&6; }
66977 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66978 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66979 $as_echo_n "(cached) " >&6
66980 else
66981
66982
66983 ac_ext=cpp
66984 ac_cpp='$CXXCPP $CPPFLAGS'
66985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66988
66989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66990 /* end confdefs.h. */
66991 #include <math.h>
66992 #ifdef HAVE_IEEEFP_H
66993 #include <ieeefp.h>
66994 #endif
66995
66996 int
66997 main ()
66998 {
66999 fabsf(0);
67000 ;
67001 return 0;
67002 }
67003 _ACEOF
67004 if ac_fn_cxx_try_compile "$LINENO"; then :
67005 glibcxx_cv_func_fabsf_use=yes
67006 else
67007 glibcxx_cv_func_fabsf_use=no
67008 fi
67009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67010 ac_ext=c
67011 ac_cpp='$CPP $CPPFLAGS'
67012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67015
67016
67017 fi
67018
67019 fi
67020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67021 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67022
67023 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67024 for ac_func in fabsf
67025 do :
67026 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67027 if test "x$ac_cv_func_fabsf" = x""yes; then :
67028 cat >>confdefs.h <<_ACEOF
67029 #define HAVE_FABSF 1
67030 _ACEOF
67031
67032 fi
67033 done
67034
67035 else
67036
67037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67038 $as_echo_n "checking for _fabsf declaration... " >&6; }
67039 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67040 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67041 $as_echo_n "(cached) " >&6
67042 else
67043
67044
67045 ac_ext=cpp
67046 ac_cpp='$CXXCPP $CPPFLAGS'
67047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67050
67051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67052 /* end confdefs.h. */
67053 #include <math.h>
67054 #ifdef HAVE_IEEEFP_H
67055 #include <ieeefp.h>
67056 #endif
67057
67058 int
67059 main ()
67060 {
67061 _fabsf(0);
67062 ;
67063 return 0;
67064 }
67065 _ACEOF
67066 if ac_fn_cxx_try_compile "$LINENO"; then :
67067 glibcxx_cv_func__fabsf_use=yes
67068 else
67069 glibcxx_cv_func__fabsf_use=no
67070 fi
67071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67072 ac_ext=c
67073 ac_cpp='$CPP $CPPFLAGS'
67074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67077
67078
67079 fi
67080
67081 fi
67082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67083 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67084
67085 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67086 for ac_func in _fabsf
67087 do :
67088 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67089 if test "x$ac_cv_func__fabsf" = x""yes; then :
67090 cat >>confdefs.h <<_ACEOF
67091 #define HAVE__FABSF 1
67092 _ACEOF
67093
67094 fi
67095 done
67096
67097 fi
67098 fi
67099
67100
67101
67102
67103
67104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67105 $as_echo_n "checking for fmodf declaration... " >&6; }
67106 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67107 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67108 $as_echo_n "(cached) " >&6
67109 else
67110
67111
67112 ac_ext=cpp
67113 ac_cpp='$CXXCPP $CPPFLAGS'
67114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67117
67118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67119 /* end confdefs.h. */
67120 #include <math.h>
67121 int
67122 main ()
67123 {
67124 fmodf(0, 0);
67125 ;
67126 return 0;
67127 }
67128 _ACEOF
67129 if ac_fn_cxx_try_compile "$LINENO"; then :
67130 glibcxx_cv_func_fmodf_use=yes
67131 else
67132 glibcxx_cv_func_fmodf_use=no
67133 fi
67134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67135 ac_ext=c
67136 ac_cpp='$CPP $CPPFLAGS'
67137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67140
67141
67142 fi
67143
67144 fi
67145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67146 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67147
67148 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67149 for ac_func in fmodf
67150 do :
67151 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67152 if test "x$ac_cv_func_fmodf" = x""yes; then :
67153 cat >>confdefs.h <<_ACEOF
67154 #define HAVE_FMODF 1
67155 _ACEOF
67156
67157 fi
67158 done
67159
67160 else
67161
67162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67163 $as_echo_n "checking for _fmodf declaration... " >&6; }
67164 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67165 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67166 $as_echo_n "(cached) " >&6
67167 else
67168
67169
67170 ac_ext=cpp
67171 ac_cpp='$CXXCPP $CPPFLAGS'
67172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67175
67176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67177 /* end confdefs.h. */
67178 #include <math.h>
67179 int
67180 main ()
67181 {
67182 _fmodf(0, 0);
67183 ;
67184 return 0;
67185 }
67186 _ACEOF
67187 if ac_fn_cxx_try_compile "$LINENO"; then :
67188 glibcxx_cv_func__fmodf_use=yes
67189 else
67190 glibcxx_cv_func__fmodf_use=no
67191 fi
67192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67193 ac_ext=c
67194 ac_cpp='$CPP $CPPFLAGS'
67195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67198
67199
67200 fi
67201
67202 fi
67203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67204 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67205
67206 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67207 for ac_func in _fmodf
67208 do :
67209 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67210 if test "x$ac_cv_func__fmodf" = x""yes; then :
67211 cat >>confdefs.h <<_ACEOF
67212 #define HAVE__FMODF 1
67213 _ACEOF
67214
67215 fi
67216 done
67217
67218 fi
67219 fi
67220
67221
67222
67223
67224
67225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67226 $as_echo_n "checking for frexpf declaration... " >&6; }
67227 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67228 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67229 $as_echo_n "(cached) " >&6
67230 else
67231
67232
67233 ac_ext=cpp
67234 ac_cpp='$CXXCPP $CPPFLAGS'
67235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67238
67239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67240 /* end confdefs.h. */
67241 #include <math.h>
67242 int
67243 main ()
67244 {
67245 frexpf(0, 0);
67246 ;
67247 return 0;
67248 }
67249 _ACEOF
67250 if ac_fn_cxx_try_compile "$LINENO"; then :
67251 glibcxx_cv_func_frexpf_use=yes
67252 else
67253 glibcxx_cv_func_frexpf_use=no
67254 fi
67255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67256 ac_ext=c
67257 ac_cpp='$CPP $CPPFLAGS'
67258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67261
67262
67263 fi
67264
67265 fi
67266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67267 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67268
67269 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67270 for ac_func in frexpf
67271 do :
67272 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67273 if test "x$ac_cv_func_frexpf" = x""yes; then :
67274 cat >>confdefs.h <<_ACEOF
67275 #define HAVE_FREXPF 1
67276 _ACEOF
67277
67278 fi
67279 done
67280
67281 else
67282
67283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67284 $as_echo_n "checking for _frexpf declaration... " >&6; }
67285 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67286 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67287 $as_echo_n "(cached) " >&6
67288 else
67289
67290
67291 ac_ext=cpp
67292 ac_cpp='$CXXCPP $CPPFLAGS'
67293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67296
67297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67298 /* end confdefs.h. */
67299 #include <math.h>
67300 int
67301 main ()
67302 {
67303 _frexpf(0, 0);
67304 ;
67305 return 0;
67306 }
67307 _ACEOF
67308 if ac_fn_cxx_try_compile "$LINENO"; then :
67309 glibcxx_cv_func__frexpf_use=yes
67310 else
67311 glibcxx_cv_func__frexpf_use=no
67312 fi
67313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67314 ac_ext=c
67315 ac_cpp='$CPP $CPPFLAGS'
67316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67319
67320
67321 fi
67322
67323 fi
67324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67325 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67326
67327 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67328 for ac_func in _frexpf
67329 do :
67330 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67331 if test "x$ac_cv_func__frexpf" = x""yes; then :
67332 cat >>confdefs.h <<_ACEOF
67333 #define HAVE__FREXPF 1
67334 _ACEOF
67335
67336 fi
67337 done
67338
67339 fi
67340 fi
67341
67342
67343
67344
67345
67346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67347 $as_echo_n "checking for hypotf declaration... " >&6; }
67348 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67349 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67350 $as_echo_n "(cached) " >&6
67351 else
67352
67353
67354 ac_ext=cpp
67355 ac_cpp='$CXXCPP $CPPFLAGS'
67356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67359
67360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67361 /* end confdefs.h. */
67362 #include <math.h>
67363 int
67364 main ()
67365 {
67366 hypotf(0, 0);
67367 ;
67368 return 0;
67369 }
67370 _ACEOF
67371 if ac_fn_cxx_try_compile "$LINENO"; then :
67372 glibcxx_cv_func_hypotf_use=yes
67373 else
67374 glibcxx_cv_func_hypotf_use=no
67375 fi
67376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67377 ac_ext=c
67378 ac_cpp='$CPP $CPPFLAGS'
67379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67382
67383
67384 fi
67385
67386 fi
67387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67388 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67389
67390 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67391 for ac_func in hypotf
67392 do :
67393 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67394 if test "x$ac_cv_func_hypotf" = x""yes; then :
67395 cat >>confdefs.h <<_ACEOF
67396 #define HAVE_HYPOTF 1
67397 _ACEOF
67398
67399 fi
67400 done
67401
67402 else
67403
67404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67405 $as_echo_n "checking for _hypotf declaration... " >&6; }
67406 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67407 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67408 $as_echo_n "(cached) " >&6
67409 else
67410
67411
67412 ac_ext=cpp
67413 ac_cpp='$CXXCPP $CPPFLAGS'
67414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67417
67418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67419 /* end confdefs.h. */
67420 #include <math.h>
67421 int
67422 main ()
67423 {
67424 _hypotf(0, 0);
67425 ;
67426 return 0;
67427 }
67428 _ACEOF
67429 if ac_fn_cxx_try_compile "$LINENO"; then :
67430 glibcxx_cv_func__hypotf_use=yes
67431 else
67432 glibcxx_cv_func__hypotf_use=no
67433 fi
67434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67435 ac_ext=c
67436 ac_cpp='$CPP $CPPFLAGS'
67437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67440
67441
67442 fi
67443
67444 fi
67445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67446 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67447
67448 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67449 for ac_func in _hypotf
67450 do :
67451 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67452 if test "x$ac_cv_func__hypotf" = x""yes; then :
67453 cat >>confdefs.h <<_ACEOF
67454 #define HAVE__HYPOTF 1
67455 _ACEOF
67456
67457 fi
67458 done
67459
67460 fi
67461 fi
67462
67463
67464
67465
67466
67467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67468 $as_echo_n "checking for ldexpf declaration... " >&6; }
67469 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67470 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67471 $as_echo_n "(cached) " >&6
67472 else
67473
67474
67475 ac_ext=cpp
67476 ac_cpp='$CXXCPP $CPPFLAGS'
67477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67480
67481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67482 /* end confdefs.h. */
67483 #include <math.h>
67484 int
67485 main ()
67486 {
67487 ldexpf(0, 0);
67488 ;
67489 return 0;
67490 }
67491 _ACEOF
67492 if ac_fn_cxx_try_compile "$LINENO"; then :
67493 glibcxx_cv_func_ldexpf_use=yes
67494 else
67495 glibcxx_cv_func_ldexpf_use=no
67496 fi
67497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67498 ac_ext=c
67499 ac_cpp='$CPP $CPPFLAGS'
67500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67503
67504
67505 fi
67506
67507 fi
67508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67509 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67510
67511 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67512 for ac_func in ldexpf
67513 do :
67514 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67515 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67516 cat >>confdefs.h <<_ACEOF
67517 #define HAVE_LDEXPF 1
67518 _ACEOF
67519
67520 fi
67521 done
67522
67523 else
67524
67525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67526 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67527 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67528 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67529 $as_echo_n "(cached) " >&6
67530 else
67531
67532
67533 ac_ext=cpp
67534 ac_cpp='$CXXCPP $CPPFLAGS'
67535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67538
67539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67540 /* end confdefs.h. */
67541 #include <math.h>
67542 int
67543 main ()
67544 {
67545 _ldexpf(0, 0);
67546 ;
67547 return 0;
67548 }
67549 _ACEOF
67550 if ac_fn_cxx_try_compile "$LINENO"; then :
67551 glibcxx_cv_func__ldexpf_use=yes
67552 else
67553 glibcxx_cv_func__ldexpf_use=no
67554 fi
67555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67556 ac_ext=c
67557 ac_cpp='$CPP $CPPFLAGS'
67558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67561
67562
67563 fi
67564
67565 fi
67566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67567 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67568
67569 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67570 for ac_func in _ldexpf
67571 do :
67572 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67573 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67574 cat >>confdefs.h <<_ACEOF
67575 #define HAVE__LDEXPF 1
67576 _ACEOF
67577
67578 fi
67579 done
67580
67581 fi
67582 fi
67583
67584
67585
67586
67587
67588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67589 $as_echo_n "checking for logf declaration... " >&6; }
67590 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67591 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67592 $as_echo_n "(cached) " >&6
67593 else
67594
67595
67596 ac_ext=cpp
67597 ac_cpp='$CXXCPP $CPPFLAGS'
67598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67601
67602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67603 /* end confdefs.h. */
67604 #include <math.h>
67605 #ifdef HAVE_IEEEFP_H
67606 #include <ieeefp.h>
67607 #endif
67608
67609 int
67610 main ()
67611 {
67612 logf(0);
67613 ;
67614 return 0;
67615 }
67616 _ACEOF
67617 if ac_fn_cxx_try_compile "$LINENO"; then :
67618 glibcxx_cv_func_logf_use=yes
67619 else
67620 glibcxx_cv_func_logf_use=no
67621 fi
67622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67623 ac_ext=c
67624 ac_cpp='$CPP $CPPFLAGS'
67625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67628
67629
67630 fi
67631
67632 fi
67633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67634 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67635
67636 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67637 for ac_func in logf
67638 do :
67639 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67640 if test "x$ac_cv_func_logf" = x""yes; then :
67641 cat >>confdefs.h <<_ACEOF
67642 #define HAVE_LOGF 1
67643 _ACEOF
67644
67645 fi
67646 done
67647
67648 else
67649
67650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67651 $as_echo_n "checking for _logf declaration... " >&6; }
67652 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67653 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67654 $as_echo_n "(cached) " >&6
67655 else
67656
67657
67658 ac_ext=cpp
67659 ac_cpp='$CXXCPP $CPPFLAGS'
67660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67663
67664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67665 /* end confdefs.h. */
67666 #include <math.h>
67667 #ifdef HAVE_IEEEFP_H
67668 #include <ieeefp.h>
67669 #endif
67670
67671 int
67672 main ()
67673 {
67674 _logf(0);
67675 ;
67676 return 0;
67677 }
67678 _ACEOF
67679 if ac_fn_cxx_try_compile "$LINENO"; then :
67680 glibcxx_cv_func__logf_use=yes
67681 else
67682 glibcxx_cv_func__logf_use=no
67683 fi
67684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67685 ac_ext=c
67686 ac_cpp='$CPP $CPPFLAGS'
67687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67690
67691
67692 fi
67693
67694 fi
67695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67696 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67697
67698 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67699 for ac_func in _logf
67700 do :
67701 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67702 if test "x$ac_cv_func__logf" = x""yes; then :
67703 cat >>confdefs.h <<_ACEOF
67704 #define HAVE__LOGF 1
67705 _ACEOF
67706
67707 fi
67708 done
67709
67710 fi
67711 fi
67712
67713
67714
67715
67716
67717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67718 $as_echo_n "checking for log10f declaration... " >&6; }
67719 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67720 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67721 $as_echo_n "(cached) " >&6
67722 else
67723
67724
67725 ac_ext=cpp
67726 ac_cpp='$CXXCPP $CPPFLAGS'
67727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67730
67731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67732 /* end confdefs.h. */
67733 #include <math.h>
67734 #ifdef HAVE_IEEEFP_H
67735 #include <ieeefp.h>
67736 #endif
67737
67738 int
67739 main ()
67740 {
67741 log10f(0);
67742 ;
67743 return 0;
67744 }
67745 _ACEOF
67746 if ac_fn_cxx_try_compile "$LINENO"; then :
67747 glibcxx_cv_func_log10f_use=yes
67748 else
67749 glibcxx_cv_func_log10f_use=no
67750 fi
67751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67752 ac_ext=c
67753 ac_cpp='$CPP $CPPFLAGS'
67754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67757
67758
67759 fi
67760
67761 fi
67762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67763 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67764
67765 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67766 for ac_func in log10f
67767 do :
67768 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67769 if test "x$ac_cv_func_log10f" = x""yes; then :
67770 cat >>confdefs.h <<_ACEOF
67771 #define HAVE_LOG10F 1
67772 _ACEOF
67773
67774 fi
67775 done
67776
67777 else
67778
67779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67780 $as_echo_n "checking for _log10f declaration... " >&6; }
67781 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67782 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67783 $as_echo_n "(cached) " >&6
67784 else
67785
67786
67787 ac_ext=cpp
67788 ac_cpp='$CXXCPP $CPPFLAGS'
67789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67792
67793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67794 /* end confdefs.h. */
67795 #include <math.h>
67796 #ifdef HAVE_IEEEFP_H
67797 #include <ieeefp.h>
67798 #endif
67799
67800 int
67801 main ()
67802 {
67803 _log10f(0);
67804 ;
67805 return 0;
67806 }
67807 _ACEOF
67808 if ac_fn_cxx_try_compile "$LINENO"; then :
67809 glibcxx_cv_func__log10f_use=yes
67810 else
67811 glibcxx_cv_func__log10f_use=no
67812 fi
67813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67814 ac_ext=c
67815 ac_cpp='$CPP $CPPFLAGS'
67816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67819
67820
67821 fi
67822
67823 fi
67824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67825 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67826
67827 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67828 for ac_func in _log10f
67829 do :
67830 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67831 if test "x$ac_cv_func__log10f" = x""yes; then :
67832 cat >>confdefs.h <<_ACEOF
67833 #define HAVE__LOG10F 1
67834 _ACEOF
67835
67836 fi
67837 done
67838
67839 fi
67840 fi
67841
67842
67843
67844
67845
67846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67847 $as_echo_n "checking for modff declaration... " >&6; }
67848 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67849 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67850 $as_echo_n "(cached) " >&6
67851 else
67852
67853
67854 ac_ext=cpp
67855 ac_cpp='$CXXCPP $CPPFLAGS'
67856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67859
67860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67861 /* end confdefs.h. */
67862 #include <math.h>
67863 int
67864 main ()
67865 {
67866 modff(0, 0);
67867 ;
67868 return 0;
67869 }
67870 _ACEOF
67871 if ac_fn_cxx_try_compile "$LINENO"; then :
67872 glibcxx_cv_func_modff_use=yes
67873 else
67874 glibcxx_cv_func_modff_use=no
67875 fi
67876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67877 ac_ext=c
67878 ac_cpp='$CPP $CPPFLAGS'
67879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67882
67883
67884 fi
67885
67886 fi
67887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67888 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67889
67890 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67891 for ac_func in modff
67892 do :
67893 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67894 if test "x$ac_cv_func_modff" = x""yes; then :
67895 cat >>confdefs.h <<_ACEOF
67896 #define HAVE_MODFF 1
67897 _ACEOF
67898
67899 fi
67900 done
67901
67902 else
67903
67904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67905 $as_echo_n "checking for _modff declaration... " >&6; }
67906 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67907 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67908 $as_echo_n "(cached) " >&6
67909 else
67910
67911
67912 ac_ext=cpp
67913 ac_cpp='$CXXCPP $CPPFLAGS'
67914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67917
67918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67919 /* end confdefs.h. */
67920 #include <math.h>
67921 int
67922 main ()
67923 {
67924 _modff(0, 0);
67925 ;
67926 return 0;
67927 }
67928 _ACEOF
67929 if ac_fn_cxx_try_compile "$LINENO"; then :
67930 glibcxx_cv_func__modff_use=yes
67931 else
67932 glibcxx_cv_func__modff_use=no
67933 fi
67934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67935 ac_ext=c
67936 ac_cpp='$CPP $CPPFLAGS'
67937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67940
67941
67942 fi
67943
67944 fi
67945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67946 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67947
67948 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67949 for ac_func in _modff
67950 do :
67951 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67952 if test "x$ac_cv_func__modff" = x""yes; then :
67953 cat >>confdefs.h <<_ACEOF
67954 #define HAVE__MODFF 1
67955 _ACEOF
67956
67957 fi
67958 done
67959
67960 fi
67961 fi
67962
67963
67964
67965
67966
67967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67968 $as_echo_n "checking for modf declaration... " >&6; }
67969 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67970 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67971 $as_echo_n "(cached) " >&6
67972 else
67973
67974
67975 ac_ext=cpp
67976 ac_cpp='$CXXCPP $CPPFLAGS'
67977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67980
67981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67982 /* end confdefs.h. */
67983 #include <math.h>
67984 int
67985 main ()
67986 {
67987 modf(0, 0);
67988 ;
67989 return 0;
67990 }
67991 _ACEOF
67992 if ac_fn_cxx_try_compile "$LINENO"; then :
67993 glibcxx_cv_func_modf_use=yes
67994 else
67995 glibcxx_cv_func_modf_use=no
67996 fi
67997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67998 ac_ext=c
67999 ac_cpp='$CPP $CPPFLAGS'
68000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68003
68004
68005 fi
68006
68007 fi
68008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68009 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68010
68011 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68012 for ac_func in modf
68013 do :
68014 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68015 if test "x$ac_cv_func_modf" = x""yes; then :
68016 cat >>confdefs.h <<_ACEOF
68017 #define HAVE_MODF 1
68018 _ACEOF
68019
68020 fi
68021 done
68022
68023 else
68024
68025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68026 $as_echo_n "checking for _modf declaration... " >&6; }
68027 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68028 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68029 $as_echo_n "(cached) " >&6
68030 else
68031
68032
68033 ac_ext=cpp
68034 ac_cpp='$CXXCPP $CPPFLAGS'
68035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68038
68039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68040 /* end confdefs.h. */
68041 #include <math.h>
68042 int
68043 main ()
68044 {
68045 _modf(0, 0);
68046 ;
68047 return 0;
68048 }
68049 _ACEOF
68050 if ac_fn_cxx_try_compile "$LINENO"; then :
68051 glibcxx_cv_func__modf_use=yes
68052 else
68053 glibcxx_cv_func__modf_use=no
68054 fi
68055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68056 ac_ext=c
68057 ac_cpp='$CPP $CPPFLAGS'
68058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68061
68062
68063 fi
68064
68065 fi
68066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68067 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68068
68069 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68070 for ac_func in _modf
68071 do :
68072 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68073 if test "x$ac_cv_func__modf" = x""yes; then :
68074 cat >>confdefs.h <<_ACEOF
68075 #define HAVE__MODF 1
68076 _ACEOF
68077
68078 fi
68079 done
68080
68081 fi
68082 fi
68083
68084
68085
68086
68087
68088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68089 $as_echo_n "checking for powf declaration... " >&6; }
68090 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68091 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68092 $as_echo_n "(cached) " >&6
68093 else
68094
68095
68096 ac_ext=cpp
68097 ac_cpp='$CXXCPP $CPPFLAGS'
68098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68101
68102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68103 /* end confdefs.h. */
68104 #include <math.h>
68105 int
68106 main ()
68107 {
68108 powf(0, 0);
68109 ;
68110 return 0;
68111 }
68112 _ACEOF
68113 if ac_fn_cxx_try_compile "$LINENO"; then :
68114 glibcxx_cv_func_powf_use=yes
68115 else
68116 glibcxx_cv_func_powf_use=no
68117 fi
68118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68119 ac_ext=c
68120 ac_cpp='$CPP $CPPFLAGS'
68121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68124
68125
68126 fi
68127
68128 fi
68129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68130 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68131
68132 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68133 for ac_func in powf
68134 do :
68135 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68136 if test "x$ac_cv_func_powf" = x""yes; then :
68137 cat >>confdefs.h <<_ACEOF
68138 #define HAVE_POWF 1
68139 _ACEOF
68140
68141 fi
68142 done
68143
68144 else
68145
68146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68147 $as_echo_n "checking for _powf declaration... " >&6; }
68148 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68149 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68150 $as_echo_n "(cached) " >&6
68151 else
68152
68153
68154 ac_ext=cpp
68155 ac_cpp='$CXXCPP $CPPFLAGS'
68156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68159
68160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68161 /* end confdefs.h. */
68162 #include <math.h>
68163 int
68164 main ()
68165 {
68166 _powf(0, 0);
68167 ;
68168 return 0;
68169 }
68170 _ACEOF
68171 if ac_fn_cxx_try_compile "$LINENO"; then :
68172 glibcxx_cv_func__powf_use=yes
68173 else
68174 glibcxx_cv_func__powf_use=no
68175 fi
68176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68177 ac_ext=c
68178 ac_cpp='$CPP $CPPFLAGS'
68179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68182
68183
68184 fi
68185
68186 fi
68187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68188 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68189
68190 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68191 for ac_func in _powf
68192 do :
68193 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68194 if test "x$ac_cv_func__powf" = x""yes; then :
68195 cat >>confdefs.h <<_ACEOF
68196 #define HAVE__POWF 1
68197 _ACEOF
68198
68199 fi
68200 done
68201
68202 fi
68203 fi
68204
68205
68206
68207
68208
68209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68210 $as_echo_n "checking for sqrtf declaration... " >&6; }
68211 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68212 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68213 $as_echo_n "(cached) " >&6
68214 else
68215
68216
68217 ac_ext=cpp
68218 ac_cpp='$CXXCPP $CPPFLAGS'
68219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68222
68223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68224 /* end confdefs.h. */
68225 #include <math.h>
68226 #ifdef HAVE_IEEEFP_H
68227 #include <ieeefp.h>
68228 #endif
68229
68230 int
68231 main ()
68232 {
68233 sqrtf(0);
68234 ;
68235 return 0;
68236 }
68237 _ACEOF
68238 if ac_fn_cxx_try_compile "$LINENO"; then :
68239 glibcxx_cv_func_sqrtf_use=yes
68240 else
68241 glibcxx_cv_func_sqrtf_use=no
68242 fi
68243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68244 ac_ext=c
68245 ac_cpp='$CPP $CPPFLAGS'
68246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68249
68250
68251 fi
68252
68253 fi
68254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68255 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68256
68257 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68258 for ac_func in sqrtf
68259 do :
68260 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68261 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68262 cat >>confdefs.h <<_ACEOF
68263 #define HAVE_SQRTF 1
68264 _ACEOF
68265
68266 fi
68267 done
68268
68269 else
68270
68271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68272 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68273 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68274 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68275 $as_echo_n "(cached) " >&6
68276 else
68277
68278
68279 ac_ext=cpp
68280 ac_cpp='$CXXCPP $CPPFLAGS'
68281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68284
68285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68286 /* end confdefs.h. */
68287 #include <math.h>
68288 #ifdef HAVE_IEEEFP_H
68289 #include <ieeefp.h>
68290 #endif
68291
68292 int
68293 main ()
68294 {
68295 _sqrtf(0);
68296 ;
68297 return 0;
68298 }
68299 _ACEOF
68300 if ac_fn_cxx_try_compile "$LINENO"; then :
68301 glibcxx_cv_func__sqrtf_use=yes
68302 else
68303 glibcxx_cv_func__sqrtf_use=no
68304 fi
68305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68306 ac_ext=c
68307 ac_cpp='$CPP $CPPFLAGS'
68308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68311
68312
68313 fi
68314
68315 fi
68316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68317 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68318
68319 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68320 for ac_func in _sqrtf
68321 do :
68322 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68323 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68324 cat >>confdefs.h <<_ACEOF
68325 #define HAVE__SQRTF 1
68326 _ACEOF
68327
68328 fi
68329 done
68330
68331 fi
68332 fi
68333
68334
68335
68336
68337
68338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68339 $as_echo_n "checking for sincosf declaration... " >&6; }
68340 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68341 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68342 $as_echo_n "(cached) " >&6
68343 else
68344
68345
68346 ac_ext=cpp
68347 ac_cpp='$CXXCPP $CPPFLAGS'
68348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68351
68352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68353 /* end confdefs.h. */
68354 #include <math.h>
68355 int
68356 main ()
68357 {
68358 sincosf(0, 0, 0);
68359 ;
68360 return 0;
68361 }
68362 _ACEOF
68363 if ac_fn_cxx_try_compile "$LINENO"; then :
68364 glibcxx_cv_func_sincosf_use=yes
68365 else
68366 glibcxx_cv_func_sincosf_use=no
68367 fi
68368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68369 ac_ext=c
68370 ac_cpp='$CPP $CPPFLAGS'
68371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68374
68375
68376 fi
68377
68378 fi
68379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68380 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68381
68382 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68383 for ac_func in sincosf
68384 do :
68385 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68386 if test "x$ac_cv_func_sincosf" = x""yes; then :
68387 cat >>confdefs.h <<_ACEOF
68388 #define HAVE_SINCOSF 1
68389 _ACEOF
68390
68391 fi
68392 done
68393
68394 else
68395
68396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68397 $as_echo_n "checking for _sincosf declaration... " >&6; }
68398 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68399 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68400 $as_echo_n "(cached) " >&6
68401 else
68402
68403
68404 ac_ext=cpp
68405 ac_cpp='$CXXCPP $CPPFLAGS'
68406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68409
68410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68411 /* end confdefs.h. */
68412 #include <math.h>
68413 int
68414 main ()
68415 {
68416 _sincosf(0, 0, 0);
68417 ;
68418 return 0;
68419 }
68420 _ACEOF
68421 if ac_fn_cxx_try_compile "$LINENO"; then :
68422 glibcxx_cv_func__sincosf_use=yes
68423 else
68424 glibcxx_cv_func__sincosf_use=no
68425 fi
68426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68427 ac_ext=c
68428 ac_cpp='$CPP $CPPFLAGS'
68429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68432
68433
68434 fi
68435
68436 fi
68437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68438 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68439
68440 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68441 for ac_func in _sincosf
68442 do :
68443 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68444 if test "x$ac_cv_func__sincosf" = x""yes; then :
68445 cat >>confdefs.h <<_ACEOF
68446 #define HAVE__SINCOSF 1
68447 _ACEOF
68448
68449 fi
68450 done
68451
68452 fi
68453 fi
68454
68455
68456
68457
68458
68459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68460 $as_echo_n "checking for finitef declaration... " >&6; }
68461 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68462 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68463 $as_echo_n "(cached) " >&6
68464 else
68465
68466
68467 ac_ext=cpp
68468 ac_cpp='$CXXCPP $CPPFLAGS'
68469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68472
68473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68474 /* end confdefs.h. */
68475 #include <math.h>
68476 #ifdef HAVE_IEEEFP_H
68477 #include <ieeefp.h>
68478 #endif
68479
68480 int
68481 main ()
68482 {
68483 finitef(0);
68484 ;
68485 return 0;
68486 }
68487 _ACEOF
68488 if ac_fn_cxx_try_compile "$LINENO"; then :
68489 glibcxx_cv_func_finitef_use=yes
68490 else
68491 glibcxx_cv_func_finitef_use=no
68492 fi
68493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68494 ac_ext=c
68495 ac_cpp='$CPP $CPPFLAGS'
68496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68499
68500
68501 fi
68502
68503 fi
68504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68505 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68506
68507 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68508 for ac_func in finitef
68509 do :
68510 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68511 if test "x$ac_cv_func_finitef" = x""yes; then :
68512 cat >>confdefs.h <<_ACEOF
68513 #define HAVE_FINITEF 1
68514 _ACEOF
68515
68516 fi
68517 done
68518
68519 else
68520
68521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68522 $as_echo_n "checking for _finitef declaration... " >&6; }
68523 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68524 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68525 $as_echo_n "(cached) " >&6
68526 else
68527
68528
68529 ac_ext=cpp
68530 ac_cpp='$CXXCPP $CPPFLAGS'
68531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68534
68535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68536 /* end confdefs.h. */
68537 #include <math.h>
68538 #ifdef HAVE_IEEEFP_H
68539 #include <ieeefp.h>
68540 #endif
68541
68542 int
68543 main ()
68544 {
68545 _finitef(0);
68546 ;
68547 return 0;
68548 }
68549 _ACEOF
68550 if ac_fn_cxx_try_compile "$LINENO"; then :
68551 glibcxx_cv_func__finitef_use=yes
68552 else
68553 glibcxx_cv_func__finitef_use=no
68554 fi
68555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68556 ac_ext=c
68557 ac_cpp='$CPP $CPPFLAGS'
68558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68561
68562
68563 fi
68564
68565 fi
68566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68567 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68568
68569 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68570 for ac_func in _finitef
68571 do :
68572 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68573 if test "x$ac_cv_func__finitef" = x""yes; then :
68574 cat >>confdefs.h <<_ACEOF
68575 #define HAVE__FINITEF 1
68576 _ACEOF
68577
68578 fi
68579 done
68580
68581 fi
68582 fi
68583
68584
68585
68586
68587
68588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68589 $as_echo_n "checking for long double trig functions... " >&6; }
68590 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68591 $as_echo_n "(cached) " >&6
68592 else
68593
68594
68595 ac_ext=cpp
68596 ac_cpp='$CXXCPP $CPPFLAGS'
68597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68600
68601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68602 /* end confdefs.h. */
68603 #include <math.h>
68604 int
68605 main ()
68606 {
68607 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68608 ;
68609 return 0;
68610 }
68611 _ACEOF
68612 if ac_fn_cxx_try_compile "$LINENO"; then :
68613 glibcxx_cv_func_long_double_trig_use=yes
68614 else
68615 glibcxx_cv_func_long_double_trig_use=no
68616 fi
68617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68618 ac_ext=c
68619 ac_cpp='$CPP $CPPFLAGS'
68620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68623
68624 fi
68625
68626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68627 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68628 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68629 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68630 do :
68631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68633 eval as_val=\$$as_ac_var
68634 if test "x$as_val" = x""yes; then :
68635 cat >>confdefs.h <<_ACEOF
68636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68637 _ACEOF
68638
68639 fi
68640 done
68641
68642 else
68643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68644 $as_echo_n "checking for _long double trig functions... " >&6; }
68645 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68646 $as_echo_n "(cached) " >&6
68647 else
68648
68649
68650 ac_ext=cpp
68651 ac_cpp='$CXXCPP $CPPFLAGS'
68652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68655
68656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68657 /* end confdefs.h. */
68658 #include <math.h>
68659 int
68660 main ()
68661 {
68662 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68663 ;
68664 return 0;
68665 }
68666 _ACEOF
68667 if ac_fn_cxx_try_compile "$LINENO"; then :
68668 glibcxx_cv_func__long_double_trig_use=yes
68669 else
68670 glibcxx_cv_func__long_double_trig_use=no
68671 fi
68672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68673 ac_ext=c
68674 ac_cpp='$CPP $CPPFLAGS'
68675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68678
68679 fi
68680
68681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68682 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68683 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68684 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68685 do :
68686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68688 eval as_val=\$$as_ac_var
68689 if test "x$as_val" = x""yes; then :
68690 cat >>confdefs.h <<_ACEOF
68691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68692 _ACEOF
68693
68694 fi
68695 done
68696
68697 fi
68698 fi
68699
68700
68701
68702
68703
68704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68705 $as_echo_n "checking for long double round functions... " >&6; }
68706 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68707 $as_echo_n "(cached) " >&6
68708 else
68709
68710
68711 ac_ext=cpp
68712 ac_cpp='$CXXCPP $CPPFLAGS'
68713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68716
68717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68718 /* end confdefs.h. */
68719 #include <math.h>
68720 int
68721 main ()
68722 {
68723 ceill (0); floorl (0);
68724 ;
68725 return 0;
68726 }
68727 _ACEOF
68728 if ac_fn_cxx_try_compile "$LINENO"; then :
68729 glibcxx_cv_func_long_double_round_use=yes
68730 else
68731 glibcxx_cv_func_long_double_round_use=no
68732 fi
68733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68734 ac_ext=c
68735 ac_cpp='$CPP $CPPFLAGS'
68736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68739
68740 fi
68741
68742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68743 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68744 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68745 for ac_func in ceill floorl
68746 do :
68747 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68748 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68749 eval as_val=\$$as_ac_var
68750 if test "x$as_val" = x""yes; then :
68751 cat >>confdefs.h <<_ACEOF
68752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68753 _ACEOF
68754
68755 fi
68756 done
68757
68758 else
68759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68760 $as_echo_n "checking for _long double round functions... " >&6; }
68761 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68762 $as_echo_n "(cached) " >&6
68763 else
68764
68765
68766 ac_ext=cpp
68767 ac_cpp='$CXXCPP $CPPFLAGS'
68768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68771
68772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68773 /* end confdefs.h. */
68774 #include <math.h>
68775 int
68776 main ()
68777 {
68778 _ceill (0); _floorl (0);
68779 ;
68780 return 0;
68781 }
68782 _ACEOF
68783 if ac_fn_cxx_try_compile "$LINENO"; then :
68784 glibcxx_cv_func__long_double_round_use=yes
68785 else
68786 glibcxx_cv_func__long_double_round_use=no
68787 fi
68788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68789 ac_ext=c
68790 ac_cpp='$CPP $CPPFLAGS'
68791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68794
68795 fi
68796
68797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68798 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68799 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68800 for ac_func in _ceill _floorl
68801 do :
68802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68804 eval as_val=\$$as_ac_var
68805 if test "x$as_val" = x""yes; then :
68806 cat >>confdefs.h <<_ACEOF
68807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68808 _ACEOF
68809
68810 fi
68811 done
68812
68813 fi
68814 fi
68815
68816
68817
68818
68819
68820
68821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68822 $as_echo_n "checking for isnanl declaration... " >&6; }
68823 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68824 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68825 $as_echo_n "(cached) " >&6
68826 else
68827
68828
68829 ac_ext=cpp
68830 ac_cpp='$CXXCPP $CPPFLAGS'
68831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68834
68835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68836 /* end confdefs.h. */
68837 #include <math.h>
68838 #ifdef HAVE_IEEEFP_H
68839 #include <ieeefp.h>
68840 #endif
68841
68842 int
68843 main ()
68844 {
68845 isnanl(0);
68846 ;
68847 return 0;
68848 }
68849 _ACEOF
68850 if ac_fn_cxx_try_compile "$LINENO"; then :
68851 glibcxx_cv_func_isnanl_use=yes
68852 else
68853 glibcxx_cv_func_isnanl_use=no
68854 fi
68855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68856 ac_ext=c
68857 ac_cpp='$CPP $CPPFLAGS'
68858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68861
68862
68863 fi
68864
68865 fi
68866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68867 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68868
68869 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68870 for ac_func in isnanl
68871 do :
68872 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68873 if test "x$ac_cv_func_isnanl" = x""yes; then :
68874 cat >>confdefs.h <<_ACEOF
68875 #define HAVE_ISNANL 1
68876 _ACEOF
68877
68878 fi
68879 done
68880
68881 else
68882
68883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68884 $as_echo_n "checking for _isnanl declaration... " >&6; }
68885 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68886 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68887 $as_echo_n "(cached) " >&6
68888 else
68889
68890
68891 ac_ext=cpp
68892 ac_cpp='$CXXCPP $CPPFLAGS'
68893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68896
68897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68898 /* end confdefs.h. */
68899 #include <math.h>
68900 #ifdef HAVE_IEEEFP_H
68901 #include <ieeefp.h>
68902 #endif
68903
68904 int
68905 main ()
68906 {
68907 _isnanl(0);
68908 ;
68909 return 0;
68910 }
68911 _ACEOF
68912 if ac_fn_cxx_try_compile "$LINENO"; then :
68913 glibcxx_cv_func__isnanl_use=yes
68914 else
68915 glibcxx_cv_func__isnanl_use=no
68916 fi
68917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68918 ac_ext=c
68919 ac_cpp='$CPP $CPPFLAGS'
68920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68923
68924
68925 fi
68926
68927 fi
68928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68929 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68930
68931 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68932 for ac_func in _isnanl
68933 do :
68934 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68935 if test "x$ac_cv_func__isnanl" = x""yes; then :
68936 cat >>confdefs.h <<_ACEOF
68937 #define HAVE__ISNANL 1
68938 _ACEOF
68939
68940 fi
68941 done
68942
68943 fi
68944 fi
68945
68946
68947
68948
68949
68950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68951 $as_echo_n "checking for isinfl declaration... " >&6; }
68952 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68953 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68954 $as_echo_n "(cached) " >&6
68955 else
68956
68957
68958 ac_ext=cpp
68959 ac_cpp='$CXXCPP $CPPFLAGS'
68960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68963
68964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68965 /* end confdefs.h. */
68966 #include <math.h>
68967 #ifdef HAVE_IEEEFP_H
68968 #include <ieeefp.h>
68969 #endif
68970
68971 int
68972 main ()
68973 {
68974 isinfl(0);
68975 ;
68976 return 0;
68977 }
68978 _ACEOF
68979 if ac_fn_cxx_try_compile "$LINENO"; then :
68980 glibcxx_cv_func_isinfl_use=yes
68981 else
68982 glibcxx_cv_func_isinfl_use=no
68983 fi
68984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68985 ac_ext=c
68986 ac_cpp='$CPP $CPPFLAGS'
68987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68990
68991
68992 fi
68993
68994 fi
68995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68996 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68997
68998 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68999 for ac_func in isinfl
69000 do :
69001 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69002 if test "x$ac_cv_func_isinfl" = x""yes; then :
69003 cat >>confdefs.h <<_ACEOF
69004 #define HAVE_ISINFL 1
69005 _ACEOF
69006
69007 fi
69008 done
69009
69010 else
69011
69012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69013 $as_echo_n "checking for _isinfl declaration... " >&6; }
69014 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69015 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69016 $as_echo_n "(cached) " >&6
69017 else
69018
69019
69020 ac_ext=cpp
69021 ac_cpp='$CXXCPP $CPPFLAGS'
69022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69025
69026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69027 /* end confdefs.h. */
69028 #include <math.h>
69029 #ifdef HAVE_IEEEFP_H
69030 #include <ieeefp.h>
69031 #endif
69032
69033 int
69034 main ()
69035 {
69036 _isinfl(0);
69037 ;
69038 return 0;
69039 }
69040 _ACEOF
69041 if ac_fn_cxx_try_compile "$LINENO"; then :
69042 glibcxx_cv_func__isinfl_use=yes
69043 else
69044 glibcxx_cv_func__isinfl_use=no
69045 fi
69046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69047 ac_ext=c
69048 ac_cpp='$CPP $CPPFLAGS'
69049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69052
69053
69054 fi
69055
69056 fi
69057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69058 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69059
69060 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69061 for ac_func in _isinfl
69062 do :
69063 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69064 if test "x$ac_cv_func__isinfl" = x""yes; then :
69065 cat >>confdefs.h <<_ACEOF
69066 #define HAVE__ISINFL 1
69067 _ACEOF
69068
69069 fi
69070 done
69071
69072 fi
69073 fi
69074
69075
69076
69077
69078
69079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69080 $as_echo_n "checking for atan2l declaration... " >&6; }
69081 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69082 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69083 $as_echo_n "(cached) " >&6
69084 else
69085
69086
69087 ac_ext=cpp
69088 ac_cpp='$CXXCPP $CPPFLAGS'
69089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69092
69093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69094 /* end confdefs.h. */
69095 #include <math.h>
69096 int
69097 main ()
69098 {
69099 atan2l(0, 0);
69100 ;
69101 return 0;
69102 }
69103 _ACEOF
69104 if ac_fn_cxx_try_compile "$LINENO"; then :
69105 glibcxx_cv_func_atan2l_use=yes
69106 else
69107 glibcxx_cv_func_atan2l_use=no
69108 fi
69109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69110 ac_ext=c
69111 ac_cpp='$CPP $CPPFLAGS'
69112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69115
69116
69117 fi
69118
69119 fi
69120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69121 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69122
69123 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69124 for ac_func in atan2l
69125 do :
69126 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69127 if test "x$ac_cv_func_atan2l" = x""yes; then :
69128 cat >>confdefs.h <<_ACEOF
69129 #define HAVE_ATAN2L 1
69130 _ACEOF
69131
69132 fi
69133 done
69134
69135 else
69136
69137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69138 $as_echo_n "checking for _atan2l declaration... " >&6; }
69139 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69140 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69141 $as_echo_n "(cached) " >&6
69142 else
69143
69144
69145 ac_ext=cpp
69146 ac_cpp='$CXXCPP $CPPFLAGS'
69147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69150
69151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69152 /* end confdefs.h. */
69153 #include <math.h>
69154 int
69155 main ()
69156 {
69157 _atan2l(0, 0);
69158 ;
69159 return 0;
69160 }
69161 _ACEOF
69162 if ac_fn_cxx_try_compile "$LINENO"; then :
69163 glibcxx_cv_func__atan2l_use=yes
69164 else
69165 glibcxx_cv_func__atan2l_use=no
69166 fi
69167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69168 ac_ext=c
69169 ac_cpp='$CPP $CPPFLAGS'
69170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69173
69174
69175 fi
69176
69177 fi
69178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69179 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69180
69181 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69182 for ac_func in _atan2l
69183 do :
69184 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69185 if test "x$ac_cv_func__atan2l" = x""yes; then :
69186 cat >>confdefs.h <<_ACEOF
69187 #define HAVE__ATAN2L 1
69188 _ACEOF
69189
69190 fi
69191 done
69192
69193 fi
69194 fi
69195
69196
69197
69198
69199
69200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69201 $as_echo_n "checking for expl declaration... " >&6; }
69202 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69203 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69204 $as_echo_n "(cached) " >&6
69205 else
69206
69207
69208 ac_ext=cpp
69209 ac_cpp='$CXXCPP $CPPFLAGS'
69210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69213
69214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69215 /* end confdefs.h. */
69216 #include <math.h>
69217 #ifdef HAVE_IEEEFP_H
69218 #include <ieeefp.h>
69219 #endif
69220
69221 int
69222 main ()
69223 {
69224 expl(0);
69225 ;
69226 return 0;
69227 }
69228 _ACEOF
69229 if ac_fn_cxx_try_compile "$LINENO"; then :
69230 glibcxx_cv_func_expl_use=yes
69231 else
69232 glibcxx_cv_func_expl_use=no
69233 fi
69234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69235 ac_ext=c
69236 ac_cpp='$CPP $CPPFLAGS'
69237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69240
69241
69242 fi
69243
69244 fi
69245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69246 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69247
69248 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69249 for ac_func in expl
69250 do :
69251 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69252 if test "x$ac_cv_func_expl" = x""yes; then :
69253 cat >>confdefs.h <<_ACEOF
69254 #define HAVE_EXPL 1
69255 _ACEOF
69256
69257 fi
69258 done
69259
69260 else
69261
69262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69263 $as_echo_n "checking for _expl declaration... " >&6; }
69264 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69265 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69266 $as_echo_n "(cached) " >&6
69267 else
69268
69269
69270 ac_ext=cpp
69271 ac_cpp='$CXXCPP $CPPFLAGS'
69272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69275
69276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69277 /* end confdefs.h. */
69278 #include <math.h>
69279 #ifdef HAVE_IEEEFP_H
69280 #include <ieeefp.h>
69281 #endif
69282
69283 int
69284 main ()
69285 {
69286 _expl(0);
69287 ;
69288 return 0;
69289 }
69290 _ACEOF
69291 if ac_fn_cxx_try_compile "$LINENO"; then :
69292 glibcxx_cv_func__expl_use=yes
69293 else
69294 glibcxx_cv_func__expl_use=no
69295 fi
69296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69297 ac_ext=c
69298 ac_cpp='$CPP $CPPFLAGS'
69299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69302
69303
69304 fi
69305
69306 fi
69307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69308 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69309
69310 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69311 for ac_func in _expl
69312 do :
69313 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69314 if test "x$ac_cv_func__expl" = x""yes; then :
69315 cat >>confdefs.h <<_ACEOF
69316 #define HAVE__EXPL 1
69317 _ACEOF
69318
69319 fi
69320 done
69321
69322 fi
69323 fi
69324
69325
69326
69327
69328
69329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69330 $as_echo_n "checking for fabsl declaration... " >&6; }
69331 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69332 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69333 $as_echo_n "(cached) " >&6
69334 else
69335
69336
69337 ac_ext=cpp
69338 ac_cpp='$CXXCPP $CPPFLAGS'
69339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69342
69343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69344 /* end confdefs.h. */
69345 #include <math.h>
69346 #ifdef HAVE_IEEEFP_H
69347 #include <ieeefp.h>
69348 #endif
69349
69350 int
69351 main ()
69352 {
69353 fabsl(0);
69354 ;
69355 return 0;
69356 }
69357 _ACEOF
69358 if ac_fn_cxx_try_compile "$LINENO"; then :
69359 glibcxx_cv_func_fabsl_use=yes
69360 else
69361 glibcxx_cv_func_fabsl_use=no
69362 fi
69363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69364 ac_ext=c
69365 ac_cpp='$CPP $CPPFLAGS'
69366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69369
69370
69371 fi
69372
69373 fi
69374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69375 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69376
69377 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69378 for ac_func in fabsl
69379 do :
69380 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69381 if test "x$ac_cv_func_fabsl" = x""yes; then :
69382 cat >>confdefs.h <<_ACEOF
69383 #define HAVE_FABSL 1
69384 _ACEOF
69385
69386 fi
69387 done
69388
69389 else
69390
69391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69392 $as_echo_n "checking for _fabsl declaration... " >&6; }
69393 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69394 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69395 $as_echo_n "(cached) " >&6
69396 else
69397
69398
69399 ac_ext=cpp
69400 ac_cpp='$CXXCPP $CPPFLAGS'
69401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69404
69405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69406 /* end confdefs.h. */
69407 #include <math.h>
69408 #ifdef HAVE_IEEEFP_H
69409 #include <ieeefp.h>
69410 #endif
69411
69412 int
69413 main ()
69414 {
69415 _fabsl(0);
69416 ;
69417 return 0;
69418 }
69419 _ACEOF
69420 if ac_fn_cxx_try_compile "$LINENO"; then :
69421 glibcxx_cv_func__fabsl_use=yes
69422 else
69423 glibcxx_cv_func__fabsl_use=no
69424 fi
69425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69426 ac_ext=c
69427 ac_cpp='$CPP $CPPFLAGS'
69428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69431
69432
69433 fi
69434
69435 fi
69436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69437 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69438
69439 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69440 for ac_func in _fabsl
69441 do :
69442 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69443 if test "x$ac_cv_func__fabsl" = x""yes; then :
69444 cat >>confdefs.h <<_ACEOF
69445 #define HAVE__FABSL 1
69446 _ACEOF
69447
69448 fi
69449 done
69450
69451 fi
69452 fi
69453
69454
69455
69456
69457
69458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69459 $as_echo_n "checking for fmodl declaration... " >&6; }
69460 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69461 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69462 $as_echo_n "(cached) " >&6
69463 else
69464
69465
69466 ac_ext=cpp
69467 ac_cpp='$CXXCPP $CPPFLAGS'
69468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69471
69472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69473 /* end confdefs.h. */
69474 #include <math.h>
69475 int
69476 main ()
69477 {
69478 fmodl(0, 0);
69479 ;
69480 return 0;
69481 }
69482 _ACEOF
69483 if ac_fn_cxx_try_compile "$LINENO"; then :
69484 glibcxx_cv_func_fmodl_use=yes
69485 else
69486 glibcxx_cv_func_fmodl_use=no
69487 fi
69488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69489 ac_ext=c
69490 ac_cpp='$CPP $CPPFLAGS'
69491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69494
69495
69496 fi
69497
69498 fi
69499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69500 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69501
69502 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69503 for ac_func in fmodl
69504 do :
69505 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69506 if test "x$ac_cv_func_fmodl" = x""yes; then :
69507 cat >>confdefs.h <<_ACEOF
69508 #define HAVE_FMODL 1
69509 _ACEOF
69510
69511 fi
69512 done
69513
69514 else
69515
69516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69517 $as_echo_n "checking for _fmodl declaration... " >&6; }
69518 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69519 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69520 $as_echo_n "(cached) " >&6
69521 else
69522
69523
69524 ac_ext=cpp
69525 ac_cpp='$CXXCPP $CPPFLAGS'
69526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69529
69530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69531 /* end confdefs.h. */
69532 #include <math.h>
69533 int
69534 main ()
69535 {
69536 _fmodl(0, 0);
69537 ;
69538 return 0;
69539 }
69540 _ACEOF
69541 if ac_fn_cxx_try_compile "$LINENO"; then :
69542 glibcxx_cv_func__fmodl_use=yes
69543 else
69544 glibcxx_cv_func__fmodl_use=no
69545 fi
69546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69547 ac_ext=c
69548 ac_cpp='$CPP $CPPFLAGS'
69549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69552
69553
69554 fi
69555
69556 fi
69557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69558 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69559
69560 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69561 for ac_func in _fmodl
69562 do :
69563 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69564 if test "x$ac_cv_func__fmodl" = x""yes; then :
69565 cat >>confdefs.h <<_ACEOF
69566 #define HAVE__FMODL 1
69567 _ACEOF
69568
69569 fi
69570 done
69571
69572 fi
69573 fi
69574
69575
69576
69577
69578
69579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69580 $as_echo_n "checking for frexpl declaration... " >&6; }
69581 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69582 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69583 $as_echo_n "(cached) " >&6
69584 else
69585
69586
69587 ac_ext=cpp
69588 ac_cpp='$CXXCPP $CPPFLAGS'
69589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69592
69593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69594 /* end confdefs.h. */
69595 #include <math.h>
69596 int
69597 main ()
69598 {
69599 frexpl(0, 0);
69600 ;
69601 return 0;
69602 }
69603 _ACEOF
69604 if ac_fn_cxx_try_compile "$LINENO"; then :
69605 glibcxx_cv_func_frexpl_use=yes
69606 else
69607 glibcxx_cv_func_frexpl_use=no
69608 fi
69609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69610 ac_ext=c
69611 ac_cpp='$CPP $CPPFLAGS'
69612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69615
69616
69617 fi
69618
69619 fi
69620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69621 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69622
69623 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69624 for ac_func in frexpl
69625 do :
69626 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69627 if test "x$ac_cv_func_frexpl" = x""yes; then :
69628 cat >>confdefs.h <<_ACEOF
69629 #define HAVE_FREXPL 1
69630 _ACEOF
69631
69632 fi
69633 done
69634
69635 else
69636
69637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69638 $as_echo_n "checking for _frexpl declaration... " >&6; }
69639 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69640 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69641 $as_echo_n "(cached) " >&6
69642 else
69643
69644
69645 ac_ext=cpp
69646 ac_cpp='$CXXCPP $CPPFLAGS'
69647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69650
69651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69652 /* end confdefs.h. */
69653 #include <math.h>
69654 int
69655 main ()
69656 {
69657 _frexpl(0, 0);
69658 ;
69659 return 0;
69660 }
69661 _ACEOF
69662 if ac_fn_cxx_try_compile "$LINENO"; then :
69663 glibcxx_cv_func__frexpl_use=yes
69664 else
69665 glibcxx_cv_func__frexpl_use=no
69666 fi
69667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69668 ac_ext=c
69669 ac_cpp='$CPP $CPPFLAGS'
69670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69673
69674
69675 fi
69676
69677 fi
69678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69679 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69680
69681 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69682 for ac_func in _frexpl
69683 do :
69684 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69685 if test "x$ac_cv_func__frexpl" = x""yes; then :
69686 cat >>confdefs.h <<_ACEOF
69687 #define HAVE__FREXPL 1
69688 _ACEOF
69689
69690 fi
69691 done
69692
69693 fi
69694 fi
69695
69696
69697
69698
69699
69700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69701 $as_echo_n "checking for hypotl declaration... " >&6; }
69702 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69703 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69704 $as_echo_n "(cached) " >&6
69705 else
69706
69707
69708 ac_ext=cpp
69709 ac_cpp='$CXXCPP $CPPFLAGS'
69710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69713
69714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69715 /* end confdefs.h. */
69716 #include <math.h>
69717 int
69718 main ()
69719 {
69720 hypotl(0, 0);
69721 ;
69722 return 0;
69723 }
69724 _ACEOF
69725 if ac_fn_cxx_try_compile "$LINENO"; then :
69726 glibcxx_cv_func_hypotl_use=yes
69727 else
69728 glibcxx_cv_func_hypotl_use=no
69729 fi
69730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69731 ac_ext=c
69732 ac_cpp='$CPP $CPPFLAGS'
69733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69736
69737
69738 fi
69739
69740 fi
69741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69742 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69743
69744 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69745 for ac_func in hypotl
69746 do :
69747 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69748 if test "x$ac_cv_func_hypotl" = x""yes; then :
69749 cat >>confdefs.h <<_ACEOF
69750 #define HAVE_HYPOTL 1
69751 _ACEOF
69752
69753 fi
69754 done
69755
69756 else
69757
69758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69759 $as_echo_n "checking for _hypotl declaration... " >&6; }
69760 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69761 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69762 $as_echo_n "(cached) " >&6
69763 else
69764
69765
69766 ac_ext=cpp
69767 ac_cpp='$CXXCPP $CPPFLAGS'
69768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69771
69772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69773 /* end confdefs.h. */
69774 #include <math.h>
69775 int
69776 main ()
69777 {
69778 _hypotl(0, 0);
69779 ;
69780 return 0;
69781 }
69782 _ACEOF
69783 if ac_fn_cxx_try_compile "$LINENO"; then :
69784 glibcxx_cv_func__hypotl_use=yes
69785 else
69786 glibcxx_cv_func__hypotl_use=no
69787 fi
69788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69789 ac_ext=c
69790 ac_cpp='$CPP $CPPFLAGS'
69791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69794
69795
69796 fi
69797
69798 fi
69799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69800 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69801
69802 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69803 for ac_func in _hypotl
69804 do :
69805 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69806 if test "x$ac_cv_func__hypotl" = x""yes; then :
69807 cat >>confdefs.h <<_ACEOF
69808 #define HAVE__HYPOTL 1
69809 _ACEOF
69810
69811 fi
69812 done
69813
69814 fi
69815 fi
69816
69817
69818
69819
69820
69821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69822 $as_echo_n "checking for ldexpl declaration... " >&6; }
69823 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69824 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69825 $as_echo_n "(cached) " >&6
69826 else
69827
69828
69829 ac_ext=cpp
69830 ac_cpp='$CXXCPP $CPPFLAGS'
69831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69834
69835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69836 /* end confdefs.h. */
69837 #include <math.h>
69838 int
69839 main ()
69840 {
69841 ldexpl(0, 0);
69842 ;
69843 return 0;
69844 }
69845 _ACEOF
69846 if ac_fn_cxx_try_compile "$LINENO"; then :
69847 glibcxx_cv_func_ldexpl_use=yes
69848 else
69849 glibcxx_cv_func_ldexpl_use=no
69850 fi
69851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69852 ac_ext=c
69853 ac_cpp='$CPP $CPPFLAGS'
69854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69857
69858
69859 fi
69860
69861 fi
69862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69863 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69864
69865 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69866 for ac_func in ldexpl
69867 do :
69868 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69869 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69870 cat >>confdefs.h <<_ACEOF
69871 #define HAVE_LDEXPL 1
69872 _ACEOF
69873
69874 fi
69875 done
69876
69877 else
69878
69879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69880 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69881 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69882 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69883 $as_echo_n "(cached) " >&6
69884 else
69885
69886
69887 ac_ext=cpp
69888 ac_cpp='$CXXCPP $CPPFLAGS'
69889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69892
69893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69894 /* end confdefs.h. */
69895 #include <math.h>
69896 int
69897 main ()
69898 {
69899 _ldexpl(0, 0);
69900 ;
69901 return 0;
69902 }
69903 _ACEOF
69904 if ac_fn_cxx_try_compile "$LINENO"; then :
69905 glibcxx_cv_func__ldexpl_use=yes
69906 else
69907 glibcxx_cv_func__ldexpl_use=no
69908 fi
69909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69910 ac_ext=c
69911 ac_cpp='$CPP $CPPFLAGS'
69912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69915
69916
69917 fi
69918
69919 fi
69920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69921 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69922
69923 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69924 for ac_func in _ldexpl
69925 do :
69926 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69927 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69928 cat >>confdefs.h <<_ACEOF
69929 #define HAVE__LDEXPL 1
69930 _ACEOF
69931
69932 fi
69933 done
69934
69935 fi
69936 fi
69937
69938
69939
69940
69941
69942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69943 $as_echo_n "checking for logl declaration... " >&6; }
69944 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69945 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69946 $as_echo_n "(cached) " >&6
69947 else
69948
69949
69950 ac_ext=cpp
69951 ac_cpp='$CXXCPP $CPPFLAGS'
69952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69955
69956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69957 /* end confdefs.h. */
69958 #include <math.h>
69959 #ifdef HAVE_IEEEFP_H
69960 #include <ieeefp.h>
69961 #endif
69962
69963 int
69964 main ()
69965 {
69966 logl(0);
69967 ;
69968 return 0;
69969 }
69970 _ACEOF
69971 if ac_fn_cxx_try_compile "$LINENO"; then :
69972 glibcxx_cv_func_logl_use=yes
69973 else
69974 glibcxx_cv_func_logl_use=no
69975 fi
69976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69977 ac_ext=c
69978 ac_cpp='$CPP $CPPFLAGS'
69979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69982
69983
69984 fi
69985
69986 fi
69987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69988 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69989
69990 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69991 for ac_func in logl
69992 do :
69993 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69994 if test "x$ac_cv_func_logl" = x""yes; then :
69995 cat >>confdefs.h <<_ACEOF
69996 #define HAVE_LOGL 1
69997 _ACEOF
69998
69999 fi
70000 done
70001
70002 else
70003
70004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70005 $as_echo_n "checking for _logl declaration... " >&6; }
70006 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70007 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70008 $as_echo_n "(cached) " >&6
70009 else
70010
70011
70012 ac_ext=cpp
70013 ac_cpp='$CXXCPP $CPPFLAGS'
70014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70017
70018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70019 /* end confdefs.h. */
70020 #include <math.h>
70021 #ifdef HAVE_IEEEFP_H
70022 #include <ieeefp.h>
70023 #endif
70024
70025 int
70026 main ()
70027 {
70028 _logl(0);
70029 ;
70030 return 0;
70031 }
70032 _ACEOF
70033 if ac_fn_cxx_try_compile "$LINENO"; then :
70034 glibcxx_cv_func__logl_use=yes
70035 else
70036 glibcxx_cv_func__logl_use=no
70037 fi
70038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70039 ac_ext=c
70040 ac_cpp='$CPP $CPPFLAGS'
70041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70044
70045
70046 fi
70047
70048 fi
70049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70050 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70051
70052 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70053 for ac_func in _logl
70054 do :
70055 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70056 if test "x$ac_cv_func__logl" = x""yes; then :
70057 cat >>confdefs.h <<_ACEOF
70058 #define HAVE__LOGL 1
70059 _ACEOF
70060
70061 fi
70062 done
70063
70064 fi
70065 fi
70066
70067
70068
70069
70070
70071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70072 $as_echo_n "checking for log10l declaration... " >&6; }
70073 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70074 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70075 $as_echo_n "(cached) " >&6
70076 else
70077
70078
70079 ac_ext=cpp
70080 ac_cpp='$CXXCPP $CPPFLAGS'
70081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70084
70085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70086 /* end confdefs.h. */
70087 #include <math.h>
70088 #ifdef HAVE_IEEEFP_H
70089 #include <ieeefp.h>
70090 #endif
70091
70092 int
70093 main ()
70094 {
70095 log10l(0);
70096 ;
70097 return 0;
70098 }
70099 _ACEOF
70100 if ac_fn_cxx_try_compile "$LINENO"; then :
70101 glibcxx_cv_func_log10l_use=yes
70102 else
70103 glibcxx_cv_func_log10l_use=no
70104 fi
70105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70106 ac_ext=c
70107 ac_cpp='$CPP $CPPFLAGS'
70108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70111
70112
70113 fi
70114
70115 fi
70116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70117 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70118
70119 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70120 for ac_func in log10l
70121 do :
70122 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70123 if test "x$ac_cv_func_log10l" = x""yes; then :
70124 cat >>confdefs.h <<_ACEOF
70125 #define HAVE_LOG10L 1
70126 _ACEOF
70127
70128 fi
70129 done
70130
70131 else
70132
70133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70134 $as_echo_n "checking for _log10l declaration... " >&6; }
70135 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70136 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70137 $as_echo_n "(cached) " >&6
70138 else
70139
70140
70141 ac_ext=cpp
70142 ac_cpp='$CXXCPP $CPPFLAGS'
70143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70146
70147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70148 /* end confdefs.h. */
70149 #include <math.h>
70150 #ifdef HAVE_IEEEFP_H
70151 #include <ieeefp.h>
70152 #endif
70153
70154 int
70155 main ()
70156 {
70157 _log10l(0);
70158 ;
70159 return 0;
70160 }
70161 _ACEOF
70162 if ac_fn_cxx_try_compile "$LINENO"; then :
70163 glibcxx_cv_func__log10l_use=yes
70164 else
70165 glibcxx_cv_func__log10l_use=no
70166 fi
70167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70168 ac_ext=c
70169 ac_cpp='$CPP $CPPFLAGS'
70170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70173
70174
70175 fi
70176
70177 fi
70178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70179 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70180
70181 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70182 for ac_func in _log10l
70183 do :
70184 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70185 if test "x$ac_cv_func__log10l" = x""yes; then :
70186 cat >>confdefs.h <<_ACEOF
70187 #define HAVE__LOG10L 1
70188 _ACEOF
70189
70190 fi
70191 done
70192
70193 fi
70194 fi
70195
70196
70197
70198
70199
70200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70201 $as_echo_n "checking for modfl declaration... " >&6; }
70202 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70203 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70204 $as_echo_n "(cached) " >&6
70205 else
70206
70207
70208 ac_ext=cpp
70209 ac_cpp='$CXXCPP $CPPFLAGS'
70210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70213
70214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70215 /* end confdefs.h. */
70216 #include <math.h>
70217 int
70218 main ()
70219 {
70220 modfl(0, 0);
70221 ;
70222 return 0;
70223 }
70224 _ACEOF
70225 if ac_fn_cxx_try_compile "$LINENO"; then :
70226 glibcxx_cv_func_modfl_use=yes
70227 else
70228 glibcxx_cv_func_modfl_use=no
70229 fi
70230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70231 ac_ext=c
70232 ac_cpp='$CPP $CPPFLAGS'
70233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70236
70237
70238 fi
70239
70240 fi
70241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70242 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70243
70244 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70245 for ac_func in modfl
70246 do :
70247 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70248 if test "x$ac_cv_func_modfl" = x""yes; then :
70249 cat >>confdefs.h <<_ACEOF
70250 #define HAVE_MODFL 1
70251 _ACEOF
70252
70253 fi
70254 done
70255
70256 else
70257
70258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70259 $as_echo_n "checking for _modfl declaration... " >&6; }
70260 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70261 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70262 $as_echo_n "(cached) " >&6
70263 else
70264
70265
70266 ac_ext=cpp
70267 ac_cpp='$CXXCPP $CPPFLAGS'
70268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70271
70272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70273 /* end confdefs.h. */
70274 #include <math.h>
70275 int
70276 main ()
70277 {
70278 _modfl(0, 0);
70279 ;
70280 return 0;
70281 }
70282 _ACEOF
70283 if ac_fn_cxx_try_compile "$LINENO"; then :
70284 glibcxx_cv_func__modfl_use=yes
70285 else
70286 glibcxx_cv_func__modfl_use=no
70287 fi
70288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70289 ac_ext=c
70290 ac_cpp='$CPP $CPPFLAGS'
70291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70294
70295
70296 fi
70297
70298 fi
70299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70300 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70301
70302 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70303 for ac_func in _modfl
70304 do :
70305 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70306 if test "x$ac_cv_func__modfl" = x""yes; then :
70307 cat >>confdefs.h <<_ACEOF
70308 #define HAVE__MODFL 1
70309 _ACEOF
70310
70311 fi
70312 done
70313
70314 fi
70315 fi
70316
70317
70318
70319
70320
70321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70322 $as_echo_n "checking for powl declaration... " >&6; }
70323 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70324 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70325 $as_echo_n "(cached) " >&6
70326 else
70327
70328
70329 ac_ext=cpp
70330 ac_cpp='$CXXCPP $CPPFLAGS'
70331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70334
70335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70336 /* end confdefs.h. */
70337 #include <math.h>
70338 int
70339 main ()
70340 {
70341 powl(0, 0);
70342 ;
70343 return 0;
70344 }
70345 _ACEOF
70346 if ac_fn_cxx_try_compile "$LINENO"; then :
70347 glibcxx_cv_func_powl_use=yes
70348 else
70349 glibcxx_cv_func_powl_use=no
70350 fi
70351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70352 ac_ext=c
70353 ac_cpp='$CPP $CPPFLAGS'
70354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70357
70358
70359 fi
70360
70361 fi
70362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70363 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70364
70365 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70366 for ac_func in powl
70367 do :
70368 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70369 if test "x$ac_cv_func_powl" = x""yes; then :
70370 cat >>confdefs.h <<_ACEOF
70371 #define HAVE_POWL 1
70372 _ACEOF
70373
70374 fi
70375 done
70376
70377 else
70378
70379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70380 $as_echo_n "checking for _powl declaration... " >&6; }
70381 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70382 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70383 $as_echo_n "(cached) " >&6
70384 else
70385
70386
70387 ac_ext=cpp
70388 ac_cpp='$CXXCPP $CPPFLAGS'
70389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70392
70393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70394 /* end confdefs.h. */
70395 #include <math.h>
70396 int
70397 main ()
70398 {
70399 _powl(0, 0);
70400 ;
70401 return 0;
70402 }
70403 _ACEOF
70404 if ac_fn_cxx_try_compile "$LINENO"; then :
70405 glibcxx_cv_func__powl_use=yes
70406 else
70407 glibcxx_cv_func__powl_use=no
70408 fi
70409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70410 ac_ext=c
70411 ac_cpp='$CPP $CPPFLAGS'
70412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70415
70416
70417 fi
70418
70419 fi
70420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70421 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70422
70423 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70424 for ac_func in _powl
70425 do :
70426 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70427 if test "x$ac_cv_func__powl" = x""yes; then :
70428 cat >>confdefs.h <<_ACEOF
70429 #define HAVE__POWL 1
70430 _ACEOF
70431
70432 fi
70433 done
70434
70435 fi
70436 fi
70437
70438
70439
70440
70441
70442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70443 $as_echo_n "checking for sqrtl declaration... " >&6; }
70444 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70445 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70446 $as_echo_n "(cached) " >&6
70447 else
70448
70449
70450 ac_ext=cpp
70451 ac_cpp='$CXXCPP $CPPFLAGS'
70452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70455
70456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70457 /* end confdefs.h. */
70458 #include <math.h>
70459 #ifdef HAVE_IEEEFP_H
70460 #include <ieeefp.h>
70461 #endif
70462
70463 int
70464 main ()
70465 {
70466 sqrtl(0);
70467 ;
70468 return 0;
70469 }
70470 _ACEOF
70471 if ac_fn_cxx_try_compile "$LINENO"; then :
70472 glibcxx_cv_func_sqrtl_use=yes
70473 else
70474 glibcxx_cv_func_sqrtl_use=no
70475 fi
70476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70477 ac_ext=c
70478 ac_cpp='$CPP $CPPFLAGS'
70479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70482
70483
70484 fi
70485
70486 fi
70487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70488 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70489
70490 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70491 for ac_func in sqrtl
70492 do :
70493 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70494 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70495 cat >>confdefs.h <<_ACEOF
70496 #define HAVE_SQRTL 1
70497 _ACEOF
70498
70499 fi
70500 done
70501
70502 else
70503
70504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70505 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70506 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70507 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70508 $as_echo_n "(cached) " >&6
70509 else
70510
70511
70512 ac_ext=cpp
70513 ac_cpp='$CXXCPP $CPPFLAGS'
70514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70517
70518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70519 /* end confdefs.h. */
70520 #include <math.h>
70521 #ifdef HAVE_IEEEFP_H
70522 #include <ieeefp.h>
70523 #endif
70524
70525 int
70526 main ()
70527 {
70528 _sqrtl(0);
70529 ;
70530 return 0;
70531 }
70532 _ACEOF
70533 if ac_fn_cxx_try_compile "$LINENO"; then :
70534 glibcxx_cv_func__sqrtl_use=yes
70535 else
70536 glibcxx_cv_func__sqrtl_use=no
70537 fi
70538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70539 ac_ext=c
70540 ac_cpp='$CPP $CPPFLAGS'
70541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70544
70545
70546 fi
70547
70548 fi
70549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70550 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70551
70552 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70553 for ac_func in _sqrtl
70554 do :
70555 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70556 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70557 cat >>confdefs.h <<_ACEOF
70558 #define HAVE__SQRTL 1
70559 _ACEOF
70560
70561 fi
70562 done
70563
70564 fi
70565 fi
70566
70567
70568
70569
70570
70571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70572 $as_echo_n "checking for sincosl declaration... " >&6; }
70573 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70574 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70575 $as_echo_n "(cached) " >&6
70576 else
70577
70578
70579 ac_ext=cpp
70580 ac_cpp='$CXXCPP $CPPFLAGS'
70581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70584
70585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70586 /* end confdefs.h. */
70587 #include <math.h>
70588 int
70589 main ()
70590 {
70591 sincosl(0, 0, 0);
70592 ;
70593 return 0;
70594 }
70595 _ACEOF
70596 if ac_fn_cxx_try_compile "$LINENO"; then :
70597 glibcxx_cv_func_sincosl_use=yes
70598 else
70599 glibcxx_cv_func_sincosl_use=no
70600 fi
70601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70602 ac_ext=c
70603 ac_cpp='$CPP $CPPFLAGS'
70604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70607
70608
70609 fi
70610
70611 fi
70612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70613 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70614
70615 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70616 for ac_func in sincosl
70617 do :
70618 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70619 if test "x$ac_cv_func_sincosl" = x""yes; then :
70620 cat >>confdefs.h <<_ACEOF
70621 #define HAVE_SINCOSL 1
70622 _ACEOF
70623
70624 fi
70625 done
70626
70627 else
70628
70629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70630 $as_echo_n "checking for _sincosl declaration... " >&6; }
70631 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70632 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70633 $as_echo_n "(cached) " >&6
70634 else
70635
70636
70637 ac_ext=cpp
70638 ac_cpp='$CXXCPP $CPPFLAGS'
70639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70642
70643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70644 /* end confdefs.h. */
70645 #include <math.h>
70646 int
70647 main ()
70648 {
70649 _sincosl(0, 0, 0);
70650 ;
70651 return 0;
70652 }
70653 _ACEOF
70654 if ac_fn_cxx_try_compile "$LINENO"; then :
70655 glibcxx_cv_func__sincosl_use=yes
70656 else
70657 glibcxx_cv_func__sincosl_use=no
70658 fi
70659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70660 ac_ext=c
70661 ac_cpp='$CPP $CPPFLAGS'
70662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70665
70666
70667 fi
70668
70669 fi
70670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70671 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70672
70673 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70674 for ac_func in _sincosl
70675 do :
70676 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70677 if test "x$ac_cv_func__sincosl" = x""yes; then :
70678 cat >>confdefs.h <<_ACEOF
70679 #define HAVE__SINCOSL 1
70680 _ACEOF
70681
70682 fi
70683 done
70684
70685 fi
70686 fi
70687
70688
70689
70690
70691
70692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70693 $as_echo_n "checking for finitel declaration... " >&6; }
70694 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70695 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70696 $as_echo_n "(cached) " >&6
70697 else
70698
70699
70700 ac_ext=cpp
70701 ac_cpp='$CXXCPP $CPPFLAGS'
70702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70705
70706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70707 /* end confdefs.h. */
70708 #include <math.h>
70709 #ifdef HAVE_IEEEFP_H
70710 #include <ieeefp.h>
70711 #endif
70712
70713 int
70714 main ()
70715 {
70716 finitel(0);
70717 ;
70718 return 0;
70719 }
70720 _ACEOF
70721 if ac_fn_cxx_try_compile "$LINENO"; then :
70722 glibcxx_cv_func_finitel_use=yes
70723 else
70724 glibcxx_cv_func_finitel_use=no
70725 fi
70726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70727 ac_ext=c
70728 ac_cpp='$CPP $CPPFLAGS'
70729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70732
70733
70734 fi
70735
70736 fi
70737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70738 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70739
70740 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70741 for ac_func in finitel
70742 do :
70743 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70744 if test "x$ac_cv_func_finitel" = x""yes; then :
70745 cat >>confdefs.h <<_ACEOF
70746 #define HAVE_FINITEL 1
70747 _ACEOF
70748
70749 fi
70750 done
70751
70752 else
70753
70754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70755 $as_echo_n "checking for _finitel declaration... " >&6; }
70756 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70757 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70758 $as_echo_n "(cached) " >&6
70759 else
70760
70761
70762 ac_ext=cpp
70763 ac_cpp='$CXXCPP $CPPFLAGS'
70764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70767
70768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70769 /* end confdefs.h. */
70770 #include <math.h>
70771 #ifdef HAVE_IEEEFP_H
70772 #include <ieeefp.h>
70773 #endif
70774
70775 int
70776 main ()
70777 {
70778 _finitel(0);
70779 ;
70780 return 0;
70781 }
70782 _ACEOF
70783 if ac_fn_cxx_try_compile "$LINENO"; then :
70784 glibcxx_cv_func__finitel_use=yes
70785 else
70786 glibcxx_cv_func__finitel_use=no
70787 fi
70788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70789 ac_ext=c
70790 ac_cpp='$CPP $CPPFLAGS'
70791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70794
70795
70796 fi
70797
70798 fi
70799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70800 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70801
70802 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70803 for ac_func in _finitel
70804 do :
70805 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70806 if test "x$ac_cv_func__finitel" = x""yes; then :
70807 cat >>confdefs.h <<_ACEOF
70808 #define HAVE__FINITEL 1
70809 _ACEOF
70810
70811 fi
70812 done
70813
70814 fi
70815 fi
70816
70817
70818
70819
70820 LIBS="$ac_save_LIBS"
70821 CXXFLAGS="$ac_save_CXXFLAGS"
70822
70823
70824 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70825 ac_save_CXXFLAGS="$CXXFLAGS"
70826 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70827
70828
70829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70830 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70831 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70832 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70833 $as_echo_n "(cached) " >&6
70834 else
70835
70836
70837 ac_ext=cpp
70838 ac_cpp='$CXXCPP $CPPFLAGS'
70839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70842
70843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70844 /* end confdefs.h. */
70845 #include <stdlib.h>
70846 int
70847 main ()
70848 {
70849 at_quick_exit(0);
70850 ;
70851 return 0;
70852 }
70853 _ACEOF
70854 if ac_fn_cxx_try_compile "$LINENO"; then :
70855 glibcxx_cv_func_at_quick_exit_use=yes
70856 else
70857 glibcxx_cv_func_at_quick_exit_use=no
70858 fi
70859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70860 ac_ext=c
70861 ac_cpp='$CPP $CPPFLAGS'
70862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70865
70866
70867 fi
70868
70869 fi
70870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70871 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70872 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70873 for ac_func in at_quick_exit
70874 do :
70875 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70876 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70877 cat >>confdefs.h <<_ACEOF
70878 #define HAVE_AT_QUICK_EXIT 1
70879 _ACEOF
70880
70881 fi
70882 done
70883
70884 fi
70885
70886
70887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70888 $as_echo_n "checking for quick_exit declaration... " >&6; }
70889 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70890 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70891 $as_echo_n "(cached) " >&6
70892 else
70893
70894
70895 ac_ext=cpp
70896 ac_cpp='$CXXCPP $CPPFLAGS'
70897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70900
70901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70902 /* end confdefs.h. */
70903 #include <stdlib.h>
70904 int
70905 main ()
70906 {
70907 quick_exit(0);
70908 ;
70909 return 0;
70910 }
70911 _ACEOF
70912 if ac_fn_cxx_try_compile "$LINENO"; then :
70913 glibcxx_cv_func_quick_exit_use=yes
70914 else
70915 glibcxx_cv_func_quick_exit_use=no
70916 fi
70917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70918 ac_ext=c
70919 ac_cpp='$CPP $CPPFLAGS'
70920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70923
70924
70925 fi
70926
70927 fi
70928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70929 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70930 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70931 for ac_func in quick_exit
70932 do :
70933 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70934 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70935 cat >>confdefs.h <<_ACEOF
70936 #define HAVE_QUICK_EXIT 1
70937 _ACEOF
70938
70939 fi
70940 done
70941
70942 fi
70943
70944
70945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70946 $as_echo_n "checking for strtold declaration... " >&6; }
70947 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70948 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70949 $as_echo_n "(cached) " >&6
70950 else
70951
70952
70953 ac_ext=cpp
70954 ac_cpp='$CXXCPP $CPPFLAGS'
70955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70958
70959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70960 /* end confdefs.h. */
70961 #include <stdlib.h>
70962 int
70963 main ()
70964 {
70965 strtold(0, 0);
70966 ;
70967 return 0;
70968 }
70969 _ACEOF
70970 if ac_fn_cxx_try_compile "$LINENO"; then :
70971 glibcxx_cv_func_strtold_use=yes
70972 else
70973 glibcxx_cv_func_strtold_use=no
70974 fi
70975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70976 ac_ext=c
70977 ac_cpp='$CPP $CPPFLAGS'
70978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70981
70982
70983 fi
70984
70985 fi
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70987 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70988 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70989 for ac_func in strtold
70990 do :
70991 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70992 if test "x$ac_cv_func_strtold" = x""yes; then :
70993 cat >>confdefs.h <<_ACEOF
70994 #define HAVE_STRTOLD 1
70995 _ACEOF
70996
70997 fi
70998 done
70999
71000 fi
71001
71002
71003
71004
71005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71006 $as_echo_n "checking for strtof declaration... " >&6; }
71007 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71008 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71009 $as_echo_n "(cached) " >&6
71010 else
71011
71012
71013 ac_ext=cpp
71014 ac_cpp='$CXXCPP $CPPFLAGS'
71015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71018
71019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71020 /* end confdefs.h. */
71021 #include <stdlib.h>
71022 int
71023 main ()
71024 {
71025 strtof(0, 0);
71026 ;
71027 return 0;
71028 }
71029 _ACEOF
71030 if ac_fn_cxx_try_compile "$LINENO"; then :
71031 glibcxx_cv_func_strtof_use=yes
71032 else
71033 glibcxx_cv_func_strtof_use=no
71034 fi
71035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71036 ac_ext=c
71037 ac_cpp='$CPP $CPPFLAGS'
71038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71041
71042
71043 fi
71044
71045 fi
71046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71047 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71048 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71049 for ac_func in strtof
71050 do :
71051 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71052 if test "x$ac_cv_func_strtof" = x""yes; then :
71053 cat >>confdefs.h <<_ACEOF
71054 #define HAVE_STRTOF 1
71055 _ACEOF
71056
71057 fi
71058 done
71059
71060 fi
71061
71062
71063
71064
71065 CXXFLAGS="$ac_save_CXXFLAGS"
71066
71067 ;;
71068 *-solaris*)
71069
71070 # If we're not using GNU ld, then there's no point in even trying these
71071 # tests. Check for that first. We should have already tested for gld
71072 # by now (in libtool), but require it now just to be safe...
71073 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71074 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71075
71076
71077
71078 # The name set by libtool depends on the version of libtool. Shame on us
71079 # for depending on an impl detail, but c'est la vie. Older versions used
71080 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71081 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71082 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71083 # set (hence we're using an older libtool), then set it.
71084 if test x${with_gnu_ld+set} != xset; then
71085 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71086 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71087 with_gnu_ld=no
71088 else
71089 with_gnu_ld=$ac_cv_prog_gnu_ld
71090 fi
71091 fi
71092
71093 # Start by getting the version number. I think the libtool test already
71094 # does some of this, but throws away the result.
71095 glibcxx_ld_is_gold=no
71096 if test x"$with_gnu_ld" = x"yes"; then
71097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71098 $as_echo_n "checking for ld version... " >&6; }
71099
71100 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71101 glibcxx_ld_is_gold=yes
71102 fi
71103 ldver=`$LD --version 2>/dev/null |
71104 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'`
71105
71106 glibcxx_gnu_ld_version=`echo $ldver | \
71107 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71109 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71110 fi
71111
71112 # Set --gc-sections.
71113 glibcxx_have_gc_sections=no
71114 if test "$glibcxx_ld_is_gold" = "yes"; then
71115 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71116 glibcxx_have_gc_sections=yes
71117 fi
71118 else
71119 glibcxx_gcsections_min_ld=21602
71120 if test x"$with_gnu_ld" = x"yes" &&
71121 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71122 glibcxx_have_gc_sections=yes
71123 fi
71124 fi
71125 if test "$glibcxx_have_gc_sections" = "yes"; then
71126 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71127 # NB: This flag only works reliably after 2.16.1. Configure tests
71128 # for this are difficult, so hard wire a value that should work.
71129
71130 ac_test_CFLAGS="${CFLAGS+set}"
71131 ac_save_CFLAGS="$CFLAGS"
71132 CFLAGS='-Wl,--gc-sections'
71133
71134 # Check for -Wl,--gc-sections
71135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71136 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71137 if test x$gcc_no_link = xyes; then
71138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71139 fi
71140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71141 /* end confdefs.h. */
71142 int one(void) { return 1; }
71143 int two(void) { return 2; }
71144
71145 int
71146 main ()
71147 {
71148 two();
71149 ;
71150 return 0;
71151 }
71152 _ACEOF
71153 if ac_fn_c_try_link "$LINENO"; then :
71154 ac_gcsections=yes
71155 else
71156 ac_gcsections=no
71157 fi
71158 rm -f core conftest.err conftest.$ac_objext \
71159 conftest$ac_exeext conftest.$ac_ext
71160 if test "$ac_gcsections" = "yes"; then
71161 rm -f conftest.c
71162 touch conftest.c
71163 if $CC -c conftest.c; then
71164 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71165 grep "Warning: gc-sections option ignored" > /dev/null; then
71166 ac_gcsections=no
71167 fi
71168 fi
71169 rm -f conftest.c conftest.o conftest
71170 fi
71171 if test "$ac_gcsections" = "yes"; then
71172 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71173 fi
71174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71175 $as_echo "$ac_gcsections" >&6; }
71176
71177 if test "$ac_test_CFLAGS" = set; then
71178 CFLAGS="$ac_save_CFLAGS"
71179 else
71180 # this is the suspicious part
71181 CFLAGS=''
71182 fi
71183 fi
71184
71185 # Set -z,relro.
71186 # Note this is only for shared objects.
71187 ac_ld_relro=no
71188 if test x"$with_gnu_ld" = x"yes"; then
71189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71190 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71191 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71192 if test -n "$cxx_z_relo"; then
71193 OPT_LDFLAGS="-Wl,-z,relro"
71194 ac_ld_relro=yes
71195 fi
71196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71197 $as_echo "$ac_ld_relro" >&6; }
71198 fi
71199
71200 # Set linker optimization flags.
71201 if test x"$with_gnu_ld" = x"yes"; then
71202 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71203 fi
71204
71205
71206
71207
71208 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71209
71210 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71211
71212 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71213
71214 # All of the dependencies for wide character support are here, so
71215 # turn it on.
71216 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71217
71218 # These two C99 functions are present only in Solaris >= 10
71219 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71220
71221 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71222
71223 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71224
71225 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71226
71227 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71228
71229 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71230
71231 ;;
71232 *-tpf)
71233 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71234 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71235
71236 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71237
71238 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71239
71240 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71241
71242 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71243
71244 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71245
71246 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71247
71248 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71249
71250 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71251
71252 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71253
71254 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71255
71256 if test x"long_double_math_on_this_cpu" = x"yes"; then
71257 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71258
71259 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71260
71261 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71262
71263 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71264
71265 fi
71266 ;;
71267 *-*vms*)
71268 # Check for available headers.
71269 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71270
71271 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71272 ac_save_CXXFLAGS="$CXXFLAGS"
71273 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71274
71275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71276 $as_echo_n "checking for sin in -lm... " >&6; }
71277 if test "${ac_cv_lib_m_sin+set}" = set; then :
71278 $as_echo_n "(cached) " >&6
71279 else
71280 ac_check_lib_save_LIBS=$LIBS
71281 LIBS="-lm $LIBS"
71282 if test x$gcc_no_link = xyes; then
71283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71284 fi
71285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71286 /* end confdefs.h. */
71287
71288 /* Override any GCC internal prototype to avoid an error.
71289 Use char because int might match the return type of a GCC
71290 builtin and then its argument prototype would still apply. */
71291 #ifdef __cplusplus
71292 extern "C"
71293 #endif
71294 char sin ();
71295 int
71296 main ()
71297 {
71298 return sin ();
71299 ;
71300 return 0;
71301 }
71302 _ACEOF
71303 if ac_fn_c_try_link "$LINENO"; then :
71304 ac_cv_lib_m_sin=yes
71305 else
71306 ac_cv_lib_m_sin=no
71307 fi
71308 rm -f core conftest.err conftest.$ac_objext \
71309 conftest$ac_exeext conftest.$ac_ext
71310 LIBS=$ac_check_lib_save_LIBS
71311 fi
71312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71313 $as_echo "$ac_cv_lib_m_sin" >&6; }
71314 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71315 libm="-lm"
71316 fi
71317
71318 ac_save_LIBS="$LIBS"
71319 LIBS="$LIBS $libm"
71320
71321
71322
71323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71324 $as_echo_n "checking for isinf declaration... " >&6; }
71325 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71326 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71327 $as_echo_n "(cached) " >&6
71328 else
71329
71330
71331 ac_ext=cpp
71332 ac_cpp='$CXXCPP $CPPFLAGS'
71333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71336
71337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71338 /* end confdefs.h. */
71339 #include <math.h>
71340 #ifdef HAVE_IEEEFP_H
71341 #include <ieeefp.h>
71342 #endif
71343
71344 int
71345 main ()
71346 {
71347 isinf(0);
71348 ;
71349 return 0;
71350 }
71351 _ACEOF
71352 if ac_fn_cxx_try_compile "$LINENO"; then :
71353 glibcxx_cv_func_isinf_use=yes
71354 else
71355 glibcxx_cv_func_isinf_use=no
71356 fi
71357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71358 ac_ext=c
71359 ac_cpp='$CPP $CPPFLAGS'
71360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71363
71364
71365 fi
71366
71367 fi
71368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71369 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71370
71371 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71372 for ac_func in isinf
71373 do :
71374 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71375 if test "x$ac_cv_func_isinf" = x""yes; then :
71376 cat >>confdefs.h <<_ACEOF
71377 #define HAVE_ISINF 1
71378 _ACEOF
71379
71380 fi
71381 done
71382
71383 else
71384
71385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71386 $as_echo_n "checking for _isinf declaration... " >&6; }
71387 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71388 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71389 $as_echo_n "(cached) " >&6
71390 else
71391
71392
71393 ac_ext=cpp
71394 ac_cpp='$CXXCPP $CPPFLAGS'
71395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71398
71399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71400 /* end confdefs.h. */
71401 #include <math.h>
71402 #ifdef HAVE_IEEEFP_H
71403 #include <ieeefp.h>
71404 #endif
71405
71406 int
71407 main ()
71408 {
71409 _isinf(0);
71410 ;
71411 return 0;
71412 }
71413 _ACEOF
71414 if ac_fn_cxx_try_compile "$LINENO"; then :
71415 glibcxx_cv_func__isinf_use=yes
71416 else
71417 glibcxx_cv_func__isinf_use=no
71418 fi
71419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71420 ac_ext=c
71421 ac_cpp='$CPP $CPPFLAGS'
71422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71425
71426
71427 fi
71428
71429 fi
71430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71431 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71432
71433 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71434 for ac_func in _isinf
71435 do :
71436 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71437 if test "x$ac_cv_func__isinf" = x""yes; then :
71438 cat >>confdefs.h <<_ACEOF
71439 #define HAVE__ISINF 1
71440 _ACEOF
71441
71442 fi
71443 done
71444
71445 fi
71446 fi
71447
71448
71449
71450
71451
71452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71453 $as_echo_n "checking for isnan declaration... " >&6; }
71454 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71455 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71456 $as_echo_n "(cached) " >&6
71457 else
71458
71459
71460 ac_ext=cpp
71461 ac_cpp='$CXXCPP $CPPFLAGS'
71462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71465
71466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71467 /* end confdefs.h. */
71468 #include <math.h>
71469 #ifdef HAVE_IEEEFP_H
71470 #include <ieeefp.h>
71471 #endif
71472
71473 int
71474 main ()
71475 {
71476 isnan(0);
71477 ;
71478 return 0;
71479 }
71480 _ACEOF
71481 if ac_fn_cxx_try_compile "$LINENO"; then :
71482 glibcxx_cv_func_isnan_use=yes
71483 else
71484 glibcxx_cv_func_isnan_use=no
71485 fi
71486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71487 ac_ext=c
71488 ac_cpp='$CPP $CPPFLAGS'
71489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71492
71493
71494 fi
71495
71496 fi
71497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71498 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71499
71500 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71501 for ac_func in isnan
71502 do :
71503 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71504 if test "x$ac_cv_func_isnan" = x""yes; then :
71505 cat >>confdefs.h <<_ACEOF
71506 #define HAVE_ISNAN 1
71507 _ACEOF
71508
71509 fi
71510 done
71511
71512 else
71513
71514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71515 $as_echo_n "checking for _isnan declaration... " >&6; }
71516 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71517 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71518 $as_echo_n "(cached) " >&6
71519 else
71520
71521
71522 ac_ext=cpp
71523 ac_cpp='$CXXCPP $CPPFLAGS'
71524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71527
71528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71529 /* end confdefs.h. */
71530 #include <math.h>
71531 #ifdef HAVE_IEEEFP_H
71532 #include <ieeefp.h>
71533 #endif
71534
71535 int
71536 main ()
71537 {
71538 _isnan(0);
71539 ;
71540 return 0;
71541 }
71542 _ACEOF
71543 if ac_fn_cxx_try_compile "$LINENO"; then :
71544 glibcxx_cv_func__isnan_use=yes
71545 else
71546 glibcxx_cv_func__isnan_use=no
71547 fi
71548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71549 ac_ext=c
71550 ac_cpp='$CPP $CPPFLAGS'
71551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71554
71555
71556 fi
71557
71558 fi
71559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71560 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71561
71562 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71563 for ac_func in _isnan
71564 do :
71565 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71566 if test "x$ac_cv_func__isnan" = x""yes; then :
71567 cat >>confdefs.h <<_ACEOF
71568 #define HAVE__ISNAN 1
71569 _ACEOF
71570
71571 fi
71572 done
71573
71574 fi
71575 fi
71576
71577
71578
71579
71580
71581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71582 $as_echo_n "checking for finite declaration... " >&6; }
71583 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71584 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71585 $as_echo_n "(cached) " >&6
71586 else
71587
71588
71589 ac_ext=cpp
71590 ac_cpp='$CXXCPP $CPPFLAGS'
71591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71594
71595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71596 /* end confdefs.h. */
71597 #include <math.h>
71598 #ifdef HAVE_IEEEFP_H
71599 #include <ieeefp.h>
71600 #endif
71601
71602 int
71603 main ()
71604 {
71605 finite(0);
71606 ;
71607 return 0;
71608 }
71609 _ACEOF
71610 if ac_fn_cxx_try_compile "$LINENO"; then :
71611 glibcxx_cv_func_finite_use=yes
71612 else
71613 glibcxx_cv_func_finite_use=no
71614 fi
71615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71616 ac_ext=c
71617 ac_cpp='$CPP $CPPFLAGS'
71618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71621
71622
71623 fi
71624
71625 fi
71626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71627 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71628
71629 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71630 for ac_func in finite
71631 do :
71632 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71633 if test "x$ac_cv_func_finite" = x""yes; then :
71634 cat >>confdefs.h <<_ACEOF
71635 #define HAVE_FINITE 1
71636 _ACEOF
71637
71638 fi
71639 done
71640
71641 else
71642
71643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71644 $as_echo_n "checking for _finite declaration... " >&6; }
71645 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71646 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71647 $as_echo_n "(cached) " >&6
71648 else
71649
71650
71651 ac_ext=cpp
71652 ac_cpp='$CXXCPP $CPPFLAGS'
71653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71656
71657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71658 /* end confdefs.h. */
71659 #include <math.h>
71660 #ifdef HAVE_IEEEFP_H
71661 #include <ieeefp.h>
71662 #endif
71663
71664 int
71665 main ()
71666 {
71667 _finite(0);
71668 ;
71669 return 0;
71670 }
71671 _ACEOF
71672 if ac_fn_cxx_try_compile "$LINENO"; then :
71673 glibcxx_cv_func__finite_use=yes
71674 else
71675 glibcxx_cv_func__finite_use=no
71676 fi
71677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71678 ac_ext=c
71679 ac_cpp='$CPP $CPPFLAGS'
71680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71683
71684
71685 fi
71686
71687 fi
71688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71689 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71690
71691 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71692 for ac_func in _finite
71693 do :
71694 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71695 if test "x$ac_cv_func__finite" = x""yes; then :
71696 cat >>confdefs.h <<_ACEOF
71697 #define HAVE__FINITE 1
71698 _ACEOF
71699
71700 fi
71701 done
71702
71703 fi
71704 fi
71705
71706
71707
71708
71709
71710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71711 $as_echo_n "checking for sincos declaration... " >&6; }
71712 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71713 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71714 $as_echo_n "(cached) " >&6
71715 else
71716
71717
71718 ac_ext=cpp
71719 ac_cpp='$CXXCPP $CPPFLAGS'
71720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71723
71724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71725 /* end confdefs.h. */
71726 #include <math.h>
71727 int
71728 main ()
71729 {
71730 sincos(0, 0, 0);
71731 ;
71732 return 0;
71733 }
71734 _ACEOF
71735 if ac_fn_cxx_try_compile "$LINENO"; then :
71736 glibcxx_cv_func_sincos_use=yes
71737 else
71738 glibcxx_cv_func_sincos_use=no
71739 fi
71740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71741 ac_ext=c
71742 ac_cpp='$CPP $CPPFLAGS'
71743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71746
71747
71748 fi
71749
71750 fi
71751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71752 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71753
71754 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71755 for ac_func in sincos
71756 do :
71757 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71758 if test "x$ac_cv_func_sincos" = x""yes; then :
71759 cat >>confdefs.h <<_ACEOF
71760 #define HAVE_SINCOS 1
71761 _ACEOF
71762
71763 fi
71764 done
71765
71766 else
71767
71768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71769 $as_echo_n "checking for _sincos declaration... " >&6; }
71770 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71771 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71772 $as_echo_n "(cached) " >&6
71773 else
71774
71775
71776 ac_ext=cpp
71777 ac_cpp='$CXXCPP $CPPFLAGS'
71778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71781
71782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71783 /* end confdefs.h. */
71784 #include <math.h>
71785 int
71786 main ()
71787 {
71788 _sincos(0, 0, 0);
71789 ;
71790 return 0;
71791 }
71792 _ACEOF
71793 if ac_fn_cxx_try_compile "$LINENO"; then :
71794 glibcxx_cv_func__sincos_use=yes
71795 else
71796 glibcxx_cv_func__sincos_use=no
71797 fi
71798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71799 ac_ext=c
71800 ac_cpp='$CPP $CPPFLAGS'
71801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71804
71805
71806 fi
71807
71808 fi
71809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71810 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71811
71812 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71813 for ac_func in _sincos
71814 do :
71815 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71816 if test "x$ac_cv_func__sincos" = x""yes; then :
71817 cat >>confdefs.h <<_ACEOF
71818 #define HAVE__SINCOS 1
71819 _ACEOF
71820
71821 fi
71822 done
71823
71824 fi
71825 fi
71826
71827
71828
71829
71830
71831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71832 $as_echo_n "checking for fpclass declaration... " >&6; }
71833 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71834 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71835 $as_echo_n "(cached) " >&6
71836 else
71837
71838
71839 ac_ext=cpp
71840 ac_cpp='$CXXCPP $CPPFLAGS'
71841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71844
71845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71846 /* end confdefs.h. */
71847 #include <math.h>
71848 #ifdef HAVE_IEEEFP_H
71849 #include <ieeefp.h>
71850 #endif
71851
71852 int
71853 main ()
71854 {
71855 fpclass(0);
71856 ;
71857 return 0;
71858 }
71859 _ACEOF
71860 if ac_fn_cxx_try_compile "$LINENO"; then :
71861 glibcxx_cv_func_fpclass_use=yes
71862 else
71863 glibcxx_cv_func_fpclass_use=no
71864 fi
71865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71866 ac_ext=c
71867 ac_cpp='$CPP $CPPFLAGS'
71868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71871
71872
71873 fi
71874
71875 fi
71876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71877 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71878
71879 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71880 for ac_func in fpclass
71881 do :
71882 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71883 if test "x$ac_cv_func_fpclass" = x""yes; then :
71884 cat >>confdefs.h <<_ACEOF
71885 #define HAVE_FPCLASS 1
71886 _ACEOF
71887
71888 fi
71889 done
71890
71891 else
71892
71893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71894 $as_echo_n "checking for _fpclass declaration... " >&6; }
71895 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71896 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71897 $as_echo_n "(cached) " >&6
71898 else
71899
71900
71901 ac_ext=cpp
71902 ac_cpp='$CXXCPP $CPPFLAGS'
71903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71906
71907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71908 /* end confdefs.h. */
71909 #include <math.h>
71910 #ifdef HAVE_IEEEFP_H
71911 #include <ieeefp.h>
71912 #endif
71913
71914 int
71915 main ()
71916 {
71917 _fpclass(0);
71918 ;
71919 return 0;
71920 }
71921 _ACEOF
71922 if ac_fn_cxx_try_compile "$LINENO"; then :
71923 glibcxx_cv_func__fpclass_use=yes
71924 else
71925 glibcxx_cv_func__fpclass_use=no
71926 fi
71927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71928 ac_ext=c
71929 ac_cpp='$CPP $CPPFLAGS'
71930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71933
71934
71935 fi
71936
71937 fi
71938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71939 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71940
71941 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71942 for ac_func in _fpclass
71943 do :
71944 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71945 if test "x$ac_cv_func__fpclass" = x""yes; then :
71946 cat >>confdefs.h <<_ACEOF
71947 #define HAVE__FPCLASS 1
71948 _ACEOF
71949
71950 fi
71951 done
71952
71953 fi
71954 fi
71955
71956
71957
71958
71959
71960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71961 $as_echo_n "checking for qfpclass declaration... " >&6; }
71962 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71963 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71964 $as_echo_n "(cached) " >&6
71965 else
71966
71967
71968 ac_ext=cpp
71969 ac_cpp='$CXXCPP $CPPFLAGS'
71970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71973
71974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71975 /* end confdefs.h. */
71976 #include <math.h>
71977 #ifdef HAVE_IEEEFP_H
71978 #include <ieeefp.h>
71979 #endif
71980
71981 int
71982 main ()
71983 {
71984 qfpclass(0);
71985 ;
71986 return 0;
71987 }
71988 _ACEOF
71989 if ac_fn_cxx_try_compile "$LINENO"; then :
71990 glibcxx_cv_func_qfpclass_use=yes
71991 else
71992 glibcxx_cv_func_qfpclass_use=no
71993 fi
71994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71995 ac_ext=c
71996 ac_cpp='$CPP $CPPFLAGS'
71997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72000
72001
72002 fi
72003
72004 fi
72005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72006 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72007
72008 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72009 for ac_func in qfpclass
72010 do :
72011 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72012 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72013 cat >>confdefs.h <<_ACEOF
72014 #define HAVE_QFPCLASS 1
72015 _ACEOF
72016
72017 fi
72018 done
72019
72020 else
72021
72022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72023 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72024 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72025 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72026 $as_echo_n "(cached) " >&6
72027 else
72028
72029
72030 ac_ext=cpp
72031 ac_cpp='$CXXCPP $CPPFLAGS'
72032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72035
72036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72037 /* end confdefs.h. */
72038 #include <math.h>
72039 #ifdef HAVE_IEEEFP_H
72040 #include <ieeefp.h>
72041 #endif
72042
72043 int
72044 main ()
72045 {
72046 _qfpclass(0);
72047 ;
72048 return 0;
72049 }
72050 _ACEOF
72051 if ac_fn_cxx_try_compile "$LINENO"; then :
72052 glibcxx_cv_func__qfpclass_use=yes
72053 else
72054 glibcxx_cv_func__qfpclass_use=no
72055 fi
72056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72057 ac_ext=c
72058 ac_cpp='$CPP $CPPFLAGS'
72059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72062
72063
72064 fi
72065
72066 fi
72067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72068 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72069
72070 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72071 for ac_func in _qfpclass
72072 do :
72073 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72074 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72075 cat >>confdefs.h <<_ACEOF
72076 #define HAVE__QFPCLASS 1
72077 _ACEOF
72078
72079 fi
72080 done
72081
72082 fi
72083 fi
72084
72085
72086
72087
72088
72089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72090 $as_echo_n "checking for hypot declaration... " >&6; }
72091 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72092 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72093 $as_echo_n "(cached) " >&6
72094 else
72095
72096
72097 ac_ext=cpp
72098 ac_cpp='$CXXCPP $CPPFLAGS'
72099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72102
72103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72104 /* end confdefs.h. */
72105 #include <math.h>
72106 int
72107 main ()
72108 {
72109 hypot(0, 0);
72110 ;
72111 return 0;
72112 }
72113 _ACEOF
72114 if ac_fn_cxx_try_compile "$LINENO"; then :
72115 glibcxx_cv_func_hypot_use=yes
72116 else
72117 glibcxx_cv_func_hypot_use=no
72118 fi
72119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72120 ac_ext=c
72121 ac_cpp='$CPP $CPPFLAGS'
72122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72125
72126
72127 fi
72128
72129 fi
72130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72131 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72132
72133 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72134 for ac_func in hypot
72135 do :
72136 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72137 if test "x$ac_cv_func_hypot" = x""yes; then :
72138 cat >>confdefs.h <<_ACEOF
72139 #define HAVE_HYPOT 1
72140 _ACEOF
72141
72142 fi
72143 done
72144
72145 else
72146
72147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72148 $as_echo_n "checking for _hypot declaration... " >&6; }
72149 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72150 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72151 $as_echo_n "(cached) " >&6
72152 else
72153
72154
72155 ac_ext=cpp
72156 ac_cpp='$CXXCPP $CPPFLAGS'
72157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72160
72161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72162 /* end confdefs.h. */
72163 #include <math.h>
72164 int
72165 main ()
72166 {
72167 _hypot(0, 0);
72168 ;
72169 return 0;
72170 }
72171 _ACEOF
72172 if ac_fn_cxx_try_compile "$LINENO"; then :
72173 glibcxx_cv_func__hypot_use=yes
72174 else
72175 glibcxx_cv_func__hypot_use=no
72176 fi
72177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72178 ac_ext=c
72179 ac_cpp='$CPP $CPPFLAGS'
72180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72183
72184
72185 fi
72186
72187 fi
72188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72189 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72190
72191 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72192 for ac_func in _hypot
72193 do :
72194 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72195 if test "x$ac_cv_func__hypot" = x""yes; then :
72196 cat >>confdefs.h <<_ACEOF
72197 #define HAVE__HYPOT 1
72198 _ACEOF
72199
72200 fi
72201 done
72202
72203 fi
72204 fi
72205
72206
72207
72208
72209
72210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72211 $as_echo_n "checking for float trig functions... " >&6; }
72212 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72213 $as_echo_n "(cached) " >&6
72214 else
72215
72216
72217 ac_ext=cpp
72218 ac_cpp='$CXXCPP $CPPFLAGS'
72219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72222
72223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72224 /* end confdefs.h. */
72225 #include <math.h>
72226 int
72227 main ()
72228 {
72229 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72230 ;
72231 return 0;
72232 }
72233 _ACEOF
72234 if ac_fn_cxx_try_compile "$LINENO"; then :
72235 glibcxx_cv_func_float_trig_use=yes
72236 else
72237 glibcxx_cv_func_float_trig_use=no
72238 fi
72239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72240 ac_ext=c
72241 ac_cpp='$CPP $CPPFLAGS'
72242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72245
72246 fi
72247
72248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72249 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72250 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72251 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72252 do :
72253 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72254 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72255 eval as_val=\$$as_ac_var
72256 if test "x$as_val" = x""yes; then :
72257 cat >>confdefs.h <<_ACEOF
72258 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72259 _ACEOF
72260
72261 fi
72262 done
72263
72264 else
72265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72266 $as_echo_n "checking for _float trig functions... " >&6; }
72267 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72268 $as_echo_n "(cached) " >&6
72269 else
72270
72271
72272 ac_ext=cpp
72273 ac_cpp='$CXXCPP $CPPFLAGS'
72274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72277
72278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72279 /* end confdefs.h. */
72280 #include <math.h>
72281 int
72282 main ()
72283 {
72284 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72285 ;
72286 return 0;
72287 }
72288 _ACEOF
72289 if ac_fn_cxx_try_compile "$LINENO"; then :
72290 glibcxx_cv_func__float_trig_use=yes
72291 else
72292 glibcxx_cv_func__float_trig_use=no
72293 fi
72294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72295 ac_ext=c
72296 ac_cpp='$CPP $CPPFLAGS'
72297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72300
72301 fi
72302
72303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72304 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72305 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72306 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72307 do :
72308 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72309 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72310 eval as_val=\$$as_ac_var
72311 if test "x$as_val" = x""yes; then :
72312 cat >>confdefs.h <<_ACEOF
72313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72314 _ACEOF
72315
72316 fi
72317 done
72318
72319 fi
72320 fi
72321
72322
72323
72324
72325
72326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72327 $as_echo_n "checking for float round functions... " >&6; }
72328 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72329 $as_echo_n "(cached) " >&6
72330 else
72331
72332
72333 ac_ext=cpp
72334 ac_cpp='$CXXCPP $CPPFLAGS'
72335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72338
72339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72340 /* end confdefs.h. */
72341 #include <math.h>
72342 int
72343 main ()
72344 {
72345 ceilf (0); floorf (0);
72346 ;
72347 return 0;
72348 }
72349 _ACEOF
72350 if ac_fn_cxx_try_compile "$LINENO"; then :
72351 glibcxx_cv_func_float_round_use=yes
72352 else
72353 glibcxx_cv_func_float_round_use=no
72354 fi
72355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72356 ac_ext=c
72357 ac_cpp='$CPP $CPPFLAGS'
72358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72361
72362 fi
72363
72364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72365 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72366 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72367 for ac_func in ceilf floorf
72368 do :
72369 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72370 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72371 eval as_val=\$$as_ac_var
72372 if test "x$as_val" = x""yes; then :
72373 cat >>confdefs.h <<_ACEOF
72374 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72375 _ACEOF
72376
72377 fi
72378 done
72379
72380 else
72381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72382 $as_echo_n "checking for _float round functions... " >&6; }
72383 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72384 $as_echo_n "(cached) " >&6
72385 else
72386
72387
72388 ac_ext=cpp
72389 ac_cpp='$CXXCPP $CPPFLAGS'
72390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72393
72394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72395 /* end confdefs.h. */
72396 #include <math.h>
72397 int
72398 main ()
72399 {
72400 _ceilf (0); _floorf (0);
72401 ;
72402 return 0;
72403 }
72404 _ACEOF
72405 if ac_fn_cxx_try_compile "$LINENO"; then :
72406 glibcxx_cv_func__float_round_use=yes
72407 else
72408 glibcxx_cv_func__float_round_use=no
72409 fi
72410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72411 ac_ext=c
72412 ac_cpp='$CPP $CPPFLAGS'
72413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72416
72417 fi
72418
72419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72420 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72421 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72422 for ac_func in _ceilf _floorf
72423 do :
72424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72426 eval as_val=\$$as_ac_var
72427 if test "x$as_val" = x""yes; then :
72428 cat >>confdefs.h <<_ACEOF
72429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72430 _ACEOF
72431
72432 fi
72433 done
72434
72435 fi
72436 fi
72437
72438
72439
72440
72441
72442
72443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72444 $as_echo_n "checking for expf declaration... " >&6; }
72445 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72446 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72447 $as_echo_n "(cached) " >&6
72448 else
72449
72450
72451 ac_ext=cpp
72452 ac_cpp='$CXXCPP $CPPFLAGS'
72453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72456
72457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72458 /* end confdefs.h. */
72459 #include <math.h>
72460 #ifdef HAVE_IEEEFP_H
72461 #include <ieeefp.h>
72462 #endif
72463
72464 int
72465 main ()
72466 {
72467 expf(0);
72468 ;
72469 return 0;
72470 }
72471 _ACEOF
72472 if ac_fn_cxx_try_compile "$LINENO"; then :
72473 glibcxx_cv_func_expf_use=yes
72474 else
72475 glibcxx_cv_func_expf_use=no
72476 fi
72477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72478 ac_ext=c
72479 ac_cpp='$CPP $CPPFLAGS'
72480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72483
72484
72485 fi
72486
72487 fi
72488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72489 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72490
72491 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72492 for ac_func in expf
72493 do :
72494 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72495 if test "x$ac_cv_func_expf" = x""yes; then :
72496 cat >>confdefs.h <<_ACEOF
72497 #define HAVE_EXPF 1
72498 _ACEOF
72499
72500 fi
72501 done
72502
72503 else
72504
72505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72506 $as_echo_n "checking for _expf declaration... " >&6; }
72507 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72508 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72509 $as_echo_n "(cached) " >&6
72510 else
72511
72512
72513 ac_ext=cpp
72514 ac_cpp='$CXXCPP $CPPFLAGS'
72515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72518
72519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72520 /* end confdefs.h. */
72521 #include <math.h>
72522 #ifdef HAVE_IEEEFP_H
72523 #include <ieeefp.h>
72524 #endif
72525
72526 int
72527 main ()
72528 {
72529 _expf(0);
72530 ;
72531 return 0;
72532 }
72533 _ACEOF
72534 if ac_fn_cxx_try_compile "$LINENO"; then :
72535 glibcxx_cv_func__expf_use=yes
72536 else
72537 glibcxx_cv_func__expf_use=no
72538 fi
72539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72540 ac_ext=c
72541 ac_cpp='$CPP $CPPFLAGS'
72542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72545
72546
72547 fi
72548
72549 fi
72550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72551 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72552
72553 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72554 for ac_func in _expf
72555 do :
72556 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72557 if test "x$ac_cv_func__expf" = x""yes; then :
72558 cat >>confdefs.h <<_ACEOF
72559 #define HAVE__EXPF 1
72560 _ACEOF
72561
72562 fi
72563 done
72564
72565 fi
72566 fi
72567
72568
72569
72570
72571
72572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72573 $as_echo_n "checking for isnanf declaration... " >&6; }
72574 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72575 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72576 $as_echo_n "(cached) " >&6
72577 else
72578
72579
72580 ac_ext=cpp
72581 ac_cpp='$CXXCPP $CPPFLAGS'
72582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72585
72586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72587 /* end confdefs.h. */
72588 #include <math.h>
72589 #ifdef HAVE_IEEEFP_H
72590 #include <ieeefp.h>
72591 #endif
72592
72593 int
72594 main ()
72595 {
72596 isnanf(0);
72597 ;
72598 return 0;
72599 }
72600 _ACEOF
72601 if ac_fn_cxx_try_compile "$LINENO"; then :
72602 glibcxx_cv_func_isnanf_use=yes
72603 else
72604 glibcxx_cv_func_isnanf_use=no
72605 fi
72606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72607 ac_ext=c
72608 ac_cpp='$CPP $CPPFLAGS'
72609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72612
72613
72614 fi
72615
72616 fi
72617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72618 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72619
72620 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72621 for ac_func in isnanf
72622 do :
72623 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72624 if test "x$ac_cv_func_isnanf" = x""yes; then :
72625 cat >>confdefs.h <<_ACEOF
72626 #define HAVE_ISNANF 1
72627 _ACEOF
72628
72629 fi
72630 done
72631
72632 else
72633
72634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72635 $as_echo_n "checking for _isnanf declaration... " >&6; }
72636 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72637 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72638 $as_echo_n "(cached) " >&6
72639 else
72640
72641
72642 ac_ext=cpp
72643 ac_cpp='$CXXCPP $CPPFLAGS'
72644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72647
72648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72649 /* end confdefs.h. */
72650 #include <math.h>
72651 #ifdef HAVE_IEEEFP_H
72652 #include <ieeefp.h>
72653 #endif
72654
72655 int
72656 main ()
72657 {
72658 _isnanf(0);
72659 ;
72660 return 0;
72661 }
72662 _ACEOF
72663 if ac_fn_cxx_try_compile "$LINENO"; then :
72664 glibcxx_cv_func__isnanf_use=yes
72665 else
72666 glibcxx_cv_func__isnanf_use=no
72667 fi
72668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72669 ac_ext=c
72670 ac_cpp='$CPP $CPPFLAGS'
72671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72674
72675
72676 fi
72677
72678 fi
72679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72680 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72681
72682 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72683 for ac_func in _isnanf
72684 do :
72685 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72686 if test "x$ac_cv_func__isnanf" = x""yes; then :
72687 cat >>confdefs.h <<_ACEOF
72688 #define HAVE__ISNANF 1
72689 _ACEOF
72690
72691 fi
72692 done
72693
72694 fi
72695 fi
72696
72697
72698
72699
72700
72701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72702 $as_echo_n "checking for isinff declaration... " >&6; }
72703 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72704 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72705 $as_echo_n "(cached) " >&6
72706 else
72707
72708
72709 ac_ext=cpp
72710 ac_cpp='$CXXCPP $CPPFLAGS'
72711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72714
72715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72716 /* end confdefs.h. */
72717 #include <math.h>
72718 #ifdef HAVE_IEEEFP_H
72719 #include <ieeefp.h>
72720 #endif
72721
72722 int
72723 main ()
72724 {
72725 isinff(0);
72726 ;
72727 return 0;
72728 }
72729 _ACEOF
72730 if ac_fn_cxx_try_compile "$LINENO"; then :
72731 glibcxx_cv_func_isinff_use=yes
72732 else
72733 glibcxx_cv_func_isinff_use=no
72734 fi
72735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72736 ac_ext=c
72737 ac_cpp='$CPP $CPPFLAGS'
72738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72741
72742
72743 fi
72744
72745 fi
72746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72747 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72748
72749 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72750 for ac_func in isinff
72751 do :
72752 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72753 if test "x$ac_cv_func_isinff" = x""yes; then :
72754 cat >>confdefs.h <<_ACEOF
72755 #define HAVE_ISINFF 1
72756 _ACEOF
72757
72758 fi
72759 done
72760
72761 else
72762
72763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72764 $as_echo_n "checking for _isinff declaration... " >&6; }
72765 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72766 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72767 $as_echo_n "(cached) " >&6
72768 else
72769
72770
72771 ac_ext=cpp
72772 ac_cpp='$CXXCPP $CPPFLAGS'
72773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72776
72777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72778 /* end confdefs.h. */
72779 #include <math.h>
72780 #ifdef HAVE_IEEEFP_H
72781 #include <ieeefp.h>
72782 #endif
72783
72784 int
72785 main ()
72786 {
72787 _isinff(0);
72788 ;
72789 return 0;
72790 }
72791 _ACEOF
72792 if ac_fn_cxx_try_compile "$LINENO"; then :
72793 glibcxx_cv_func__isinff_use=yes
72794 else
72795 glibcxx_cv_func__isinff_use=no
72796 fi
72797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72798 ac_ext=c
72799 ac_cpp='$CPP $CPPFLAGS'
72800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72803
72804
72805 fi
72806
72807 fi
72808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72809 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72810
72811 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72812 for ac_func in _isinff
72813 do :
72814 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72815 if test "x$ac_cv_func__isinff" = x""yes; then :
72816 cat >>confdefs.h <<_ACEOF
72817 #define HAVE__ISINFF 1
72818 _ACEOF
72819
72820 fi
72821 done
72822
72823 fi
72824 fi
72825
72826
72827
72828
72829
72830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72831 $as_echo_n "checking for atan2f declaration... " >&6; }
72832 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72833 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72834 $as_echo_n "(cached) " >&6
72835 else
72836
72837
72838 ac_ext=cpp
72839 ac_cpp='$CXXCPP $CPPFLAGS'
72840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72843
72844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72845 /* end confdefs.h. */
72846 #include <math.h>
72847 int
72848 main ()
72849 {
72850 atan2f(0, 0);
72851 ;
72852 return 0;
72853 }
72854 _ACEOF
72855 if ac_fn_cxx_try_compile "$LINENO"; then :
72856 glibcxx_cv_func_atan2f_use=yes
72857 else
72858 glibcxx_cv_func_atan2f_use=no
72859 fi
72860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72861 ac_ext=c
72862 ac_cpp='$CPP $CPPFLAGS'
72863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72866
72867
72868 fi
72869
72870 fi
72871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72872 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72873
72874 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72875 for ac_func in atan2f
72876 do :
72877 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72878 if test "x$ac_cv_func_atan2f" = x""yes; then :
72879 cat >>confdefs.h <<_ACEOF
72880 #define HAVE_ATAN2F 1
72881 _ACEOF
72882
72883 fi
72884 done
72885
72886 else
72887
72888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72889 $as_echo_n "checking for _atan2f declaration... " >&6; }
72890 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72891 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72892 $as_echo_n "(cached) " >&6
72893 else
72894
72895
72896 ac_ext=cpp
72897 ac_cpp='$CXXCPP $CPPFLAGS'
72898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72901
72902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72903 /* end confdefs.h. */
72904 #include <math.h>
72905 int
72906 main ()
72907 {
72908 _atan2f(0, 0);
72909 ;
72910 return 0;
72911 }
72912 _ACEOF
72913 if ac_fn_cxx_try_compile "$LINENO"; then :
72914 glibcxx_cv_func__atan2f_use=yes
72915 else
72916 glibcxx_cv_func__atan2f_use=no
72917 fi
72918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72919 ac_ext=c
72920 ac_cpp='$CPP $CPPFLAGS'
72921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72924
72925
72926 fi
72927
72928 fi
72929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72930 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72931
72932 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72933 for ac_func in _atan2f
72934 do :
72935 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72936 if test "x$ac_cv_func__atan2f" = x""yes; then :
72937 cat >>confdefs.h <<_ACEOF
72938 #define HAVE__ATAN2F 1
72939 _ACEOF
72940
72941 fi
72942 done
72943
72944 fi
72945 fi
72946
72947
72948
72949
72950
72951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72952 $as_echo_n "checking for fabsf declaration... " >&6; }
72953 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72954 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72955 $as_echo_n "(cached) " >&6
72956 else
72957
72958
72959 ac_ext=cpp
72960 ac_cpp='$CXXCPP $CPPFLAGS'
72961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72964
72965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72966 /* end confdefs.h. */
72967 #include <math.h>
72968 #ifdef HAVE_IEEEFP_H
72969 #include <ieeefp.h>
72970 #endif
72971
72972 int
72973 main ()
72974 {
72975 fabsf(0);
72976 ;
72977 return 0;
72978 }
72979 _ACEOF
72980 if ac_fn_cxx_try_compile "$LINENO"; then :
72981 glibcxx_cv_func_fabsf_use=yes
72982 else
72983 glibcxx_cv_func_fabsf_use=no
72984 fi
72985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72986 ac_ext=c
72987 ac_cpp='$CPP $CPPFLAGS'
72988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72991
72992
72993 fi
72994
72995 fi
72996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
72997 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
72998
72999 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73000 for ac_func in fabsf
73001 do :
73002 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73003 if test "x$ac_cv_func_fabsf" = x""yes; then :
73004 cat >>confdefs.h <<_ACEOF
73005 #define HAVE_FABSF 1
73006 _ACEOF
73007
73008 fi
73009 done
73010
73011 else
73012
73013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73014 $as_echo_n "checking for _fabsf declaration... " >&6; }
73015 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73016 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73017 $as_echo_n "(cached) " >&6
73018 else
73019
73020
73021 ac_ext=cpp
73022 ac_cpp='$CXXCPP $CPPFLAGS'
73023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73026
73027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73028 /* end confdefs.h. */
73029 #include <math.h>
73030 #ifdef HAVE_IEEEFP_H
73031 #include <ieeefp.h>
73032 #endif
73033
73034 int
73035 main ()
73036 {
73037 _fabsf(0);
73038 ;
73039 return 0;
73040 }
73041 _ACEOF
73042 if ac_fn_cxx_try_compile "$LINENO"; then :
73043 glibcxx_cv_func__fabsf_use=yes
73044 else
73045 glibcxx_cv_func__fabsf_use=no
73046 fi
73047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73048 ac_ext=c
73049 ac_cpp='$CPP $CPPFLAGS'
73050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73053
73054
73055 fi
73056
73057 fi
73058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73059 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73060
73061 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73062 for ac_func in _fabsf
73063 do :
73064 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73065 if test "x$ac_cv_func__fabsf" = x""yes; then :
73066 cat >>confdefs.h <<_ACEOF
73067 #define HAVE__FABSF 1
73068 _ACEOF
73069
73070 fi
73071 done
73072
73073 fi
73074 fi
73075
73076
73077
73078
73079
73080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73081 $as_echo_n "checking for fmodf declaration... " >&6; }
73082 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73083 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73084 $as_echo_n "(cached) " >&6
73085 else
73086
73087
73088 ac_ext=cpp
73089 ac_cpp='$CXXCPP $CPPFLAGS'
73090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73093
73094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73095 /* end confdefs.h. */
73096 #include <math.h>
73097 int
73098 main ()
73099 {
73100 fmodf(0, 0);
73101 ;
73102 return 0;
73103 }
73104 _ACEOF
73105 if ac_fn_cxx_try_compile "$LINENO"; then :
73106 glibcxx_cv_func_fmodf_use=yes
73107 else
73108 glibcxx_cv_func_fmodf_use=no
73109 fi
73110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73111 ac_ext=c
73112 ac_cpp='$CPP $CPPFLAGS'
73113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73116
73117
73118 fi
73119
73120 fi
73121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73122 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73123
73124 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73125 for ac_func in fmodf
73126 do :
73127 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73128 if test "x$ac_cv_func_fmodf" = x""yes; then :
73129 cat >>confdefs.h <<_ACEOF
73130 #define HAVE_FMODF 1
73131 _ACEOF
73132
73133 fi
73134 done
73135
73136 else
73137
73138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73139 $as_echo_n "checking for _fmodf declaration... " >&6; }
73140 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73141 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73142 $as_echo_n "(cached) " >&6
73143 else
73144
73145
73146 ac_ext=cpp
73147 ac_cpp='$CXXCPP $CPPFLAGS'
73148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73151
73152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73153 /* end confdefs.h. */
73154 #include <math.h>
73155 int
73156 main ()
73157 {
73158 _fmodf(0, 0);
73159 ;
73160 return 0;
73161 }
73162 _ACEOF
73163 if ac_fn_cxx_try_compile "$LINENO"; then :
73164 glibcxx_cv_func__fmodf_use=yes
73165 else
73166 glibcxx_cv_func__fmodf_use=no
73167 fi
73168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73169 ac_ext=c
73170 ac_cpp='$CPP $CPPFLAGS'
73171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73174
73175
73176 fi
73177
73178 fi
73179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73180 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73181
73182 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73183 for ac_func in _fmodf
73184 do :
73185 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73186 if test "x$ac_cv_func__fmodf" = x""yes; then :
73187 cat >>confdefs.h <<_ACEOF
73188 #define HAVE__FMODF 1
73189 _ACEOF
73190
73191 fi
73192 done
73193
73194 fi
73195 fi
73196
73197
73198
73199
73200
73201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73202 $as_echo_n "checking for frexpf declaration... " >&6; }
73203 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73204 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73205 $as_echo_n "(cached) " >&6
73206 else
73207
73208
73209 ac_ext=cpp
73210 ac_cpp='$CXXCPP $CPPFLAGS'
73211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73214
73215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73216 /* end confdefs.h. */
73217 #include <math.h>
73218 int
73219 main ()
73220 {
73221 frexpf(0, 0);
73222 ;
73223 return 0;
73224 }
73225 _ACEOF
73226 if ac_fn_cxx_try_compile "$LINENO"; then :
73227 glibcxx_cv_func_frexpf_use=yes
73228 else
73229 glibcxx_cv_func_frexpf_use=no
73230 fi
73231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73232 ac_ext=c
73233 ac_cpp='$CPP $CPPFLAGS'
73234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73237
73238
73239 fi
73240
73241 fi
73242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73243 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73244
73245 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73246 for ac_func in frexpf
73247 do :
73248 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73249 if test "x$ac_cv_func_frexpf" = x""yes; then :
73250 cat >>confdefs.h <<_ACEOF
73251 #define HAVE_FREXPF 1
73252 _ACEOF
73253
73254 fi
73255 done
73256
73257 else
73258
73259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73260 $as_echo_n "checking for _frexpf declaration... " >&6; }
73261 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73262 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73263 $as_echo_n "(cached) " >&6
73264 else
73265
73266
73267 ac_ext=cpp
73268 ac_cpp='$CXXCPP $CPPFLAGS'
73269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73272
73273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73274 /* end confdefs.h. */
73275 #include <math.h>
73276 int
73277 main ()
73278 {
73279 _frexpf(0, 0);
73280 ;
73281 return 0;
73282 }
73283 _ACEOF
73284 if ac_fn_cxx_try_compile "$LINENO"; then :
73285 glibcxx_cv_func__frexpf_use=yes
73286 else
73287 glibcxx_cv_func__frexpf_use=no
73288 fi
73289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73290 ac_ext=c
73291 ac_cpp='$CPP $CPPFLAGS'
73292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73295
73296
73297 fi
73298
73299 fi
73300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73301 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73302
73303 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73304 for ac_func in _frexpf
73305 do :
73306 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73307 if test "x$ac_cv_func__frexpf" = x""yes; then :
73308 cat >>confdefs.h <<_ACEOF
73309 #define HAVE__FREXPF 1
73310 _ACEOF
73311
73312 fi
73313 done
73314
73315 fi
73316 fi
73317
73318
73319
73320
73321
73322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73323 $as_echo_n "checking for hypotf declaration... " >&6; }
73324 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73325 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73326 $as_echo_n "(cached) " >&6
73327 else
73328
73329
73330 ac_ext=cpp
73331 ac_cpp='$CXXCPP $CPPFLAGS'
73332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73335
73336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73337 /* end confdefs.h. */
73338 #include <math.h>
73339 int
73340 main ()
73341 {
73342 hypotf(0, 0);
73343 ;
73344 return 0;
73345 }
73346 _ACEOF
73347 if ac_fn_cxx_try_compile "$LINENO"; then :
73348 glibcxx_cv_func_hypotf_use=yes
73349 else
73350 glibcxx_cv_func_hypotf_use=no
73351 fi
73352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73353 ac_ext=c
73354 ac_cpp='$CPP $CPPFLAGS'
73355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73358
73359
73360 fi
73361
73362 fi
73363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73364 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73365
73366 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73367 for ac_func in hypotf
73368 do :
73369 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73370 if test "x$ac_cv_func_hypotf" = x""yes; then :
73371 cat >>confdefs.h <<_ACEOF
73372 #define HAVE_HYPOTF 1
73373 _ACEOF
73374
73375 fi
73376 done
73377
73378 else
73379
73380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73381 $as_echo_n "checking for _hypotf declaration... " >&6; }
73382 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73383 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73384 $as_echo_n "(cached) " >&6
73385 else
73386
73387
73388 ac_ext=cpp
73389 ac_cpp='$CXXCPP $CPPFLAGS'
73390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73393
73394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73395 /* end confdefs.h. */
73396 #include <math.h>
73397 int
73398 main ()
73399 {
73400 _hypotf(0, 0);
73401 ;
73402 return 0;
73403 }
73404 _ACEOF
73405 if ac_fn_cxx_try_compile "$LINENO"; then :
73406 glibcxx_cv_func__hypotf_use=yes
73407 else
73408 glibcxx_cv_func__hypotf_use=no
73409 fi
73410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73411 ac_ext=c
73412 ac_cpp='$CPP $CPPFLAGS'
73413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73416
73417
73418 fi
73419
73420 fi
73421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73422 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73423
73424 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73425 for ac_func in _hypotf
73426 do :
73427 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73428 if test "x$ac_cv_func__hypotf" = x""yes; then :
73429 cat >>confdefs.h <<_ACEOF
73430 #define HAVE__HYPOTF 1
73431 _ACEOF
73432
73433 fi
73434 done
73435
73436 fi
73437 fi
73438
73439
73440
73441
73442
73443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73444 $as_echo_n "checking for ldexpf declaration... " >&6; }
73445 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73446 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73447 $as_echo_n "(cached) " >&6
73448 else
73449
73450
73451 ac_ext=cpp
73452 ac_cpp='$CXXCPP $CPPFLAGS'
73453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73456
73457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73458 /* end confdefs.h. */
73459 #include <math.h>
73460 int
73461 main ()
73462 {
73463 ldexpf(0, 0);
73464 ;
73465 return 0;
73466 }
73467 _ACEOF
73468 if ac_fn_cxx_try_compile "$LINENO"; then :
73469 glibcxx_cv_func_ldexpf_use=yes
73470 else
73471 glibcxx_cv_func_ldexpf_use=no
73472 fi
73473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73474 ac_ext=c
73475 ac_cpp='$CPP $CPPFLAGS'
73476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73479
73480
73481 fi
73482
73483 fi
73484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73485 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73486
73487 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73488 for ac_func in ldexpf
73489 do :
73490 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73491 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73492 cat >>confdefs.h <<_ACEOF
73493 #define HAVE_LDEXPF 1
73494 _ACEOF
73495
73496 fi
73497 done
73498
73499 else
73500
73501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73502 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73503 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73504 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73505 $as_echo_n "(cached) " >&6
73506 else
73507
73508
73509 ac_ext=cpp
73510 ac_cpp='$CXXCPP $CPPFLAGS'
73511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73514
73515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73516 /* end confdefs.h. */
73517 #include <math.h>
73518 int
73519 main ()
73520 {
73521 _ldexpf(0, 0);
73522 ;
73523 return 0;
73524 }
73525 _ACEOF
73526 if ac_fn_cxx_try_compile "$LINENO"; then :
73527 glibcxx_cv_func__ldexpf_use=yes
73528 else
73529 glibcxx_cv_func__ldexpf_use=no
73530 fi
73531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73532 ac_ext=c
73533 ac_cpp='$CPP $CPPFLAGS'
73534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73537
73538
73539 fi
73540
73541 fi
73542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73543 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73544
73545 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73546 for ac_func in _ldexpf
73547 do :
73548 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73549 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73550 cat >>confdefs.h <<_ACEOF
73551 #define HAVE__LDEXPF 1
73552 _ACEOF
73553
73554 fi
73555 done
73556
73557 fi
73558 fi
73559
73560
73561
73562
73563
73564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73565 $as_echo_n "checking for logf declaration... " >&6; }
73566 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73567 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73568 $as_echo_n "(cached) " >&6
73569 else
73570
73571
73572 ac_ext=cpp
73573 ac_cpp='$CXXCPP $CPPFLAGS'
73574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73577
73578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73579 /* end confdefs.h. */
73580 #include <math.h>
73581 #ifdef HAVE_IEEEFP_H
73582 #include <ieeefp.h>
73583 #endif
73584
73585 int
73586 main ()
73587 {
73588 logf(0);
73589 ;
73590 return 0;
73591 }
73592 _ACEOF
73593 if ac_fn_cxx_try_compile "$LINENO"; then :
73594 glibcxx_cv_func_logf_use=yes
73595 else
73596 glibcxx_cv_func_logf_use=no
73597 fi
73598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73599 ac_ext=c
73600 ac_cpp='$CPP $CPPFLAGS'
73601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73604
73605
73606 fi
73607
73608 fi
73609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73610 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73611
73612 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73613 for ac_func in logf
73614 do :
73615 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73616 if test "x$ac_cv_func_logf" = x""yes; then :
73617 cat >>confdefs.h <<_ACEOF
73618 #define HAVE_LOGF 1
73619 _ACEOF
73620
73621 fi
73622 done
73623
73624 else
73625
73626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73627 $as_echo_n "checking for _logf declaration... " >&6; }
73628 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73629 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73630 $as_echo_n "(cached) " >&6
73631 else
73632
73633
73634 ac_ext=cpp
73635 ac_cpp='$CXXCPP $CPPFLAGS'
73636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73639
73640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73641 /* end confdefs.h. */
73642 #include <math.h>
73643 #ifdef HAVE_IEEEFP_H
73644 #include <ieeefp.h>
73645 #endif
73646
73647 int
73648 main ()
73649 {
73650 _logf(0);
73651 ;
73652 return 0;
73653 }
73654 _ACEOF
73655 if ac_fn_cxx_try_compile "$LINENO"; then :
73656 glibcxx_cv_func__logf_use=yes
73657 else
73658 glibcxx_cv_func__logf_use=no
73659 fi
73660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73661 ac_ext=c
73662 ac_cpp='$CPP $CPPFLAGS'
73663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73666
73667
73668 fi
73669
73670 fi
73671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73672 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73673
73674 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73675 for ac_func in _logf
73676 do :
73677 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73678 if test "x$ac_cv_func__logf" = x""yes; then :
73679 cat >>confdefs.h <<_ACEOF
73680 #define HAVE__LOGF 1
73681 _ACEOF
73682
73683 fi
73684 done
73685
73686 fi
73687 fi
73688
73689
73690
73691
73692
73693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73694 $as_echo_n "checking for log10f declaration... " >&6; }
73695 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73696 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73697 $as_echo_n "(cached) " >&6
73698 else
73699
73700
73701 ac_ext=cpp
73702 ac_cpp='$CXXCPP $CPPFLAGS'
73703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73706
73707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73708 /* end confdefs.h. */
73709 #include <math.h>
73710 #ifdef HAVE_IEEEFP_H
73711 #include <ieeefp.h>
73712 #endif
73713
73714 int
73715 main ()
73716 {
73717 log10f(0);
73718 ;
73719 return 0;
73720 }
73721 _ACEOF
73722 if ac_fn_cxx_try_compile "$LINENO"; then :
73723 glibcxx_cv_func_log10f_use=yes
73724 else
73725 glibcxx_cv_func_log10f_use=no
73726 fi
73727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73728 ac_ext=c
73729 ac_cpp='$CPP $CPPFLAGS'
73730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73733
73734
73735 fi
73736
73737 fi
73738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73739 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73740
73741 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73742 for ac_func in log10f
73743 do :
73744 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73745 if test "x$ac_cv_func_log10f" = x""yes; then :
73746 cat >>confdefs.h <<_ACEOF
73747 #define HAVE_LOG10F 1
73748 _ACEOF
73749
73750 fi
73751 done
73752
73753 else
73754
73755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73756 $as_echo_n "checking for _log10f declaration... " >&6; }
73757 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73758 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73759 $as_echo_n "(cached) " >&6
73760 else
73761
73762
73763 ac_ext=cpp
73764 ac_cpp='$CXXCPP $CPPFLAGS'
73765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73768
73769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73770 /* end confdefs.h. */
73771 #include <math.h>
73772 #ifdef HAVE_IEEEFP_H
73773 #include <ieeefp.h>
73774 #endif
73775
73776 int
73777 main ()
73778 {
73779 _log10f(0);
73780 ;
73781 return 0;
73782 }
73783 _ACEOF
73784 if ac_fn_cxx_try_compile "$LINENO"; then :
73785 glibcxx_cv_func__log10f_use=yes
73786 else
73787 glibcxx_cv_func__log10f_use=no
73788 fi
73789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73790 ac_ext=c
73791 ac_cpp='$CPP $CPPFLAGS'
73792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73795
73796
73797 fi
73798
73799 fi
73800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73801 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73802
73803 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73804 for ac_func in _log10f
73805 do :
73806 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73807 if test "x$ac_cv_func__log10f" = x""yes; then :
73808 cat >>confdefs.h <<_ACEOF
73809 #define HAVE__LOG10F 1
73810 _ACEOF
73811
73812 fi
73813 done
73814
73815 fi
73816 fi
73817
73818
73819
73820
73821
73822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73823 $as_echo_n "checking for modff declaration... " >&6; }
73824 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73825 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73826 $as_echo_n "(cached) " >&6
73827 else
73828
73829
73830 ac_ext=cpp
73831 ac_cpp='$CXXCPP $CPPFLAGS'
73832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73835
73836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73837 /* end confdefs.h. */
73838 #include <math.h>
73839 int
73840 main ()
73841 {
73842 modff(0, 0);
73843 ;
73844 return 0;
73845 }
73846 _ACEOF
73847 if ac_fn_cxx_try_compile "$LINENO"; then :
73848 glibcxx_cv_func_modff_use=yes
73849 else
73850 glibcxx_cv_func_modff_use=no
73851 fi
73852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73853 ac_ext=c
73854 ac_cpp='$CPP $CPPFLAGS'
73855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73858
73859
73860 fi
73861
73862 fi
73863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73864 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73865
73866 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73867 for ac_func in modff
73868 do :
73869 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73870 if test "x$ac_cv_func_modff" = x""yes; then :
73871 cat >>confdefs.h <<_ACEOF
73872 #define HAVE_MODFF 1
73873 _ACEOF
73874
73875 fi
73876 done
73877
73878 else
73879
73880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73881 $as_echo_n "checking for _modff declaration... " >&6; }
73882 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73883 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73884 $as_echo_n "(cached) " >&6
73885 else
73886
73887
73888 ac_ext=cpp
73889 ac_cpp='$CXXCPP $CPPFLAGS'
73890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73893
73894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73895 /* end confdefs.h. */
73896 #include <math.h>
73897 int
73898 main ()
73899 {
73900 _modff(0, 0);
73901 ;
73902 return 0;
73903 }
73904 _ACEOF
73905 if ac_fn_cxx_try_compile "$LINENO"; then :
73906 glibcxx_cv_func__modff_use=yes
73907 else
73908 glibcxx_cv_func__modff_use=no
73909 fi
73910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73911 ac_ext=c
73912 ac_cpp='$CPP $CPPFLAGS'
73913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73916
73917
73918 fi
73919
73920 fi
73921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73922 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73923
73924 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73925 for ac_func in _modff
73926 do :
73927 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73928 if test "x$ac_cv_func__modff" = x""yes; then :
73929 cat >>confdefs.h <<_ACEOF
73930 #define HAVE__MODFF 1
73931 _ACEOF
73932
73933 fi
73934 done
73935
73936 fi
73937 fi
73938
73939
73940
73941
73942
73943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73944 $as_echo_n "checking for modf declaration... " >&6; }
73945 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73946 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73947 $as_echo_n "(cached) " >&6
73948 else
73949
73950
73951 ac_ext=cpp
73952 ac_cpp='$CXXCPP $CPPFLAGS'
73953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73956
73957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73958 /* end confdefs.h. */
73959 #include <math.h>
73960 int
73961 main ()
73962 {
73963 modf(0, 0);
73964 ;
73965 return 0;
73966 }
73967 _ACEOF
73968 if ac_fn_cxx_try_compile "$LINENO"; then :
73969 glibcxx_cv_func_modf_use=yes
73970 else
73971 glibcxx_cv_func_modf_use=no
73972 fi
73973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73974 ac_ext=c
73975 ac_cpp='$CPP $CPPFLAGS'
73976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73979
73980
73981 fi
73982
73983 fi
73984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73985 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73986
73987 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73988 for ac_func in modf
73989 do :
73990 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
73991 if test "x$ac_cv_func_modf" = x""yes; then :
73992 cat >>confdefs.h <<_ACEOF
73993 #define HAVE_MODF 1
73994 _ACEOF
73995
73996 fi
73997 done
73998
73999 else
74000
74001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74002 $as_echo_n "checking for _modf declaration... " >&6; }
74003 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74004 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74005 $as_echo_n "(cached) " >&6
74006 else
74007
74008
74009 ac_ext=cpp
74010 ac_cpp='$CXXCPP $CPPFLAGS'
74011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74014
74015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74016 /* end confdefs.h. */
74017 #include <math.h>
74018 int
74019 main ()
74020 {
74021 _modf(0, 0);
74022 ;
74023 return 0;
74024 }
74025 _ACEOF
74026 if ac_fn_cxx_try_compile "$LINENO"; then :
74027 glibcxx_cv_func__modf_use=yes
74028 else
74029 glibcxx_cv_func__modf_use=no
74030 fi
74031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74032 ac_ext=c
74033 ac_cpp='$CPP $CPPFLAGS'
74034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74037
74038
74039 fi
74040
74041 fi
74042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74043 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74044
74045 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74046 for ac_func in _modf
74047 do :
74048 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74049 if test "x$ac_cv_func__modf" = x""yes; then :
74050 cat >>confdefs.h <<_ACEOF
74051 #define HAVE__MODF 1
74052 _ACEOF
74053
74054 fi
74055 done
74056
74057 fi
74058 fi
74059
74060
74061
74062
74063
74064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74065 $as_echo_n "checking for powf declaration... " >&6; }
74066 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74067 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74068 $as_echo_n "(cached) " >&6
74069 else
74070
74071
74072 ac_ext=cpp
74073 ac_cpp='$CXXCPP $CPPFLAGS'
74074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74077
74078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74079 /* end confdefs.h. */
74080 #include <math.h>
74081 int
74082 main ()
74083 {
74084 powf(0, 0);
74085 ;
74086 return 0;
74087 }
74088 _ACEOF
74089 if ac_fn_cxx_try_compile "$LINENO"; then :
74090 glibcxx_cv_func_powf_use=yes
74091 else
74092 glibcxx_cv_func_powf_use=no
74093 fi
74094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74095 ac_ext=c
74096 ac_cpp='$CPP $CPPFLAGS'
74097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74100
74101
74102 fi
74103
74104 fi
74105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74106 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74107
74108 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74109 for ac_func in powf
74110 do :
74111 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74112 if test "x$ac_cv_func_powf" = x""yes; then :
74113 cat >>confdefs.h <<_ACEOF
74114 #define HAVE_POWF 1
74115 _ACEOF
74116
74117 fi
74118 done
74119
74120 else
74121
74122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74123 $as_echo_n "checking for _powf declaration... " >&6; }
74124 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74125 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74126 $as_echo_n "(cached) " >&6
74127 else
74128
74129
74130 ac_ext=cpp
74131 ac_cpp='$CXXCPP $CPPFLAGS'
74132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74135
74136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74137 /* end confdefs.h. */
74138 #include <math.h>
74139 int
74140 main ()
74141 {
74142 _powf(0, 0);
74143 ;
74144 return 0;
74145 }
74146 _ACEOF
74147 if ac_fn_cxx_try_compile "$LINENO"; then :
74148 glibcxx_cv_func__powf_use=yes
74149 else
74150 glibcxx_cv_func__powf_use=no
74151 fi
74152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74153 ac_ext=c
74154 ac_cpp='$CPP $CPPFLAGS'
74155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74158
74159
74160 fi
74161
74162 fi
74163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74164 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74165
74166 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74167 for ac_func in _powf
74168 do :
74169 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74170 if test "x$ac_cv_func__powf" = x""yes; then :
74171 cat >>confdefs.h <<_ACEOF
74172 #define HAVE__POWF 1
74173 _ACEOF
74174
74175 fi
74176 done
74177
74178 fi
74179 fi
74180
74181
74182
74183
74184
74185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74186 $as_echo_n "checking for sqrtf declaration... " >&6; }
74187 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74188 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74189 $as_echo_n "(cached) " >&6
74190 else
74191
74192
74193 ac_ext=cpp
74194 ac_cpp='$CXXCPP $CPPFLAGS'
74195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74198
74199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74200 /* end confdefs.h. */
74201 #include <math.h>
74202 #ifdef HAVE_IEEEFP_H
74203 #include <ieeefp.h>
74204 #endif
74205
74206 int
74207 main ()
74208 {
74209 sqrtf(0);
74210 ;
74211 return 0;
74212 }
74213 _ACEOF
74214 if ac_fn_cxx_try_compile "$LINENO"; then :
74215 glibcxx_cv_func_sqrtf_use=yes
74216 else
74217 glibcxx_cv_func_sqrtf_use=no
74218 fi
74219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74220 ac_ext=c
74221 ac_cpp='$CPP $CPPFLAGS'
74222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74225
74226
74227 fi
74228
74229 fi
74230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74231 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74232
74233 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74234 for ac_func in sqrtf
74235 do :
74236 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74237 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74238 cat >>confdefs.h <<_ACEOF
74239 #define HAVE_SQRTF 1
74240 _ACEOF
74241
74242 fi
74243 done
74244
74245 else
74246
74247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74248 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74249 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74250 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74251 $as_echo_n "(cached) " >&6
74252 else
74253
74254
74255 ac_ext=cpp
74256 ac_cpp='$CXXCPP $CPPFLAGS'
74257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74260
74261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74262 /* end confdefs.h. */
74263 #include <math.h>
74264 #ifdef HAVE_IEEEFP_H
74265 #include <ieeefp.h>
74266 #endif
74267
74268 int
74269 main ()
74270 {
74271 _sqrtf(0);
74272 ;
74273 return 0;
74274 }
74275 _ACEOF
74276 if ac_fn_cxx_try_compile "$LINENO"; then :
74277 glibcxx_cv_func__sqrtf_use=yes
74278 else
74279 glibcxx_cv_func__sqrtf_use=no
74280 fi
74281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74282 ac_ext=c
74283 ac_cpp='$CPP $CPPFLAGS'
74284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74287
74288
74289 fi
74290
74291 fi
74292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74293 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74294
74295 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74296 for ac_func in _sqrtf
74297 do :
74298 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74299 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74300 cat >>confdefs.h <<_ACEOF
74301 #define HAVE__SQRTF 1
74302 _ACEOF
74303
74304 fi
74305 done
74306
74307 fi
74308 fi
74309
74310
74311
74312
74313
74314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74315 $as_echo_n "checking for sincosf declaration... " >&6; }
74316 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74317 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74318 $as_echo_n "(cached) " >&6
74319 else
74320
74321
74322 ac_ext=cpp
74323 ac_cpp='$CXXCPP $CPPFLAGS'
74324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74327
74328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74329 /* end confdefs.h. */
74330 #include <math.h>
74331 int
74332 main ()
74333 {
74334 sincosf(0, 0, 0);
74335 ;
74336 return 0;
74337 }
74338 _ACEOF
74339 if ac_fn_cxx_try_compile "$LINENO"; then :
74340 glibcxx_cv_func_sincosf_use=yes
74341 else
74342 glibcxx_cv_func_sincosf_use=no
74343 fi
74344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74345 ac_ext=c
74346 ac_cpp='$CPP $CPPFLAGS'
74347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74350
74351
74352 fi
74353
74354 fi
74355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74356 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74357
74358 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74359 for ac_func in sincosf
74360 do :
74361 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74362 if test "x$ac_cv_func_sincosf" = x""yes; then :
74363 cat >>confdefs.h <<_ACEOF
74364 #define HAVE_SINCOSF 1
74365 _ACEOF
74366
74367 fi
74368 done
74369
74370 else
74371
74372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74373 $as_echo_n "checking for _sincosf declaration... " >&6; }
74374 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74375 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74376 $as_echo_n "(cached) " >&6
74377 else
74378
74379
74380 ac_ext=cpp
74381 ac_cpp='$CXXCPP $CPPFLAGS'
74382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74385
74386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74387 /* end confdefs.h. */
74388 #include <math.h>
74389 int
74390 main ()
74391 {
74392 _sincosf(0, 0, 0);
74393 ;
74394 return 0;
74395 }
74396 _ACEOF
74397 if ac_fn_cxx_try_compile "$LINENO"; then :
74398 glibcxx_cv_func__sincosf_use=yes
74399 else
74400 glibcxx_cv_func__sincosf_use=no
74401 fi
74402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74403 ac_ext=c
74404 ac_cpp='$CPP $CPPFLAGS'
74405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74408
74409
74410 fi
74411
74412 fi
74413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74414 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74415
74416 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74417 for ac_func in _sincosf
74418 do :
74419 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74420 if test "x$ac_cv_func__sincosf" = x""yes; then :
74421 cat >>confdefs.h <<_ACEOF
74422 #define HAVE__SINCOSF 1
74423 _ACEOF
74424
74425 fi
74426 done
74427
74428 fi
74429 fi
74430
74431
74432
74433
74434
74435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74436 $as_echo_n "checking for finitef declaration... " >&6; }
74437 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74438 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74439 $as_echo_n "(cached) " >&6
74440 else
74441
74442
74443 ac_ext=cpp
74444 ac_cpp='$CXXCPP $CPPFLAGS'
74445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74448
74449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74450 /* end confdefs.h. */
74451 #include <math.h>
74452 #ifdef HAVE_IEEEFP_H
74453 #include <ieeefp.h>
74454 #endif
74455
74456 int
74457 main ()
74458 {
74459 finitef(0);
74460 ;
74461 return 0;
74462 }
74463 _ACEOF
74464 if ac_fn_cxx_try_compile "$LINENO"; then :
74465 glibcxx_cv_func_finitef_use=yes
74466 else
74467 glibcxx_cv_func_finitef_use=no
74468 fi
74469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74470 ac_ext=c
74471 ac_cpp='$CPP $CPPFLAGS'
74472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74475
74476
74477 fi
74478
74479 fi
74480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74481 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74482
74483 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74484 for ac_func in finitef
74485 do :
74486 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74487 if test "x$ac_cv_func_finitef" = x""yes; then :
74488 cat >>confdefs.h <<_ACEOF
74489 #define HAVE_FINITEF 1
74490 _ACEOF
74491
74492 fi
74493 done
74494
74495 else
74496
74497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74498 $as_echo_n "checking for _finitef declaration... " >&6; }
74499 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74500 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74501 $as_echo_n "(cached) " >&6
74502 else
74503
74504
74505 ac_ext=cpp
74506 ac_cpp='$CXXCPP $CPPFLAGS'
74507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74510
74511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74512 /* end confdefs.h. */
74513 #include <math.h>
74514 #ifdef HAVE_IEEEFP_H
74515 #include <ieeefp.h>
74516 #endif
74517
74518 int
74519 main ()
74520 {
74521 _finitef(0);
74522 ;
74523 return 0;
74524 }
74525 _ACEOF
74526 if ac_fn_cxx_try_compile "$LINENO"; then :
74527 glibcxx_cv_func__finitef_use=yes
74528 else
74529 glibcxx_cv_func__finitef_use=no
74530 fi
74531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74532 ac_ext=c
74533 ac_cpp='$CPP $CPPFLAGS'
74534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74537
74538
74539 fi
74540
74541 fi
74542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74543 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74544
74545 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74546 for ac_func in _finitef
74547 do :
74548 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74549 if test "x$ac_cv_func__finitef" = x""yes; then :
74550 cat >>confdefs.h <<_ACEOF
74551 #define HAVE__FINITEF 1
74552 _ACEOF
74553
74554 fi
74555 done
74556
74557 fi
74558 fi
74559
74560
74561
74562
74563
74564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74565 $as_echo_n "checking for long double trig functions... " >&6; }
74566 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74567 $as_echo_n "(cached) " >&6
74568 else
74569
74570
74571 ac_ext=cpp
74572 ac_cpp='$CXXCPP $CPPFLAGS'
74573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74576
74577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74578 /* end confdefs.h. */
74579 #include <math.h>
74580 int
74581 main ()
74582 {
74583 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74584 ;
74585 return 0;
74586 }
74587 _ACEOF
74588 if ac_fn_cxx_try_compile "$LINENO"; then :
74589 glibcxx_cv_func_long_double_trig_use=yes
74590 else
74591 glibcxx_cv_func_long_double_trig_use=no
74592 fi
74593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74594 ac_ext=c
74595 ac_cpp='$CPP $CPPFLAGS'
74596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74599
74600 fi
74601
74602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74603 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74604 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74605 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74606 do :
74607 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74608 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74609 eval as_val=\$$as_ac_var
74610 if test "x$as_val" = x""yes; then :
74611 cat >>confdefs.h <<_ACEOF
74612 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74613 _ACEOF
74614
74615 fi
74616 done
74617
74618 else
74619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74620 $as_echo_n "checking for _long double trig functions... " >&6; }
74621 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74622 $as_echo_n "(cached) " >&6
74623 else
74624
74625
74626 ac_ext=cpp
74627 ac_cpp='$CXXCPP $CPPFLAGS'
74628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74631
74632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74633 /* end confdefs.h. */
74634 #include <math.h>
74635 int
74636 main ()
74637 {
74638 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74639 ;
74640 return 0;
74641 }
74642 _ACEOF
74643 if ac_fn_cxx_try_compile "$LINENO"; then :
74644 glibcxx_cv_func__long_double_trig_use=yes
74645 else
74646 glibcxx_cv_func__long_double_trig_use=no
74647 fi
74648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74649 ac_ext=c
74650 ac_cpp='$CPP $CPPFLAGS'
74651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74654
74655 fi
74656
74657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74658 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74659 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74660 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74661 do :
74662 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74663 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74664 eval as_val=\$$as_ac_var
74665 if test "x$as_val" = x""yes; then :
74666 cat >>confdefs.h <<_ACEOF
74667 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74668 _ACEOF
74669
74670 fi
74671 done
74672
74673 fi
74674 fi
74675
74676
74677
74678
74679
74680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74681 $as_echo_n "checking for long double round functions... " >&6; }
74682 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74683 $as_echo_n "(cached) " >&6
74684 else
74685
74686
74687 ac_ext=cpp
74688 ac_cpp='$CXXCPP $CPPFLAGS'
74689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74692
74693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74694 /* end confdefs.h. */
74695 #include <math.h>
74696 int
74697 main ()
74698 {
74699 ceill (0); floorl (0);
74700 ;
74701 return 0;
74702 }
74703 _ACEOF
74704 if ac_fn_cxx_try_compile "$LINENO"; then :
74705 glibcxx_cv_func_long_double_round_use=yes
74706 else
74707 glibcxx_cv_func_long_double_round_use=no
74708 fi
74709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74710 ac_ext=c
74711 ac_cpp='$CPP $CPPFLAGS'
74712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74715
74716 fi
74717
74718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74719 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74720 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74721 for ac_func in ceill floorl
74722 do :
74723 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74724 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74725 eval as_val=\$$as_ac_var
74726 if test "x$as_val" = x""yes; then :
74727 cat >>confdefs.h <<_ACEOF
74728 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74729 _ACEOF
74730
74731 fi
74732 done
74733
74734 else
74735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74736 $as_echo_n "checking for _long double round functions... " >&6; }
74737 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74738 $as_echo_n "(cached) " >&6
74739 else
74740
74741
74742 ac_ext=cpp
74743 ac_cpp='$CXXCPP $CPPFLAGS'
74744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74747
74748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74749 /* end confdefs.h. */
74750 #include <math.h>
74751 int
74752 main ()
74753 {
74754 _ceill (0); _floorl (0);
74755 ;
74756 return 0;
74757 }
74758 _ACEOF
74759 if ac_fn_cxx_try_compile "$LINENO"; then :
74760 glibcxx_cv_func__long_double_round_use=yes
74761 else
74762 glibcxx_cv_func__long_double_round_use=no
74763 fi
74764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74765 ac_ext=c
74766 ac_cpp='$CPP $CPPFLAGS'
74767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74770
74771 fi
74772
74773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74774 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74775 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74776 for ac_func in _ceill _floorl
74777 do :
74778 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74779 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74780 eval as_val=\$$as_ac_var
74781 if test "x$as_val" = x""yes; then :
74782 cat >>confdefs.h <<_ACEOF
74783 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74784 _ACEOF
74785
74786 fi
74787 done
74788
74789 fi
74790 fi
74791
74792
74793
74794
74795
74796
74797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74798 $as_echo_n "checking for isnanl declaration... " >&6; }
74799 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74800 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74801 $as_echo_n "(cached) " >&6
74802 else
74803
74804
74805 ac_ext=cpp
74806 ac_cpp='$CXXCPP $CPPFLAGS'
74807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74810
74811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74812 /* end confdefs.h. */
74813 #include <math.h>
74814 #ifdef HAVE_IEEEFP_H
74815 #include <ieeefp.h>
74816 #endif
74817
74818 int
74819 main ()
74820 {
74821 isnanl(0);
74822 ;
74823 return 0;
74824 }
74825 _ACEOF
74826 if ac_fn_cxx_try_compile "$LINENO"; then :
74827 glibcxx_cv_func_isnanl_use=yes
74828 else
74829 glibcxx_cv_func_isnanl_use=no
74830 fi
74831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74832 ac_ext=c
74833 ac_cpp='$CPP $CPPFLAGS'
74834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74837
74838
74839 fi
74840
74841 fi
74842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74843 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74844
74845 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74846 for ac_func in isnanl
74847 do :
74848 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74849 if test "x$ac_cv_func_isnanl" = x""yes; then :
74850 cat >>confdefs.h <<_ACEOF
74851 #define HAVE_ISNANL 1
74852 _ACEOF
74853
74854 fi
74855 done
74856
74857 else
74858
74859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74860 $as_echo_n "checking for _isnanl declaration... " >&6; }
74861 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74862 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74863 $as_echo_n "(cached) " >&6
74864 else
74865
74866
74867 ac_ext=cpp
74868 ac_cpp='$CXXCPP $CPPFLAGS'
74869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74872
74873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74874 /* end confdefs.h. */
74875 #include <math.h>
74876 #ifdef HAVE_IEEEFP_H
74877 #include <ieeefp.h>
74878 #endif
74879
74880 int
74881 main ()
74882 {
74883 _isnanl(0);
74884 ;
74885 return 0;
74886 }
74887 _ACEOF
74888 if ac_fn_cxx_try_compile "$LINENO"; then :
74889 glibcxx_cv_func__isnanl_use=yes
74890 else
74891 glibcxx_cv_func__isnanl_use=no
74892 fi
74893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74894 ac_ext=c
74895 ac_cpp='$CPP $CPPFLAGS'
74896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74899
74900
74901 fi
74902
74903 fi
74904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74905 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74906
74907 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74908 for ac_func in _isnanl
74909 do :
74910 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74911 if test "x$ac_cv_func__isnanl" = x""yes; then :
74912 cat >>confdefs.h <<_ACEOF
74913 #define HAVE__ISNANL 1
74914 _ACEOF
74915
74916 fi
74917 done
74918
74919 fi
74920 fi
74921
74922
74923
74924
74925
74926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74927 $as_echo_n "checking for isinfl declaration... " >&6; }
74928 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74929 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74930 $as_echo_n "(cached) " >&6
74931 else
74932
74933
74934 ac_ext=cpp
74935 ac_cpp='$CXXCPP $CPPFLAGS'
74936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74939
74940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74941 /* end confdefs.h. */
74942 #include <math.h>
74943 #ifdef HAVE_IEEEFP_H
74944 #include <ieeefp.h>
74945 #endif
74946
74947 int
74948 main ()
74949 {
74950 isinfl(0);
74951 ;
74952 return 0;
74953 }
74954 _ACEOF
74955 if ac_fn_cxx_try_compile "$LINENO"; then :
74956 glibcxx_cv_func_isinfl_use=yes
74957 else
74958 glibcxx_cv_func_isinfl_use=no
74959 fi
74960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74961 ac_ext=c
74962 ac_cpp='$CPP $CPPFLAGS'
74963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74966
74967
74968 fi
74969
74970 fi
74971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74972 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74973
74974 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74975 for ac_func in isinfl
74976 do :
74977 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74978 if test "x$ac_cv_func_isinfl" = x""yes; then :
74979 cat >>confdefs.h <<_ACEOF
74980 #define HAVE_ISINFL 1
74981 _ACEOF
74982
74983 fi
74984 done
74985
74986 else
74987
74988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74989 $as_echo_n "checking for _isinfl declaration... " >&6; }
74990 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74991 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
74992 $as_echo_n "(cached) " >&6
74993 else
74994
74995
74996 ac_ext=cpp
74997 ac_cpp='$CXXCPP $CPPFLAGS'
74998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75001
75002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75003 /* end confdefs.h. */
75004 #include <math.h>
75005 #ifdef HAVE_IEEEFP_H
75006 #include <ieeefp.h>
75007 #endif
75008
75009 int
75010 main ()
75011 {
75012 _isinfl(0);
75013 ;
75014 return 0;
75015 }
75016 _ACEOF
75017 if ac_fn_cxx_try_compile "$LINENO"; then :
75018 glibcxx_cv_func__isinfl_use=yes
75019 else
75020 glibcxx_cv_func__isinfl_use=no
75021 fi
75022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75023 ac_ext=c
75024 ac_cpp='$CPP $CPPFLAGS'
75025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75028
75029
75030 fi
75031
75032 fi
75033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75034 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75035
75036 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75037 for ac_func in _isinfl
75038 do :
75039 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75040 if test "x$ac_cv_func__isinfl" = x""yes; then :
75041 cat >>confdefs.h <<_ACEOF
75042 #define HAVE__ISINFL 1
75043 _ACEOF
75044
75045 fi
75046 done
75047
75048 fi
75049 fi
75050
75051
75052
75053
75054
75055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75056 $as_echo_n "checking for atan2l declaration... " >&6; }
75057 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75058 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75059 $as_echo_n "(cached) " >&6
75060 else
75061
75062
75063 ac_ext=cpp
75064 ac_cpp='$CXXCPP $CPPFLAGS'
75065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75068
75069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75070 /* end confdefs.h. */
75071 #include <math.h>
75072 int
75073 main ()
75074 {
75075 atan2l(0, 0);
75076 ;
75077 return 0;
75078 }
75079 _ACEOF
75080 if ac_fn_cxx_try_compile "$LINENO"; then :
75081 glibcxx_cv_func_atan2l_use=yes
75082 else
75083 glibcxx_cv_func_atan2l_use=no
75084 fi
75085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75086 ac_ext=c
75087 ac_cpp='$CPP $CPPFLAGS'
75088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75091
75092
75093 fi
75094
75095 fi
75096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75097 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75098
75099 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75100 for ac_func in atan2l
75101 do :
75102 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75103 if test "x$ac_cv_func_atan2l" = x""yes; then :
75104 cat >>confdefs.h <<_ACEOF
75105 #define HAVE_ATAN2L 1
75106 _ACEOF
75107
75108 fi
75109 done
75110
75111 else
75112
75113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75114 $as_echo_n "checking for _atan2l declaration... " >&6; }
75115 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75116 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75117 $as_echo_n "(cached) " >&6
75118 else
75119
75120
75121 ac_ext=cpp
75122 ac_cpp='$CXXCPP $CPPFLAGS'
75123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75126
75127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75128 /* end confdefs.h. */
75129 #include <math.h>
75130 int
75131 main ()
75132 {
75133 _atan2l(0, 0);
75134 ;
75135 return 0;
75136 }
75137 _ACEOF
75138 if ac_fn_cxx_try_compile "$LINENO"; then :
75139 glibcxx_cv_func__atan2l_use=yes
75140 else
75141 glibcxx_cv_func__atan2l_use=no
75142 fi
75143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75144 ac_ext=c
75145 ac_cpp='$CPP $CPPFLAGS'
75146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75149
75150
75151 fi
75152
75153 fi
75154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75155 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75156
75157 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75158 for ac_func in _atan2l
75159 do :
75160 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75161 if test "x$ac_cv_func__atan2l" = x""yes; then :
75162 cat >>confdefs.h <<_ACEOF
75163 #define HAVE__ATAN2L 1
75164 _ACEOF
75165
75166 fi
75167 done
75168
75169 fi
75170 fi
75171
75172
75173
75174
75175
75176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75177 $as_echo_n "checking for expl declaration... " >&6; }
75178 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75179 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75180 $as_echo_n "(cached) " >&6
75181 else
75182
75183
75184 ac_ext=cpp
75185 ac_cpp='$CXXCPP $CPPFLAGS'
75186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75189
75190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75191 /* end confdefs.h. */
75192 #include <math.h>
75193 #ifdef HAVE_IEEEFP_H
75194 #include <ieeefp.h>
75195 #endif
75196
75197 int
75198 main ()
75199 {
75200 expl(0);
75201 ;
75202 return 0;
75203 }
75204 _ACEOF
75205 if ac_fn_cxx_try_compile "$LINENO"; then :
75206 glibcxx_cv_func_expl_use=yes
75207 else
75208 glibcxx_cv_func_expl_use=no
75209 fi
75210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75211 ac_ext=c
75212 ac_cpp='$CPP $CPPFLAGS'
75213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75216
75217
75218 fi
75219
75220 fi
75221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75222 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75223
75224 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75225 for ac_func in expl
75226 do :
75227 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75228 if test "x$ac_cv_func_expl" = x""yes; then :
75229 cat >>confdefs.h <<_ACEOF
75230 #define HAVE_EXPL 1
75231 _ACEOF
75232
75233 fi
75234 done
75235
75236 else
75237
75238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75239 $as_echo_n "checking for _expl declaration... " >&6; }
75240 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75241 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75242 $as_echo_n "(cached) " >&6
75243 else
75244
75245
75246 ac_ext=cpp
75247 ac_cpp='$CXXCPP $CPPFLAGS'
75248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75251
75252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75253 /* end confdefs.h. */
75254 #include <math.h>
75255 #ifdef HAVE_IEEEFP_H
75256 #include <ieeefp.h>
75257 #endif
75258
75259 int
75260 main ()
75261 {
75262 _expl(0);
75263 ;
75264 return 0;
75265 }
75266 _ACEOF
75267 if ac_fn_cxx_try_compile "$LINENO"; then :
75268 glibcxx_cv_func__expl_use=yes
75269 else
75270 glibcxx_cv_func__expl_use=no
75271 fi
75272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75273 ac_ext=c
75274 ac_cpp='$CPP $CPPFLAGS'
75275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75278
75279
75280 fi
75281
75282 fi
75283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75284 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75285
75286 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75287 for ac_func in _expl
75288 do :
75289 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75290 if test "x$ac_cv_func__expl" = x""yes; then :
75291 cat >>confdefs.h <<_ACEOF
75292 #define HAVE__EXPL 1
75293 _ACEOF
75294
75295 fi
75296 done
75297
75298 fi
75299 fi
75300
75301
75302
75303
75304
75305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75306 $as_echo_n "checking for fabsl declaration... " >&6; }
75307 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75308 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75309 $as_echo_n "(cached) " >&6
75310 else
75311
75312
75313 ac_ext=cpp
75314 ac_cpp='$CXXCPP $CPPFLAGS'
75315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75318
75319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75320 /* end confdefs.h. */
75321 #include <math.h>
75322 #ifdef HAVE_IEEEFP_H
75323 #include <ieeefp.h>
75324 #endif
75325
75326 int
75327 main ()
75328 {
75329 fabsl(0);
75330 ;
75331 return 0;
75332 }
75333 _ACEOF
75334 if ac_fn_cxx_try_compile "$LINENO"; then :
75335 glibcxx_cv_func_fabsl_use=yes
75336 else
75337 glibcxx_cv_func_fabsl_use=no
75338 fi
75339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75340 ac_ext=c
75341 ac_cpp='$CPP $CPPFLAGS'
75342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75345
75346
75347 fi
75348
75349 fi
75350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75351 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75352
75353 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75354 for ac_func in fabsl
75355 do :
75356 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75357 if test "x$ac_cv_func_fabsl" = x""yes; then :
75358 cat >>confdefs.h <<_ACEOF
75359 #define HAVE_FABSL 1
75360 _ACEOF
75361
75362 fi
75363 done
75364
75365 else
75366
75367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75368 $as_echo_n "checking for _fabsl declaration... " >&6; }
75369 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75370 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75371 $as_echo_n "(cached) " >&6
75372 else
75373
75374
75375 ac_ext=cpp
75376 ac_cpp='$CXXCPP $CPPFLAGS'
75377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75380
75381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75382 /* end confdefs.h. */
75383 #include <math.h>
75384 #ifdef HAVE_IEEEFP_H
75385 #include <ieeefp.h>
75386 #endif
75387
75388 int
75389 main ()
75390 {
75391 _fabsl(0);
75392 ;
75393 return 0;
75394 }
75395 _ACEOF
75396 if ac_fn_cxx_try_compile "$LINENO"; then :
75397 glibcxx_cv_func__fabsl_use=yes
75398 else
75399 glibcxx_cv_func__fabsl_use=no
75400 fi
75401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75402 ac_ext=c
75403 ac_cpp='$CPP $CPPFLAGS'
75404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75407
75408
75409 fi
75410
75411 fi
75412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75413 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75414
75415 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75416 for ac_func in _fabsl
75417 do :
75418 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75419 if test "x$ac_cv_func__fabsl" = x""yes; then :
75420 cat >>confdefs.h <<_ACEOF
75421 #define HAVE__FABSL 1
75422 _ACEOF
75423
75424 fi
75425 done
75426
75427 fi
75428 fi
75429
75430
75431
75432
75433
75434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75435 $as_echo_n "checking for fmodl declaration... " >&6; }
75436 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75437 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75438 $as_echo_n "(cached) " >&6
75439 else
75440
75441
75442 ac_ext=cpp
75443 ac_cpp='$CXXCPP $CPPFLAGS'
75444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75447
75448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75449 /* end confdefs.h. */
75450 #include <math.h>
75451 int
75452 main ()
75453 {
75454 fmodl(0, 0);
75455 ;
75456 return 0;
75457 }
75458 _ACEOF
75459 if ac_fn_cxx_try_compile "$LINENO"; then :
75460 glibcxx_cv_func_fmodl_use=yes
75461 else
75462 glibcxx_cv_func_fmodl_use=no
75463 fi
75464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75465 ac_ext=c
75466 ac_cpp='$CPP $CPPFLAGS'
75467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75470
75471
75472 fi
75473
75474 fi
75475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75476 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75477
75478 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75479 for ac_func in fmodl
75480 do :
75481 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75482 if test "x$ac_cv_func_fmodl" = x""yes; then :
75483 cat >>confdefs.h <<_ACEOF
75484 #define HAVE_FMODL 1
75485 _ACEOF
75486
75487 fi
75488 done
75489
75490 else
75491
75492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75493 $as_echo_n "checking for _fmodl declaration... " >&6; }
75494 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75495 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75496 $as_echo_n "(cached) " >&6
75497 else
75498
75499
75500 ac_ext=cpp
75501 ac_cpp='$CXXCPP $CPPFLAGS'
75502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75505
75506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75507 /* end confdefs.h. */
75508 #include <math.h>
75509 int
75510 main ()
75511 {
75512 _fmodl(0, 0);
75513 ;
75514 return 0;
75515 }
75516 _ACEOF
75517 if ac_fn_cxx_try_compile "$LINENO"; then :
75518 glibcxx_cv_func__fmodl_use=yes
75519 else
75520 glibcxx_cv_func__fmodl_use=no
75521 fi
75522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75523 ac_ext=c
75524 ac_cpp='$CPP $CPPFLAGS'
75525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75528
75529
75530 fi
75531
75532 fi
75533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75534 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75535
75536 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75537 for ac_func in _fmodl
75538 do :
75539 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75540 if test "x$ac_cv_func__fmodl" = x""yes; then :
75541 cat >>confdefs.h <<_ACEOF
75542 #define HAVE__FMODL 1
75543 _ACEOF
75544
75545 fi
75546 done
75547
75548 fi
75549 fi
75550
75551
75552
75553
75554
75555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75556 $as_echo_n "checking for frexpl declaration... " >&6; }
75557 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75558 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75559 $as_echo_n "(cached) " >&6
75560 else
75561
75562
75563 ac_ext=cpp
75564 ac_cpp='$CXXCPP $CPPFLAGS'
75565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75568
75569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75570 /* end confdefs.h. */
75571 #include <math.h>
75572 int
75573 main ()
75574 {
75575 frexpl(0, 0);
75576 ;
75577 return 0;
75578 }
75579 _ACEOF
75580 if ac_fn_cxx_try_compile "$LINENO"; then :
75581 glibcxx_cv_func_frexpl_use=yes
75582 else
75583 glibcxx_cv_func_frexpl_use=no
75584 fi
75585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75586 ac_ext=c
75587 ac_cpp='$CPP $CPPFLAGS'
75588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75591
75592
75593 fi
75594
75595 fi
75596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75597 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75598
75599 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75600 for ac_func in frexpl
75601 do :
75602 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75603 if test "x$ac_cv_func_frexpl" = x""yes; then :
75604 cat >>confdefs.h <<_ACEOF
75605 #define HAVE_FREXPL 1
75606 _ACEOF
75607
75608 fi
75609 done
75610
75611 else
75612
75613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75614 $as_echo_n "checking for _frexpl declaration... " >&6; }
75615 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75616 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75617 $as_echo_n "(cached) " >&6
75618 else
75619
75620
75621 ac_ext=cpp
75622 ac_cpp='$CXXCPP $CPPFLAGS'
75623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75626
75627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75628 /* end confdefs.h. */
75629 #include <math.h>
75630 int
75631 main ()
75632 {
75633 _frexpl(0, 0);
75634 ;
75635 return 0;
75636 }
75637 _ACEOF
75638 if ac_fn_cxx_try_compile "$LINENO"; then :
75639 glibcxx_cv_func__frexpl_use=yes
75640 else
75641 glibcxx_cv_func__frexpl_use=no
75642 fi
75643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75644 ac_ext=c
75645 ac_cpp='$CPP $CPPFLAGS'
75646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75649
75650
75651 fi
75652
75653 fi
75654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75655 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75656
75657 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75658 for ac_func in _frexpl
75659 do :
75660 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75661 if test "x$ac_cv_func__frexpl" = x""yes; then :
75662 cat >>confdefs.h <<_ACEOF
75663 #define HAVE__FREXPL 1
75664 _ACEOF
75665
75666 fi
75667 done
75668
75669 fi
75670 fi
75671
75672
75673
75674
75675
75676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75677 $as_echo_n "checking for hypotl declaration... " >&6; }
75678 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75679 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75680 $as_echo_n "(cached) " >&6
75681 else
75682
75683
75684 ac_ext=cpp
75685 ac_cpp='$CXXCPP $CPPFLAGS'
75686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75689
75690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75691 /* end confdefs.h. */
75692 #include <math.h>
75693 int
75694 main ()
75695 {
75696 hypotl(0, 0);
75697 ;
75698 return 0;
75699 }
75700 _ACEOF
75701 if ac_fn_cxx_try_compile "$LINENO"; then :
75702 glibcxx_cv_func_hypotl_use=yes
75703 else
75704 glibcxx_cv_func_hypotl_use=no
75705 fi
75706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75707 ac_ext=c
75708 ac_cpp='$CPP $CPPFLAGS'
75709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75712
75713
75714 fi
75715
75716 fi
75717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75718 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75719
75720 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75721 for ac_func in hypotl
75722 do :
75723 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75724 if test "x$ac_cv_func_hypotl" = x""yes; then :
75725 cat >>confdefs.h <<_ACEOF
75726 #define HAVE_HYPOTL 1
75727 _ACEOF
75728
75729 fi
75730 done
75731
75732 else
75733
75734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75735 $as_echo_n "checking for _hypotl declaration... " >&6; }
75736 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75737 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75738 $as_echo_n "(cached) " >&6
75739 else
75740
75741
75742 ac_ext=cpp
75743 ac_cpp='$CXXCPP $CPPFLAGS'
75744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75747
75748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75749 /* end confdefs.h. */
75750 #include <math.h>
75751 int
75752 main ()
75753 {
75754 _hypotl(0, 0);
75755 ;
75756 return 0;
75757 }
75758 _ACEOF
75759 if ac_fn_cxx_try_compile "$LINENO"; then :
75760 glibcxx_cv_func__hypotl_use=yes
75761 else
75762 glibcxx_cv_func__hypotl_use=no
75763 fi
75764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75765 ac_ext=c
75766 ac_cpp='$CPP $CPPFLAGS'
75767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75770
75771
75772 fi
75773
75774 fi
75775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75776 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75777
75778 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75779 for ac_func in _hypotl
75780 do :
75781 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75782 if test "x$ac_cv_func__hypotl" = x""yes; then :
75783 cat >>confdefs.h <<_ACEOF
75784 #define HAVE__HYPOTL 1
75785 _ACEOF
75786
75787 fi
75788 done
75789
75790 fi
75791 fi
75792
75793
75794
75795
75796
75797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75798 $as_echo_n "checking for ldexpl declaration... " >&6; }
75799 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75800 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75801 $as_echo_n "(cached) " >&6
75802 else
75803
75804
75805 ac_ext=cpp
75806 ac_cpp='$CXXCPP $CPPFLAGS'
75807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75810
75811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75812 /* end confdefs.h. */
75813 #include <math.h>
75814 int
75815 main ()
75816 {
75817 ldexpl(0, 0);
75818 ;
75819 return 0;
75820 }
75821 _ACEOF
75822 if ac_fn_cxx_try_compile "$LINENO"; then :
75823 glibcxx_cv_func_ldexpl_use=yes
75824 else
75825 glibcxx_cv_func_ldexpl_use=no
75826 fi
75827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75828 ac_ext=c
75829 ac_cpp='$CPP $CPPFLAGS'
75830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75833
75834
75835 fi
75836
75837 fi
75838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75839 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75840
75841 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75842 for ac_func in ldexpl
75843 do :
75844 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75845 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75846 cat >>confdefs.h <<_ACEOF
75847 #define HAVE_LDEXPL 1
75848 _ACEOF
75849
75850 fi
75851 done
75852
75853 else
75854
75855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75856 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75857 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75858 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75859 $as_echo_n "(cached) " >&6
75860 else
75861
75862
75863 ac_ext=cpp
75864 ac_cpp='$CXXCPP $CPPFLAGS'
75865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75868
75869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75870 /* end confdefs.h. */
75871 #include <math.h>
75872 int
75873 main ()
75874 {
75875 _ldexpl(0, 0);
75876 ;
75877 return 0;
75878 }
75879 _ACEOF
75880 if ac_fn_cxx_try_compile "$LINENO"; then :
75881 glibcxx_cv_func__ldexpl_use=yes
75882 else
75883 glibcxx_cv_func__ldexpl_use=no
75884 fi
75885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75886 ac_ext=c
75887 ac_cpp='$CPP $CPPFLAGS'
75888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75891
75892
75893 fi
75894
75895 fi
75896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75897 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75898
75899 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75900 for ac_func in _ldexpl
75901 do :
75902 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75903 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75904 cat >>confdefs.h <<_ACEOF
75905 #define HAVE__LDEXPL 1
75906 _ACEOF
75907
75908 fi
75909 done
75910
75911 fi
75912 fi
75913
75914
75915
75916
75917
75918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75919 $as_echo_n "checking for logl declaration... " >&6; }
75920 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75921 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75922 $as_echo_n "(cached) " >&6
75923 else
75924
75925
75926 ac_ext=cpp
75927 ac_cpp='$CXXCPP $CPPFLAGS'
75928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75931
75932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75933 /* end confdefs.h. */
75934 #include <math.h>
75935 #ifdef HAVE_IEEEFP_H
75936 #include <ieeefp.h>
75937 #endif
75938
75939 int
75940 main ()
75941 {
75942 logl(0);
75943 ;
75944 return 0;
75945 }
75946 _ACEOF
75947 if ac_fn_cxx_try_compile "$LINENO"; then :
75948 glibcxx_cv_func_logl_use=yes
75949 else
75950 glibcxx_cv_func_logl_use=no
75951 fi
75952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75953 ac_ext=c
75954 ac_cpp='$CPP $CPPFLAGS'
75955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75958
75959
75960 fi
75961
75962 fi
75963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75964 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75965
75966 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75967 for ac_func in logl
75968 do :
75969 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75970 if test "x$ac_cv_func_logl" = x""yes; then :
75971 cat >>confdefs.h <<_ACEOF
75972 #define HAVE_LOGL 1
75973 _ACEOF
75974
75975 fi
75976 done
75977
75978 else
75979
75980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75981 $as_echo_n "checking for _logl declaration... " >&6; }
75982 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75983 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75984 $as_echo_n "(cached) " >&6
75985 else
75986
75987
75988 ac_ext=cpp
75989 ac_cpp='$CXXCPP $CPPFLAGS'
75990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75993
75994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75995 /* end confdefs.h. */
75996 #include <math.h>
75997 #ifdef HAVE_IEEEFP_H
75998 #include <ieeefp.h>
75999 #endif
76000
76001 int
76002 main ()
76003 {
76004 _logl(0);
76005 ;
76006 return 0;
76007 }
76008 _ACEOF
76009 if ac_fn_cxx_try_compile "$LINENO"; then :
76010 glibcxx_cv_func__logl_use=yes
76011 else
76012 glibcxx_cv_func__logl_use=no
76013 fi
76014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76015 ac_ext=c
76016 ac_cpp='$CPP $CPPFLAGS'
76017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76020
76021
76022 fi
76023
76024 fi
76025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76026 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76027
76028 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76029 for ac_func in _logl
76030 do :
76031 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76032 if test "x$ac_cv_func__logl" = x""yes; then :
76033 cat >>confdefs.h <<_ACEOF
76034 #define HAVE__LOGL 1
76035 _ACEOF
76036
76037 fi
76038 done
76039
76040 fi
76041 fi
76042
76043
76044
76045
76046
76047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76048 $as_echo_n "checking for log10l declaration... " >&6; }
76049 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76050 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76051 $as_echo_n "(cached) " >&6
76052 else
76053
76054
76055 ac_ext=cpp
76056 ac_cpp='$CXXCPP $CPPFLAGS'
76057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76060
76061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76062 /* end confdefs.h. */
76063 #include <math.h>
76064 #ifdef HAVE_IEEEFP_H
76065 #include <ieeefp.h>
76066 #endif
76067
76068 int
76069 main ()
76070 {
76071 log10l(0);
76072 ;
76073 return 0;
76074 }
76075 _ACEOF
76076 if ac_fn_cxx_try_compile "$LINENO"; then :
76077 glibcxx_cv_func_log10l_use=yes
76078 else
76079 glibcxx_cv_func_log10l_use=no
76080 fi
76081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76082 ac_ext=c
76083 ac_cpp='$CPP $CPPFLAGS'
76084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76087
76088
76089 fi
76090
76091 fi
76092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76093 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76094
76095 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76096 for ac_func in log10l
76097 do :
76098 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76099 if test "x$ac_cv_func_log10l" = x""yes; then :
76100 cat >>confdefs.h <<_ACEOF
76101 #define HAVE_LOG10L 1
76102 _ACEOF
76103
76104 fi
76105 done
76106
76107 else
76108
76109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76110 $as_echo_n "checking for _log10l declaration... " >&6; }
76111 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76112 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76113 $as_echo_n "(cached) " >&6
76114 else
76115
76116
76117 ac_ext=cpp
76118 ac_cpp='$CXXCPP $CPPFLAGS'
76119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76122
76123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76124 /* end confdefs.h. */
76125 #include <math.h>
76126 #ifdef HAVE_IEEEFP_H
76127 #include <ieeefp.h>
76128 #endif
76129
76130 int
76131 main ()
76132 {
76133 _log10l(0);
76134 ;
76135 return 0;
76136 }
76137 _ACEOF
76138 if ac_fn_cxx_try_compile "$LINENO"; then :
76139 glibcxx_cv_func__log10l_use=yes
76140 else
76141 glibcxx_cv_func__log10l_use=no
76142 fi
76143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76144 ac_ext=c
76145 ac_cpp='$CPP $CPPFLAGS'
76146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76149
76150
76151 fi
76152
76153 fi
76154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76155 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76156
76157 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76158 for ac_func in _log10l
76159 do :
76160 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76161 if test "x$ac_cv_func__log10l" = x""yes; then :
76162 cat >>confdefs.h <<_ACEOF
76163 #define HAVE__LOG10L 1
76164 _ACEOF
76165
76166 fi
76167 done
76168
76169 fi
76170 fi
76171
76172
76173
76174
76175
76176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76177 $as_echo_n "checking for modfl declaration... " >&6; }
76178 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76179 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76180 $as_echo_n "(cached) " >&6
76181 else
76182
76183
76184 ac_ext=cpp
76185 ac_cpp='$CXXCPP $CPPFLAGS'
76186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76189
76190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76191 /* end confdefs.h. */
76192 #include <math.h>
76193 int
76194 main ()
76195 {
76196 modfl(0, 0);
76197 ;
76198 return 0;
76199 }
76200 _ACEOF
76201 if ac_fn_cxx_try_compile "$LINENO"; then :
76202 glibcxx_cv_func_modfl_use=yes
76203 else
76204 glibcxx_cv_func_modfl_use=no
76205 fi
76206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76207 ac_ext=c
76208 ac_cpp='$CPP $CPPFLAGS'
76209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76212
76213
76214 fi
76215
76216 fi
76217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76218 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76219
76220 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76221 for ac_func in modfl
76222 do :
76223 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76224 if test "x$ac_cv_func_modfl" = x""yes; then :
76225 cat >>confdefs.h <<_ACEOF
76226 #define HAVE_MODFL 1
76227 _ACEOF
76228
76229 fi
76230 done
76231
76232 else
76233
76234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76235 $as_echo_n "checking for _modfl declaration... " >&6; }
76236 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76237 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76238 $as_echo_n "(cached) " >&6
76239 else
76240
76241
76242 ac_ext=cpp
76243 ac_cpp='$CXXCPP $CPPFLAGS'
76244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76247
76248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76249 /* end confdefs.h. */
76250 #include <math.h>
76251 int
76252 main ()
76253 {
76254 _modfl(0, 0);
76255 ;
76256 return 0;
76257 }
76258 _ACEOF
76259 if ac_fn_cxx_try_compile "$LINENO"; then :
76260 glibcxx_cv_func__modfl_use=yes
76261 else
76262 glibcxx_cv_func__modfl_use=no
76263 fi
76264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76265 ac_ext=c
76266 ac_cpp='$CPP $CPPFLAGS'
76267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76270
76271
76272 fi
76273
76274 fi
76275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76276 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76277
76278 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76279 for ac_func in _modfl
76280 do :
76281 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76282 if test "x$ac_cv_func__modfl" = x""yes; then :
76283 cat >>confdefs.h <<_ACEOF
76284 #define HAVE__MODFL 1
76285 _ACEOF
76286
76287 fi
76288 done
76289
76290 fi
76291 fi
76292
76293
76294
76295
76296
76297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76298 $as_echo_n "checking for powl declaration... " >&6; }
76299 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76300 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76301 $as_echo_n "(cached) " >&6
76302 else
76303
76304
76305 ac_ext=cpp
76306 ac_cpp='$CXXCPP $CPPFLAGS'
76307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76310
76311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76312 /* end confdefs.h. */
76313 #include <math.h>
76314 int
76315 main ()
76316 {
76317 powl(0, 0);
76318 ;
76319 return 0;
76320 }
76321 _ACEOF
76322 if ac_fn_cxx_try_compile "$LINENO"; then :
76323 glibcxx_cv_func_powl_use=yes
76324 else
76325 glibcxx_cv_func_powl_use=no
76326 fi
76327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76328 ac_ext=c
76329 ac_cpp='$CPP $CPPFLAGS'
76330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76333
76334
76335 fi
76336
76337 fi
76338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76339 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76340
76341 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76342 for ac_func in powl
76343 do :
76344 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76345 if test "x$ac_cv_func_powl" = x""yes; then :
76346 cat >>confdefs.h <<_ACEOF
76347 #define HAVE_POWL 1
76348 _ACEOF
76349
76350 fi
76351 done
76352
76353 else
76354
76355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76356 $as_echo_n "checking for _powl declaration... " >&6; }
76357 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76358 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76359 $as_echo_n "(cached) " >&6
76360 else
76361
76362
76363 ac_ext=cpp
76364 ac_cpp='$CXXCPP $CPPFLAGS'
76365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76368
76369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76370 /* end confdefs.h. */
76371 #include <math.h>
76372 int
76373 main ()
76374 {
76375 _powl(0, 0);
76376 ;
76377 return 0;
76378 }
76379 _ACEOF
76380 if ac_fn_cxx_try_compile "$LINENO"; then :
76381 glibcxx_cv_func__powl_use=yes
76382 else
76383 glibcxx_cv_func__powl_use=no
76384 fi
76385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76386 ac_ext=c
76387 ac_cpp='$CPP $CPPFLAGS'
76388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76391
76392
76393 fi
76394
76395 fi
76396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76397 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76398
76399 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76400 for ac_func in _powl
76401 do :
76402 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76403 if test "x$ac_cv_func__powl" = x""yes; then :
76404 cat >>confdefs.h <<_ACEOF
76405 #define HAVE__POWL 1
76406 _ACEOF
76407
76408 fi
76409 done
76410
76411 fi
76412 fi
76413
76414
76415
76416
76417
76418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76419 $as_echo_n "checking for sqrtl declaration... " >&6; }
76420 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76421 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76422 $as_echo_n "(cached) " >&6
76423 else
76424
76425
76426 ac_ext=cpp
76427 ac_cpp='$CXXCPP $CPPFLAGS'
76428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76431
76432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76433 /* end confdefs.h. */
76434 #include <math.h>
76435 #ifdef HAVE_IEEEFP_H
76436 #include <ieeefp.h>
76437 #endif
76438
76439 int
76440 main ()
76441 {
76442 sqrtl(0);
76443 ;
76444 return 0;
76445 }
76446 _ACEOF
76447 if ac_fn_cxx_try_compile "$LINENO"; then :
76448 glibcxx_cv_func_sqrtl_use=yes
76449 else
76450 glibcxx_cv_func_sqrtl_use=no
76451 fi
76452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76453 ac_ext=c
76454 ac_cpp='$CPP $CPPFLAGS'
76455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76458
76459
76460 fi
76461
76462 fi
76463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76464 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76465
76466 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76467 for ac_func in sqrtl
76468 do :
76469 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76470 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76471 cat >>confdefs.h <<_ACEOF
76472 #define HAVE_SQRTL 1
76473 _ACEOF
76474
76475 fi
76476 done
76477
76478 else
76479
76480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76481 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76482 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76483 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76484 $as_echo_n "(cached) " >&6
76485 else
76486
76487
76488 ac_ext=cpp
76489 ac_cpp='$CXXCPP $CPPFLAGS'
76490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76493
76494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76495 /* end confdefs.h. */
76496 #include <math.h>
76497 #ifdef HAVE_IEEEFP_H
76498 #include <ieeefp.h>
76499 #endif
76500
76501 int
76502 main ()
76503 {
76504 _sqrtl(0);
76505 ;
76506 return 0;
76507 }
76508 _ACEOF
76509 if ac_fn_cxx_try_compile "$LINENO"; then :
76510 glibcxx_cv_func__sqrtl_use=yes
76511 else
76512 glibcxx_cv_func__sqrtl_use=no
76513 fi
76514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76515 ac_ext=c
76516 ac_cpp='$CPP $CPPFLAGS'
76517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76520
76521
76522 fi
76523
76524 fi
76525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76526 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76527
76528 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76529 for ac_func in _sqrtl
76530 do :
76531 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76532 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76533 cat >>confdefs.h <<_ACEOF
76534 #define HAVE__SQRTL 1
76535 _ACEOF
76536
76537 fi
76538 done
76539
76540 fi
76541 fi
76542
76543
76544
76545
76546
76547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76548 $as_echo_n "checking for sincosl declaration... " >&6; }
76549 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76550 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76551 $as_echo_n "(cached) " >&6
76552 else
76553
76554
76555 ac_ext=cpp
76556 ac_cpp='$CXXCPP $CPPFLAGS'
76557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76560
76561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76562 /* end confdefs.h. */
76563 #include <math.h>
76564 int
76565 main ()
76566 {
76567 sincosl(0, 0, 0);
76568 ;
76569 return 0;
76570 }
76571 _ACEOF
76572 if ac_fn_cxx_try_compile "$LINENO"; then :
76573 glibcxx_cv_func_sincosl_use=yes
76574 else
76575 glibcxx_cv_func_sincosl_use=no
76576 fi
76577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76578 ac_ext=c
76579 ac_cpp='$CPP $CPPFLAGS'
76580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76583
76584
76585 fi
76586
76587 fi
76588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76589 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76590
76591 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76592 for ac_func in sincosl
76593 do :
76594 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76595 if test "x$ac_cv_func_sincosl" = x""yes; then :
76596 cat >>confdefs.h <<_ACEOF
76597 #define HAVE_SINCOSL 1
76598 _ACEOF
76599
76600 fi
76601 done
76602
76603 else
76604
76605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76606 $as_echo_n "checking for _sincosl declaration... " >&6; }
76607 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76608 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76609 $as_echo_n "(cached) " >&6
76610 else
76611
76612
76613 ac_ext=cpp
76614 ac_cpp='$CXXCPP $CPPFLAGS'
76615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76618
76619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76620 /* end confdefs.h. */
76621 #include <math.h>
76622 int
76623 main ()
76624 {
76625 _sincosl(0, 0, 0);
76626 ;
76627 return 0;
76628 }
76629 _ACEOF
76630 if ac_fn_cxx_try_compile "$LINENO"; then :
76631 glibcxx_cv_func__sincosl_use=yes
76632 else
76633 glibcxx_cv_func__sincosl_use=no
76634 fi
76635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76636 ac_ext=c
76637 ac_cpp='$CPP $CPPFLAGS'
76638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76641
76642
76643 fi
76644
76645 fi
76646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76647 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76648
76649 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76650 for ac_func in _sincosl
76651 do :
76652 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76653 if test "x$ac_cv_func__sincosl" = x""yes; then :
76654 cat >>confdefs.h <<_ACEOF
76655 #define HAVE__SINCOSL 1
76656 _ACEOF
76657
76658 fi
76659 done
76660
76661 fi
76662 fi
76663
76664
76665
76666
76667
76668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76669 $as_echo_n "checking for finitel declaration... " >&6; }
76670 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76671 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76672 $as_echo_n "(cached) " >&6
76673 else
76674
76675
76676 ac_ext=cpp
76677 ac_cpp='$CXXCPP $CPPFLAGS'
76678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76681
76682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76683 /* end confdefs.h. */
76684 #include <math.h>
76685 #ifdef HAVE_IEEEFP_H
76686 #include <ieeefp.h>
76687 #endif
76688
76689 int
76690 main ()
76691 {
76692 finitel(0);
76693 ;
76694 return 0;
76695 }
76696 _ACEOF
76697 if ac_fn_cxx_try_compile "$LINENO"; then :
76698 glibcxx_cv_func_finitel_use=yes
76699 else
76700 glibcxx_cv_func_finitel_use=no
76701 fi
76702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76703 ac_ext=c
76704 ac_cpp='$CPP $CPPFLAGS'
76705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76708
76709
76710 fi
76711
76712 fi
76713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76714 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76715
76716 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76717 for ac_func in finitel
76718 do :
76719 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76720 if test "x$ac_cv_func_finitel" = x""yes; then :
76721 cat >>confdefs.h <<_ACEOF
76722 #define HAVE_FINITEL 1
76723 _ACEOF
76724
76725 fi
76726 done
76727
76728 else
76729
76730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76731 $as_echo_n "checking for _finitel declaration... " >&6; }
76732 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76733 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76734 $as_echo_n "(cached) " >&6
76735 else
76736
76737
76738 ac_ext=cpp
76739 ac_cpp='$CXXCPP $CPPFLAGS'
76740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76743
76744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76745 /* end confdefs.h. */
76746 #include <math.h>
76747 #ifdef HAVE_IEEEFP_H
76748 #include <ieeefp.h>
76749 #endif
76750
76751 int
76752 main ()
76753 {
76754 _finitel(0);
76755 ;
76756 return 0;
76757 }
76758 _ACEOF
76759 if ac_fn_cxx_try_compile "$LINENO"; then :
76760 glibcxx_cv_func__finitel_use=yes
76761 else
76762 glibcxx_cv_func__finitel_use=no
76763 fi
76764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76765 ac_ext=c
76766 ac_cpp='$CPP $CPPFLAGS'
76767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76770
76771
76772 fi
76773
76774 fi
76775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76776 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76777
76778 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76779 for ac_func in _finitel
76780 do :
76781 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76782 if test "x$ac_cv_func__finitel" = x""yes; then :
76783 cat >>confdefs.h <<_ACEOF
76784 #define HAVE__FINITEL 1
76785 _ACEOF
76786
76787 fi
76788 done
76789
76790 fi
76791 fi
76792
76793
76794
76795
76796 LIBS="$ac_save_LIBS"
76797 CXXFLAGS="$ac_save_CXXFLAGS"
76798
76799
76800 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76801 ac_save_CXXFLAGS="$CXXFLAGS"
76802 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76803
76804
76805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76806 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76807 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76808 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76809 $as_echo_n "(cached) " >&6
76810 else
76811
76812
76813 ac_ext=cpp
76814 ac_cpp='$CXXCPP $CPPFLAGS'
76815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76818
76819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76820 /* end confdefs.h. */
76821 #include <stdlib.h>
76822 int
76823 main ()
76824 {
76825 at_quick_exit(0);
76826 ;
76827 return 0;
76828 }
76829 _ACEOF
76830 if ac_fn_cxx_try_compile "$LINENO"; then :
76831 glibcxx_cv_func_at_quick_exit_use=yes
76832 else
76833 glibcxx_cv_func_at_quick_exit_use=no
76834 fi
76835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76836 ac_ext=c
76837 ac_cpp='$CPP $CPPFLAGS'
76838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76841
76842
76843 fi
76844
76845 fi
76846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76847 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76848 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76849 for ac_func in at_quick_exit
76850 do :
76851 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76852 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76853 cat >>confdefs.h <<_ACEOF
76854 #define HAVE_AT_QUICK_EXIT 1
76855 _ACEOF
76856
76857 fi
76858 done
76859
76860 fi
76861
76862
76863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76864 $as_echo_n "checking for quick_exit declaration... " >&6; }
76865 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76866 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76867 $as_echo_n "(cached) " >&6
76868 else
76869
76870
76871 ac_ext=cpp
76872 ac_cpp='$CXXCPP $CPPFLAGS'
76873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76876
76877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76878 /* end confdefs.h. */
76879 #include <stdlib.h>
76880 int
76881 main ()
76882 {
76883 quick_exit(0);
76884 ;
76885 return 0;
76886 }
76887 _ACEOF
76888 if ac_fn_cxx_try_compile "$LINENO"; then :
76889 glibcxx_cv_func_quick_exit_use=yes
76890 else
76891 glibcxx_cv_func_quick_exit_use=no
76892 fi
76893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76894 ac_ext=c
76895 ac_cpp='$CPP $CPPFLAGS'
76896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76899
76900
76901 fi
76902
76903 fi
76904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76905 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76906 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76907 for ac_func in quick_exit
76908 do :
76909 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76910 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76911 cat >>confdefs.h <<_ACEOF
76912 #define HAVE_QUICK_EXIT 1
76913 _ACEOF
76914
76915 fi
76916 done
76917
76918 fi
76919
76920
76921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76922 $as_echo_n "checking for strtold declaration... " >&6; }
76923 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76924 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76925 $as_echo_n "(cached) " >&6
76926 else
76927
76928
76929 ac_ext=cpp
76930 ac_cpp='$CXXCPP $CPPFLAGS'
76931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76934
76935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76936 /* end confdefs.h. */
76937 #include <stdlib.h>
76938 int
76939 main ()
76940 {
76941 strtold(0, 0);
76942 ;
76943 return 0;
76944 }
76945 _ACEOF
76946 if ac_fn_cxx_try_compile "$LINENO"; then :
76947 glibcxx_cv_func_strtold_use=yes
76948 else
76949 glibcxx_cv_func_strtold_use=no
76950 fi
76951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76952 ac_ext=c
76953 ac_cpp='$CPP $CPPFLAGS'
76954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76957
76958
76959 fi
76960
76961 fi
76962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76963 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76964 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76965 for ac_func in strtold
76966 do :
76967 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76968 if test "x$ac_cv_func_strtold" = x""yes; then :
76969 cat >>confdefs.h <<_ACEOF
76970 #define HAVE_STRTOLD 1
76971 _ACEOF
76972
76973 fi
76974 done
76975
76976 fi
76977
76978
76979
76980
76981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76982 $as_echo_n "checking for strtof declaration... " >&6; }
76983 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76984 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76985 $as_echo_n "(cached) " >&6
76986 else
76987
76988
76989 ac_ext=cpp
76990 ac_cpp='$CXXCPP $CPPFLAGS'
76991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76994
76995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76996 /* end confdefs.h. */
76997 #include <stdlib.h>
76998 int
76999 main ()
77000 {
77001 strtof(0, 0);
77002 ;
77003 return 0;
77004 }
77005 _ACEOF
77006 if ac_fn_cxx_try_compile "$LINENO"; then :
77007 glibcxx_cv_func_strtof_use=yes
77008 else
77009 glibcxx_cv_func_strtof_use=no
77010 fi
77011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77012 ac_ext=c
77013 ac_cpp='$CPP $CPPFLAGS'
77014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77017
77018
77019 fi
77020
77021 fi
77022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77023 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77024 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77025 for ac_func in strtof
77026 do :
77027 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77028 if test "x$ac_cv_func_strtof" = x""yes; then :
77029 cat >>confdefs.h <<_ACEOF
77030 #define HAVE_STRTOF 1
77031 _ACEOF
77032
77033 fi
77034 done
77035
77036 fi
77037
77038
77039
77040
77041 CXXFLAGS="$ac_save_CXXFLAGS"
77042
77043 ;;
77044 *-vxworks)
77045 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77046
77047 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77048
77049 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77050
77051 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77052
77053 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77054
77055 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77056
77057 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77058
77059 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77060
77061 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77062
77063 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77064
77065 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77066
77067 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77068
77069 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77070
77071 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77072
77073 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77074
77075 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77076
77077 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77078
77079 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77080
77081 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77082
77083 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77084
77085 ;;
77086 *)
77087 as_fn_error "No support for this host/target combination." "$LINENO" 5
77088 ;;
77089 esac
77090
77091 fi
77092
77093 # At some point, we should differentiate between architectures
77094 # like x86, which have long double versions, and alpha/powerpc/etc.,
77095 # which don't. For the time being, punt.
77096 if test x"long_double_math_on_this_cpu" = x"yes"; then
77097 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77098
77099 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77100
77101 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77102
77103 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77104
77105 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77106
77107 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77108
77109 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77110
77111 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77112
77113 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77114
77115 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77116
77117 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77118
77119 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77120
77121 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77122
77123 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77124
77125 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77126
77127 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77128
77129 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77130
77131 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77132
77133 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77134
77135 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77136
77137 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77138
77139 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77140
77141 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77142
77143 fi
77144 fi
77145
77146 # Check for _Unwind_GetIPInfo.
77147
77148
77149 # Check whether --with-system-libunwind was given.
77150 if test "${with_system_libunwind+set}" = set; then :
77151 withval=$with_system_libunwind;
77152 fi
77153
77154 # If system-libunwind was not specifically set, pick a default setting.
77155 if test x$with_system_libunwind = x; then
77156 case ${target} in
77157 ia64-*-hpux*) with_system_libunwind=yes ;;
77158 *) with_system_libunwind=no ;;
77159 esac
77160 fi
77161 # Based on system-libunwind and target, do we have ipinfo?
77162 if test x$with_system_libunwind = xyes; then
77163 case ${target} in
77164 ia64-*-*) have_unwind_getipinfo=no ;;
77165 *) have_unwind_getipinfo=yes ;;
77166 esac
77167 else
77168 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77169
77170 case ${target} in
77171 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77172 *) have_unwind_getipinfo=yes ;;
77173 esac
77174
77175 fi
77176
77177 if test x$have_unwind_getipinfo = xyes; then
77178
77179 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77180
77181 fi
77182
77183
77184 # Check whether --enable-linux-futex was given.
77185 if test "${enable_linux_futex+set}" = set; then :
77186 enableval=$enable_linux_futex;
77187 case "$enableval" in
77188 yes|no|default) ;;
77189 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77190 esac
77191
77192 else
77193 enable_linux_futex=default
77194 fi
77195
77196
77197 case "$target" in
77198 *-linux*)
77199 case "$enable_linux_futex" in
77200 default)
77201 # If headers don't have gettid/futex syscalls definition, then
77202 # default to no, otherwise there will be compile time failures.
77203 # Otherwise, default to yes. If we don't detect we are
77204 # compiled/linked against NPTL and not cross-compiling, check
77205 # if programs are run by default against NPTL and if not, issue
77206 # a warning.
77207 enable_linux_futex=no
77208 if test x$gcc_no_link = xyes; then
77209 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77210 fi
77211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77212 /* end confdefs.h. */
77213 #include <sys/syscall.h>
77214 int lk;
77215 int
77216 main ()
77217 {
77218 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77219 ;
77220 return 0;
77221 }
77222 _ACEOF
77223 if ac_fn_c_try_link "$LINENO"; then :
77224 save_LIBS="$LIBS"
77225 LIBS="-lpthread $LIBS"
77226 if test x$gcc_no_link = xyes; then
77227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77228 fi
77229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77230 /* end confdefs.h. */
77231 #ifndef _GNU_SOURCE
77232 #define _GNU_SOURCE 1
77233 #endif
77234 #include <pthread.h>
77235 pthread_t th; void *status;
77236 int
77237 main ()
77238 {
77239 pthread_tryjoin_np (th, &status);
77240 ;
77241 return 0;
77242 }
77243 _ACEOF
77244 if ac_fn_c_try_link "$LINENO"; then :
77245 enable_linux_futex=yes
77246 else
77247 if test x$cross_compiling = xno; then
77248 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77249 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77251 If so, please configure with --disable-linux-futex" >&5
77252 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77253 If so, please configure with --disable-linux-futex" >&2;}
77254 fi
77255 fi
77256 enable_linux_futex=yes
77257 fi
77258 rm -f core conftest.err conftest.$ac_objext \
77259 conftest$ac_exeext conftest.$ac_ext
77260 LIBS="$save_LIBS"
77261 fi
77262 rm -f core conftest.err conftest.$ac_objext \
77263 conftest$ac_exeext conftest.$ac_ext
77264 ;;
77265 yes)
77266 if test x$gcc_no_link = xyes; then
77267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77268 fi
77269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77270 /* end confdefs.h. */
77271 #include <sys/syscall.h>
77272 int lk;
77273 int
77274 main ()
77275 {
77276 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77277 ;
77278 return 0;
77279 }
77280 _ACEOF
77281 if ac_fn_c_try_link "$LINENO"; then :
77282
77283 else
77284 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77285 fi
77286 rm -f core conftest.err conftest.$ac_objext \
77287 conftest$ac_exeext conftest.$ac_ext
77288 ;;
77289 esac
77290 ;;
77291 *)
77292 enable_linux_futex=no
77293 ;;
77294 esac
77295 if test x$enable_linux_futex = xyes; then
77296
77297 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77298
77299 fi
77300
77301
77302
77303
77304 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77305
77306 acx_cv_header_stdint=stddef.h
77307 acx_cv_header_stdint_kind="(already complete)"
77308 for i in stdint.h $inttype_headers; do
77309 unset ac_cv_type_uintptr_t
77310 unset ac_cv_type_uintmax_t
77311 unset ac_cv_type_int_least32_t
77312 unset ac_cv_type_int_fast32_t
77313 unset ac_cv_type_uint64_t
77314 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77315 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77316 #include <$i>
77317 "
77318 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77319 acx_cv_header_stdint=$i
77320 else
77321 continue
77322 fi
77323
77324 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77325 #include <$i>
77326 "
77327 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77328
77329 else
77330 acx_cv_header_stdint_kind="(mostly complete)"
77331 fi
77332
77333 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77334 #include <$i>
77335 "
77336 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77337
77338 else
77339 acx_cv_header_stdint_kind="(mostly complete)"
77340 fi
77341
77342 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77343 #include <$i>
77344 "
77345 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77346
77347 else
77348 acx_cv_header_stdint_kind="(mostly complete)"
77349 fi
77350
77351 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77352 #include <$i>
77353 "
77354 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77355
77356 else
77357 acx_cv_header_stdint_kind="(lacks uint64_t)"
77358 fi
77359
77360 break
77361 done
77362 if test "$acx_cv_header_stdint" = stddef.h; then
77363 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77364 for i in stdint.h $inttype_headers; do
77365 unset ac_cv_type_uintptr_t
77366 unset ac_cv_type_uint32_t
77367 unset ac_cv_type_uint64_t
77368 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77369 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77370 #include <$i>
77371 "
77372 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77373 acx_cv_header_stdint=$i
77374 else
77375 continue
77376 fi
77377
77378 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77379 #include <$i>
77380 "
77381 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77382
77383 fi
77384
77385 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77386 #include <$i>
77387 "
77388 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77389
77390 fi
77391
77392 break
77393 done
77394 fi
77395 if test "$acx_cv_header_stdint" = stddef.h; then
77396 acx_cv_header_stdint_kind="(u_intXX_t style)"
77397 for i in sys/types.h $inttype_headers; do
77398 unset ac_cv_type_u_int32_t
77399 unset ac_cv_type_u_int64_t
77400 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77401 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77402 #include <$i>
77403 "
77404 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77405 acx_cv_header_stdint=$i
77406 else
77407 continue
77408 fi
77409
77410 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77411 #include <$i>
77412 "
77413 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77414
77415 fi
77416
77417 break
77418 done
77419 fi
77420 if test "$acx_cv_header_stdint" = stddef.h; then
77421 acx_cv_header_stdint_kind="(using manual detection)"
77422 fi
77423
77424 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77425 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77426 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77427 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77428 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77429
77430 # ----------------- Summarize what we found so far
77431
77432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77433 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77434
77435 case `$as_basename -- include/gstdint.h ||
77436 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77437 Xinclude/gstdint.h : 'X\(//\)$' \| \
77438 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77439 $as_echo X/include/gstdint.h |
77440 sed '/^.*\/\([^/][^/]*\)\/*$/{
77441 s//\1/
77442 q
77443 }
77444 /^X\/\(\/\/\)$/{
77445 s//\1/
77446 q
77447 }
77448 /^X\/\(\/\).*/{
77449 s//\1/
77450 q
77451 }
77452 s/.*/./; q'` in
77453 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77454 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77455 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77456 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77457 *) ;;
77458 esac
77459
77460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77461 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77462
77463 # ----------------- done included file, check C basic types --------
77464
77465 # Lacking an uintptr_t? Test size of void *
77466 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77467 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77468 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77469 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77470 # This bug is HP SR number 8606223364.
77471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77472 $as_echo_n "checking size of void *... " >&6; }
77473 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77474 $as_echo_n "(cached) " >&6
77475 else
77476 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77477
77478 else
77479 if test "$ac_cv_type_void_p" = yes; then
77480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77482 { as_fn_set_status 77
77483 as_fn_error "cannot compute sizeof (void *)
77484 See \`config.log' for more details." "$LINENO" 5; }; }
77485 else
77486 ac_cv_sizeof_void_p=0
77487 fi
77488 fi
77489
77490 fi
77491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77492 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77493
77494
77495
77496 cat >>confdefs.h <<_ACEOF
77497 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77498 _ACEOF
77499
77500 ;;
77501 esac
77502
77503 # Lacking an uint64_t? Test size of long
77504 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77505 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77508 # This bug is HP SR number 8606223364.
77509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77510 $as_echo_n "checking size of long... " >&6; }
77511 if test "${ac_cv_sizeof_long+set}" = set; then :
77512 $as_echo_n "(cached) " >&6
77513 else
77514 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77515
77516 else
77517 if test "$ac_cv_type_long" = yes; then
77518 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77520 { as_fn_set_status 77
77521 as_fn_error "cannot compute sizeof (long)
77522 See \`config.log' for more details." "$LINENO" 5; }; }
77523 else
77524 ac_cv_sizeof_long=0
77525 fi
77526 fi
77527
77528 fi
77529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77530 $as_echo "$ac_cv_sizeof_long" >&6; }
77531
77532
77533
77534 cat >>confdefs.h <<_ACEOF
77535 #define SIZEOF_LONG $ac_cv_sizeof_long
77536 _ACEOF
77537
77538 ;;
77539 esac
77540
77541 if test $acx_cv_header_stdint = stddef.h; then
77542 # Lacking a good header? Test size of everything and deduce all types.
77543 # The cast to long int works around a bug in the HP C Compiler
77544 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77545 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77546 # This bug is HP SR number 8606223364.
77547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77548 $as_echo_n "checking size of int... " >&6; }
77549 if test "${ac_cv_sizeof_int+set}" = set; then :
77550 $as_echo_n "(cached) " >&6
77551 else
77552 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77553
77554 else
77555 if test "$ac_cv_type_int" = yes; then
77556 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77557 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77558 { as_fn_set_status 77
77559 as_fn_error "cannot compute sizeof (int)
77560 See \`config.log' for more details." "$LINENO" 5; }; }
77561 else
77562 ac_cv_sizeof_int=0
77563 fi
77564 fi
77565
77566 fi
77567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77568 $as_echo "$ac_cv_sizeof_int" >&6; }
77569
77570
77571
77572 cat >>confdefs.h <<_ACEOF
77573 #define SIZEOF_INT $ac_cv_sizeof_int
77574 _ACEOF
77575
77576
77577 # The cast to long int works around a bug in the HP C Compiler
77578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77580 # This bug is HP SR number 8606223364.
77581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77582 $as_echo_n "checking size of short... " >&6; }
77583 if test "${ac_cv_sizeof_short+set}" = set; then :
77584 $as_echo_n "(cached) " >&6
77585 else
77586 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77587
77588 else
77589 if test "$ac_cv_type_short" = yes; then
77590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77592 { as_fn_set_status 77
77593 as_fn_error "cannot compute sizeof (short)
77594 See \`config.log' for more details." "$LINENO" 5; }; }
77595 else
77596 ac_cv_sizeof_short=0
77597 fi
77598 fi
77599
77600 fi
77601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77602 $as_echo "$ac_cv_sizeof_short" >&6; }
77603
77604
77605
77606 cat >>confdefs.h <<_ACEOF
77607 #define SIZEOF_SHORT $ac_cv_sizeof_short
77608 _ACEOF
77609
77610
77611 # The cast to long int works around a bug in the HP C Compiler
77612 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77613 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77614 # This bug is HP SR number 8606223364.
77615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77616 $as_echo_n "checking size of char... " >&6; }
77617 if test "${ac_cv_sizeof_char+set}" = set; then :
77618 $as_echo_n "(cached) " >&6
77619 else
77620 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77621
77622 else
77623 if test "$ac_cv_type_char" = yes; then
77624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77626 { as_fn_set_status 77
77627 as_fn_error "cannot compute sizeof (char)
77628 See \`config.log' for more details." "$LINENO" 5; }; }
77629 else
77630 ac_cv_sizeof_char=0
77631 fi
77632 fi
77633
77634 fi
77635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77636 $as_echo "$ac_cv_sizeof_char" >&6; }
77637
77638
77639
77640 cat >>confdefs.h <<_ACEOF
77641 #define SIZEOF_CHAR $ac_cv_sizeof_char
77642 _ACEOF
77643
77644
77645
77646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77647 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77648 case "$ac_cv_sizeof_char" in
77649 1) acx_cv_type_int8_t=char ;;
77650 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77651 esac
77652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77653 $as_echo "$acx_cv_type_int8_t" >&6; }
77654
77655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77656 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77657 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77658 2:*) acx_cv_type_int16_t=int ;;
77659 *:2) acx_cv_type_int16_t=short ;;
77660 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77661 esac
77662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77663 $as_echo "$acx_cv_type_int16_t" >&6; }
77664
77665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77666 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77667 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77668 4:*) acx_cv_type_int32_t=int ;;
77669 *:4) acx_cv_type_int32_t=long ;;
77670 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77671 esac
77672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77673 $as_echo "$acx_cv_type_int32_t" >&6; }
77674 fi
77675
77676 # These tests are here to make the output prettier
77677
77678 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77679 case "$ac_cv_sizeof_long" in
77680 8) acx_cv_type_int64_t=long ;;
77681 esac
77682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77683 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77685 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77686 fi
77687
77688 # Now we can use the above types
77689
77690 if test "$ac_cv_type_uintptr_t" != yes; then
77691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77692 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77693 case $ac_cv_sizeof_void_p in
77694 2) acx_cv_type_intptr_t=int16_t ;;
77695 4) acx_cv_type_intptr_t=int32_t ;;
77696 8) acx_cv_type_intptr_t=int64_t ;;
77697 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77698 esac
77699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77700 $as_echo "$acx_cv_type_intptr_t" >&6; }
77701 fi
77702
77703 # ----------------- done all checks, emit header -------------
77704 ac_config_commands="$ac_config_commands include/gstdint.h"
77705
77706
77707
77708
77709
77710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77711 $as_echo_n "checking for GNU c++filt... " >&6; }
77712 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77713 $as_echo_n "(cached) " >&6
77714 else
77715 if test -z "$CXXFILT"; then
77716 ac_path_CXXFILT_found=false
77717 # Loop through the user's path and test for each of PROGNAME-LIST
77718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77719 for as_dir in $PATH
77720 do
77721 IFS=$as_save_IFS
77722 test -z "$as_dir" && as_dir=.
77723 for ac_prog in c++filt gc++filt; do
77724 for ac_exec_ext in '' $ac_executable_extensions; do
77725 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77726 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77727 # Check for GNU $ac_path_CXXFILT
77728 case `"$ac_path_CXXFILT" --version 2>&1` in
77729 *GNU*)
77730 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77731 esac
77732
77733 $ac_path_CXXFILT_found && break 3
77734 done
77735 done
77736 done
77737 IFS=$as_save_IFS
77738 if test -z "$ac_cv_path_CXXFILT"; then
77739 :
77740 fi
77741 else
77742 ac_cv_path_CXXFILT=$CXXFILT
77743 fi
77744
77745 fi
77746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77747 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77748 CXXFILT=$ac_cv_path_CXXFILT
77749
77750
77751
77752 # Check whether --enable-symvers was given.
77753 if test "${enable_symvers+set}" = set; then :
77754 enableval=$enable_symvers;
77755 case "$enableval" in
77756 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77757 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77758 esac
77759
77760 else
77761 enable_symvers=yes
77762 fi
77763
77764
77765
77766 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77767 # don't know enough about $LD to do tricks...
77768
77769 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77770 # with extern "C++" in version scripts.
77771
77772
77773 # Turn a 'yes' into a suitable default.
77774 if test x$enable_symvers = xyes ; then
77775 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77776 enable_symvers=no
77777 else
77778 if test $with_gnu_ld = yes ; then
77779 case ${target_os} in
77780 hpux*)
77781 enable_symvers=no ;;
77782 *)
77783 enable_symvers=gnu ;;
77784 esac
77785 else
77786 case ${target_os} in
77787 darwin*)
77788 enable_symvers=darwin ;;
77789 # Sun symbol versioning exists since Solaris 2.5.
77790 solaris2.[5-9]* | solaris2.1[0-9]*)
77791 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77792 # version scripts, so disable symbol versioning if none can be
77793 # found.
77794 if test -z "$ac_cv_path_CXXFILT"; then
77795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77796 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77798 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77800 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77801 enable_symvers=no
77802 else
77803 enable_symvers=sun
77804 fi
77805 ;;
77806 *)
77807 enable_symvers=no ;;
77808 esac
77809 fi
77810 fi
77811 fi
77812
77813 # Check to see if 'darwin' or 'darwin-export' can win.
77814 if test x$enable_symvers = xdarwin-export ; then
77815 enable_symvers=darwin
77816 fi
77817
77818 # Check if 'sun' was requested on non-Solaris 2 platforms.
77819 if test x$enable_symvers = xsun ; then
77820 case ${target_os} in
77821 solaris2*)
77822 # All fine.
77823 ;;
77824 *)
77825 # Unlikely to work.
77826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77827 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77829 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77831 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77832 enable_symvers=no
77833 ;;
77834 esac
77835 fi
77836
77837 # Check to see if 'gnu' can win.
77838 if test $enable_symvers = gnu ||
77839 test $enable_symvers = gnu-versioned-namespace ||
77840 test $enable_symvers = sun; then
77841 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77843 $as_echo_n "checking for shared libgcc... " >&6; }
77844 ac_save_CFLAGS="$CFLAGS"
77845 CFLAGS=' -lgcc_s'
77846 if test x$gcc_no_link = xyes; then
77847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77848 fi
77849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77850 /* end confdefs.h. */
77851
77852 int
77853 main ()
77854 {
77855 return 0;
77856 ;
77857 return 0;
77858 }
77859 _ACEOF
77860 if ac_fn_c_try_link "$LINENO"; then :
77861 glibcxx_shared_libgcc=yes
77862 else
77863 glibcxx_shared_libgcc=no
77864 fi
77865 rm -f core conftest.err conftest.$ac_objext \
77866 conftest$ac_exeext conftest.$ac_ext
77867 CFLAGS="$ac_save_CFLAGS"
77868 if test $glibcxx_shared_libgcc = no; then
77869 cat > conftest.c <<EOF
77870 int main (void) { return 0; }
77871 EOF
77872 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77873 -shared -shared-libgcc -o conftest.so \
77874 conftest.c -v 2>&1 >/dev/null \
77875 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77876 rm -f conftest.c conftest.so
77877 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77878 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77879 if test x$gcc_no_link = xyes; then
77880 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77881 fi
77882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77883 /* end confdefs.h. */
77884
77885 int
77886 main ()
77887 {
77888 return 0;
77889 ;
77890 return 0;
77891 }
77892 _ACEOF
77893 if ac_fn_c_try_link "$LINENO"; then :
77894 glibcxx_shared_libgcc=yes
77895 fi
77896 rm -f core conftest.err conftest.$ac_objext \
77897 conftest$ac_exeext conftest.$ac_ext
77898 CFLAGS="$ac_save_CFLAGS"
77899 fi
77900 fi
77901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77902 $as_echo "$glibcxx_shared_libgcc" >&6; }
77903
77904 # For GNU ld, we need at least this version. The format is described in
77905 # GLIBCXX_CHECK_LINKER_FEATURES above.
77906 glibcxx_min_gnu_ld_version=21400
77907
77908 # If no shared libgcc, can't win.
77909 if test $glibcxx_shared_libgcc != yes; then
77910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77911 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77912 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77913 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77915 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77916 enable_symvers=no
77917 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77918 : All interesting versions of Sun ld support sun style symbol versioning.
77919 elif test $with_gnu_ld != yes ; then
77920 # just fail for now
77921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77922 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77924 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77926 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77927 enable_symvers=no
77928 elif test $glibcxx_ld_is_gold = yes ; then
77929 : All versions of gold support symbol versioning.
77930 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77931 # The right tools, the right setup, but too old. Fallbacks?
77932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77933 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77935 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77937 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77939 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77941 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77942 enable_symvers=no
77943 fi
77944 fi
77945
77946 # For libtool versioning info, format is CURRENT:REVISION:AGE
77947 libtool_VERSION=6:21:0
77948
77949 # Everything parsed; figure out what files and settings to use.
77950 case $enable_symvers in
77951 no)
77952 SYMVER_FILE=config/abi/pre/none.ver
77953 ;;
77954 gnu)
77955 SYMVER_FILE=config/abi/pre/gnu.ver
77956
77957 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77958
77959 ;;
77960 gnu-versioned-namespace)
77961 libtool_VERSION=7:0:0
77962 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77963
77964 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77965
77966 ;;
77967 darwin)
77968 SYMVER_FILE=config/abi/pre/gnu.ver
77969
77970 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77971
77972 ;;
77973 sun)
77974 SYMVER_FILE=config/abi/pre/gnu.ver
77975
77976 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77977
77978 ;;
77979 esac
77980
77981 if test x$enable_symvers != xno ; then
77982
77983 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77984
77985 fi
77986
77987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77988 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77989 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77990 $as_echo_n "(cached) " >&6
77991 else
77992
77993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77994 /* end confdefs.h. */
77995 void foo (void); __asm (".symver foo, bar@SYMVER");
77996 int
77997 main ()
77998 {
77999
78000 ;
78001 return 0;
78002 }
78003 _ACEOF
78004 if ac_fn_c_try_compile "$LINENO"; then :
78005 glibcxx_cv_have_as_symver_directive=yes
78006 else
78007 glibcxx_cv_have_as_symver_directive=no
78008 fi
78009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78010 fi
78011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78012 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78013 if test $glibcxx_cv_have_as_symver_directive = yes; then
78014
78015 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78016
78017 fi
78018
78019
78020
78021
78022
78023
78024
78025
78026 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78027 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78028
78029 if test $enable_symvers != no ; then
78030 case ${target_os} in
78031 # The Solaris 2 runtime linker doesn't support the GNU extension of
78032 # binding the same symbol to different versions
78033 solaris2*)
78034 ;;
78035 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78036 *)
78037
78038 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78039
78040 ;;
78041 esac
78042 fi
78043
78044 # Now, set up compatibility support, if any.
78045 # In addition, need this to deal with std::size_t mangling in
78046 # src/compatibility.cc. In a perfect world, could use
78047 # typeid(std::size_t).name()[0] to do direct substitution.
78048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78049 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78050 ac_save_CFLAGS="$CFLAGS"
78051 CFLAGS="-Werror"
78052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78053 /* end confdefs.h. */
78054
78055 int
78056 main ()
78057 {
78058 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78059 ;
78060 return 0;
78061 }
78062 _ACEOF
78063 if ac_fn_c_try_compile "$LINENO"; then :
78064 glibcxx_size_t_is_i=yes
78065 else
78066 glibcxx_size_t_is_i=no
78067 fi
78068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78069 CFLAGS=$ac_save_CFLAGS
78070 if test "$glibcxx_size_t_is_i" = yes; then
78071
78072 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78073
78074 fi
78075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78076 $as_echo "$glibcxx_size_t_is_i" >&6; }
78077
78078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78079 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78080 ac_save_CFLAGS="$CFLAGS"
78081 CFLAGS="-Werror"
78082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78083 /* end confdefs.h. */
78084
78085 int
78086 main ()
78087 {
78088 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78089 ;
78090 return 0;
78091 }
78092 _ACEOF
78093 if ac_fn_c_try_compile "$LINENO"; then :
78094 glibcxx_ptrdiff_t_is_i=yes
78095 else
78096 glibcxx_ptrdiff_t_is_i=no
78097 fi
78098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78099 CFLAGS=$ac_save_CFLAGS
78100 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78101
78102 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78103
78104 fi
78105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78106 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78107
78108
78109
78110
78111 # Check whether --enable-libstdcxx-visibility was given.
78112 if test "${enable_libstdcxx_visibility+set}" = set; then :
78113 enableval=$enable_libstdcxx_visibility;
78114 case "$enableval" in
78115 yes|no) ;;
78116 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78117 esac
78118
78119 else
78120 enable_libstdcxx_visibility=yes
78121 fi
78122
78123
78124
78125 if test x$enable_libstdcxx_visibility = xyes ; then
78126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78127 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78128 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78129 $as_echo_n "(cached) " >&6
78130 else
78131
78132 save_CFLAGS="$CFLAGS"
78133 CFLAGS="$CFLAGS -Werror"
78134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78135 /* end confdefs.h. */
78136 void __attribute__((visibility("hidden"))) foo(void) { }
78137 int
78138 main ()
78139 {
78140
78141 ;
78142 return 0;
78143 }
78144 _ACEOF
78145 if ac_fn_c_try_compile "$LINENO"; then :
78146 glibcxx_cv_have_attribute_visibility=yes
78147 else
78148 glibcxx_cv_have_attribute_visibility=no
78149 fi
78150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78151 CFLAGS="$save_CFLAGS"
78152 fi
78153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78154 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78155 if test $glibcxx_cv_have_attribute_visibility = no; then
78156 enable_libstdcxx_visibility=no
78157 fi
78158 fi
78159
78160
78161 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78162 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78163
78164
78165
78166 # Check whether --enable-libstdcxx-cxx11-abi was given.
78167 if test "${enable_libstdcxx_cxx11_abi+set}" = set; then :
78168 enableval=$enable_libstdcxx_cxx11_abi;
78169 else
78170 enable_libstdcxx_cxx11_abi=yes
78171 fi
78172
78173 if test x"$enable_libstdcxx_cxx11_abi" != xyes; then
78174 { $as_echo "$as_me:${as_lineno-$LINENO}: C++11-conforming ABI is disabled" >&5
78175 $as_echo "$as_me: C++11-conforming ABI is disabled" >&6;}
78176 fi
78177
78178
78179
78180 ac_ldbl_compat=no
78181 case "$target" in
78182 powerpc*-*-linux* | \
78183 sparc*-*-linux* | \
78184 s390*-*-linux* | \
78185 alpha*-*-linux*)
78186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78187 /* end confdefs.h. */
78188
78189 int
78190 main ()
78191 {
78192
78193 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78194 #error no need for long double compatibility
78195 #endif
78196
78197 ;
78198 return 0;
78199 }
78200 _ACEOF
78201 if ac_fn_c_try_compile "$LINENO"; then :
78202 ac_ldbl_compat=yes
78203 else
78204 ac_ldbl_compat=no
78205 fi
78206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78207 if test "$ac_ldbl_compat" = yes; then
78208
78209 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78210
78211 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78212 fi
78213 esac
78214
78215
78216 # Check if assembler supports disabling hardware capability support.
78217
78218 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78219
78220 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78221 # with a different meaning.
78222 case ${target_os} in
78223 solaris2*)
78224 ac_save_CFLAGS="$CFLAGS"
78225 CFLAGS="$CFLAGS -Wa,-nH"
78226
78227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78228 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78230 /* end confdefs.h. */
78231
78232 int
78233 main ()
78234 {
78235 return 0;
78236 ;
78237 return 0;
78238 }
78239 _ACEOF
78240 if ac_fn_c_try_compile "$LINENO"; then :
78241 ac_hwcap_flags=yes
78242 else
78243 ac_hwcap_flags=no
78244 fi
78245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78246 if test "$ac_hwcap_flags" = "yes"; then
78247 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78248 fi
78249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78250 $as_echo "$ac_hwcap_flags" >&6; }
78251
78252 CFLAGS="$ac_save_CFLAGS"
78253 ;;
78254 esac
78255
78256
78257
78258
78259 # Check if assembler supports rdrand opcode.
78260
78261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78262 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78263 if test "${ac_cv_x86_rdrand+set}" = set; then :
78264 $as_echo_n "(cached) " >&6
78265 else
78266
78267 ac_cv_x86_rdrand=no
78268 case "$target" in
78269 i?86-*-* | \
78270 x86_64-*-*)
78271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78272 /* end confdefs.h. */
78273
78274 int
78275 main ()
78276 {
78277 asm("rdrand %eax");
78278 ;
78279 return 0;
78280 }
78281 _ACEOF
78282 if ac_fn_c_try_compile "$LINENO"; then :
78283 ac_cv_x86_rdrand=yes
78284 else
78285 ac_cv_x86_rdrand=no
78286 fi
78287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78288 esac
78289
78290 fi
78291
78292 if test $ac_cv_x86_rdrand = yes; then
78293
78294 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78295
78296 fi
78297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78298 $as_echo "$ac_cv_x86_rdrand" >&6; }
78299
78300
78301 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78302
78303 if $GLIBCXX_IS_NATIVE ; then
78304 # Do checks for resource limit functions.
78305
78306 setrlimit_have_headers=yes
78307 for ac_header in unistd.h sys/time.h sys/resource.h
78308 do :
78309 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78310 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78311 eval as_val=\$$as_ac_Header
78312 if test "x$as_val" = x""yes; then :
78313 cat >>confdefs.h <<_ACEOF
78314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78315 _ACEOF
78316
78317 else
78318 setrlimit_have_headers=no
78319 fi
78320
78321 done
78322
78323 # If don't have the headers, then we can't run the tests now, and we
78324 # won't be seeing any of these during testsuite compilation.
78325 if test $setrlimit_have_headers = yes; then
78326 # Can't do these in a loop, else the resulting syntax is wrong.
78327
78328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78329 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78331 /* end confdefs.h. */
78332 #include <unistd.h>
78333 #include <sys/time.h>
78334 #include <sys/resource.h>
78335
78336 int
78337 main ()
78338 {
78339 int f = RLIMIT_DATA ;
78340 ;
78341 return 0;
78342 }
78343 _ACEOF
78344 if ac_fn_c_try_compile "$LINENO"; then :
78345 glibcxx_mresult=1
78346 else
78347 glibcxx_mresult=0
78348 fi
78349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78350
78351 cat >>confdefs.h <<_ACEOF
78352 #define HAVE_LIMIT_DATA $glibcxx_mresult
78353 _ACEOF
78354
78355 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78357 $as_echo "$res" >&6; }
78358
78359
78360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78361 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78363 /* end confdefs.h. */
78364 #include <unistd.h>
78365 #include <sys/time.h>
78366 #include <sys/resource.h>
78367
78368 int
78369 main ()
78370 {
78371 int f = RLIMIT_RSS ;
78372 ;
78373 return 0;
78374 }
78375 _ACEOF
78376 if ac_fn_c_try_compile "$LINENO"; then :
78377 glibcxx_mresult=1
78378 else
78379 glibcxx_mresult=0
78380 fi
78381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78382
78383 cat >>confdefs.h <<_ACEOF
78384 #define HAVE_LIMIT_RSS $glibcxx_mresult
78385 _ACEOF
78386
78387 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78389 $as_echo "$res" >&6; }
78390
78391
78392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78393 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78395 /* end confdefs.h. */
78396 #include <unistd.h>
78397 #include <sys/time.h>
78398 #include <sys/resource.h>
78399
78400 int
78401 main ()
78402 {
78403 int f = RLIMIT_VMEM ;
78404 ;
78405 return 0;
78406 }
78407 _ACEOF
78408 if ac_fn_c_try_compile "$LINENO"; then :
78409 glibcxx_mresult=1
78410 else
78411 glibcxx_mresult=0
78412 fi
78413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78414
78415 cat >>confdefs.h <<_ACEOF
78416 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78417 _ACEOF
78418
78419 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78421 $as_echo "$res" >&6; }
78422
78423
78424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78425 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78427 /* end confdefs.h. */
78428 #include <unistd.h>
78429 #include <sys/time.h>
78430 #include <sys/resource.h>
78431
78432 int
78433 main ()
78434 {
78435 int f = RLIMIT_AS ;
78436 ;
78437 return 0;
78438 }
78439 _ACEOF
78440 if ac_fn_c_try_compile "$LINENO"; then :
78441 glibcxx_mresult=1
78442 else
78443 glibcxx_mresult=0
78444 fi
78445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78446
78447 cat >>confdefs.h <<_ACEOF
78448 #define HAVE_LIMIT_AS $glibcxx_mresult
78449 _ACEOF
78450
78451 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78453 $as_echo "$res" >&6; }
78454
78455
78456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78457 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78459 /* end confdefs.h. */
78460 #include <unistd.h>
78461 #include <sys/time.h>
78462 #include <sys/resource.h>
78463
78464 int
78465 main ()
78466 {
78467 int f = RLIMIT_FSIZE ;
78468 ;
78469 return 0;
78470 }
78471 _ACEOF
78472 if ac_fn_c_try_compile "$LINENO"; then :
78473 glibcxx_mresult=1
78474 else
78475 glibcxx_mresult=0
78476 fi
78477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78478
78479 cat >>confdefs.h <<_ACEOF
78480 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78481 _ACEOF
78482
78483 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78485 $as_echo "$res" >&6; }
78486
78487
78488 # Check for rlimit, setrlimit.
78489 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78490 $as_echo_n "(cached) " >&6
78491 else
78492
78493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78494 /* end confdefs.h. */
78495 #include <unistd.h>
78496 #include <sys/time.h>
78497 #include <sys/resource.h>
78498
78499 int
78500 main ()
78501 {
78502 struct rlimit r;
78503 setrlimit(0, &r);
78504 ;
78505 return 0;
78506 }
78507 _ACEOF
78508 if ac_fn_c_try_compile "$LINENO"; then :
78509 glibcxx_cv_setrlimit=yes
78510 else
78511 glibcxx_cv_setrlimit=no
78512 fi
78513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78514
78515 fi
78516
78517 fi
78518
78519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78520 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78521 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78522 ac_res_limits=yes
78523
78524 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78525
78526 else
78527 ac_res_limits=no
78528 fi
78529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78530 $as_echo "$ac_res_limits" >&6; }
78531
78532
78533 # Look for setenv, so that extended locale tests can be performed.
78534
78535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78536 $as_echo_n "checking for setenv declaration... " >&6; }
78537 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78538 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78539 $as_echo_n "(cached) " >&6
78540 else
78541
78542
78543 ac_ext=cpp
78544 ac_cpp='$CXXCPP $CPPFLAGS'
78545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78548
78549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78550 /* end confdefs.h. */
78551 #include <stdlib.h>
78552 int
78553 main ()
78554 {
78555 setenv(0, 0, 0);
78556 ;
78557 return 0;
78558 }
78559 _ACEOF
78560 if ac_fn_cxx_try_compile "$LINENO"; then :
78561 glibcxx_cv_func_setenv_use=yes
78562 else
78563 glibcxx_cv_func_setenv_use=no
78564 fi
78565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78566 ac_ext=c
78567 ac_cpp='$CPP $CPPFLAGS'
78568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78571
78572
78573 fi
78574
78575 fi
78576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78577 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78578 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78579 for ac_func in setenv
78580 do :
78581 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78582 if test "x$ac_cv_func_setenv" = x""yes; then :
78583 cat >>confdefs.h <<_ACEOF
78584 #define HAVE_SETENV 1
78585 _ACEOF
78586
78587 fi
78588 done
78589
78590 fi
78591
78592 fi
78593
78594 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78595 test $enable_symvers != no; then
78596 case "$host" in
78597 *-*-cygwin*)
78598 enable_abi_check=no ;;
78599 *)
78600 enable_abi_check=yes ;;
78601 esac
78602 else
78603 # Only build this as native, since automake does not understand
78604 # CXX_FOR_BUILD.
78605 enable_abi_check=no
78606 fi
78607
78608 # Export file names for ABI checking.
78609 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78610
78611 baseline_subdir_switch="$abi_baseline_subdir_switch"
78612
78613
78614
78615 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78616
78617 # Check whether --enable-libstdcxx-threads was given.
78618 if test "${enable_libstdcxx_threads+set}" = set; then :
78619 enableval=$enable_libstdcxx_threads;
78620 case "$enableval" in
78621 yes|no) ;;
78622 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78623 esac
78624
78625 else
78626 enable_libstdcxx_threads=auto
78627 fi
78628
78629
78630
78631 if test x$enable_libstdcxx_threads = xauto ||
78632 test x$enable_libstdcxx_threads = xyes; then
78633
78634
78635 ac_ext=cpp
78636 ac_cpp='$CXXCPP $CPPFLAGS'
78637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78640
78641
78642 ac_save_CXXFLAGS="$CXXFLAGS"
78643 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78644 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78645
78646 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78647 case $target_thread_file in
78648 posix)
78649 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78650 esac
78651
78652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78653 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78654
78655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78656 /* end confdefs.h. */
78657 #include <unistd.h>
78658 int
78659 main ()
78660 {
78661
78662 // In case of POSIX threads check _POSIX_TIMEOUTS.
78663 #if (defined(_PTHREADS) \
78664 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78665 #error
78666 #endif
78667
78668 ;
78669 return 0;
78670 }
78671 _ACEOF
78672 if ac_fn_cxx_try_compile "$LINENO"; then :
78673 ac_gthread_use_mutex_timedlock=1
78674 else
78675 ac_gthread_use_mutex_timedlock=0
78676 fi
78677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78678
78679
78680 cat >>confdefs.h <<_ACEOF
78681 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78682 _ACEOF
78683
78684
78685 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78686 else res_mutex_timedlock=no ; fi
78687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78688 $as_echo "$res_mutex_timedlock" >&6; }
78689
78690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78691 $as_echo_n "checking for gthreads library... " >&6; }
78692
78693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78694 /* end confdefs.h. */
78695 #include "gthr.h"
78696 int
78697 main ()
78698 {
78699
78700 #ifndef __GTHREADS_CXX0X
78701 #error
78702 #endif
78703
78704 ;
78705 return 0;
78706 }
78707 _ACEOF
78708 if ac_fn_cxx_try_compile "$LINENO"; then :
78709 ac_has_gthreads=yes
78710 else
78711 ac_has_gthreads=no
78712 fi
78713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78714 else
78715 ac_has_gthreads=no
78716 fi
78717
78718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78719 $as_echo "$ac_has_gthreads" >&6; }
78720
78721 if test x"$ac_has_gthreads" = x"yes"; then
78722
78723 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78724
78725 fi
78726
78727 CXXFLAGS="$ac_save_CXXFLAGS"
78728 ac_ext=c
78729 ac_cpp='$CPP $CPPFLAGS'
78730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78733
78734
78735
78736 # Define documentation rules conditionally.
78737
78738 # See if makeinfo has been installed and is modern enough
78739 # that we can use it.
78740
78741 # Extract the first word of "makeinfo", so it can be a program name with args.
78742 set dummy makeinfo; ac_word=$2
78743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78744 $as_echo_n "checking for $ac_word... " >&6; }
78745 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78746 $as_echo_n "(cached) " >&6
78747 else
78748 if test -n "$MAKEINFO"; then
78749 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78750 else
78751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78752 for as_dir in $PATH
78753 do
78754 IFS=$as_save_IFS
78755 test -z "$as_dir" && as_dir=.
78756 for ac_exec_ext in '' $ac_executable_extensions; do
78757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78758 ac_cv_prog_MAKEINFO="makeinfo"
78759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78760 break 2
78761 fi
78762 done
78763 done
78764 IFS=$as_save_IFS
78765
78766 fi
78767 fi
78768 MAKEINFO=$ac_cv_prog_MAKEINFO
78769 if test -n "$MAKEINFO"; then
78770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78771 $as_echo "$MAKEINFO" >&6; }
78772 else
78773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78774 $as_echo "no" >&6; }
78775 fi
78776
78777
78778 if test -n "$MAKEINFO"; then
78779 # Found it, now check the version.
78780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78781 $as_echo_n "checking for modern makeinfo... " >&6; }
78782 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78783 $as_echo_n "(cached) " >&6
78784 else
78785 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78786 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78787
78788 case $ac_prog_version in
78789 '') gcc_cv_prog_makeinfo_modern=no;;
78790 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78791 *) gcc_cv_prog_makeinfo_modern=no;;
78792 esac
78793
78794 fi
78795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78796 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78797 else
78798 gcc_cv_prog_makeinfo_modern=no
78799 fi
78800 if test $gcc_cv_prog_makeinfo_modern = no; then
78801 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78802 fi
78803
78804 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78805 BUILD_INFO_TRUE=
78806 BUILD_INFO_FALSE='#'
78807 else
78808 BUILD_INFO_TRUE='#'
78809 BUILD_INFO_FALSE=
78810 fi
78811
78812
78813 # Check for doxygen
78814 # Extract the first word of "doxygen", so it can be a program name with args.
78815 set dummy doxygen; ac_word=$2
78816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78817 $as_echo_n "checking for $ac_word... " >&6; }
78818 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78819 $as_echo_n "(cached) " >&6
78820 else
78821 if test -n "$DOXYGEN"; then
78822 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78823 else
78824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78825 for as_dir in $PATH
78826 do
78827 IFS=$as_save_IFS
78828 test -z "$as_dir" && as_dir=.
78829 for ac_exec_ext in '' $ac_executable_extensions; do
78830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78831 ac_cv_prog_DOXYGEN="yes"
78832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78833 break 2
78834 fi
78835 done
78836 done
78837 IFS=$as_save_IFS
78838
78839 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78840 fi
78841 fi
78842 DOXYGEN=$ac_cv_prog_DOXYGEN
78843 if test -n "$DOXYGEN"; then
78844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78845 $as_echo "$DOXYGEN" >&6; }
78846 else
78847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78848 $as_echo "no" >&6; }
78849 fi
78850
78851
78852 # Extract the first word of "dot", so it can be a program name with args.
78853 set dummy dot; ac_word=$2
78854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78855 $as_echo_n "checking for $ac_word... " >&6; }
78856 if test "${ac_cv_prog_DOT+set}" = set; then :
78857 $as_echo_n "(cached) " >&6
78858 else
78859 if test -n "$DOT"; then
78860 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78861 else
78862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78863 for as_dir in $PATH
78864 do
78865 IFS=$as_save_IFS
78866 test -z "$as_dir" && as_dir=.
78867 for ac_exec_ext in '' $ac_executable_extensions; do
78868 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78869 ac_cv_prog_DOT="yes"
78870 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78871 break 2
78872 fi
78873 done
78874 done
78875 IFS=$as_save_IFS
78876
78877 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78878 fi
78879 fi
78880 DOT=$ac_cv_prog_DOT
78881 if test -n "$DOT"; then
78882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78883 $as_echo "$DOT" >&6; }
78884 else
78885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78886 $as_echo "no" >&6; }
78887 fi
78888
78889
78890
78891 # Check for docbook
78892 # Extract the first word of "xsltproc", so it can be a program name with args.
78893 set dummy xsltproc; ac_word=$2
78894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78895 $as_echo_n "checking for $ac_word... " >&6; }
78896 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78897 $as_echo_n "(cached) " >&6
78898 else
78899 if test -n "$XSLTPROC"; then
78900 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78901 else
78902 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78903 for as_dir in $PATH
78904 do
78905 IFS=$as_save_IFS
78906 test -z "$as_dir" && as_dir=.
78907 for ac_exec_ext in '' $ac_executable_extensions; do
78908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78909 ac_cv_prog_XSLTPROC="yes"
78910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78911 break 2
78912 fi
78913 done
78914 done
78915 IFS=$as_save_IFS
78916
78917 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78918 fi
78919 fi
78920 XSLTPROC=$ac_cv_prog_XSLTPROC
78921 if test -n "$XSLTPROC"; then
78922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78923 $as_echo "$XSLTPROC" >&6; }
78924 else
78925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78926 $as_echo "no" >&6; }
78927 fi
78928
78929
78930 # Extract the first word of "xmllint", so it can be a program name with args.
78931 set dummy xmllint; ac_word=$2
78932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78933 $as_echo_n "checking for $ac_word... " >&6; }
78934 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78935 $as_echo_n "(cached) " >&6
78936 else
78937 if test -n "$XMLLINT"; then
78938 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
78939 else
78940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78941 for as_dir in $PATH
78942 do
78943 IFS=$as_save_IFS
78944 test -z "$as_dir" && as_dir=.
78945 for ac_exec_ext in '' $ac_executable_extensions; do
78946 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78947 ac_cv_prog_XMLLINT="yes"
78948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78949 break 2
78950 fi
78951 done
78952 done
78953 IFS=$as_save_IFS
78954
78955 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
78956 fi
78957 fi
78958 XMLLINT=$ac_cv_prog_XMLLINT
78959 if test -n "$XMLLINT"; then
78960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
78961 $as_echo "$XMLLINT" >&6; }
78962 else
78963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78964 $as_echo "no" >&6; }
78965 fi
78966
78967
78968
78969
78970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78971 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78972 glibcxx_stylesheets=no
78973 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
78974 glibcxx_stylesheets=yes
78975 fi
78976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78977 $as_echo "$glibcxx_stylesheets" >&6; }
78978
78979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
78980 $as_echo_n "checking for local stylesheet directory... " >&6; }
78981 glibcxx_local_stylesheets=no
78982 if test x"$glibcxx_stylesheets" = x"yes"; then
78983 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
78984 glibcxx_local_stylesheets=yes
78985 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
78986 fi
78987 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
78988 glibcxx_local_stylesheets=yes
78989 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
78990 fi
78991 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
78992 glibcxx_local_stylesheets=yes
78993 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
78994 fi
78995 fi
78996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
78997 $as_echo "$glibcxx_local_stylesheets" >&6; }
78998
78999 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79000
79001 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79002 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79003 else
79004 glibcxx_stylesheets=no
79005 fi
79006
79007 # Check for epub3 dependencies.
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79009 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79010 glibcxx_epub_stylesheets=no
79011 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79012 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79013 glibcxx_epub_stylesheets=yes
79014 fi
79015 fi
79016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79017 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79018 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79019 BUILD_EPUB_TRUE=
79020 BUILD_EPUB_FALSE='#'
79021 else
79022 BUILD_EPUB_TRUE='#'
79023 BUILD_EPUB_FALSE=
79024 fi
79025
79026
79027
79028
79029 # Check for xml/html dependencies.
79030 if test $ac_cv_prog_DOXYGEN = "yes" &&
79031 test $ac_cv_prog_DOT = "yes" &&
79032 test $ac_cv_prog_XSLTPROC = "yes" &&
79033 test $ac_cv_prog_XMLLINT = "yes" &&
79034 test $glibcxx_stylesheets = "yes"; then
79035 BUILD_XML_TRUE=
79036 BUILD_XML_FALSE='#'
79037 else
79038 BUILD_XML_TRUE='#'
79039 BUILD_XML_FALSE=
79040 fi
79041
79042
79043 if test $ac_cv_prog_DOXYGEN = "yes" &&
79044 test $ac_cv_prog_DOT = "yes" &&
79045 test $ac_cv_prog_XSLTPROC = "yes" &&
79046 test $ac_cv_prog_XMLLINT = "yes" &&
79047 test $glibcxx_stylesheets = "yes"; then
79048 BUILD_HTML_TRUE=
79049 BUILD_HTML_FALSE='#'
79050 else
79051 BUILD_HTML_TRUE='#'
79052 BUILD_HTML_FALSE=
79053 fi
79054
79055
79056 # Check for man dependencies.
79057 if test $ac_cv_prog_DOXYGEN = "yes" &&
79058 test $ac_cv_prog_DOT = "yes"; then
79059 BUILD_MAN_TRUE=
79060 BUILD_MAN_FALSE='#'
79061 else
79062 BUILD_MAN_TRUE='#'
79063 BUILD_MAN_FALSE=
79064 fi
79065
79066
79067 # Check for pdf dependencies.
79068 # Extract the first word of "dblatex", so it can be a program name with args.
79069 set dummy dblatex; ac_word=$2
79070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79071 $as_echo_n "checking for $ac_word... " >&6; }
79072 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79073 $as_echo_n "(cached) " >&6
79074 else
79075 if test -n "$DBLATEX"; then
79076 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79077 else
79078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79079 for as_dir in $PATH
79080 do
79081 IFS=$as_save_IFS
79082 test -z "$as_dir" && as_dir=.
79083 for ac_exec_ext in '' $ac_executable_extensions; do
79084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79085 ac_cv_prog_DBLATEX="yes"
79086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79087 break 2
79088 fi
79089 done
79090 done
79091 IFS=$as_save_IFS
79092
79093 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79094 fi
79095 fi
79096 DBLATEX=$ac_cv_prog_DBLATEX
79097 if test -n "$DBLATEX"; then
79098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79099 $as_echo "$DBLATEX" >&6; }
79100 else
79101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79102 $as_echo "no" >&6; }
79103 fi
79104
79105
79106 # Extract the first word of "pdflatex", so it can be a program name with args.
79107 set dummy pdflatex; ac_word=$2
79108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79109 $as_echo_n "checking for $ac_word... " >&6; }
79110 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79111 $as_echo_n "(cached) " >&6
79112 else
79113 if test -n "$PDFLATEX"; then
79114 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79115 else
79116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79117 for as_dir in $PATH
79118 do
79119 IFS=$as_save_IFS
79120 test -z "$as_dir" && as_dir=.
79121 for ac_exec_ext in '' $ac_executable_extensions; do
79122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79123 ac_cv_prog_PDFLATEX="yes"
79124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79125 break 2
79126 fi
79127 done
79128 done
79129 IFS=$as_save_IFS
79130
79131 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79132 fi
79133 fi
79134 PDFLATEX=$ac_cv_prog_PDFLATEX
79135 if test -n "$PDFLATEX"; then
79136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79137 $as_echo "$PDFLATEX" >&6; }
79138 else
79139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79140 $as_echo "no" >&6; }
79141 fi
79142
79143
79144 if test $ac_cv_prog_DBLATEX = "yes" &&
79145 test $ac_cv_prog_PDFLATEX = "yes"; then
79146 BUILD_PDF_TRUE=
79147 BUILD_PDF_FALSE='#'
79148 else
79149 BUILD_PDF_TRUE='#'
79150 BUILD_PDF_FALSE=
79151 fi
79152
79153
79154
79155 # Propagate the target-specific source directories through the build chain.
79156 ATOMICITY_SRCDIR=config/${atomicity_dir}
79157 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79158 ATOMIC_FLAGS=${atomic_flags}
79159 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79160 OS_INC_SRCDIR=config/${os_include_dir}
79161 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79162 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79163 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79164 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79165
79166
79167
79168
79169
79170
79171
79172
79173
79174
79175
79176 # Determine cross-compile flags and AM_CONDITIONALs.
79177 #AC_SUBST(GLIBCXX_IS_NATIVE)
79178 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79179 if test $is_hosted = yes; then
79180 GLIBCXX_HOSTED_TRUE=
79181 GLIBCXX_HOSTED_FALSE='#'
79182 else
79183 GLIBCXX_HOSTED_TRUE='#'
79184 GLIBCXX_HOSTED_FALSE=
79185 fi
79186
79187
79188 if test $enable_libstdcxx_pch = yes; then
79189 GLIBCXX_BUILD_PCH_TRUE=
79190 GLIBCXX_BUILD_PCH_FALSE='#'
79191 else
79192 GLIBCXX_BUILD_PCH_TRUE='#'
79193 GLIBCXX_BUILD_PCH_FALSE=
79194 fi
79195
79196
79197 if test $enable_cheaders = c; then
79198 GLIBCXX_C_HEADERS_C_TRUE=
79199 GLIBCXX_C_HEADERS_C_FALSE='#'
79200 else
79201 GLIBCXX_C_HEADERS_C_TRUE='#'
79202 GLIBCXX_C_HEADERS_C_FALSE=
79203 fi
79204
79205
79206 if test $enable_cheaders = c_std; then
79207 GLIBCXX_C_HEADERS_C_STD_TRUE=
79208 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79209 else
79210 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79211 GLIBCXX_C_HEADERS_C_STD_FALSE=
79212 fi
79213
79214
79215 if test $enable_cheaders = c_global; then
79216 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79217 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79218 else
79219 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79220 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79221 fi
79222
79223
79224 if test $c_compatibility = yes; then
79225 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79226 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79227 else
79228 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79229 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79230 fi
79231
79232
79233 if test $enable_libstdcxx_debug = yes; then
79234 GLIBCXX_BUILD_DEBUG_TRUE=
79235 GLIBCXX_BUILD_DEBUG_FALSE='#'
79236 else
79237 GLIBCXX_BUILD_DEBUG_TRUE='#'
79238 GLIBCXX_BUILD_DEBUG_FALSE=
79239 fi
79240
79241
79242 if test $enable_extern_template = yes; then
79243 ENABLE_EXTERN_TEMPLATE_TRUE=
79244 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79245 else
79246 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79247 ENABLE_EXTERN_TEMPLATE_FALSE=
79248 fi
79249
79250
79251 if test $python_mod_dir != no; then
79252 ENABLE_PYTHONDIR_TRUE=
79253 ENABLE_PYTHONDIR_FALSE='#'
79254 else
79255 ENABLE_PYTHONDIR_TRUE='#'
79256 ENABLE_PYTHONDIR_FALSE=
79257 fi
79258
79259
79260 if test $enable_werror = yes; then
79261 ENABLE_WERROR_TRUE=
79262 ENABLE_WERROR_FALSE='#'
79263 else
79264 ENABLE_WERROR_TRUE='#'
79265 ENABLE_WERROR_FALSE=
79266 fi
79267
79268
79269 if test $enable_vtable_verify = yes; then
79270 ENABLE_VTABLE_VERIFY_TRUE=
79271 ENABLE_VTABLE_VERIFY_FALSE='#'
79272 else
79273 ENABLE_VTABLE_VERIFY_TRUE='#'
79274 ENABLE_VTABLE_VERIFY_FALSE=
79275 fi
79276
79277
79278 if test $enable_symvers != no; then
79279 ENABLE_SYMVERS_TRUE=
79280 ENABLE_SYMVERS_FALSE='#'
79281 else
79282 ENABLE_SYMVERS_TRUE='#'
79283 ENABLE_SYMVERS_FALSE=
79284 fi
79285
79286
79287 if test $enable_symvers = gnu; then
79288 ENABLE_SYMVERS_GNU_TRUE=
79289 ENABLE_SYMVERS_GNU_FALSE='#'
79290 else
79291 ENABLE_SYMVERS_GNU_TRUE='#'
79292 ENABLE_SYMVERS_GNU_FALSE=
79293 fi
79294
79295
79296 if test $enable_symvers = gnu-versioned-namespace; then
79297 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79298 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79299 else
79300 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79301 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79302 fi
79303
79304
79305 if test $enable_symvers = darwin; then
79306 ENABLE_SYMVERS_DARWIN_TRUE=
79307 ENABLE_SYMVERS_DARWIN_FALSE='#'
79308 else
79309 ENABLE_SYMVERS_DARWIN_TRUE='#'
79310 ENABLE_SYMVERS_DARWIN_FALSE=
79311 fi
79312
79313
79314 if test $enable_symvers = sun; then
79315 ENABLE_SYMVERS_SUN_TRUE=
79316 ENABLE_SYMVERS_SUN_FALSE='#'
79317 else
79318 ENABLE_SYMVERS_SUN_TRUE='#'
79319 ENABLE_SYMVERS_SUN_FALSE=
79320 fi
79321
79322
79323 if test $enable_libstdcxx_visibility = yes; then
79324 ENABLE_VISIBILITY_TRUE=
79325 ENABLE_VISIBILITY_FALSE='#'
79326 else
79327 ENABLE_VISIBILITY_TRUE='#'
79328 ENABLE_VISIBILITY_FALSE=
79329 fi
79330
79331
79332 if test $enable_libstdcxx_cxx11_abi = yes; then
79333 ENABLE_CXX11_ABI_TRUE=
79334 ENABLE_CXX11_ABI_FALSE='#'
79335 else
79336 ENABLE_CXX11_ABI_TRUE='#'
79337 ENABLE_CXX11_ABI_FALSE=
79338 fi
79339
79340
79341 if test $ac_ldbl_compat = yes; then
79342 GLIBCXX_LDBL_COMPAT_TRUE=
79343 GLIBCXX_LDBL_COMPAT_FALSE='#'
79344 else
79345 GLIBCXX_LDBL_COMPAT_TRUE='#'
79346 GLIBCXX_LDBL_COMPAT_FALSE=
79347 fi
79348
79349
79350
79351
79352 cat >confcache <<\_ACEOF
79353 # This file is a shell script that caches the results of configure
79354 # tests run on this system so they can be shared between configure
79355 # scripts and configure runs, see configure's option --config-cache.
79356 # It is not useful on other systems. If it contains results you don't
79357 # want to keep, you may remove or edit it.
79358 #
79359 # config.status only pays attention to the cache file if you give it
79360 # the --recheck option to rerun configure.
79361 #
79362 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79363 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79364 # following values.
79365
79366 _ACEOF
79367
79368 # The following way of writing the cache mishandles newlines in values,
79369 # but we know of no workaround that is simple, portable, and efficient.
79370 # So, we kill variables containing newlines.
79371 # Ultrix sh set writes to stderr and can't be redirected directly,
79372 # and sets the high bit in the cache file unless we assign to the vars.
79373 (
79374 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79375 eval ac_val=\$$ac_var
79376 case $ac_val in #(
79377 *${as_nl}*)
79378 case $ac_var in #(
79379 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79380 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79381 esac
79382 case $ac_var in #(
79383 _ | IFS | as_nl) ;; #(
79384 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79385 *) { eval $ac_var=; unset $ac_var;} ;;
79386 esac ;;
79387 esac
79388 done
79389
79390 (set) 2>&1 |
79391 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79392 *${as_nl}ac_space=\ *)
79393 # `set' does not quote correctly, so add quotes: double-quote
79394 # substitution turns \\\\ into \\, and sed turns \\ into \.
79395 sed -n \
79396 "s/'/'\\\\''/g;
79397 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79398 ;; #(
79399 *)
79400 # `set' quotes correctly as required by POSIX, so do not add quotes.
79401 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79402 ;;
79403 esac |
79404 sort
79405 ) |
79406 sed '
79407 /^ac_cv_env_/b end
79408 t clear
79409 :clear
79410 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79411 t end
79412 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79413 :end' >>confcache
79414 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79415 if test -w "$cache_file"; then
79416 test "x$cache_file" != "x/dev/null" &&
79417 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79418 $as_echo "$as_me: updating cache $cache_file" >&6;}
79419 cat confcache >$cache_file
79420 else
79421 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79422 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79423 fi
79424 fi
79425 rm -f confcache
79426
79427 if test ${multilib} = yes; then
79428 multilib_arg="--enable-multilib"
79429 else
79430 multilib_arg=
79431 fi
79432
79433 # Export all the install information.
79434
79435 glibcxx_toolexecdir=no
79436 glibcxx_toolexeclibdir=no
79437 glibcxx_prefixdir=$prefix
79438
79439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79440 $as_echo_n "checking for gxx-include-dir... " >&6; }
79441
79442 # Check whether --with-gxx-include-dir was given.
79443 if test "${with_gxx_include_dir+set}" = set; then :
79444 withval=$with_gxx_include_dir; case "$withval" in
79445 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79446 no) gxx_include_dir=no ;;
79447 *) gxx_include_dir=$withval ;;
79448 esac
79449 else
79450 gxx_include_dir=no
79451 fi
79452
79453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79454 $as_echo "$gxx_include_dir" >&6; }
79455
79456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79457 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79458 # Check whether --enable-version-specific-runtime-libs was given.
79459 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79460 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79461 yes) version_specific_libs=yes ;;
79462 no) version_specific_libs=no ;;
79463 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79464 esac
79465 else
79466 version_specific_libs=no
79467 fi
79468
79469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79470 $as_echo "$version_specific_libs" >&6; }
79471
79472 # Default case for install directory for include files.
79473 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79474 gxx_include_dir='include/c++/${gcc_version}'
79475 if test -n "$with_cross_host" &&
79476 test x"$with_cross_host" != x"no"; then
79477 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79478 else
79479 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79480 fi
79481 fi
79482
79483 # Version-specific runtime libs processing.
79484 if test $version_specific_libs = yes; then
79485 # Need the gcc compiler version to know where to install libraries
79486 # and header files if --enable-version-specific-runtime-libs option
79487 # is selected. FIXME: these variables are misnamed, there are
79488 # no executables installed in _toolexecdir or _toolexeclibdir.
79489 if test x"$gxx_include_dir" = x"no"; then
79490 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79491 fi
79492 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79493 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79494 fi
79495
79496 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79497 # Install a library built with a cross compiler in tooldir, not libdir.
79498 if test x"$glibcxx_toolexecdir" = x"no"; then
79499 if test -n "$with_cross_host" &&
79500 test x"$with_cross_host" != x"no"; then
79501 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79502 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79503 else
79504 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79505 glibcxx_toolexeclibdir='${libdir}'
79506 fi
79507 multi_os_directory=`$CXX -print-multi-os-directory`
79508 case $multi_os_directory in
79509 .) ;; # Avoid trailing /.
79510 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79511 esac
79512 fi
79513
79514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79515 $as_echo_n "checking for install location... " >&6; }
79516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79517 $as_echo "$gxx_include_dir" >&6; }
79518
79519
79520
79521
79522
79523
79524
79525 # Export all the include and flag information to Makefiles.
79526
79527 # Used for every C++ compile we perform.
79528 GLIBCXX_INCLUDES="\
79529 -I$glibcxx_builddir/include/$host_alias \
79530 -I$glibcxx_builddir/include \
79531 -I$glibcxx_srcdir/libsupc++"
79532
79533 # For Canadian crosses, pick this up too.
79534 if test $CANADIAN = yes; then
79535 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79536 fi
79537
79538 # Stuff in the actual top level. Currently only used by libsupc++ to
79539 # get unwind* headers from the libgcc dir.
79540 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79541 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79542
79543 # Now, export this to all the little Makefiles....
79544
79545
79546
79547
79548 # Optimization flags that are probably a good idea for thrill-seekers. Just
79549 # uncomment the lines below and make, everything else is ready to go...
79550 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79551 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79552
79553
79554 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79555
79556
79557
79558 ac_config_files="$ac_config_files Makefile"
79559
79560 ac_config_files="$ac_config_files scripts/testsuite_flags"
79561
79562 ac_config_files="$ac_config_files scripts/extract_symvers"
79563
79564 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79565
79566
79567 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79568 # that multilib installs will end up installed in the correct place.
79569 # The testsuite needs it for multilib-aware ABI baseline files.
79570 # To work around this not being passed down from config-ml.in ->
79571 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79572 # append it here. Only modify Makefiles that have just been created.
79573 #
79574 # Also, get rid of this simulated-VPATH thing that automake does.
79575 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
79576
79577
79578 ac_config_commands="$ac_config_commands generate-headers"
79579
79580
79581 cat >confcache <<\_ACEOF
79582 # This file is a shell script that caches the results of configure
79583 # tests run on this system so they can be shared between configure
79584 # scripts and configure runs, see configure's option --config-cache.
79585 # It is not useful on other systems. If it contains results you don't
79586 # want to keep, you may remove or edit it.
79587 #
79588 # config.status only pays attention to the cache file if you give it
79589 # the --recheck option to rerun configure.
79590 #
79591 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79592 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79593 # following values.
79594
79595 _ACEOF
79596
79597 # The following way of writing the cache mishandles newlines in values,
79598 # but we know of no workaround that is simple, portable, and efficient.
79599 # So, we kill variables containing newlines.
79600 # Ultrix sh set writes to stderr and can't be redirected directly,
79601 # and sets the high bit in the cache file unless we assign to the vars.
79602 (
79603 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79604 eval ac_val=\$$ac_var
79605 case $ac_val in #(
79606 *${as_nl}*)
79607 case $ac_var in #(
79608 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79609 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79610 esac
79611 case $ac_var in #(
79612 _ | IFS | as_nl) ;; #(
79613 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79614 *) { eval $ac_var=; unset $ac_var;} ;;
79615 esac ;;
79616 esac
79617 done
79618
79619 (set) 2>&1 |
79620 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79621 *${as_nl}ac_space=\ *)
79622 # `set' does not quote correctly, so add quotes: double-quote
79623 # substitution turns \\\\ into \\, and sed turns \\ into \.
79624 sed -n \
79625 "s/'/'\\\\''/g;
79626 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79627 ;; #(
79628 *)
79629 # `set' quotes correctly as required by POSIX, so do not add quotes.
79630 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79631 ;;
79632 esac |
79633 sort
79634 ) |
79635 sed '
79636 /^ac_cv_env_/b end
79637 t clear
79638 :clear
79639 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79640 t end
79641 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79642 :end' >>confcache
79643 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79644 if test -w "$cache_file"; then
79645 test "x$cache_file" != "x/dev/null" &&
79646 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79647 $as_echo "$as_me: updating cache $cache_file" >&6;}
79648 cat confcache >$cache_file
79649 else
79650 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79651 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79652 fi
79653 fi
79654 rm -f confcache
79655
79656 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79657 # Let make expand exec_prefix.
79658 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79659
79660 DEFS=-DHAVE_CONFIG_H
79661
79662 ac_libobjs=
79663 ac_ltlibobjs=
79664 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79665 # 1. Remove the extension, and $U if already installed.
79666 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79667 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79668 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79669 # will be set to the directory where LIBOBJS objects are built.
79670 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79671 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79672 done
79673 LIBOBJS=$ac_libobjs
79674
79675 LTLIBOBJS=$ac_ltlibobjs
79676
79677
79678 if test -n "$EXEEXT"; then
79679 am__EXEEXT_TRUE=
79680 am__EXEEXT_FALSE='#'
79681 else
79682 am__EXEEXT_TRUE='#'
79683 am__EXEEXT_FALSE=
79684 fi
79685
79686 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79687 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79689 fi
79690 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79691 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79693 fi
79694 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79695 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79697 fi
79698 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79699 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79701 fi
79702 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79703 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79705 fi
79706 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79707 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79709 fi
79710 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79711 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79713 fi
79714 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79715 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79717 fi
79718 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79719 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79721 fi
79722 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79723 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79724 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79725 fi
79726 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79727 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79728 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79729 fi
79730 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79731 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79732 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79733 fi
79734 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79735 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79736 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79737 fi
79738 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79739 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79740 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79741 fi
79742 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79743 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79744 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79745 fi
79746 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79747 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79748 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79749 fi
79750 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79751 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79752 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79753 fi
79754 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79755 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79756 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79757 fi
79758 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79759 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
79760 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79761 fi
79762 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79763 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79764 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79765 fi
79766 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79767 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79768 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79769 fi
79770 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79771 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79772 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79773 fi
79774 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79775 as_fn_error "conditional \"BUILD_XML\" was never defined.
79776 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79777 fi
79778 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79779 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79780 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79781 fi
79782 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79783 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79784 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79785 fi
79786 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79787 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79788 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79789 fi
79790
79791 : ${CONFIG_STATUS=./config.status}
79792 ac_write_fail=0
79793 ac_clean_files_save=$ac_clean_files
79794 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79795 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79796 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79797 as_write_fail=0
79798 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79799 #! $SHELL
79800 # Generated by $as_me.
79801 # Run this file to recreate the current configuration.
79802 # Compiler output produced by configure, useful for debugging
79803 # configure, is in config.log if it exists.
79804
79805 debug=false
79806 ac_cs_recheck=false
79807 ac_cs_silent=false
79808
79809 SHELL=\${CONFIG_SHELL-$SHELL}
79810 export SHELL
79811 _ASEOF
79812 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79813 ## -------------------- ##
79814 ## M4sh Initialization. ##
79815 ## -------------------- ##
79816
79817 # Be more Bourne compatible
79818 DUALCASE=1; export DUALCASE # for MKS sh
79819 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79820 emulate sh
79821 NULLCMD=:
79822 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79823 # is contrary to our usage. Disable this feature.
79824 alias -g '${1+"$@"}'='"$@"'
79825 setopt NO_GLOB_SUBST
79826 else
79827 case `(set -o) 2>/dev/null` in #(
79828 *posix*) :
79829 set -o posix ;; #(
79830 *) :
79831 ;;
79832 esac
79833 fi
79834
79835
79836 as_nl='
79837 '
79838 export as_nl
79839 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79840 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79841 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79842 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79843 # Prefer a ksh shell builtin over an external printf program on Solaris,
79844 # but without wasting forks for bash or zsh.
79845 if test -z "$BASH_VERSION$ZSH_VERSION" \
79846 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79847 as_echo='print -r --'
79848 as_echo_n='print -rn --'
79849 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79850 as_echo='printf %s\n'
79851 as_echo_n='printf %s'
79852 else
79853 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79854 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79855 as_echo_n='/usr/ucb/echo -n'
79856 else
79857 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79858 as_echo_n_body='eval
79859 arg=$1;
79860 case $arg in #(
79861 *"$as_nl"*)
79862 expr "X$arg" : "X\\(.*\\)$as_nl";
79863 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79864 esac;
79865 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79866 '
79867 export as_echo_n_body
79868 as_echo_n='sh -c $as_echo_n_body as_echo'
79869 fi
79870 export as_echo_body
79871 as_echo='sh -c $as_echo_body as_echo'
79872 fi
79873
79874 # The user is always right.
79875 if test "${PATH_SEPARATOR+set}" != set; then
79876 PATH_SEPARATOR=:
79877 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79878 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79879 PATH_SEPARATOR=';'
79880 }
79881 fi
79882
79883
79884 # IFS
79885 # We need space, tab and new line, in precisely that order. Quoting is
79886 # there to prevent editors from complaining about space-tab.
79887 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79888 # splitting by setting IFS to empty value.)
79889 IFS=" "" $as_nl"
79890
79891 # Find who we are. Look in the path if we contain no directory separator.
79892 case $0 in #((
79893 *[\\/]* ) as_myself=$0 ;;
79894 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79895 for as_dir in $PATH
79896 do
79897 IFS=$as_save_IFS
79898 test -z "$as_dir" && as_dir=.
79899 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79900 done
79901 IFS=$as_save_IFS
79902
79903 ;;
79904 esac
79905 # We did not find ourselves, most probably we were run as `sh COMMAND'
79906 # in which case we are not to be found in the path.
79907 if test "x$as_myself" = x; then
79908 as_myself=$0
79909 fi
79910 if test ! -f "$as_myself"; then
79911 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79912 exit 1
79913 fi
79914
79915 # Unset variables that we do not need and which cause bugs (e.g. in
79916 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79917 # suppresses any "Segmentation fault" message there. '((' could
79918 # trigger a bug in pdksh 5.2.14.
79919 for as_var in BASH_ENV ENV MAIL MAILPATH
79920 do eval test x\${$as_var+set} = xset \
79921 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79922 done
79923 PS1='$ '
79924 PS2='> '
79925 PS4='+ '
79926
79927 # NLS nuisances.
79928 LC_ALL=C
79929 export LC_ALL
79930 LANGUAGE=C
79931 export LANGUAGE
79932
79933 # CDPATH.
79934 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79935
79936
79937 # as_fn_error ERROR [LINENO LOG_FD]
79938 # ---------------------------------
79939 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79940 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79941 # script with status $?, using 1 if that was 0.
79942 as_fn_error ()
79943 {
79944 as_status=$?; test $as_status -eq 0 && as_status=1
79945 if test "$3"; then
79946 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79947 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
79948 fi
79949 $as_echo "$as_me: error: $1" >&2
79950 as_fn_exit $as_status
79951 } # as_fn_error
79952
79953
79954 # as_fn_set_status STATUS
79955 # -----------------------
79956 # Set $? to STATUS, without forking.
79957 as_fn_set_status ()
79958 {
79959 return $1
79960 } # as_fn_set_status
79961
79962 # as_fn_exit STATUS
79963 # -----------------
79964 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79965 as_fn_exit ()
79966 {
79967 set +e
79968 as_fn_set_status $1
79969 exit $1
79970 } # as_fn_exit
79971
79972 # as_fn_unset VAR
79973 # ---------------
79974 # Portably unset VAR.
79975 as_fn_unset ()
79976 {
79977 { eval $1=; unset $1;}
79978 }
79979 as_unset=as_fn_unset
79980 # as_fn_append VAR VALUE
79981 # ----------------------
79982 # Append the text in VALUE to the end of the definition contained in VAR. Take
79983 # advantage of any shell optimizations that allow amortized linear growth over
79984 # repeated appends, instead of the typical quadratic growth present in naive
79985 # implementations.
79986 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79987 eval 'as_fn_append ()
79988 {
79989 eval $1+=\$2
79990 }'
79991 else
79992 as_fn_append ()
79993 {
79994 eval $1=\$$1\$2
79995 }
79996 fi # as_fn_append
79997
79998 # as_fn_arith ARG...
79999 # ------------------
80000 # Perform arithmetic evaluation on the ARGs, and store the result in the
80001 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80002 # must be portable across $(()) and expr.
80003 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80004 eval 'as_fn_arith ()
80005 {
80006 as_val=$(( $* ))
80007 }'
80008 else
80009 as_fn_arith ()
80010 {
80011 as_val=`expr "$@" || test $? -eq 1`
80012 }
80013 fi # as_fn_arith
80014
80015
80016 if expr a : '\(a\)' >/dev/null 2>&1 &&
80017 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80018 as_expr=expr
80019 else
80020 as_expr=false
80021 fi
80022
80023 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80024 as_basename=basename
80025 else
80026 as_basename=false
80027 fi
80028
80029 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80030 as_dirname=dirname
80031 else
80032 as_dirname=false
80033 fi
80034
80035 as_me=`$as_basename -- "$0" ||
80036 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80037 X"$0" : 'X\(//\)$' \| \
80038 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80039 $as_echo X/"$0" |
80040 sed '/^.*\/\([^/][^/]*\)\/*$/{
80041 s//\1/
80042 q
80043 }
80044 /^X\/\(\/\/\)$/{
80045 s//\1/
80046 q
80047 }
80048 /^X\/\(\/\).*/{
80049 s//\1/
80050 q
80051 }
80052 s/.*/./; q'`
80053
80054 # Avoid depending upon Character Ranges.
80055 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80056 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80057 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80058 as_cr_digits='0123456789'
80059 as_cr_alnum=$as_cr_Letters$as_cr_digits
80060
80061 ECHO_C= ECHO_N= ECHO_T=
80062 case `echo -n x` in #(((((
80063 -n*)
80064 case `echo 'xy\c'` in
80065 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80066 xy) ECHO_C='\c';;
80067 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80068 ECHO_T=' ';;
80069 esac;;
80070 *)
80071 ECHO_N='-n';;
80072 esac
80073
80074 rm -f conf$$ conf$$.exe conf$$.file
80075 if test -d conf$$.dir; then
80076 rm -f conf$$.dir/conf$$.file
80077 else
80078 rm -f conf$$.dir
80079 mkdir conf$$.dir 2>/dev/null
80080 fi
80081 if (echo >conf$$.file) 2>/dev/null; then
80082 if ln -s conf$$.file conf$$ 2>/dev/null; then
80083 as_ln_s='ln -s'
80084 # ... but there are two gotchas:
80085 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80086 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80087 # In both cases, we have to default to `cp -p'.
80088 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80089 as_ln_s='cp -p'
80090 elif ln conf$$.file conf$$ 2>/dev/null; then
80091 as_ln_s=ln
80092 else
80093 as_ln_s='cp -p'
80094 fi
80095 else
80096 as_ln_s='cp -p'
80097 fi
80098 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80099 rmdir conf$$.dir 2>/dev/null
80100
80101
80102 # as_fn_mkdir_p
80103 # -------------
80104 # Create "$as_dir" as a directory, including parents if necessary.
80105 as_fn_mkdir_p ()
80106 {
80107
80108 case $as_dir in #(
80109 -*) as_dir=./$as_dir;;
80110 esac
80111 test -d "$as_dir" || eval $as_mkdir_p || {
80112 as_dirs=
80113 while :; do
80114 case $as_dir in #(
80115 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80116 *) as_qdir=$as_dir;;
80117 esac
80118 as_dirs="'$as_qdir' $as_dirs"
80119 as_dir=`$as_dirname -- "$as_dir" ||
80120 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80121 X"$as_dir" : 'X\(//\)[^/]' \| \
80122 X"$as_dir" : 'X\(//\)$' \| \
80123 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80124 $as_echo X"$as_dir" |
80125 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80126 s//\1/
80127 q
80128 }
80129 /^X\(\/\/\)[^/].*/{
80130 s//\1/
80131 q
80132 }
80133 /^X\(\/\/\)$/{
80134 s//\1/
80135 q
80136 }
80137 /^X\(\/\).*/{
80138 s//\1/
80139 q
80140 }
80141 s/.*/./; q'`
80142 test -d "$as_dir" && break
80143 done
80144 test -z "$as_dirs" || eval "mkdir $as_dirs"
80145 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80146
80147
80148 } # as_fn_mkdir_p
80149 if mkdir -p . 2>/dev/null; then
80150 as_mkdir_p='mkdir -p "$as_dir"'
80151 else
80152 test -d ./-p && rmdir ./-p
80153 as_mkdir_p=false
80154 fi
80155
80156 if test -x / >/dev/null 2>&1; then
80157 as_test_x='test -x'
80158 else
80159 if ls -dL / >/dev/null 2>&1; then
80160 as_ls_L_option=L
80161 else
80162 as_ls_L_option=
80163 fi
80164 as_test_x='
80165 eval sh -c '\''
80166 if test -d "$1"; then
80167 test -d "$1/.";
80168 else
80169 case $1 in #(
80170 -*)set "./$1";;
80171 esac;
80172 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80173 ???[sx]*):;;*)false;;esac;fi
80174 '\'' sh
80175 '
80176 fi
80177 as_executable_p=$as_test_x
80178
80179 # Sed expression to map a string onto a valid CPP name.
80180 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80181
80182 # Sed expression to map a string onto a valid variable name.
80183 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80184
80185
80186 exec 6>&1
80187 ## ----------------------------------- ##
80188 ## Main body of $CONFIG_STATUS script. ##
80189 ## ----------------------------------- ##
80190 _ASEOF
80191 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80192
80193 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80194 # Save the log message, to keep $0 and so on meaningful, and to
80195 # report actual input values of CONFIG_FILES etc. instead of their
80196 # values after options handling.
80197 ac_log="
80198 This file was extended by package-unused $as_me version-unused, which was
80199 generated by GNU Autoconf 2.64. Invocation command line was
80200
80201 CONFIG_FILES = $CONFIG_FILES
80202 CONFIG_HEADERS = $CONFIG_HEADERS
80203 CONFIG_LINKS = $CONFIG_LINKS
80204 CONFIG_COMMANDS = $CONFIG_COMMANDS
80205 $ $0 $@
80206
80207 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80208 "
80209
80210 _ACEOF
80211
80212 case $ac_config_files in *"
80213 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80214 esac
80215
80216 case $ac_config_headers in *"
80217 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80218 esac
80219
80220
80221 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80222 # Files that config.status was made for.
80223 config_files="$ac_config_files"
80224 config_headers="$ac_config_headers"
80225 config_commands="$ac_config_commands"
80226
80227 _ACEOF
80228
80229 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80230 ac_cs_usage="\
80231 \`$as_me' instantiates files and other configuration actions
80232 from templates according to the current configuration. Unless the files
80233 and actions are specified as TAGs, all are instantiated by default.
80234
80235 Usage: $0 [OPTION]... [TAG]...
80236
80237 -h, --help print this help, then exit
80238 -V, --version print version number and configuration settings, then exit
80239 -q, --quiet, --silent
80240 do not print progress messages
80241 -d, --debug don't remove temporary files
80242 --recheck update $as_me by reconfiguring in the same conditions
80243 --file=FILE[:TEMPLATE]
80244 instantiate the configuration file FILE
80245 --header=FILE[:TEMPLATE]
80246 instantiate the configuration header FILE
80247
80248 Configuration files:
80249 $config_files
80250
80251 Configuration headers:
80252 $config_headers
80253
80254 Configuration commands:
80255 $config_commands
80256
80257 Report bugs to the package provider."
80258
80259 _ACEOF
80260 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80261 ac_cs_version="\\
80262 package-unused config.status version-unused
80263 configured by $0, generated by GNU Autoconf 2.64,
80264 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80265
80266 Copyright (C) 2009 Free Software Foundation, Inc.
80267 This config.status script is free software; the Free Software Foundation
80268 gives unlimited permission to copy, distribute and modify it."
80269
80270 ac_pwd='$ac_pwd'
80271 srcdir='$srcdir'
80272 INSTALL='$INSTALL'
80273 MKDIR_P='$MKDIR_P'
80274 AWK='$AWK'
80275 test -n "\$AWK" || AWK=awk
80276 _ACEOF
80277
80278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80279 # The default lists apply if the user does not specify any file.
80280 ac_need_defaults=:
80281 while test $# != 0
80282 do
80283 case $1 in
80284 --*=*)
80285 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80286 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80287 ac_shift=:
80288 ;;
80289 *)
80290 ac_option=$1
80291 ac_optarg=$2
80292 ac_shift=shift
80293 ;;
80294 esac
80295
80296 case $ac_option in
80297 # Handling of the options.
80298 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80299 ac_cs_recheck=: ;;
80300 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80301 $as_echo "$ac_cs_version"; exit ;;
80302 --debug | --debu | --deb | --de | --d | -d )
80303 debug=: ;;
80304 --file | --fil | --fi | --f )
80305 $ac_shift
80306 case $ac_optarg in
80307 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80308 esac
80309 as_fn_append CONFIG_FILES " '$ac_optarg'"
80310 ac_need_defaults=false;;
80311 --header | --heade | --head | --hea )
80312 $ac_shift
80313 case $ac_optarg in
80314 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80315 esac
80316 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80317 ac_need_defaults=false;;
80318 --he | --h)
80319 # Conflict between --help and --header
80320 as_fn_error "ambiguous option: \`$1'
80321 Try \`$0 --help' for more information.";;
80322 --help | --hel | -h )
80323 $as_echo "$ac_cs_usage"; exit ;;
80324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80325 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80326 ac_cs_silent=: ;;
80327
80328 # This is an error.
80329 -*) as_fn_error "unrecognized option: \`$1'
80330 Try \`$0 --help' for more information." ;;
80331
80332 *) as_fn_append ac_config_targets " $1"
80333 ac_need_defaults=false ;;
80334
80335 esac
80336 shift
80337 done
80338
80339 ac_configure_extra_args=
80340
80341 if $ac_cs_silent; then
80342 exec 6>/dev/null
80343 ac_configure_extra_args="$ac_configure_extra_args --silent"
80344 fi
80345
80346 _ACEOF
80347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80348 if \$ac_cs_recheck; then
80349 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80350 shift
80351 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80352 CONFIG_SHELL='$SHELL'
80353 export CONFIG_SHELL
80354 exec "\$@"
80355 fi
80356
80357 _ACEOF
80358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80359 exec 5>>config.log
80360 {
80361 echo
80362 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80363 ## Running $as_me. ##
80364 _ASBOX
80365 $as_echo "$ac_log"
80366 } >&5
80367
80368 _ACEOF
80369 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80370 #
80371 # INIT-COMMANDS
80372 #
80373
80374 srcdir="$srcdir"
80375 host="$host"
80376 target="$target"
80377 with_multisubdir="$with_multisubdir"
80378 with_multisrctop="$with_multisrctop"
80379 with_target_subdir="$with_target_subdir"
80380 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80381 multi_basedir="$multi_basedir"
80382 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80383 CC="$CC"
80384 CXX="$CXX"
80385 GFORTRAN="$GFORTRAN"
80386 GCJ="$GCJ"
80387
80388
80389 # The HP-UX ksh and POSIX shell print the target directory to stdout
80390 # if CDPATH is set.
80391 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80392
80393 sed_quote_subst='$sed_quote_subst'
80394 double_quote_subst='$double_quote_subst'
80395 delay_variable_subst='$delay_variable_subst'
80396 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80397 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80398 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80399 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80400 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80401 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80402 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80403 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80404 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80405 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80406 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80407 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80408 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80409 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80410 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80411 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80412 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80413 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80414 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80415 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80416 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80417 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80418 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80419 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80420 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80421 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80422 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80423 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80424 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80425 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80426 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80427 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80428 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80429 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80430 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80431 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80432 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80433 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80434 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80435 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80436 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80437 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80438 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80439 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80440 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80441 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80442 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80443 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80444 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"`'
80445 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80446 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80447 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80448 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80449 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80450 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80451 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80452 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80453 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80454 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80455 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80456 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80457 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80458 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80459 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80460 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80461 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80462 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80463 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80464 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80465 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80466 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80467 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80468 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80469 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80470 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80471 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80472 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80473 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80474 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80475 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80476 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80477 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80478 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80479 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80480 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80481 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80482 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80483 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80484 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80485 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80486 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80487 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80488 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80489 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80490 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80491 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80492 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80493 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80494 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80495 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80496 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80497 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80498 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80499 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80500 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80501 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80502 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80503 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80504 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80505 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80506 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80507 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80508 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80509 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80510 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80511 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80512 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80513 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80514 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80515 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80516 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80517 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80518 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80519 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80520 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80521 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80522 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80523 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80524 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80525 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80526 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80527 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80528 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80529 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80530 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80531 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80532 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80533 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80534 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80535 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80536 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80537 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80538 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80539 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80540 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80541 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80542 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80543 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80544 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80545 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80546 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80547 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80548 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80549 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80550 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80551 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80552 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80553 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80554 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80555 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80556 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80557 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80558 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80559 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80560 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80561 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80562 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80563 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80564 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80565 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80566 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80567 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80568 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80569 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80570 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80571
80572 LTCC='$LTCC'
80573 LTCFLAGS='$LTCFLAGS'
80574 compiler='$compiler_DEFAULT'
80575
80576 # A function that is used when there is no print builtin or printf.
80577 func_fallback_echo ()
80578 {
80579 eval 'cat <<_LTECHO_EOF
80580 \$1
80581 _LTECHO_EOF'
80582 }
80583
80584 # Quote evaled strings.
80585 for var in SHELL \
80586 ECHO \
80587 SED \
80588 GREP \
80589 EGREP \
80590 FGREP \
80591 LD \
80592 NM \
80593 LN_S \
80594 lt_SP2NL \
80595 lt_NL2SP \
80596 reload_flag \
80597 OBJDUMP \
80598 deplibs_check_method \
80599 file_magic_cmd \
80600 AR \
80601 AR_FLAGS \
80602 STRIP \
80603 RANLIB \
80604 CC \
80605 CFLAGS \
80606 compiler \
80607 lt_cv_sys_global_symbol_pipe \
80608 lt_cv_sys_global_symbol_to_cdecl \
80609 lt_cv_sys_global_symbol_to_c_name_address \
80610 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80611 lt_prog_compiler_no_builtin_flag \
80612 lt_prog_compiler_wl \
80613 lt_prog_compiler_pic \
80614 lt_prog_compiler_static \
80615 lt_cv_prog_compiler_c_o \
80616 need_locks \
80617 DSYMUTIL \
80618 NMEDIT \
80619 LIPO \
80620 OTOOL \
80621 OTOOL64 \
80622 shrext_cmds \
80623 export_dynamic_flag_spec \
80624 whole_archive_flag_spec \
80625 compiler_needs_object \
80626 with_gnu_ld \
80627 allow_undefined_flag \
80628 no_undefined_flag \
80629 hardcode_libdir_flag_spec \
80630 hardcode_libdir_flag_spec_ld \
80631 hardcode_libdir_separator \
80632 fix_srcfile_path \
80633 exclude_expsyms \
80634 include_expsyms \
80635 file_list_spec \
80636 variables_saved_for_relink \
80637 libname_spec \
80638 library_names_spec \
80639 soname_spec \
80640 install_override_mode \
80641 finish_eval \
80642 old_striplib \
80643 striplib \
80644 compiler_lib_search_dirs \
80645 predep_objects \
80646 postdep_objects \
80647 predeps \
80648 postdeps \
80649 compiler_lib_search_path \
80650 LD_CXX \
80651 reload_flag_CXX \
80652 compiler_CXX \
80653 lt_prog_compiler_no_builtin_flag_CXX \
80654 lt_prog_compiler_wl_CXX \
80655 lt_prog_compiler_pic_CXX \
80656 lt_prog_compiler_static_CXX \
80657 lt_cv_prog_compiler_c_o_CXX \
80658 export_dynamic_flag_spec_CXX \
80659 whole_archive_flag_spec_CXX \
80660 compiler_needs_object_CXX \
80661 with_gnu_ld_CXX \
80662 allow_undefined_flag_CXX \
80663 no_undefined_flag_CXX \
80664 hardcode_libdir_flag_spec_CXX \
80665 hardcode_libdir_flag_spec_ld_CXX \
80666 hardcode_libdir_separator_CXX \
80667 fix_srcfile_path_CXX \
80668 exclude_expsyms_CXX \
80669 include_expsyms_CXX \
80670 file_list_spec_CXX \
80671 compiler_lib_search_dirs_CXX \
80672 predep_objects_CXX \
80673 postdep_objects_CXX \
80674 predeps_CXX \
80675 postdeps_CXX \
80676 compiler_lib_search_path_CXX; do
80677 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80678 *[\\\\\\\`\\"\\\$]*)
80679 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80680 ;;
80681 *)
80682 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80683 ;;
80684 esac
80685 done
80686
80687 # Double-quote double-evaled strings.
80688 for var in reload_cmds \
80689 old_postinstall_cmds \
80690 old_postuninstall_cmds \
80691 old_archive_cmds \
80692 extract_expsyms_cmds \
80693 old_archive_from_new_cmds \
80694 old_archive_from_expsyms_cmds \
80695 archive_cmds \
80696 archive_expsym_cmds \
80697 module_cmds \
80698 module_expsym_cmds \
80699 export_symbols_cmds \
80700 prelink_cmds \
80701 postinstall_cmds \
80702 postuninstall_cmds \
80703 finish_cmds \
80704 sys_lib_search_path_spec \
80705 sys_lib_dlsearch_path_spec \
80706 reload_cmds_CXX \
80707 old_archive_cmds_CXX \
80708 old_archive_from_new_cmds_CXX \
80709 old_archive_from_expsyms_cmds_CXX \
80710 archive_cmds_CXX \
80711 archive_expsym_cmds_CXX \
80712 module_cmds_CXX \
80713 module_expsym_cmds_CXX \
80714 export_symbols_cmds_CXX \
80715 prelink_cmds_CXX; do
80716 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80717 *[\\\\\\\`\\"\\\$]*)
80718 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80719 ;;
80720 *)
80721 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80722 ;;
80723 esac
80724 done
80725
80726 ac_aux_dir='$ac_aux_dir'
80727 xsi_shell='$xsi_shell'
80728 lt_shell_append='$lt_shell_append'
80729
80730 # See if we are running on zsh, and set the options which allow our
80731 # commands through without removal of \ escapes INIT.
80732 if test -n "\${ZSH_VERSION+set}" ; then
80733 setopt NO_GLOB_SUBST
80734 fi
80735
80736
80737 PACKAGE='$PACKAGE'
80738 VERSION='$VERSION'
80739 TIMESTAMP='$TIMESTAMP'
80740 RM='$RM'
80741 ofile='$ofile'
80742
80743
80744
80745
80746
80747
80748 GCC="$GCC"
80749 CC="$CC"
80750 acx_cv_header_stdint="$acx_cv_header_stdint"
80751 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80752 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80753 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80754 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80755 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80756 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80757 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80758 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80759 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80760 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80761 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80762 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80763 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80764
80765
80766 _ACEOF
80767
80768 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80769
80770 # Handling of arguments.
80771 for ac_config_target in $ac_config_targets
80772 do
80773 case $ac_config_target in
80774 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80775 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80776 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80777 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80778 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80779 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80780 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80781 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80782 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80783 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80784 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80785 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80786 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80787 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80788 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80789 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80790 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80791 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80792
80793 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80794 esac
80795 done
80796
80797
80798 # If the user did not use the arguments to specify the items to instantiate,
80799 # then the envvar interface is used. Set only those that are not.
80800 # We use the long form for the default assignment because of an extremely
80801 # bizarre bug on SunOS 4.1.3.
80802 if $ac_need_defaults; then
80803 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80804 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80805 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80806 fi
80807
80808 # Have a temporary directory for convenience. Make it in the build tree
80809 # simply because there is no reason against having it here, and in addition,
80810 # creating and moving files from /tmp can sometimes cause problems.
80811 # Hook for its removal unless debugging.
80812 # Note that there is a small window in which the directory will not be cleaned:
80813 # after its creation but before its name has been assigned to `$tmp'.
80814 $debug ||
80815 {
80816 tmp=
80817 trap 'exit_status=$?
80818 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80819 ' 0
80820 trap 'as_fn_exit 1' 1 2 13 15
80821 }
80822 # Create a (secure) tmp directory for tmp files.
80823
80824 {
80825 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80826 test -n "$tmp" && test -d "$tmp"
80827 } ||
80828 {
80829 tmp=./conf$$-$RANDOM
80830 (umask 077 && mkdir "$tmp")
80831 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80832
80833 # Set up the scripts for CONFIG_FILES section.
80834 # No need to generate them if there are no CONFIG_FILES.
80835 # This happens for instance with `./config.status config.h'.
80836 if test -n "$CONFIG_FILES"; then
80837
80838
80839 ac_cr=`echo X | tr X '\015'`
80840 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80841 # But we know of no other shell where ac_cr would be empty at this
80842 # point, so we can use a bashism as a fallback.
80843 if test "x$ac_cr" = x; then
80844 eval ac_cr=\$\'\\r\'
80845 fi
80846 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80847 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80848 ac_cs_awk_cr='\r'
80849 else
80850 ac_cs_awk_cr=$ac_cr
80851 fi
80852
80853 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80854 _ACEOF
80855
80856
80857 {
80858 echo "cat >conf$$subs.awk <<_ACEOF" &&
80859 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80860 echo "_ACEOF"
80861 } >conf$$subs.sh ||
80862 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80863 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80864 ac_delim='%!_!# '
80865 for ac_last_try in false false false false false :; do
80866 . ./conf$$subs.sh ||
80867 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80868
80869 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80870 if test $ac_delim_n = $ac_delim_num; then
80871 break
80872 elif $ac_last_try; then
80873 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80874 else
80875 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80876 fi
80877 done
80878 rm -f conf$$subs.sh
80879
80880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80881 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80882 _ACEOF
80883 sed -n '
80884 h
80885 s/^/S["/; s/!.*/"]=/
80886 p
80887 g
80888 s/^[^!]*!//
80889 :repl
80890 t repl
80891 s/'"$ac_delim"'$//
80892 t delim
80893 :nl
80894 h
80895 s/\(.\{148\}\).*/\1/
80896 t more1
80897 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80898 p
80899 n
80900 b repl
80901 :more1
80902 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80903 p
80904 g
80905 s/.\{148\}//
80906 t nl
80907 :delim
80908 h
80909 s/\(.\{148\}\).*/\1/
80910 t more2
80911 s/["\\]/\\&/g; s/^/"/; s/$/"/
80912 p
80913 b
80914 :more2
80915 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80916 p
80917 g
80918 s/.\{148\}//
80919 t delim
80920 ' <conf$$subs.awk | sed '
80921 /^[^""]/{
80922 N
80923 s/\n//
80924 }
80925 ' >>$CONFIG_STATUS || ac_write_fail=1
80926 rm -f conf$$subs.awk
80927 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80928 _ACAWK
80929 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
80930 for (key in S) S_is_set[key] = 1
80931 FS = "\a"
80932
80933 }
80934 {
80935 line = $ 0
80936 nfields = split(line, field, "@")
80937 substed = 0
80938 len = length(field[1])
80939 for (i = 2; i < nfields; i++) {
80940 key = field[i]
80941 keylen = length(key)
80942 if (S_is_set[key]) {
80943 value = S[key]
80944 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80945 len += length(value) + length(field[++i])
80946 substed = 1
80947 } else
80948 len += 1 + keylen
80949 }
80950
80951 print line
80952 }
80953
80954 _ACAWK
80955 _ACEOF
80956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80957 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80958 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80959 else
80960 cat
80961 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
80962 || as_fn_error "could not setup config files machinery" "$LINENO" 5
80963 _ACEOF
80964
80965 # VPATH may cause trouble with some makes, so we remove $(srcdir),
80966 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
80967 # trailing colons and then remove the whole line if VPATH becomes empty
80968 # (actually we leave an empty line to preserve line numbers).
80969 if test "x$srcdir" = x.; then
80970 ac_vpsub='/^[ ]*VPATH[ ]*=/{
80971 s/:*\$(srcdir):*/:/
80972 s/:*\${srcdir}:*/:/
80973 s/:*@srcdir@:*/:/
80974 s/^\([^=]*=[ ]*\):*/\1/
80975 s/:*$//
80976 s/^[^=]*=[ ]*$//
80977 }'
80978 fi
80979
80980 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80981 fi # test -n "$CONFIG_FILES"
80982
80983 # Set up the scripts for CONFIG_HEADERS section.
80984 # No need to generate them if there are no CONFIG_HEADERS.
80985 # This happens for instance with `./config.status Makefile'.
80986 if test -n "$CONFIG_HEADERS"; then
80987 cat >"$tmp/defines.awk" <<\_ACAWK ||
80988 BEGIN {
80989 _ACEOF
80990
80991 # Transform confdefs.h into an awk script `defines.awk', embedded as
80992 # here-document in config.status, that substitutes the proper values into
80993 # config.h.in to produce config.h.
80994
80995 # Create a delimiter string that does not exist in confdefs.h, to ease
80996 # handling of long lines.
80997 ac_delim='%!_!# '
80998 for ac_last_try in false false :; do
80999 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81000 if test -z "$ac_t"; then
81001 break
81002 elif $ac_last_try; then
81003 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81004 else
81005 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81006 fi
81007 done
81008
81009 # For the awk script, D is an array of macro values keyed by name,
81010 # likewise P contains macro parameters if any. Preserve backslash
81011 # newline sequences.
81012
81013 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81014 sed -n '
81015 s/.\{148\}/&'"$ac_delim"'/g
81016 t rset
81017 :rset
81018 s/^[ ]*#[ ]*define[ ][ ]*/ /
81019 t def
81020 d
81021 :def
81022 s/\\$//
81023 t bsnl
81024 s/["\\]/\\&/g
81025 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81026 D["\1"]=" \3"/p
81027 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81028 d
81029 :bsnl
81030 s/["\\]/\\&/g
81031 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81032 D["\1"]=" \3\\\\\\n"\\/p
81033 t cont
81034 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81035 t cont
81036 d
81037 :cont
81038 n
81039 s/.\{148\}/&'"$ac_delim"'/g
81040 t clear
81041 :clear
81042 s/\\$//
81043 t bsnlc
81044 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81045 d
81046 :bsnlc
81047 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81048 b cont
81049 ' <confdefs.h | sed '
81050 s/'"$ac_delim"'/"\\\
81051 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81052
81053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81054 for (key in D) D_is_set[key] = 1
81055 FS = "\a"
81056 }
81057 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81058 line = \$ 0
81059 split(line, arg, " ")
81060 if (arg[1] == "#") {
81061 defundef = arg[2]
81062 mac1 = arg[3]
81063 } else {
81064 defundef = substr(arg[1], 2)
81065 mac1 = arg[2]
81066 }
81067 split(mac1, mac2, "(") #)
81068 macro = mac2[1]
81069 prefix = substr(line, 1, index(line, defundef) - 1)
81070 if (D_is_set[macro]) {
81071 # Preserve the white space surrounding the "#".
81072 print prefix "define", macro P[macro] D[macro]
81073 next
81074 } else {
81075 # Replace #undef with comments. This is necessary, for example,
81076 # in the case of _POSIX_SOURCE, which is predefined and required
81077 # on some systems where configure will not decide to define it.
81078 if (defundef == "undef") {
81079 print "/*", prefix defundef, macro, "*/"
81080 next
81081 }
81082 }
81083 }
81084 { print }
81085 _ACAWK
81086 _ACEOF
81087 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81088 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81089 fi # test -n "$CONFIG_HEADERS"
81090
81091
81092 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81093 shift
81094 for ac_tag
81095 do
81096 case $ac_tag in
81097 :[FHLC]) ac_mode=$ac_tag; continue;;
81098 esac
81099 case $ac_mode$ac_tag in
81100 :[FHL]*:*);;
81101 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81102 :[FH]-) ac_tag=-:-;;
81103 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81104 esac
81105 ac_save_IFS=$IFS
81106 IFS=:
81107 set x $ac_tag
81108 IFS=$ac_save_IFS
81109 shift
81110 ac_file=$1
81111 shift
81112
81113 case $ac_mode in
81114 :L) ac_source=$1;;
81115 :[FH])
81116 ac_file_inputs=
81117 for ac_f
81118 do
81119 case $ac_f in
81120 -) ac_f="$tmp/stdin";;
81121 *) # Look for the file first in the build tree, then in the source tree
81122 # (if the path is not absolute). The absolute path cannot be DOS-style,
81123 # because $ac_f cannot contain `:'.
81124 test -f "$ac_f" ||
81125 case $ac_f in
81126 [\\/$]*) false;;
81127 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81128 esac ||
81129 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81130 esac
81131 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81132 as_fn_append ac_file_inputs " '$ac_f'"
81133 done
81134
81135 # Let's still pretend it is `configure' which instantiates (i.e., don't
81136 # use $as_me), people would be surprised to read:
81137 # /* config.h. Generated by config.status. */
81138 configure_input='Generated from '`
81139 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81140 `' by configure.'
81141 if test x"$ac_file" != x-; then
81142 configure_input="$ac_file. $configure_input"
81143 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81144 $as_echo "$as_me: creating $ac_file" >&6;}
81145 fi
81146 # Neutralize special characters interpreted by sed in replacement strings.
81147 case $configure_input in #(
81148 *\&* | *\|* | *\\* )
81149 ac_sed_conf_input=`$as_echo "$configure_input" |
81150 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81151 *) ac_sed_conf_input=$configure_input;;
81152 esac
81153
81154 case $ac_tag in
81155 *:-:* | *:-) cat >"$tmp/stdin" \
81156 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81157 esac
81158 ;;
81159 esac
81160
81161 ac_dir=`$as_dirname -- "$ac_file" ||
81162 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81163 X"$ac_file" : 'X\(//\)[^/]' \| \
81164 X"$ac_file" : 'X\(//\)$' \| \
81165 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81166 $as_echo X"$ac_file" |
81167 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81168 s//\1/
81169 q
81170 }
81171 /^X\(\/\/\)[^/].*/{
81172 s//\1/
81173 q
81174 }
81175 /^X\(\/\/\)$/{
81176 s//\1/
81177 q
81178 }
81179 /^X\(\/\).*/{
81180 s//\1/
81181 q
81182 }
81183 s/.*/./; q'`
81184 as_dir="$ac_dir"; as_fn_mkdir_p
81185 ac_builddir=.
81186
81187 case "$ac_dir" in
81188 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81189 *)
81190 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81191 # A ".." for each directory in $ac_dir_suffix.
81192 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81193 case $ac_top_builddir_sub in
81194 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81195 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81196 esac ;;
81197 esac
81198 ac_abs_top_builddir=$ac_pwd
81199 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81200 # for backward compatibility:
81201 ac_top_builddir=$ac_top_build_prefix
81202
81203 case $srcdir in
81204 .) # We are building in place.
81205 ac_srcdir=.
81206 ac_top_srcdir=$ac_top_builddir_sub
81207 ac_abs_top_srcdir=$ac_pwd ;;
81208 [\\/]* | ?:[\\/]* ) # Absolute name.
81209 ac_srcdir=$srcdir$ac_dir_suffix;
81210 ac_top_srcdir=$srcdir
81211 ac_abs_top_srcdir=$srcdir ;;
81212 *) # Relative name.
81213 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81214 ac_top_srcdir=$ac_top_build_prefix$srcdir
81215 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81216 esac
81217 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81218
81219
81220 case $ac_mode in
81221 :F)
81222 #
81223 # CONFIG_FILE
81224 #
81225
81226 case $INSTALL in
81227 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81228 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81229 esac
81230 ac_MKDIR_P=$MKDIR_P
81231 case $MKDIR_P in
81232 [\\/$]* | ?:[\\/]* ) ;;
81233 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81234 esac
81235 _ACEOF
81236
81237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81238 # If the template does not know about datarootdir, expand it.
81239 # FIXME: This hack should be removed a few years after 2.60.
81240 ac_datarootdir_hack=; ac_datarootdir_seen=
81241 ac_sed_dataroot='
81242 /datarootdir/ {
81243 p
81244 q
81245 }
81246 /@datadir@/p
81247 /@docdir@/p
81248 /@infodir@/p
81249 /@localedir@/p
81250 /@mandir@/p'
81251 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81252 *datarootdir*) ac_datarootdir_seen=yes;;
81253 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81255 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81256 _ACEOF
81257 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81258 ac_datarootdir_hack='
81259 s&@datadir@&$datadir&g
81260 s&@docdir@&$docdir&g
81261 s&@infodir@&$infodir&g
81262 s&@localedir@&$localedir&g
81263 s&@mandir@&$mandir&g
81264 s&\\\${datarootdir}&$datarootdir&g' ;;
81265 esac
81266 _ACEOF
81267
81268 # Neutralize VPATH when `$srcdir' = `.'.
81269 # Shell code in configure.ac might set extrasub.
81270 # FIXME: do we really want to maintain this feature?
81271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81272 ac_sed_extra="$ac_vpsub
81273 $extrasub
81274 _ACEOF
81275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81276 :t
81277 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81278 s|@configure_input@|$ac_sed_conf_input|;t t
81279 s&@top_builddir@&$ac_top_builddir_sub&;t t
81280 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81281 s&@srcdir@&$ac_srcdir&;t t
81282 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81283 s&@top_srcdir@&$ac_top_srcdir&;t t
81284 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81285 s&@builddir@&$ac_builddir&;t t
81286 s&@abs_builddir@&$ac_abs_builddir&;t t
81287 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81288 s&@INSTALL@&$ac_INSTALL&;t t
81289 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81290 $ac_datarootdir_hack
81291 "
81292 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81293 || as_fn_error "could not create $ac_file" "$LINENO" 5
81294
81295 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81296 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81297 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81299 which seems to be undefined. Please make sure it is defined." >&5
81300 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81301 which seems to be undefined. Please make sure it is defined." >&2;}
81302
81303 rm -f "$tmp/stdin"
81304 case $ac_file in
81305 -) cat "$tmp/out" && rm -f "$tmp/out";;
81306 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81307 esac \
81308 || as_fn_error "could not create $ac_file" "$LINENO" 5
81309 ;;
81310 :H)
81311 #
81312 # CONFIG_HEADER
81313 #
81314 if test x"$ac_file" != x-; then
81315 {
81316 $as_echo "/* $configure_input */" \
81317 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81318 } >"$tmp/config.h" \
81319 || as_fn_error "could not create $ac_file" "$LINENO" 5
81320 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81321 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81322 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81323 else
81324 rm -f "$ac_file"
81325 mv "$tmp/config.h" "$ac_file" \
81326 || as_fn_error "could not create $ac_file" "$LINENO" 5
81327 fi
81328 else
81329 $as_echo "/* $configure_input */" \
81330 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81331 || as_fn_error "could not create -" "$LINENO" 5
81332 fi
81333 # Compute "$ac_file"'s index in $config_headers.
81334 _am_arg="$ac_file"
81335 _am_stamp_count=1
81336 for _am_header in $config_headers :; do
81337 case $_am_header in
81338 $_am_arg | $_am_arg:* )
81339 break ;;
81340 * )
81341 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81342 esac
81343 done
81344 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81345 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81346 X"$_am_arg" : 'X\(//\)[^/]' \| \
81347 X"$_am_arg" : 'X\(//\)$' \| \
81348 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81349 $as_echo X"$_am_arg" |
81350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81351 s//\1/
81352 q
81353 }
81354 /^X\(\/\/\)[^/].*/{
81355 s//\1/
81356 q
81357 }
81358 /^X\(\/\/\)$/{
81359 s//\1/
81360 q
81361 }
81362 /^X\(\/\).*/{
81363 s//\1/
81364 q
81365 }
81366 s/.*/./; q'`/stamp-h$_am_stamp_count
81367 ;;
81368
81369 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81370 $as_echo "$as_me: executing $ac_file commands" >&6;}
81371 ;;
81372 esac
81373
81374
81375 case $ac_file$ac_mode in
81376 "default-1":C)
81377 # Only add multilib support code if we just rebuilt the top-level
81378 # Makefile.
81379 case " $CONFIG_FILES " in
81380 *" Makefile "*)
81381 ac_file=Makefile . ${multi_basedir}/config-ml.in
81382 ;;
81383 esac ;;
81384 "libtool":C)
81385
81386 # See if we are running on zsh, and set the options which allow our
81387 # commands through without removal of \ escapes.
81388 if test -n "${ZSH_VERSION+set}" ; then
81389 setopt NO_GLOB_SUBST
81390 fi
81391
81392 cfgfile="${ofile}T"
81393 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81394 $RM "$cfgfile"
81395
81396 cat <<_LT_EOF >> "$cfgfile"
81397 #! $SHELL
81398
81399 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81400 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81401 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81402 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81403 #
81404 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81405 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81406 # Written by Gordon Matzigkeit, 1996
81407 #
81408 # This file is part of GNU Libtool.
81409 #
81410 # GNU Libtool is free software; you can redistribute it and/or
81411 # modify it under the terms of the GNU General Public License as
81412 # published by the Free Software Foundation; either version 2 of
81413 # the License, or (at your option) any later version.
81414 #
81415 # As a special exception to the GNU General Public License,
81416 # if you distribute this file as part of a program or library that
81417 # is built using GNU Libtool, you may include this file under the
81418 # same distribution terms that you use for the rest of that program.
81419 #
81420 # GNU Libtool is distributed in the hope that it will be useful,
81421 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81422 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81423 # GNU General Public License for more details.
81424 #
81425 # You should have received a copy of the GNU General Public License
81426 # along with GNU Libtool; see the file COPYING. If not, a copy
81427 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81428 # obtained by writing to the Free Software Foundation, Inc.,
81429 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81430
81431
81432 # The names of the tagged configurations supported by this script.
81433 available_tags="CXX "
81434
81435 # ### BEGIN LIBTOOL CONFIG
81436
81437 # Which release of libtool.m4 was used?
81438 macro_version=$macro_version
81439 macro_revision=$macro_revision
81440
81441 # Whether or not to build shared libraries.
81442 build_libtool_libs=$enable_shared
81443
81444 # Whether or not to build static libraries.
81445 build_old_libs=$enable_static
81446
81447 # What type of objects to build.
81448 pic_mode=$pic_mode
81449
81450 # Whether or not to optimize for fast installation.
81451 fast_install=$enable_fast_install
81452
81453 # Shell to use when invoking shell scripts.
81454 SHELL=$lt_SHELL
81455
81456 # An echo program that protects backslashes.
81457 ECHO=$lt_ECHO
81458
81459 # The host system.
81460 host_alias=$host_alias
81461 host=$host
81462 host_os=$host_os
81463
81464 # The build system.
81465 build_alias=$build_alias
81466 build=$build
81467 build_os=$build_os
81468
81469 # A sed program that does not truncate output.
81470 SED=$lt_SED
81471
81472 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81473 Xsed="\$SED -e 1s/^X//"
81474
81475 # A grep program that handles long lines.
81476 GREP=$lt_GREP
81477
81478 # An ERE matcher.
81479 EGREP=$lt_EGREP
81480
81481 # A literal string matcher.
81482 FGREP=$lt_FGREP
81483
81484 # A BSD- or MS-compatible name lister.
81485 NM=$lt_NM
81486
81487 # Whether we need soft or hard links.
81488 LN_S=$lt_LN_S
81489
81490 # What is the maximum length of a command?
81491 max_cmd_len=$max_cmd_len
81492
81493 # Object file suffix (normally "o").
81494 objext=$ac_objext
81495
81496 # Executable file suffix (normally "").
81497 exeext=$exeext
81498
81499 # whether the shell understands "unset".
81500 lt_unset=$lt_unset
81501
81502 # turn spaces into newlines.
81503 SP2NL=$lt_lt_SP2NL
81504
81505 # turn newlines into spaces.
81506 NL2SP=$lt_lt_NL2SP
81507
81508 # An object symbol dumper.
81509 OBJDUMP=$lt_OBJDUMP
81510
81511 # Method to check whether dependent libraries are shared objects.
81512 deplibs_check_method=$lt_deplibs_check_method
81513
81514 # Command to use when deplibs_check_method == "file_magic".
81515 file_magic_cmd=$lt_file_magic_cmd
81516
81517 # The archiver.
81518 AR=$lt_AR
81519 AR_FLAGS=$lt_AR_FLAGS
81520
81521 # A symbol stripping program.
81522 STRIP=$lt_STRIP
81523
81524 # Commands used to install an old-style archive.
81525 RANLIB=$lt_RANLIB
81526 old_postinstall_cmds=$lt_old_postinstall_cmds
81527 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81528
81529 # Whether to use a lock for old archive extraction.
81530 lock_old_archive_extraction=$lock_old_archive_extraction
81531
81532 # A C compiler.
81533 LTCC=$lt_CC
81534
81535 # LTCC compiler flags.
81536 LTCFLAGS=$lt_CFLAGS
81537
81538 # Take the output of nm and produce a listing of raw symbols and C names.
81539 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81540
81541 # Transform the output of nm in a proper C declaration.
81542 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81543
81544 # Transform the output of nm in a C name address pair.
81545 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81546
81547 # Transform the output of nm in a C name address pair when lib prefix is needed.
81548 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81549
81550 # The name of the directory that contains temporary libtool files.
81551 objdir=$objdir
81552
81553 # Used to examine libraries when file_magic_cmd begins with "file".
81554 MAGIC_CMD=$MAGIC_CMD
81555
81556 # Must we lock files when doing compilation?
81557 need_locks=$lt_need_locks
81558
81559 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81560 DSYMUTIL=$lt_DSYMUTIL
81561
81562 # Tool to change global to local symbols on Mac OS X.
81563 NMEDIT=$lt_NMEDIT
81564
81565 # Tool to manipulate fat objects and archives on Mac OS X.
81566 LIPO=$lt_LIPO
81567
81568 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81569 OTOOL=$lt_OTOOL
81570
81571 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81572 OTOOL64=$lt_OTOOL64
81573
81574 # Old archive suffix (normally "a").
81575 libext=$libext
81576
81577 # Shared library suffix (normally ".so").
81578 shrext_cmds=$lt_shrext_cmds
81579
81580 # The commands to extract the exported symbol list from a shared archive.
81581 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81582
81583 # Variables whose values should be saved in libtool wrapper scripts and
81584 # restored at link time.
81585 variables_saved_for_relink=$lt_variables_saved_for_relink
81586
81587 # Do we need the "lib" prefix for modules?
81588 need_lib_prefix=$need_lib_prefix
81589
81590 # Do we need a version for libraries?
81591 need_version=$need_version
81592
81593 # Library versioning type.
81594 version_type=$version_type
81595
81596 # Shared library runtime path variable.
81597 runpath_var=$runpath_var
81598
81599 # Shared library path variable.
81600 shlibpath_var=$shlibpath_var
81601
81602 # Is shlibpath searched before the hard-coded library search path?
81603 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81604
81605 # Format of library name prefix.
81606 libname_spec=$lt_libname_spec
81607
81608 # List of archive names. First name is the real one, the rest are links.
81609 # The last name is the one that the linker finds with -lNAME
81610 library_names_spec=$lt_library_names_spec
81611
81612 # The coded name of the library, if different from the real name.
81613 soname_spec=$lt_soname_spec
81614
81615 # Permission mode override for installation of shared libraries.
81616 install_override_mode=$lt_install_override_mode
81617
81618 # Command to use after installation of a shared archive.
81619 postinstall_cmds=$lt_postinstall_cmds
81620
81621 # Command to use after uninstallation of a shared archive.
81622 postuninstall_cmds=$lt_postuninstall_cmds
81623
81624 # Commands used to finish a libtool library installation in a directory.
81625 finish_cmds=$lt_finish_cmds
81626
81627 # As "finish_cmds", except a single script fragment to be evaled but
81628 # not shown.
81629 finish_eval=$lt_finish_eval
81630
81631 # Whether we should hardcode library paths into libraries.
81632 hardcode_into_libs=$hardcode_into_libs
81633
81634 # Compile-time system search path for libraries.
81635 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81636
81637 # Run-time system search path for libraries.
81638 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81639
81640 # Whether dlopen is supported.
81641 dlopen_support=$enable_dlopen
81642
81643 # Whether dlopen of programs is supported.
81644 dlopen_self=$enable_dlopen_self
81645
81646 # Whether dlopen of statically linked programs is supported.
81647 dlopen_self_static=$enable_dlopen_self_static
81648
81649 # Commands to strip libraries.
81650 old_striplib=$lt_old_striplib
81651 striplib=$lt_striplib
81652
81653
81654 # The linker used to build libraries.
81655 LD=$lt_LD
81656
81657 # How to create reloadable object files.
81658 reload_flag=$lt_reload_flag
81659 reload_cmds=$lt_reload_cmds
81660
81661 # Commands used to build an old-style archive.
81662 old_archive_cmds=$lt_old_archive_cmds
81663
81664 # A language specific compiler.
81665 CC=$lt_compiler
81666
81667 # Is the compiler the GNU compiler?
81668 with_gcc=$GCC
81669
81670 # Compiler flag to turn off builtin functions.
81671 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81672
81673 # How to pass a linker flag through the compiler.
81674 wl=$lt_lt_prog_compiler_wl
81675
81676 # Additional compiler flags for building library objects.
81677 pic_flag=$lt_lt_prog_compiler_pic
81678
81679 # Compiler flag to prevent dynamic linking.
81680 link_static_flag=$lt_lt_prog_compiler_static
81681
81682 # Does compiler simultaneously support -c and -o options?
81683 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81684
81685 # Whether or not to add -lc for building shared libraries.
81686 build_libtool_need_lc=$archive_cmds_need_lc
81687
81688 # Whether or not to disallow shared libs when runtime libs are static.
81689 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81690
81691 # Compiler flag to allow reflexive dlopens.
81692 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81693
81694 # Compiler flag to generate shared objects directly from archives.
81695 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81696
81697 # Whether the compiler copes with passing no objects directly.
81698 compiler_needs_object=$lt_compiler_needs_object
81699
81700 # Create an old-style archive from a shared archive.
81701 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81702
81703 # Create a temporary old-style archive to link instead of a shared archive.
81704 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81705
81706 # Commands used to build a shared archive.
81707 archive_cmds=$lt_archive_cmds
81708 archive_expsym_cmds=$lt_archive_expsym_cmds
81709
81710 # Commands used to build a loadable module if different from building
81711 # a shared archive.
81712 module_cmds=$lt_module_cmds
81713 module_expsym_cmds=$lt_module_expsym_cmds
81714
81715 # Whether we are building with GNU ld or not.
81716 with_gnu_ld=$lt_with_gnu_ld
81717
81718 # Flag that allows shared libraries with undefined symbols to be built.
81719 allow_undefined_flag=$lt_allow_undefined_flag
81720
81721 # Flag that enforces no undefined symbols.
81722 no_undefined_flag=$lt_no_undefined_flag
81723
81724 # Flag to hardcode \$libdir into a binary during linking.
81725 # This must work even if \$libdir does not exist
81726 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81727
81728 # If ld is used when linking, flag to hardcode \$libdir into a binary
81729 # during linking. This must work even if \$libdir does not exist.
81730 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81731
81732 # Whether we need a single "-rpath" flag with a separated argument.
81733 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81734
81735 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81736 # DIR into the resulting binary.
81737 hardcode_direct=$hardcode_direct
81738
81739 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81740 # DIR into the resulting binary and the resulting library dependency is
81741 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81742 # library is relocated.
81743 hardcode_direct_absolute=$hardcode_direct_absolute
81744
81745 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81746 # into the resulting binary.
81747 hardcode_minus_L=$hardcode_minus_L
81748
81749 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81750 # into the resulting binary.
81751 hardcode_shlibpath_var=$hardcode_shlibpath_var
81752
81753 # Set to "yes" if building a shared library automatically hardcodes DIR
81754 # into the library and all subsequent libraries and executables linked
81755 # against it.
81756 hardcode_automatic=$hardcode_automatic
81757
81758 # Set to yes if linker adds runtime paths of dependent libraries
81759 # to runtime path list.
81760 inherit_rpath=$inherit_rpath
81761
81762 # Whether libtool must link a program against all its dependency libraries.
81763 link_all_deplibs=$link_all_deplibs
81764
81765 # Fix the shell variable \$srcfile for the compiler.
81766 fix_srcfile_path=$lt_fix_srcfile_path
81767
81768 # Set to "yes" if exported symbols are required.
81769 always_export_symbols=$always_export_symbols
81770
81771 # The commands to list exported symbols.
81772 export_symbols_cmds=$lt_export_symbols_cmds
81773
81774 # Symbols that should not be listed in the preloaded symbols.
81775 exclude_expsyms=$lt_exclude_expsyms
81776
81777 # Symbols that must always be exported.
81778 include_expsyms=$lt_include_expsyms
81779
81780 # Commands necessary for linking programs (against libraries) with templates.
81781 prelink_cmds=$lt_prelink_cmds
81782
81783 # Specify filename containing input files.
81784 file_list_spec=$lt_file_list_spec
81785
81786 # How to hardcode a shared library path into an executable.
81787 hardcode_action=$hardcode_action
81788
81789 # The directories searched by this compiler when creating a shared library.
81790 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81791
81792 # Dependencies to place before and after the objects being linked to
81793 # create a shared library.
81794 predep_objects=$lt_predep_objects
81795 postdep_objects=$lt_postdep_objects
81796 predeps=$lt_predeps
81797 postdeps=$lt_postdeps
81798
81799 # The library search path used internally by the compiler when linking
81800 # a shared library.
81801 compiler_lib_search_path=$lt_compiler_lib_search_path
81802
81803 # ### END LIBTOOL CONFIG
81804
81805 _LT_EOF
81806
81807 case $host_os in
81808 aix3*)
81809 cat <<\_LT_EOF >> "$cfgfile"
81810 # AIX sometimes has problems with the GCC collect2 program. For some
81811 # reason, if we set the COLLECT_NAMES environment variable, the problems
81812 # vanish in a puff of smoke.
81813 if test "X${COLLECT_NAMES+set}" != Xset; then
81814 COLLECT_NAMES=
81815 export COLLECT_NAMES
81816 fi
81817 _LT_EOF
81818 ;;
81819 esac
81820
81821
81822 ltmain="$ac_aux_dir/ltmain.sh"
81823
81824
81825 # We use sed instead of cat because bash on DJGPP gets confused if
81826 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81827 # text mode, it properly converts lines to CR/LF. This bash problem
81828 # is reportedly fixed, but why not run on old versions too?
81829 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81830 || (rm -f "$cfgfile"; exit 1)
81831
81832 case $xsi_shell in
81833 yes)
81834 cat << \_LT_EOF >> "$cfgfile"
81835
81836 # func_dirname file append nondir_replacement
81837 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81838 # otherwise set result to NONDIR_REPLACEMENT.
81839 func_dirname ()
81840 {
81841 case ${1} in
81842 */*) func_dirname_result="${1%/*}${2}" ;;
81843 * ) func_dirname_result="${3}" ;;
81844 esac
81845 }
81846
81847 # func_basename file
81848 func_basename ()
81849 {
81850 func_basename_result="${1##*/}"
81851 }
81852
81853 # func_dirname_and_basename file append nondir_replacement
81854 # perform func_basename and func_dirname in a single function
81855 # call:
81856 # dirname: Compute the dirname of FILE. If nonempty,
81857 # add APPEND to the result, otherwise set result
81858 # to NONDIR_REPLACEMENT.
81859 # value returned in "$func_dirname_result"
81860 # basename: Compute filename of FILE.
81861 # value retuned in "$func_basename_result"
81862 # Implementation must be kept synchronized with func_dirname
81863 # and func_basename. For efficiency, we do not delegate to
81864 # those functions but instead duplicate the functionality here.
81865 func_dirname_and_basename ()
81866 {
81867 case ${1} in
81868 */*) func_dirname_result="${1%/*}${2}" ;;
81869 * ) func_dirname_result="${3}" ;;
81870 esac
81871 func_basename_result="${1##*/}"
81872 }
81873
81874 # func_stripname prefix suffix name
81875 # strip PREFIX and SUFFIX off of NAME.
81876 # PREFIX and SUFFIX must not contain globbing or regex special
81877 # characters, hashes, percent signs, but SUFFIX may contain a leading
81878 # dot (in which case that matches only a dot).
81879 func_stripname ()
81880 {
81881 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81882 # positional parameters, so assign one to ordinary parameter first.
81883 func_stripname_result=${3}
81884 func_stripname_result=${func_stripname_result#"${1}"}
81885 func_stripname_result=${func_stripname_result%"${2}"}
81886 }
81887
81888 # func_opt_split
81889 func_opt_split ()
81890 {
81891 func_opt_split_opt=${1%%=*}
81892 func_opt_split_arg=${1#*=}
81893 }
81894
81895 # func_lo2o object
81896 func_lo2o ()
81897 {
81898 case ${1} in
81899 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81900 *) func_lo2o_result=${1} ;;
81901 esac
81902 }
81903
81904 # func_xform libobj-or-source
81905 func_xform ()
81906 {
81907 func_xform_result=${1%.*}.lo
81908 }
81909
81910 # func_arith arithmetic-term...
81911 func_arith ()
81912 {
81913 func_arith_result=$(( $* ))
81914 }
81915
81916 # func_len string
81917 # STRING may not start with a hyphen.
81918 func_len ()
81919 {
81920 func_len_result=${#1}
81921 }
81922
81923 _LT_EOF
81924 ;;
81925 *) # Bourne compatible functions.
81926 cat << \_LT_EOF >> "$cfgfile"
81927
81928 # func_dirname file append nondir_replacement
81929 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81930 # otherwise set result to NONDIR_REPLACEMENT.
81931 func_dirname ()
81932 {
81933 # Extract subdirectory from the argument.
81934 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81935 if test "X$func_dirname_result" = "X${1}"; then
81936 func_dirname_result="${3}"
81937 else
81938 func_dirname_result="$func_dirname_result${2}"
81939 fi
81940 }
81941
81942 # func_basename file
81943 func_basename ()
81944 {
81945 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81946 }
81947
81948
81949 # func_stripname prefix suffix name
81950 # strip PREFIX and SUFFIX off of NAME.
81951 # PREFIX and SUFFIX must not contain globbing or regex special
81952 # characters, hashes, percent signs, but SUFFIX may contain a leading
81953 # dot (in which case that matches only a dot).
81954 # func_strip_suffix prefix name
81955 func_stripname ()
81956 {
81957 case ${2} in
81958 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81959 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81960 esac
81961 }
81962
81963 # sed scripts:
81964 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81965 my_sed_long_arg='1s/^-[^=]*=//'
81966
81967 # func_opt_split
81968 func_opt_split ()
81969 {
81970 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81971 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81972 }
81973
81974 # func_lo2o object
81975 func_lo2o ()
81976 {
81977 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81978 }
81979
81980 # func_xform libobj-or-source
81981 func_xform ()
81982 {
81983 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81984 }
81985
81986 # func_arith arithmetic-term...
81987 func_arith ()
81988 {
81989 func_arith_result=`expr "$@"`
81990 }
81991
81992 # func_len string
81993 # STRING may not start with a hyphen.
81994 func_len ()
81995 {
81996 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
81997 }
81998
81999 _LT_EOF
82000 esac
82001
82002 case $lt_shell_append in
82003 yes)
82004 cat << \_LT_EOF >> "$cfgfile"
82005
82006 # func_append var value
82007 # Append VALUE to the end of shell variable VAR.
82008 func_append ()
82009 {
82010 eval "$1+=\$2"
82011 }
82012 _LT_EOF
82013 ;;
82014 *)
82015 cat << \_LT_EOF >> "$cfgfile"
82016
82017 # func_append var value
82018 # Append VALUE to the end of shell variable VAR.
82019 func_append ()
82020 {
82021 eval "$1=\$$1\$2"
82022 }
82023
82024 _LT_EOF
82025 ;;
82026 esac
82027
82028
82029 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82030 || (rm -f "$cfgfile"; exit 1)
82031
82032 mv -f "$cfgfile" "$ofile" ||
82033 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82034 chmod +x "$ofile"
82035
82036
82037 cat <<_LT_EOF >> "$ofile"
82038
82039 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82040
82041 # The linker used to build libraries.
82042 LD=$lt_LD_CXX
82043
82044 # How to create reloadable object files.
82045 reload_flag=$lt_reload_flag_CXX
82046 reload_cmds=$lt_reload_cmds_CXX
82047
82048 # Commands used to build an old-style archive.
82049 old_archive_cmds=$lt_old_archive_cmds_CXX
82050
82051 # A language specific compiler.
82052 CC=$lt_compiler_CXX
82053
82054 # Is the compiler the GNU compiler?
82055 with_gcc=$GCC_CXX
82056
82057 # Compiler flag to turn off builtin functions.
82058 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82059
82060 # How to pass a linker flag through the compiler.
82061 wl=$lt_lt_prog_compiler_wl_CXX
82062
82063 # Additional compiler flags for building library objects.
82064 pic_flag=$lt_lt_prog_compiler_pic_CXX
82065
82066 # Compiler flag to prevent dynamic linking.
82067 link_static_flag=$lt_lt_prog_compiler_static_CXX
82068
82069 # Does compiler simultaneously support -c and -o options?
82070 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82071
82072 # Whether or not to add -lc for building shared libraries.
82073 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82074
82075 # Whether or not to disallow shared libs when runtime libs are static.
82076 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82077
82078 # Compiler flag to allow reflexive dlopens.
82079 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82080
82081 # Compiler flag to generate shared objects directly from archives.
82082 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82083
82084 # Whether the compiler copes with passing no objects directly.
82085 compiler_needs_object=$lt_compiler_needs_object_CXX
82086
82087 # Create an old-style archive from a shared archive.
82088 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82089
82090 # Create a temporary old-style archive to link instead of a shared archive.
82091 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82092
82093 # Commands used to build a shared archive.
82094 archive_cmds=$lt_archive_cmds_CXX
82095 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82096
82097 # Commands used to build a loadable module if different from building
82098 # a shared archive.
82099 module_cmds=$lt_module_cmds_CXX
82100 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82101
82102 # Whether we are building with GNU ld or not.
82103 with_gnu_ld=$lt_with_gnu_ld_CXX
82104
82105 # Flag that allows shared libraries with undefined symbols to be built.
82106 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82107
82108 # Flag that enforces no undefined symbols.
82109 no_undefined_flag=$lt_no_undefined_flag_CXX
82110
82111 # Flag to hardcode \$libdir into a binary during linking.
82112 # This must work even if \$libdir does not exist
82113 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82114
82115 # If ld is used when linking, flag to hardcode \$libdir into a binary
82116 # during linking. This must work even if \$libdir does not exist.
82117 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82118
82119 # Whether we need a single "-rpath" flag with a separated argument.
82120 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82121
82122 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82123 # DIR into the resulting binary.
82124 hardcode_direct=$hardcode_direct_CXX
82125
82126 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82127 # DIR into the resulting binary and the resulting library dependency is
82128 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82129 # library is relocated.
82130 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82131
82132 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82133 # into the resulting binary.
82134 hardcode_minus_L=$hardcode_minus_L_CXX
82135
82136 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82137 # into the resulting binary.
82138 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82139
82140 # Set to "yes" if building a shared library automatically hardcodes DIR
82141 # into the library and all subsequent libraries and executables linked
82142 # against it.
82143 hardcode_automatic=$hardcode_automatic_CXX
82144
82145 # Set to yes if linker adds runtime paths of dependent libraries
82146 # to runtime path list.
82147 inherit_rpath=$inherit_rpath_CXX
82148
82149 # Whether libtool must link a program against all its dependency libraries.
82150 link_all_deplibs=$link_all_deplibs_CXX
82151
82152 # Fix the shell variable \$srcfile for the compiler.
82153 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82154
82155 # Set to "yes" if exported symbols are required.
82156 always_export_symbols=$always_export_symbols_CXX
82157
82158 # The commands to list exported symbols.
82159 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82160
82161 # Symbols that should not be listed in the preloaded symbols.
82162 exclude_expsyms=$lt_exclude_expsyms_CXX
82163
82164 # Symbols that must always be exported.
82165 include_expsyms=$lt_include_expsyms_CXX
82166
82167 # Commands necessary for linking programs (against libraries) with templates.
82168 prelink_cmds=$lt_prelink_cmds_CXX
82169
82170 # Specify filename containing input files.
82171 file_list_spec=$lt_file_list_spec_CXX
82172
82173 # How to hardcode a shared library path into an executable.
82174 hardcode_action=$hardcode_action_CXX
82175
82176 # The directories searched by this compiler when creating a shared library.
82177 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82178
82179 # Dependencies to place before and after the objects being linked to
82180 # create a shared library.
82181 predep_objects=$lt_predep_objects_CXX
82182 postdep_objects=$lt_postdep_objects_CXX
82183 predeps=$lt_predeps_CXX
82184 postdeps=$lt_postdeps_CXX
82185
82186 # The library search path used internally by the compiler when linking
82187 # a shared library.
82188 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82189
82190 # ### END LIBTOOL TAG CONFIG: CXX
82191 _LT_EOF
82192
82193 ;;
82194 "include/gstdint.h":C)
82195 if test "$GCC" = yes; then
82196 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82197 else
82198 echo "/* generated for $CC */" > tmp-stdint.h
82199 fi
82200
82201 sed 's/^ *//' >> tmp-stdint.h <<EOF
82202
82203 #ifndef GCC_GENERATED_STDINT_H
82204 #define GCC_GENERATED_STDINT_H 1
82205
82206 #include <sys/types.h>
82207 EOF
82208
82209 if test "$acx_cv_header_stdint" != stdint.h; then
82210 echo "#include <stddef.h>" >> tmp-stdint.h
82211 fi
82212 if test "$acx_cv_header_stdint" != stddef.h; then
82213 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82214 fi
82215
82216 sed 's/^ *//' >> tmp-stdint.h <<EOF
82217 /* glibc uses these symbols as guards to prevent redefinitions. */
82218 #ifdef __int8_t_defined
82219 #define _INT8_T
82220 #define _INT16_T
82221 #define _INT32_T
82222 #endif
82223 #ifdef __uint32_t_defined
82224 #define _UINT32_T
82225 #endif
82226
82227 EOF
82228
82229 # ----------------- done header, emit basic int types -------------
82230 if test "$acx_cv_header_stdint" = stddef.h; then
82231 sed 's/^ *//' >> tmp-stdint.h <<EOF
82232
82233 #ifndef _UINT8_T
82234 #define _UINT8_T
82235 #ifndef __uint8_t_defined
82236 #define __uint8_t_defined
82237 #ifndef uint8_t
82238 typedef unsigned $acx_cv_type_int8_t uint8_t;
82239 #endif
82240 #endif
82241 #endif
82242
82243 #ifndef _UINT16_T
82244 #define _UINT16_T
82245 #ifndef __uint16_t_defined
82246 #define __uint16_t_defined
82247 #ifndef uint16_t
82248 typedef unsigned $acx_cv_type_int16_t uint16_t;
82249 #endif
82250 #endif
82251 #endif
82252
82253 #ifndef _UINT32_T
82254 #define _UINT32_T
82255 #ifndef __uint32_t_defined
82256 #define __uint32_t_defined
82257 #ifndef uint32_t
82258 typedef unsigned $acx_cv_type_int32_t uint32_t;
82259 #endif
82260 #endif
82261 #endif
82262
82263 #ifndef _INT8_T
82264 #define _INT8_T
82265 #ifndef __int8_t_defined
82266 #define __int8_t_defined
82267 #ifndef int8_t
82268 typedef $acx_cv_type_int8_t int8_t;
82269 #endif
82270 #endif
82271 #endif
82272
82273 #ifndef _INT16_T
82274 #define _INT16_T
82275 #ifndef __int16_t_defined
82276 #define __int16_t_defined
82277 #ifndef int16_t
82278 typedef $acx_cv_type_int16_t int16_t;
82279 #endif
82280 #endif
82281 #endif
82282
82283 #ifndef _INT32_T
82284 #define _INT32_T
82285 #ifndef __int32_t_defined
82286 #define __int32_t_defined
82287 #ifndef int32_t
82288 typedef $acx_cv_type_int32_t int32_t;
82289 #endif
82290 #endif
82291 #endif
82292 EOF
82293 elif test "$ac_cv_type_u_int32_t" = yes; then
82294 sed 's/^ *//' >> tmp-stdint.h <<EOF
82295
82296 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82297 #ifndef _INT8_T
82298 #define _INT8_T
82299 #endif
82300 #ifndef _INT16_T
82301 #define _INT16_T
82302 #endif
82303 #ifndef _INT32_T
82304 #define _INT32_T
82305 #endif
82306
82307 #ifndef _UINT8_T
82308 #define _UINT8_T
82309 #ifndef __uint8_t_defined
82310 #define __uint8_t_defined
82311 #ifndef uint8_t
82312 typedef u_int8_t uint8_t;
82313 #endif
82314 #endif
82315 #endif
82316
82317 #ifndef _UINT16_T
82318 #define _UINT16_T
82319 #ifndef __uint16_t_defined
82320 #define __uint16_t_defined
82321 #ifndef uint16_t
82322 typedef u_int16_t uint16_t;
82323 #endif
82324 #endif
82325 #endif
82326
82327 #ifndef _UINT32_T
82328 #define _UINT32_T
82329 #ifndef __uint32_t_defined
82330 #define __uint32_t_defined
82331 #ifndef uint32_t
82332 typedef u_int32_t uint32_t;
82333 #endif
82334 #endif
82335 #endif
82336 EOF
82337 else
82338 sed 's/^ *//' >> tmp-stdint.h <<EOF
82339
82340 /* Some systems have guard macros to prevent redefinitions, define them. */
82341 #ifndef _INT8_T
82342 #define _INT8_T
82343 #endif
82344 #ifndef _INT16_T
82345 #define _INT16_T
82346 #endif
82347 #ifndef _INT32_T
82348 #define _INT32_T
82349 #endif
82350 #ifndef _UINT8_T
82351 #define _UINT8_T
82352 #endif
82353 #ifndef _UINT16_T
82354 #define _UINT16_T
82355 #endif
82356 #ifndef _UINT32_T
82357 #define _UINT32_T
82358 #endif
82359 EOF
82360 fi
82361
82362 # ------------- done basic int types, emit int64_t types ------------
82363 if test "$ac_cv_type_uint64_t" = yes; then
82364 sed 's/^ *//' >> tmp-stdint.h <<EOF
82365
82366 /* system headers have good uint64_t and int64_t */
82367 #ifndef _INT64_T
82368 #define _INT64_T
82369 #endif
82370 #ifndef _UINT64_T
82371 #define _UINT64_T
82372 #endif
82373 EOF
82374 elif test "$ac_cv_type_u_int64_t" = yes; then
82375 sed 's/^ *//' >> tmp-stdint.h <<EOF
82376
82377 /* system headers have an u_int64_t (and int64_t) */
82378 #ifndef _INT64_T
82379 #define _INT64_T
82380 #endif
82381 #ifndef _UINT64_T
82382 #define _UINT64_T
82383 #ifndef __uint64_t_defined
82384 #define __uint64_t_defined
82385 #ifndef uint64_t
82386 typedef u_int64_t uint64_t;
82387 #endif
82388 #endif
82389 #endif
82390 EOF
82391 elif test -n "$acx_cv_type_int64_t"; then
82392 sed 's/^ *//' >> tmp-stdint.h <<EOF
82393
82394 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82395 #ifndef _INT64_T
82396 #define _INT64_T
82397 #ifndef int64_t
82398 typedef $acx_cv_type_int64_t int64_t;
82399 #endif
82400 #endif
82401 #ifndef _UINT64_T
82402 #define _UINT64_T
82403 #ifndef __uint64_t_defined
82404 #define __uint64_t_defined
82405 #ifndef uint64_t
82406 typedef unsigned $acx_cv_type_int64_t uint64_t;
82407 #endif
82408 #endif
82409 #endif
82410 EOF
82411 else
82412 sed 's/^ *//' >> tmp-stdint.h <<EOF
82413
82414 /* some common heuristics for int64_t, using compiler-specific tests */
82415 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82416 #ifndef _INT64_T
82417 #define _INT64_T
82418 #ifndef __int64_t_defined
82419 #ifndef int64_t
82420 typedef long long int64_t;
82421 #endif
82422 #endif
82423 #endif
82424 #ifndef _UINT64_T
82425 #define _UINT64_T
82426 #ifndef uint64_t
82427 typedef unsigned long long uint64_t;
82428 #endif
82429 #endif
82430
82431 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82432 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82433 does not implement __extension__. But that compiler doesn't define
82434 __GNUC_MINOR__. */
82435 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82436 # define __extension__
82437 # endif
82438
82439 # ifndef _INT64_T
82440 # define _INT64_T
82441 # ifndef int64_t
82442 __extension__ typedef long long int64_t;
82443 # endif
82444 # endif
82445 # ifndef _UINT64_T
82446 # define _UINT64_T
82447 # ifndef uint64_t
82448 __extension__ typedef unsigned long long uint64_t;
82449 # endif
82450 # endif
82451
82452 #elif !defined __STRICT_ANSI__
82453 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82454
82455 # ifndef _INT64_T
82456 # define _INT64_T
82457 # ifndef int64_t
82458 typedef __int64 int64_t;
82459 # endif
82460 # endif
82461 # ifndef _UINT64_T
82462 # define _UINT64_T
82463 # ifndef uint64_t
82464 typedef unsigned __int64 uint64_t;
82465 # endif
82466 # endif
82467 # endif /* compiler */
82468
82469 #endif /* ANSI version */
82470 EOF
82471 fi
82472
82473 # ------------- done int64_t types, emit intptr types ------------
82474 if test "$ac_cv_type_uintptr_t" != yes; then
82475 sed 's/^ *//' >> tmp-stdint.h <<EOF
82476
82477 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82478 #ifndef __uintptr_t_defined
82479 #ifndef uintptr_t
82480 typedef u$acx_cv_type_intptr_t uintptr_t;
82481 #endif
82482 #endif
82483 #ifndef __intptr_t_defined
82484 #ifndef intptr_t
82485 typedef $acx_cv_type_intptr_t intptr_t;
82486 #endif
82487 #endif
82488 EOF
82489 fi
82490
82491 # ------------- done intptr types, emit int_least types ------------
82492 if test "$ac_cv_type_int_least32_t" != yes; then
82493 sed 's/^ *//' >> tmp-stdint.h <<EOF
82494
82495 /* Define int_least types */
82496 typedef int8_t int_least8_t;
82497 typedef int16_t int_least16_t;
82498 typedef int32_t int_least32_t;
82499 #ifdef _INT64_T
82500 typedef int64_t int_least64_t;
82501 #endif
82502
82503 typedef uint8_t uint_least8_t;
82504 typedef uint16_t uint_least16_t;
82505 typedef uint32_t uint_least32_t;
82506 #ifdef _UINT64_T
82507 typedef uint64_t uint_least64_t;
82508 #endif
82509 EOF
82510 fi
82511
82512 # ------------- done intptr types, emit int_fast types ------------
82513 if test "$ac_cv_type_int_fast32_t" != yes; then
82514 sed 's/^ *//' >> tmp-stdint.h <<EOF
82515
82516 /* Define int_fast types. short is often slow */
82517 typedef int8_t int_fast8_t;
82518 typedef int int_fast16_t;
82519 typedef int32_t int_fast32_t;
82520 #ifdef _INT64_T
82521 typedef int64_t int_fast64_t;
82522 #endif
82523
82524 typedef uint8_t uint_fast8_t;
82525 typedef unsigned int uint_fast16_t;
82526 typedef uint32_t uint_fast32_t;
82527 #ifdef _UINT64_T
82528 typedef uint64_t uint_fast64_t;
82529 #endif
82530 EOF
82531 fi
82532
82533 if test "$ac_cv_type_uintmax_t" != yes; then
82534 sed 's/^ *//' >> tmp-stdint.h <<EOF
82535
82536 /* Define intmax based on what we found */
82537 #ifndef intmax_t
82538 #ifdef _INT64_T
82539 typedef int64_t intmax_t;
82540 #else
82541 typedef long intmax_t;
82542 #endif
82543 #endif
82544 #ifndef uintmax_t
82545 #ifdef _UINT64_T
82546 typedef uint64_t uintmax_t;
82547 #else
82548 typedef unsigned long uintmax_t;
82549 #endif
82550 #endif
82551 EOF
82552 fi
82553
82554 sed 's/^ *//' >> tmp-stdint.h <<EOF
82555
82556 #endif /* GCC_GENERATED_STDINT_H */
82557 EOF
82558
82559 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82560 rm -f tmp-stdint.h
82561 else
82562 mv -f tmp-stdint.h include/gstdint.h
82563 fi
82564
82565 ;;
82566 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82567 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82568 "include/Makefile":F) cat > vpsed$$ << \_EOF
82569 s!`test -f '$<' || echo '$(srcdir)/'`!!
82570 _EOF
82571 sed -f vpsed$$ $ac_file > tmp$$
82572 mv tmp$$ $ac_file
82573 rm vpsed$$
82574 echo 'MULTISUBDIR =' >> $ac_file
82575 ml_norecursion=yes
82576 . ${multi_basedir}/config-ml.in
82577 { ml_norecursion=; unset ml_norecursion;}
82578 ;;
82579 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82580 s!`test -f '$<' || echo '$(srcdir)/'`!!
82581 _EOF
82582 sed -f vpsed$$ $ac_file > tmp$$
82583 mv tmp$$ $ac_file
82584 rm vpsed$$
82585 echo 'MULTISUBDIR =' >> $ac_file
82586 ml_norecursion=yes
82587 . ${multi_basedir}/config-ml.in
82588 { ml_norecursion=; unset ml_norecursion;}
82589 ;;
82590 "python/Makefile":F) cat > vpsed$$ << \_EOF
82591 s!`test -f '$<' || echo '$(srcdir)/'`!!
82592 _EOF
82593 sed -f vpsed$$ $ac_file > tmp$$
82594 mv tmp$$ $ac_file
82595 rm vpsed$$
82596 echo 'MULTISUBDIR =' >> $ac_file
82597 ml_norecursion=yes
82598 . ${multi_basedir}/config-ml.in
82599 { ml_norecursion=; unset ml_norecursion;}
82600 ;;
82601 "src/Makefile":F) cat > vpsed$$ << \_EOF
82602 s!`test -f '$<' || echo '$(srcdir)/'`!!
82603 _EOF
82604 sed -f vpsed$$ $ac_file > tmp$$
82605 mv tmp$$ $ac_file
82606 rm vpsed$$
82607 echo 'MULTISUBDIR =' >> $ac_file
82608 ml_norecursion=yes
82609 . ${multi_basedir}/config-ml.in
82610 { ml_norecursion=; unset ml_norecursion;}
82611 ;;
82612 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82613 s!`test -f '$<' || echo '$(srcdir)/'`!!
82614 _EOF
82615 sed -f vpsed$$ $ac_file > tmp$$
82616 mv tmp$$ $ac_file
82617 rm vpsed$$
82618 echo 'MULTISUBDIR =' >> $ac_file
82619 ml_norecursion=yes
82620 . ${multi_basedir}/config-ml.in
82621 { ml_norecursion=; unset ml_norecursion;}
82622 ;;
82623 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82624 s!`test -f '$<' || echo '$(srcdir)/'`!!
82625 _EOF
82626 sed -f vpsed$$ $ac_file > tmp$$
82627 mv tmp$$ $ac_file
82628 rm vpsed$$
82629 echo 'MULTISUBDIR =' >> $ac_file
82630 ml_norecursion=yes
82631 . ${multi_basedir}/config-ml.in
82632 { ml_norecursion=; unset ml_norecursion;}
82633 ;;
82634 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82635 s!`test -f '$<' || echo '$(srcdir)/'`!!
82636 _EOF
82637 sed -f vpsed$$ $ac_file > tmp$$
82638 mv tmp$$ $ac_file
82639 rm vpsed$$
82640 echo 'MULTISUBDIR =' >> $ac_file
82641 ml_norecursion=yes
82642 . ${multi_basedir}/config-ml.in
82643 { ml_norecursion=; unset ml_norecursion;}
82644 ;;
82645 "po/Makefile":F) cat > vpsed$$ << \_EOF
82646 s!`test -f '$<' || echo '$(srcdir)/'`!!
82647 _EOF
82648 sed -f vpsed$$ $ac_file > tmp$$
82649 mv tmp$$ $ac_file
82650 rm vpsed$$
82651 echo 'MULTISUBDIR =' >> $ac_file
82652 ml_norecursion=yes
82653 . ${multi_basedir}/config-ml.in
82654 { ml_norecursion=; unset ml_norecursion;}
82655 ;;
82656 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82657 s!`test -f '$<' || echo '$(srcdir)/'`!!
82658 _EOF
82659 sed -f vpsed$$ $ac_file > tmp$$
82660 mv tmp$$ $ac_file
82661 rm vpsed$$
82662 echo 'MULTISUBDIR =' >> $ac_file
82663 ml_norecursion=yes
82664 . ${multi_basedir}/config-ml.in
82665 { ml_norecursion=; unset ml_norecursion;}
82666 ;;
82667 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82668
82669 esac
82670 done # for ac_tag
82671
82672
82673 as_fn_exit 0
82674 _ACEOF
82675 ac_clean_files=$ac_clean_files_save
82676
82677 test $ac_write_fail = 0 ||
82678 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82679
82680
82681 # configure is writing to config.log, and then calls config.status.
82682 # config.status does its own redirection, appending to config.log.
82683 # Unfortunately, on DOS this fails, as config.log is still kept open
82684 # by configure, so config.status won't be able to write to it; its
82685 # output is simply discarded. So we exec the FD to /dev/null,
82686 # effectively closing config.log, so it can be properly (re)opened and
82687 # appended to by config.status. When coming back to configure, we
82688 # need to make the FD available again.
82689 if test "$no_create" != yes; then
82690 ac_cs_success=:
82691 ac_config_status_args=
82692 test "$silent" = yes &&
82693 ac_config_status_args="$ac_config_status_args --quiet"
82694 exec 5>/dev/null
82695 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82696 exec 5>>config.log
82697 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82698 # would make configure fail if this is the last instruction.
82699 $ac_cs_success || as_fn_exit $?
82700 fi
82701 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82703 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
82704 fi
82705